diff --git a/404.html b/404.html index 722a448..ce764ee 100644 --- a/404.html +++ b/404.html @@ -41,5 +41,5 @@ - + diff --git a/index.html b/index.html index 722a448..ce764ee 100644 --- a/index.html +++ b/index.html @@ -41,5 +41,5 @@ - + diff --git a/main.10d34eba9e882c6a.js b/main.10d34eba9e882c6a.js deleted file mode 100644 index ec35e3c..0000000 --- a/main.10d34eba9e882c6a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkangor=self.webpackChunkangor||[]).push([[792],{1648:(i,a,r)=>{"use strict";r.d(a,{F:()=>o.F});var o=r(5888)},5888:(i,a,r)=>{"use strict";r.d(a,{F:()=>Et});let o=(()=>{class jt{static{this.standard="cubic-bezier(0.4, 0.0, 0.2, 1)"}static{this.deceleration="cubic-bezier(0.0, 0.0, 0.2, 1)"}static{this.acceleration="cubic-bezier(0.4, 0.0, 1, 1)"}static{this.sharp="cubic-bezier(0.4, 0.0, 0.6, 1)"}}return jt})(),s=(()=>{class jt{static{this.complex="375ms"}static{this.entering="225ms"}static{this.exiting="195ms"}}return jt})();var c=r(9969);const at=(jt,Gt,ie,Xe,Er=`${s.entering} ${o.deceleration}`,gr=`${s.exiting} ${o.acceleration}`)=>(0,c.hZ)(jt,[(0,c.wk)("void",(0,c.iF)(Gt)),(0,c.wk)("*",(0,c.iF)(ie)),(0,c.kY)("void => false, * => false",[]),(0,c.kY)("void => *",(0,c.i0)(Xe||Er),{params:{timings:Er}}),(0,c.kY)("* => void",(0,c.i0)(Xe||gr),{params:{timings:gr}})]),Et=[(0,c.hZ)("expandCollapse",[(0,c.wk)("void, collapsed",(0,c.iF)({height:"0"})),(0,c.wk)("*, expanded",(0,c.iF)("*")),(0,c.kY)("void <=> false, collapsed <=> false, expanded <=> false",[]),(0,c.kY)("void <=> *, collapsed <=> expanded",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeIn",[(0,c.wk)("void",(0,c.iF)({opacity:0})),(0,c.wk)("*",(0,c.iF)({opacity:1})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInTop",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, -100%, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInBottom",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, 100%, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInLeft",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(-100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInRight",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeOut",[(0,c.wk)("*",(0,c.iF)({opacity:1})),(0,c.wk)("void",(0,c.iF)({opacity:0})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutTop",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, -100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutBottom",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, 100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutLeft",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(-100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutRight",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("shake",[(0,c.kY)("void => false",[]),(0,c.kY)("void => *, * => true",[(0,c.i0)("{{timings}}",(0,c.i7)([(0,c.iF)({transform:"translate3d(0, 0, 0)",offset:0}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.1}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.2}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.3}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.4}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.5}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.6}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.7}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.8}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.9}),(0,c.iF)({transform:"translate3d(0, 0, 0)",offset:1})]))],{params:{timings:"0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955)"}})]),(0,c.hZ)("slideInTop",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, -100%, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideInBottom",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, 100%, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideInLeft",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(-100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideInRight",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideOutTop",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, -100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("slideOutBottom",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, 100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("slideOutLeft",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(-100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("slideOutRight",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),at("zoomIn",{opacity:0,transform:"scale(0.5)"},{opacity:1,transform:"scale(1)"},""),at("zoomOut",{opacity:1,transform:"scale(1)"},{opacity:0,transform:"scale(0.5)"},"")]},7857:(i,a,r)=>{"use strict";r.d(a,{$w:()=>dr,lX:()=>c,Tv:()=>Ei});var o=r(1648),s=r(4438);let c=(()=>{class G{constructor(){this._componentRegistry=new Map,this._navigationStore=new Map}registerComponent(ot,se){this._componentRegistry.set(ot,se)}deregisterComponent(ot){this._componentRegistry.delete(ot)}getComponent(ot){return this._componentRegistry.get(ot)}storeNavigation(ot,se){this._navigationStore.set(ot,se)}getNavigation(ot){return this._navigationStore.get(ot)??[]}deleteNavigation(ot){this._navigationStore.has(ot)||console.warn(`Navigation with the key '${ot}' does not exist.`),this._navigationStore.delete(ot)}getFlatNavigation(ot,se=[]){for(const xe of ot)"basic"===xe.type?se.push(xe):xe.children&&this.getFlatNavigation(xe.children,se);return se}getItem(ot,se){for(const xe of se){if(xe.id===ot)return xe;if(xe.children){const Ar=this.getItem(ot,xe.children);if(Ar)return Ar}}return null}getItemParent(ot,se,xe){for(const Ar of se){if(Ar.id===ot)return xe;if(Ar.children){const Wr=this.getItemParent(ot,Ar.children,Ar);if(Wr)return Wr}}return null}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275prov=s.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}}return G})();var y=r(7209),k=r(2771),S=r(1413),I=r(177),T=r(9213),M=r(9115),R=r(4823),L=r(5245),J=r(6977);const W=G=>({"angor-horizontal-navigation-item-active-forced":G}),q=G=>[G];function ct(G,Jt){1&G&&s.eu8(0)}function ht(G,Jt){if(1&G&&(s.j41(0,"div",2),s.DNE(1,ct,1,0,"ng-container",7),s.k0s()),2&G){let ot,se,xe,Ar;const Wr=s.XpG(),co=s.sdS(9);s.Y8G("ngClass",s.eq3(10,W,Wr.item.active))("routerLink",s.eq3(12,q,Wr.item.link))("fragment",null!==(ot=Wr.item.fragment)&&void 0!==ot?ot:null)("preserveFragment",null!==(se=Wr.item.preserveFragment)&&void 0!==se&&se)("queryParams",null!==(xe=Wr.item.queryParams)&&void 0!==xe?xe:null)("queryParamsHandling",null!==(Ar=Wr.item.queryParamsHandling)&&void 0!==Ar?Ar:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",Wr.isActiveMatchOptions)("matTooltip",Wr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",co)}}function tt(G,Jt){1&G&&s.eu8(0)}function xt(G,Jt){if(1&G&&(s.j41(0,"a",3),s.DNE(1,tt,1,0,"ng-container",7),s.k0s()),2&G){const ot=s.XpG(),se=s.sdS(9);s.Y8G("href",ot.item.link,s.B4B)("target",ot.item.target||"_self")("matTooltip",ot.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",se)}}function Tt(G,Jt){1&G&&s.eu8(0)}function $t(G,Jt){if(1&G){const ot=s.RV6();s.j41(0,"div",8),s.bIt("click",function(){s.eBV(ot);const xe=s.XpG();return s.Njj(xe.item.function(xe.item))}),s.DNE(1,Tt,1,0,"ng-container",7),s.k0s()}if(2&G){const ot=s.XpG(),se=s.sdS(9);s.Y8G("ngClass",s.eq3(3,W,ot.item.active))("matTooltip",ot.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",se)}}function St(G,Jt){1&G&&s.eu8(0)}function _t(G,Jt){if(1&G){const ot=s.RV6();s.j41(0,"div",9),s.bIt("click",function(){s.eBV(ot);const xe=s.XpG();return s.Njj(xe.item.function(xe.item))}),s.DNE(1,St,1,0,"ng-container",7),s.k0s()}if(2&G){let ot,se,xe,Ar;const Wr=s.XpG(),co=s.sdS(9);s.Y8G("ngClass",s.eq3(10,W,Wr.item.active))("routerLink",s.eq3(12,q,Wr.item.link))("fragment",null!==(ot=Wr.item.fragment)&&void 0!==ot?ot:null)("preserveFragment",null!==(se=Wr.item.preserveFragment)&&void 0!==se&&se)("queryParams",null!==(xe=Wr.item.queryParams)&&void 0!==xe?xe:null)("queryParamsHandling",null!==(Ar=Wr.item.queryParamsHandling)&&void 0!==Ar?Ar:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",Wr.isActiveMatchOptions)("matTooltip",Wr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",co)}}function nt(G,Jt){1&G&&s.eu8(0)}function at(G,Jt){if(1&G){const ot=s.RV6();s.j41(0,"a",10),s.bIt("click",function(){s.eBV(ot);const xe=s.XpG();return s.Njj(xe.item.function(xe.item))}),s.DNE(1,nt,1,0,"ng-container",7),s.k0s()}if(2&G){const ot=s.XpG(),se=s.sdS(9);s.Y8G("href",ot.item.link,s.B4B)("target",ot.item.target||"_self")("matTooltip",ot.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",se)}}function et(G,Jt){1&G&&s.eu8(0)}function bt(G,Jt){if(1&G&&(s.j41(0,"div",4),s.DNE(1,et,1,0,"ng-container",7),s.k0s()),2&G){const ot=s.XpG(),se=s.sdS(9);s.Y8G("ngClass",s.eq3(3,W,ot.item.active))("matTooltip",ot.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",se)}}function Et(G,Jt){1&G&&s.eu8(0)}function jt(G,Jt){if(1&G&&(s.j41(0,"div",6),s.DNE(1,Et,1,0,"ng-container",7),s.k0s()),2&G){s.XpG();const ot=s.sdS(9);s.R7$(),s.Y8G("ngTemplateOutlet",ot)}}function Gt(G,Jt){if(1&G&&s.nrm(0,"mat-icon",11),2&G){const ot=s.XpG(2);s.Y8G("ngClass",null==ot.item.classes?null:ot.item.classes.icon)("svgIcon",ot.item.icon)}}function ie(G,Jt){if(1&G&&(s.j41(0,"div",15)(1,"span",14),s.EFF(2),s.k0s()()),2&G){const ot=s.XpG(2);s.R7$(),s.Y8G("ngClass",null==ot.item.classes?null:ot.item.classes.subtitle),s.R7$(),s.SpI(" ",ot.item.subtitle," ")}}function Xe(G,Jt){if(1&G&&(s.j41(0,"div",16)(1,"div",17),s.EFF(2),s.k0s()()),2&G){const ot=s.XpG(2);s.R7$(),s.Y8G("ngClass",ot.item.badge.classes),s.R7$(),s.SpI(" ",ot.item.badge.title," ")}}function Er(G,Jt){if(1&G&&(s.DNE(0,Gt,1,2,"mat-icon",11),s.j41(1,"div",12)(2,"div",13)(3,"span",14),s.EFF(4),s.k0s()(),s.DNE(5,ie,3,2,"div",15),s.k0s(),s.DNE(6,Xe,3,2,"div",16)),2&G){const ot=s.XpG();s.vxM(ot.item.icon?0:-1),s.R7$(3),s.Y8G("ngClass",null==ot.item.classes?null:ot.item.classes.title),s.R7$(),s.SpI(" ",ot.item.title," "),s.R7$(),s.vxM(ot.item.subtitle?5:-1),s.R7$(),s.vxM(ot.item.badge?6:-1)}}let gr=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new S.B}ngOnInit(){this.isActiveMatchOptions=this.item.isActiveMatchOptions??this.item.exactMatch?this._angorUtilsService.exactMatchOptions:this._angorUtilsService.subsetMatchOptions,this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._changeDetectorRef.markForCheck(),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-basic-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:10,vars:10,consts:[["itemTemplate",""],[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"],[1,"angor-horizontal-navigation-item",3,"ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-horizontal-navigation-item",3,"href","target","matTooltip"],[1,"angor-horizontal-navigation-item",3,"ngClass","matTooltip"],["mat-menu-item","",1,"angor-horizontal-navigation-item",3,"href","target","matTooltip"],[1,"angor-horizontal-navigation-item","angor-horizontal-navigation-item-disabled"],[4,"ngTemplateOutlet"],[1,"angor-horizontal-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-horizontal-navigation-item",3,"click","ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],["mat-menu-item","",1,"angor-horizontal-navigation-item",3,"click","href","target","matTooltip"],[1,"angor-horizontal-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-horizontal-navigation-item-title-wrapper"],[1,"angor-horizontal-navigation-item-title"],[3,"ngClass"],[1,"angor-horizontal-navigation-item-subtitle","text-hint"],[1,"angor-horizontal-navigation-item-badge"],[1,"angor-horizontal-navigation-item-badge-content",3,"ngClass"]],template:function(se,xe){1&se&&(s.j41(0,"div",1),s.DNE(1,ht,2,14,"div",2)(2,xt,2,4,"a",3)(3,$t,2,5,"div",4)(4,_t,2,14,"div",2)(5,at,2,4,"a",5)(6,bt,2,5,"div",4)(7,jt,2,1,"div",6),s.k0s(),s.DNE(8,Er,7,5,"ng-template",null,0,s.C5r)),2&se&&(s.AVh("angor-horizontal-navigation-item-has-subtitle",!!xe.item.subtitle),s.Y8G("ngClass",null==xe.item.classes?null:xe.item.classes.wrapper),s.R7$(),s.vxM(!xe.item.link||xe.item.externalLink||xe.item.function||xe.item.disabled?-1:1),s.R7$(),s.vxM(xe.item.link&&xe.item.externalLink&&!xe.item.function&&!xe.item.disabled?2:-1),s.R7$(),s.vxM(xe.item.link||!xe.item.function||xe.item.disabled?-1:3),s.R7$(),s.vxM(xe.item.link&&!xe.item.externalLink&&xe.item.function&&!xe.item.disabled?4:-1),s.R7$(),s.vxM(xe.item.link&&xe.item.externalLink&&xe.item.function&&!xe.item.disabled?5:-1),s.R7$(),s.vxM(xe.item.link||xe.item.function||xe.item.disabled?-1:6),s.R7$(),s.vxM(xe.item.disabled?7:-1))},dependencies:[I.YU,L.Wk,L.wQ,R.uc,R.oV,I.T3,M.Cn,M.fb,T.m_,T.An],encapsulation:2,changeDetection:0})}}return G})(),vr=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new S.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-divider-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper","divider",3,"ngClass"]],template:function(se,xe){1&se&&s.nrm(0,"div",0),2&se&&s.Y8G("ngClass",null==xe.item.classes?null:xe.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})();const Xr=["matMenu"],ke=(G,Jt)=>({"angor-horizontal-navigation-menu-active":G,"angor-horizontal-navigation-menu-active-forced":Jt}),Rt=G=>({$implicit:G}),wt=(G,Jt)=>({"angor-horizontal-navigation-item-disabled":G,"angor-horizontal-navigation-item-active-forced":Jt});function Ut(G,Jt){1&G&&s.eu8(0)}function Ae(G,Jt){if(1&G){const ot=s.RV6();s.j41(0,"div",6,2),s.bIt("onMenuOpen",function(){s.eBV(ot);const xe=s.XpG();return s.Njj(xe.triggerChangeDetection())})("onMenuClose",function(){s.eBV(ot);const xe=s.XpG();return s.Njj(xe.triggerChangeDetection())}),s.DNE(2,Ut,1,0,"ng-container",7),s.k0s()}if(2&G){const ot=s.sdS(1),se=s.XpG(),xe=s.sdS(2),Ar=s.sdS(6);s.Y8G("ngClass",s.l_i(4,ke,ot.menuOpen,se.item.active))("matMenuTriggerFor",xe),s.R7$(2),s.Y8G("ngTemplateOutlet",Ar)("ngTemplateOutletContext",s.eq3(7,Rt,se.item))}}function Xt(G,Jt){if(1&G&&(s.j41(0,"div",8),s.nrm(1,"angor-horizontal-navigation-basic-item",11),s.k0s()),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("disabled",ot.disabled),s.R7$(),s.Y8G("item",ot)("name",se.name)}}function pe(G,Jt){1&G&&s.eu8(0)}function te(G,Jt){if(1&G&&(s.j41(0,"div",9),s.DNE(1,pe,1,0,"ng-container",7),s.nrm(2,"angor-horizontal-navigation-branch-item",12,3),s.k0s()),2&G){const ot=s.sdS(3),se=s.XpG(2).$implicit,xe=s.XpG(),Ar=s.sdS(6);s.Y8G("disabled",se.disabled)("matMenuTriggerFor",ot.matMenu),s.R7$(),s.Y8G("ngTemplateOutlet",Ar)("ngTemplateOutletContext",s.eq3(7,Rt,se)),s.R7$(),s.Y8G("child",!0)("item",se)("name",xe.name)}}function Ye(G,Jt){if(1&G&&(s.j41(0,"div",10),s.nrm(1,"angor-horizontal-navigation-divider-item",11),s.k0s()),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.R7$(),s.Y8G("item",ot)("name",se.name)}}function We(G,Jt){if(1&G&&s.DNE(0,Xt,2,3,"div",8)(1,te,4,9,"div",9)(2,Ye,2,2,"div",10),2&G){const ot=s.XpG().$implicit;s.vxM("basic"===ot.type?0:-1),s.R7$(),s.vxM("aside"===ot.type||"collapsable"===ot.type||"group"===ot.type?1:-1),s.R7$(),s.vxM("divider"===ot.type?2:-1)}}function Bt(G,Jt){if(1&G&&s.DNE(0,We,3,3),2&G){const ot=Jt.$implicit;s.vxM(ot.hidden&&!ot.hidden(ot)||!ot.hidden?0:-1)}}function Zt(G,Jt){if(1&G&&s.nrm(0,"mat-icon",15),2&G){const ot=s.XpG().$implicit;s.Y8G("ngClass",null==ot.classes?null:ot.classes.icon)("svgIcon",ot.icon)}}function Ot(G,Jt){if(1&G&&(s.j41(0,"div",19)(1,"span",18),s.EFF(2),s.k0s()()),2&G){const ot=s.XpG().$implicit;s.R7$(),s.Y8G("ngClass",null==ot.classes?null:ot.classes.subtitle),s.R7$(),s.SpI(" ",ot.subtitle," ")}}function le(G,Jt){if(1&G&&(s.j41(0,"div",20)(1,"div",21),s.EFF(2),s.k0s()()),2&G){const ot=s.XpG().$implicit;s.R7$(),s.Y8G("ngClass",ot.badge.classes),s.R7$(),s.SpI(" ",ot.badge.title," ")}}function qt(G,Jt){if(1&G&&(s.j41(0,"div",13)(1,"div",14),s.DNE(2,Zt,1,2,"mat-icon",15),s.j41(3,"div",16)(4,"div",17)(5,"span",18),s.EFF(6),s.k0s()(),s.DNE(7,Ot,3,2,"div",19),s.k0s(),s.DNE(8,le,3,2,"div",20),s.k0s()()),2&G){const ot=Jt.$implicit;s.AVh("angor-horizontal-navigation-item-has-subtitle",!!ot.subtitle),s.Y8G("ngClass",null==ot.classes?null:ot.classes.wrapper),s.R7$(),s.Y8G("ngClass",s.l_i(10,wt,ot.disabled,ot.active))("matTooltip",ot.tooltip||""),s.R7$(),s.vxM(ot.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==ot.classes?null:ot.classes.title),s.R7$(),s.SpI(" ",ot.title," "),s.R7$(),s.vxM(ot.subtitle?7:-1),s.R7$(),s.vxM(ot.badge?8:-1)}}let Ve=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this.child=!1,this._unsubscribeAll=new S.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}triggerChangeDetection(){this._changeDetectorRef.markForCheck()}trackByFn(ot,se){return se.id||ot}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-branch-item"]],viewQuery:function(se,xe){if(1&se&&s.GBs(Xr,7),2&se){let Ar;s.mGM(Ar=s.lsd())&&(xe.matMenu=Ar.first)}},inputs:{child:"child",item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:7,vars:2,consts:[["matMenu","matMenu"],["itemTemplate",""],["trigger","matMenuTrigger"],["branch",""],[3,"ngClass","matMenuTriggerFor"],[1,"angor-horizontal-navigation-menu-panel",3,"overlapTrigger"],[3,"onMenuOpen","onMenuClose","ngClass","matMenuTriggerFor"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item",3,"disabled"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item"],[3,"item","name"],[3,"child","item","name"],[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"],[1,"angor-horizontal-navigation-item",3,"ngClass","matTooltip"],[1,"angor-horizontal-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-horizontal-navigation-item-title-wrapper"],[1,"angor-horizontal-navigation-item-title"],[3,"ngClass"],[1,"angor-horizontal-navigation-item-subtitle","text-hint"],[1,"angor-horizontal-navigation-item-badge"],[1,"angor-horizontal-navigation-item-badge-content",3,"ngClass"]],template:function(se,xe){1&se&&(s.DNE(0,Ae,3,9,"div",4),s.j41(1,"mat-menu",5,0),s.Z7z(3,Bt,1,1,null,null,xe.trackByFn,!0),s.k0s(),s.DNE(5,qt,9,13,"ng-template",null,1,s.C5r)),2&se&&(s.vxM(xe.child?-1:0),s.R7$(),s.Y8G("overlapTrigger",!1),s.R7$(2),s.Dyx(xe.item.children))},dependencies:()=>[G,I.YU,M.Cn,M.kk,M.fb,M.Cp,I.T3,gr,vr,R.uc,R.oV,T.m_,T.An],encapsulation:2,changeDetection:0})}}return G})(),Ht=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new S.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-spacer-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"]],template:function(se,xe){1&se&&s.nrm(0,"div",0),2&se&&s.Y8G("ngClass",null==xe.item.classes?null:xe.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})();function Me(G,Jt){if(1&G&&s.nrm(0,"angor-horizontal-navigation-basic-item",1),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)}}function Ke(G,Jt){if(1&G&&s.nrm(0,"angor-horizontal-navigation-branch-item",1),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)}}function Fe(G,Jt){if(1&G&&s.nrm(0,"angor-horizontal-navigation-spacer-item",1),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)}}function Or(G,Jt){if(1&G&&s.DNE(0,Me,1,2,"angor-horizontal-navigation-basic-item",1)(1,Ke,1,2,"angor-horizontal-navigation-branch-item",1)(2,Fe,1,2,"angor-horizontal-navigation-spacer-item",1),2&G){const ot=s.XpG().$implicit;s.vxM("basic"===ot.type?0:-1),s.R7$(),s.vxM("aside"===ot.type||"collapsable"===ot.type||"group"===ot.type?1:-1),s.R7$(),s.vxM("spacer"===ot.type?2:-1)}}function yo(G,Jt){if(1&G&&s.DNE(0,Or,3,3),2&G){const ot=Jt.$implicit;s.vxM(ot.hidden&&!ot.hidden(ot)||!ot.hidden?0:-1)}}let dr=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.name=this._angorUtilsService.randomId(),this.onRefreshed=new k.m(1),this._unsubscribeAll=new S.B}ngOnChanges(ot){"navigation"in ot&&this._changeDetectorRef.markForCheck()}ngOnInit(){""===this.name&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this)}ngOnDestroy(){this._angorNavigationService.deregisterComponent(this.name),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}refresh(){this._changeDetectorRef.markForCheck(),this.onRefreshed.next(!0)}trackByFn(ot,se){return se.id||ot}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation"]],inputs:{name:"name",navigation:"navigation"},exportAs:["angorHorizontalNavigation"],standalone:!0,features:[s.OA$,s.aNF],decls:3,vars:0,consts:[[1,"angor-horizontal-navigation-wrapper"],[1,"angor-horizontal-navigation-menu-item",3,"item","name"]],template:function(se,xe){1&se&&(s.j41(0,"div",0),s.Z7z(1,yo,1,1,null,null,xe.trackByFn,!0),s.k0s()),2&se&&(s.R7$(),s.Dyx(xe.navigation))},dependencies:[gr,Ve,Ht],styles:["angor-horizontal-navigation .angor-horizontal-navigation-wrapper{display:flex;align-items:center}@media (min-width: 600px){angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item:hover .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item:hover .angor-horizontal-navigation-item-wrapper{background-color:var(--angor-bg-hover)}}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper{border-radius:4px;overflow:hidden}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item{padding:0 16px;cursor:pointer;-webkit-user-select:none;user-select:none}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-icon,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-icon{margin-right:12px}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-title,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-title{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))!important}.dark angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.dark angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-icon,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-icon{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-menu-active .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-menu-active-forced .angor-horizontal-navigation-item-wrapper{background-color:var(--angor-bg-hover)}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-spacer-item{margin:12px 0}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item{height:auto;min-height:0;line-height:normal;white-space:normal}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item,.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-branch-item,.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item{display:flex;flex:1 1 auto}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item{margin:8px -16px}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item .angor-horizontal-navigation-item-wrapper{height:1px;box-shadow:0 1px}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-title,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-title{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))!important}.dark .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.dark .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-icon,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-icon{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper{width:100%}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper.angor-horizontal-navigation-item-has-subtitle .angor-horizontal-navigation-item{min-height:56px}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item{position:relative;display:flex;align-items:center;justify-content:flex-start;min-height:48px;width:100%;font-size:13px;font-weight:500;text-decoration:none}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-title-wrapper .angor-horizontal-navigation-item-subtitle{font-size:12px}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-badge{margin-left:auto}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-badge .angor-horizontal-navigation-item-badge-content{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;white-space:nowrap;height:20px}\n"],encapsulation:2,data:{animation:o.F},changeDetection:0})}}return G})();const Nt=G=>({"angor-vertical-navigation-item-active-forced":G}),we=G=>[G];function de(G,Jt){1&G&&s.eu8(0)}function Ie(G,Jt){if(1&G&&(s.j41(0,"a",2),s.DNE(1,de,1,0,"ng-container",6),s.k0s()),2&G){let ot,se,xe,Ar;const Wr=s.XpG(),co=s.sdS(9);s.Y8G("ngClass",s.eq3(10,Nt,Wr.item.active))("routerLink",s.eq3(12,we,Wr.item.link))("fragment",null!==(ot=Wr.item.fragment)&&void 0!==ot?ot:null)("preserveFragment",null!==(se=Wr.item.preserveFragment)&&void 0!==se&&se)("queryParams",null!==(xe=Wr.item.queryParams)&&void 0!==xe?xe:null)("queryParamsHandling",null!==(Ar=Wr.item.queryParamsHandling)&&void 0!==Ar?Ar:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",Wr.isActiveMatchOptions)("matTooltip",Wr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",co)}}function br(G,Jt){1&G&&s.eu8(0)}function gt(G,Jt){if(1&G&&(s.j41(0,"a",3),s.DNE(1,br,1,0,"ng-container",6),s.k0s()),2&G){const ot=s.XpG(),se=s.sdS(9);s.Y8G("href",ot.item.link,s.B4B)("target",ot.item.target||"_self")("matTooltip",ot.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",se)}}function $(G,Jt){1&G&&s.eu8(0)}function Y(G,Jt){if(1&G){const ot=s.RV6();s.j41(0,"div",7),s.bIt("click",function(){s.eBV(ot);const xe=s.XpG();return s.Njj(xe.item.function(xe.item))}),s.DNE(1,$,1,0,"ng-container",6),s.k0s()}if(2&G){const ot=s.XpG(),se=s.sdS(9);s.Y8G("ngClass",s.eq3(3,Nt,ot.item.active))("matTooltip",ot.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",se)}}function it(G,Jt){1&G&&s.eu8(0)}function At(G,Jt){if(1&G){const ot=s.RV6();s.j41(0,"a",8),s.bIt("click",function(){s.eBV(ot);const xe=s.XpG();return s.Njj(xe.item.function(xe.item))}),s.DNE(1,it,1,0,"ng-container",6),s.k0s()}if(2&G){let ot,se,xe,Ar;const Wr=s.XpG(),co=s.sdS(9);s.Y8G("ngClass",s.eq3(10,Nt,Wr.item.active))("routerLink",s.eq3(12,we,Wr.item.link))("fragment",null!==(ot=Wr.item.fragment)&&void 0!==ot?ot:null)("preserveFragment",null!==(se=Wr.item.preserveFragment)&&void 0!==se&&se)("queryParams",null!==(xe=Wr.item.queryParams)&&void 0!==xe?xe:null)("queryParamsHandling",null!==(Ar=Wr.item.queryParamsHandling)&&void 0!==Ar?Ar:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",Wr.isActiveMatchOptions)("matTooltip",Wr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",co)}}function Mt(G,Jt){1&G&&s.eu8(0)}function ve(G,Jt){if(1&G){const ot=s.RV6();s.j41(0,"a",9),s.bIt("click",function(){s.eBV(ot);const xe=s.XpG();return s.Njj(xe.item.function(xe.item))}),s.DNE(1,Mt,1,0,"ng-container",6),s.k0s()}if(2&G){const ot=s.XpG(),se=s.sdS(9);s.Y8G("href",ot.item.link,s.B4B)("target",ot.item.target||"_self")("matTooltip",ot.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",se)}}function ir(G,Jt){1&G&&s.eu8(0)}function Je(G,Jt){if(1&G&&(s.j41(0,"div",4),s.DNE(1,ir,1,0,"ng-container",6),s.k0s()),2&G){const ot=s.XpG(),se=s.sdS(9);s.Y8G("ngClass",s.eq3(3,Nt,ot.item.active))("matTooltip",ot.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",se)}}function er(G,Jt){1&G&&s.eu8(0)}function Hr(G,Jt){if(1&G&&(s.j41(0,"div",5),s.DNE(1,er,1,0,"ng-container",6),s.k0s()),2&G){const ot=s.XpG(),se=s.sdS(9);s.Y8G("matTooltip",ot.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",se)}}function eo(G,Jt){if(1&G&&s.nrm(0,"mat-icon",10),2&G){const ot=s.XpG(2);s.Y8G("ngClass",null==ot.item.classes?null:ot.item.classes.icon)("svgIcon",ot.item.icon)}}function Bo(G,Jt){if(1&G&&(s.j41(0,"div",14)(1,"span",13),s.EFF(2),s.k0s()()),2&G){const ot=s.XpG(2);s.R7$(),s.Y8G("ngClass",null==ot.item.classes?null:ot.item.classes.subtitle),s.R7$(),s.SpI(" ",ot.item.subtitle," ")}}function fr(G,Jt){if(1&G&&(s.j41(0,"div",15)(1,"div",16),s.EFF(2),s.k0s()()),2&G){const ot=s.XpG(2);s.R7$(),s.Y8G("ngClass",ot.item.badge.classes),s.R7$(),s.SpI(" ",ot.item.badge.title," ")}}function Fr(G,Jt){if(1&G&&(s.DNE(0,eo,1,2,"mat-icon",10),s.j41(1,"div",11)(2,"div",12)(3,"span",13),s.EFF(4),s.k0s()(),s.DNE(5,Bo,3,2,"div",14),s.k0s(),s.DNE(6,fr,3,2,"div",15)),2&G){const ot=s.XpG();s.vxM(ot.item.icon?0:-1),s.R7$(3),s.Y8G("ngClass",null==ot.item.classes?null:ot.item.classes.title),s.R7$(),s.SpI(" ",ot.item.title," "),s.R7$(),s.vxM(ot.item.subtitle?5:-1),s.R7$(),s.vxM(ot.item.badge?6:-1)}}let ne=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new S.B}ngOnInit(){this.isActiveMatchOptions=this.item.isActiveMatchOptions??this.item.exactMatch?this._angorUtilsService.exactMatchOptions:this._angorUtilsService.subsetMatchOptions,this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-basic-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:10,vars:10,consts:[["itemTemplate",""],[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-vertical-navigation-item",3,"href","target","matTooltip"],[1,"angor-vertical-navigation-item",3,"ngClass","matTooltip"],[1,"angor-vertical-navigation-item","angor-vertical-navigation-item-disabled",3,"matTooltip"],[4,"ngTemplateOutlet"],[1,"angor-vertical-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-vertical-navigation-item",3,"click","ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-vertical-navigation-item",3,"click","href","target","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"]],template:function(se,xe){1&se&&(s.j41(0,"div",1),s.DNE(1,Ie,2,14,"a",2)(2,gt,2,4,"a",3)(3,Y,2,5,"div",4)(4,At,2,14,"a",2)(5,ve,2,4,"a",3)(6,Je,2,5,"div",4)(7,Hr,2,2,"div",5),s.k0s(),s.DNE(8,Fr,7,5,"ng-template",null,0,s.C5r)),2&se&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!xe.item.subtitle),s.Y8G("ngClass",null==xe.item.classes?null:xe.item.classes.wrapper),s.R7$(),s.vxM(!xe.item.link||xe.item.externalLink||xe.item.function||xe.item.disabled?-1:1),s.R7$(),s.vxM(xe.item.link&&xe.item.externalLink&&!xe.item.function&&!xe.item.disabled?2:-1),s.R7$(),s.vxM(xe.item.link||!xe.item.function||xe.item.disabled?-1:3),s.R7$(),s.vxM(xe.item.link&&!xe.item.externalLink&&xe.item.function&&!xe.item.disabled?4:-1),s.R7$(),s.vxM(xe.item.link&&xe.item.externalLink&&xe.item.function&&!xe.item.disabled?5:-1),s.R7$(),s.vxM(xe.item.link||xe.item.function||xe.item.disabled?-1:6),s.R7$(),s.vxM(xe.item.disabled?7:-1))},dependencies:[I.YU,L.Wk,L.wQ,R.uc,R.oV,I.T3,T.m_,T.An],encapsulation:2,changeDetection:0})}}return G})(),re=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new S.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-divider-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper","divider",3,"ngClass"]],template:function(se,xe){1&se&&s.nrm(0,"div",0),2&se&&s.Y8G("ngClass",null==xe.item.classes?null:xe.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})(),Lt=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new S.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-spacer-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"]],template:function(se,xe){1&se&&s.nrm(0,"div",0),2&se&&s.Y8G("ngClass",null==xe.item.classes?null:xe.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})();function he(G,Jt){if(1&G&&s.nrm(0,"mat-icon",2),2&G){const ot=s.XpG();s.Y8G("ngClass",null==ot.item.classes?null:ot.item.classes.icon)("svgIcon",ot.item.icon)}}function mr(G,Jt){if(1&G&&(s.j41(0,"div",6)(1,"span",5),s.EFF(2),s.k0s()()),2&G){const ot=s.XpG();s.R7$(),s.Y8G("ngClass",null==ot.item.classes?null:ot.item.classes.subtitle),s.R7$(),s.SpI(" ",ot.item.subtitle," ")}}function Qr(G,Jt){if(1&G&&(s.j41(0,"div",7)(1,"div",8),s.EFF(2),s.k0s()()),2&G){const ot=s.XpG();s.R7$(),s.Y8G("ngClass",ot.item.badge.classes),s.R7$(),s.SpI(" ",ot.item.badge.title," ")}}function Ro(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",9),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)}}function Ko(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",10),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)("autoCollapse",se.autoCollapse)}}function tr(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",9),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)}}function Ue(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",9),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)}}function Ee(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",9),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)}}function qe(G,Jt){if(1&G&&s.DNE(0,Ro,1,2,"angor-vertical-navigation-basic-item",9)(1,Ko,1,3,"angor-vertical-navigation-collapsable-item",10)(2,tr,1,2,"angor-vertical-navigation-divider-item",9)(3,Ue,1,2,"angor-vertical-navigation-group-item",9)(4,Ee,1,2,"angor-vertical-navigation-spacer-item",9),2&G){const ot=s.XpG().$implicit;s.vxM("basic"===ot.type?0:-1),s.R7$(),s.vxM("collapsable"===ot.type?1:-1),s.R7$(),s.vxM("divider"===ot.type?2:-1),s.R7$(),s.vxM("group"===ot.type?3:-1),s.R7$(),s.vxM("spacer"===ot.type?4:-1)}}function Ce(G,Jt){if(1&G&&s.DNE(0,qe,5,5),2&G){const ot=Jt.$implicit;s.vxM(ot.hidden&&!ot.hidden(ot)||!ot.hidden?0:-1)}}let be=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new S.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(ot,se){return se.id||ot}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-group-item"]],inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:11,vars:8,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(se,xe){1&se&&(s.j41(0,"div",0)(1,"div",1),s.DNE(2,he,1,2,"mat-icon",2),s.j41(3,"div",3)(4,"div",4)(5,"span",5),s.EFF(6),s.k0s()(),s.DNE(7,mr,3,2,"div",6),s.k0s(),s.DNE(8,Qr,3,2,"div",7),s.k0s()(),s.Z7z(9,Ce,1,1,null,null,xe.trackByFn,!0)),2&se&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!xe.item.subtitle),s.Y8G("ngClass",null==xe.item.classes?null:xe.item.classes.wrapper),s.R7$(2),s.vxM(xe.item.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==xe.item.classes?null:xe.item.classes.title),s.R7$(),s.SpI(" ",xe.item.title," "),s.R7$(),s.vxM(xe.item.subtitle?7:-1),s.R7$(),s.vxM(xe.item.badge?8:-1),s.R7$(),s.Dyx(xe.item.children))},dependencies:()=>[G,I.YU,T.m_,T.An,ne,He,re,Lt],encapsulation:2,changeDetection:0})}}return G})();var Yt=r(5964);const Se=G=>({"angor-vertical-navigation-item-disabled":G});function ar(G,Jt){if(1&G&&s.nrm(0,"mat-icon",2),2&G){const ot=s.XpG();s.Y8G("ngClass",null==ot.item.classes?null:ot.item.classes.icon)("svgIcon",ot.item.icon)}}function xr(G,Jt){if(1&G&&(s.j41(0,"div",6)(1,"span",5),s.EFF(2),s.k0s()()),2&G){const ot=s.XpG();s.R7$(),s.Y8G("ngClass",null==ot.item.classes?null:ot.item.classes.subtitle),s.R7$(),s.SpI(" ",ot.item.subtitle," ")}}function Co(G,Jt){if(1&G&&(s.j41(0,"div",7)(1,"div",10),s.EFF(2),s.k0s()()),2&G){const ot=s.XpG();s.R7$(),s.Y8G("ngClass",ot.item.badge.classes),s.R7$(),s.SpI(" ",ot.item.badge.title," ")}}function Vn(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",11),2&G){const ot=s.XpG(2).$implicit,se=s.XpG(2);s.Y8G("item",ot)("name",se.name)}}function qn(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",12),2&G){const ot=s.XpG(2).$implicit,se=s.XpG(2);s.Y8G("item",ot)("name",se.name)("autoCollapse",se.autoCollapse)}}function Yo(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",11),2&G){const ot=s.XpG(2).$implicit,se=s.XpG(2);s.Y8G("item",ot)("name",se.name)}}function ai(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",11),2&G){const ot=s.XpG(2).$implicit,se=s.XpG(2);s.Y8G("item",ot)("name",se.name)}}function Po(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",11),2&G){const ot=s.XpG(2).$implicit,se=s.XpG(2);s.Y8G("item",ot)("name",se.name)}}function gi(G,Jt){if(1&G&&s.DNE(0,Vn,1,2,"angor-vertical-navigation-basic-item",11)(1,qn,1,3,"angor-vertical-navigation-collapsable-item",12)(2,Yo,1,2,"angor-vertical-navigation-divider-item",11)(3,ai,1,2,"angor-vertical-navigation-group-item",11)(4,Po,1,2,"angor-vertical-navigation-spacer-item",11),2&G){const ot=s.XpG().$implicit;s.vxM("basic"===ot.type?0:-1),s.R7$(),s.vxM("collapsable"===ot.type?1:-1),s.R7$(),s.vxM("divider"===ot.type?2:-1),s.R7$(),s.vxM("group"===ot.type?3:-1),s.R7$(),s.vxM("spacer"===ot.type?4:-1)}}function ni(G,Jt){if(1&G&&s.DNE(0,gi,5,5),2&G){const ot=Jt.$implicit;s.vxM(ot.hidden&&!ot.hidden(ot)||!ot.hidden?0:-1)}}function Oe(G,Jt){if(1&G&&(s.j41(0,"div",9),s.Z7z(1,ni,1,1,null,null,s.BUC().trackByFn,!0),s.k0s()),2&G){const ot=s.XpG();s.Y8G("@expandCollapse",void 0),s.R7$(),s.Dyx(ot.item.children)}}let He=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._router=(0,s.WQX)(L.Ix),this._angorNavigationService=(0,s.WQX)(c),this.isCollapsed=!0,this.isExpanded=!1,this._unsubscribeAll=new S.B}get classList(){return{"angor-vertical-navigation-item-collapsed":this.isCollapsed,"angor-vertical-navigation-item-expanded":this.isExpanded}}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._hasActiveChild(this.item,this._router.url)?this.expand():this.autoCollapse&&this.collapse(),this._angorVerticalNavigationComponent.onCollapsableItemCollapsed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(ot=>{null!==ot&&this._isChildrenOf(ot,this.item)&&this.collapse()}),this.autoCollapse&&this._angorVerticalNavigationComponent.onCollapsableItemExpanded.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(ot=>{null!==ot&&(this._isChildrenOf(this.item,ot)||this._hasActiveChild(this.item,this._router.url)||this.item!==ot&&this.collapse())}),this._router.events.pipe((0,Yt.p)(ot=>ot instanceof L.wF),(0,J.Q)(this._unsubscribeAll)).subscribe(ot=>{this._hasActiveChild(this.item,ot.urlAfterRedirects)?this.expand():this.autoCollapse&&this.collapse()}),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}collapse(){this.item.disabled||this.isCollapsed||(this.isCollapsed=!0,this.isExpanded=!this.isCollapsed,this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onCollapsableItemCollapsed.next(this.item))}expand(){this.item.disabled||this.isCollapsed&&(this.isCollapsed=!1,this.isExpanded=!this.isCollapsed,this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onCollapsableItemExpanded.next(this.item))}toggleCollapsable(){this.isCollapsed?this.expand():this.collapse()}trackByFn(ot,se){return se.id||ot}_hasActiveChild(ot,se){const xe=ot.children;if(!xe)return!1;for(const Ar of xe)if(Ar.children&&this._hasActiveChild(Ar,se)||Ar.link&&this._router.isActive(Ar.link,Ar.exactMatch||!1))return!0;return!1}_isChildrenOf(ot,se){const xe=ot.children;if(!xe)return!1;if(xe.indexOf(se)>-1)return!0;for(const Ar of xe)if(Ar.children&&this._isChildrenOf(Ar,se))return!0;return!1}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-collapsable-item"]],hostVars:2,hostBindings:function(se,xe){2&se&&s.HbH(xe.classList)},inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:11,vars:14,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-arrow","icon-size-4",3,"svgIcon"],[1,"angor-vertical-navigation-item-children"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(se,xe){1&se&&(s.j41(0,"div",0)(1,"div",1),s.bIt("click",function(){return xe.toggleCollapsable()}),s.DNE(2,ar,1,2,"mat-icon",2),s.j41(3,"div",3)(4,"div",4)(5,"span",5),s.EFF(6),s.k0s()(),s.DNE(7,xr,3,2,"div",6),s.k0s(),s.DNE(8,Co,3,2,"div",7),s.nrm(9,"mat-icon",8),s.k0s()(),s.DNE(10,Oe,3,1,"div",9)),2&se&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!xe.item.subtitle),s.Y8G("ngClass",null==xe.item.classes?null:xe.item.classes.wrapper),s.R7$(),s.Y8G("ngClass",s.eq3(12,Se,xe.item.disabled))("matTooltip",xe.item.tooltip||""),s.R7$(),s.vxM(xe.item.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==xe.item.classes?null:xe.item.classes.title),s.R7$(),s.SpI(" ",xe.item.title," "),s.R7$(),s.vxM(xe.item.subtitle?7:-1),s.R7$(),s.vxM(xe.item.badge?8:-1),s.R7$(),s.Y8G("svgIcon","heroicons_solid:chevron-right"),s.R7$(),s.vxM(xe.isCollapsed?-1:10))},dependencies:()=>[G,I.YU,R.uc,R.oV,T.m_,T.An,ne,re,be,Lt],encapsulation:2,data:{animation:o.F},changeDetection:0})}}return G})();const Dr=(G,Jt,ot)=>({"angor-vertical-navigation-item-active":G,"angor-vertical-navigation-item-disabled":Jt,"angor-vertical-navigation-item-active-forced":ot});function Pr(G,Jt){if(1&G&&s.nrm(0,"mat-icon",2),2&G){const ot=s.XpG();s.Y8G("ngClass",null==ot.item.classes?null:ot.item.classes.icon)("svgIcon",ot.item.icon)}}function Ur(G,Jt){if(1&G&&(s.j41(0,"div",6)(1,"span",5),s.EFF(2),s.k0s()()),2&G){const ot=s.XpG();s.R7$(),s.Y8G("ngClass",null==ot.item.classes?null:ot.item.classes.subtitle),s.R7$(),s.SpI(" ",ot.item.subtitle," ")}}function ao(G,Jt){if(1&G&&(s.j41(0,"div",7)(1,"div",9),s.EFF(2),s.k0s()()),2&G){const ot=s.XpG();s.R7$(),s.Y8G("ngClass",ot.item.badge.classes),s.R7$(),s.SpI(" ",ot.item.badge.title," ")}}function no(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",10),2&G){const ot=s.XpG(2).$implicit,se=s.XpG(2);s.Y8G("item",ot)("name",se.name)}}function _o(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",11),2&G){const ot=s.XpG(2).$implicit,se=s.XpG(2);s.Y8G("item",ot)("name",se.name)("autoCollapse",se.autoCollapse)}}function Do(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",10),2&G){const ot=s.XpG(2).$implicit,se=s.XpG(2);s.Y8G("item",ot)("name",se.name)}}function ro(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",10),2&G){const ot=s.XpG(2).$implicit,se=s.XpG(2);s.Y8G("item",ot)("name",se.name)}}function zt(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",10),2&G){const ot=s.XpG(2).$implicit,se=s.XpG(2);s.Y8G("item",ot)("name",se.name)}}function me(G,Jt){if(1&G&&s.DNE(0,no,1,2,"angor-vertical-navigation-basic-item",10)(1,_o,1,3,"angor-vertical-navigation-collapsable-item",11)(2,Do,1,2,"angor-vertical-navigation-divider-item",10)(3,ro,1,2,"angor-vertical-navigation-group-item",10)(4,zt,1,2,"angor-vertical-navigation-spacer-item",10),2&G){const ot=s.XpG().$implicit;s.vxM("basic"===ot.type?0:-1),s.R7$(),s.vxM("collapsable"===ot.type?1:-1),s.R7$(),s.vxM("divider"===ot.type?2:-1),s.R7$(),s.vxM("group"===ot.type?3:-1),s.R7$(),s.vxM("spacer"===ot.type?4:-1)}}function ue(G,Jt){if(1&G&&s.DNE(0,me,5,5),2&G){const ot=Jt.$implicit;s.vxM(ot.hidden&&!ot.hidden(ot)||!ot.hidden?0:-1)}}function dt(G,Jt){if(1&G&&(s.j41(0,"div",8),s.Z7z(1,ue,1,1,null,null,s.BUC().trackByFn,!0),s.k0s()),2&G){const ot=s.XpG();s.R7$(),s.Dyx(ot.item.children)}}let Kt=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._router=(0,s.WQX)(L.Ix),this._angorNavigationService=(0,s.WQX)(c),this.active=!1,this._unsubscribeAll=new S.B}ngOnChanges(ot){"activeItemId"in ot&&this._markIfActive(this._router.url)}ngOnInit(){this._markIfActive(this._router.url),this._router.events.pipe((0,Yt.p)(ot=>ot instanceof L.wF),(0,J.Q)(this._unsubscribeAll)).subscribe(ot=>{this._markIfActive(ot.urlAfterRedirects)}),this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(ot,se){return se.id||ot}_hasActiveChild(ot,se){const xe=ot.children;if(!xe)return!1;for(const Ar of xe){if(Ar.children&&this._hasActiveChild(Ar,se))return!0;if("basic"===Ar.type&&Ar.link&&this._router.isActive(Ar.link,Ar.exactMatch||!1))return!0}return!1}_markIfActive(ot){this.active=this.activeItemId===this.item.id,this._hasActiveChild(this.item,ot)&&(this.active=!0),this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-aside-item"]],inputs:{activeItemId:"activeItemId",autoCollapse:"autoCollapse",item:"item",name:"name",skipChildren:"skipChildren"},standalone:!0,features:[s.OA$,s.aNF],decls:10,vars:15,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"ngClass","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-children"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(se,xe){1&se&&(s.j41(0,"div",0)(1,"div",1),s.DNE(2,Pr,1,2,"mat-icon",2),s.j41(3,"div",3)(4,"div",4)(5,"span",5),s.EFF(6),s.k0s()(),s.DNE(7,Ur,3,2,"div",6),s.k0s(),s.DNE(8,ao,3,2,"div",7),s.k0s()(),s.DNE(9,dt,3,0,"div",8)),2&se&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!xe.item.subtitle),s.Y8G("ngClass",null==xe.item.classes?null:xe.item.classes.wrapper),s.R7$(),s.Y8G("ngClass",s.sMw(11,Dr,xe.active,xe.item.disabled,xe.item.active))("matTooltip",xe.item.tooltip||""),s.R7$(),s.vxM(xe.item.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==xe.item.classes?null:xe.item.classes.title),s.R7$(),s.SpI(" ",xe.item.title," "),s.R7$(),s.vxM(xe.item.subtitle?7:-1),s.R7$(),s.vxM(xe.item.badge?8:-1),s.R7$(),s.vxM(xe.skipChildren?-1:9))},dependencies:[I.YU,R.uc,R.oV,T.m_,T.An,ne,He,re,be,Lt],encapsulation:2,changeDetection:0})}}return G})();class Ct{constructor(Jt,ot,se,xe){this.x=Jt,this.y=ot,this.w=se,this.h=xe}}class ae{constructor(Jt,ot){this.x=Jt,this.y=ot}}var Re=r(4085),De=r(6860),or=r(2401);function Cr(G){return getComputedStyle(G)}function kr(G,Jt){for(var ot in Jt){var se=Jt[ot];"number"==typeof se&&(se+="px"),G.style[ot]=se}return G}function Lr(G){var Jt=document.createElement("div");return Jt.className=G,Jt}var Br=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function qr(G,Jt){if(!Br)throw new Error("No element matching method supported");return Br.call(G,Jt)}function to(G){G.remove?G.remove():G.parentNode&&G.parentNode.removeChild(G)}function ko(G,Jt){return Array.prototype.filter.call(G.children,function(ot){return qr(ot,Jt)})}var To={main:"ps",rtl:"ps__rtl",element:{thumb:function(G){return"ps__thumb-"+G},rail:function(G){return"ps__rail-"+G},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(G){return"ps--active-"+G},scrolling:function(G){return"ps--scrolling-"+G}}},po={x:null,y:null};function io(G,Jt){var ot=G.element.classList,se=To.state.scrolling(Jt);ot.contains(se)?clearTimeout(po[Jt]):ot.add(se)}function Jn(G,Jt){po[Jt]=setTimeout(function(){return G.isAlive&&G.element.classList.remove(To.state.scrolling(Jt))},G.settings.scrollingThreshold)}var zn=function(Jt){this.element=Jt,this.handlers={}},Uo={isEmpty:{configurable:!0}};zn.prototype.bind=function(Jt,ot){typeof this.handlers[Jt]>"u"&&(this.handlers[Jt]=[]),this.handlers[Jt].push(ot),this.element.addEventListener(Jt,ot,!1)},zn.prototype.unbind=function(Jt,ot){var se=this;this.handlers[Jt]=this.handlers[Jt].filter(function(xe){return!(!ot||xe===ot)||(se.element.removeEventListener(Jt,xe,!1),!1)})},zn.prototype.unbindAll=function(){for(var Jt in this.handlers)this.unbind(Jt)},Uo.isEmpty.get=function(){var G=this;return Object.keys(this.handlers).every(function(Jt){return 0===G.handlers[Jt].length})},Object.defineProperties(zn.prototype,Uo);var jn=function(){this.eventElements=[]};function Ki(G){if("function"==typeof window.CustomEvent)return new CustomEvent(G);var Jt=document.createEvent("CustomEvent");return Jt.initCustomEvent(G,!1,!1,void 0),Jt}function on(G,Jt,ot,se,xe){var Ar;if(void 0===se&&(se=!0),void 0===xe&&(xe=!1),"top"===Jt)Ar=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==Jt)throw new Error("A proper axis should be provided");Ar=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function Fa(G,Jt,ot,se,xe){var Ar=ot[0],Wr=ot[1],co=ot[2],wo=ot[3],jo=ot[4],Nn=ot[5];void 0===se&&(se=!0),void 0===xe&&(xe=!1);var Ln=G.element;G.reach[wo]=null,Ln[co]<1&&(G.reach[wo]="start"),Ln[co]>G[Ar]-G[Wr]-1&&(G.reach[wo]="end"),Jt&&(Ln.dispatchEvent(Ki("ps-scroll-"+wo)),Jt<0?Ln.dispatchEvent(Ki("ps-scroll-"+jo)):Jt>0&&Ln.dispatchEvent(Ki("ps-scroll-"+Nn)),se&&function Ai(G,Jt){io(G,Jt),Jn(G,Jt)}(G,wo)),G.reach[wo]&&(Jt||xe)&&Ln.dispatchEvent(Ki("ps-"+wo+"-reach-"+G.reach[wo]))}(G,ot,Ar,se,xe)}function Mn(G){return parseInt(G,10)||0}jn.prototype.eventElement=function(Jt){var ot=this.eventElements.filter(function(se){return se.element===Jt})[0];return ot||(ot=new zn(Jt),this.eventElements.push(ot)),ot},jn.prototype.bind=function(Jt,ot,se){this.eventElement(Jt).bind(ot,se)},jn.prototype.unbind=function(Jt,ot,se){var xe=this.eventElement(Jt);xe.unbind(ot,se),xe.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(xe),1)},jn.prototype.unbindAll=function(){this.eventElements.forEach(function(Jt){return Jt.unbindAll()}),this.eventElements=[]},jn.prototype.once=function(Jt,ot,se){var xe=this.eventElement(Jt),Ar=function(Wr){xe.unbind(ot,Ar),se(Wr)};xe.bind(ot,Ar)};var da={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function va(G){var Jt=G.element,ot=Math.floor(Jt.scrollTop),se=Jt.getBoundingClientRect();G.containerWidth=Math.round(se.width),G.containerHeight=Math.round(se.height),G.contentWidth=Jt.scrollWidth,G.contentHeight=Jt.scrollHeight,Jt.contains(G.scrollbarXRail)||(ko(Jt,To.element.rail("x")).forEach(function(xe){return to(xe)}),Jt.appendChild(G.scrollbarXRail)),Jt.contains(G.scrollbarYRail)||(ko(Jt,To.element.rail("y")).forEach(function(xe){return to(xe)}),Jt.appendChild(G.scrollbarYRail)),!G.settings.suppressScrollX&&G.containerWidth+G.settings.scrollXMarginOffset=G.railXWidth-G.scrollbarXWidth&&(G.scrollbarXLeft=G.railXWidth-G.scrollbarXWidth),G.scrollbarYTop>=G.railYHeight-G.scrollbarYHeight&&(G.scrollbarYTop=G.railYHeight-G.scrollbarYHeight),function qi(G,Jt){var ot={width:Jt.railXWidth},se=Math.floor(G.scrollTop);ot.left=Jt.isRtl?Jt.negativeScrollAdjustment+G.scrollLeft+Jt.containerWidth-Jt.contentWidth:G.scrollLeft,Jt.isScrollbarXUsingBottom?ot.bottom=Jt.scrollbarXBottom-se:ot.top=Jt.scrollbarXTop+se,kr(Jt.scrollbarXRail,ot);var xe={top:se,height:Jt.railYHeight};Jt.isScrollbarYUsingRight?xe.right=Jt.isRtl?Jt.contentWidth-(Jt.negativeScrollAdjustment+G.scrollLeft)-Jt.scrollbarYRight-Jt.scrollbarYOuterWidth-9:Jt.scrollbarYRight-G.scrollLeft:xe.left=Jt.isRtl?Jt.negativeScrollAdjustment+G.scrollLeft+2*Jt.containerWidth-Jt.contentWidth-Jt.scrollbarYLeft-Jt.scrollbarYOuterWidth:Jt.scrollbarYLeft+G.scrollLeft,kr(Jt.scrollbarYRail,xe),kr(Jt.scrollbarX,{left:Jt.scrollbarXLeft,width:Jt.scrollbarXWidth-Jt.railBorderXWidth}),kr(Jt.scrollbarY,{top:Jt.scrollbarYTop,height:Jt.scrollbarYHeight-Jt.railBorderYWidth})}(Jt,G),G.scrollbarXActive?Jt.classList.add(To.state.active("x")):(Jt.classList.remove(To.state.active("x")),G.scrollbarXWidth=0,G.scrollbarXLeft=0,Jt.scrollLeft=!0===G.isRtl?G.contentWidth:0),G.scrollbarYActive?Jt.classList.add(To.state.active("y")):(Jt.classList.remove(To.state.active("y")),G.scrollbarYHeight=0,G.scrollbarYTop=0,Jt.scrollTop=0)}function Ti(G,Jt){return G.settings.minScrollbarLength&&(Jt=Math.max(Jt,G.settings.minScrollbarLength)),G.settings.maxScrollbarLength&&(Jt=Math.min(Jt,G.settings.maxScrollbarLength)),Jt}function Tn(G,Jt){var ot=Jt[0],se=Jt[1],xe=Jt[2],Ar=Jt[3],Wr=Jt[4],co=Jt[5],wo=Jt[6],jo=Jt[7],Nn=Jt[8],Ln=G.element,Wn=null,Mi=null,kn=null;function si(En){En.touches&&En.touches[0]&&(En[xe]=En.touches[0].pageY),Ln[wo]=Wn+kn*(En[xe]-Mi),io(G,jo),va(G),En.stopPropagation(),En.type.startsWith("touch")&&En.changedTouches.length>1&&En.preventDefault()}function zi(){Jn(G,jo),G[Nn].classList.remove(To.state.clicking),G.event.unbind(G.ownerDocument,"mousemove",si)}function In(En,yi){Wn=Ln[wo],yi&&En.touches&&(En[xe]=En.touches[0].pageY),Mi=En[xe],kn=(G[se]-G[ot])/(G[Ar]-G[co]),yi?G.event.bind(G.ownerDocument,"touchmove",si):(G.event.bind(G.ownerDocument,"mousemove",si),G.event.once(G.ownerDocument,"mouseup",zi),En.preventDefault()),G[Nn].classList.add(To.state.clicking),En.stopPropagation()}G.event.bind(G[Wr],"mousedown",function(En){In(En)}),G.event.bind(G[Wr],"touchstart",function(En){In(En,!0)})}var ei={"click-rail":function ti(G){G.event.bind(G.scrollbarY,"mousedown",function(ot){return ot.stopPropagation()}),G.event.bind(G.scrollbarYRail,"mousedown",function(ot){var se=ot.pageY-window.pageYOffset-G.scrollbarYRail.getBoundingClientRect().top;G.element.scrollTop+=(se>G.scrollbarYTop?1:-1)*G.containerHeight,va(G),ot.stopPropagation()}),G.event.bind(G.scrollbarX,"mousedown",function(ot){return ot.stopPropagation()}),G.event.bind(G.scrollbarXRail,"mousedown",function(ot){var se=ot.pageX-window.pageXOffset-G.scrollbarXRail.getBoundingClientRect().left;G.element.scrollLeft+=(se>G.scrollbarXLeft?1:-1)*G.containerWidth,va(G),ot.stopPropagation()})},"drag-thumb":function Ba(G){Tn(G,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),Tn(G,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function ua(G){var Jt=G.element;G.event.bind(G.ownerDocument,"keydown",function(Ar){if(!(Ar.isDefaultPrevented&&Ar.isDefaultPrevented()||Ar.defaultPrevented)&&(qr(Jt,":hover")||qr(G.scrollbarX,":focus")||qr(G.scrollbarY,":focus"))){var Wr=document.activeElement?document.activeElement:G.ownerDocument.activeElement;if(Wr){if("IFRAME"===Wr.tagName)Wr=Wr.contentDocument.activeElement;else for(;Wr.shadowRoot;)Wr=Wr.shadowRoot.activeElement;if(function _i(G){return qr(G,"input,[contenteditable]")||qr(G,"select,[contenteditable]")||qr(G,"textarea,[contenteditable]")||qr(G,"button,[contenteditable]")}(Wr))return}var co=0,wo=0;switch(Ar.which){case 37:co=Ar.metaKey?-G.contentWidth:Ar.altKey?-G.containerWidth:-30;break;case 38:wo=Ar.metaKey?G.contentHeight:Ar.altKey?G.containerHeight:30;break;case 39:co=Ar.metaKey?G.contentWidth:Ar.altKey?G.containerWidth:30;break;case 40:wo=Ar.metaKey?-G.contentHeight:Ar.altKey?-G.containerHeight:-30;break;case 32:wo=Ar.shiftKey?G.containerHeight:-G.containerHeight;break;case 33:wo=G.containerHeight;break;case 34:wo=-G.containerHeight;break;case 36:wo=G.contentHeight;break;case 35:wo=-G.contentHeight;break;default:return}G.settings.suppressScrollX&&0!==co||G.settings.suppressScrollY&&0!==wo||(Jt.scrollTop-=wo,Jt.scrollLeft+=co,va(G),function xe(Ar,Wr){var co=Math.floor(Jt.scrollTop);if(0===Ar){if(!G.scrollbarYActive)return!1;if(0===co&&Wr>0||co>=G.contentHeight-G.containerHeight&&Wr<0)return!G.settings.wheelPropagation}var wo=Jt.scrollLeft;if(0===Wr){if(!G.scrollbarXActive)return!1;if(0===wo&&Ar<0||wo>=G.contentWidth-G.containerWidth&&Ar>0)return!G.settings.wheelPropagation}return!0}(co,wo)&&Ar.preventDefault())}})},wheel:function bi(G){var Jt=G.element;function Ar(Wr){var co=function se(Wr){var co=Wr.deltaX,wo=-1*Wr.deltaY;return(typeof co>"u"||typeof wo>"u")&&(co=-1*Wr.wheelDeltaX/6,wo=Wr.wheelDeltaY/6),Wr.deltaMode&&1===Wr.deltaMode&&(co*=10,wo*=10),co!=co&&wo!=wo&&(co=0,wo=Wr.wheelDelta),Wr.shiftKey?[-wo,-co]:[co,wo]}(Wr),wo=co[0],jo=co[1];if(!function xe(Wr,co,wo){if(!da.isWebKit&&Jt.querySelector("select:focus"))return!0;if(!Jt.contains(Wr))return!1;for(var jo=Wr;jo&&jo!==Jt;){if(jo.classList.contains(To.element.consuming))return!0;var Nn=Cr(jo);if(wo&&Nn.overflowY.match(/(scroll|auto)/)){var Ln=jo.scrollHeight-jo.clientHeight;if(Ln>0&&(jo.scrollTop>0&&wo<0||jo.scrollTop0))return!0}if(co&&Nn.overflowX.match(/(scroll|auto)/)){var Wn=jo.scrollWidth-jo.clientWidth;if(Wn>0&&(jo.scrollLeft>0&&co<0||jo.scrollLeft0))return!0}jo=jo.parentNode}return!1}(Wr.target,wo,jo)){var Nn=!1;G.settings.useBothWheelAxes?G.scrollbarYActive&&!G.scrollbarXActive?(jo?Jt.scrollTop-=jo*G.settings.wheelSpeed:Jt.scrollTop+=wo*G.settings.wheelSpeed,Nn=!0):G.scrollbarXActive&&!G.scrollbarYActive&&(wo?Jt.scrollLeft+=wo*G.settings.wheelSpeed:Jt.scrollLeft-=jo*G.settings.wheelSpeed,Nn=!0):(Jt.scrollTop-=jo*G.settings.wheelSpeed,Jt.scrollLeft+=wo*G.settings.wheelSpeed),va(G),Nn=Nn||function ot(Wr,co){var wo=Math.floor(Jt.scrollTop),jo=0===Jt.scrollTop,Nn=wo+Jt.offsetHeight===Jt.scrollHeight,Ln=0===Jt.scrollLeft,Wn=Jt.scrollLeft+Jt.offsetWidth===Jt.scrollWidth;return!(Math.abs(co)>Math.abs(Wr)?jo||Nn:Ln||Wn)||!G.settings.wheelPropagation}(wo,jo),Nn&&!Wr.ctrlKey&&(Wr.stopPropagation(),Wr.preventDefault())}}typeof window.onwheel<"u"?G.event.bind(Jt,"wheel",Ar):typeof window.onmousewheel<"u"&&G.event.bind(Jt,"mousewheel",Ar)},touch:function Go(G){if(da.supportsTouch||da.supportsIePointer){var Jt=G.element,xe={},Ar=0,Wr={},co=null;da.supportsTouch?(G.event.bind(Jt,"touchstart",Nn),G.event.bind(Jt,"touchmove",Wn),G.event.bind(Jt,"touchend",Mi)):da.supportsIePointer&&(window.PointerEvent?(G.event.bind(Jt,"pointerdown",Nn),G.event.bind(Jt,"pointermove",Wn),G.event.bind(Jt,"pointerup",Mi)):window.MSPointerEvent&&(G.event.bind(Jt,"MSPointerDown",Nn),G.event.bind(Jt,"MSPointerMove",Wn),G.event.bind(Jt,"MSPointerUp",Mi)))}function se(kn,si){Jt.scrollTop-=si,Jt.scrollLeft-=kn,va(G)}function wo(kn){return kn.targetTouches?kn.targetTouches[0]:kn}function jo(kn){return!(kn.pointerType&&"pen"===kn.pointerType&&0===kn.buttons||!(kn.targetTouches&&1===kn.targetTouches.length||kn.pointerType&&"mouse"!==kn.pointerType&&kn.pointerType!==kn.MSPOINTER_TYPE_MOUSE))}function Nn(kn){if(jo(kn)){var si=wo(kn);xe.pageX=si.pageX,xe.pageY=si.pageY,Ar=(new Date).getTime(),null!==co&&clearInterval(co)}}function Wn(kn){if(jo(kn)){var si=wo(kn),zi={pageX:si.pageX,pageY:si.pageY},In=zi.pageX-xe.pageX,En=zi.pageY-xe.pageY;if(function Ln(kn,si,zi){if(!Jt.contains(kn))return!1;for(var In=kn;In&&In!==Jt;){if(In.classList.contains(To.element.consuming))return!0;var En=Cr(In);if(zi&&En.overflowY.match(/(scroll|auto)/)){var yi=In.scrollHeight-In.clientHeight;if(yi>0&&(In.scrollTop>0&&zi<0||In.scrollTop0))return!0}if(si&&En.overflowX.match(/(scroll|auto)/)){var vi=In.scrollWidth-In.clientWidth;if(vi>0&&(In.scrollLeft>0&&si<0||In.scrollLeft0))return!0}In=In.parentNode}return!1}(kn.target,In,En))return;se(In,En),xe=zi;var yi=(new Date).getTime(),vi=yi-Ar;vi>0&&(Wr.x=In/vi,Wr.y=En/vi,Ar=yi),function ot(kn,si){var zi=Math.floor(Jt.scrollTop),In=Jt.scrollLeft,En=Math.abs(kn),yi=Math.abs(si);if(yi>En){if(si<0&&zi===G.contentHeight-G.containerHeight||si>0&&0===zi)return 0===window.scrollY&&si>0&&da.isChrome}else if(En>yi&&(kn<0&&In===G.contentWidth-G.containerWidth||kn>0&&0===In))return!0;return!0}(In,En)&&kn.preventDefault()}}function Mi(){G.settings.swipeEasing&&(clearInterval(co),co=setInterval(function(){G.isInitialized?clearInterval(co):Wr.x||Wr.y?Math.abs(Wr.x)<.01&&Math.abs(Wr.y)<.01?clearInterval(co):G.element?(se(30*Wr.x,30*Wr.y),Wr.x*=.8,Wr.y*=.8):clearInterval(co):clearInterval(co)},10))}}},Bn=function(Jt,ot){var se=this;if(void 0===ot&&(ot={}),"string"==typeof Jt&&(Jt=document.querySelector(Jt)),!Jt||!Jt.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var xe in this.element=Jt,Jt.classList.add(To.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},ot)this.settings[xe]=ot[xe];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var Nn,jo,Ar=function(){return Jt.classList.add(To.state.focus)},Wr=function(){return Jt.classList.remove(To.state.focus)};this.isRtl="rtl"===Cr(Jt).direction,!0===this.isRtl&&Jt.classList.add(To.rtl),this.isNegativeScroll=(jo=Jt.scrollLeft,Jt.scrollLeft=-1,Nn=Jt.scrollLeft<0,Jt.scrollLeft=jo,Nn),this.negativeScrollAdjustment=this.isNegativeScroll?Jt.scrollWidth-Jt.clientWidth:0,this.event=new jn,this.ownerDocument=Jt.ownerDocument||document,this.scrollbarXRail=Lr(To.element.rail("x")),Jt.appendChild(this.scrollbarXRail),this.scrollbarX=Lr(To.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Ar),this.event.bind(this.scrollbarX,"blur",Wr),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var co=Cr(this.scrollbarXRail);this.scrollbarXBottom=parseInt(co.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Mn(co.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Mn(co.borderLeftWidth)+Mn(co.borderRightWidth),kr(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Mn(co.marginLeft)+Mn(co.marginRight),kr(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=Lr(To.element.rail("y")),Jt.appendChild(this.scrollbarYRail),this.scrollbarY=Lr(To.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Ar),this.event.bind(this.scrollbarY,"blur",Wr),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var wo=Cr(this.scrollbarYRail);this.scrollbarYRight=parseInt(wo.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Mn(wo.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function ds(G){var Jt=Cr(G);return Mn(Jt.width)+Mn(Jt.paddingLeft)+Mn(Jt.paddingRight)+Mn(Jt.borderLeftWidth)+Mn(Jt.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Mn(wo.borderTopWidth)+Mn(wo.borderBottomWidth),kr(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Mn(wo.marginTop)+Mn(wo.marginBottom),kr(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:Jt.scrollLeft<=0?"start":Jt.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:Jt.scrollTop<=0?"start":Jt.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(jo){return ei[jo](se)}),this.lastScrollTop=Math.floor(Jt.scrollTop),this.lastScrollLeft=Jt.scrollLeft,this.event.bind(this.element,"scroll",function(jo){return se.onScroll(jo)}),va(this)};Bn.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,kr(this.scrollbarXRail,{display:"block"}),kr(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Mn(Cr(this.scrollbarXRail).marginLeft)+Mn(Cr(this.scrollbarXRail).marginRight),this.railYMarginHeight=Mn(Cr(this.scrollbarYRail).marginTop)+Mn(Cr(this.scrollbarYRail).marginBottom),kr(this.scrollbarXRail,{display:"none"}),kr(this.scrollbarYRail,{display:"none"}),va(this),on(this,"top",0,!1,!0),on(this,"left",0,!1,!0),kr(this.scrollbarXRail,{display:""}),kr(this.scrollbarYRail,{display:""}))},Bn.prototype.onScroll=function(Jt){this.isAlive&&(va(this),on(this,"top",this.element.scrollTop-this.lastScrollTop),on(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Bn.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),to(this.scrollbarX),to(this.scrollbarY),to(this.scrollbarXRail),to(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Bn.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(Jt){return!Jt.match(/^ps([-_].+|)$/)}).join(" ")};const ri=Bn;var Ua=r(3726),zo=r(152);let xa=(()=>{class G{constructor(){this._elementRef=(0,s.WQX)(s.aKT),this._platform=(0,s.WQX)(De.OD),this.angorScrollbar=!0,this._ps=null,this._unsubscribeAll=new S.B}get elementRef(){return this._elementRef}get ps(){return this._ps}ngOnChanges(ot){"angorScrollbar"in ot&&(this.angorScrollbar=(0,Re.he)(ot.angorScrollbar.currentValue),this.angorScrollbar?this._initScrollbar():this._destroyScrollbar()),"angorScrollbarOptions"in ot&&(this._options=(0,or.A)({},this._options,ot.angorScrollbarOptions.currentValue),this._reinitializeScrollbar())}ngOnInit(){(0,Ua.R)(window,"resize").pipe((0,J.Q)(this._unsubscribeAll),(0,zo.B)(150)).subscribe(()=>this.update())}ngOnDestroy(){this._destroyScrollbar(),this._unsubscribeAll.next(),this._unsubscribeAll.complete()}isEnabled(){return this.angorScrollbar}update(){this._ps?.update()}destroy(){this.ngOnDestroy()}geometry(ot="scroll"){return new Ct(this._elementRef.nativeElement[`${ot}Left`],this._elementRef.nativeElement[`${ot}Top`],this._elementRef.nativeElement[`${ot}Width`],this._elementRef.nativeElement[`${ot}Height`])}position(ot=!1){return!ot&&this._ps?new ae(this._ps.reach.x||0,this._ps.reach.y||0):new ae(this._elementRef.nativeElement.scrollLeft,this._elementRef.nativeElement.scrollTop)}scrollTo(ot,se,xe){null==se&&null==xe?this.animateScrolling("scrollTop",ot,xe):(null!=ot&&this.scrollToX(ot,xe),null!=se&&this.scrollToY(se,xe))}scrollToX(ot,se){this.animateScrolling("scrollLeft",ot,se)}scrollToY(ot,se){this.animateScrolling("scrollTop",ot,se)}scrollToTop(ot=0,se){this.animateScrolling("scrollTop",ot,se)}scrollToBottom(ot=0,se){this.animateScrolling("scrollTop",this._elementRef.nativeElement.scrollHeight-this._elementRef.nativeElement.clientHeight-ot,se)}scrollToLeft(ot=0,se){this.animateScrolling("scrollLeft",ot,se)}scrollToRight(ot=0,se){this.animateScrolling("scrollLeft",this._elementRef.nativeElement.scrollWidth-this._elementRef.nativeElement.clientWidth-ot,se)}scrollToElement(ot,se=0,xe=!1,Ar){const Wr=this._elementRef.nativeElement.querySelector(ot);if(!Wr)return;const co=Wr.getBoundingClientRect(),wo=this._elementRef.nativeElement.getBoundingClientRect();this._elementRef.nativeElement.classList.contains("ps--active-x")&&this._scrollToInAxis(co.left,wo.left,"scrollLeft",se,xe,Ar),this._elementRef.nativeElement.classList.contains("ps--active-y")&&this._scrollToInAxis(co.top,wo.top,"scrollTop",se,xe,Ar)}animateScrolling(ot,se,xe){this._animation&&window.cancelAnimationFrame(this._animation),!xe||typeof window>"u"?this._elementRef.nativeElement[ot]=se:se!==this._elementRef.nativeElement[ot]&&this._smoothScroll(ot,se,xe)}_initScrollbar(){this._ps||this._platform.ANDROID||this._platform.IOS||!this._platform.isBrowser||(this._ps=new ri(this._elementRef.nativeElement,{...this._options}))}_destroyScrollbar(){this._ps?.destroy(),this._ps=null}_reinitializeScrollbar(){setTimeout(()=>this._destroyScrollbar()),setTimeout(()=>this._initScrollbar())}_scrollToInAxis(ot,se,xe,Ar,Wr,co){Wr&&ot<=se-Math.abs(Ar)||this.animateScrolling(xe,ot-se+this._elementRef.nativeElement[xe]+Ar,co)}_smoothScroll(ot,se,xe){let Ar=0,Wr=this._elementRef.nativeElement[ot];const co=(Wr-se)/2;let wo=performance.now();const jo=Nn=>{Ar+=Math.PI/(xe/(Nn-wo));const Ln=Math.round(se+co+co*Math.cos(Ar));this._elementRef.nativeElement[ot]===Wr&&(Ar>=Math.PI?this.animateScrolling(ot,se,0):(this._elementRef.nativeElement[ot]=Ln,Wr=this._elementRef.nativeElement[ot],wo=Nn,this._animation=window.requestAnimationFrame(jo)))};window.requestAnimationFrame(jo)}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275dir=s.FsC({type:G,selectors:[["","angorScrollbar",""]],inputs:{angorScrollbar:"angorScrollbar",angorScrollbarOptions:"angorScrollbarOptions"},exportAs:["angorScrollbar"],standalone:!0,features:[s.OA$]})}}return G})();var On=r(9969),Ji=r(7987),ta=r(7786),us=r(1986);const fa=["navigationContent"],$a=[[["","angorVerticalNavigationHeader",""]],[["","angorVerticalNavigationContentHeader",""]],[["","angorVerticalNavigationFooter",""]]],fi=["[angorVerticalNavigationHeader]","[angorVerticalNavigationContentHeader]","[angorVerticalNavigationFooter]"],Jo=G=>({wheelPropagation:G,suppressScrollX:!0}),Rn=()=>({wheelPropagation:!1,suppressScrollX:!0});function ia(G,Jt){if(1&G){const ot=s.RV6();s.j41(0,"angor-vertical-navigation-aside-item",10),s.bIt("click",function(){s.eBV(ot);const xe=s.XpG(2).$implicit,Ar=s.XpG();return s.Njj(Ar.toggleAside(xe))}),s.k0s()}if(2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)("activeItemId",se.activeAsideItemId)("autoCollapse",se.autoCollapse)("skipChildren",!0)}}function wi(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",8),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)}}function Ja(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",9),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)("autoCollapse",se.autoCollapse)}}function Hn(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",8),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)}}function ki(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",9),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)("autoCollapse",se.autoCollapse)}}function di(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",8),2&G){const ot=s.XpG(2).$implicit,se=s.XpG();s.Y8G("item",ot)("name",se.name)}}function Vi(G,Jt){if(1&G&&s.DNE(0,ia,1,5,"angor-vertical-navigation-aside-item",7)(1,wi,1,2,"angor-vertical-navigation-basic-item",8)(2,Ja,1,3,"angor-vertical-navigation-collapsable-item",9)(3,Hn,1,2,"angor-vertical-navigation-divider-item",8)(4,ki,1,3,"angor-vertical-navigation-group-item",9)(5,di,1,2,"angor-vertical-navigation-spacer-item",8),2&G){const ot=s.XpG().$implicit;s.vxM("aside"===ot.type?0:-1),s.R7$(),s.vxM("basic"===ot.type?1:-1),s.R7$(),s.vxM("collapsable"===ot.type?2:-1),s.R7$(),s.vxM("divider"===ot.type?3:-1),s.R7$(),s.vxM("group"===ot.type?4:-1),s.R7$(),s.vxM("spacer"===ot.type?5:-1)}}function oi(G,Jt){if(1&G&&s.DNE(0,Vi,6,6),2&G){const ot=Jt.$implicit;s.vxM(ot.hidden&&!ot.hidden(ot)||!ot.hidden?0:-1)}}function aa(G,Jt){if(1&G&&s.nrm(0,"angor-vertical-navigation-aside-item",9),2&G){const ot=s.XpG(2).$implicit,se=s.XpG(2);s.Y8G("item",ot)("name",se.name)("autoCollapse",se.autoCollapse)}}function Fi(G,Jt){if(1&G&&s.DNE(0,aa,1,3,"angor-vertical-navigation-aside-item",9),2&G){const ot=s.XpG().$implicit,se=s.XpG(2);s.vxM("aside"===ot.type&&ot.id===se.activeAsideItemId?0:-1)}}function ma(G,Jt){if(1&G&&s.DNE(0,Fi,1,1),2&G){const ot=Jt.$implicit;s.vxM(ot.hidden&&!ot.hidden(ot)||!ot.hidden?0:-1)}}function ts(G,Jt){if(1&G&&(s.j41(0,"div",6),s.Z7z(1,ma,1,1,null,null,s.BUC().trackByFn,!0),s.k0s()),2&G){const ot=s.XpG();s.Y8G("angorScrollbarOptions",s.lJ4(5,Rn))("@fadeInLeft","left"===ot.position)("@fadeInRight","right"===ot.position)("@fadeOutLeft","left"===ot.position)("@fadeOutRight","right"===ot.position),s.R7$(),s.Dyx(ot.navigation)}}let Ei=(()=>{class G{constructor(){this._animationBuilder=(0,s.WQX)(On.S6),this._changeDetectorRef=(0,s.WQX)(s.gRc),this._document=(0,s.WQX)(I.qQ),this._elementRef=(0,s.WQX)(s.aKT),this._renderer2=(0,s.WQX)(s.sFG),this._router=(0,s.WQX)(L.Ix),this._scrollStrategyOptions=(0,s.WQX)(Ji.Tv),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.appearance="default",this.autoCollapse=!0,this.inner=!1,this.mode="side",this.name=this._angorUtilsService.randomId(),this.opened=!0,this.position="left",this.transparentOverlay=!1,this.appearanceChanged=new s.bkB,this.modeChanged=new s.bkB,this.openedChanged=new s.bkB,this.positionChanged=new s.bkB,this.activeAsideItemId=null,this.onCollapsableItemCollapsed=new k.m(1),this.onCollapsableItemExpanded=new k.m(1),this.onRefreshed=new k.m(1),this._animationsEnabled=!1,this._hovered=!1,this._scrollStrategy=this._scrollStrategyOptions.block(),this._unsubscribeAll=new S.B,this._handleAsideOverlayClick=()=>{this.closeAside()},this._handleOverlayClick=()=>{this.close()}}get classList(){return{"angor-vertical-navigation-animations-enabled":this._animationsEnabled,[`angor-vertical-navigation-appearance-${this.appearance}`]:!0,"angor-vertical-navigation-hover":this._hovered,"angor-vertical-navigation-inner":this.inner,"angor-vertical-navigation-mode-over":"over"===this.mode,"angor-vertical-navigation-mode-side":"side"===this.mode,"angor-vertical-navigation-opened":this.opened,"angor-vertical-navigation-position-left":"left"===this.position,"angor-vertical-navigation-position-right":"right"===this.position}}get styleList(){return{visibility:this.opened?"visible":"hidden"}}set angorScrollbarDirectives(ot){this._angorScrollbarDirectives=ot,0!==ot.length&&(this._angorScrollbarDirectivesSubscription&&this._angorScrollbarDirectivesSubscription.unsubscribe(),this._angorScrollbarDirectivesSubscription=(0,ta.h)(this.onCollapsableItemCollapsed,this.onCollapsableItemExpanded).pipe((0,J.Q)(this._unsubscribeAll),(0,us.c)(250)).subscribe(()=>{ot.forEach(se=>{se.update()})}))}_onMouseenter(){this._enableAnimations(),this._hovered=!0}_onMouseleave(){this._enableAnimations(),this._hovered=!1}ngOnChanges(ot){if("appearance"in ot&&this.appearanceChanged.next(ot.appearance.currentValue),"inner"in ot&&(this.inner=(0,Re.he)(ot.inner.currentValue)),"mode"in ot){const se=ot.mode.currentValue,xe=ot.mode.previousValue;this._disableAnimations(),"over"===xe&&"side"===se&&this._hideOverlay(),"side"===xe&&"over"===se&&(this.closeAside(),this.opened&&this._showOverlay()),this.modeChanged.next(se),setTimeout(()=>{this._enableAnimations()},500)}"navigation"in ot&&this._changeDetectorRef.markForCheck(),"opened"in ot&&(this.opened=(0,Re.he)(ot.opened.currentValue),this._toggleOpened(this.opened)),"position"in ot&&this.positionChanged.next(ot.position.currentValue),"transparentOverlay"in ot&&(this.transparentOverlay=(0,Re.he)(ot.transparentOverlay.currentValue))}ngOnInit(){""===this.name&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this),this._router.events.pipe((0,Yt.p)(ot=>ot instanceof L.wF),(0,J.Q)(this._unsubscribeAll)).subscribe(()=>{"over"===this.mode&&this.opened&&this.close(),"side"===this.mode&&this.activeAsideItemId&&this.closeAside()})}ngAfterViewInit(){this._mutationObserver=new MutationObserver(ot=>{ot.forEach(se=>{const xe=se.target;if("class"===se.attributeName)if(xe.classList.contains("cdk-global-scrollblock")){const Ar=parseInt(xe.style.top,10);this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",`${Math.abs(Ar)}px`)}else this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",null)})}),this._mutationObserver.observe(this._document.documentElement,{attributes:!0,attributeFilter:["class"]}),setTimeout(()=>{if(this._navigationContentEl)if(this._navigationContentEl.nativeElement.classList.contains("ps"))this._angorScrollbarDirectives.forEach(ot=>{ot.isEnabled()&&ot.scrollToElement(".angor-vertical-navigation-item-active",-120,!0)});else{const ot=this._navigationContentEl.nativeElement.querySelector(".angor-vertical-navigation-item-active");ot&&ot.scrollIntoView()}})}ngOnDestroy(){this._mutationObserver.disconnect(),this.close(),this.closeAside(),this._angorNavigationService.deregisterComponent(this.name),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}refresh(){this._changeDetectorRef.markForCheck(),this.onRefreshed.next(!0)}open(){this.opened||this._toggleOpened(!0)}close(){this.opened&&(this.closeAside(),this._toggleOpened(!1))}toggle(){this.opened?this.close():this.open()}openAside(ot){ot.disabled||!ot.id||(this.activeAsideItemId=ot.id,this._showAsideOverlay(),this._changeDetectorRef.markForCheck())}closeAside(){this.activeAsideItemId=null,this._hideAsideOverlay(),this._changeDetectorRef.markForCheck()}toggleAside(ot){this.activeAsideItemId===ot.id?this.closeAside():this.openAside(ot)}trackByFn(ot,se){return se.id||ot}_enableAnimations(){this._animationsEnabled||(this._animationsEnabled=!0)}_disableAnimations(){this._animationsEnabled&&(this._animationsEnabled=!1)}_showOverlay(){this._asideOverlay||(this._overlay=this._renderer2.createElement("div"),this._overlay.classList.add("angor-vertical-navigation-overlay"),this.transparentOverlay&&this._overlay.classList.add("angor-vertical-navigation-overlay-transparent"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._overlay),this._scrollStrategy.enable(),this._player=this._animationBuilder.build([(0,On.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,On.iF)({opacity:1}))]).create(this._overlay),this._player.play(),this._overlay.addEventListener("click",this._handleOverlayClick))}_hideOverlay(){this._overlay&&(this._player=this._animationBuilder.build([(0,On.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,On.iF)({opacity:0}))]).create(this._overlay),this._player.play(),this._player.onDone(()=>{this._overlay&&(this._overlay.removeEventListener("click",this._handleOverlayClick),this._overlay.parentNode.removeChild(this._overlay),this._overlay=null),this._scrollStrategy.disable()}))}_showAsideOverlay(){this._asideOverlay||(this._asideOverlay=this._renderer2.createElement("div"),this._asideOverlay.classList.add("angor-vertical-navigation-aside-overlay"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._asideOverlay),this._player=this._animationBuilder.build([(0,On.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,On.iF)({opacity:1}))]).create(this._asideOverlay),this._player.play(),this._asideOverlay.addEventListener("click",this._handleAsideOverlayClick))}_hideAsideOverlay(){this._asideOverlay&&(this._player=this._animationBuilder.build([(0,On.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,On.iF)({opacity:0}))]).create(this._asideOverlay),this._player.play(),this._player.onDone(()=>{this._asideOverlay&&(this._asideOverlay.removeEventListener("click",this._handleAsideOverlayClick),this._asideOverlay.parentNode.removeChild(this._asideOverlay),this._asideOverlay=null)}))}_toggleOpened(ot){this.opened=ot,this._enableAnimations(),"over"===this.mode&&(this.opened?this._showOverlay():this._hideOverlay()),this.openedChanged.next(ot)}static{this.\u0275fac=function(se){return new(se||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation"]],viewQuery:function(se,xe){if(1&se&&(s.GBs(fa,5),s.GBs(xa,5)),2&se){let Ar;s.mGM(Ar=s.lsd())&&(xe._navigationContentEl=Ar.first),s.mGM(Ar=s.lsd())&&(xe.angorScrollbarDirectives=Ar)}},hostVars:4,hostBindings:function(se,xe){1&se&&s.bIt("mouseenter",function(){return xe._onMouseenter()})("mouseleave",function(){return xe._onMouseleave()}),2&se&&(s.Aen(xe.styleList),s.HbH(xe.classList))},inputs:{appearance:"appearance",autoCollapse:"autoCollapse",inner:"inner",mode:"mode",name:"name",navigation:"navigation",opened:"opened",position:"position",transparentOverlay:"transparentOverlay"},outputs:{appearanceChanged:"appearanceChanged",modeChanged:"modeChanged",openedChanged:"openedChanged",positionChanged:"positionChanged"},exportAs:["angorVerticalNavigation"],standalone:!0,features:[s.OA$,s.aNF],ngContentSelectors:fi,decls:12,vars:4,consts:[["navigationContent",""],[1,"angor-vertical-navigation-wrapper"],[1,"angor-vertical-navigation-header"],["angorScrollbar","",1,"angor-vertical-navigation-content",3,"angorScrollbarOptions"],[1,"angor-vertical-navigation-content-header"],[1,"angor-vertical-navigation-footer"],["angorScrollbar","",1,"angor-vertical-navigation-aside-wrapper",3,"angorScrollbarOptions"],[3,"item","name","activeItemId","autoCollapse","skipChildren"],[3,"item","name"],[3,"item","name","autoCollapse"],[3,"click","item","name","activeItemId","autoCollapse","skipChildren"]],template:function(se,xe){1&se&&(s.NAR($a),s.j41(0,"div",1)(1,"div",2),s.SdG(2),s.k0s(),s.j41(3,"div",3,0)(5,"div",4),s.SdG(6,1),s.k0s(),s.Z7z(7,oi,1,1,null,null,xe.trackByFn,!0),s.k0s(),s.j41(9,"div",5),s.SdG(10,2),s.k0s()(),s.DNE(11,ts,3,6,"div",6)),2&se&&(s.R7$(3),s.Y8G("angorScrollbarOptions",s.eq3(2,Jo,xe.inner)),s.R7$(4),s.Dyx(xe.navigation),s.R7$(4),s.vxM(xe.activeAsideItemId?11:-1))},dependencies:[xa,Kt,ne,He,re,be,Lt],styles:[':root{--angor-vertical-navigation-width: 280px}angor-vertical-navigation{position:sticky;display:flex;flex-direction:column;flex:1 0 auto;top:0;width:var(--angor-vertical-navigation-width);min-width:var(--angor-vertical-navigation-width);max-width:var(--angor-vertical-navigation-width);height:100vh;min-height:100vh;max-height:100vh;z-index:200}angor-vertical-navigation.angor-vertical-navigation-animations-enabled{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:visibility,margin-left,margin-right,transform,width,max-width,min-width}angor-vertical-navigation.angor-vertical-navigation-animations-enabled .angor-vertical-navigation-wrapper{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:width,max-width,min-width}angor-vertical-navigation.angor-vertical-navigation-mode-over{position:fixed;top:0;bottom:0}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-over{left:0;transform:translate3d(-100%,0,0)}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-over.angor-vertical-navigation-opened{transform:translateZ(0)}angor-vertical-navigation.angor-vertical-navigation-position-left .angor-vertical-navigation-wrapper{left:0}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-over{right:0;transform:translate3d(100%,0,0)}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-over.angor-vertical-navigation-opened{transform:translateZ(0)}angor-vertical-navigation.angor-vertical-navigation-position-right .angor-vertical-navigation-wrapper{right:0}angor-vertical-navigation.angor-vertical-navigation-inner{position:relative;width:auto;min-width:0;max-width:none;height:auto;min-height:0;max-height:none;box-shadow:none}angor-vertical-navigation.angor-vertical-navigation-inner .angor-vertical-navigation-wrapper{position:relative;overflow:visible;height:auto}angor-vertical-navigation.angor-vertical-navigation-inner .angor-vertical-navigation-wrapper .angor-vertical-navigation-content{overflow:visible!important}angor-vertical-navigation .angor-vertical-navigation-wrapper{position:absolute;display:flex;flex:1 1 auto;flex-direction:column;top:0;bottom:0;width:100%;height:100%;overflow:hidden;z-index:10;background:inherit;box-shadow:inset -1px 0 0 var(--angor-border)}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content{flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-divider-item{margin:24px 0}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-group-item{margin-top:24px}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper{position:absolute;display:flex;flex:1 1 auto;flex-direction:column;top:0;bottom:0;left:var(--angor-vertical-navigation-width);width:var(--angor-vertical-navigation-width);height:100%;z-index:5;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;transition-duration:.4s;transition-property:left,right;transition-timing-function:cubic-bezier(.25,.8,.25,1);background:inherit}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper>angor-vertical-navigation-aside-item{padding:24px 0}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper>angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper{display:none!important}angor-vertical-navigation.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-width)}angor-vertical-navigation angor-vertical-navigation-aside-item,angor-vertical-navigation angor-vertical-navigation-basic-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item,angor-vertical-navigation angor-vertical-navigation-divider-item,angor-vertical-navigation angor-vertical-navigation-group-item,angor-vertical-navigation angor-vertical-navigation-spacer-item{display:flex;flex-direction:column;flex:1 0 auto;-webkit-user-select:none;user-select:none}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{position:relative;display:flex;align-items:center;justify-content:flex-start;padding:10px 16px;font-size:13px;font-weight:500;line-height:20px;text-decoration:none;border-radius:6px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled{cursor:default;opacity:.4}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin-right:16px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{font-size:11px;line-height:1.5}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge{margin-left:auto}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;white-space:nowrap;height:20px}angor-vertical-navigation angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{margin:0 12px}angor-vertical-navigation angor-vertical-navigation-aside-item,angor-vertical-navigation angor-vertical-navigation-basic-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item{margin-bottom:4px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item{cursor:pointer}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge+.angor-vertical-navigation-item-arrow{margin-left:8px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{height:20px;line-height:20px;margin-left:auto;transition:transform .3s cubic-bezier(.25,.8,.25,1),color 375ms cubic-bezier(.25,.8,.25,1)}angor-vertical-navigation angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{transform:rotate(90deg)}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:first-child{margin-top:6px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:last-child{padding-bottom:6px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:last-child>.angor-vertical-navigation-item-children>*:last-child{padding-bottom:0}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding:10px 16px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children{overflow:hidden}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:56px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:72px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:88px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:104px}angor-vertical-navigation angor-vertical-navigation-divider-item{margin:12px 0}angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper{height:1px;box-shadow:0 1px}angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{display:none!important}angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}angor-vertical-navigation angor-vertical-navigation-spacer-item{margin:6px 0}.angor-vertical-navigation-overlay{position:absolute;inset:0;z-index:170;opacity:0;background-color:#0009}.angor-vertical-navigation-overlay+.angor-vertical-navigation-aside-overlay{background-color:transparent}.angor-vertical-navigation-aside-overlay{position:absolute;inset:0;z-index:169;opacity:0;background-color:#0000004d}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{color:currentColor}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{color:currentColor;opacity:.6}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{color:currentColor;opacity:.8}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{color:currentColor;opacity:.5}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced{background-color:rgb(3 33 40 / var(--tw-bg-opacity));--tw-bg-opacity: .05}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *){background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-bg-opacity: .12}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover{background-color:rgb(3 33 40 / var(--tw-bg-opacity));--tw-bg-opacity: .05}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *){background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-bg-opacity: .12}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{--tw-text-opacity: 1;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity));opacity:1}angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title:is(.dark *){--tw-text-opacity: 1;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))}:root{--angor-vertical-navigation-compact-width: 112px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact{width:var(--angor-vertical-navigation-compact-width);min-width:var(--angor-vertical-navigation-compact-width);max-width:var(--angor-vertical-navigation-compact-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-compact-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-compact-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-compact-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper{margin:4px 8px 0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{flex-direction:column;justify-content:center;padding:12px;border-radius:6px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{margin-top:8px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{font-size:12px;font-weight:500;text-align:center;line-height:16px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{display:none!important}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge{position:absolute;top:12px;left:64px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item>angor-vertical-navigation-collapsable-item,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item>angor-vertical-navigation-collapsable-item{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-compact-width)}:root{--angor-vertical-navigation-width: 280px;--angor-vertical-navigation-dense-width: 80px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over){width:var(--angor-vertical-navigation-dense-width);min-width:var(--angor-vertical-navigation-dense-width);max-width:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-dense-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-dense-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-hover .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{width:calc(var(--angor-vertical-navigation-dense-width) - 24px);min-width:calc(var(--angor-vertical-navigation-dense-width) - 24px);max-width:calc(var(--angor-vertical-navigation-dense-width) - 24px)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{transition:opacity .4s cubic-bezier(.25,.8,.25,1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item:first-of-type{margin-top:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{padding:10px 16px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{white-space:nowrap;opacity:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:before{content:"";position:absolute;top:20px;width:23px;border-top-width:2px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper{width:var(--angor-vertical-navigation-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{width:calc(var(--angor-vertical-navigation-width) - 24px);min-width:calc(var(--angor-vertical-navigation-width) - 24px);max-width:calc(var(--angor-vertical-navigation-width) - 24px)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{white-space:nowrap;animation:removeWhiteSpaceNoWrap 1ms linear .35s;animation-fill-mode:forwards}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-width)}@keyframes removeWhiteSpaceNoWrap{0%{white-space:nowrap}99%{white-space:nowrap}to{white-space:normal}}:root{--angor-vertical-navigation-thin-width: 80px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin{width:var(--angor-vertical-navigation-thin-width);min-width:var(--angor-vertical-navigation-thin-width);max-width:var(--angor-vertical-navigation-thin-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-thin-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-thin-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-thin-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item{flex-direction:column;justify-content:center;height:64px;min-height:64px;max-height:64px;padding:0 16px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper{display:flex;align-items:center;justify-content:center}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{justify-content:center;padding:12px;border-radius:4px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge-content,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge-content,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-collapsable-item{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-thin-width)}\n'],encapsulation:2,data:{animation:o.F},changeDetection:0})}}return G})()},9097:(i,a,r)=>{"use strict";r.d(a,{t:()=>s});const s=new(r(4438).nKC)("ANGOR_APP_CONFIG")},881:(i,a,r)=>{"use strict";r.d(a,{P:()=>k});var o=r(9097),s=r(4438),c=r(2401),y=r(4412);let k=(()=>{class S{constructor(){this._defaultConfig=(0,s.WQX)(o.t),this._configSubject=new y.t(this._defaultConfig)}get config$(){return this._configSubject.asObservable()}set config(T){const M=(0,c.A)({},this._configSubject.getValue(),T);this._configSubject.next(M)}reset(){this._configSubject.next(this._defaultConfig)}static{this.\u0275fac=function(M){return new(M||S)}}static{this.\u0275prov=s.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})()},9979:(i,a,r)=>{"use strict";r.d(a,{m:()=>tt});var o=r(177),s=r(4438),c=r(8834),y=r(5351),k=r(9213);const S=(xt,Tt,$t,St,_t,nt,at,et)=>({"bg-primary-100 text-primary-600 dark:bg-primary-600 dark:text-primary-50":xt,"bg-accent-100 text-accent-600 dark:bg-accent-600 dark:text-accent-50":Tt,"bg-warn-100 text-warn-600 dark:bg-warn-600 dark:text-warn-50":$t,"bg-gray-100 text-gray-600 dark:bg-gray-600 dark:text-gray-50":St,"bg-blue-100 text-blue-600 dark:bg-blue-600 dark:text-blue-50":_t,"bg-green-100 text-green-500 dark:bg-green-500 dark:text-green-50":nt,"bg-amber-100 text-amber-500 dark:bg-amber-500 dark:text-amber-50":at,"bg-red-100 text-red-600 dark:bg-red-600 dark:text-red-50":et});function I(xt,Tt){1&xt&&(s.j41(0,"div",1)(1,"button",6),s.nrm(2,"mat-icon",7),s.k0s()()),2&xt&&(s.R7$(),s.Y8G("matDialogClose",void 0),s.R7$(),s.Y8G("svgIcon","heroicons_outline:x-mark"))}function T(xt,Tt){if(1&xt&&(s.j41(0,"div",3),s.nrm(1,"mat-icon",8),s.k0s()),2&xt){const $t=s.XpG();s.Y8G("ngClass",s.lV(2,S,"primary"===$t.data.icon.color,"accent"===$t.data.icon.color,"warn"===$t.data.icon.color,"basic"===$t.data.icon.color,"info"===$t.data.icon.color,"success"===$t.data.icon.color,"warning"===$t.data.icon.color,"error"===$t.data.icon.color)),s.R7$(),s.Y8G("svgIcon",$t.data.icon.name)}}function M(xt,Tt){if(1&xt&&s.nrm(0,"div",9),2&xt){const $t=s.XpG(2);s.Y8G("innerHTML",$t.data.title,s.npT)}}function R(xt,Tt){if(1&xt&&s.nrm(0,"div",10),2&xt){const $t=s.XpG(2);s.Y8G("innerHTML",$t.data.message,s.npT)}}function L(xt,Tt){if(1&xt&&(s.j41(0,"div",4),s.DNE(1,M,1,1,"div",9)(2,R,1,1,"div",10),s.k0s()),2&xt){const $t=s.XpG();s.R7$(),s.vxM($t.data.title?1:-1),s.R7$(),s.vxM($t.data.message?2:-1)}}function J(xt,Tt){if(1&xt&&(s.j41(0,"button",11),s.EFF(1),s.k0s()),2&xt){const $t=s.XpG(2);s.Y8G("matDialogClose","cancelled"),s.R7$(),s.SpI(" ",$t.data.actions.cancel.label," ")}}function W(xt,Tt){if(1&xt&&(s.j41(0,"button",12),s.EFF(1),s.k0s()),2&xt){const $t=s.XpG(2);s.Y8G("color",$t.data.actions.confirm.color)("matDialogClose","confirmed"),s.R7$(),s.SpI(" ",$t.data.actions.confirm.label," ")}}function q(xt,Tt){if(1&xt&&(s.j41(0,"div",5),s.DNE(1,J,2,2,"button",11)(2,W,2,3,"button",12),s.k0s()),2&xt){const $t=s.XpG();s.R7$(),s.vxM($t.data.actions.cancel.show?1:-1),s.R7$(),s.vxM($t.data.actions.confirm.show?2:-1)}}let ct=(()=>{class xt{constructor(){this.data=(0,s.WQX)(y.Vh)}static{this.\u0275fac=function(St){return new(St||xt)}}static{this.\u0275cmp=s.VBU({type:xt,selectors:[["angor-confirmation-dialog"]],standalone:!0,features:[s.aNF],decls:6,vars:4,consts:[[1,"relative","flex","h-full","w-full","flex-col"],[1,"absolute","right-0","top-0","pr-4","pt-4"],[1,"flex","flex-auto","flex-col","items-center","p-8","pb-6","sm:flex-row","sm:items-start","sm:pb-8"],[1,"flex","h-10","w-10","flex-0","items-center","justify-center","rounded-full","sm:mr-4",3,"ngClass"],[1,"mt-4","flex","flex-col","items-center","space-y-1","text-center","sm:mt-0","sm:items-start","sm:pr-8","sm:text-left"],[1,"flex","items-center","justify-center","space-x-3","bg-gray-50","px-6","py-4","dark:bg-black","dark:bg-opacity-10","sm:justify-end"],["mat-icon-button","",3,"matDialogClose"],[1,"text-secondary",3,"svgIcon"],[1,"text-current",3,"svgIcon"],[1,"text-xl","font-medium","leading-6",3,"innerHTML"],[1,"text-secondary",3,"innerHTML"],["mat-stroked-button","",3,"matDialogClose"],["mat-flat-button","",3,"color","matDialogClose"]],template:function(St,_t){1&St&&(s.j41(0,"div",0),s.DNE(1,I,3,2,"div",1),s.j41(2,"div",2),s.DNE(3,T,2,11,"div",3)(4,L,3,2,"div",4),s.k0s(),s.DNE(5,q,3,2,"div",5),s.k0s()),2&St&&(s.R7$(),s.vxM(_t.data.dismissible?1:-1),s.R7$(2),s.vxM(_t.data.icon.show?3:-1),s.R7$(),s.vxM(_t.data.title||_t.data.message?4:-1),s.R7$(),s.vxM(_t.data.actions.confirm.show||_t.data.actions.cancel.show?5:-1))},dependencies:[c.Hl,c.$z,c.iY,y.hM,y.tx,k.m_,k.An,o.YU],styles:["@media (min-width: 960px){.angor-confirmation-dialog-panel{width:32rem}}.angor-confirmation-dialog-panel .mat-mdc-dialog-container .mat-mdc-dialog-surface{padding:0!important}\n"],encapsulation:2})}}return xt})();var ht=r(2401);let tt=(()=>{class xt{constructor(){this._matDialog=(0,s.WQX)(y.bZ),this._defaultConfig={title:"Confirm action",message:"Are you sure you want to confirm this action?",icon:{show:!0,name:"heroicons_outline:exclamation-triangle",color:"warn"},actions:{confirm:{show:!0,label:"Confirm",color:"warn"},cancel:{show:!0,label:"Cancel"}},dismissible:!1}}open($t={}){const St=(0,ht.A)({},this._defaultConfig,$t);return this._matDialog.open(ct,{autoFocus:!1,disableClose:!St.dismissible,data:St,panelClass:"angor-confirmation-dialog-panel"})}static{this.\u0275fac=function(St){return new(St||xt)}}static{this.\u0275prov=s.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}}return xt})()},4977:(i,a,r)=>{"use strict";r.d(a,{l:()=>T});var o=r(881),s=r(9327),c=r(4438),y=r(7680),k=r(2771),S=r(6354),I=r(5558);let T=(()=>{class M{constructor(){this._breakpointObserver=(0,c.WQX)(s.QP),this._angorConfigService=(0,c.WQX)(o.P),this._onMediaChange=new k.m(1),this._angorConfigService.config$.pipe((0,S.T)(L=>(0,y.A)(Object.entries(L.screens).map(([J,W])=>[J,`(min-width: ${W})`]))),(0,I.n)(L=>this._breakpointObserver.observe(Object.values(L)).pipe((0,S.T)(J=>{const W=[],q={},ct=Object.entries(J.breakpoints).filter(([ht,tt])=>tt)??[];for(const[ht]of ct){const tt=Object.entries(L).find(([xt,Tt])=>Tt===ht)[0];tt&&(W.push(tt),q[tt]=ht)}this._onMediaChange.next({matchingAliases:W,matchingQueries:q})})))).subscribe()}get onMediaChange$(){return this._onMediaChange.asObservable()}onMediaQueryChange$(L){return this._breakpointObserver.observe(L)}static{this.\u0275fac=function(J){return new(J||M)}}static{this.\u0275prov=c.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},7209:(i,a,r)=>{"use strict";r.d(a,{Q:()=>s});var o=r(4438);let s=(()=>{class c{get exactMatchOptions(){return{paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"}}get subsetMatchOptions(){return{paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"}}randomId(k=10){let I="";for(let T=0;T<10;T++)I+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return I}static{this.\u0275fac=function(S){return new(S||c)}}static{this.\u0275prov=o.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})()},2332:(i,a,r)=>{"use strict";r.d(a,{v:()=>y});var o=r(6616),s=r(1413),c=r(4438);let y=(()=>{class k{constructor(){this.publicKeySubject=new s.B,this.previousPublicKey=null,this.initializeNostrLogin(),this.setupEventListeners()}initializeNostrLogin(){(0,o.Ts)({theme:"ocean",noBanner:!0,title:"Angor Hub",onAuth:(I,T)=>{this.handleAuthSuccess(I,T)}})}setupEventListeners(){document.addEventListener("nlAuth",this.handleNlAuthEvent.bind(this)),document.addEventListener("nlLogout",this.handleNlLogoutEvent.bind(this)),document.addEventListener("nlDarkMode",this.handleNlDarkModeEvent.bind(this)),document.addEventListener("nlLaunch",this.handleNlLaunchEvent.bind(this))}handleNlLogoutEvent(){console.log("Logout event detected"),this.handleLogout()}handleNlAuthEvent(I){const{type:T,pubkey:M,options:R}=I.detail;switch(T){case"login":console.log("User logged in:",M),this.handleAuthSuccess(M,R);break;case"signup":console.log("User signed up:",M),this.handleSignupSuccess(M,R);break;case"logout":console.log("User logged out"),this.handleLogout();break;case"switch-account":console.log("User switched account:",M),this.handleAccountSwitch(M,R);break;default:console.warn("Unknown nlAuth event type:",T)}this.previousPublicKey&&this.previousPublicKey!==M&&(console.log("Account switched to:",M),this.handleAccountSwitch(M,R)),this.previousPublicKey=M}handleAuthSuccess(I,T){console.log("Authenticated successfully with public key:",I),this.publicKeySubject.next(I)}handleSignupSuccess(I,T){console.log("Signup successful with public key:",I),this.publicKeySubject.next(I)}handleAccountSwitch(I,T){console.log("Account switched to:",I),this.publicKeySubject.next(I),window.location.reload()}handleLogout(){console.log("Logged out"),this.publicKeySubject.next("")}handleNlDarkModeEvent(I){const T=I.detail;console.log("Dark mode changed to:",T?"enabled":"disabled"),this.updateDarkMode(T)}handleNlLaunchEvent(I){const T=I.detail||"welcome";console.log(`Launching Nostr login screen: ${T}`),this.launchScreen(T)}launchScreen(I){(0,o.ql)(I)}updateDarkMode(I){document.body.classList.toggle("dark-mode",I),console.log("Dark mode is now "+(I?"enabled":"disabled"))}getPublicKeyObservable(){return this.publicKeySubject.asObservable()}launchWelcomeScreen(){(0,o.ql)("welcome")}launchSignupScreen(){(0,o.ql)("welcome-signup")}launchLoginScreen(){(0,o.ql)("welcome-login")}switchAccount(){document.dispatchEvent(new CustomEvent("nlLaunch",{detail:"switch-account"}))}logout(){document.dispatchEvent(new Event("nlLogout"))}toggleDarkMode(I){document.dispatchEvent(new CustomEvent("nlDarkMode",{detail:I}))}static{this.\u0275fac=function(T){return new(T||k)}}static{this.\u0275prov=c.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},6231:(i,a,r)=>{"use strict";r.d(a,{b:()=>k});var o=r(467),s=r(719),c=r(4412),y=r(4438);let k=(()=>{class S{constructor(){this.pool=new s.lo,this.relays=[],this.maxRetries=10,this.retryDelay=15e3,this.eventSubject=new c.t(null),this.relaysSubject=new c.t([]),this.relays=this.loadRelaysFromLocalStorage(),this.connectToRelays(),this.setupVisibilityHandling(),this.relaysSubject.next(this.relays)}loadRelaysFromLocalStorage(){const T=JSON.parse(localStorage.getItem("nostrRelays")||"[]");return T.length>0?T.map(R=>({...R,connected:!1,retries:0,retryTimeout:null,ws:void 0})):[{url:"wss://relay.primal.net",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"},{url:"wss://relay.damus.io",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"},{url:"wss://relay.angor.io",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"},{url:"wss://relay2.angor.io",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"}]}saveRelaysToLocalStorage(){const T=this.relays.map(({url:M,accessType:R,connected:L,retries:J,retryTimeout:W})=>({url:M,accessType:R,connected:L,retries:J,retryTimeout:W}));localStorage.setItem("nostrRelays",JSON.stringify(T)),this.relaysSubject.next(this.relays)}connectToRelay(T){T.connected||(T.ws=new WebSocket(T.url),T.ws.onopen=()=>{T.connected=!0,T.retries=0,clearTimeout(T.retryTimeout),this.saveRelaysToLocalStorage()},T.ws.onerror=()=>this.handleRelayError(T),T.ws.onclose=()=>{T.connected=!1,this.handleRelayError(T)},T.ws.onmessage=({data:M})=>{try{const R=JSON.parse("string"==typeof M?M:M.toString("utf-8"));this.eventSubject.next(R)}catch(R){console.error("Error parsing WebSocket message:",R)}})}handleRelayError(T){T.retries>=this.maxRetries?console.error(`Max retries reached for relay: ${T.url}. No further attempts will be made.`):(T.retries++,T.retryTimeout=setTimeout(()=>this.connectToRelay(T),this.retryDelay*T.retries))}connectToRelays(){this.relays.forEach(T=>!T.connected&&this.connectToRelay(T))}ensureConnectedRelays(){var T=this;return(0,o.A)(function*(){return T.connectToRelays(),new Promise(M=>{const R=()=>{T.getConnectedRelays().length>0?M():setTimeout(R,1e3)};R()})})()}setupVisibilityHandling(){document.addEventListener("visibilitychange",()=>{"visible"===document.visibilityState&&this.connectToRelays()}),window.addEventListener("beforeunload",()=>{this.relays.forEach(T=>T.ws?.close())})}getConnectedRelays(){return this.relays.filter(T=>T.connected).map(T=>T.url)}getRelays(){return this.relaysSubject.asObservable()}publishEventToWriteRelays(T){var M=this;return(0,o.A)(function*(){const R=M.relays.filter(L=>["write","read-write"].includes(L.accessType)&&L.connected);if(!R.length)throw new Error("No connected write relays available");try{return yield Promise.any(R.map(L=>M.pool.publish([L.url],T))),M.eventSubject.next(T),T}catch(L){throw console.error("Failed to publish event to relays:",L),L}})()}addRelay(T,M="read-write"){if(!this.relays.some(R=>R.url===T)){const R={url:T,connected:!1,retries:0,retryTimeout:null,accessType:M};this.relays.push(R),this.connectToRelay(R),this.saveRelaysToLocalStorage()}}removeRelay(T){this.relays=this.relays.filter(M=>M.url!==T),this.saveRelaysToLocalStorage()}removeAllCustomRelays(){const T=["wss://relay.angor.io","wss://relay2.angor.io"];this.relays=this.relays.filter(M=>T.includes(M.url)),this.saveRelaysToLocalStorage()}updateRelayAccessType(T,M){const R=this.relays.find(L=>L.url===T);R&&(R.accessType=M,this.saveRelaysToLocalStorage())}getPool(){return this.pool}getEventStream(){return this.eventSubject.asObservable()}static{this.\u0275fac=function(M){return new(M||S)}}static{this.\u0275prov=y.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})()},4930:(i,a,r)=>{"use strict";r.d(a,{A:()=>_t});var o=r(467),s=r(5766),c=r(7292),y=r(3838),k=r(719),T=(r(6391),r(5693),r(9673)),M=r(9608),tt=r(4438),xt=r(3813);let Tt=(()=>{class nt{constructor(){this.encoder=new TextEncoder,this.decoder=new TextDecoder}getPasswordKey(et){var bt=this;return(0,o.A)(function*(){return window.crypto.subtle.importKey("raw",bt.encoder.encode(et),"PBKDF2",!1,["deriveKey"])})()}deriveKey(et,bt,Et){return(0,o.A)(function*(){return window.crypto.subtle.deriveKey({name:"PBKDF2",salt:bt,iterations:25e4,hash:"SHA-256"},et,{name:"AES-GCM",length:256},!1,Et)})()}encryptData(et,bt){var Et=this;return(0,o.A)(function*(){try{const jt=window.crypto.getRandomValues(new Uint8Array(16)),Gt=window.crypto.getRandomValues(new Uint8Array(12)),ie=yield Et.getPasswordKey(bt),Xe=yield Et.deriveKey(ie,jt,["encrypt"]),Er=new Uint8Array(yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:Gt},Xe,Et.encoder.encode(et))),gr=new Uint8Array(jt.length+Gt.length+Er.length);return gr.set(jt,0),gr.set(Gt,jt.length),gr.set(Er,jt.length+Gt.length),xt.K3.encode(gr)}catch(jt){throw console.error("Encryption failed:",jt),new Error("Failed to encrypt data.")}})()}decryptData(et,bt){var Et=this;return(0,o.A)(function*(){try{const jt=xt.K3.decode(et),Gt=jt.slice(0,16),ie=jt.slice(16,28),Xe=jt.slice(28),Er=yield Et.getPasswordKey(bt),gr=yield Et.deriveKey(Er,Gt,["decrypt"]),vr=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:ie},gr,Xe);return Et.decoder.decode(vr)}catch(jt){throw console.error("Decryption failed:",jt),new Error("Failed to decrypt data.")}})()}static{this.\u0275fac=function(bt){return new(bt||nt)}}static{this.\u0275prov=tt.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();var $t=r(5351),St=r(2332);let _t=(()=>{class nt{constructor(et,bt,Et){this.securityService=et,this.dialog=bt,this._nostrLoginService=Et,this.localStorageSecretKeyName="secretKey",this.localStoragePublicKeyName="publicKey",this.localStorageNpubName="npub",this.localStorageNsecName="nsec",this.storageKey="userPassword"}savePassword(et,bt){const Et=Date.now()+60*bt*1e3;sessionStorage.setItem(this.storageKey,JSON.stringify({password:et,expirationTime:Et}))}getPassword(){const et=sessionStorage.getItem(this.storageKey);if(!et)return null;const{password:bt,expirationTime:Et}=JSON.parse(et);return Date.now()>Et?(this.clearPassword(),null):bt}clearPassword(){sessionStorage.removeItem(this.storageKey)}changePassword(et,bt,Et){var jt=this;return(0,o.A)(function*(){try{const Gt=yield jt.getSecretKey(et);if(!Gt)throw new Error("Incorrect current password.");yield jt.setSecretKey(Gt,bt);const ie=yield jt.getNsec(et);return ie&&(yield jt.setNsec(ie,bt)),jt.clearPassword(),Et&&jt.savePassword(bt,60),!0}catch(Gt){return console.error("Failed to change password: ",Gt),!1}})()}getUsername(et){return et.startsWith("npub")&&(et=k.Qe.decode(et).data.toString()),`@${localStorage.getItem(`${et}`)||k.Qe.npubEncode(et)}`}npub(){let et=this.getPublicKey();return k.Qe.npubEncode(et)}requestPassword(){var et=this;return(0,o.A)(function*(){return et.dialog.open(c.b,{width:"300px",disableClose:!0}).afterClosed().toPromise()})()}nsec(et){var bt=this;return(0,o.A)(function*(){if(bt.usingSecretKey()){let Et=yield bt.getSecretKey(et);const jt=Uint8Array.from(y.hp.from(Et,"hex"));return k.Qe.nsecEncode(jt)}return""})()}pubkey(et){return k.Qe.decode(et).data.toString()}setPublicKey(et){const bt=k.Qe.npubEncode(et);window.localStorage.setItem(this.localStoragePublicKeyName,et),window.localStorage.setItem(this.localStorageNpubName,bt)}getPublicKey(){const et=localStorage.getItem("__nostrlogin_nip46");if(et)try{return JSON.parse(et).pubkey||""}catch(bt){console.error("Error parsing nostr login data:",bt)}return localStorage.getItem(this.localStoragePublicKeyName)||""}setNpub(et){localStorage.setItem(this.localStorageNpubName,et)}getNpub(){return window.localStorage.getItem(this.localStorageNpubName)||""}setSecretKey(et,bt=""){var Et=this;return(0,o.A)(function*(){if(""===bt)localStorage.setItem(Et.localStorageSecretKeyName,et),localStorage.setItem("usePassword","false");else{const jt=yield Et.securityService.encryptData(et,bt);localStorage.setItem(Et.localStorageSecretKeyName,jt),localStorage.setItem("usePassword","true")}})()}getSecretKey(et=""){var bt=this;return(0,o.A)(function*(){const Et=localStorage.getItem(bt.localStorageSecretKeyName),jt="true"===localStorage.getItem("usePassword");return Et?jt?yield bt.securityService.decryptData(Et,et):Et:null})()}getDecryptedSecretKey(){var et=this;return(0,o.A)(function*(){try{if("true"!==localStorage.getItem("usePassword"))return et.getSecretKey();const Et=et.getPassword();if(Et)return yield et.getSecretKey(Et);const jt=yield et.requestPassword();if(jt?.password){const Gt=yield et.getSecretKey(jt.password);return 0!==jt.duration&&et.savePassword(jt.password,jt.duration),Gt}return console.error("Password not provided"),null}catch(bt){return console.error("Error decrypting private key:",bt),null}})()}setNsec(et,bt=""){var Et=this;return(0,o.A)(function*(){if(""===bt)localStorage.setItem(Et.localStorageNsecName,et),localStorage.setItem("usePassword","false");else{const jt=yield Et.securityService.encryptData(et,bt);localStorage.setItem(Et.localStorageNsecName,jt),localStorage.setItem("usePassword","true")}})()}getNsec(et=""){var bt=this;return(0,o.A)(function*(){const Et=localStorage.getItem(bt.localStorageNsecName),jt="true"===localStorage.getItem("usePassword");return Et?jt?yield bt.securityService.decryptData(Et,et):Et:null})()}setPublicKeyFromExtension(et){this.setPublicKey(et)}handleLoginWithKey(et,bt=""){let Et,jt,Gt,ie;try{if(et.startsWith(this.localStorageNsecName)){const Er=k.Qe.decode(et);if(Er.type!==this.localStorageNsecName)throw new Error("Invalid nsec key.");Et=y.hp.from(Er.data).toString("hex")}else{if(!/^[0-9a-fA-F]{64}$/.test(et))throw new Error("Invalid key format. Must be either nsec or hex.");Et=et}const Xe=new Uint8Array(y.hp.from(Et,"hex"));return jt=(0,k.lG)(Xe),ie=k.Qe.npubEncode(jt),Gt=k.Qe.nsecEncode(Xe),this.setSecretKey(Et,bt),this.setNsec(ie,bt),this.setPublicKey(jt),this.setNpub(ie),!0}catch(Xe){return console.error("Error during key handling: ",Xe),!1}}handleLoginWithMnemonic(et,bt="",Et=""){try{const Gt=function L(nt,at,et=0){let Et=M.c.fromMasterSeed((0,T.kw)(nt,at)).derive(`m/44'/1237'/${et}'/0/0`).privateKey;if(!Et)throw new Error("could not derive private key");return Et}(et,bt,0),ie=(0,s.My)(Gt),Xe=(0,k.lG)(Gt),Er=k.Qe.npubEncode(Xe),gr=k.Qe.nsecEncode(Gt);return this.setSecretKey(ie,Et),this.setNsec(gr,Et),this.setPublicKey(Xe),this.setNpub(Er),window.localStorage.setItem(this.localStorageNsecName,gr),!0}catch(jt){return console.error("Error during login with mnemonic:",jt),!1}}logout(){window.localStorage.removeItem(this.localStorageSecretKeyName),window.localStorage.removeItem(this.localStoragePublicKeyName),window.localStorage.removeItem(this.localStorageNpubName),window.localStorage.removeItem(this.localStorageNsecName),this._nostrLoginService.logout()}usingNostrBrowserExtension(){return!this.usingSecretKey()&&!!globalThis.nostr}usingSecretKey(){return!!localStorage.getItem(this.localStorageSecretKeyName)}generateAndStoreKeys(et=""){try{const bt=(0,k.Bq)(),Et=y.hp.from(bt).toString("hex"),jt=(0,k.lG)(bt),Gt=k.Qe.npubEncode(jt),ie=k.Qe.nsecEncode(bt);return this.setSecretKey(Et,et),this.setNsec(ie,et),this.setPublicKey(jt),this.setNpub(Gt),{secretKey:Et,pubkey:jt,npub:Gt,nsec:ie}}catch(bt){return console.error("Error during key generation:",bt),null}}handleLoginWithExtension(){var et=this;return(0,o.A)(function*(){const bt=globalThis;if(!bt.nostr)return!1;try{const Et=yield bt.nostr.getPublicKey();if(!Et)throw new Error("Public key not available from Nostr extension.");return et.setPublicKeyFromExtension(Et),!0}catch(Et){return console.error("Failed to connect to Nostr extension:",Et),!1}})()}encryptMessage(et,bt,Et){return(0,o.A)(function*(){console.log(Et);try{return yield k.sh.encrypt(et,bt,Et)}catch(jt){throw console.error("Error encrypting message:",jt),jt}})()}encryptMessageWithExtension(et,bt){return(0,o.A)(function*(){return yield globalThis.nostr.nip04.encrypt(bt,et)})()}decryptMessageWithExtension(et,bt){return(0,o.A)(function*(){const Et=globalThis;if(Et.nostr&&"function"==typeof Et.nostr.nip04?.decrypt)try{return yield Et.nostr.nip04.decrypt(et,bt)}catch(jt){return console.error("Decryption failed:",jt),"*Failed to decrypt content: "+jt.message+"*"}return console.warn("Nostr extension or decrypt method is unavailable"),"Attempted Nostr Window decryption and failed."})()}decryptMessage(et,bt,Et){return(0,o.A)(function*(){try{if(!et||!bt||!Et)throw new Error("Private key, public key, or encrypted message is missing or undefined.");const jt=yield k.sh.decrypt(et,bt,Et);if(!jt)throw new Error("Decryption returned an empty message.");return jt}catch(jt){throw jt}})()}getUnsignedEvent(et,bt,Et){return{kind:et,pubkey:this.getPublicKey(),tags:bt,content:Et,created_at:Math.floor(Date.now()/1e3)}}getSignedEvent(et,bt){const Et=(0,s.aT)(bt);return(0,k.pC)(et,Et)}getMuteList(){return(localStorage.getItem("muteList")||"").split(",")}setMuteListFromTags(et){let bt=[];et.forEach(Et=>{bt.push(Et[1])}),this.setMuteList(bt)}setMuteList(et){if(0===et.length)localStorage.setItem("muteList","");else{let bt=Array.from(new Set(et));localStorage.setItem("muteList",bt.filter(Et=>Et).join(","))}}signEventWithExtension(et){return(0,o.A)(function*(){const bt=globalThis;if(bt.nostr)return yield bt.nostr.signEvent(et);throw new Error("Tried to sign event with extension but failed")})()}signDMWithExtension(et,bt){return(0,o.A)(function*(){const Et=globalThis;if(Et.nostr&&Et.nostr.nip04?.encrypt)return yield Et.nostr.nip04.encrypt(et,bt);throw new Error("Failed to Sign with extension")})()}isUsingExtension(){var et=this;return(0,o.A)(function*(){const bt=globalThis;if(bt.nostr&&bt.nostr.getPublicKey)try{return!localStorage.getItem(et.localStorageSecretKeyName)}catch(Et){return console.error("Failed to check Nostr extension:",Et),!1}return!1})()}isUsingSecretKey(){return!!localStorage.getItem(this.localStorageSecretKeyName)}getNpubFromPubkey(et){try{return k.Qe.npubEncode(et)}catch(bt){return console.error("Error converting hex to npub:",bt),""}}getNsecFromSeckey(et){try{const bt=Uint8Array.from(y.hp.from(et,"hex"));return k.Qe.nsecEncode(bt)}catch(bt){return console.error("Error converting hex to nsec:",bt),""}}static{this.\u0275fac=function(bt){return new(bt||nt)(tt.KVO(Tt),tt.KVO($t.bZ),tt.KVO(St.v))}}static{this.\u0275prov=tt.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})()},2083:(i,a,r)=>{"use strict";r.d(a,{d:()=>S});var o=r(467),s=r(8418),c=r(4438),y=r(5645),k=r(7291);let S=(()=>{class I{constructor(M,R){this.subscriptionService=M,this.storageService=R,this.isProfileLoaded=!1}loadUserProfile(M){var R=this;return(0,o.A)(function*(){console.log(`Loading user profile for pubkey: ${M}`),R.isProfileLoaded?console.log("Profile already loaded, skipping."):(yield R.subscribeToUserProfile(M),yield R.subscribeToUserContacts(M),yield R.subscribeToUserChats(M),yield R.subscribeToUserPosts(M),R.isProfileLoaded=!0)})()}subscribeToUserProfile(M){var R=this;return(0,o.A)(function*(){console.log(`Subscribing to user profile for pubkey: ${M}`);const L=yield R.storageService.getLastUpdateDate("users"),J={kinds:[0],authors:[M],limit:1};L&&(J.since=parseInt(L,10)),R.subscriptionService.addSubscriptions([J],W=>{const q=R.parseMetadataEvent(W);R.storageService.saveProfile(M,q)})})()}subscribeToUserContacts(M){var R=this;return(0,o.A)(function*(){console.log(`Subscribing to contacts for pubkey: ${M}`);const L=yield R.storageService.getLastUpdateDate("contacts"),J=[{kinds:[s.In],authors:[M]},{kinds:[s.In],"#p":[M]}];if(L){const W=parseInt(L,10);J.forEach(q=>q.since=W)}R.subscriptionService.addSubscriptions(J,W=>{R.storageService.saveContacts(M,[{id:W.id,pubkey:W.pubkey,created_at:W.created_at,tags:W.tags,isFollower:W.pubkey===M}])})})()}subscribeToUserChats(M){var R=this;return(0,o.A)(function*(){console.log(`Subscribing to chats for pubkey: ${M}`);const L=yield R.storageService.getLastUpdateDate("chats"),J=[{kinds:[s.rV],authors:[M],limit:300},{kinds:[s.rV],"#p":[M],limit:300}];if(L){const W=parseInt(L,10);J.forEach(q=>q.since=W)}else R.storageService.removeAllChats();R.subscriptionService.addSubscriptions(J,W=>{const q=R.parseChatEvent(W);R.storageService.saveChatEvent(q)})})()}subscribeToUserPosts(M){var R=this;return(0,o.A)(function*(){console.log(`Subscribing to posts (event type 1) for pubkey: ${M}`);const L=yield R.storageService.getLastUpdateDate("posts"),J={kinds:[1],authors:[M],limit:100};L&&(J.since=parseInt(L,10)),R.subscriptionService.addSubscriptions([J],W=>{R.storageService.savePostForPubKey(W)})})()}parseMetadataEvent(M){try{return JSON.parse(M.content)}catch(R){return console.error("Error parsing metadata event:",R),null}}parseChatEvent(M){try{const R=M.content.split("?iv=");return{id:M.id,kind:M.kind,pubkey:M.pubkey,created_at:M.created_at,tags:M.tags,content:R[0],iv:R[1],IsRead:!1}}catch(R){return console.error("Error parsing chat event:",R),null}}static{this.\u0275fac=function(R){return new(R||I)(c.KVO(y.n),c.KVO(k.n))}}static{this.\u0275prov=c.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},7291:(i,a,r)=>{"use strict";r.d(a,{n:()=>S});var o=r(467),s=r(119),c=r.n(s),y=r(4412),k=r(4438);let S=(()=>{class I{constructor(){this.profileSubject=new y.t(null),this.projectsSubject=new y.t([]),this.projectStatsSubject=new y.t({}),this.chatEventsSubject=new y.t([]),this.unreadChatCountSubject=new y.t(0),this.contactsSubject=new y.t({pubKey:"",contacts:[]}),this.postsSubject=new y.t(null),this.myLikesSubject=new y.t([]),this.notificationsSubject=new y.t([]),this.contactStatsSubject=new y.t({totalContacts:0,followersCount:0,followingCount:0}),this.contactStatsMap={},this.profileStore=this.createStore("profiles"),this.updateHistoryStore=this.createStore("updateHistory"),this.contactsStore=this.createStore("contacts"),this.chatsStore=this.createStore("chats"),this.postsStore=this.createStore("posts"),this.myLikesStore=this.createStore("myLikes"),this.notificationsStore=this.createStore("notifications"),this.projectsStore=this.createStore("projects"),this.projectStatsStore=this.createStore("projectStats"),this.loadAllProjectsFromDB(),this.loadAllProjectStatsFromDB(),this.loadAllContactsFromDB(),this.loadAllChatEventsFromDB(),this.loadAllPostsFromDB(),this.loadAllMyLikesFromDB(),this.loadAllNotificationsFromDB(),this.loadContactStatsFromDB(),this.calculateAndStoreAllContactStats()}createStore(M){return c().createInstance({driver:c().INDEXEDDB,name:"angor-hub",version:1,storeName:M})}get profile$(){return this.profileSubject.asObservable()}get projects$(){return this.projectsSubject.asObservable()}get projectStats$(){return this.projectStatsSubject.asObservable()}get chatEvents$(){return this.chatEventsSubject.asObservable()}get unreadChatCount$(){return this.unreadChatCountSubject.asObservable()}get contacts$(){return this.contactsSubject.asObservable()}get posts$(){return this.postsSubject.asObservable()}get contactStats$(){return this.contactStatsSubject.asObservable()}get myLikes$(){return this.myLikesSubject.asObservable()}get notifications$(){return this.notificationsSubject.asObservable()}saveContacts(M,R){var L=this;return(0,o.A)(function*(){try{const J=[];for(const W of R){const q=`${M}:${W.id}`;yield L.contactsStore.setItem(q,W),J.push(W)}L.contactsSubject.next({pubKey:M,contacts:J}),yield L.calculateAndStoreAllContactStats(),yield L.setUpdateHistory("contacts")}catch(J){console.error("Error saving contacts:",J)}})()}calculateAndStoreAllContactStats(){var M=this;return(0,o.A)(function*(){try{const R={};yield M.contactsStore.iterate((L,J)=>{const[W]=J.split(":");R[W]||(R[W]={totalContacts:0,followersCount:0,followingCount:0}),R[W].totalContacts++,L.isFollower?R[W].followersCount++:R[W].followingCount++});for(const L in R)M.contactStatsMap[L]||(M.contactStatsMap[L]=new y.t({pubKey:L,totalContacts:0,followersCount:0,followingCount:0})),M.contactStatsMap[L].next({pubKey:L,totalContacts:R[L].totalContacts,followersCount:R[L].followersCount,followingCount:R[L].followingCount})}catch(R){console.error("Error calculating and storing contact stats:",R)}})()}getContactStats$(M){return this.contactStatsMap[M]||(this.contactStatsMap[M]=new y.t({pubKey:M,totalContacts:0,followersCount:0,followingCount:0}),this.calculateAndStoreAllContactStats()),this.contactStatsMap[M].asObservable()}getAllContactsPaginated(M,R,L){var J=this;return(0,o.A)(function*(){try{const W=[];yield J.contactsStore.iterate((tt,xt)=>{const[Tt]=xt.split(":");Tt===M&&W.push(tt)});const q=W.length,ct=(R-1)*L;return{contacts:W.slice(ct,ct+L),totalCount:q}}catch(W){return console.error("Error retrieving paginated contacts for pubKey:",W),{contacts:[],totalCount:0}}})()}getAllContacts(M=""){var R=this;return(0,o.A)(function*(){try{const L=[];return yield R.contactsStore.iterate((J,W)=>{const[q,ct]=W.split(":");(""===M||q===M)&&L.push({pubKey:q,contact:J})}),L}catch(L){return console.error("Error retrieving contacts:",L),[]}})()}getContactStats(M){var R=this;return(0,o.A)(function*(){try{let L=0,J=0,W=0;return yield R.contactsStore.iterate((q,ct)=>{const[ht,tt]=ct.split(":");ht===M&&(L++,q.isFollower?J++:W++)}),{totalContacts:L,followersCount:J,followingCount:W}}catch(L){return console.error("Error retrieving contact stats for pubKey:",L),{totalContacts:0,followersCount:0,followingCount:0}}})()}removeAllContacts(M){var R=this;return(0,o.A)(function*(){try{const L=[];yield R.contactsStore.iterate((J,W)=>{const[q]=W.split(":");q===M&&L.push(W)});for(const J of L)yield R.contactsStore.removeItem(J);yield R.contactsStore.clear(),R.contactStatsSubject.next({totalContacts:0,followersCount:0,followingCount:0}),R.contactsSubject.next({pubKey:M,contacts:[]}),yield R.setUpdateHistory("contacts")}catch(L){console.error("Error removing all contacts for pubKey:",L)}})()}saveProfile(M,R){var L=this;return(0,o.A)(function*(){try{if(!M||!R)return void console.error("Invalid pubKey or metadata:",M,R);R.pubKey=M,yield L.profileStore.setItem(M,R),L.profileSubject.next({pubKey:M,metadata:R}),yield L.setUpdateHistory("profiles")}catch(J){console.error("Error saving profile",J)}})()}getProfile(M){var R=this;return(0,o.A)(function*(){try{return(yield R.profileStore.getItem(M))||null}catch(L){return console.error("Error retrieving profile metadata:",L),null}})()}getAllProfiles(){var M=this;return(0,o.A)(function*(){try{const R=[];return yield M.profileStore.iterate(L=>{R.push(L)}),R}catch(R){return console.error("Error retrieving all Profile:",R),[]}})()}searchProfile(M){var R=this;return(0,o.A)(function*(){try{const L=[],J=M.toLowerCase();return yield R.profileStore.iterate((W,q)=>{JSON.stringify(W).toLowerCase().includes(J)&&L.push({pubKey:q,profile:W})}),L}catch(L){return console.error("Error searching profiles by metadata:",L),[]}})()}getLastUpdateDate(M){var R=this;return(0,o.A)(function*(){try{return(yield R.updateHistoryStore.getItem(M))||null}catch(L){return console.error("Error retrieving last update date:",L),null}})()}saveProject(M){var R=this;return(0,o.A)(function*(){try{yield R.projectsStore.setItem(M.projectIdentifier,M);const L=yield R.getAllProjects();R.projectsSubject.next(L),yield R.setUpdateHistory("projects")}catch(L){console.error("Error saving project:",L)}})()}getProjectsByIds(M){var R=this;return(0,o.A)(function*(){if(!M||0===M.length)return[];const L=[];for(const J of M){const W=yield R.projectsStore.getItem(J);W&&L.push(W)}return L})()}getAllProjects(){var M=this;return(0,o.A)(function*(){try{const R=[];return yield M.projectsStore.iterate(L=>{R.push(L)}),R}catch(R){return console.error("Error retrieving all projects:",R),[]}})()}getProjectStats(M){var R=this;return(0,o.A)(function*(){try{return(yield R.projectStatsStore.getItem(M))||null}catch(L){return console.error("Error retrieving project stats:",L),null}})()}saveProjectStats(M,R){var L=this;return(0,o.A)(function*(){try{yield L.projectStatsStore.setItem(M,R);const J=yield L.getAllProjectStats();L.projectStatsSubject.next(J),yield L.setUpdateHistory("projectStats")}catch(J){console.error("Error saving project stats:",J)}})()}getAllProjectStats(){var M=this;return(0,o.A)(function*(){try{const R={};return yield M.projectStatsStore.iterate((L,J)=>{R[J]=L}),R}catch(R){return console.error("Error retrieving all project stats:",R),{}}})()}savePostForPubKey(M){var R=this;return(0,o.A)(function*(){try{yield R.postsStore.setItem(M.id,M),yield R.setUpdateHistory("posts"),R.postsSubject.next(M)}catch(L){console.error("Error saving event type 1 and sending it to clients:",L)}})()}getPostsByPubKey(M){var R=this;return(0,o.A)(function*(){try{const L=[];return yield R.postsStore.iterate(J=>{J.pubkey===M&&1===J.kind&&L.push(J)}),L}catch(L){return console.error("Error retrieving events for pubKey:",L),[]}})()}getAllPostsForAllPubKeys(){var M=this;return(0,o.A)(function*(){try{const R=[];return yield M.postsStore.iterate(L=>{R.push(L)}),R}catch(R){return console.error("Error retrieving all events:",R),[]}})()}saveLike(M){var R=this;return(0,o.A)(function*(){try{yield R.myLikesStore.setItem(M.id,M);const L=yield R.getAllMyLikes();R.myLikesSubject.next(L),yield R.setUpdateHistory("myLikes")}catch(L){console.error("Error saving like:",L)}})()}getAllMyLikes(){var M=this;return(0,o.A)(function*(){try{const R=[];return yield M.myLikesStore.iterate(L=>{R.push(L)}),R}catch(R){return console.error("Error retrieving all likes:",R),[]}})()}saveNotification(M){var R=this;return(0,o.A)(function*(){try{yield R.notificationsStore.setItem(M.id,M);const L=yield R.getAllNotifications();R.notificationsSubject.next(L),yield R.setUpdateHistory("notifications")}catch(L){console.error("Error saving notification:",L)}})()}getAllNotifications(){var M=this;return(0,o.A)(function*(){try{const R=[];return yield M.notificationsStore.iterate(L=>{R.push(L)}),R}catch(R){return console.error("Error retrieving all notifications:",R),[]}})()}saveChatEvent(M){var R=this;return(0,o.A)(function*(){try{yield R.chatsStore.setItem(M.id,M),yield R.setUpdateHistory("chats");const L=yield R.getAllChatEvents();R.chatEventsSubject.next(L),R.updateUnreadChatCount(L)}catch(L){console.error("Error saving chat event:",L)}})()}getAllChatEvents(){var M=this;return(0,o.A)(function*(){try{const R=[];return yield M.chatsStore.iterate(L=>{R.push(L)}),R}catch(R){return console.error("Error retrieving all chat events:",R),[]}})()}getChatEventsByPubKey(M){var R=this;return(0,o.A)(function*(){try{const L=[];return yield R.chatsStore.iterate(J=>{const W=R.getReceiverPubKeyFromTags(J.tags);(J.pubkey===M||W===M)&&L.push(J)}),L}catch(L){return console.error("Error retrieving chat events by pubkey:",L),[]}})()}updateChatEventReadStatus(M,R){var L=this;return(0,o.A)(function*(){try{const J=yield L.chatsStore.getItem(M);if(J){J.IsRead=R,yield L.chatsStore.setItem(M,J);const W=yield L.getAllChatEvents();L.chatEventsSubject.next(W),L.updateUnreadChatCount(W)}}catch(J){console.error("Error updating chat event read status:",J)}})()}markAllChatEventsAsRead(M){var R=this;return(0,o.A)(function*(){try{yield R.chatsStore.iterate(function(){var J=(0,o.A)(function*(W,q){const ct=R.getReceiverPubKeyFromTags(W.tags);(W.pubkey===M||ct===M)&&!W.IsRead&&(W.IsRead=!0,yield R.chatsStore.setItem(q,W))});return function(W,q){return J.apply(this,arguments)}}());const L=yield R.getAllChatEvents();R.chatEventsSubject.next(L),R.updateUnreadChatCount(L)}catch(L){console.error("Error marking all chat events as read:",L)}})()}getReceiverPubKeyFromTags(M){for(const R of M)if("p"===R[0]&&R[1])return R[1];return null}updateUnreadChatCount(M){const R=M.filter(L=>!L.IsRead).length;this.unreadChatCountSubject.next(R)}removeAllChats(){var M=this;return(0,o.A)(function*(){try{yield M.chatsStore.clear(),M.chatEventsSubject.next([]),M.unreadChatCountSubject.next(0),console.log("All chat events have been removed successfully.")}catch(R){console.error("Error removing all chat events:",R)}})()}setUpdateHistory(M){var R=this;return(0,o.A)(function*(){try{const L=Math.floor(Date.now()/1e3);yield R.updateHistoryStore.setItem(M,L)}catch(L){console.error("Error updating history:",L)}})()}loadAllProjectsFromDB(){var M=this;return(0,o.A)(function*(){try{const R=yield M.getAllProjects();M.projectsSubject.next(R)}catch(R){console.error("Error loading projects from DB:",R)}})()}loadAllProjectStatsFromDB(){var M=this;return(0,o.A)(function*(){try{const R=yield M.getAllProjectStats();M.projectStatsSubject.next(R)}catch(R){console.error("Error loading project stats from DB:",R)}})()}loadAllContactsFromDB(M=""){var R=this;return(0,o.A)(function*(){try{const L=yield R.getAllContacts(M);if(L.length>0){const J={};for(const W of L)J[W.pubKey]||(J[W.pubKey]=[]),J[W.pubKey].push(W.contact);for(const W in J)R.contactsSubject.next({pubKey:W,contacts:J[W]})}}catch(L){console.error("Error loading contacts from DB:",L)}})()}loadAllChatEventsFromDB(){var M=this;return(0,o.A)(function*(){try{const R=yield M.getAllChatEvents();M.chatEventsSubject.next(R)}catch(R){console.error("Error loading chat events from DB:",R)}})()}loadAllPostsFromDB(){var M=this;return(0,o.A)(function*(){try{const R=yield M.getAllPostsForAllPubKeys();M.postsSubject.next(R)}catch(R){console.error("Error loading posts from DB:",R)}})()}loadAllMyLikesFromDB(){var M=this;return(0,o.A)(function*(){try{const R=yield M.getAllMyLikes();M.myLikesSubject.next(R)}catch(R){console.error("Error loading likes from DB:",R)}})()}loadAllNotificationsFromDB(){var M=this;return(0,o.A)(function*(){try{const R=yield M.getAllNotifications();M.notificationsSubject.next(R)}catch(R){console.error("Error loading notifications from DB:",R)}})()}loadContactStatsFromDB(){var M=this;return(0,o.A)(function*(){try{let R=0,L=0,J=0;yield M.contactsStore.iterate((W,q)=>{const[ct]=q.split(":");R++,W.isFollower?L++:J++}),M.contactStatsSubject.next({totalContacts:R,followersCount:L,followingCount:J})}catch(R){console.error("Error loading contact stats from DB:",R)}})()}static{this.\u0275fac=function(R){return new(R||I)}}static{this.\u0275prov=k.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},5645:(i,a,r)=>{"use strict";r.d(a,{n:()=>ht});var s,o=r(4412),c=new Uint8Array(16);function y(){if(!s&&!(s=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(c)}const k=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var T=[],M=0;M<256;++M)T.push((M+256).toString(16).substr(1));const L=function R(tt){var xt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,Tt=(T[tt[xt+0]]+T[tt[xt+1]]+T[tt[xt+2]]+T[tt[xt+3]]+"-"+T[tt[xt+4]]+T[tt[xt+5]]+"-"+T[tt[xt+6]]+T[tt[xt+7]]+"-"+T[tt[xt+8]]+T[tt[xt+9]]+"-"+T[tt[xt+10]]+T[tt[xt+11]]+T[tt[xt+12]]+T[tt[xt+13]]+T[tt[xt+14]]+T[tt[xt+15]]).toLowerCase();if(!function S(tt){return"string"==typeof tt&&k.test(tt)}(Tt))throw TypeError("Stringified UUID is invalid");return Tt},W=function J(tt,xt,Tt){var $t=(tt=tt||{}).random||(tt.rng||y)();if($t[6]=15&$t[6]|64,$t[8]=63&$t[8]|128,xt){Tt=Tt||0;for(var St=0;St<16;++St)xt[Tt+St]=$t[St];return xt}return L($t)};var q=r(4438),ct=r(6231);let ht=(()=>{class tt{constructor(Tt){this.relayService=Tt,this.subscriptions=new Map,this.activeRelays=[],this.pendingSubscriptions=new Map,this.subscriptionsSubject=new o.t(new Map),this.subscriptions$=this.subscriptionsSubject.asObservable(),this.subscriptionQueue=[],this.isProcessingQueue=!1,this.queueInterval=3e3,this.maxSubscriptionsPerBatch=5,this.debounceInterval=5e3,this.lastActionTimestamp=new Map,this.connectToAllRelays(),this.processSubscriptionQueue()}addSubscriptions(Tt,$t){const St=this.findExistingSubscription(Tt);if(St)return console.log("Existing subscription found:",St),St.callbacks.push($t),St.id;const _t=W(),nt=Date.now();this.lastActionTimestamp.set(_t,nt);const at={filter:Tt,callbacks:[$t],id:_t};return this.subscriptions.set(at.id,at),this.subscriptionsSubject.next(this.subscriptions),this.addToQueue(at),at.id}findExistingSubscription(Tt){for(let $t of this.subscriptions.values())if(JSON.stringify($t.filter)===JSON.stringify(Tt))return $t}removeSubscriptionById(Tt){const $t=Date.now(),St=this.lastActionTimestamp.get(Tt);St&&$t-St{this.subscriptionQueue.length>0&&this.subscriptionQueue.splice(0,this.maxSubscriptionsPerBatch).forEach(St=>{try{this.subscribeToRelays(St.filter,St)}catch(_t){console.error("Failed to subscribe:",_t)}})},this.queueInterval))}subscribeToRelays(Tt,$t){0!==this.activeRelays.length?this.relayService.ensureConnectedRelays().then(()=>{const St=this.relayService.getConnectedRelays();this.relayService.getPool().subscribeMany(St,Tt,{onevent:_t=>{$t.callbacks.forEach(nt=>nt(_t))},onclose:()=>{console.log("Subscription closed")}})}).catch(St=>{console.error("Error subscribing to relays:",St)}):this.pendingSubscriptions.set($t.id,$t)}subscribeToAllRelays(){this.pendingSubscriptions.forEach(Tt=>{this.subscribeToRelays(Tt.filter,Tt)}),this.pendingSubscriptions.clear()}connectToAllRelays(){this.relayService.ensureConnectedRelays().then(()=>{this.activeRelays=this.relayService.getConnectedRelays(),this.subscribeToAllRelays()}).catch(Tt=>{console.error("Error connecting to relays:",Tt)})}clearAllSubscriptions(){this.subscriptions.clear(),this.pendingSubscriptions.clear(),this.subscriptionsSubject.next(new Map)}getSubscriptions(){return Array.from(this.subscriptions.values())}static{this.\u0275fac=function($t){return new($t||tt)(q.KVO(ct.b))}}static{this.\u0275prov=q.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"})}}return tt})()},7292:(i,a,r)=>{"use strict";r.d(a,{b:()=>W});var o=r(177),s=r(9417),c=r(8834),y=r(6600),k=r(5351),S=r(2102),I=r(9213),T=r(9042),M=r(2798),R=r(882),L=r(4438);function J(q,ct){1&q&&(L.j41(0,"mat-error"),L.EFF(1," Password is required "),L.k0s())}let W=(()=>{class q{constructor(ht,tt,xt){this.fb=ht,this.dialogRef=tt,this.data=xt,this.passwordForm=this.fb.group({password:["",s.k0.required],duration:["0",s.k0.required]})}onCancel(){this.dialogRef.close()}onSubmit(){this.dialogRef.close(this.passwordForm.value)}static{this.\u0275fac=function(tt){return new(tt||q)(L.rXU(s.ok),L.rXU(k.CP),L.rXU(k.Vh))}}static{this.\u0275cmp=L.VBU({type:q,selectors:[["password-dialog"]],standalone:!0,features:[L.aNF],decls:30,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"formGroup"],[1,"w-full",3,"subscriptSizing"],["matPrefix",""],["matInput","","type","password",3,"formControlName"],[4,"ngIf"],[1,"mt-5","w-full"],["formControlName","duration"],["value","0"],["value","1"],["value","5"],["value","10"],["value","60"],["mat-dialog-actions",""],["mat-button","",3,"click"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(tt,xt){1&tt&&(L.j41(0,"h1",0),L.EFF(1,"Enter Password"),L.k0s(),L.j41(2,"div",1)(3,"form",2)(4,"mat-form-field",3)(5,"mat-label"),L.EFF(6,"Password"),L.k0s(),L.j41(7,"mat-icon",4),L.EFF(8,"lock"),L.k0s(),L.nrm(9,"input",5),L.DNE(10,J,2,0,"mat-error",6),L.k0s(),L.j41(11,"mat-form-field",7)(12,"mat-label"),L.EFF(13,"Duration"),L.k0s(),L.j41(14,"mat-select",8)(15,"mat-option",9),L.EFF(16,"0 Minute"),L.k0s(),L.j41(17,"mat-option",10),L.EFF(18,"1 Minute"),L.k0s(),L.j41(19,"mat-option",11),L.EFF(20,"5 Minutes"),L.k0s(),L.j41(21,"mat-option",12),L.EFF(22,"10 Minutes"),L.k0s(),L.j41(23,"mat-option",13),L.EFF(24,"1 Hour"),L.k0s()()()()(),L.j41(25,"div",14)(26,"button",15),L.bIt("click",function(){return xt.onCancel()}),L.EFF(27,"Cancel"),L.k0s(),L.j41(28,"button",16),L.bIt("click",function(){return xt.onSubmit()}),L.EFF(29," Submit "),L.k0s()()),2&tt&&(L.R7$(3),L.Y8G("formGroup",xt.passwordForm),L.R7$(),L.Y8G("subscriptSizing","dynamic"),L.R7$(5),L.Y8G("formControlName","password"),L.R7$(),L.Y8G("ngIf",xt.passwordForm.get("password").hasError("required")),L.R7$(18),L.Y8G("disabled",xt.passwordForm.invalid))},dependencies:[R.vg,c.Hl,c.$z,I.m_,I.An,s.YN,s.qT,s.me,s.BC,s.cb,y.wT,S.nJ,S.rl,s.X1,s.j4,s.JD,o.MD,o.bT,M.Ve,S.TL,S.JW,M.VO,S.RG,T.fS,T.fg],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return q})()},4248:(i,a,r)=>{"use strict";var o=r(345),s=r(5245),c=r(4438);let y=(()=>{class b{constructor(){}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["app-root"]],standalone:!0,features:[c.aNF],decls:1,vars:0,template:function(m,D){1&m&&c.nrm(0,"router-outlet")},dependencies:[s.n3],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto;width:100%;height:100%}"]})}}return b})();var k=r(467);const S=new c.nKC("ANGOR_MOCK_API_DEFAULT_DELAY");var I=r(8810),T=r(1985),M=r(6697),R=r(7673);class L{constructor(p,d){this.url=p,this.delay=d,this._replyCount=0,this._replied=0}get response(){if(this._replyCount>0&&this._replyCount<=this._replied)return(0,I.$)(()=>new Error("Execution limit has been reached!"));if(!this._reply)return(0,I.$)(()=>new Error("Response callback function does not exist!"));if(!this.request)return(0,I.$)(()=>new Error("Request does not exist!"));this._replied++;const p=this._reply({request:this.request,urlParams:this.urlParams});return p instanceof T.c?p.pipe((0,M.s)(1)):(0,R.of)(p).pipe((0,M.s)(1))}reply(p){this._reply=p}replyCount(p){this._replyCount=p}}var J=r(7680);let W=(()=>{class b{constructor(){this._handlers={get:new Map,post:new Map,patch:new Map,delete:new Map,put:new Map,head:new Map,jsonp:new Map,options:new Map}}findHandler(d,m){const D={handler:void 0,urlParams:{}},V=m.split("/"),Q=this._handlers[d.toLowerCase()];for(const[yt,Vt]of Q){const ye=yt.split("/");if(V.length===ye.length&&ye.every((wr,bo)=>wr.startsWith(":")||wr===V[bo])){D.handler=Vt,D.urlParams=(0,J.A)(ye.map((wr,bo)=>wr.startsWith(":")?[wr.substring(1),V[bo]]:void 0).filter(Boolean));break}}return D}onGet(d,m){return this._registerHandler("get",d,m)}onPost(d,m){return this._registerHandler("post",d,m)}onPatch(d,m){return this._registerHandler("patch",d,m)}onDelete(d,m){return this._registerHandler("delete",d,m)}onPut(d,m){return this._registerHandler("put",d,m)}onHead(d,m){return this._registerHandler("head",d,m)}onJsonp(d,m){return this._registerHandler("jsonp",d,m)}onOptions(d,m){return this._registerHandler("options",d,m)}_registerHandler(d,m,D){const V=new L(m,D);return this._handlers[d].set(m,V),V}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var q=r(1626),ct=r(1986),ht=r(5558);const tt=(b,p)=>{const d=(0,c.WQX)(S),m=(0,c.WQX)(W),{handler:D,urlParams:V}=m.findHandler(b.method.toUpperCase(),b.url);return D?(D.request=b,D.urlParams=V,D.response.pipe((0,ct.c)(D.delay??d??0),(0,ht.n)(Q=>{if(!Q)return(0,I.$)(()=>new q.yz({error:"NOT FOUND",status:404,statusText:"NOT FOUND"}));const yt={status:Q[0],body:Q[1]};return yt.status>=200&&yt.status<300?(0,R.of)(new q.cS({body:yt.body,status:yt.status,statusText:"OK"})):(0,I.$)(()=>new q.yz({error:yt.body?.error,status:yt.status,statusText:"ERROR"}))}))):p(b)};var xt=r(9097),Tt=r(9979),$t=r(4412);let St=(()=>{class b{constructor(){this._auto$=new $t.t(!0),this._mode$=new $t.t("indeterminate"),this._progress$=new $t.t(0),this._show$=new $t.t(!1),this._urlMap=new Map}get auto$(){return this._auto$.asObservable()}get mode$(){return this._mode$.asObservable()}get progress$(){return this._progress$.asObservable()}get show$(){return this._show$.asObservable()}show(){this._show$.next(!0)}hide(){this._show$.next(!1)}setAutoMode(d){this._auto$.next(d)}setMode(d){this._mode$.next(d)}setProgress(d){d<0||d>100?console.error("Progress value must be between 0 and 100!"):this._progress$.next(d)}_setLoadingStatus(d,m){m?(!0===d?(this._urlMap.set(m,d),this._show$.next(!0)):!1===d&&this._urlMap.has(m)&&this._urlMap.delete(m),0===this._urlMap.size&&this._show$.next(!1)):console.error("The request URL must be provided!")}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var _t=r(980);const nt=(b,p)=>{const d=(0,c.WQX)(St);let m=!1;return d.auto$.pipe((0,M.s)(1)).subscribe(D=>{m=D}),m?(d._setLoadingStatus(!0,b.url),p(b).pipe((0,_t.j)(()=>{d._setLoadingStatus(!1,b.url)}))):p(b)};var at=r(4977),et=r(6860);let bt=(()=>{class b{constructor(){this._platform=(0,c.WQX)(et.OD),this.osName="os-unknown",this._platform.isBrowser&&(navigator.userAgent.includes("Win")&&(this.osName="os-windows"),navigator.userAgent.includes("Mac")&&(this.osName="os-mac"),navigator.userAgent.includes("X11")&&(this.osName="os-unix"),navigator.userAgent.includes("Linux")&&(this.osName="os-linux"),this._platform.IOS&&(this.osName="os-ios"),this._platform.ANDROID&&(this.osName="os-android"))}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var Et=r(177),jt=r(5964);let Gt=(()=>{class b{constructor(){this._document=(0,c.WQX)(Et.qQ),this._router=(0,c.WQX)(s.Ix),this._router.events.pipe((0,jt.p)(d=>d instanceof s.wF),(0,M.s)(1)).subscribe(()=>{this.hide()})}show(){this._document.body.classList.remove("angor-splash-screen-hidden")}hide(){this._document.body.classList.add("angor-splash-screen-hidden")}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var ie=r(7209),Xe=r(6600),Er=r(5351),gr=r(2102);class Xr extends Error{}class ke extends Xr{constructor(p){super(`Invalid DateTime: ${p.toMessage()}`)}}class Rt extends Xr{constructor(p){super(`Invalid Interval: ${p.toMessage()}`)}}class wt extends Xr{constructor(p){super(`Invalid Duration: ${p.toMessage()}`)}}class Ut extends Xr{}class Ae extends Xr{constructor(p){super(`Invalid unit ${p}`)}}class Xt extends Xr{}class pe extends Xr{constructor(){super("Zone is an abstract class")}}const te="numeric",Ye="short",We="long",Bt={year:te,month:te,day:te},Zt={year:te,month:Ye,day:te},Ot={year:te,month:Ye,day:te,weekday:Ye},le={year:te,month:We,day:te},qt={year:te,month:We,day:te,weekday:We},Ve={hour:te,minute:te},Ht={hour:te,minute:te,second:te},Me={hour:te,minute:te,second:te,timeZoneName:Ye},Ke={hour:te,minute:te,second:te,timeZoneName:We},Fe={hour:te,minute:te,hourCycle:"h23"},Or={hour:te,minute:te,second:te,hourCycle:"h23"},yo={hour:te,minute:te,second:te,hourCycle:"h23",timeZoneName:Ye},dr={hour:te,minute:te,second:te,hourCycle:"h23",timeZoneName:We},Nt={year:te,month:te,day:te,hour:te,minute:te},we={year:te,month:te,day:te,hour:te,minute:te,second:te},de={year:te,month:Ye,day:te,hour:te,minute:te},Ie={year:te,month:Ye,day:te,hour:te,minute:te,second:te},br={year:te,month:Ye,day:te,weekday:Ye,hour:te,minute:te},gt={year:te,month:We,day:te,hour:te,minute:te,timeZoneName:Ye},$={year:te,month:We,day:te,hour:te,minute:te,second:te,timeZoneName:Ye},Y={year:te,month:We,day:te,weekday:We,hour:te,minute:te,timeZoneName:We},it={year:te,month:We,day:te,weekday:We,hour:te,minute:te,second:te,timeZoneName:We};class At{get type(){throw new pe}get name(){throw new pe}get ianaName(){return this.name}get isUniversal(){throw new pe}offsetName(p,d){throw new pe}formatOffset(p,d){throw new pe}offset(p){throw new pe}equals(p){throw new pe}get isValid(){throw new pe}}let Mt=null;class ve extends At{static get instance(){return null===Mt&&(Mt=new ve),Mt}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(p,{format:d,locale:m}){return Ji(p,d,m)}formatOffset(p,d){return $a(this.offset(p),d)}offset(p){return-new Date(p).getTimezoneOffset()}equals(p){return"system"===p.type}get isValid(){return!0}}let ir={};const er={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bo={};class fr extends At{static create(p){return Bo[p]||(Bo[p]=new fr(p)),Bo[p]}static resetCache(){Bo={},ir={}}static isValidSpecifier(p){return this.isValidZone(p)}static isValidZone(p){if(!p)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:p}).format(),!0}catch{return!1}}constructor(p){super(),this.zoneName=p,this.valid=fr.isValidZone(p)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(p,{format:d,locale:m}){return Ji(p,d,m,this.name)}formatOffset(p,d){return $a(this.offset(p),d)}offset(p){const d=new Date(p);if(isNaN(d))return NaN;const m=function Je(b){return ir[b]||(ir[b]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:b,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),ir[b]}(this.name);let[D,V,Q,yt,Vt,ye,lr]=m.formatToParts?function eo(b,p){const d=b.formatToParts(p),m=[];for(let D=0;D=0?ho:1e3+ho,(Ua({year:D,month:V,day:Q,hour:24===Vt?0:Vt,minute:ye,second:lr,millisecond:0})-Vr)/6e4}equals(p){return"iana"===p.type&&p.name===this.name}get isValid(){return this.valid}}let Fr={},re={};function Lt(b,p={}){const d=JSON.stringify([b,p]);let m=re[d];return m||(m=new Intl.DateTimeFormat(b,p),re[d]=m),m}let he={},Qr={},Ko=null,Ue={};function Se(b,p,d,m){const D=b.listingMode();return"error"===D?null:"en"===D?d(p):m(p)}class xr{constructor(p,d,m){this.padTo=m.padTo||0,this.floor=m.floor||!1;const{padTo:D,floor:V,...Q}=m;if(!d||Object.keys(Q).length>0){const yt={useGrouping:!1,...m};m.padTo>0&&(yt.minimumIntegerDigits=m.padTo),this.inf=function mr(b,p={}){const d=JSON.stringify([b,p]);let m=he[d];return m||(m=new Intl.NumberFormat(b,p),he[d]=m),m}(p,yt)}}format(p){if(this.inf){const d=this.floor?Math.floor(p):p;return this.inf.format(d)}return Tn(this.floor?Math.floor(p):pa(p,3),this.padTo)}}class Co{constructor(p,d,m){let D;if(this.opts=m,this.originalZone=void 0,this.opts.timeZone)this.dt=p;else if("fixed"===p.zone.type){const Q=p.offset/60*-1,yt=Q>=0?`Etc/GMT+${Q}`:`Etc/GMT${Q}`;0!==p.offset&&fr.create(yt).valid?(D=yt,this.dt=p):(D="UTC",this.dt=0===p.offset?p:p.setZone("UTC").plus({minutes:p.offset}),this.originalZone=p.zone)}else"system"===p.zone.type?this.dt=p:"iana"===p.zone.type?(this.dt=p,D=p.zone.name):(D="UTC",this.dt=p.setZone("UTC").plus({minutes:p.offset}),this.originalZone=p.zone);const V={...this.opts};V.timeZone=V.timeZone||D,this.dtf=Lt(d,V)}format(){return this.originalZone?this.formatToParts().map(({value:p})=>p).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const p=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?p.map(d=>{if("timeZoneName"===d.type){const m=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...d,value:m}}return d}):p}resolvedOptions(){return this.dtf.resolvedOptions()}}class Vn{constructor(p,d,m){this.opts={style:"long",...m},!d&&Mn()&&(this.rtf=function Ro(b,p={}){const{base:d,...m}=p,D=JSON.stringify([b,m]);let V=Qr[D];return V||(V=new Intl.RelativeTimeFormat(b,p),Qr[D]=V),V}(p,m))}format(p,d){return this.rtf?this.rtf.format(p,d):function se(b,p,d="always",m=!1){const D={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},V=-1===["hours","minutes","seconds"].indexOf(b);if("auto"===d&&V){const wr="days"===b;switch(p){case 1:return wr?"tomorrow":`next ${D[b][0]}`;case-1:return wr?"yesterday":`last ${D[b][0]}`;case 0:return wr?"today":`this ${D[b][0]}`}}const Q=Object.is(p,-0)||p<0,yt=Math.abs(p),Vt=1===yt,ye=D[b],lr=m?Vt?ye[1]:ye[2]||ye[1]:Vt?D[b][0]:b;return Q?`${yt} ${lr} ago`:`in ${yt} ${lr}`}(d,p,this.opts.numeric,"long"!==this.opts.style)}formatToParts(p,d){return this.rtf?this.rtf.formatToParts(p,d):[]}}const qn={firstDay:1,minimalDays:4,weekend:[6,7]};class Yo{static fromOpts(p){return Yo.create(p.locale,p.numberingSystem,p.outputCalendar,p.weekSettings,p.defaultToEN)}static create(p,d,m,D,V=!1){const Q=p||Ct.defaultLocale,yt=Q||(V?"en-US":function tr(){return Ko||(Ko=(new Intl.DateTimeFormat).resolvedOptions().locale,Ko)}()),Vt=d||Ct.defaultNumberingSystem,ye=m||Ct.defaultOutputCalendar,lr=qi(D)||Ct.defaultWeekSettings;return new Yo(yt,Vt,ye,lr,Q)}static resetCache(){Ko=null,re={},he={},Qr={}}static fromObject({locale:p,numberingSystem:d,outputCalendar:m,weekSettings:D}={}){return Yo.create(p,d,m,D)}constructor(p,d,m,D,V){const[Q,yt,Vt]=function qe(b){const p=b.indexOf("-x-");-1!==p&&(b=b.substring(0,p));const d=b.indexOf("-u-");if(-1===d)return[b];{let m,D;try{m=Lt(b).resolvedOptions(),D=b}catch{const Vt=b.substring(0,d);m=Lt(Vt).resolvedOptions(),D=Vt}const{numberingSystem:V,calendar:Q}=m;return[D,V,Q]}}(p);this.locale=Q,this.numberingSystem=d||yt||null,this.outputCalendar=m||Vt||null,this.weekSettings=D,this.intl=function Ce(b,p,d){return(d||p)&&(b.includes("-u-")||(b+="-u"),d&&(b+=`-ca-${d}`),p&&(b+=`-nu-${p}`)),b}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=V,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=function ar(b){return(!b.numberingSystem||"latn"===b.numberingSystem)&&("latn"===b.numberingSystem||!b.locale||b.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(b.intl).resolvedOptions().numberingSystem)}(this)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(p){return p&&0!==Object.getOwnPropertyNames(p).length?Yo.create(p.locale||this.specifiedLocale,p.numberingSystem||this.numberingSystem,p.outputCalendar||this.outputCalendar,qi(p.weekSettings)||this.weekSettings,p.defaultToEN||!1):this}redefaultToEN(p={}){return this.clone({...p,defaultToEN:!0})}redefaultToSystem(p={}){return this.clone({...p,defaultToEN:!1})}months(p,d=!1){return Se(this,p,Ja,()=>{const m=d?{month:p,day:"numeric"}:{month:p},D=d?"format":"standalone";return this.monthsCache[D][p]||(this.monthsCache[D][p]=function be(b){const p=[];for(let d=1;d<=12;d++){const m=$o.utc(2009,d,1);p.push(b(m))}return p}(V=>this.extract(V,m,"month"))),this.monthsCache[D][p]})}weekdays(p,d=!1){return Se(this,p,Vi,()=>{const m=d?{weekday:p,year:"numeric",month:"long",day:"numeric"}:{weekday:p},D=d?"format":"standalone";return this.weekdaysCache[D][p]||(this.weekdaysCache[D][p]=function Yt(b){const p=[];for(let d=1;d<=7;d++){const m=$o.utc(2016,11,13+d);p.push(b(m))}return p}(V=>this.extract(V,m,"weekday"))),this.weekdaysCache[D][p]})}meridiems(){return Se(this,void 0,()=>oi,()=>{if(!this.meridiemCache){const p={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[$o.utc(2016,11,13,9),$o.utc(2016,11,13,19)].map(d=>this.extract(d,p,"dayperiod"))}return this.meridiemCache})}eras(p){return Se(this,p,ts,()=>{const d={era:p};return this.eraCache[p]||(this.eraCache[p]=[$o.utc(-40,1,1),$o.utc(2017,1,1)].map(m=>this.extract(m,d,"era"))),this.eraCache[p]})}extract(p,d,m){const Q=this.dtFormatter(p,d).formatToParts().find(yt=>yt.type.toLowerCase()===m);return Q?Q.value:null}numberFormatter(p={}){return new xr(this.intl,p.forceSimple||this.fastNumbers,p)}dtFormatter(p,d={}){return new Co(p,this.intl,d)}relFormatter(p={}){return new Vn(this.intl,this.isEnglish(),p)}listFormatter(p={}){return function ne(b,p={}){const d=JSON.stringify([b,p]);let m=Fr[d];return m||(m=new Intl.ListFormat(b,p),Fr[d]=m),m}(this.intl,p)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:_i()?function Ee(b){let p=Ue[b];if(!p){const d=new Intl.Locale(b);p="getWeekInfo"in d?d.getWeekInfo():d.weekInfo,Ue[b]=p}return p}(this.locale):qn}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(p){return this.locale===p.locale&&this.numberingSystem===p.numberingSystem&&this.outputCalendar===p.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let ai=null;class Po extends At{static get utcInstance(){return null===ai&&(ai=new Po(0)),ai}static instance(p){return 0===p?Po.utcInstance:new Po(p)}static parseSpecifier(p){if(p){const d=p.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(d)return new Po(ta(d[1],d[2]))}return null}constructor(p){super(),this.fixed=p}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$a(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$a(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(p,d){return $a(this.fixed,d)}get isUniversal(){return!0}offset(){return this.fixed}equals(p){return"fixed"===p.type&&p.fixed===this.fixed}get isValid(){return!0}}class gi extends At{constructor(p){super(),this.zoneName=p}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ni(b,p){if(Uo(b)||null===b)return p;if(b instanceof At)return b;if(function on(b){return"string"==typeof b}(b)){const m=b.toLowerCase();return"default"===m?p:"local"===m||"system"===m?ve.instance:"utc"===m||"gmt"===m?Po.utcInstance:Po.parseSpecifier(m)||fr.create(b)}return jn(b)?Po.instance(b):"object"==typeof b&&"offset"in b&&"function"==typeof b.offset?b:new gi(b)}const Oe={arab:"[\u0660-\u0669]",arabext:"[\u06f0-\u06f9]",bali:"[\u1b50-\u1b59]",beng:"[\u09e6-\u09ef]",deva:"[\u0966-\u096f]",fullwide:"[\uff10-\uff19]",gujr:"[\u0ae6-\u0aef]",hanidec:"[\u3007|\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d]",khmr:"[\u17e0-\u17e9]",knda:"[\u0ce6-\u0cef]",laoo:"[\u0ed0-\u0ed9]",limb:"[\u1946-\u194f]",mlym:"[\u0d66-\u0d6f]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0b66-\u0b6f]",tamldec:"[\u0be6-\u0bef]",telu:"[\u0c66-\u0c6f]",thai:"[\u0e50-\u0e59]",tibt:"[\u0f20-\u0f29]",latn:"\\d"},He={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Dr=Oe.hanidec.replace(/[\[|\]]/g,"").split("");let Ur={};function no({numberingSystem:b},p=""){const d=b||"latn";return Ur[d]||(Ur[d]={}),Ur[d][p]||(Ur[d][p]=new RegExp(`${Oe[d]}${p}`)),Ur[d][p]}let dt,_o=()=>Date.now(),Do="system",ro=null,zt=null,me=null,ue=60,Kt=null;class Ct{static get now(){return _o}static set now(p){_o=p}static set defaultZone(p){Do=p}static get defaultZone(){return ni(Do,ve.instance)}static get defaultLocale(){return ro}static set defaultLocale(p){ro=p}static get defaultNumberingSystem(){return zt}static set defaultNumberingSystem(p){zt=p}static get defaultOutputCalendar(){return me}static set defaultOutputCalendar(p){me=p}static get defaultWeekSettings(){return Kt}static set defaultWeekSettings(p){Kt=qi(p)}static get twoDigitCutoffYear(){return ue}static set twoDigitCutoffYear(p){ue=p%100}static get throwOnInvalid(){return dt}static set throwOnInvalid(p){dt=p}static resetCaches(){Yo.resetCache(),fr.resetCache(),$o.resetCache(),function ao(){Ur={}}()}}class ae{constructor(p,d){this.reason=p,this.explanation=d}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Re=[0,31,59,90,120,151,181,212,243,273,304,334],De=[0,31,60,91,121,152,182,213,244,274,305,335];function or(b,p){return new ae("unit out of range",`you specified ${p} (of type ${typeof p}) as a ${b}, which is invalid`)}function Cr(b,p,d){const m=new Date(Date.UTC(b,p-1,d));b<100&&b>=0&&m.setUTCFullYear(m.getUTCFullYear()-1900);const D=m.getUTCDay();return 0===D?7:D}function kr(b,p,d){return d+(ei(b)?De:Re)[p-1]}function Lr(b,p){const d=ei(b)?De:Re,m=d.findIndex(V=>Vxa(m,p,d)?(ye=m+1,Vt=1):ye=m,{weekYear:ye,weekNumber:Vt,weekday:yt,...fi(b)}}function to(b,p=4,d=1){const{weekYear:m,weekNumber:D,weekday:V}=b,Q=Br(Cr(m,1,p),d),yt=Bn(m);let ye,Vt=7*D+V-Q-7+p;Vt<1?(ye=m-1,Vt+=Bn(ye)):Vt>yt?(ye=m+1,Vt-=Bn(m)):ye=m;const{month:lr,day:wr}=Lr(ye,Vt);return{year:ye,month:lr,day:wr,...fi(b)}}function ko(b){const{year:p,month:d,day:m}=b;return{year:p,ordinal:kr(p,d,m),...fi(b)}}function To(b){const{year:p,ordinal:d}=b,{month:m,day:D}=Lr(p,d);return{year:p,month:m,day:D,...fi(b)}}function po(b,p){if(Uo(b.localWeekday)&&Uo(b.localWeekNumber)&&Uo(b.localWeekYear))return{minDaysInFirstWeek:4,startOfWeek:1};if(!Uo(b.weekday)||!Uo(b.weekNumber)||!Uo(b.weekYear))throw new Ut("Cannot mix locale-based week fields with ISO-based week fields");return Uo(b.localWeekday)||(b.weekday=b.localWeekday),Uo(b.localWeekNumber)||(b.weekNumber=b.localWeekNumber),Uo(b.localWeekYear)||(b.weekYear=b.localWeekYear),delete b.localWeekday,delete b.localWeekNumber,delete b.localWeekYear,{minDaysInFirstWeek:p.getMinDaysInFirstWeek(),startOfWeek:p.getStartOfWeek()}}function Ai(b){const p=Ki(b.year),d=ti(b.month,1,12),m=ti(b.day,1,ri(b.year,b.month));return p?d?!m&&or("day",b.day):or("month",b.month):or("year",b.year)}function zn(b){const{hour:p,minute:d,second:m,millisecond:D}=b,V=ti(p,0,23)||24===p&&0===d&&0===m&&0===D,Q=ti(d,0,59),yt=ti(m,0,59),Vt=ti(D,0,999);return V?Q?yt?!Vt&&or("millisecond",D):or("second",m):or("minute",d):or("hour",p)}function Uo(b){return typeof b>"u"}function jn(b){return"number"==typeof b}function Ki(b){return"number"==typeof b&&b%1==0}function Mn(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function _i(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function da(b,p,d){if(0!==b.length)return b.reduce((m,D)=>{const V=[p(D),D];return m&&d(m[0],V[0])===m[0]?m:V},null)[1]}function Ti(b,p){return Object.prototype.hasOwnProperty.call(b,p)}function qi(b){if(null==b)return null;if("object"!=typeof b)throw new Xt("Week settings must be an object");if(!ti(b.firstDay,1,7)||!ti(b.minimalDays,1,7)||!Array.isArray(b.weekend)||b.weekend.some(p=>!ti(p,1,7)))throw new Xt("Invalid week settings");return{firstDay:b.firstDay,minimalDays:b.minimalDays,weekend:Array.from(b.weekend)}}function ti(b,p,d){return Ki(b)&&b>=p&&b<=d}function Tn(b,p=2){let m;return m=b<0?"-"+(""+-b).padStart(p,"0"):(""+b).padStart(p,"0"),m}function ua(b){if(!Uo(b)&&null!==b&&""!==b)return parseInt(b,10)}function bi(b){if(!Uo(b)&&null!==b&&""!==b)return parseFloat(b)}function Go(b){if(!Uo(b)&&null!==b&&""!==b){const p=1e3*parseFloat("0."+b);return Math.floor(p)}}function pa(b,p,d=!1){const m=10**p;return(d?Math.trunc:Math.round)(b*m)/m}function ei(b){return b%4==0&&(b%100!=0||b%400==0)}function Bn(b){return ei(b)?366:365}function ri(b,p){const d=function Ba(b,p){return b-p*Math.floor(b/p)}(p-1,12)+1;return 2===d?ei(b+(p-d)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][d-1]}function Ua(b){let p=Date.UTC(b.year,b.month-1,b.day,b.hour,b.minute,b.second,b.millisecond);return b.year<100&&b.year>=0&&(p=new Date(p),p.setUTCFullYear(b.year,b.month-1,b.day)),+p}function zo(b,p,d){return-Br(Cr(b,1,p),d)+p-1}function xa(b,p=4,d=1){const m=zo(b,p,d),D=zo(b+1,p,d);return(Bn(b)-m+D)/7}function On(b){return b>99?b:b>Ct.twoDigitCutoffYear?1900+b:2e3+b}function Ji(b,p,d,m=null){const D=new Date(b),V={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};m&&(V.timeZone=m);const Q={timeZoneName:p,...V},yt=new Intl.DateTimeFormat(d,Q).formatToParts(D).find(Vt=>"timezonename"===Vt.type.toLowerCase());return yt?yt.value:null}function ta(b,p){let d=parseInt(b,10);Number.isNaN(d)&&(d=0);const m=parseInt(p,10)||0;return 60*d+(d<0||Object.is(d,-0)?-m:m)}function us(b){const p=Number(b);if("boolean"==typeof b||""===b||Number.isNaN(p))throw new Xt(`Invalid unit value ${b}`);return p}function fa(b,p){const d={};for(const m in b)if(Ti(b,m)){const D=b[m];if(null==D)continue;d[p(m)]=us(D)}return d}function $a(b,p){const d=Math.trunc(Math.abs(b/60)),m=Math.trunc(Math.abs(b%60)),D=b>=0?"+":"-";switch(p){case"short":return`${D}${Tn(d,2)}:${Tn(m,2)}`;case"narrow":return`${D}${d}${m>0?`:${m}`:""}`;case"techie":return`${D}${Tn(d,2)}${Tn(m,2)}`;default:throw new RangeError(`Value format ${p} is out of range for property format`)}}function fi(b){return function va(b,p){return p.reduce((d,m)=>(d[m]=b[m],d),{})}(b,["hour","minute","second","millisecond"])}const Rn=["January","February","March","April","May","June","July","August","September","October","November","December"],ia=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wi=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ja(b){switch(b){case"narrow":return[...wi];case"short":return[...ia];case"long":return[...Rn];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Hn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ki=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],di=["M","T","W","T","F","S","S"];function Vi(b){switch(b){case"narrow":return[...di];case"short":return[...ki];case"long":return[...Hn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const oi=["AM","PM"],aa=["Before Christ","Anno Domini"],Fi=["BC","AD"],ma=["B","A"];function ts(b){switch(b){case"narrow":return[...ma];case"short":return[...Fi];case"long":return[...aa];default:return null}}function Ar(b,p){let d="";for(const m of b)d+=m.literal?m.val:p(m.val);return d}const Wr={D:Bt,DD:Zt,DDD:le,DDDD:qt,t:Ve,tt:Ht,ttt:Me,tttt:Ke,T:Fe,TT:Or,TTT:yo,TTTT:dr,f:Nt,ff:de,fff:gt,ffff:Y,F:we,FF:Ie,FFF:$,FFFF:it};class co{static create(p,d={}){return new co(p,d)}static parseFormat(p){let d=null,m="",D=!1;const V=[];for(let Q=0;Q0&&V.push({literal:D||/^\s+$/.test(m),val:m}),d=null,m="",D=!D):D||yt===d?m+=yt:(m.length>0&&V.push({literal:/^\s+$/.test(m),val:m}),m=yt,d=yt)}return m.length>0&&V.push({literal:D||/^\s+$/.test(m),val:m}),V}static macroTokenToFormatOpts(p){return Wr[p]}constructor(p,d){this.opts=d,this.loc=p,this.systemLoc=null}formatWithSystemDefault(p,d){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(p,{...this.opts,...d}).format()}dtFormatter(p,d={}){return this.loc.dtFormatter(p,{...this.opts,...d})}formatDateTime(p,d){return this.dtFormatter(p,d).format()}formatDateTimeParts(p,d){return this.dtFormatter(p,d).formatToParts()}formatInterval(p,d){return this.dtFormatter(p.start,d).dtf.formatRange(p.start.toJSDate(),p.end.toJSDate())}resolvedOptions(p,d){return this.dtFormatter(p,d).resolvedOptions()}num(p,d=0){if(this.opts.forceSimple)return Tn(p,d);const m={...this.opts};return d>0&&(m.padTo=d),this.loc.numberFormatter(m).format(p)}formatDateTimeFromString(p,d){const m="en"===this.loc.listingMode(),D=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,V=(Vr,ho)=>this.loc.extract(p,Vr,ho),Q=Vr=>p.isOffsetFixed&&0===p.offset&&Vr.allowZ?"Z":p.isValid?p.zone.formatOffset(p.ts,Vr.format):"",Vt=(Vr,ho)=>m?function Jt(b,p){return Ja(p)[b.month-1]}(p,Vr):V(ho?{month:Vr}:{month:Vr,day:"numeric"},"month"),ye=(Vr,ho)=>m?function G(b,p){return Vi(p)[b.weekday-1]}(p,Vr):V(ho?{weekday:Vr}:{weekday:Vr,month:"long",day:"numeric"},"weekday"),lr=Vr=>{const ho=co.macroTokenToFormatOpts(Vr);return ho?this.formatWithSystemDefault(p,ho):Vr},wr=Vr=>m?function ot(b,p){return ts(p)[b.year<0?0:1]}(p,Vr):V({era:Vr},"era");return Ar(co.parseFormat(d),Vr=>{switch(Vr){case"S":return this.num(p.millisecond);case"u":case"SSS":return this.num(p.millisecond,3);case"s":return this.num(p.second);case"ss":return this.num(p.second,2);case"uu":return this.num(Math.floor(p.millisecond/10),2);case"uuu":return this.num(Math.floor(p.millisecond/100));case"m":return this.num(p.minute);case"mm":return this.num(p.minute,2);case"h":return this.num(p.hour%12==0?12:p.hour%12);case"hh":return this.num(p.hour%12==0?12:p.hour%12,2);case"H":return this.num(p.hour);case"HH":return this.num(p.hour,2);case"Z":return Q({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return Q({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return Q({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return p.zone.offsetName(p.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return p.zone.offsetName(p.ts,{format:"long",locale:this.loc.locale});case"z":return p.zoneName;case"a":return m?function Ei(b){return oi[b.hour<12?0:1]}(p):V({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return D?V({day:"numeric"},"day"):this.num(p.day);case"dd":return D?V({day:"2-digit"},"day"):this.num(p.day,2);case"c":case"E":return this.num(p.weekday);case"ccc":return ye("short",!0);case"cccc":return ye("long",!0);case"ccccc":return ye("narrow",!0);case"EEE":return ye("short",!1);case"EEEE":return ye("long",!1);case"EEEEE":return ye("narrow",!1);case"L":return D?V({month:"numeric",day:"numeric"},"month"):this.num(p.month);case"LL":return D?V({month:"2-digit",day:"numeric"},"month"):this.num(p.month,2);case"LLL":return Vt("short",!0);case"LLLL":return Vt("long",!0);case"LLLLL":return Vt("narrow",!0);case"M":return D?V({month:"numeric"},"month"):this.num(p.month);case"MM":return D?V({month:"2-digit"},"month"):this.num(p.month,2);case"MMM":return Vt("short",!1);case"MMMM":return Vt("long",!1);case"MMMMM":return Vt("narrow",!1);case"y":return D?V({year:"numeric"},"year"):this.num(p.year);case"yy":return D?V({year:"2-digit"},"year"):this.num(p.year.toString().slice(-2),2);case"yyyy":return D?V({year:"numeric"},"year"):this.num(p.year,4);case"yyyyyy":return D?V({year:"numeric"},"year"):this.num(p.year,6);case"G":return wr("short");case"GG":return wr("long");case"GGGGG":return wr("narrow");case"kk":return this.num(p.weekYear.toString().slice(-2),2);case"kkkk":return this.num(p.weekYear,4);case"W":return this.num(p.weekNumber);case"WW":return this.num(p.weekNumber,2);case"n":return this.num(p.localWeekNumber);case"nn":return this.num(p.localWeekNumber,2);case"ii":return this.num(p.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(p.localWeekYear,4);case"o":return this.num(p.ordinal);case"ooo":return this.num(p.ordinal,3);case"q":return this.num(p.quarter);case"qq":return this.num(p.quarter,2);case"X":return this.num(Math.floor(p.ts/1e3));case"x":return this.num(p.ts);default:return lr(Vr)}})}formatDurationFromString(p,d){const m=Vt=>{switch(Vt[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},V=co.parseFormat(d),Q=V.reduce((Vt,{literal:ye,val:lr})=>ye?Vt:Vt.concat(lr),[]);return Ar(V,(Vt=>ye=>{const lr=m(ye);return lr?this.num(Vt.get(lr),ye.length):ye})(p.shiftTo(...Q.map(m).filter(Vt=>Vt))))}}const wo=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function jo(...b){const p=b.reduce((d,m)=>d+m.source,"");return RegExp(`^${p}$`)}function Nn(...b){return p=>b.reduce(([d,m,D],V)=>{const[Q,yt,Vt]=V(p,D);return[{...d,...Q},yt||m,Vt]},[{},null,1]).slice(0,2)}function Ln(b,...p){if(null==b)return[null,null];for(const[d,m]of p){const D=d.exec(b);if(D)return m(D)}return[null,null]}function Wn(...b){return(p,d)=>{const m={};let D;for(D=0;Dvoid 0!==Vr&&(ho||Vr&&lr)?-Vr:Vr;return[{years:bo(bi(d)),months:bo(bi(m)),weeks:bo(bi(D)),days:bo(bi(V)),hours:bo(bi(Q)),minutes:bo(bi(yt)),seconds:bo(bi(Vt),"-0"===Vt),milliseconds:bo(Go(ye),wr)}]}const Fs={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Va(b,p,d,m,D,V,Q){const yt={year:2===p.length?On(ua(p)):ua(p),month:ia.indexOf(d)+1,day:ua(m),hour:ua(D),minute:ua(V)};return Q&&(yt.second=ua(Q)),b&&(yt.weekday=b.length>3?Hn.indexOf(b)+1:ki.indexOf(b)+1),yt}const bn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Bs(b){const[,p,d,m,D,V,Q,yt,Vt,ye,lr,wr]=b,bo=Va(p,D,m,d,V,Q,yt);let Vr;return Vr=Vt?Fs[Vt]:ye?0:ta(lr,wr),[bo,new Po(Vr)]}const ps=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rd=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,rl=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function sn(b){const[,p,d,m,D,V,Q,yt]=b;return[Va(p,D,m,d,V,Q,yt),Po.utcInstance]}function Bi(b){const[,p,d,m,D,V,Q,yt]=b;return[Va(p,yt,d,m,D,V,Q),Po.utcInstance]}const en=jo(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,In),ea=jo(/(\d{4})-?W(\d\d)(?:-?(\d))?/,In),Hi=jo(/(\d{4})-?(\d{3})/,In),Ks=jo(zi),Ss=Nn(function $e(b,p){return[{year:Ft(b,p),month:Ft(b,p+1,1),day:Ft(b,p+2,1)},null,p+3]},No,pn,ha),sa=Nn(Kn,No,pn,ha),xc=Nn(Xi,No,pn,ha),As=Nn(No,pn,ha),kc=Nn(No),Cc=jo(/(\d{4})-(\d\d)-(\d\d)/,X),Bc=jo(ft),za=Nn(No,pn,ha),$s="Invalid Duration",Ea={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},nl={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Ea},Ci=365.2425,ra=30.436875,od={years:{quarters:4,months:12,weeks:Ci/7,days:Ci,hours:24*Ci,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:Ci/28,days:Ci/4,hours:24*Ci/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:ra/7,days:ra,hours:24*ra,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Ea},Yi=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Ts=Yi.slice(0).reverse();function ci(b,p,d=!1){const m={values:d?p.values:{...b.values,...p.values||{}},loc:b.loc.clone(p.loc),conversionAccuracy:p.conversionAccuracy||b.conversionAccuracy,matrix:p.matrix||b.matrix};return new Un(m)}function Gs(b,p){let d=p.milliseconds??0;for(const m of Ts.slice(1))p[m]&&(d+=p[m]*b[m].milliseconds);return d}function Ms(b,p){const d=Gs(b,p)<0?-1:1;Yi.reduceRight((m,D)=>{if(Uo(p[D]))return m;if(m){const Q=b[D][m],yt=Math.floor(p[m]*d/Q);p[D]+=yt*d,p[m]-=yt*Q*d}return D},null),Yi.reduce((m,D)=>{if(Uo(p[D]))return m;if(m){const V=p[m]%1;p[m]-=V,p[D]+=V*b[m][D]}return D},null)}class Un{constructor(p){const d="longterm"===p.conversionAccuracy||!1;let m=d?od:nl;p.matrix&&(m=p.matrix),this.values=p.values,this.loc=p.loc||Yo.create(),this.conversionAccuracy=d?"longterm":"casual",this.invalid=p.invalid||null,this.matrix=m,this.isLuxonDuration=!0}static fromMillis(p,d){return Un.fromObject({milliseconds:p},d)}static fromObject(p,d={}){if(null==p||"object"!=typeof p)throw new Xt("Duration.fromObject: argument expected to be an object, got "+(null===p?"null":typeof p));return new Un({values:fa(p,Un.normalizeUnit),loc:Yo.fromObject(d),conversionAccuracy:d.conversionAccuracy,matrix:d.matrix})}static fromDurationLike(p){if(jn(p))return Un.fromMillis(p);if(Un.isDuration(p))return p;if("object"==typeof p)return Un.fromObject(p);throw new Xt(`Unknown duration argument ${p} of type ${typeof p}`)}static fromISO(p,d){const[m]=function ol(b){return Ln(b,[ja,Ps])}(p);return m?Un.fromObject(m,d):Un.invalid("unparsable",`the input "${p}" can't be parsed as ISO 8601`)}static fromISOTime(p,d){const[m]=function Ec(b){return Ln(b,[Ls,kc])}(p);return m?Un.fromObject(m,d):Un.invalid("unparsable",`the input "${p}" can't be parsed as ISO 8601`)}static invalid(p,d=null){if(!p)throw new Xt("need to specify a reason the Duration is invalid");const m=p instanceof ae?p:new ae(p,d);if(Ct.throwOnInvalid)throw new wt(m);return new Un({invalid:m})}static normalizeUnit(p){const d={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[p&&p.toLowerCase()];if(!d)throw new Ae(p);return d}static isDuration(p){return p&&p.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(p,d={}){const m={...d,floor:!1!==d.round&&!1!==d.floor};return this.isValid?co.create(this.loc,m).formatDurationFromString(this,p):$s}toHuman(p={}){if(!this.isValid)return $s;const d=Yi.map(m=>{const D=this.values[m];return Uo(D)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...p,unit:m.slice(0,-1)}).format(D)}).filter(m=>m);return this.loc.listFormatter({type:"conjunction",style:p.listStyle||"narrow",...p}).format(d)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let p="P";return 0!==this.years&&(p+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(p+=this.months+3*this.quarters+"M"),0!==this.weeks&&(p+=this.weeks+"W"),0!==this.days&&(p+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(p+="T"),0!==this.hours&&(p+=this.hours+"H"),0!==this.minutes&&(p+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(p+=pa(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===p&&(p+="T0S"),p}toISOTime(p={}){if(!this.isValid)return null;const d=this.toMillis();return d<0||d>=864e5?null:(p={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...p,includeOffset:!1},$o.fromMillis(d,{zone:"UTC"}).toISOTime(p))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Gs(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(p){if(!this.isValid)return this;const d=Un.fromDurationLike(p),m={};for(const D of Yi)(Ti(d.values,D)||Ti(this.values,D))&&(m[D]=d.get(D)+this.get(D));return ci(this,{values:m},!0)}minus(p){if(!this.isValid)return this;const d=Un.fromDurationLike(p);return this.plus(d.negate())}mapUnits(p){if(!this.isValid)return this;const d={};for(const m of Object.keys(this.values))d[m]=us(p(this.values[m],m));return ci(this,{values:d},!0)}get(p){return this[Un.normalizeUnit(p)]}set(p){return this.isValid?ci(this,{values:{...this.values,...fa(p,Un.normalizeUnit)}}):this}reconfigure({locale:p,numberingSystem:d,conversionAccuracy:m,matrix:D}={}){return ci(this,{loc:this.loc.clone({locale:p,numberingSystem:d}),matrix:D,conversionAccuracy:m})}as(p){return this.isValid?this.shiftTo(p).get(p):NaN}normalize(){if(!this.isValid)return this;const p=this.toObject();return Ms(this.matrix,p),ci(this,{values:p},!0)}rescale(){return this.isValid?ci(this,{values:function Ca(b){const p={};for(const[d,m]of Object.entries(b))0!==m&&(p[d]=m);return p}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...p){if(!this.isValid)return this;if(0===p.length)return this;p=p.map(Q=>Un.normalizeUnit(Q));const d={},m={},D=this.toObject();let V;for(const Q of Yi)if(p.indexOf(Q)>=0){V=Q;let yt=0;for(const ye in m)yt+=this.matrix[ye][Q]*m[ye],m[ye]=0;jn(D[Q])&&(yt+=D[Q]);const Vt=Math.trunc(yt);d[Q]=Vt,m[Q]=(1e3*yt-1e3*Vt)/1e3}else jn(D[Q])&&(m[Q]=D[Q]);for(const Q in m)0!==m[Q]&&(d[V]+=Q===V?m[Q]:m[Q]/this.matrix[V][Q]);return Ms(this.matrix,d),ci(this,{values:d},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const p={};for(const d of Object.keys(this.values))p[d]=0===this.values[d]?0:-this.values[d];return ci(this,{values:p},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(p){if(!this.isValid||!p.isValid||!this.loc.equals(p.loc))return!1;function d(m,D){return void 0===m||0===m?void 0===D||0===D:m===D}for(const m of Yi)if(!d(this.values[m],p.values[m]))return!1;return!0}}const Ha="Invalid Interval";class mi{constructor(p){this.s=p.start,this.e=p.end,this.invalid=p.invalid||null,this.isLuxonInterval=!0}static invalid(p,d=null){if(!p)throw new Xt("need to specify a reason the Interval is invalid");const m=p instanceof ae?p:new ae(p,d);if(Ct.throwOnInvalid)throw new Rt(m);return new mi({invalid:m})}static fromDateTimes(p,d){const m=Si(p),D=Si(d),V=function hs(b,p){return b&&b.isValid?p&&p.isValid?pp}isBefore(p){return!!this.isValid&&this.e<=p}contains(p){return!!this.isValid&&this.s<=p&&this.e>p}set({start:p,end:d}={}){return this.isValid?mi.fromDateTimes(p||this.s,d||this.e):this}splitAt(...p){if(!this.isValid)return[];const d=p.map(Si).filter(Q=>this.contains(Q)).sort((Q,yt)=>Q.toMillis()-yt.toMillis()),m=[];let{s:D}=this,V=0;for(;D+this.e?this.e:Q;m.push(mi.fromDateTimes(D,yt)),D=yt,V+=1}return m}splitBy(p){const d=Un.fromDurationLike(p);if(!this.isValid||!d.isValid||0===d.as("milliseconds"))return[];let V,{s:m}=this,D=1;const Q=[];for(;mVt*D));V=+yt>+this.e?this.e:yt,Q.push(mi.fromDateTimes(m,V)),m=V,D+=1}return Q}divideEqually(p){return this.isValid?this.splitBy(this.length()/p).slice(0,p):[]}overlaps(p){return this.e>p.s&&this.s=p.e}equals(p){return!(!this.isValid||!p.isValid)&&this.s.equals(p.s)&&this.e.equals(p.e)}intersection(p){if(!this.isValid)return this;const d=this.s>p.s?this.s:p.s,m=this.e=m?null:mi.fromDateTimes(d,m)}union(p){return this.isValid?mi.fromDateTimes(this.sp.e?this.e:p.e):this}static merge(p){const[d,m]=p.sort((D,V)=>D.s-V.s).reduce(([D,V],Q)=>V?V.overlaps(Q)||V.abutsStart(Q)?[D,V.union(Q)]:[D.concat([V]),Q]:[D,Q],[[],null]);return m&&d.push(m),d}static xor(p){let d=null,m=0;const D=[],V=p.map(Vt=>[{time:Vt.s,type:"s"},{time:Vt.e,type:"e"}]),yt=Array.prototype.concat(...V).sort((Vt,ye)=>Vt.time-ye.time);for(const Vt of yt)m+="s"===Vt.type?1:-1,1===m?d=Vt.time:(d&&+d!=+Vt.time&&D.push(mi.fromDateTimes(d,Vt.time)),d=null);return mi.merge(D)}difference(...p){return mi.xor([this].concat(p)).map(d=>this.intersection(d)).filter(d=>d&&!d.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Ha}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(p=Bt,d={}){return this.isValid?co.create(this.s.loc.clone(d),p).formatInterval(this):Ha}toISO(p){return this.isValid?`${this.s.toISO(p)}/${this.e.toISO(p)}`:Ha}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ha}toISOTime(p){return this.isValid?`${this.s.toISOTime(p)}/${this.e.toISOTime(p)}`:Ha}toFormat(p,{separator:d=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(p)}${d}${this.e.toFormat(p)}`:Ha}toDuration(p,d){return this.isValid?this.e.diff(this.s,p,d):Un.invalid(this.invalidReason)}mapEndpoints(p){return mi.fromDateTimes(p(this.s),p(this.e))}}class gs{static hasDST(p=Ct.defaultZone){const d=$o.now().setZone(p).set({month:12});return!p.isUniversal&&d.offset!==d.set({month:6}).offset}static isValidIANAZone(p){return fr.isValidZone(p)}static normalizeZone(p){return ni(p,Ct.defaultZone)}static getStartOfWeek({locale:p=null,locObj:d=null}={}){return(d||Yo.create(p)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:p=null,locObj:d=null}={}){return(d||Yo.create(p)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:p=null,locObj:d=null}={}){return(d||Yo.create(p)).getWeekendDays().slice()}static months(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null,outputCalendar:V="gregory"}={}){return(D||Yo.create(d,m,V)).months(p)}static monthsFormat(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null,outputCalendar:V="gregory"}={}){return(D||Yo.create(d,m,V)).months(p,!0)}static weekdays(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null}={}){return(D||Yo.create(d,m,null)).weekdays(p)}static weekdaysFormat(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null}={}){return(D||Yo.create(d,m,null)).weekdays(p,!0)}static meridiems({locale:p=null}={}){return Yo.create(p).meridiems()}static eras(p="short",{locale:d=null}={}){return Yo.create(d,null,"gregory").eras(p)}static features(){return{relative:Mn(),localeWeek:_i()}}}function lc(b,p){const d=D=>D.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),m=d(p)-d(b);return Math.floor(Un.fromMillis(m).as("days"))}function hn(b,p=d=>d){return{regex:b,deser:([d])=>p(function Pr(b){let p=parseInt(b,10);if(isNaN(p)){p="";for(let d=0;d=V&&m<=Q&&(p+=m-V)}}return parseInt(p,10)}return p}(d))}}const Dc="[ \xa0]",B=new RegExp(Dc,"g");function kt(b){return b.replace(/\./g,"\\.?").replace(B,Dc)}function x(b){return b.replace(/\./g,"").replace(B," ").toLowerCase()}function C(b,p){return null===b?null:{regex:RegExp(b.map(kt).join("|")),deser:([d])=>b.findIndex(m=>x(d)===x(m))+p}}function F(b,p){return{regex:b,deser:([,d,m])=>ta(d,m),groups:p}}function pt(b){return{regex:b,deser:([p])=>p}}function It(b){return b.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}const Be={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let ze=null;function Zr(b,p){return Array.prototype.concat(...b.map(d=>function _r(b,p){if(b.literal)return b;const m=fo(co.macroTokenToFormatOpts(b.val),p);return null==m||m.includes(void 0)?b:m}(d,p)))}class Ir{constructor(p,d){if(this.locale=p,this.format=d,this.tokens=Zr(co.parseFormat(d),p),this.units=this.tokens.map(m=>function ce(b,p){const d=no(p),m=no(p,"{2}"),D=no(p,"{3}"),V=no(p,"{4}"),Q=no(p,"{6}"),yt=no(p,"{1,2}"),Vt=no(p,"{1,3}"),ye=no(p,"{1,6}"),lr=no(p,"{1,9}"),wr=no(p,"{2,4}"),bo=no(p,"{4,6}"),Vr=un=>({regex:RegExp(It(un.val)),deser:([li])=>li,literal:!0}),rn=(un=>{if(b.literal)return Vr(un);switch(un.val){case"G":return C(p.eras("short"),0);case"GG":return C(p.eras("long"),0);case"y":return hn(ye);case"yy":case"kk":return hn(wr,On);case"yyyy":case"kkkk":return hn(V);case"yyyyy":return hn(bo);case"yyyyyy":return hn(Q);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return hn(yt);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return hn(m);case"MMM":return C(p.months("short",!0),1);case"MMMM":return C(p.months("long",!0),1);case"LLL":return C(p.months("short",!1),1);case"LLLL":return C(p.months("long",!1),1);case"o":case"S":return hn(Vt);case"ooo":case"SSS":return hn(D);case"u":return pt(lr);case"uu":return pt(yt);case"uuu":case"E":case"c":return hn(d);case"a":return C(p.meridiems(),0);case"EEE":return C(p.weekdays("short",!1),1);case"EEEE":return C(p.weekdays("long",!1),1);case"ccc":return C(p.weekdays("short",!0),1);case"cccc":return C(p.weekdays("long",!0),1);case"Z":case"ZZ":return F(new RegExp(`([+-]${yt.source})(?::(${m.source}))?`),2);case"ZZZ":return F(new RegExp(`([+-]${yt.source})(${m.source})?`),2);case"z":return pt(/[a-z_+-/]{1,256}?/i);case" ":return pt(/[^\S\n\r]/);default:return Vr(un)}})(b)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return rn.token=b,rn}(m,p)),this.disqualifyingUnit=this.units.find(m=>m.invalidReason),!this.disqualifyingUnit){const[m,D]=function Ze(b){return[`^${b.map(d=>d.regex).reduce((d,m)=>`${d}(${m.source})`,"")}$`,b]}(this.units);this.regex=RegExp(m,"i"),this.handlers=D}}explainFromTokens(p){if(this.isValid){const[d,m]=function sr(b,p,d){const m=b.match(p);if(m){const D={};let V=1;for(const Q in d)if(Ti(d,Q)){const yt=d[Q],Vt=yt.groups?yt.groups+1:1;!yt.literal&&yt.token&&(D[yt.token.val[0]]=yt.deser(m.slice(V,V+Vt))),V+=Vt}return[m,D]}return[m,{}]}(p,this.regex,this.handlers),[D,V,Q]=m?function Rr(b){let m,d=null;return Uo(b.z)||(d=fr.create(b.z)),Uo(b.Z)||(d||(d=new Po(b.Z)),m=b.Z),Uo(b.q)||(b.M=3*(b.q-1)+1),Uo(b.h)||(b.h<12&&1===b.a?b.h+=12:12===b.h&&0===b.a&&(b.h=0)),0===b.G&&b.y&&(b.y=-b.y),Uo(b.u)||(b.S=Go(b.u)),[Object.keys(b).reduce((V,Q)=>{const yt=(V=>{switch(V){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(Q);return yt&&(V[yt]=b[Q]),V},{}),d,m]}(m):[null,null,void 0];if(Ti(m,"a")&&Ti(m,"H"))throw new Ut("Can't include meridiem when specifying 24-hour format");return{input:p,tokens:this.tokens,regex:this.regex,rawMatches:d,matches:m,result:D,zone:V,specificOffset:Q}}return{input:p,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Gr(b,p,d){return new Ir(b,d).explainFromTokens(p)}function fo(b,p){if(!b)return null;const m=co.create(p,b).dtFormatter(function nr(){return ze||(ze=$o.fromMillis(1555555555555)),ze}()),D=m.formatToParts(),V=m.resolvedOptions();return D.map(Q=>function je(b,p,d){const{type:m,value:D}=b;if("literal"===m){const Vt=/^\s+$/.test(D);return{literal:!Vt,val:Vt?" ":D}}let Q=m;"hour"===m&&(Q=null!=p.hour12?p.hour12?"hour12":"hour24":null!=p.hourCycle?"h11"===p.hourCycle||"h12"===p.hourCycle?"hour12":"hour24":d.hour12?"hour12":"hour24");let yt=Be[Q];if("object"==typeof yt&&(yt=yt[p[m]]),yt)return{literal:!1,val:yt}}(Q,b,V))}const jr="Invalid DateTime",So=864e13;function Oo(b){return new ae("unsupported zone",`the zone "${b.name}" is not supported`)}function Yr(b){return null===b.weekData&&(b.weekData=qr(b.c)),b.weekData}function tn(b){return null===b.localWeekData&&(b.localWeekData=qr(b.c,b.loc.getMinDaysInFirstWeek(),b.loc.getStartOfWeek())),b.localWeekData}function Xo(b,p){const d={ts:b.ts,zone:b.zone,c:b.c,o:b.o,loc:b.loc,invalid:b.invalid};return new $o({...d,...p,old:d})}function Cn(b,p,d){let m=b-60*p*1e3;const D=d.offset(m);if(p===D)return[m,p];m-=60*(D-p)*1e3;const V=d.offset(m);return D===V?[m,D]:[b-60*Math.min(D,V)*1e3,Math.max(D,V)]}function qo(b,p){const d=new Date(b+=60*p*1e3);return{year:d.getUTCFullYear(),month:d.getUTCMonth()+1,day:d.getUTCDate(),hour:d.getUTCHours(),minute:d.getUTCMinutes(),second:d.getUTCSeconds(),millisecond:d.getUTCMilliseconds()}}function vn(b,p,d){return Cn(Ua(b),p,d)}function Di(b,p){const d=b.o,m=b.c.year+Math.trunc(p.years),D=b.c.month+Math.trunc(p.months)+3*Math.trunc(p.quarters),V={...b.c,year:m,month:D,day:Math.min(b.c.day,ri(m,D))+Math.trunc(p.days)+7*Math.trunc(p.weeks)},Q=Un.fromObject({years:p.years-Math.trunc(p.years),quarters:p.quarters-Math.trunc(p.quarters),months:p.months-Math.trunc(p.months),weeks:p.weeks-Math.trunc(p.weeks),days:p.days-Math.trunc(p.days),hours:p.hours,minutes:p.minutes,seconds:p.seconds,milliseconds:p.milliseconds}).as("milliseconds"),yt=Ua(V);let[Vt,ye]=Cn(yt,d,b.zone);return 0!==Q&&(Vt+=Q,ye=b.zone.offset(Vt)),{ts:Vt,o:ye}}function ii(b,p,d,m,D,V){const{setZone:Q,zone:yt}=d;if(b&&0!==Object.keys(b).length||p){const Vt=p||yt,ye=$o.fromObject(b,{...d,zone:Vt,specificOffset:V});return Q?ye:ye.setZone(yt)}return $o.invalid(new ae("unparsable",`the input "${D}" can't be parsed as ${m}`))}function Gi(b,p,d=!0){return b.isValid?co.create(Yo.create("en-US"),{allowZ:d,forceSimple:!0}).formatDateTimeFromString(b,p):null}function Mo(b,p){const d=b.c.year>9999||b.c.year<0;let m="";return d&&b.c.year>=0&&(m+="+"),m+=Tn(b.c.year,d?6:4),p?(m+="-",m+=Tn(b.c.month),m+="-",m+=Tn(b.c.day)):(m+=Tn(b.c.month),m+=Tn(b.c.day)),m}function lo(b,p,d,m,D,V){let Q=Tn(b.c.hour);return p?(Q+=":",Q+=Tn(b.c.minute),(0!==b.c.millisecond||0!==b.c.second||!d)&&(Q+=":")):Q+=Tn(b.c.minute),(0!==b.c.millisecond||0!==b.c.second||!d)&&(Q+=Tn(b.c.second),(0!==b.c.millisecond||!m)&&(Q+=".",Q+=Tn(b.c.millisecond,3))),D&&(b.isOffsetFixed&&0===b.offset&&!V?Q+="Z":b.o<0?(Q+="-",Q+=Tn(Math.trunc(-b.o/60)),Q+=":",Q+=Tn(Math.trunc(-b.o%60))):(Q+="+",Q+=Tn(Math.trunc(b.o/60)),Q+=":",Q+=Tn(Math.trunc(b.o%60)))),V&&(Q+="["+b.zone.ianaName+"]"),Q}const wn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Pn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},mo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Ii=["year","month","day","hour","minute","second","millisecond"],oa=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Ui=["year","ordinal","hour","minute","second","millisecond"];function ba(b){switch(b.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function bs(b){const p={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[b.toLowerCase()];if(!p)throw new Ae(b);return p}(b)}}function Lo(b,p){const d=ni(p.zone,Ct.defaultZone);if(!d.isValid)return $o.invalid(Oo(d));const m=Yo.fromObject(p);let D,V;if(Uo(b.year))D=Ct.now();else{for(const Vt of Ii)Uo(b[Vt])&&(b[Vt]=wn[Vt]);const Q=Ai(b)||zn(b);if(Q)return $o.invalid(Q);const yt=function xi(b){return la[b]||(void 0===Wa&&(Wa=Ct.now()),la[b]=b.offset(Wa)),la[b]}(d);[D,V]=vn(b,yt,d)}return new $o({ts:D,zone:d,loc:m,o:V})}function ui(b,p,d){const m=!!Uo(d.round)||d.round,D=(Q,yt)=>(Q=pa(Q,m||d.calendary?0:2,!0),p.loc.clone(d).relFormatter(d).format(Q,yt)),V=Q=>d.calendary?p.hasSame(b,Q)?0:p.startOf(Q).diff(b.startOf(Q),Q).get(Q):p.diff(b,Q).get(Q);if(d.unit)return D(V(d.unit),d.unit);for(const Q of d.units){const yt=V(Q);if(Math.abs(yt)>=1)return D(yt,Q)}return D(b>p?-0:0,d.units[d.units.length-1])}function Oi(b){let d,p={};return b.length>0&&"object"==typeof b[b.length-1]?(p=b[b.length-1],d=Array.from(b).slice(0,b.length-1)):d=Array.from(b),[p,d]}let Wa,la={};class $o{constructor(p){const d=p.zone||Ct.defaultZone;let m=p.invalid||(Number.isNaN(p.ts)?new ae("invalid input"):null)||(d.isValid?null:Oo(d));this.ts=Uo(p.ts)?Ct.now():p.ts;let D=null,V=null;if(!m)if(p.old&&p.old.ts===this.ts&&p.old.zone.equals(d))[D,V]=[p.old.c,p.old.o];else{const yt=jn(p.o)&&!p.old?p.o:d.offset(this.ts);D=qo(this.ts,yt),m=Number.isNaN(D.year)?new ae("invalid input"):null,D=m?null:D,V=m?null:yt}this._zone=d,this.loc=p.loc||Yo.create(),this.invalid=m,this.weekData=null,this.localWeekData=null,this.c=D,this.o=V,this.isLuxonDateTime=!0}static now(){return new $o({})}static local(){const[p,d]=Oi(arguments),[m,D,V,Q,yt,Vt,ye]=d;return Lo({year:m,month:D,day:V,hour:Q,minute:yt,second:Vt,millisecond:ye},p)}static utc(){const[p,d]=Oi(arguments),[m,D,V,Q,yt,Vt,ye]=d;return p.zone=Po.utcInstance,Lo({year:m,month:D,day:V,hour:Q,minute:yt,second:Vt,millisecond:ye},p)}static fromJSDate(p,d={}){const m=function Fa(b){return"[object Date]"===Object.prototype.toString.call(b)}(p)?p.valueOf():NaN;if(Number.isNaN(m))return $o.invalid("invalid input");const D=ni(d.zone,Ct.defaultZone);return D.isValid?new $o({ts:m,zone:D,loc:Yo.fromObject(d)}):$o.invalid(Oo(D))}static fromMillis(p,d={}){if(jn(p))return p<-So||p>So?$o.invalid("Timestamp out of range"):new $o({ts:p,zone:ni(d.zone,Ct.defaultZone),loc:Yo.fromObject(d)});throw new Xt(`fromMillis requires a numerical input, but received a ${typeof p} with value ${p}`)}static fromSeconds(p,d={}){if(jn(p))return new $o({ts:1e3*p,zone:ni(d.zone,Ct.defaultZone),loc:Yo.fromObject(d)});throw new Xt("fromSeconds requires a numerical input")}static fromObject(p,d={}){p=p||{};const m=ni(d.zone,Ct.defaultZone);if(!m.isValid)return $o.invalid(Oo(m));const D=Yo.fromObject(d),V=fa(p,ba),{minDaysInFirstWeek:Q,startOfWeek:yt}=po(V,D),Vt=Ct.now(),ye=Uo(d.specificOffset)?m.offset(Vt):d.specificOffset,lr=!Uo(V.ordinal),wr=!Uo(V.year),bo=!Uo(V.month)||!Uo(V.day),Vr=wr||bo,ho=V.weekYear||V.weekNumber;if((Vr||lr)&&ho)throw new Ut("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(bo&&lr)throw new Ut("Can't mix ordinal dates with month/day");const rn=ho||V.weekday&&!Vr;let un,li,Qi=qo(Vt,ye);rn?(un=oa,li=Pn,Qi=qr(Qi,Q,yt)):lr?(un=Ui,li=mo,Qi=ko(Qi)):(un=Ii,li=wn);let Qa=!1;for(const ac of un)Uo(V[ac])?V[ac]=Qa?li[ac]:Qi[ac]:Qa=!0;const Oa=rn?function io(b,p=4,d=1){const m=Ki(b.weekYear),D=ti(b.weekNumber,1,xa(b.weekYear,p,d)),V=ti(b.weekday,1,7);return m?D?!V&&or("weekday",b.weekday):or("week",b.weekNumber):or("weekYear",b.weekYear)}(V,Q,yt):lr?function Jn(b){const p=Ki(b.year),d=ti(b.ordinal,1,Bn(b.year));return p?!d&&or("ordinal",b.ordinal):or("year",b.year)}(V):Ai(V),ic=Oa||zn(V);if(ic)return $o.invalid(ic);const wc=rn?to(V,Q,yt):lr?To(V):V,[ss,Es]=vn(wc,ye,m),Cs=new $o({ts:ss,zone:m,o:Es,loc:D});return V.weekday&&Vr&&p.weekday!==Cs.weekday?$o.invalid("mismatched weekday",`you can't specify both a weekday of ${V.weekday} and a date of ${Cs.toISO()}`):Cs.isValid?Cs:$o.invalid(Cs.invalid)}static fromISO(p,d={}){const[m,D]=function Ri(b){return Ln(b,[en,Ss],[ea,sa],[Hi,xc],[Ks,As])}(p);return ii(m,D,d,"ISO 8601",p)}static fromRFC2822(p,d={}){const[m,D]=function _c(b){return Ln(function ka(b){return b.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(b),[bn,Bs])}(p);return ii(m,D,d,"RFC 2822",p)}static fromHTTP(p,d={}){const[m,D]=function Fc(b){return Ln(b,[ps,sn],[rd,sn],[rl,Bi])}(p);return ii(m,D,d,"HTTP",d)}static fromFormat(p,d,m={}){if(Uo(p)||Uo(d))throw new Xt("fromFormat requires an input string and a format");const{locale:D=null,numberingSystem:V=null}=m,Q=Yo.fromOpts({locale:D,numberingSystem:V,defaultToEN:!0}),[yt,Vt,ye,lr]=function Jr(b,p,d){const{result:m,zone:D,specificOffset:V,invalidReason:Q}=Gr(b,p,d);return[m,D,V,Q]}(Q,p,d);return lr?$o.invalid(lr):ii(yt,Vt,m,`format ${d}`,p,ye)}static fromString(p,d,m={}){return $o.fromFormat(p,d,m)}static fromSQL(p,d={}){const[m,D]=function Us(b){return Ln(b,[Cc,Ss],[Bc,za])}(p);return ii(m,D,d,"SQL",p)}static invalid(p,d=null){if(!p)throw new Xt("need to specify a reason the DateTime is invalid");const m=p instanceof ae?p:new ae(p,d);if(Ct.throwOnInvalid)throw new ke(m);return new $o({invalid:m})}static isDateTime(p){return p&&p.isLuxonDateTime||!1}static parseFormatForOpts(p,d={}){const m=fo(p,Yo.fromObject(d));return m?m.map(D=>D?D.val:null).join(""):null}static expandFormat(p,d={}){return Zr(co.parseFormat(p),Yo.fromObject(d)).map(D=>D.val).join("")}static resetCache(){Wa=void 0,la={}}get(p){return this[p]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Yr(this).weekYear:NaN}get weekNumber(){return this.isValid?Yr(this).weekNumber:NaN}get weekday(){return this.isValid?Yr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?tn(this).weekday:NaN}get localWeekNumber(){return this.isValid?tn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?tn(this).weekYear:NaN}get ordinal(){return this.isValid?ko(this.c).ordinal:NaN}get monthShort(){return this.isValid?gs.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?gs.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?gs.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?gs.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const p=864e5,d=6e4,m=Ua(this.c),D=this.zone.offset(m-p),V=this.zone.offset(m+p),Q=this.zone.offset(m-D*d),yt=this.zone.offset(m-V*d);if(Q===yt)return[this];const Vt=m-Q*d,ye=m-yt*d,lr=qo(Vt,Q),wr=qo(ye,yt);return lr.hour===wr.hour&&lr.minute===wr.minute&&lr.second===wr.second&&lr.millisecond===wr.millisecond?[Xo(this,{ts:Vt}),Xo(this,{ts:ye})]:[this]}get isInLeapYear(){return ei(this.year)}get daysInMonth(){return ri(this.year,this.month)}get daysInYear(){return this.isValid?Bn(this.year):NaN}get weeksInWeekYear(){return this.isValid?xa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?xa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(p={}){const{locale:d,numberingSystem:m,calendar:D}=co.create(this.loc.clone(p),p).resolvedOptions(this);return{locale:d,numberingSystem:m,outputCalendar:D}}toUTC(p=0,d={}){return this.setZone(Po.instance(p),d)}toLocal(){return this.setZone(Ct.defaultZone)}setZone(p,{keepLocalTime:d=!1,keepCalendarTime:m=!1}={}){if((p=ni(p,Ct.defaultZone)).equals(this.zone))return this;if(p.isValid){let D=this.ts;if(d||m){const V=p.offset(this.ts),Q=this.toObject();[D]=vn(Q,V,p)}return Xo(this,{ts:D,zone:p})}return $o.invalid(Oo(p))}reconfigure({locale:p,numberingSystem:d,outputCalendar:m}={}){return Xo(this,{loc:this.loc.clone({locale:p,numberingSystem:d,outputCalendar:m})})}setLocale(p){return this.reconfigure({locale:p})}set(p){if(!this.isValid)return this;const d=fa(p,ba),{minDaysInFirstWeek:m,startOfWeek:D}=po(d,this.loc),V=!Uo(d.weekYear)||!Uo(d.weekNumber)||!Uo(d.weekday),Q=!Uo(d.ordinal),yt=!Uo(d.year),Vt=!Uo(d.month)||!Uo(d.day);if((yt||Vt||Q)&&(d.weekYear||d.weekNumber))throw new Ut("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(Vt&&Q)throw new Ut("Can't mix ordinal dates with month/day");let wr;V?wr=to({...qr(this.c,m,D),...d},m,D):Uo(d.ordinal)?(wr={...this.toObject(),...d},Uo(d.day)&&(wr.day=Math.min(ri(wr.year,wr.month),wr.day))):wr=To({...ko(this.c),...d});const[bo,Vr]=vn(wr,this.o,this.zone);return Xo(this,{ts:bo,o:Vr})}plus(p){return this.isValid?Xo(this,Di(this,Un.fromDurationLike(p))):this}minus(p){return this.isValid?Xo(this,Di(this,Un.fromDurationLike(p).negate())):this}startOf(p,{useLocaleWeeks:d=!1}={}){if(!this.isValid)return this;const m={},D=Un.normalizeUnit(p);switch(D){case"years":m.month=1;case"quarters":case"months":m.day=1;case"weeks":case"days":m.hour=0;case"hours":m.minute=0;case"minutes":m.second=0;case"seconds":m.millisecond=0}if("weeks"===D)if(d){const V=this.loc.getStartOfWeek(),{weekday:Q}=this;Qthis.valueOf(),ye=function ca(b,p,d,m){let[D,V,Q,yt]=function Is(b,p,d){const m=[["years",(Vt,ye)=>ye.year-Vt.year],["quarters",(Vt,ye)=>ye.quarter-Vt.quarter+4*(ye.year-Vt.year)],["months",(Vt,ye)=>ye.month-Vt.month+12*(ye.year-Vt.year)],["weeks",(Vt,ye)=>{const lr=lc(Vt,ye);return(lr-lr%7)/7}],["days",lc]],D={},V=b;let Q,yt;for(const[Vt,ye]of m)d.indexOf(Vt)>=0&&(Q=Vt,D[Vt]=ye(b,p),yt=V.plus(D),yt>p?(D[Vt]--,(b=V.plus(D))>p&&(yt=b,D[Vt]--,b=V.plus(D))):b=yt);return[b,D,yt,Q]}(b,p,d);const Vt=p-D,ye=d.filter(wr=>["hours","minutes","seconds","milliseconds"].indexOf(wr)>=0);0===ye.length&&(Q0?Un.fromMillis(Vt,m).shiftTo(...ye).plus(lr):lr}(Q?this:p,Q?p:this,V,D);return Q?ye.negate():ye}diffNow(p="milliseconds",d={}){return this.diff($o.now(),p,d)}until(p){return this.isValid?mi.fromDateTimes(this,p):this}hasSame(p,d,m){if(!this.isValid)return!1;const D=p.valueOf(),V=this.setZone(p.zone,{keepLocalTime:!0});return V.startOf(d,m)<=D&&D<=V.endOf(d,m)}equals(p){return this.isValid&&p.isValid&&this.valueOf()===p.valueOf()&&this.zone.equals(p.zone)&&this.loc.equals(p.loc)}toRelative(p={}){if(!this.isValid)return null;const d=p.base||$o.fromObject({},{zone:this.zone}),m=p.padding?thisd.valueOf(),Math.min)}static max(...p){if(!p.every($o.isDateTime))throw new Xt("max requires all arguments be DateTimes");return da(p,d=>d.valueOf(),Math.max)}static fromFormatExplain(p,d,m={}){const{locale:D=null,numberingSystem:V=null}=m;return Gr(Yo.fromOpts({locale:D,numberingSystem:V,defaultToEN:!0}),p,d)}static fromStringExplain(p,d,m={}){return $o.fromFormatExplain(p,d,m)}static buildFormatParser(p,d={}){const{locale:m=null,numberingSystem:D=null}=d,V=Yo.fromOpts({locale:m,numberingSystem:D,defaultToEN:!0});return new Ir(V,p)}static fromFormatParser(p,d,m={}){if(Uo(p)||Uo(d))throw new Xt("fromFormatParser requires an input string and a format parser");const{locale:D=null,numberingSystem:V=null}=m,Q=Yo.fromOpts({locale:D,numberingSystem:V,defaultToEN:!0});if(!Q.equals(d.locale))throw new Xt(`fromFormatParser called with a locale of ${Q}, but the format parser was created for ${d.locale}`);const{result:yt,zone:Vt,specificOffset:ye,invalidReason:lr}=d.explainFromTokens(p);return lr?$o.invalid(lr):ii(yt,Vt,m,`format ${d.format}`,p,ye)}static get DATE_SHORT(){return Bt}static get DATE_MED(){return Zt}static get DATE_MED_WITH_WEEKDAY(){return Ot}static get DATE_FULL(){return le}static get DATE_HUGE(){return qt}static get TIME_SIMPLE(){return Ve}static get TIME_WITH_SECONDS(){return Ht}static get TIME_WITH_SHORT_OFFSET(){return Me}static get TIME_WITH_LONG_OFFSET(){return Ke}static get TIME_24_SIMPLE(){return Fe}static get TIME_24_WITH_SECONDS(){return Or}static get TIME_24_WITH_SHORT_OFFSET(){return yo}static get TIME_24_WITH_LONG_OFFSET(){return dr}static get DATETIME_SHORT(){return Nt}static get DATETIME_SHORT_WITH_SECONDS(){return we}static get DATETIME_MED(){return de}static get DATETIME_MED_WITH_SECONDS(){return Ie}static get DATETIME_MED_WITH_WEEKDAY(){return br}static get DATETIME_FULL(){return gt}static get DATETIME_FULL_WITH_SECONDS(){return $}static get DATETIME_HUGE(){return Y}static get DATETIME_HUGE_WITH_SECONDS(){return it}}function Si(b){if($o.isDateTime(b))return b;if(b&&b.valueOf&&jn(b.valueOf()))return $o.fromJSDate(b);if(b&&"object"==typeof b)return $o.fromObject(b);throw new Xt(`Unknown datetime argument: ${b}, of type ${typeof b}`)}const ws=new c.nKC("MAT_LUXON_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function El(){return{useUtc:!1,firstDayOfWeek:0,defaultOutputCalendar:"gregory"}}});let il=(()=>{class b extends Xe.MJ{constructor(d,m){super(),this._useUTC=!!m?.useUtc,this._firstDayOfWeek=m?.firstDayOfWeek||0,this._defaultOutputCalendar=m?.defaultOutputCalendar||"gregory",this.setLocale(d||$o.local().locale)}getYear(d){return d.year}getMonth(d){return d.month-1}getDate(d){return d.day}getDayOfWeek(d){return d.weekday}getMonthNames(d){return gs.months(d,{locale:this.locale,outputCalendar:this._defaultOutputCalendar})}getDateNames(){const d=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return function Uc(b,p){const d=Array(b);for(let m=0;md.format($o.utc(2017,1,m+1).toJSDate()))}getDayOfWeekNames(d){const m=gs.weekdays(d,{locale:this.locale});return m.unshift(m.pop()),m}getYearName(d){return d.toFormat("yyyy",this._getOptions())}getFirstDayOfWeek(){return this._firstDayOfWeek}getNumDaysInMonth(d){return d.daysInMonth}clone(d){return $o.fromObject(d.toObject(),this._getOptions())}createDate(d,m,D){const V=this._getOptions();if(m<0||m>11)throw Error(`Invalid month index "${m}". Month index has to be between 0 and 11.`);if(D<1)throw Error(`Invalid date "${D}". Date has to be greater than 0.`);const Q=this._useUTC?$o.utc(d,m+1,D,V):$o.local(d,m+1,D,V);if(!this.isValid(Q))throw Error(`Invalid date "${D}". Reason: "${Q.invalidReason}".`);return Q}today(){const d=this._getOptions();return this._useUTC?$o.utc(d):$o.local(d)}parse(d,m){const D=this._getOptions();if("string"==typeof d&&d.length>0){const V=$o.fromISO(d,D);if(this.isValid(V))return V;const Q=Array.isArray(m)?m:[m];if(!m.length)throw Error("Formats array must not be empty.");for(const yt of Q){const Vt=$o.fromFormat(d,yt,D);if(this.isValid(Vt))return Vt}return this.invalid()}return"number"==typeof d?$o.fromMillis(d,D):d instanceof Date?$o.fromJSDate(d,D):d instanceof $o?$o.fromMillis(d.toMillis(),D):null}format(d,m){if(!this.isValid(d))throw Error("LuxonDateAdapter: Cannot format invalid date.");return this._useUTC?d.setLocale(this.locale).setZone("utc").toFormat(m):d.setLocale(this.locale).toFormat(m)}addCalendarYears(d,m){return d.reconfigure(this._getOptions()).plus({years:m})}addCalendarMonths(d,m){return d.reconfigure(this._getOptions()).plus({months:m})}addCalendarDays(d,m){return d.reconfigure(this._getOptions()).plus({days:m})}toIso8601(d){return d.toISO()}deserialize(d){const m=this._getOptions();let D;if(d instanceof Date&&(D=$o.fromJSDate(d,m)),"string"==typeof d){if(!d)return null;D=$o.fromISO(d,m)}return D&&this.isValid(D)?D:super.deserialize(d)}isDateInstance(d){return d instanceof $o}isValid(d){return d.isValid}invalid(){return $o.invalid("Invalid Luxon DateTime object.")}_getOptions(){return{zone:this._useUTC?"utc":void 0,locale:this.locale,outputCalendar:this._defaultOutputCalendar}}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Xe.Ju,8),c.KVO(ws,8))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})();var Ho=r(9969);function N(b){return new c.wOt(3e3,!1)}function Qs(b){switch(b.length){case 0:return new Ho.sf;case 1:return b[0];default:return new Ho.ui(b)}}function Md(b,p,d=new Map,m=new Map){const D=[],V=[];let Q=-1,yt=null;if(p.forEach(Vt=>{const ye=Vt.get("offset"),lr=ye==Q,wr=lr&&yt||new Map;Vt.forEach((bo,Vr)=>{let ho=Vr,rn=bo;if("offset"!==Vr)switch(ho=b.normalizePropertyName(ho,D),rn){case Ho.FX:rn=d.get(Vr);break;case Ho.kp:rn=m.get(Vr);break;default:rn=b.normalizeStyleValue(Vr,ho,rn,D)}wr.set(ho,rn)}),lr||V.push(wr),yt=wr,Q=ye}),D.length)throw function $p(){return new c.wOt(3502,!1)}();return V}function xs(b,p,d,m){switch(p){case"start":b.onStart(()=>m(d&&Od(d,"start",b)));break;case"done":b.onDone(()=>m(d&&Od(d,"done",b)));break;case"destroy":b.onDestroy(()=>m(d&&Od(d,"destroy",b)))}}function Od(b,p,d){const V=Rd(b.element,b.triggerName,b.fromState,b.toState,p||b.phaseName,d.totalTime??b.totalTime,!!d.disabled),Q=b._data;return null!=Q&&(V._data=Q),V}function Rd(b,p,d,m,D="",V=0,Q){return{element:b,triggerName:p,fromState:d,toState:m,phaseName:D,totalTime:V,disabled:!!Q}}function _s(b,p,d){let m=b.get(p);return m||b.set(p,m=d),m}function id(b){const p=b.indexOf(":");return[b.substring(1,p),b.slice(p+1)]}const Lu=typeof document>"u"?null:document.documentElement;function Al(b){const p=b.parentNode||b.host||null;return p===Lu?null:p}let qs=null,js=!1;function Fu(b,p){for(;p;){if(p===b)return!0;p=Al(p)}return!1}function zp(b,p,d){if(d)return Array.from(b.querySelectorAll(p));const m=b.querySelector(p);return m?[m]:[]}let Pd=(()=>{class b{validateStyleProperty(d){return function gn(b){qs||(qs=function Pu(){return typeof document<"u"?document.body:null}()||{},js=!!qs.style&&"WebkitAppearance"in qs.style);let p=!0;return qs.style&&!function Nd(b){return"ebkit"==b.substring(1,6)}(b)&&(p=b in qs.style,!p&&js&&(p="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in qs.style)),p}(d)}containsElement(d,m){return Fu(d,m)}getParentElement(d){return Al(d)}query(d,m,D){return zp(d,m,D)}computeStyle(d,m,D){return D||""}animate(d,m,D,V,Q,yt=[],Vt){return new Ho.sf(D,V)}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})();class Fd{static{this.NOOP=new Pd}}class ad{}const Hp=1e3,Bu="ng-enter",Bd="ng-leave",Nr="ng-trigger",Dn=".ng-trigger",Uu="ng-animating",Ud=".ng-animating";function Xn(b){if("number"==typeof b)return b;const p=b.match(/^(-?[\.\d]+)(m?s)/);return!p||p.length<2?0:$d(parseFloat(p[1]),p[2])}function $d(b,p){return"s"===p?b*Hp:b}function jc(b,p,d){return b.hasOwnProperty("duration")?b:function Js(b,p,d){let D,V=0,Q="";if("string"==typeof b){const yt=b.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===yt)return p.push(N()),{duration:0,delay:0,easing:""};D=$d(parseFloat(yt[1]),yt[2]);const Vt=yt[3];null!=Vt&&(V=$d(parseFloat(Vt),yt[4]));const ye=yt[5];ye&&(Q=ye)}else D=b;if(!d){let yt=!1,Vt=p.length;D<0&&(p.push(function z(){return new c.wOt(3100,!1)}()),yt=!0),V<0&&(p.push(function P(){return new c.wOt(3101,!1)}()),yt=!0),yt&&p.splice(Vt,0,N())}return{duration:D,delay:V,easing:Q}}(b,p,d)}function tc(b,p,d){p.forEach((m,D)=>{const V=Hd(D);d&&!d.has(D)&&d.set(D,b.style[V]),b.style[V]=m})}function Tl(b,p){p.forEach((d,m)=>{const D=Hd(m);b.style[D]=""})}function Vd(b){return Array.isArray(b)?1==b.length?b[0]:(0,Ho.K2)(b):b}const zd=new RegExp("{{\\s*(.+?)\\s*}}","g");function ju(b){let p=[];if("string"==typeof b){let d;for(;d=zd.exec(b);)p.push(d[1]);zd.lastIndex=0}return p}function ga(b,p,d){const m=`${b}`,D=m.replace(zd,(V,Q)=>{let yt=p[Q];return null==yt&&(d.push(function mt(){return new c.wOt(3003,!1)}()),yt=""),yt.toString()});return D==m?b:D}const Ac=/-+([a-z0-9])/g;function Hd(b){return b.replace(Ac,(...p)=>p[1].toUpperCase())}function ks(b,p,d){switch(p.type){case Ho.If.Trigger:return b.visitTrigger(p,d);case Ho.If.State:return b.visitState(p,d);case Ho.If.Transition:return b.visitTransition(p,d);case Ho.If.Sequence:return b.visitSequence(p,d);case Ho.If.Group:return b.visitGroup(p,d);case Ho.If.Animate:return b.visitAnimate(p,d);case Ho.If.Keyframes:return b.visitKeyframes(p,d);case Ho.If.Style:return b.visitStyle(p,d);case Ho.If.Reference:return b.visitReference(p,d);case Ho.If.AnimateChild:return b.visitAnimateChild(p,d);case Ho.If.AnimateRef:return b.visitAnimateRef(p,d);case Ho.If.Query:return b.visitQuery(p,d);case Ho.If.Stagger:return b.visitStagger(p,d);default:throw function Wt(){return new c.wOt(3004,!1)}()}}function Vu(b,p){return window.getComputedStyle(b)[p]}const Gp=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class sd extends ad{normalizePropertyName(p,d){return Hd(p)}normalizeStyleValue(p,d,m,D){let V="";const Q=m.toString().trim();if(Gp.has(d)&&0!==m&&"0"!==m)if("number"==typeof m)V="px";else{const yt=m.match(/^[+-]?[\d\.]+([a-z]*)$/);yt&&0==yt[1].length&&D.push(function Te(){return new c.wOt(3005,!1)}())}return Q+V}}const ld="*";const Ml=new Set(["true","1"]),Wd=new Set(["false","0"]);function wa(b,p){const d=Ml.has(b)||Wd.has(b),m=Ml.has(p)||Wd.has(p);return(D,V)=>{let Q=b==ld||b==D,yt=p==ld||p==V;return!Q&&d&&"boolean"==typeof D&&(Q=D?Ml.has(b):Wd.has(b)),!yt&&m&&"boolean"==typeof V&&(yt=V?Ml.has(p):Wd.has(p)),Q&&yt}}const Ni=new RegExp("s*:selfs*,?","g");function Kd(b,p,d,m){return new eh(b).build(p,d,m)}class eh{constructor(p){this._driver=p}build(p,d,m){const D=new oh(d);return this._resetContextStyleTimingState(D),ks(this,Vd(p),D)}_resetContextStyleTimingState(p){p.currentQuerySelector="",p.collectedStyles=new Map,p.collectedStyles.set("",new Map),p.currentTime=0}visitTrigger(p,d){let m=d.queryCount=0,D=d.depCount=0;const V=[],Q=[];return"@"==p.name.charAt(0)&&d.errors.push(function Sr(){return new c.wOt(3006,!1)}()),p.definitions.forEach(yt=>{if(this._resetContextStyleTimingState(d),yt.type==Ho.If.State){const Vt=yt,ye=Vt.name;ye.toString().split(/\s*,\s*/).forEach(lr=>{Vt.name=lr,V.push(this.visitState(Vt,d))}),Vt.name=ye}else if(yt.type==Ho.If.Transition){const Vt=this.visitTransition(yt,d);m+=Vt.queryCount,D+=Vt.depCount,Q.push(Vt)}else d.errors.push(function pr(){return new c.wOt(3007,!1)}())}),{type:Ho.If.Trigger,name:p.name,states:V,transitions:Q,queryCount:m,depCount:D,options:null}}visitState(p,d){const m=this.visitStyle(p.styles,d),D=p.options&&p.options.params||null;if(m.containsDynamicStyles){const V=new Set,Q=D||{};m.styles.forEach(yt=>{yt instanceof Map&&yt.forEach(Vt=>{ju(Vt).forEach(ye=>{Q.hasOwnProperty(ye)||V.add(ye)})})}),V.size&&d.errors.push(function vo(){return new c.wOt(3008,!1)}(0,V.values()))}return{type:Ho.If.State,name:p.name,style:m,options:D?{params:D}:null}}visitTransition(p,d){d.queryCount=0,d.depCount=0;const m=ks(this,Vd(p.animation),d),D=function Qp(b,p){const d=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(m=>function qp(b,p,d){if(":"==b[0]){const Vt=function Jp(b,p){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,m)=>parseFloat(m)>parseFloat(d);case":decrement":return(d,m)=>parseFloat(m) *"}}(b,d);if("function"==typeof Vt)return void p.push(Vt);b=Vt}const m=b.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==m||m.length<4)return d.push(function Ka(){return new c.wOt(3015,!1)}()),p;const D=m[1],V=m[2],Q=m[3];p.push(wa(D,Q)),"<"==V[0]&&(D!=ld||Q!=ld)&&p.push(wa(Q,D))}(m,d,p)):d.push(b),d}(p.expr,d.errors);return{type:Ho.If.Transition,matchers:D,animation:m,queryCount:d.queryCount,depCount:d.depCount,options:cl(p.options)}}visitSequence(p,d){return{type:Ho.If.Sequence,steps:p.steps.map(m=>ks(this,m,d)),options:cl(p.options)}}visitGroup(p,d){const m=d.currentTime;let D=0;const V=p.steps.map(Q=>{d.currentTime=m;const yt=ks(this,Q,d);return D=Math.max(D,d.currentTime),yt});return d.currentTime=D,{type:Ho.If.Group,steps:V,options:cl(p.options)}}visitAnimate(p,d){const m=function pc(b,p){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return Il(jc(b,p).duration,0,"");const d=b;if(d.split(/\s+/).some(V=>"{"==V.charAt(0)&&"{"==V.charAt(1))){const V=Il(0,0,"");return V.dynamic=!0,V.strValue=d,V}const D=jc(d,p);return Il(D.duration,D.delay,D.easing)}(p.timings,d.errors);d.currentAnimateTimings=m;let D,V=p.styles?p.styles:(0,Ho.iF)({});if(V.type==Ho.If.Keyframes)D=this.visitKeyframes(V,d);else{let Q=p.styles,yt=!1;if(!Q){yt=!0;const ye={};m.easing&&(ye.easing=m.easing),Q=(0,Ho.iF)(ye)}d.currentTime+=m.duration+m.delay;const Vt=this.visitStyle(Q,d);Vt.isEmptyStep=yt,D=Vt}return d.currentAnimateTimings=null,{type:Ho.If.Animate,timings:m,style:D,options:null}}visitStyle(p,d){const m=this._makeStyleAst(p,d);return this._validateStyleAst(m,d),m}_makeStyleAst(p,d){const m=[],D=Array.isArray(p.styles)?p.styles:[p.styles];for(let yt of D)"string"==typeof yt?yt===Ho.kp?m.push(yt):d.errors.push(new c.wOt(3002,!1)):m.push(new Map(Object.entries(yt)));let V=!1,Q=null;return m.forEach(yt=>{if(yt instanceof Map&&(yt.has("easing")&&(Q=yt.get("easing"),yt.delete("easing")),!V))for(let Vt of yt.values())if(Vt.toString().indexOf("{{")>=0){V=!0;break}}),{type:Ho.If.Style,styles:m,easing:Q,offset:p.offset,containsDynamicStyles:V,options:null}}_validateStyleAst(p,d){const m=d.currentAnimateTimings;let D=d.currentTime,V=d.currentTime;m&&V>0&&(V-=m.duration+m.delay),p.styles.forEach(Q=>{"string"!=typeof Q&&Q.forEach((yt,Vt)=>{const ye=d.collectedStyles.get(d.currentQuerySelector),lr=ye.get(Vt);let wr=!0;lr&&(V!=D&&V>=lr.startTime&&D<=lr.endTime&&(d.errors.push(function fn(){return new c.wOt(3010,!1)}()),wr=!1),V=lr.startTime),wr&&ye.set(Vt,{startTime:V,endTime:D}),d.options&&function Kp(b,p,d){const m=p.params||{},D=ju(b);D.length&&D.forEach(V=>{m.hasOwnProperty(V)||d.push(function K(){return new c.wOt(3001,!1)}())})}(yt,d.options,d.errors)})})}visitKeyframes(p,d){const m={type:Ho.If.Keyframes,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push(function Sa(){return new c.wOt(3011,!1)}()),m;let V=0;const Q=[];let yt=!1,Vt=!1,ye=0;const lr=p.steps.map(li=>{const Qi=this._makeStyleAst(li,d);let Qa=null!=Qi.offset?Qi.offset:function dd(b){if("string"==typeof b)return null;let p=null;if(Array.isArray(b))b.forEach(d=>{if(d instanceof Map&&d.has("offset")){const m=d;p=parseFloat(m.get("offset")),m.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const d=b;p=parseFloat(d.get("offset")),d.delete("offset")}return p}(Qi.styles),Oa=0;return null!=Qa&&(V++,Oa=Qi.offset=Qa),Vt=Vt||Oa<0||Oa>1,yt=yt||Oa0&&V{const Qa=bo>0?Qi==Vr?1:bo*Qi:Q[Qi],Oa=Qa*un;d.currentTime=ho+rn.delay+Oa,rn.duration=Oa,this._validateStyleAst(li,d),li.offset=Qa,m.styles.push(li)}),m}visitReference(p,d){return{type:Ho.If.Reference,animation:ks(this,Vd(p.animation),d),options:cl(p.options)}}visitAnimateChild(p,d){return d.depCount++,{type:Ho.If.AnimateChild,options:cl(p.options)}}visitAnimateRef(p,d){return{type:Ho.If.AnimateRef,animation:this.visitReference(p.animation,d),options:cl(p.options)}}visitQuery(p,d){const m=d.currentQuerySelector,D=p.options||{};d.queryCount++,d.currentQuery=p;const[V,Q]=function Kg(b){const p=!!b.split(/\s*,\s*/).find(d=>":self"==d);return p&&(b=b.replace(Ni,"")),b=b.replace(/@\*/g,Dn).replace(/@\w+/g,d=>Dn+"-"+d.slice(1)).replace(/:animating/g,Ud),[b,p]}(p.selector);d.currentQuerySelector=m.length?m+" "+V:V,_s(d.collectedStyles,d.currentQuerySelector,new Map);const yt=ks(this,Vd(p.animation),d);return d.currentQuery=null,d.currentQuerySelector=m,{type:Ho.If.Query,selector:V,limit:D.limit||0,optional:!!D.optional,includeSelf:Q,animation:yt,originalSelector:p.selector,options:cl(p.options)}}visitStagger(p,d){d.currentQuery||d.errors.push(function $c(){return new c.wOt(3013,!1)}());const m="full"===p.timings?{duration:0,delay:0,easing:"full"}:jc(p.timings,d.errors,!0);return{type:Ho.If.Stagger,animation:ks(this,Vd(p.animation),d),timings:m,options:null}}}class oh{constructor(p){this.errors=p,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function cl(b){return b?(b={...b}).params&&(b.params=function rh(b){return b?{...b}:null}(b.params)):b={},b}function Il(b,p,d){return{duration:b,delay:p,easing:d}}function Ol(b,p,d,m,D,V,Q=null,yt=!1){return{type:1,element:b,keyframes:p,preStyleProps:d,postStyleProps:m,duration:D,delay:V,totalTime:D+V,easing:Q,subTimeline:yt}}class ll{constructor(){this._map=new Map}get(p){return this._map.get(p)||[]}append(p,d){let m=this._map.get(p);m||this._map.set(p,m=[]),m.push(...d)}has(p){return this._map.has(p)}clear(){this._map.clear()}}const ih=new RegExp(":enter","g"),ud=new RegExp(":leave","g");function dl(b,p,d,m,D,V=new Map,Q=new Map,yt,Vt,ye=[]){return(new Gd).buildKeyframes(b,p,d,m,D,V,Q,yt,Vt,ye)}class Gd{buildKeyframes(p,d,m,D,V,Q,yt,Vt,ye,lr=[]){ye=ye||new ll;const wr=new pd(p,d,ye,D,V,lr,[]);wr.options=Vt;const bo=Vt.delay?Xn(Vt.delay):0;wr.currentTimeline.delayNextStep(bo),wr.currentTimeline.setStyles([Q],null,wr.errors,Vt),ks(this,m,wr);const Vr=wr.timelines.filter(ho=>ho.containsAnimation());if(Vr.length&&yt.size){let ho;for(let rn=Vr.length-1;rn>=0;rn--){const un=Vr[rn];if(un.element===d){ho=un;break}}ho&&!ho.allowOnlyTimelineStyles()&&ho.setStyles([yt],null,wr.errors,Vt)}return Vr.length?Vr.map(ho=>ho.buildKeyframes()):[Ol(d,[],[],[],0,bo,"",!1)]}visitTrigger(p,d){}visitState(p,d){}visitTransition(p,d){}visitAnimateChild(p,d){const m=d.subInstructions.get(d.element);if(m){const D=d.createSubContext(p.options),V=d.currentTimeline.currentTime,Q=this._visitSubInstructions(m,D,D.options);V!=Q&&d.transformIntoNewTimeline(Q)}d.previousNode=p}visitAnimateRef(p,d){const m=d.createSubContext(p.options);m.transformIntoNewTimeline(),this._applyAnimationRefDelays([p.options,p.animation.options],d,m),this.visitReference(p.animation,m),d.transformIntoNewTimeline(m.currentTimeline.currentTime),d.previousNode=p}_applyAnimationRefDelays(p,d,m){for(const D of p){const V=D?.delay;if(V){const Q="number"==typeof V?V:Xn(ga(V,D?.params??{},d.errors));m.delayNextStep(Q)}}}_visitSubInstructions(p,d,m){let V=d.currentTimeline.currentTime;const Q=null!=m.duration?Xn(m.duration):null,yt=null!=m.delay?Xn(m.delay):null;return 0!==Q&&p.forEach(Vt=>{const ye=d.appendInstructionToTimeline(Vt,Q,yt);V=Math.max(V,ye.duration+ye.delay)}),V}visitReference(p,d){d.updateOptions(p.options,!0),ks(this,p.animation,d),d.previousNode=p}visitSequence(p,d){const m=d.subContextCount;let D=d;const V=p.options;if(V&&(V.params||V.delay)&&(D=d.createSubContext(V),D.transformIntoNewTimeline(),null!=V.delay)){D.previousNode.type==Ho.If.Style&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=ul);const Q=Xn(V.delay);D.delayNextStep(Q)}p.steps.length&&(p.steps.forEach(Q=>ks(this,Q,D)),D.currentTimeline.applyStylesToKeyframe(),D.subContextCount>m&&D.transformIntoNewTimeline()),d.previousNode=p}visitGroup(p,d){const m=[];let D=d.currentTimeline.currentTime;const V=p.options&&p.options.delay?Xn(p.options.delay):0;p.steps.forEach(Q=>{const yt=d.createSubContext(p.options);V&&yt.delayNextStep(V),ks(this,Q,yt),D=Math.max(D,yt.currentTimeline.currentTime),m.push(yt.currentTimeline)}),m.forEach(Q=>d.currentTimeline.mergeTimelineCollectedStyles(Q)),d.transformIntoNewTimeline(D),d.previousNode=p}_visitTiming(p,d){if(p.dynamic){const m=p.strValue;return jc(d.params?ga(m,d.params,d.errors):m,d.errors)}return{duration:p.duration,delay:p.delay,easing:p.easing}}visitAnimate(p,d){const m=d.currentAnimateTimings=this._visitTiming(p.timings,d),D=d.currentTimeline;m.delay&&(d.incrementTime(m.delay),D.snapshotCurrentStyles());const V=p.style;V.type==Ho.If.Keyframes?this.visitKeyframes(V,d):(d.incrementTime(m.duration),this.visitStyle(V,d),D.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=p}visitStyle(p,d){const m=d.currentTimeline,D=d.currentAnimateTimings;!D&&m.hasCurrentStyleProperties()&&m.forwardFrame();const V=D&&D.easing||p.easing;p.isEmptyStep?m.applyEmptyStep(V):m.setStyles(p.styles,V,d.errors,d.options),d.previousNode=p}visitKeyframes(p,d){const m=d.currentAnimateTimings,D=d.currentTimeline.duration,V=m.duration,yt=d.createSubContext().currentTimeline;yt.easing=m.easing,p.styles.forEach(Vt=>{yt.forwardTime((Vt.offset||0)*V),yt.setStyles(Vt.styles,Vt.easing,d.errors,d.options),yt.applyStylesToKeyframe()}),d.currentTimeline.mergeTimelineCollectedStyles(yt),d.transformIntoNewTimeline(D+V),d.previousNode=p}visitQuery(p,d){const m=d.currentTimeline.currentTime,D=p.options||{},V=D.delay?Xn(D.delay):0;V&&(d.previousNode.type===Ho.If.Style||0==m&&d.currentTimeline.hasCurrentStyleProperties())&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=ul);let Q=m;const yt=d.invokeQuery(p.selector,p.originalSelector,p.limit,p.includeSelf,!!D.optional,d.errors);d.currentQueryTotal=yt.length;let Vt=null;yt.forEach((ye,lr)=>{d.currentQueryIndex=lr;const wr=d.createSubContext(p.options,ye);V&&wr.delayNextStep(V),ye===d.element&&(Vt=wr.currentTimeline),ks(this,p.animation,wr),wr.currentTimeline.applyStylesToKeyframe(),Q=Math.max(Q,wr.currentTimeline.currentTime)}),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline(Q),Vt&&(d.currentTimeline.mergeTimelineCollectedStyles(Vt),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=p}visitStagger(p,d){const m=d.parentContext,D=d.currentTimeline,V=p.timings,Q=Math.abs(V.duration),yt=Q*(d.currentQueryTotal-1);let Vt=Q*d.currentQueryIndex;switch(V.duration<0?"reverse":V.easing){case"reverse":Vt=yt-Vt;break;case"full":Vt=m.currentStaggerTime}const lr=d.currentTimeline;Vt&&lr.delayNextStep(Vt);const wr=lr.currentTime;ks(this,p.animation,d),d.previousNode=p,m.currentStaggerTime=D.currentTime-wr+(D.startTime-m.currentTimeline.startTime)}}const ul={};class pd{constructor(p,d,m,D,V,Q,yt,Vt){this._driver=p,this.element=d,this.subInstructions=m,this._enterClassName=D,this._leaveClassName=V,this.errors=Q,this.timelines=yt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ul,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Vt||new Xd(this._driver,d,0),yt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(p,d){if(!p)return;const m=p;let D=this.options;null!=m.duration&&(D.duration=Xn(m.duration)),null!=m.delay&&(D.delay=Xn(m.delay));const V=m.params;if(V){let Q=D.params;Q||(Q=this.options.params={}),Object.keys(V).forEach(yt=>{(!d||!Q.hasOwnProperty(yt))&&(Q[yt]=ga(V[yt],Q,this.errors))})}}_copyOptions(){const p={};if(this.options){const d=this.options.params;if(d){const m=p.params={};Object.keys(d).forEach(D=>{m[D]=d[D]})}}return p}createSubContext(p=null,d,m){const D=d||this.element,V=new pd(this._driver,D,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(D,m||0));return V.previousNode=this.previousNode,V.currentAnimateTimings=this.currentAnimateTimings,V.options=this._copyOptions(),V.updateOptions(p),V.currentQueryIndex=this.currentQueryIndex,V.currentQueryTotal=this.currentQueryTotal,V.parentContext=this,this.subContextCount++,V}transformIntoNewTimeline(p){return this.previousNode=ul,this.currentTimeline=this.currentTimeline.fork(this.element,p),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(p,d,m){const D={duration:d??p.duration,delay:this.currentTimeline.currentTime+(m??0)+p.delay,easing:""},V=new Gg(this._driver,p.element,p.keyframes,p.preStyleProps,p.postStyleProps,D,p.stretchStartingKeyframe);return this.timelines.push(V),D}incrementTime(p){this.currentTimeline.forwardTime(this.currentTimeline.duration+p)}delayNextStep(p){p>0&&this.currentTimeline.delayNextStep(p)}invokeQuery(p,d,m,D,V,Q){let yt=[];if(D&&yt.push(this.element),p.length>0){p=(p=p.replace(ih,"."+this._enterClassName)).replace(ud,"."+this._leaveClassName);let ye=this._driver.query(this.element,p,1!=m);0!==m&&(ye=m<0?ye.slice(ye.length+m,ye.length):ye.slice(0,m)),yt.push(...ye)}return!V&&0==yt.length&&Q.push(function Xs(){return new c.wOt(3014,!1)}()),yt}}class Xd{constructor(p,d,m,D){this._driver=p,this.element=d,this.startTime=m,this._elementTimelineStylesLookup=D,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(d),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(d,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(p){const d=1===this._keyframes.size&&this._pendingStyles.size;this.duration||d?(this.forwardTime(this.currentTime+p),d&&this.snapshotCurrentStyles()):this.startTime+=p}fork(p,d){return this.applyStylesToKeyframe(),new Xd(this._driver,p,d||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(p){this.applyStylesToKeyframe(),this.duration=p,this._loadKeyframe()}_updateStyle(p,d){this._localTimelineStyles.set(p,d),this._globalTimelineStyles.set(p,d),this._styleSummary.set(p,{time:this.currentTime,value:d})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(p){p&&this._previousKeyframe.set("easing",p);for(let[d,m]of this._globalTimelineStyles)this._backFill.set(d,m||Ho.kp),this._currentKeyframe.set(d,Ho.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(p,d,m,D){d&&this._previousKeyframe.set("easing",d);const V=D&&D.params||{},Q=function Cm(b,p){const d=new Map;let m;return b.forEach(D=>{if("*"===D){m??=p.keys();for(let V of m)d.set(V,Ho.kp)}else for(let[V,Q]of D)d.set(V,Q)}),d}(p,this._globalTimelineStyles);for(let[yt,Vt]of Q){const ye=ga(Vt,V,m);this._pendingStyles.set(yt,ye),this._localTimelineStyles.has(yt)||this._backFill.set(yt,this._globalTimelineStyles.get(yt)??Ho.kp),this._updateStyle(yt,ye)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((p,d)=>{this._currentKeyframe.set(d,p)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((p,d)=>{this._currentKeyframe.has(d)||this._currentKeyframe.set(d,p)}))}snapshotCurrentStyles(){for(let[p,d]of this._localTimelineStyles)this._pendingStyles.set(p,d),this._updateStyle(p,d)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const p=[];for(let d in this._currentKeyframe)p.push(d);return p}mergeTimelineCollectedStyles(p){p._styleSummary.forEach((d,m)=>{const D=this._styleSummary.get(m);(!D||d.time>D.time)&&this._updateStyle(m,d.value)})}buildKeyframes(){this.applyStylesToKeyframe();const p=new Set,d=new Set,m=1===this._keyframes.size&&0===this.duration;let D=[];this._keyframes.forEach((yt,Vt)=>{const ye=new Map([...this._backFill,...yt]);ye.forEach((lr,wr)=>{lr===Ho.FX?p.add(wr):lr===Ho.kp&&d.add(wr)}),m||ye.set("offset",Vt/this.duration),D.push(ye)});const V=[...p.values()],Q=[...d.values()];if(m){const yt=D[0],Vt=new Map(yt);yt.set("offset",0),Vt.set("offset",1),D=[yt,Vt]}return Ol(this.element,D,V,Q,this.duration,this.startTime,this.easing,!1)}}class Gg extends Xd{constructor(p,d,m,D,V,Q,yt=!1){super(p,d,Q.delay),this.keyframes=m,this.preStyleProps=D,this.postStyleProps=V,this._stretchStartingKeyframe=yt,this.timings={duration:Q.duration,delay:Q.delay,easing:Q.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let p=this.keyframes,{delay:d,duration:m,easing:D}=this.timings;if(this._stretchStartingKeyframe&&d){const V=[],Q=m+d,yt=d/Q,Vt=new Map(p[0]);Vt.set("offset",0),V.push(Vt);const ye=new Map(p[0]);ye.set("offset",ah(yt)),V.push(ye);const lr=p.length-1;for(let wr=1;wr<=lr;wr++){let bo=new Map(p[wr]);const Vr=bo.get("offset");bo.set("offset",ah((d+Vr*m)/Q)),V.push(bo)}m=Q,d=0,D="",p=V}return Ol(this.element,p,this.preStyleProps,this.postStyleProps,m,d,D,!0)}}function ah(b,p=3){const d=Math.pow(10,p-1);return Math.round(b*d)/d}function sh(b,p,d,m,D,V,Q,yt,Vt,ye,lr,wr,bo){return{type:0,element:b,triggerName:p,isRemovalTransition:D,fromState:d,fromStyles:V,toState:m,toStyles:Q,timelines:yt,queriedElements:Vt,preStyleProps:ye,postStyleProps:lr,totalTime:wr,errors:bo}}const hd={};class hc{constructor(p,d,m){this._triggerName=p,this.ast=d,this._stateStyles=m}match(p,d,m,D){return function pl(b,p,d,m,D){return b.some(V=>V(p,d,m,D))}(this.ast.matchers,p,d,m,D)}buildStyles(p,d,m){let D=this._stateStyles.get("*");return void 0!==p&&(D=this._stateStyles.get(p?.toString())||D),D?D.buildStyles(d,m):new Map}build(p,d,m,D,V,Q,yt,Vt,ye,lr){const wr=[],bo=this.ast.options&&this.ast.options.params||hd,ho=this.buildStyles(m,yt&&yt.params||hd,wr),rn=Vt&&Vt.params||hd,un=this.buildStyles(D,rn,wr),li=new Set,Qi=new Map,Qa=new Map,Oa="void"===D,ic={params:lh(rn,bo),delay:this.ast.options?.delay},wc=lr?[]:dl(p,d,this.ast.animation,V,Q,ho,un,ic,ye,wr);let ss=0;return wc.forEach(Es=>{ss=Math.max(Es.duration+Es.delay,ss)}),wr.length?sh(d,this._triggerName,m,D,Oa,ho,un,[],[],Qi,Qa,ss,wr):(wc.forEach(Es=>{const Cs=Es.element,ac=_s(Qi,Cs,new Set);Es.preStyleProps.forEach(ql=>ac.add(ql));const Dp=_s(Qa,Cs,new Set);Es.postStyleProps.forEach(ql=>Dp.add(ql)),Cs!==d&&li.add(Cs)}),sh(d,this._triggerName,m,D,Oa,ho,un,wc,[...li.values()],Qi,Qa,ss))}}function lh(b,p){const d={...p};return Object.entries(b).forEach(([m,D])=>{null!=D&&(d[m]=D)}),d}class Rl{constructor(p,d,m){this.styles=p,this.defaultParams=d,this.normalizer=m}buildStyles(p,d){const m=new Map,D=lh(p,this.defaultParams);return this.styles.styles.forEach(V=>{"string"!=typeof V&&V.forEach((Q,yt)=>{Q&&(Q=ga(Q,D,d));const Vt=this.normalizer.normalizePropertyName(yt,d);Q=this.normalizer.normalizeStyleValue(yt,Vt,Q,d),m.set(yt,Q)})}),m}}class Hu{constructor(p,d,m){this.name=p,this.ast=d,this._normalizer=m,this.transitionFactories=[],this.states=new Map,d.states.forEach(D=>{this.states.set(D.name,new Rl(D.style,D.options&&D.options.params||{},m))}),Yg(this.states,"true","1"),Yg(this.states,"false","0"),d.transitions.forEach(D=>{this.transitionFactories.push(new hc(p,D,this.states))}),this.fallbackTransition=function gd(b,p){return new hc(b,{type:Ho.If.Transition,animation:{type:Ho.If.Sequence,steps:[],options:null},matchers:[(Q,yt)=>!0],options:null,queryCount:0,depCount:0},p)}(p,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(p,d,m,D){return this.transitionFactories.find(Q=>Q.match(p,d,m,D))||null}matchStyles(p,d,m){return this.fallbackTransition.buildStyles(p,d,m)}}function Yg(b,p,d){b.has(p)?b.has(d)||b.set(d,b.get(p)):b.has(d)&&b.set(p,b.get(d))}const Wu=new ll;class dh{constructor(p,d,m){this.bodyNode=p,this._driver=d,this._normalizer=m,this._animations=new Map,this._playersById=new Map,this.players=[]}register(p,d){const m=[],V=Kd(this._driver,d,m,[]);if(m.length)throw function Ys(){return new c.wOt(3503,!1)}();this._animations.set(p,V)}_buildPlayer(p,d,m){const D=p.element,V=Md(this._normalizer,p.keyframes,d,m);return this._driver.animate(D,V,p.duration,p.delay,p.easing,[],!0)}create(p,d,m={}){const D=[],V=this._animations.get(p);let Q;const yt=new Map;if(V?(Q=dl(this._driver,d,V,Bu,Bd,new Map,new Map,m,Wu,D),Q.forEach(lr=>{const wr=_s(yt,lr.element,new Map);lr.postStyleProps.forEach(bo=>wr.set(bo,null))})):(D.push(function jp(){return new c.wOt(3300,!1)}()),Q=[]),D.length)throw function Vp(){return new c.wOt(3504,!1)}();yt.forEach((lr,wr)=>{lr.forEach((bo,Vr)=>{lr.set(Vr,this._driver.computeStyle(wr,Vr,Ho.kp))})});const ye=Qs(Q.map(lr=>{const wr=yt.get(lr.element);return this._buildPlayer(lr,new Map,wr)}));return this._playersById.set(p,ye),ye.onDestroy(()=>this.destroy(p)),this.players.push(ye),ye}destroy(p){const d=this._getPlayer(p);d.destroy(),this._playersById.delete(p);const m=this.players.indexOf(d);m>=0&&this.players.splice(m,1)}_getPlayer(p){const d=this._playersById.get(p);if(!d)throw function Gn(){return new c.wOt(3301,!1)}();return d}listen(p,d,m,D){const V=Rd(d,"","","");return xs(this._getPlayer(p),m,V,D),()=>{}}command(p,d,m,D){if("register"==m)return void this.register(p,D[0]);if("create"==m)return void this.create(p,d,D[0]||{});const V=this._getPlayer(p);switch(m){case"play":V.play();break;case"pause":V.pause();break;case"reset":V.reset();break;case"restart":V.restart();break;case"finish":V.finish();break;case"init":V.init();break;case"setPosition":V.setPosition(parseFloat(D[0]));break;case"destroy":this.destroy(p)}}}const Yd="ng-animate-queued",Ku="ng-animate-disabled",Zd=[],Qd={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qd={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},es="__ng_removed";class Jd{get params(){return this.options.params}constructor(p,d=""){this.namespaceId=d;const m=p&&p.hasOwnProperty("value");if(this.value=function Xu(b){return b??null}(m?p.value:p),m){const{value:V,...Q}=p;this.options=Q}else this.options={};this.options.params||(this.options.params={})}absorbOptions(p){const d=p.params;if(d){const m=this.options.params;Object.keys(d).forEach(D=>{null==m[D]&&(m[D]=d[D])})}}}const Nl="void",tu=new Jd(Nl);class Gu{constructor(p,d,m){this.id=p,this.hostElement=d,this._engine=m,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+p,rs(d,this._hostClassName)}listen(p,d,m,D){if(!this._triggers.has(d))throw function Cl(){return new c.wOt(3302,!1)}();if(null==m||0==m.length)throw function Dl(){return new c.wOt(3303,!1)}();if(!function Ll(b){return"start"==b||"done"==b}(m))throw function Ta(){return new c.wOt(3400,!1)}();const V=_s(this._elementListeners,p,[]),Q={name:d,phase:m,callback:D};V.push(Q);const yt=_s(this._engine.statesByElement,p,new Map);return yt.has(d)||(rs(p,Nr),rs(p,Nr+"-"+d),yt.set(d,tu)),()=>{this._engine.afterFlush(()=>{const Vt=V.indexOf(Q);Vt>=0&&V.splice(Vt,1),this._triggers.has(d)||yt.delete(d)})}}register(p,d){return!this._triggers.has(p)&&(this._triggers.set(p,d),!0)}_getTrigger(p){const d=this._triggers.get(p);if(!d)throw function Zs(){return new c.wOt(3401,!1)}();return d}trigger(p,d,m,D=!0){const V=this._getTrigger(d),Q=new Hc(this.id,d,p);let yt=this._engine.statesByElement.get(p);yt||(rs(p,Nr),rs(p,Nr+"-"+d),this._engine.statesByElement.set(p,yt=new Map));let Vt=yt.get(d);const ye=new Jd(m,this.id);if(!(m&&m.hasOwnProperty("value"))&&Vt&&ye.absorbOptions(Vt.options),yt.set(d,ye),Vt||(Vt=tu),ye.value!==Nl&&Vt.value===ye.value){if(!function Yu(b,p){const d=Object.keys(b),m=Object.keys(p);if(d.length!=m.length)return!1;for(let D=0;D{Tl(p,un),tc(p,li)})}return}const bo=_s(this._engine.playersByElement,p,[]);bo.forEach(rn=>{rn.namespaceId==this.id&&rn.triggerName==d&&rn.queued&&rn.destroy()});let Vr=V.matchTransition(Vt.value,ye.value,p,ye.params),ho=!1;if(!Vr){if(!D)return;Vr=V.fallbackTransition,ho=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:d,transition:Vr,fromState:Vt,toState:ye,player:Q,isFallbackTransition:ho}),ho||(rs(p,Yd),Q.onStart(()=>{Wc(p,Yd)})),Q.onDone(()=>{let rn=this.players.indexOf(Q);rn>=0&&this.players.splice(rn,1);const un=this._engine.playersByElement.get(p);if(un){let li=un.indexOf(Q);li>=0&&un.splice(li,1)}}),this.players.push(Q),bo.push(Q),Q}deregister(p){this._triggers.delete(p),this._engine.statesByElement.forEach(d=>d.delete(p)),this._elementListeners.forEach((d,m)=>{this._elementListeners.set(m,d.filter(D=>D.name!=p))})}clearElementCache(p){this._engine.statesByElement.delete(p),this._elementListeners.delete(p);const d=this._engine.playersByElement.get(p);d&&(d.forEach(m=>m.destroy()),this._engine.playersByElement.delete(p))}_signalRemovalForInnerTriggers(p,d){const m=this._engine.driver.query(p,Dn,!0);m.forEach(D=>{if(D[es])return;const V=this._engine.fetchNamespacesByElement(D);V.size?V.forEach(Q=>Q.triggerLeaveAnimation(D,d,!1,!0)):this.clearElementCache(D)}),this._engine.afterFlushAnimationsDone(()=>m.forEach(D=>this.clearElementCache(D)))}triggerLeaveAnimation(p,d,m,D){const V=this._engine.statesByElement.get(p),Q=new Map;if(V){const yt=[];if(V.forEach((Vt,ye)=>{if(Q.set(ye,Vt.value),this._triggers.has(ye)){const lr=this.trigger(p,ye,Nl,D);lr&&yt.push(lr)}}),yt.length)return this._engine.markElementAsRemoved(this.id,p,!0,d,Q),m&&Qs(yt).onDone(()=>this._engine.processLeaveNode(p)),!0}return!1}prepareLeaveAnimationListeners(p){const d=this._elementListeners.get(p),m=this._engine.statesByElement.get(p);if(d&&m){const D=new Set;d.forEach(V=>{const Q=V.name;if(D.has(Q))return;D.add(Q);const Vt=this._triggers.get(Q).fallbackTransition,ye=m.get(Q)||tu,lr=new Jd(Nl),wr=new Hc(this.id,Q,p);this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:Q,transition:Vt,fromState:ye,toState:lr,player:wr,isFallbackTransition:!0})})}}removeNode(p,d){const m=this._engine;if(p.childElementCount&&this._signalRemovalForInnerTriggers(p,d),this.triggerLeaveAnimation(p,d,!0))return;let D=!1;if(m.totalAnimations){const V=m.players.length?m.playersByQueriedElement.get(p):[];if(V&&V.length)D=!0;else{let Q=p;for(;Q=Q.parentNode;)if(m.statesByElement.get(Q)){D=!0;break}}}if(this.prepareLeaveAnimationListeners(p),D)m.markElementAsRemoved(this.id,p,!1,d);else{const V=p[es];(!V||V===Qd)&&(m.afterFlush(()=>this.clearElementCache(p)),m.destroyInnerAnimations(p),m._onRemovalComplete(p,d))}}insertNode(p,d){rs(p,this._hostClassName)}drainQueuedTransitions(p){const d=[];return this._queue.forEach(m=>{const D=m.player;if(D.destroyed)return;const V=m.element,Q=this._elementListeners.get(V);Q&&Q.forEach(yt=>{if(yt.name==m.triggerName){const Vt=Rd(V,m.triggerName,m.fromState.value,m.toState.value);Vt._data=p,xs(m.player,yt.phase,Vt,yt.callback)}}),D.markedForDestroy?this._engine.afterFlush(()=>{D.destroy()}):d.push(m)}),this._queue=[],d.sort((m,D)=>{const V=m.transition.ast.depCount,Q=D.transition.ast.depCount;return 0==V||0==Q?V-Q:this._engine.driver.containsElement(m.element,D.element)?1:-1})}destroy(p){this.players.forEach(d=>d.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,p)}}class eu{_onRemovalComplete(p,d){this.onRemovalComplete(p,d)}constructor(p,d,m){this.bodyNode=p,this.driver=d,this._normalizer=m,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(D,V)=>{}}get queuedPlayers(){const p=[];return this._namespaceList.forEach(d=>{d.players.forEach(m=>{m.queued&&p.push(m)})}),p}createNamespace(p,d){const m=new Gu(p,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(m,d):(this.newHostElements.set(d,m),this.collectEnterElement(d)),this._namespaceLookup[p]=m}_balanceNamespaceList(p,d){const m=this._namespaceList,D=this.namespacesByHostElement;if(m.length-1>=0){let Q=!1,yt=this.driver.getParentElement(d);for(;yt;){const Vt=D.get(yt);if(Vt){const ye=m.indexOf(Vt);m.splice(ye+1,0,p),Q=!0;break}yt=this.driver.getParentElement(yt)}Q||m.unshift(p)}else m.push(p);return D.set(d,p),p}register(p,d){let m=this._namespaceLookup[p];return m||(m=this.createNamespace(p,d)),m}registerTrigger(p,d,m){let D=this._namespaceLookup[p];D&&D.register(d,m)&&this.totalAnimations++}destroy(p,d){p&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const m=this._fetchNamespace(p);this.namespacesByHostElement.delete(m.hostElement);const D=this._namespaceList.indexOf(m);D>=0&&this._namespaceList.splice(D,1),m.destroy(d),delete this._namespaceLookup[p]}))}_fetchNamespace(p){return this._namespaceLookup[p]}fetchNamespacesByElement(p){const d=new Set,m=this.statesByElement.get(p);if(m)for(let D of m.values())if(D.namespaceId){const V=this._fetchNamespace(D.namespaceId);V&&d.add(V)}return d}trigger(p,d,m,D){if(hl(d)){const V=this._fetchNamespace(p);if(V)return V.trigger(d,m,D),!0}return!1}insertNode(p,d,m,D){if(!hl(d))return;const V=d[es];if(V&&V.setForRemoval){V.setForRemoval=!1,V.setForMove=!0;const Q=this.collectedLeaveElements.indexOf(d);Q>=0&&this.collectedLeaveElements.splice(Q,1)}if(p){const Q=this._fetchNamespace(p);Q&&Q.insertNode(d,m)}D&&this.collectEnterElement(d)}collectEnterElement(p){this.collectedEnterElements.push(p)}markElementAsDisabled(p,d){d?this.disabledNodes.has(p)||(this.disabledNodes.add(p),rs(p,Ku)):this.disabledNodes.has(p)&&(this.disabledNodes.delete(p),Wc(p,Ku))}removeNode(p,d,m){if(hl(d)){const D=p?this._fetchNamespace(p):null;D?D.removeNode(d,m):this.markElementAsRemoved(p,d,!1,m);const V=this.namespacesByHostElement.get(d);V&&V.id!==p&&V.removeNode(d,m)}else this._onRemovalComplete(d,m)}markElementAsRemoved(p,d,m,D,V){this.collectedLeaveElements.push(d),d[es]={namespaceId:p,setForRemoval:D,hasAnimation:m,removedBeforeQueried:!1,previousTriggersValues:V}}listen(p,d,m,D,V){return hl(d)?this._fetchNamespace(p).listen(d,m,D,V):()=>{}}_buildInstruction(p,d,m,D,V){return p.transition.build(this.driver,p.element,p.fromState.value,p.toState.value,m,D,p.fromState.options,p.toState.options,d,V)}destroyInnerAnimations(p){let d=this.driver.query(p,Dn,!0);d.forEach(m=>this.destroyActiveAnimationsForElement(m)),0!=this.playersByQueriedElement.size&&(d=this.driver.query(p,Ud,!0),d.forEach(m=>this.finishActiveQueriedAnimationOnElement(m)))}destroyActiveAnimationsForElement(p){const d=this.playersByElement.get(p);d&&d.forEach(m=>{m.queued?m.markedForDestroy=!0:m.destroy()})}finishActiveQueriedAnimationOnElement(p){const d=this.playersByQueriedElement.get(p);d&&d.forEach(m=>m.finish())}whenRenderingDone(){return new Promise(p=>{if(this.players.length)return Qs(this.players).onDone(()=>p());p()})}processLeaveNode(p){const d=p[es];if(d&&d.setForRemoval){if(p[es]=Qd,d.namespaceId){this.destroyInnerAnimations(p);const m=this._fetchNamespace(d.namespaceId);m&&m.clearElementCache(p)}this._onRemovalComplete(p,d.setForRemoval)}p.classList?.contains(Ku)&&this.markElementAsDisabled(p,!1),this.driver.query(p,".ng-animate-disabled",!0).forEach(m=>{this.markElementAsDisabled(m,!1)})}flush(p=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach((m,D)=>this._balanceNamespaceList(m,D)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let m=0;mm()),this._flushFns=[],this._whenQuietFns.length){const m=this._whenQuietFns;this._whenQuietFns=[],d.length?Qs(d).onDone(()=>{m.forEach(D=>D())}):m.forEach(D=>D())}}reportError(p){throw function Sc(){return new c.wOt(3402,!1)}()}_flushAnimations(p,d){const m=new ll,D=[],V=new Map,Q=[],yt=new Map,Vt=new Map,ye=new Map,lr=new Set;this.disabledNodes.forEach(Qo=>{lr.add(Qo);const cn=this.driver.query(Qo,".ng-animate-queued",!0);for(let mn=0;mn{const mn=Bu+rn++;ho.set(cn,mn),Qo.forEach(hi=>rs(hi,mn))});const un=[],li=new Set,Qi=new Set;for(let Qo=0;Qoli.add(hi)):Qi.add(cn))}const Qa=new Map,Oa=hh(bo,Array.from(li));Oa.forEach((Qo,cn)=>{const mn=Bd+rn++;Qa.set(cn,mn),Qo.forEach(hi=>rs(hi,mn))}),p.push(()=>{Vr.forEach((Qo,cn)=>{const mn=ho.get(cn);Qo.forEach(hi=>Wc(hi,mn))}),Oa.forEach((Qo,cn)=>{const mn=Qa.get(cn);Qo.forEach(hi=>Wc(hi,mn))}),un.forEach(Qo=>{this.processLeaveNode(Qo)})});const ic=[],wc=[];for(let Qo=this._namespaceList.length-1;Qo>=0;Qo--)this._namespaceList[Qo].drainQueuedTransitions(d).forEach(mn=>{const hi=mn.player,qa=mn.element;if(ic.push(hi),this.collectedEnterElements.length){const Ds=qa[es];if(Ds&&Ds.setForMove){if(Ds.previousTriggersValues&&Ds.previousTriggersValues.has(mn.triggerName)){const Lc=Ds.previousTriggersValues.get(mn.triggerName),Ns=this.statesByElement.get(mn.element);if(Ns&&Ns.has(mn.triggerName)){const Kf=Ns.get(mn.triggerName);Kf.value=Lc,Ns.set(mn.triggerName,Kf)}}return void hi.destroy()}}const Jc=!wr||!this.driver.containsElement(wr,qa),sc=Qa.get(qa),tl=ho.get(qa),ji=this._buildInstruction(mn,m,tl,sc,Jc);if(ji.errors&&ji.errors.length)return void wc.push(ji);if(Jc)return hi.onStart(()=>Tl(qa,ji.fromStyles)),hi.onDestroy(()=>tc(qa,ji.toStyles)),void D.push(hi);if(mn.isFallbackTransition)return hi.onStart(()=>Tl(qa,ji.fromStyles)),hi.onDestroy(()=>tc(qa,ji.toStyles)),void D.push(hi);const Wf=[];ji.timelines.forEach(Ds=>{Ds.stretchStartingKeyframe=!0,this.disabledNodes.has(Ds.element)||Wf.push(Ds)}),ji.timelines=Wf,m.append(qa,ji.timelines),Q.push({instruction:ji,player:hi,element:qa}),ji.queriedElements.forEach(Ds=>_s(yt,Ds,[]).push(hi)),ji.preStyleProps.forEach((Ds,Lc)=>{if(Ds.size){let Ns=Vt.get(Lc);Ns||Vt.set(Lc,Ns=new Set),Ds.forEach((Kf,Gf)=>Ns.add(Gf))}}),ji.postStyleProps.forEach((Ds,Lc)=>{let Ns=ye.get(Lc);Ns||ye.set(Lc,Ns=new Set),Ds.forEach((Kf,Gf)=>Ns.add(Gf))})});if(wc.length){const Qo=[];wc.forEach(cn=>{Qo.push(function vs(){return new c.wOt(3505,!1)}())}),ic.forEach(cn=>cn.destroy()),this.reportError(Qo)}const ss=new Map,Es=new Map;Q.forEach(Qo=>{const cn=Qo.element;m.has(cn)&&(Es.set(cn,cn),this._beforeAnimationBuild(Qo.player.namespaceId,Qo.instruction,ss))}),D.forEach(Qo=>{const cn=Qo.element;this._getPreviousPlayers(cn,!1,Qo.namespaceId,Qo.triggerName,null).forEach(hi=>{_s(ss,cn,[]).push(hi),hi.destroy()})});const Cs=un.filter(Qo=>ou(Qo,Vt,ye)),ac=new Map;na(ac,this.driver,Qi,ye,Ho.kp).forEach(Qo=>{ou(Qo,Vt,ye)&&Cs.push(Qo)});const ql=new Map;Vr.forEach((Qo,cn)=>{na(ql,this.driver,new Set(Qo),Vt,Ho.FX)}),Cs.forEach(Qo=>{const cn=ac.get(Qo),mn=ql.get(Qo);ac.set(Qo,new Map([...cn?.entries()??[],...mn?.entries()??[]]))});const zf=[],Hf=[],fg={};Q.forEach(Qo=>{const{element:cn,player:mn,instruction:hi}=Qo;if(m.has(cn)){if(lr.has(cn))return mn.onDestroy(()=>tc(cn,hi.toStyles)),mn.disabled=!0,mn.overrideTotalTime(hi.totalTime),void D.push(mn);let qa=fg;if(Es.size>1){let sc=cn;const tl=[];for(;sc=sc.parentNode;){const ji=Es.get(sc);if(ji){qa=ji;break}tl.push(sc)}tl.forEach(ji=>Es.set(ji,qa))}const Jc=this._buildAnimation(mn.namespaceId,hi,ss,V,ql,ac);if(mn.setRealPlayer(Jc),qa===fg)zf.push(mn);else{const sc=this.playersByElement.get(qa);sc&&sc.length&&(mn.parentPlayer=Qs(sc)),D.push(mn)}}else Tl(cn,hi.fromStyles),mn.onDestroy(()=>tc(cn,hi.toStyles)),Hf.push(mn),lr.has(cn)&&D.push(mn)}),Hf.forEach(Qo=>{const cn=V.get(Qo.element);if(cn&&cn.length){const mn=Qs(cn);Qo.setRealPlayer(mn)}}),D.forEach(Qo=>{Qo.parentPlayer?Qo.syncPlayerEvents(Qo.parentPlayer):Qo.destroy()});for(let Qo=0;Qo!Jc.destroyed);qa.length?ru(this,cn,qa):this.processLeaveNode(cn)}return un.length=0,zf.forEach(Qo=>{this.players.push(Qo),Qo.onDone(()=>{Qo.destroy();const cn=this.players.indexOf(Qo);this.players.splice(cn,1)}),Qo.play()}),zf}afterFlush(p){this._flushFns.push(p)}afterFlushAnimationsDone(p){this._whenQuietFns.push(p)}_getPreviousPlayers(p,d,m,D,V){let Q=[];if(d){const yt=this.playersByQueriedElement.get(p);yt&&(Q=yt)}else{const yt=this.playersByElement.get(p);if(yt){const Vt=!V||V==Nl;yt.forEach(ye=>{ye.queued||!Vt&&ye.triggerName!=D||Q.push(ye)})}}return(m||D)&&(Q=Q.filter(yt=>!(m&&m!=yt.namespaceId||D&&D!=yt.triggerName))),Q}_beforeAnimationBuild(p,d,m){const V=d.element,Q=d.isRemovalTransition?void 0:p,yt=d.isRemovalTransition?void 0:d.triggerName;for(const Vt of d.timelines){const ye=Vt.element,lr=ye!==V,wr=_s(m,ye,[]);this._getPreviousPlayers(ye,lr,Q,yt,d.toState).forEach(Vr=>{const ho=Vr.getRealPlayer();ho.beforeDestroy&&ho.beforeDestroy(),Vr.destroy(),wr.push(Vr)})}Tl(V,d.fromStyles)}_buildAnimation(p,d,m,D,V,Q){const yt=d.triggerName,Vt=d.element,ye=[],lr=new Set,wr=new Set,bo=d.timelines.map(ho=>{const rn=ho.element;lr.add(rn);const un=rn[es];if(un&&un.removedBeforeQueried)return new Ho.sf(ho.duration,ho.delay);const li=rn!==Vt,Qi=function gh(b){const p=[];return md(b,p),p}((m.get(rn)||Zd).map(ss=>ss.getRealPlayer())).filter(ss=>!!ss.element&&ss.element===rn),Qa=V.get(rn),Oa=Q.get(rn),ic=Md(this._normalizer,ho.keyframes,Qa,Oa),wc=this._buildPlayer(ho,ic,Qi);if(ho.subTimeline&&D&&wr.add(rn),li){const ss=new Hc(p,yt,rn);ss.setRealPlayer(wc),ye.push(ss)}return wc});ye.forEach(ho=>{_s(this.playersByQueriedElement,ho.element,[]).push(ho),ho.onDone(()=>function ph(b,p,d){let m=b.get(p);if(m){if(m.length){const D=m.indexOf(d);m.splice(D,1)}0==m.length&&b.delete(p)}return m}(this.playersByQueriedElement,ho.element,ho))}),lr.forEach(ho=>rs(ho,Uu));const Vr=Qs(bo);return Vr.onDestroy(()=>{lr.forEach(ho=>Wc(ho,Uu)),tc(Vt,d.toStyles)}),wr.forEach(ho=>{_s(D,ho,[]).push(Vr)}),Vr}_buildPlayer(p,d,m){return d.length>0?this.driver.animate(p.element,d,p.duration,p.delay,p.easing,m):new Ho.sf(p.duration,p.delay)}}class Hc{constructor(p,d,m){this.namespaceId=p,this.triggerName=d,this.element=m,this._player=new Ho.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(p){this._containsRealPlayer||(this._player=p,this._queuedCallbacks.forEach((d,m)=>{d.forEach(D=>xs(p,m,void 0,D))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(p.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(p){this.totalTime=p}syncPlayerEvents(p){const d=this._player;d.triggerCallback&&p.onStart(()=>d.triggerCallback("start")),p.onDone(()=>this.finish()),p.onDestroy(()=>this.destroy())}_queueEvent(p,d){_s(this._queuedCallbacks,p,[]).push(d)}onDone(p){this.queued&&this._queueEvent("done",p),this._player.onDone(p)}onStart(p){this.queued&&this._queueEvent("start",p),this._player.onStart(p)}onDestroy(p){this.queued&&this._queueEvent("destroy",p),this._player.onDestroy(p)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(p){this.queued||this._player.setPosition(p)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(p){const d=this._player;d.triggerCallback&&d.triggerCallback(p)}}function hl(b){return b&&1===b.nodeType}function Mc(b,p){const d=b.style.display;return b.style.display=p??"none",d}function na(b,p,d,m,D){const V=[];d.forEach(Vt=>V.push(Mc(Vt)));const Q=[];m.forEach((Vt,ye)=>{const lr=new Map;Vt.forEach(wr=>{const bo=p.computeStyle(ye,wr,D);lr.set(wr,bo),(!bo||0==bo.length)&&(ye[es]=qd,Q.push(ye))}),b.set(ye,lr)});let yt=0;return d.forEach(Vt=>Mc(Vt,V[yt++])),Q}function hh(b,p){const d=new Map;if(b.forEach(yt=>d.set(yt,[])),0==p.length)return d;const D=new Set(p),V=new Map;function Q(yt){if(!yt)return 1;let Vt=V.get(yt);if(Vt)return Vt;const ye=yt.parentNode;return Vt=d.has(ye)?ye:D.has(ye)?1:Q(ye),V.set(yt,Vt),Vt}return p.forEach(yt=>{const Vt=Q(yt);1!==Vt&&d.get(Vt).push(yt)}),d}function rs(b,p){b.classList?.add(p)}function Wc(b,p){b.classList?.remove(p)}function ru(b,p,d){Qs(d).onDone(()=>b.processLeaveNode(p))}function md(b,p){for(let d=0;dD.add(V)):p.set(b,m),d.delete(b),!0}class Ic{constructor(p,d,m){this._driver=d,this._normalizer=m,this._triggerCache={},this.onRemovalComplete=(D,V)=>{},this._transitionEngine=new eu(p.body,d,m),this._timelineEngine=new dh(p.body,d,m),this._transitionEngine.onRemovalComplete=(D,V)=>this.onRemovalComplete(D,V)}registerTrigger(p,d,m,D,V){const Q=p+"-"+D;let yt=this._triggerCache[Q];if(!yt){const Vt=[],lr=Kd(this._driver,V,Vt,[]);if(Vt.length)throw function nd(){return new c.wOt(3404,!1)}();yt=function Xg(b,p,d){return new Hu(b,p,d)}(D,lr,this._normalizer),this._triggerCache[Q]=yt}this._transitionEngine.registerTrigger(d,D,yt)}register(p,d){this._transitionEngine.register(p,d)}destroy(p,d){this._transitionEngine.destroy(p,d)}onInsert(p,d,m,D){this._transitionEngine.insertNode(p,d,m,D)}onRemove(p,d,m){this._transitionEngine.removeNode(p,d,m)}disableAnimations(p,d){this._transitionEngine.markElementAsDisabled(p,d)}process(p,d,m,D){if("@"==m.charAt(0)){const[V,Q]=id(m);this._timelineEngine.command(V,d,Q,D)}else this._transitionEngine.trigger(p,d,m,D)}listen(p,d,m,D,V){if("@"==m.charAt(0)){const[Q,yt]=id(m);return this._timelineEngine.listen(Q,d,yt,V)}return this._transitionEngine.listen(p,d,m,D,V)}flush(p=-1){this._transitionEngine.flush(p)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(p){this._transitionEngine.afterFlushAnimationsDone(p)}}class Kc{static{this.initialStylesByElement=new WeakMap}constructor(p,d,m){this._element=p,this._startStyles=d,this._endStyles=m,this._state=0;let D=Kc.initialStylesByElement.get(p);D||Kc.initialStylesByElement.set(p,D=new Map),this._initialStyles=D}start(){this._state<1&&(this._startStyles&&tc(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tc(this._element,this._initialStyles),this._endStyles&&(tc(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Kc.initialStylesByElement.delete(this._element),this._startStyles&&(Tl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Tl(this._element,this._endStyles),this._endStyles=null),tc(this._element,this._initialStyles),this._state=3)}}function Zu(b){let p=null;return b.forEach((d,m)=>{(function Zg(b){return"display"===b||"position"===b})(m)&&(p=p||new Map,p.set(m,d))}),p}class fh{constructor(p,d,m,D){this.element=p,this.keyframes=d,this.options=m,this._specialStyles=D,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=m.duration,this._delay=m.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(p=>p()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const p=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,p,this.options),this._finalKeyframe=p.length?p[p.length-1]:new Map;const d=()=>this._onFinish();this.domPlayer.addEventListener("finish",d),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",d)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(p){const d=[];return p.forEach(m=>{d.push(Object.fromEntries(m))}),d}_triggerWebAnimation(p,d,m){return p.animate(this._convertKeyframesToObject(d),m)}onStart(p){this._originalOnStartFns.push(p),this._onStartFns.push(p)}onDone(p){this._originalOnDoneFns.push(p),this._onDoneFns.push(p)}onDestroy(p){this._onDestroyFns.push(p)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(p=>p()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(p=>p()),this._onDestroyFns=[])}setPosition(p){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=p*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const p=new Map;this.hasStarted()&&this._finalKeyframe.forEach((m,D)=>{"offset"!==D&&p.set(D,this._finished?m:Vu(this.element,D))}),this.currentSnapshot=p}triggerCallback(p){const d="start"===p?this._onStartFns:this._onDoneFns;d.forEach(m=>m()),d.length=0}}class iu{validateStyleProperty(p){return!0}validateAnimatableStyleProperty(p){return!0}containsElement(p,d){return Fu(p,d)}getParentElement(p){return Al(p)}query(p,d,m){return zp(p,d,m)}computeStyle(p,d,m){return Vu(p,d)}animate(p,d,m,D,V,Q=[]){const Vt={duration:m,delay:D,fill:0==D?"both":"forwards"};V&&(Vt.easing=V);const ye=new Map,lr=Q.filter(Vr=>Vr instanceof fh);(function Tc(b,p){return 0===b||0===p})(m,D)&&lr.forEach(Vr=>{Vr.currentSnapshot.forEach((ho,rn)=>ye.set(rn,ho))});let wr=function $u(b){return b.length?b[0]instanceof Map?b:b.map(p=>new Map(Object.entries(p))):[]}(d).map(Vr=>new Map(Vr));wr=function Hg(b,p,d){if(d.size&&p.length){let m=p[0],D=[];if(d.forEach((V,Q)=>{m.has(Q)||D.push(Q),m.set(Q,V)}),D.length)for(let V=1;VQ.set(yt,Vu(b,yt)))}}return p}(p,wr,ye);const bo=function nu(b,p){let d=null,m=null;return Array.isArray(p)&&p.length?(d=Zu(p[0]),p.length>1&&(m=Zu(p[p.length-1]))):p instanceof Map&&(d=Zu(p)),d||m?new Kc(b,d,m):null}(p,wr);return new fh(p,wr,Vt,bo)}}const mh="@.disabled";class bh{constructor(p,d,m,D){this.namespaceId=p,this.delegate=d,this.engine=m,this._onDestroy=D,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(p){this.delegate.destroyNode?.(p)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(p,d){return this.delegate.createElement(p,d)}createComment(p){return this.delegate.createComment(p)}createText(p){return this.delegate.createText(p)}appendChild(p,d){this.delegate.appendChild(p,d),this.engine.onInsert(this.namespaceId,d,p,!1)}insertBefore(p,d,m,D=!0){this.delegate.insertBefore(p,d,m),this.engine.onInsert(this.namespaceId,d,p,D)}removeChild(p,d,m){this.parentNode(d)&&this.engine.onRemove(this.namespaceId,d,this.delegate)}selectRootElement(p,d){return this.delegate.selectRootElement(p,d)}parentNode(p){return this.delegate.parentNode(p)}nextSibling(p){return this.delegate.nextSibling(p)}setAttribute(p,d,m,D){this.delegate.setAttribute(p,d,m,D)}removeAttribute(p,d,m){this.delegate.removeAttribute(p,d,m)}addClass(p,d){this.delegate.addClass(p,d)}removeClass(p,d){this.delegate.removeClass(p,d)}setStyle(p,d,m,D){this.delegate.setStyle(p,d,m,D)}removeStyle(p,d,m){this.delegate.removeStyle(p,d,m)}setProperty(p,d,m){"@"==d.charAt(0)&&d==mh?this.disableAnimations(p,!!m):this.delegate.setProperty(p,d,m)}setValue(p,d){this.delegate.setValue(p,d)}listen(p,d,m){return this.delegate.listen(p,d,m)}disableAnimations(p,d){this.engine.disableAnimations(p,d)}}class wh extends bh{constructor(p,d,m,D,V){super(d,m,D,V),this.factory=p,this.namespaceId=d}setProperty(p,d,m){"@"==d.charAt(0)?"."==d.charAt(1)&&d==mh?this.disableAnimations(p,m=void 0===m||!!m):this.engine.process(this.namespaceId,p,d.slice(1),m):this.delegate.setProperty(p,d,m)}listen(p,d,m){if("@"==d.charAt(0)){const D=function Qu(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(p);let V=d.slice(1),Q="";return"@"!=V.charAt(0)&&([V,Q]=function Ga(b){const p=b.indexOf(".");return[b.substring(0,p),b.slice(p+1)]}(V)),this.engine.listen(this.namespaceId,D,V,Q,yt=>{this.factory.scheduleListenerCallback(yt._data||-1,m,yt)})}return this.delegate.listen(p,d,m)}}class Sm{constructor(p,d,m){this.delegate=p,this.engine=d,this._zone=m,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,d.onRemovalComplete=(D,V)=>{V?.removeChild(null,D)}}createRenderer(p,d){const D=this.delegate.createRenderer(p,d);if(!p||!d?.data?.animation){const ye=this._rendererCache;let lr=ye.get(D);return lr||(lr=new bh("",D,this.engine,()=>ye.delete(D)),ye.set(D,lr)),lr}const V=d.id,Q=d.id+"-"+this._currentId;this._currentId++,this.engine.register(Q,p);const yt=ye=>{Array.isArray(ye)?ye.forEach(yt):this.engine.registerTrigger(V,Q,p,ye.name,ye)};return d.data.animation.forEach(yt),new wh(this,Q,D,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(p,d,m){if(p>=0&&pd(m));const D=this._animationCallbacksBuffer;0==D.length&&queueMicrotask(()=>{this._zone.run(()=>{D.forEach(V=>{const[Q,yt]=V;Q(yt)}),this._animationCallbacksBuffer=[]})}),D.push([d,m])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const au=[{provide:ad,useFactory:function Am(){return new sd}},{provide:Ic,useClass:(()=>{class b extends Ic{constructor(d,m,D){super(d,m,D)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Et.qQ),c.KVO(Fd),c.KVO(ad))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})()},{provide:c._9s,useFactory:function vh(b,p,d){return new Sm(b,p,d)},deps:[o.B7,Ic,c.SKi]}],qu=[{provide:Fd,useFactory:()=>new iu},{provide:c.bc$,useValue:"BrowserAnimations"},...au];var cu=r(9030),bd=r(3726),gc=r(8793),Ma=r(1413),_h=r(5343);const gl=new T.c(_h.l);var Gc=r(7786),Bl=r(6648),Xa=r(6354),$i=r(17),lu=r(8071),du=r(8750),kh=r(9974);const wd={connector:()=>new Ma.B};function Ju(b,p=wd){const{connector:d}=p;return(0,kh.N)((m,D)=>{const V=d();(0,du.Tg)(b(function Jg(b){return new T.c(p=>b.subscribe(p))}(V))).subscribe(D),D.add(m.subscribe(V))})}var vd=r(8141);const Ul="Service workers are disabled or not supported by this browser";class $l{constructor(p){if(this.serviceWorker=p,p){const m=(0,bd.R)(p,"controllerchange").pipe((0,Xa.T)(()=>p.controller)),D=(0,cu.v)(()=>(0,R.of)(p.controller)),V=(0,gc.x)(D,m);this.worker=V.pipe((0,jt.p)(lr=>!!lr)),this.registration=this.worker.pipe((0,ht.n)(()=>p.getRegistration()));const ye=(0,bd.R)(p,"message").pipe((0,Xa.T)(lr=>lr.data)).pipe((0,jt.p)(lr=>lr&&lr.type)).pipe(function yd(b){return b?p=>Ju(b)(p):p=>function Eh(b,p){const d=(0,lu.T)(b)?b:()=>b;return(0,lu.T)(p)?Ju(p,{connector:d}):m=>new $i.G(m,d)}(new Ma.B)(p)}());ye.connect(),this.events=ye}else this.worker=this.events=this.registration=function tp(b){return(0,cu.v)(()=>(0,I.$)(new Error(b)))}(Ul)}postMessage(p,d){return this.worker.pipe((0,M.s)(1),(0,vd.M)(m=>{m.postMessage({action:p,...d})})).toPromise().then(()=>{})}postMessageWithOperation(p,d,m){const D=this.waitForOperationCompleted(m),V=this.postMessage(p,d);return Promise.all([V,D]).then(([,Q])=>Q)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(p){let d;return d="string"==typeof p?m=>m.type===p:m=>p.includes(m.type),this.events.pipe((0,jt.p)(d))}nextEventOfType(p){return this.eventsOfType(p).pipe((0,M.s)(1))}waitForOperationCompleted(p){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,jt.p)(d=>d.nonce===p),(0,M.s)(1),(0,Xa.T)(d=>{if(void 0!==d.result)return d.result;throw new Error(d.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let fc=(()=>{class b{get isEnabled(){return this.sw.isEnabled}constructor(d){if(this.sw=d,this.pushManager=null,this.subscriptionChanges=new Ma.B,!d.isEnabled)return this.messages=gl,this.notificationClicks=gl,void(this.subscription=gl);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Xa.T)(D=>D.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Xa.T)(D=>D.data)),this.pushManager=this.sw.registration.pipe((0,Xa.T)(D=>D.pushManager));const m=this.pushManager.pipe((0,ht.n)(D=>D.getSubscription()));this.subscription=(0,Gc.h)(m,this.subscriptionChanges)}requestSubscription(d){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Ul));const m={userVisibleOnly:!0};let D=this.decodeBase64(d.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),V=new Uint8Array(new ArrayBuffer(D.length));for(let Q=0;QQ.subscribe(m)),(0,M.s)(1)).toPromise().then(Q=>(this.subscriptionChanges.next(Q),Q))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,M.s)(1),(0,ht.n)(m=>{if(null===m)throw new Error("Not subscribed to push notifications.");return m.unsubscribe().then(D=>{if(!D)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Ul))}decodeBase64(d){return atob(d)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO($l))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})(),uu=(()=>{class b{get isEnabled(){return this.sw.isEnabled}constructor(d){if(this.sw=d,!d.isEnabled)return this.versionUpdates=gl,void(this.unrecoverable=gl);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(Ul));const d=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:d},d)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ul));const d=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:d},d)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO($l))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})();const ep=new c.nKC("");function Mm(b,p,d,m){return()=>{if(!(0,Et.UE)(m)||!("serviceWorker"in navigator)||!1===d.enabled)return;const D=b.get(c.SKi),V=b.get(c.o8S);let Q;if(D.runOutsideAngular(()=>{const yt=navigator.serviceWorker,Vt=()=>yt.controller?.postMessage({action:"INITIALIZE"});yt.addEventListener("controllerchange",Vt),V.onDestroy(()=>{yt.removeEventListener("controllerchange",Vt)})}),"function"==typeof d.registrationStrategy)Q=d.registrationStrategy();else{const[yt,...Vt]=(d.registrationStrategy||"registerWhenStable:30000").split(":");switch(yt){case"registerImmediately":Q=(0,R.of)(null);break;case"registerWithDelay":Q=tf(+Vt[0]||0);break;case"registerWhenStable":const ye=(0,Bl.H)(b.get(c.o8S).whenStable());Q=Vt[0]?(0,Gc.h)(ye,tf(+Vt[0])):ye;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${d.registrationStrategy}`)}}D.runOutsideAngular(()=>Q.pipe((0,M.s)(1)).subscribe(()=>navigator.serviceWorker.register(p,{scope:d.scope}).catch(yt=>console.error("Service worker registration failed with:",yt))))}}function tf(b){return(0,R.of)(null).pipe((0,ct.c)(b))}function ef(b,p){return new $l((0,Et.UE)(p)&&!1!==b.enabled?navigator.serviceWorker:void 0)}class Ch{}var Oc=r(7468),jl=r(4360),Ah=r(3669),Th=r(1584),zl=r(9437),rp=r(4668),pu=r(4572),Mh=r(983);function Xc(b){return b&&b.constructor&&"function"==typeof b.constructor.isBuffer&&b.constructor.isBuffer(b)}function Hl(b){return b}function op(b,p){const d=(p=p||{}).delimiter||".",m=p.maxDepth,D=p.transformKey||Hl,V={};return function Q(yt,Vt,ye){ye=ye||1,Object.keys(yt).forEach(function(lr){const wr=yt[lr],bo=p.safe&&Array.isArray(wr),Vr=Object.prototype.toString.call(wr),ho=Xc(wr),rn="[object Object]"===Vr||"[object Array]"===Vr,un=Vt?Vt+d+D(lr):D(lr);if(!bo&&!ho&&rn&&Object.keys(wr).length&&(!p.maxDepth||ye0&&(bo=yt(wr.shift()),Vr=yt(wr[0]))}ho[bo]=hu(b[lr],p)}),V}class rf{translations;constructor(p){this.translations=p}getTranslation(p){return(0,R.of)(this.translations.get(p)||{})}}const Ih=new c.nKC("TRANSLOCO_LOADER");function np(b,p){return b&&(Object.prototype.hasOwnProperty.call(b,p)?b[p]:p.split(".").reduce((d,m)=>d?.[m],b))}function xd(b){return b?Array.isArray(b)?b.length:fl(b)?Object.keys(b).length:b?b.length:0:0}function mc(b){return"string"==typeof b}function fl(b){return!!b&&"object"==typeof b&&!Array.isArray(b)}function Yc(b){return null==b}function sp(b){return!1===Yc(b)}function cp(b){return b&&"string"==typeof b.scope}function lp(b){return op(b,{safe:!0})}const Rc=new c.nKC("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Wl}),Wl={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function Nh(b={}){return{...Wl,...b,missingHandler:{...Wl.missingHandler,...b.missingHandler},flatten:{...Wl.flatten,...b.flatten}}}const dp=new c.nKC("TRANSLOCO_TRANSPILER");let Lh=(()=>{class b{interpolationMatcher;constructor(d){this.interpolationMatcher=function mu(b){const[p,d]=b.interpolation;return new RegExp(`${p}(.*?)${d}`,"g")}(d??Wl)}transpile(d,m={},D,V){return mc(d)?d.replace(this.interpolationMatcher,(Q,yt)=>(yt=yt.trim(),sp(m[yt])?m[yt]:sp(D[yt])?this.transpile(D[yt],m,D,V):"")):(m&&(fl(d)?d=this.handleObject(d,m,D,V):Array.isArray(d)&&(d=this.handleArray(d,m,D,V))),d)}handleObject(d,m={},D,V){let Q=d;return Object.keys(m).forEach(yt=>{const Vt=np(Q,yt),ye=np(m,yt),lr=this.transpile(Vt,ye,D,V);Q=function ip(b,p,d){b={...b};const m=p.split("."),D=m.length-1;return m.reduce((V,Q,yt)=>(V[Q]=yt===D?d:Array.isArray(V[Q])?V[Q].slice():{...V[Q]},V&&V[Q]),b),b}(Q,yt,lr)}),Q}handleArray(d,m={},D,V){return d.map(Q=>this.transpile(Q,m,D,V))}static \u0275fac=function(m){return new(m||b)(c.KVO(Rc,8))};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();const ml=new c.nKC("TRANSLOCO_MISSING_HANDLER");let v=(()=>{class b{handle(d,m){return m.missingHandler.logMissingKey&&!m.prodMode&&console.warn(`%c Missing translation for '${d}'`,"font-size: 12px; color: red"),d}static \u0275fac=function(m){return new(m||b)};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();const _=new c.nKC("TRANSLOCO_INTERCEPTOR");let A=(()=>{class b{preSaveTranslation(d){return d}preSaveTranslationKey(d,m){return m}static \u0275fac=function(m){return new(m||b)};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();const j=new c.nKC("TRANSLOCO_FALLBACK_STRATEGY");let Qe,Z=(()=>{class b{userConfig;constructor(d){this.userConfig=d}getNextLangs(){const d=this.userConfig.fallbackLang;if(!d)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(d)?d:[d]}static \u0275fac=function(m){return new(m||b)(c.KVO(Rc))};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();function lt(b){if(!b)return"";const p=b.split("/");return p.pop(),p.join("/")}function Dt(b){return b?b.split("/").pop():""}function ur(b){return{scope:lt(b)||null,langName:Dt(b)}}function yr(b){const{path:p,inlineLoader:d,mainLoader:m,data:D}=b;if(d){if(!1===function os(b){return"function"==typeof b}(d[p]))throw`You're using an inline loader but didn't provide a loader for ${p}`;return d[p]().then(Q=>Q.default?Q.default:Q)}return m.getTranslation(p,D)}let Tr=(()=>{class b{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;subscription=null;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new Ma.B;events$=this.events.asObservable();config;constructor(d,m,D,V,Q,yt){this.loader=d,this.parser=m,this.missingHandler=D,this.interceptor=V,this.fallbackStrategy=yt,this.loader||(this.loader=new rf(this.translations)),Qe=this,this.config=JSON.parse(JSON.stringify(Q)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new $t.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(Vt=>{"translationLoadSuccess"===Vt.type&&Vt.wasFailure&&this.setActiveLang(Vt.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(d){this.defaultLang=d}getActiveLang(){return this.lang.getValue()}setActiveLang(d){return this.parser.onLangChanged?.(d),this.lang.next(d),this.events.next({type:"langChanged",payload:ur(d)}),this}setAvailableLangs(d){this.availableLangs=d}getAvailableLangs(){return this.availableLangs}load(d,m={}){const D=this.cache.get(d);if(D)return D;let V;const Q=this._isLangScoped(d);let yt;Q&&(yt=lt(d));const Vt={path:d,mainLoader:this.loader,inlineLoader:m.inlineLoader,data:Q?{scope:yt}:void 0};if(this.useFallbackTranslation(d)){const lr=Q?`${yt}/${this.firstFallbackLang}`:this.firstFallbackLang,wr=function cr({mainLoader:b,path:p,data:d,fallbackPath:m,inlineLoader:D}){return(m?[p,m]:[p]).map(Q=>{const yt=yr({path:Q,mainLoader:b,inlineLoader:D,data:d});return(0,Bl.H)(yt).pipe((0,Xa.T)(Vt=>({translation:Vt,lang:Q})))})}({...Vt,fallbackPath:lr});V=(0,Oc.p)(wr)}else{const lr=yr(Vt);V=(0,Bl.H)(lr)}const ye=V.pipe(function Vl(b=1/0){let p;p=b&&"object"==typeof b?b:{count:b};const{count:d=1/0,delay:m,resetOnSuccess:D=!1}=p;return d<=0?Ah.D:(0,kh.N)((V,Q)=>{let Vt,yt=0;const ye=()=>{let lr=!1;Vt=V.subscribe((0,jl._)(Q,wr=>{D&&(yt=0),Q.next(wr)},void 0,wr=>{if(yt++{Vt?(Vt.unsubscribe(),Vt=null,ye()):lr=!0};if(null!=m){const Vr="number"==typeof m?(0,Th.O)(m):(0,du.Tg)(m(wr,yt)),ho=(0,jl._)(Q,()=>{ho.unsubscribe(),bo()},()=>{Q.complete()});Vr.subscribe(ho)}else bo()}else Q.error(wr)})),lr&&(Vt.unsubscribe(),Vt=null,ye())};ye()})}(this.config.failedRetries),(0,vd.M)(lr=>{Array.isArray(lr)?lr.forEach(wr=>{this.handleSuccess(wr.lang,wr.translation),wr.lang!==d&&this.cache.set(wr.lang,(0,R.of)({}))}):this.handleSuccess(d,lr)}),(0,zl.W)(lr=>(this.config.prodMode||console.error(`Error while trying to load "${d}"`,lr),this.handleFailure(d,m))),(0,rp.t)(1));return this.cache.set(d,ye),ye}translate(d,m={},D=this.getActiveLang()){if(!d)return d;const{scope:V,resolveLang:Q}=this.resolveLangAndScope(D);if(Array.isArray(d))return d.map(ye=>this.translate(V?`${V}.${ye}`:ye,m,Q));d=V?`${V}.${d}`:d;const yt=this.getTranslation(Q),Vt=yt[d];return Vt?this.parser.transpile(Vt,m,yt,d):this._handleMissingKey(d,Vt,m)}selectTranslate(d,m,D,V=!1){let Q;const yt=(ye,lr)=>this.load(ye,lr).pipe((0,Xa.T)(()=>V?this.translateObject(d,m,ye):this.translate(d,m,ye)));if(Yc(D))return this.langChanges$.pipe((0,ht.n)(ye=>yt(ye)));if(function gu(b){return Array.isArray(b)&&b.every(cp)}(D)||cp(D)){const ye=Array.isArray(D)?D[0]:D;D=ye.scope,Q=function Le(b,p){return function sf(b){return b&&fl(b.loader)}(b)?function Ne(b,p){return Object.keys(b).reduce((d,m)=>(d[`${p}/${m}`]=b[m],d),{})}(b.loader,p):void 0}(ye,ye.scope)}if(this.isLang(D)||this.isScopeWithLang(D))return yt(D);const Vt=D;return this.langChanges$.pipe((0,ht.n)(ye=>yt(`${Vt}/${ye}`,{inlineLoader:Q})))}isScopeWithLang(d){return this.isLang(Dt(d))}translateObject(d,m={},D=this.getActiveLang()){if(mc(d)||Array.isArray(d)){const{resolveLang:Q,scope:yt}=this.resolveLangAndScope(D);if(Array.isArray(d))return d.map(lr=>this.translateObject(yt?`${yt}.${lr}`:lr,m,Q));const Vt=this.getTranslation(Q),ye=function fu(b){return hu(b)}(this.getObjectByKey(Vt,d=yt?`${yt}.${d}`:d));return function Oh(b){return 0===xd(b)}(ye)?this.translate(d,m,D):this.parser.transpile(ye,m,Vt,d)}const V=[];for(const[Q,yt]of this.getEntries(d))V.push(this.translateObject(Q,yt,D));return V}selectTranslateObject(d,m,D){if(mc(d)||Array.isArray(d))return this.selectTranslate(d,m,D,!0);const[[V,Q],...yt]=this.getEntries(d);return this.selectTranslateObject(V,Q,D).pipe((0,Xa.T)(Vt=>{const ye=[Vt];for(const[lr,wr]of yt)ye.push(this.translateObject(lr,wr,D));return ye}))}getTranslation(d){if(d){if(this.isLang(d))return this.translations.get(d)||{};{const{scope:m,resolveLang:D}=this.resolveLangAndScope(d),V=this.translations.get(D)||{};return this.getObjectByKey(V,m)}}return this.translations}selectTranslation(d){let m=this.langChanges$;if(d){const D=Dt(d)!==d;m=this.isLang(d)||D?(0,R.of)(d):this.langChanges$.pipe((0,Xa.T)(V=>`${d}/${V}`))}return m.pipe((0,ht.n)(D=>this.load(D).pipe((0,Xa.T)(()=>this.getTranslation(D)))))}setTranslation(d,m=this.getActiveLang(),D={}){const Q={merge:!0,emitChange:!0,...D},yt=lt(m);let Vt=d;if(yt){const Vr=this.getMappedScope(yt);Vt=lp({[Vr]:d})}const ye=yt?Dt(m):m,lr={...Q.merge&&this.getTranslation(ye),...Vt},wr=this.config.flatten.aot?lr:lp(lr),bo=this.interceptor.preSaveTranslation(wr,ye);this.translations.set(ye,bo),Q.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(d,m,D=this.getActiveLang(),V={}){const Q=this.interceptor.preSaveTranslationKey(d,m,D);this.setTranslation({[d]:Q},D,{...V,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:d}){const m=Array.isArray(d)?d[0]:d;d&&this.useFallbackTranslation(m)&&(this.firstFallbackLang=m)}_handleMissingKey(d,m,D){if(this.config.missingHandler.allowEmpty&&""===m)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const V=this.translate(d,D,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,V}return this.missingHandler.handle(d,this.getMissingHandlerData(),D)}_isLangScoped(d){return-1===this.getAvailableLangsIds().indexOf(d)}isLang(d){return-1!==this.getAvailableLangsIds().indexOf(d)}_loadDependencies(d,m){const D=Dt(d);return this._isLangScoped(d)&&!this.isLoadedTranslation(D)?(0,pu.z)([this.load(D),this.load(d,{inlineLoader:m})]):this.load(d,{inlineLoader:m})}_completeScopeWithLang(d){return this._isLangScoped(d)&&!this.isLang(Dt(d))?`${d}/${this.getActiveLang()}`:d}_setScopeAlias(d,m){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[d]=m}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation(d){return xd(this.getTranslation(d))}getAvailableLangsIds(){return mc(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(m=>m.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(d){return this.config.missingHandler.useFallbackTranslation&&d!==this.firstFallbackLang}handleSuccess(d,m){this.setTranslation(m,d,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:ur(d)}),this.failedLangs.forEach(D=>this.cache.delete(D)),this.failedLangs.clear()}handleFailure(d,m){Yc(m.failedCounter)&&(m.failedCounter=0,m.fallbackLangs||(m.fallbackLangs=this.fallbackStrategy.getNextLangs(d)));const D=d.split("/"),Q=m.fallbackLangs[m.failedCounter];if(this.failedLangs.add(d),this.cache.has(Q))return this.handleSuccess(Q,this.getTranslation(Q)),Mh.w;if(!Q||Q===D[D.length-1]){let ye="Unable to load translation and all the fallback languages";throw D.length>1&&(ye+=", did you misspelled the scope name?"),new Error(ye)}let Vt=Q;return D.length>1&&(D[D.length-1]=Q,Vt=D.join("/")),m.failedCounter++,this.events.next({type:"translationLoadFailure",payload:ur(d)}),this.load(Vt,m)}getMappedScope(d){const{scopeMapping:m={}}=this.config;return m[d]||function af(b){return b.replace(/(?:^\w|[A-Z]|\b\w)/g,(p,d)=>0==d?p.toLowerCase():p.toUpperCase()).replace(/\s+|_|-|\//g,"")}(d)}resolveLangAndScope(d){let D,m=d;if(this._isLangScoped(d)){const V=Dt(d),Q=this.isLang(V);m=Q?V:this.getActiveLang(),D=this.getMappedScope(Q?lt(d):d)}return{scope:D,resolveLang:m}}getObjectByKey(d,m){const D={},V=`${m}.`;for(const Q in d)Q.startsWith(V)&&(D[Q.replace(V,"")]=d[Q]);return D}getEntries(d){return d instanceof Map?d.entries():Object.entries(d)}static \u0275fac=function(m){return new(m||b)(c.KVO(Ih,8),c.KVO(dp),c.KVO(ml),c.KVO(_),c.KVO(Rc),c.KVO(j))};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();function Ao(b){return(0,c.EmA)([{provide:dp,useClass:b,deps:[Rc]}])}function Sn(b){return(0,c.EmA)([{provide:j,useClass:b,deps:[Rc]}])}function $n(b){return(0,c.EmA)([{provide:ml,useClass:b}])}function Fn(b){return(0,c.EmA)([{provide:_,useClass:b}])}new c.nKC("TRANSLOCO_LANG"),new c.nKC("TRANSLOCO_LOADING_TEMPLATE"),new c.nKC("TRANSLOCO_SCOPE"),new c.nKC("TRANSLOCO_TEST_LANGS - Available testing languages"),new c.nKC("TRANSLOCO_TEST_OPTIONS - Testing options");var Bh=r(2771);let Rs=(()=>{class b{constructor(){this._httpClient=(0,c.WQX)(q.Qq),this._navigation=new Bh.m(1)}get navigation$(){return this._navigation.asObservable()}get(){return this._httpClient.get("api/navigation").pipe((0,vd.M)(d=>{this._navigation.next(d)}))}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})(),Gl=(()=>{class b{constructor(d){this._httpClient=d,this._chat=new $t.t(null),this._chats=new $t.t(null)}get chat$(){return this._chat.asObservable()}get chats$(){return this._chats.asObservable()}getChats(){return this._httpClient.get("api/apps/chat/chats").pipe((0,vd.M)(d=>{this._chats.next(d)}))}getChatById(d){return this._httpClient.get("api/apps/chat/chat",{params:{id:d}}).pipe((0,Xa.T)(m=>(this._chat.next(m),m)),(0,ht.n)(m=>m?(0,R.of)(m):(0,I.$)("Could not found chat with id of "+d+"!")))}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(q.Qq))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();const _d=new class wu{constructor(p){this.version=p,this.full=p,this.major=p.split(".")[0],this.minor=p.split(".")[1],this.patch=p.split(".").slice(2).join(".")}}("0.0.9").full;var Vs=r(6977),Uw=r(4085),yu=r(7575);function Im(b,p){if(1&b&&c.nrm(0,"mat-progress-bar",0),2&b){const d=c.XpG();c.Y8G("mode",d.mode)("value",d.progress)}}let up=(()=>{class b{constructor(){this._angorLoadingService=(0,c.WQX)(St),this.autoMode=!0,this.progress=0,this.show=!1,this._unsubscribeAll=new Ma.B}ngOnChanges(d){"autoMode"in d&&this._angorLoadingService.setAutoMode((0,Uw.he)(d.autoMode.currentValue))}ngOnInit(){this._angorLoadingService.mode$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{this.mode=d}),this._angorLoadingService.progress$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{this.progress=d}),this._angorLoadingService.show$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{this.show=d})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["angor-loading-bar"]],inputs:{autoMode:"autoMode"},exportAs:["angorLoadingBar"],standalone:!0,features:[c.OA$,c.aNF],decls:1,vars:1,consts:[[3,"mode","value"]],template:function(m,D){1&m&&c.DNE(0,Im,1,2,"mat-progress-bar",0),2&m&&c.vxM(D.show?0:-1)},dependencies:[yu.PO,yu.HM],styles:["angor-loading-bar{position:fixed;top:0;z-index:999;width:100%;height:6px}\n"],encapsulation:2})}}return b})();function $w(b,p){1&b&&c.nrm(0,"router-outlet")}let Gv=(()=>{class b{constructor(){this._unsubscribeAll=new Ma.B}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["empty-layout"]],standalone:!0,features:[c.aNF],decls:4,vars:1,consts:[[1,"flex","w-full","flex-auto","flex-col"],[1,"flex","flex-auto","flex-col"]],template:function(m,D){1&m&&(c.nrm(0,"angor-loading-bar"),c.j41(1,"div",0)(2,"div",1),c.DNE(3,$w,1,0,"router-outlet"),c.k0s()()),2&m&&(c.R7$(3),c.vxM(3))},dependencies:[up,s.n3],encapsulation:2})}}return b})();var rc=r(8834),Ia=r(9213),vu=r(4823);function Uh(b,p){1&b&&c.nrm(0,"mat-icon",3)}let $h=(()=>{class b{constructor(){this._document=(0,c.WQX)(Et.qQ)}toggleFullscreen(){this._document.fullscreenEnabled?this._document.fullscreenElement?this._document.exitFullscreen():this._document.documentElement.requestFullscreen().catch(()=>{console.error("Entering fullscreen mode failed.")}):console.log("Fullscreen is not available in this browser.")}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["angor-fullscreen"]],inputs:{iconTpl:"iconTpl",tooltip:"tooltip"},exportAs:["angorFullscreen"],standalone:!0,features:[c.aNF],decls:4,vars:2,consts:[["defaultIconTpl",""],["mat-icon-button","",3,"click","matTooltip"],[3,"ngTemplateOutlet"],["svgIcon","heroicons_outline:arrows-pointing-out"]],template:function(m,D){if(1&m){const V=c.RV6();c.j41(0,"button",1),c.bIt("click",function(){return c.eBV(V),c.Njj(D.toggleFullscreen())}),c.eu8(1,2),c.k0s(),c.DNE(2,Uh,1,0,"ng-template",null,0,c.C5r)}if(2&m){const V=c.sdS(3);c.Y8G("matTooltip",D.tooltip||"Toggle Fullscreen"),c.R7$(),c.Y8G("ngTemplateOutlet",D.iconTpl||V)}},dependencies:[rc.Hl,rc.iY,vu.uc,vu.oV,Et.T3,Ia.m_,Ia.An],encapsulation:2,changeDetection:0})}}return b})();var xu=r(7857),Om=r(6939),Rm=r(6231);let cf=(()=>{class b{constructor(d){this.relayService=d,this.notificationSubject=new $t.t([]),this.notificationCount=new $t.t(0),this.lastNotificationTimestamp=null,this.initializeNotificationData()}initializeNotificationData(){this.notificationCount.next(this.loadCountFromLocalStorage()),this.lastNotificationTimestamp=this.loadTimestampFromLocalStorage()}loadCountFromLocalStorage(){const d=localStorage.getItem("notificationCount");return d?parseInt(d,10):0}loadTimestampFromLocalStorage(){const d=localStorage.getItem("lastNotificationTimestamp");return d?parseInt(d,10):null}saveNotificationData(d,m){localStorage.setItem("notificationCount",d.toString()),localStorage.setItem("lastNotificationTimestamp",m.toString())}getNotificationObservable(){return this.notificationSubject.asObservable()}getNotificationCount(){return this.notificationCount.asObservable()}loadFilterPreferences(){const d=localStorage.getItem("notificationSettings");return d?JSON.parse(d):[1,3,4,7,9735]}subscribeToNotifications(d){var m=this;return(0,k.A)(function*(){yield m.relayService.ensureConnectedRelays();const D=m.relayService.getPool(),V=m.relayService.getConnectedRelays();if(0===V.length)throw new Error("No connected relays");const Q=m.loadTimestampFromLocalStorage(),yt=m.loadFilterPreferences();0===yt.length&&yt.push(1,3,4,7,9735);const Vt={kinds:yt,"#p":[d],limit:50,since:Q||void 0};return new Promise(ye=>{D.subscribeMany(V,[Vt],{onevent:wr=>m.handleNotificationEvent(wr,d),oneose(){ye()}})})})()}handleNotificationEvent(d,m){if(this.isNotificationEvent(d,m)){const V=new Date(1e3*d.created_at);let Q="",yt="",Vt="";switch(d.kind){case 1:Q="Mention",yt="Mentioned you in an event.",Vt="heroicons_outline:at-symbol";break;case 4:Q="Private Message",yt="Sent a private message.",Vt="heroicons_outline:envelope-open";break;case 9735:Q="Zap",yt="Received a zap event.",Vt="feather:zap";break;case 3:Q="New Follower",yt="You have a new follower.",Vt="heroicons_outline:user-plus";break;case 7:Q="New Like",yt="You have a new Like.",Vt="heroicons_outline:hand-thumb-up";break;default:Q="Notification",Vt="heroicons_outline:bell"}const wr=[{id:d.id,icon:Vt,title:Q,description:yt,time:V,kind:d.kind,read:!1},...this.notificationSubject.value].slice(0,50);this.notificationSubject.next(wr),this.incrementNotificationCount(d.created_at)}}incrementNotificationCount(d){const m=this.notificationCount.value+1;this.notificationCount.next(m),this.saveNotificationData(m,d)}markAllAsRead(){const d=this.notificationSubject.value.map(D=>({...D,read:!0}));this.notificationSubject.next(d),this.notificationCount.next(0);const m=Math.floor(Date.now()/1e3);this.saveNotificationData(0,m)}isNotificationEvent(d,m){return d.tags.some(D=>"p"===D[0]&&D[1]===m)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Rm.b))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var Xl=r(7987),Nc=r(4930);const Nm=["notificationsOrigin"],jh=["notificationsPanel"],Lm=b=>({unread:b}),Pm=(b,p)=>({"bg-gray-400 dark:bg-gray-500 sm:opacity-0 sm:group-hover:opacity-100":b,"bg-primary":p});function Fm(b,p){if(1&b&&(c.j41(0,"span",4)(1,"span",6),c.EFF(2),c.k0s()()),2&b){const d=c.XpG();c.R7$(2),c.SpI(" ",d.unreadCount," ")}}function lf(b,p){1&b&&c.eu8(0)}function Bm(b,p){if(1&b&&(c.j41(0,"a",23),c.DNE(1,lf,1,0,"ng-container",25),c.k0s()),2&b){const d=c.XpG(2).$implicit,m=c.sdS(9);c.Y8G("href",d.link,c.B4B),c.R7$(),c.Y8G("ngTemplateOutlet",m)}}function Vh(b,p){1&b&&c.eu8(0)}function df(b,p){if(1&b&&(c.j41(0,"a",24),c.DNE(1,Vh,1,0,"ng-container",25),c.k0s()),2&b){const d=c.XpG(2).$implicit,m=c.sdS(9);c.Y8G("routerLink",d.link),c.R7$(),c.Y8G("ngTemplateOutlet",m)}}function _u(b,p){if(1&b&&c.DNE(0,Bm,2,2,"a",23)(1,df,2,2,"a",24),2&b){const d=c.XpG().$implicit;c.vxM(d.useRouter?-1:0),c.R7$(),c.vxM(d.useRouter?1:-1)}}function jw(b,p){1&b&&c.eu8(0)}function Vw(b,p){if(1&b&&(c.j41(0,"div",17),c.DNE(1,jw,1,0,"ng-container",25),c.k0s()),2&b){c.XpG();const d=c.sdS(9);c.R7$(),c.Y8G("ngTemplateOutlet",d)}}function Xv(b,p){if(1&b&&(c.j41(0,"div",26),c.nrm(1,"mat-icon",32),c.k0s()),2&b){const d=c.XpG(2).$implicit;c.R7$(),c.Y8G("svgIcon",d.icon)}}function zh(b,p){if(1&b&&c.nrm(0,"img",27),2&b){const d=c.XpG(2).$implicit;c.Y8G("src",d.image,c.B4B)("alt","Notification image")}}function uf(b,p){if(1&b&&c.nrm(0,"div",29),2&b){const d=c.XpG(2).$implicit;c.Y8G("innerHTML",d.title,c.npT)}}function Um(b,p){if(1&b&&c.nrm(0,"div",30),2&b){const d=c.XpG(2).$implicit;c.Y8G("innerHTML",d.description,c.npT)}}function $m(b,p){if(1&b&&(c.DNE(0,Xv,2,1,"div",26)(1,zh,1,2,"img",27),c.j41(2,"div",28),c.DNE(3,uf,1,1,"div",29)(4,Um,1,1,"div",30),c.j41(5,"div",31),c.EFF(6),c.nI1(7,"date"),c.k0s()()),2&b){const d=c.XpG().$implicit;c.vxM(d.icon&&!d.image?0:-1),c.R7$(),c.vxM(d.image?1:-1),c.R7$(2),c.vxM(d.title?3:-1),c.R7$(),c.vxM(d.description?4:-1),c.R7$(2),c.SpI(" ",c.i5U(7,5,d.time,"MMM dd, h:mm a")," ")}}function jm(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",16),c.DNE(1,_u,2,2)(2,Vw,2,1,"div",17),c.j41(3,"div",18)(4,"button",19),c.bIt("click",function(){const D=c.eBV(d).$implicit,V=c.XpG(2);return c.Njj(V.toggleRead(D))}),c.nrm(5,"span",20),c.k0s(),c.j41(6,"button",21),c.bIt("click",function(){const D=c.eBV(d).$implicit,V=c.XpG(2);return c.Njj(V.delete(D))}),c.nrm(7,"mat-icon",22),c.k0s()()(),c.DNE(8,$m,8,8,"ng-template",null,2,c.C5r)}if(2&b){const d=p.$implicit;c.Y8G("ngClass",c.eq3(7,Lm,!d.read)),c.R7$(),c.vxM(d.link?1:-1),c.R7$(),c.vxM(d.link?-1:2),c.R7$(2),c.Y8G("matTooltip",d.read?"Mark as unread":"Mark as read"),c.R7$(),c.Y8G("ngClass",c.l_i(9,Pm,d.read,!d.read)),c.R7$(),c.Y8G("matTooltip","Remove"),c.R7$(),c.Y8G("svgIcon","heroicons_solid:x-mark")}}function kd(b,p){1&b&&(c.j41(0,"div",15)(1,"div",33),c.nrm(2,"mat-icon",34),c.k0s(),c.j41(3,"div",35),c.EFF(4," No notifications "),c.k0s(),c.j41(5,"div",36),c.EFF(6," When you have notifications, they will appear here. "),c.k0s()()),2&b&&(c.R7$(2),c.Y8G("svgIcon","heroicons_outline:bell"))}function zw(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",7)(1,"div",8)(2,"div",9)(3,"button",3),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.closePanel())}),c.nrm(4,"mat-icon",10),c.k0s()(),c.j41(5,"div",11),c.EFF(6,"Notifications"),c.k0s(),c.j41(7,"div",12)(8,"button",13),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.markAllAsRead())}),c.nrm(9,"mat-icon",10),c.k0s()()(),c.j41(10,"div",14),c.Z7z(11,jm,10,12,null,null,c.BUC().trackByFn,!0),c.DNE(13,kd,7,1,"div",15),c.k0s()()}if(2&b){const d=c.XpG();c.R7$(4),c.Y8G("svgIcon","heroicons_solid:x-mark"),c.R7$(4),c.Y8G("matTooltip","Mark all as read")("disabled",0===d.unreadCount),c.R7$(),c.Y8G("svgIcon","heroicons_solid:envelope-open"),c.R7$(2),c.Dyx(d.notifications),c.R7$(2),c.vxM(d.notifications&&d.notifications.length?-1:13)}}let Vm=(()=>{class b{constructor(d,m,D,V,Q){this._notificationService=d,this._changeDetectorRef=m,this._overlay=D,this._viewContainerRef=V,this._signerService=Q,this.notifications=[],this.unreadCount=0,this._unsubscribeAll=new Ma.B}ngOnInit(){const d=this._signerService.getPublicKey();this._notificationService.subscribeToNotifications(d).then(()=>{this._notificationService.getNotificationObservable().pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(m=>{this.notifications=m,this._changeDetectorRef.markForCheck()}),this._notificationService.getNotificationCount().pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(m=>{this.unreadCount=m,this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}openPanel(){!this._notificationsPanel||!this._notificationsOrigin||(this._overlayRef||this._createOverlay(),this._overlayRef.attach(new Om.VA(this._notificationsPanel,this._viewContainerRef)))}closePanel(){this._overlayRef&&this._overlayRef.detach()}markAllAsRead(){this._notificationService.markAllAsRead()}toggleRead(d){d.read=!d.read}trackByFn(d,m){return m.id}_createOverlay(){this._overlayRef=this._overlay.create({hasBackdrop:!0,backdropClass:"angor-backdrop-on-mobile",scrollStrategy:this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().flexibleConnectedTo(this._notificationsOrigin._elementRef.nativeElement).withLockedPosition(!0).withPush(!0).withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"}])}),this._overlayRef.backdropClick().subscribe(()=>{this._overlayRef.detach()})}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(cf),c.rXU(c.gRc),c.rXU(Xl.hJ),c.rXU(c.c1b),c.rXU(Nc.A))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["notifications"]],viewQuery:function(m,D){if(1&m&&(c.GBs(Nm,5),c.GBs(jh,5)),2&m){let V;c.mGM(V=c.lsd())&&(D._notificationsOrigin=V.first),c.mGM(V=c.lsd())&&(D._notificationsPanel=V.first)}},exportAs:["notifications"],standalone:!0,features:[c.aNF],decls:6,vars:2,consts:[["notificationsOrigin",""],["notificationsPanel",""],["notificationContent",""],["mat-icon-button","",3,"click"],[1,"absolute","left-0","right-0","top-0","flex","h-3","items-center","justify-center"],[3,"svgIcon"],[1,"ml-4","mt-2.5","flex","h-4","min-w-4","shrink-0","items-center","justify-center","rounded-full","bg-teal-600","px-1","text-xs","font-medium","text-indigo-50"],[1,"fixed","inset-0","flex","flex-col","overflow-hidden","shadow-lg","sm:static","sm:inset-auto","sm:w-90","sm:min-w-90","sm:rounded-2xl"],[1,"flex","shrink-0","items-center","bg-primary","py-4","pl-6","pr-4","text-on-primary"],[1,"-ml-1","mr-3","sm:hidden"],[1,"text-current","icon-size-5",3,"svgIcon"],[1,"text-lg","font-medium","leading-10"],[1,"ml-auto"],["mat-icon-button","",1,"dark:text-white",3,"click","matTooltip","disabled"],[1,"bg-card","relative","flex","flex-auto","flex-col","divide-y","overflow-y-auto","sm:max-h-120"],[1,"flex","flex-auto","flex-col","items-center","justify-center","px-8","py-12","sm:justify-start"],[1,"group","flex","hover:bg-gray-50","dark:hover:bg-black","dark:hover:bg-opacity-5",3,"ngClass"],[1,"flex","flex-auto","py-5","pl-6"],[1,"relative","my-5","ml-2","mr-6","flex","flex-col"],["mat-icon-button","",1,"h-6","min-h-6","w-6",3,"click","matTooltip"],[1,"h-2","w-2","rounded-full",3,"ngClass"],["mat-icon-button","",1,"h-6","min-h-6","w-6","sm:opacity-0","sm:group-hover:opacity-100",3,"click","matTooltip"],[1,"icon-size-4",3,"svgIcon"],[1,"flex","flex-auto","cursor-pointer","py-5","pl-6",3,"href"],[1,"flex","flex-auto","cursor-pointer","py-5","pl-6",3,"routerLink"],[4,"ngTemplateOutlet"],[1,"mr-4","flex","h-8","w-8","shrink-0","items-center","justify-center","rounded-full","bg-gray-100","dark:bg-gray-700"],[1,"mr-4","h-8","w-8","shrink-0","overflow-hidden","rounded-full","object-cover","object-center",3,"src","alt"],[1,"flex","flex-auto","flex-col"],[1,"line-clamp-1","font-semibold",3,"innerHTML"],[1,"line-clamp-2",3,"innerHTML"],[1,"text-secondary","mt-2","text-sm","leading-none"],[1,"icon-size-5",3,"svgIcon"],[1,"flex","h-14","w-14","flex-0","items-center","justify-center","rounded-full","bg-primary-100","dark:bg-primary-600"],[1,"text-primary-700","dark:text-primary-50",3,"svgIcon"],[1,"mt-5","text-2xl","font-semibold","tracking-tight"],[1,"text-secondary","mt-1","w-full","max-w-60","text-center","text-md"]],template:function(m,D){if(1&m){const V=c.RV6();c.j41(0,"button",3,0),c.bIt("click",function(){return c.eBV(V),c.Njj(D.openPanel())}),c.DNE(2,Fm,3,1,"span",4),c.nrm(3,"mat-icon",5),c.k0s(),c.DNE(4,zw,14,5,"ng-template",null,1,c.C5r)}2&m&&(c.R7$(2),c.vxM(D.unreadCount>0?2:-1),c.R7$(),c.Y8G("svgIcon","heroicons_outline:bell"))},dependencies:[rc.Hl,rc.iY,Ia.m_,Ia.An,vu.uc,vu.oV,Et.YU,Et.T3,s.Wk,Et.vh],encapsulation:2,changeDetection:0})}}return b})();var Hw=r(5888),Ed=r(9417),zm=r(5542),zs=r(9888),Yl=r(8359),Qc=r(7336),Hm=r(9327),Ww=r(9172),Kw=r(8203);const Gw=["panel"],Xw=["*"];function Wm(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",1,0),c.bIt("@panelAnimation.done",function(D){c.eBV(d);const V=c.XpG();return c.Njj(V._animationDone.next(D))}),c.SdG(2),c.k0s()}if(2&b){const d=p.id,m=c.XpG();c.HbH(m._classList),c.AVh("mat-mdc-autocomplete-visible",m.showPanel)("mat-mdc-autocomplete-hidden",!m.showPanel)("mat-primary","primary"===m._color)("mat-accent","accent"===m._color)("mat-warn","warn"===m._color),c.Y8G("id",m.id)("@panelAnimation",m.isOpen?"visible":"hidden"),c.BMQ("aria-label",m.ariaLabel||null)("aria-labelledby",m._getPanelAriaLabelledby(d))}}const Yw=(0,Ho.hZ)("panelAnimation",[(0,Ho.wk)("void, hidden",(0,Ho.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,Ho.kY)(":enter, hidden => visible",[(0,Ho.Os)([(0,Ho.i0)("0.03s linear",(0,Ho.iF)({opacity:1})),(0,Ho.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,Ho.iF)({transform:"scaleY(1)"}))])]),(0,Ho.kY)(":leave, visible => hidden",[(0,Ho.i0)("0.075s linear",(0,Ho.iF)({opacity:0}))])]);let Zw=0;class Qw{constructor(p,d){this.source=p,this.option=d}}const Km=new c.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function Hh(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let bl=(()=>{class b{get isOpen(){return this._isOpen&&this.showPanel}_setColor(d){this._color=d,this._changeDetectorRef.markForCheck()}set classList(d){this._classList=d,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(d){this._hideSingleSelectionIndicator=d,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const d of this.options)d._changeDetectorRef.markForCheck()}constructor(d,m,D,V){this._changeDetectorRef=d,this._elementRef=m,this._defaults=D,this._activeOptionChanges=Yl.yU.EMPTY,this._animationDone=new c.bkB,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new c.bkB,this.opened=new c.bkB,this.closed=new c.bkB,this.optionActivated=new c.bkB,this.id="mat-autocomplete-"+Zw++,this.inertGroups=V?.SAFARI||!1,this.autoActiveFirstOption=!!D.autoActiveFirstOption,this.autoSelectActiveOption=!!D.autoSelectActiveOption,this.requireSelection=!!D.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new zs.Au(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(d=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[d]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(d){this.panel&&(this.panel.nativeElement.scrollTop=d)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(d){const m=new Qw(this,d);this.optionSelected.emit(m)}_getPanelAriaLabelledby(d){return this.ariaLabel?null:this.ariaLabelledby?(d?d+" ":"")+this.ariaLabelledby:d}_skipPredicate(){return!1}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(c.gRc),c.rXU(c.aKT),c.rXU(Km),c.rXU(et.OD))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["mat-autocomplete"]],contentQueries:function(m,D,V){if(1&m&&(c.wni(V,Xe.wT,5),c.wni(V,Xe.QC,5)),2&m){let Q;c.mGM(Q=c.lsd())&&(D.options=Q),c.mGM(Q=c.lsd())&&(D.optionGroups=Q)}},viewQuery:function(m,D){if(1&m&&(c.GBs(c.C4Q,7),c.GBs(Gw,5)),2&m){let V;c.mGM(V=c.lsd())&&(D.template=V.first),c.mGM(V=c.lsd())&&(D.panel=V.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",c.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",c.L39],requireSelection:[2,"requireSelection","requireSelection",c.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",c.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",c.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[c.Jv_([{provide:Xe.is,useExisting:b}]),c.GFd,c.aNF],ngContentSelectors:Xw,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(m,D){1&m&&(c.NAR(),c.DNE(0,Wm,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Yw]},changeDetection:0})}}return b})();const Gm={provide:Ed.kq,useExisting:(0,c.Rfq)(()=>Jw),multi:!0},Kh=new c.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const b=(0,c.WQX)(Xl.hJ);return()=>b.scrollStrategies.reposition()}}),Zv={provide:Kh,deps:[Xl.hJ],useFactory:function Yv(b){return()=>b.scrollStrategies.reposition()}};let Jw=(()=>{class b{constructor(d,m,D,V,Q,yt,Vt,ye,lr,wr,bo){this._element=d,this._overlay=m,this._viewContainerRef=D,this._zone=V,this._changeDetectorRef=Q,this._dir=Vt,this._formField=ye,this._document=lr,this._viewportRuler=wr,this._defaults=bo,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Yl.yU.EMPTY,this._breakpointObserver=(0,c.WQX)(Hm.QP),this._handsetLandscapeSubscription=Yl.yU.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ma.B,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new Ma.B,this._injector=(0,c.WQX)(c.zZn),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,cu.v)(()=>{const Vr=this.autocomplete?this.autocomplete.options:null;return Vr?Vr.changes.pipe((0,Ww.Z)(Vr),(0,ht.n)(()=>(0,Gc.h)(...Vr.map(ho=>ho.onSelectionChange)))):this._initialized.pipe((0,ht.n)(()=>this.optionSelections))}),this._handlePanelKeydown=Vr=>{(Vr.keyCode===Qc._f&&!(0,Qc.rp)(Vr)||Vr.keyCode===Qc.i7&&(0,Qc.rp)(Vr,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Vr.stopPropagation(),Vr.preventDefault())},this._trackedModal=null,this._scrollStrategy=yt}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();const d=this._getWindow();typeof d<"u"&&this._zone.runOutsideAngular(()=>d.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(d){d.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const d=this._getWindow();typeof d<"u"&&d.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&(0,zs.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,Gc.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,jt.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,jt.p)(()=>this._overlayAttached)):(0,R.of)()).pipe((0,Xa.T)(d=>d instanceof Xe.MI?d:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Gc.h)((0,bd.R)(this._document,"click"),(0,bd.R)(this._document,"auxclick"),(0,bd.R)(this._document,"touchend")).pipe((0,jt.p)(d=>{const m=(0,et.Fb)(d),D=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,V=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&m!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!D||!D.contains(m))&&(!V||!V.contains(m))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(m)}))}writeValue(d){Promise.resolve(null).then(()=>this._assignOptionValue(d))}registerOnChange(d){this._onChange=d}registerOnTouched(d){this._onTouched=d}setDisabledState(d){this._element.nativeElement.disabled=d}_handleKeydown(d){const m=d.keyCode,D=(0,Qc.rp)(d);if(m===Qc._f&&!D&&d.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&m===Qc.Fm&&this.panelOpen&&!D)this.activeOption._selectViaInteraction(),this._resetActiveItem(),d.preventDefault();else if(this.autocomplete){const V=this.autocomplete._keyManager.activeItem,Q=m===Qc.i7||m===Qc.n6;m===Qc.wn||Q&&!D&&this.panelOpen?this.autocomplete._keyManager.onKeydown(d):Q&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(Q||this.autocomplete._keyManager.activeItem!==V)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(d){let m=d.target,D=m.value;if("number"===m.type&&(D=""==D?null:parseFloat(D)),this._previousValue!==D){if(this._previousValue=D,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(D),D){if(this.panelOpen&&!this.autocomplete.requireSelection){const V=this.autocomplete.options?.find(Q=>Q.selected);V&&D!==this._getDisplayValue(V.value)&&V.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._document.activeElement===d.target){const V=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(V)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(d=!1){this._formField&&"auto"===this._formField.floatLabel&&(d?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const d=new T.c(D=>{(0,c.mal)(()=>{D.next()},{injector:this._injector})}),m=this.autocomplete.options.changes.pipe((0,vd.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,ct.c)(0));return(0,Gc.h)(d,m).pipe((0,ht.n)(()=>this._zone.run(()=>{const D=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),D!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,M.s)(1)).subscribe(D=>this._setValueAndClose(D))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(d){const m=this.autocomplete;return m&&m.displayWith?m.displayWith(d):d}_assignOptionValue(d){const m=this._getDisplayValue(d);null==d&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(m??"")}_updateNativeInputValue(d){this._formField?this._formField._control.value=d:this._element.nativeElement.value=d,this._previousValue=d}_setValueAndClose(d){const m=this.autocomplete,D=d?d.source:this._pendingAutoselectedOption;D?(this._clearPreviousSelectedOption(D),this._assignOptionValue(D.value),this._onChange(D.value),m._emitSelectEvent(D),this._element.nativeElement.focus()):m.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),m._animationDone?m._animationDone.pipe((0,M.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(d,m){this.autocomplete?.options?.forEach(D=>{D!==d&&D.selected&&D.deselect(m)})}_openPanelInternal(d=this._element.nativeElement.value){this._attachOverlay(d),this._floatLabel(),this._trackedModal&&(0,zs.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(d){let m=this._overlayRef;m?(this._positionStrategy.setOrigin(this._getConnectedElement()),m.updateSize({width:this._getPanelWidth()})):(this._portal=new Om.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),m=this._overlay.create(this._getOverlayConfig()),this._overlayRef=m,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&m&&m.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Hm.Rp.HandsetLandscape).subscribe(V=>{V.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),m&&!m.hasAttached()&&(m.attach(this._portal),this._valueOnAttach=d,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const D=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&D!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const d=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=d.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=d.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Xl.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const d=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(d),this._positionStrategy=d,d}_setStrategyPositions(d){const m=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],D=this._aboveClass,V=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:D},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:D}];let Q;Q="above"===this.position?V:"below"===this.position?m:[...m,...V],d.withPositions(Q)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const d=this.autocomplete;if(d.autoActiveFirstOption){let m=-1;for(let D=0;D .cdk-overlay-container [aria-modal="true"]');if(!d)return;const m=this.autocomplete.id;this._trackedModal&&(0,zs.Ae)(this._trackedModal,"aria-owns",m),(0,zs.px)(d,"aria-owns",m),this._trackedModal=d}_clearFromModal(){this._trackedModal&&((0,zs.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(c.aKT),c.rXU(Xl.hJ),c.rXU(c.c1b),c.rXU(c.SKi),c.rXU(c.gRc),c.rXU(Kh),c.rXU(Kw.dS,8),c.rXU(gr.xb,9),c.rXU(Et.qQ,8),c.rXU(zm.Xj),c.rXU(Km,8))}}static{this.\u0275dir=c.FsC({type:b,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(m,D){1&m&&c.bIt("focusin",function(){return D._handleFocus()})("blur",function(){return D._onTouched()})("input",function(Q){return D._handleInput(Q)})("keydown",function(Q){return D._handleKeydown(Q)})("click",function(){return D._handleClick()}),2&m&&c.BMQ("autocomplete",D.autocompleteAttribute)("role",D.autocompleteDisabled?null:"combobox")("aria-autocomplete",D.autocompleteDisabled?null:"list")("aria-activedescendant",D.panelOpen&&D.activeOption?D.activeOption.id:null)("aria-expanded",D.autocompleteDisabled?null:D.panelOpen.toString())("aria-controls",D.autocompleteDisabled||!D.panelOpen||null==D.autocomplete?null:D.autocomplete.id)("aria-haspopup",D.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",c.L39]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[c.Jv_([Gm]),c.GFd,c.OA$]})}}return b})(),pf=(()=>{class b{static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275mod=c.$C({type:b})}static{this.\u0275inj=c.G2t({providers:[Zv],imports:[Xl.z_,Xe.Sy,Xe.yE,Et.MD,zm.Gj,Xe.Sy,Xe.yE]})}}return b})();var hf=r(9042),Qv=r(152),t0=r(7291);const Xm=["barSearchInput"],e0=["matAutocomplete"];function r0(b,p){if(1&b){const d=c.RV6();c.j41(0,"button",5),c.bIt("click",function(){c.eBV(d);const D=c.XpG(2);return c.Njj(D.open())}),c.nrm(1,"mat-icon",6),c.k0s()}2&b&&(c.R7$(),c.Y8G("svgIcon","heroicons_outline:magnifying-glass"))}function o0(b,p){1&b&&(c.j41(0,"mat-option",14),c.EFF(1," No results found! "),c.k0s())}function n0(b,p){if(1&b){const d=c.RV6();c.j41(0,"img",22),c.bIt("error",function(D){c.eBV(d);const V=c.XpG(5);return c.Njj(V.handleImageError(D))}),c.k0s()}if(2&b){const d=c.XpG().$implicit;c.Mz_("alt","",d.name,"'s avatar"),c.Y8G("src",d.avatar,c.B4B)}}function a0(b,p){1&b&&(c.qex(0),c.nrm(1,"mat-icon",23),c.bVm()),2&b&&(c.R7$(),c.Y8G("svgIcon","heroicons_outline:user-circle"))}function Ym(b,p){if(1&b&&(c.j41(0,"div",24),c.EFF(1),c.k0s()),2&b){const d=c.XpG().$implicit;c.R7$(),c.SpI(" ",d.about," ")}}function Zm(b,p){if(1&b&&(c.qex(0),c.j41(1,"mat-option",15)(2,"div",16)(3,"div",17),c.DNE(4,n0,1,3,"img",18)(5,a0,2,1,"ng-container",2),c.k0s(),c.j41(6,"div",19)(7,"span",20),c.EFF(8),c.k0s(),c.DNE(9,Ym,2,1,"div",21),c.k0s()()(),c.bVm()),2&b){const d=p.$implicit;c.R7$(),c.Y8G("routerLink",d.link)("value",d.name),c.R7$(3),c.Y8G("ngIf",d.avatar),c.R7$(),c.Y8G("ngIf",!d.avatar),c.R7$(3),c.JRh(d.name),c.R7$(),c.Y8G("ngIf",d.about)}}function s0(b,p){if(1&b&&(c.qex(0),c.DNE(1,Zm,10,6,"ng-container",12),c.bVm()),2&b){const d=p.$implicit,m=c.XpG(3);c.R7$(),c.Y8G("ngForOf",d.results)("ngForTrackBy",m.trackByFn)}}function c0(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",7),c.nrm(1,"mat-icon",8),c.j41(2,"input",9,0),c.bIt("keydown",function(D){c.eBV(d);const V=c.XpG(2);return c.Njj(V.onKeydown(D))}),c.k0s(),c.j41(4,"mat-autocomplete",10,1),c.DNE(6,o0,2,0,"mat-option",11)(7,s0,2,2,"ng-container",12),c.k0s(),c.j41(8,"button",13),c.bIt("click",function(){c.eBV(d);const D=c.XpG(2);return c.Njj(D.close())}),c.nrm(9,"mat-icon",6),c.k0s()()}if(2&b){const d=c.sdS(5),m=c.XpG(2);c.Y8G("@slideInTop",void 0)("@slideOutTop",void 0),c.R7$(),c.Y8G("svgIcon","heroicons_outline:magnifying-glass"),c.R7$(),c.Y8G("formControl",m.searchControl)("matAutocomplete",d)("placeholder","Search..."),c.R7$(2),c.Y8G("autoSelectActiveOption",!0)("disableRipple",!0),c.R7$(2),c.Y8G("ngIf",m.resultSets&&!m.resultSets.length),c.R7$(),c.Y8G("ngForOf",m.resultSets)("ngForTrackBy",m.trackByFn),c.R7$(2),c.Y8G("svgIcon","heroicons_outline:x-mark")}}function Qm(b,p){if(1&b&&(c.j41(0,"div"),c.DNE(1,r0,2,1,"button",3)(2,c0,10,12,"div",4),c.k0s()),2&b){const d=c.XpG();c.R7$(),c.Y8G("ngIf",!d.opened),c.R7$(),c.Y8G("ngIf",d.opened)}}let pp=(()=>{class b{constructor(d,m){this._storageService=d,this._sanitizer=m,this.appearance="basic",this.debounce=300,this.minLength=2,this.search=new c.bkB,this.opened=!1,this.searchControl=new Ed.hs,this._unsubscribeAll=new Ma.B}set barSearchInput(d){d&&setTimeout(()=>{d.nativeElement.focus()})}set matAutocomplete(d){this._matAutocomplete=d}ngOnChanges(d){"appearance"in d&&this.close()}ngOnInit(){var d=this;this.searchControl.valueChanges.pipe((0,Qv.B)(this.debounce),(0,Vs.Q)(this._unsubscribeAll),(0,Xa.T)(m=>((!m||m.lengthm&&m.length>=this.minLength)).subscribe(function(){var m=(0,k.A)(function*(D){const V=yield d._storageService.searchProfile(D);d.resultSets=V.map(Q=>({label:"Project",results:[{name:Q.profile.name||Q.profile.displayName||Q.pubKey,pubkey:Q.pubKey,username:Q.profile.username||"",website:Q.profile.website||"",about:Q.profile.about?Q.profile.about.replace(/<\/?[^>]+(>|$)/g,""):"",avatar:Q.profile.picture||null,banner:Q.profile.banner||null,link:`/profile/${Q.pubKey}`}]})),d.search.next(d.resultSets)});return function(D){return m.apply(this,arguments)}}())}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}onKeydown(d){"Escape"===d.code&&"bar"===this.appearance&&!this._matAutocomplete.isOpen&&this.close()}open(){this.opened||(this.opened=!0)}close(){this.opened&&(this.searchControl.setValue(""),this.opened=!1)}trackByFn(d,m){return m.id||d}handleImageError(d){const m=d.target;m.onerror=null,m.src="images/avatars/avatar-placeholder.png"}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(t0.n),c.rXU(o.up))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["search"]],viewQuery:function(m,D){if(1&m&&(c.GBs(Xm,5),c.GBs(e0,5)),2&m){let V;c.mGM(V=c.lsd())&&(D.barSearchInput=V.first),c.mGM(V=c.lsd())&&(D.matAutocomplete=V.first)}},inputs:{appearance:"appearance",debounce:"debounce",minLength:"minLength"},outputs:{search:"search"},exportAs:["angorSearch"],standalone:!0,features:[c.Jv_([{provide:Kh,useFactory:()=>{const d=(0,c.WQX)(Xl.hJ);return()=>d.scrollStrategies.block()}}]),c.OA$,c.aNF],decls:1,vars:1,consts:[["barSearchInput",""],["matAutocomplete","matAutocomplete"],[4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],["class","bg-card absolute inset-0 z-99 flex shrink-0 items-center",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"svgIcon"],[1,"bg-card","absolute","inset-0","z-99","flex","shrink-0","items-center"],[1,"absolute","ml-6","sm:ml-8",3,"svgIcon"],[1,"h-full","w-full","px-16","sm:px-18",3,"keydown","formControl","matAutocomplete","placeholder"],[1,"max-h-128","rounded-b","border-t","shadow-md","sm:px-2",3,"autoSelectActiveOption","disableRipple"],["class","text-secondary pointer-events-none bg-transparent px-6 py-0 text-md",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-icon-button","",1,"absolute","right-5","top-1/2","-mt-5","h-10","w-10","shrink-0","sm:right-7",3,"click"],[1,"text-secondary","pointer-events-none","bg-transparent","px-6","py-0","text-md"],[1,"group","relative","mb-1","rounded-md","px-6","py-0","text-md","dark:hover:bg-hover","hover:bg-gray-100",3,"routerLink","value"],[1,"flex","items-center"],[1,"flex","h-8","w-8","shrink-0","items-center","justify-center","overflow-hidden","rounded-full","bg-primary-100","dark:bg-primary-800"],["class","h-full w-full object-cover",3,"src","alt","error",4,"ngIf"],[1,"ml-3","truncate"],[1,"font-semibold"],["class","text-sm text-gray-500",4,"ngIf"],[1,"h-full","w-full","object-cover",3,"error","src","alt"],[1,"m-0","text-primary","icon-size-5","dark:text-primary-400",3,"svgIcon"],[1,"text-sm","text-gray-500"]],template:function(m,D){1&m&&c.DNE(0,Qm,3,2,"div",2),2&m&&c.Y8G("ngIf","bar"===D.appearance)},dependencies:[rc.Hl,rc.iY,Ia.m_,Ia.An,Ed.YN,Ed.me,Ed.BC,pf,bl,Xe.wT,Jw,Ed.X1,Ed.l_,Xe.Sy,s.Wk,gr.RG,hf.fS,Et.MD,Et.Sq,Et.bT],encapsulation:2,data:{animation:Hw.F}})}}return b})();var gf=r(1997),ku=r(9115),qm=r(881),Cd=r(2332);function Jm(b,p){if(1&b&&(c.qex(0),c.nrm(1,"img",14),c.bVm()),2&b){const d=c.XpG();c.R7$(),c.Y8G("src",d.getSafeUrl(null==d.user?null:d.user.picture),c.B4B)}}function l0(b,p){1&b&&c.nrm(0,"mat-icon",12),2&b&&c.Y8G("svgIcon","heroicons_outline:user-circle")}let Gh=(()=>{class b{constructor(d,m,D,V,Q,yt,Vt,ye){this._changeDetectorRef=d,this._router=m,this._angorConfigService=D,this._signerService=V,this._storageService=Q,this.sanitizer=yt,this._changeDetectorRefef=Vt,this._nostrLoginService=ye,this.isLoading=!0,this.errorMessage=null,this._unsubscribeAll=new Ma.B}ngOnInit(){this.userPubKey=this._signerService.getPublicKey(),this._angorConfigService.config$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{localStorage.setItem("angorConfig",JSON.stringify(d)),this.config=d,this._changeDetectorRef.detectChanges()}),this._storageService.profile$.subscribe(d=>{d&&d.pubKey===this.userPubKey&&(this.user=d.metadata,this._changeDetectorRefef.detectChanges())}),this.loadUserProfile()}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}loadUserProfile(){var d=this;return(0,k.A)(function*(){d._storageService.getProfile(d.userPubKey).then(m=>{d.user=m,d._changeDetectorRefef.detectChanges()})})()}logout(){this._router.navigate(["/logout"])}profile(){this._router.navigate(["/profile"])}setLayout(d){this._angorConfigService.config={layout:d},this._changeDetectorRef.detectChanges()}setScheme(d){this._angorConfigService.config={scheme:d},this._changeDetectorRef.detectChanges()}setTheme(d){this._angorConfigService.config={theme:d},this._changeDetectorRef.detectChanges()}getSafeUrl(d){return this.sanitizer.bypassSecurityTrustUrl(d)}Switch(){this._nostrLoginService.switchAccount()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(c.gRc),c.rXU(s.Ix),c.rXU(qm.P),c.rXU(Nc.A),c.rXU(t0.n),c.rXU(o.up),c.rXU(c.gRc),c.rXU(Cd.v))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["user"]],standalone:!0,features:[c.aNF],decls:52,vars:13,consts:[["defaultAvatar",""],["userActions","matMenu"],["settingsMenu","matMenu"],["mat-icon-button","",3,"matMenuTriggerFor"],[1,"relative"],[4,"ngIf","ngIfElse"],[3,"xPosition"],["mat-menu-item",""],[1,"flex","flex-col","leading-none"],[1,"mt-1.5","text-md","font-medium"],[1,"my-2"],["mat-menu-item","",3,"click"],[3,"svgIcon"],["mat-menu-item","",3,"matMenuTriggerFor"],["alt","","onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"h-7","w-7","rounded-full","object-cover",3,"src"]],template:function(m,D){if(1&m){const V=c.RV6();c.j41(0,"button",3)(1,"span",4),c.DNE(2,Jm,2,1,"ng-container",5)(3,l0,1,1,"ng-template",null,0,c.C5r),c.k0s()(),c.j41(5,"mat-menu",6,1)(7,"button",7)(8,"span",8)(9,"span"),c.EFF(10,"Logged in as"),c.k0s(),c.j41(11,"span",9),c.EFF(12),c.k0s()()(),c.nrm(13,"mat-divider",10),c.j41(14,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.Switch())}),c.nrm(15,"mat-icon",12),c.j41(16,"span"),c.EFF(17,"Switch account"),c.k0s()(),c.j41(18,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.profile())}),c.nrm(19,"mat-icon",12),c.j41(20,"span"),c.EFF(21,"Profile"),c.k0s()(),c.j41(22,"button",13),c.nrm(23,"mat-icon",12),c.j41(24,"span"),c.EFF(25,"Settings"),c.k0s()(),c.nrm(26,"mat-divider",10),c.j41(27,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.logout())}),c.nrm(28,"mat-icon",12),c.j41(29,"span"),c.EFF(30,"logout"),c.k0s()()(),c.j41(31,"mat-menu",null,2)(33,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setScheme("auto"))}),c.nrm(34,"mat-icon",12),c.j41(35,"span"),c.EFF(36,"Auto Theme"),c.k0s()(),c.j41(37,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setScheme("light"))}),c.nrm(38,"mat-icon",12),c.j41(39,"span"),c.EFF(40,"Light Theme"),c.k0s()(),c.j41(41,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setScheme("dark"))}),c.nrm(42,"mat-icon",12),c.j41(43,"span"),c.EFF(44,"Dark Theme"),c.k0s()(),c.nrm(45,"mat-divider"),c.j41(46,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setLayout("classic"))}),c.j41(47,"span"),c.EFF(48,"Classic Layout"),c.k0s()(),c.j41(49,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setLayout("modern"))}),c.j41(50,"span"),c.EFF(51,"Modern Layout"),c.k0s()()()}if(2&m){const V=c.sdS(4),Q=c.sdS(6),yt=c.sdS(32);c.Y8G("matMenuTriggerFor",Q),c.R7$(2),c.Y8G("ngIf",null==D.user?null:D.user.picture)("ngIfElse",V),c.R7$(3),c.Y8G("xPosition","before"),c.R7$(7),c.JRh((null==D.user?null:D.user.display_name)||(null==D.user?null:D.user.name)||"Unknown User"),c.R7$(3),c.Y8G("svgIcon","heroicons_outline:user-circle"),c.R7$(4),c.Y8G("svgIcon","heroicons_outline:user-circle"),c.R7$(3),c.Y8G("matMenuTriggerFor",yt),c.R7$(),c.Y8G("svgIcon","heroicons_outline:cog-8-tooth"),c.R7$(5),c.Y8G("svgIcon","heroicons_outline:arrow-right-on-rectangle"),c.R7$(6),c.Y8G("svgIcon","heroicons_solid:bolt"),c.R7$(4),c.Y8G("svgIcon","heroicons_solid:sun"),c.R7$(4),c.Y8G("svgIcon","heroicons_solid:moon")}},dependencies:[rc.Hl,rc.iY,ku.Cn,ku.kk,ku.fb,ku.Cp,Ia.m_,Ia.An,gf.w,gf.q,Et.MD,Et.bT],encapsulation:2,changeDetection:0})}}return b})();var ff=r(3236);let u0=(()=>{class b{constructor(d,m){this.swUpdate=d,this.zone=m,this.newVersionAvailableSubject=new $t.t(!1),this.isNewVersionAvailable$=this.newVersionAvailableSubject.asObservable(),this.intervalSource=function d0(b=0,p=ff.E){return b<0&&(b=0),(0,Th.O)(b,b,p)}(9e5),this.checkForUpdateOnLoad(),this.checkForUpdateOnInterval()}applyUpdate(){this.swUpdate.activateUpdate().then(()=>document.location.reload()).catch(d=>console.error("Failed to apply updates:",d))}checkForUpdateOnInterval(){var d=this;this.unsubscribeInterval(),this.swUpdate.isEnabled&&this.zone.runOutsideAngular(()=>{this.intervalSubscription=this.intervalSource.subscribe((0,k.A)(function*(){try{(yield d.swUpdate.checkForUpdate())&&d.newVersionAvailableSubject.next(!0)}catch(m){console.error("Failed to check for updates:",m)}}))})}checkForUpdateOnLoad(){this.unsubscribeNewVersion(),this.swUpdate.isEnabled&&(this.newVersionSubscription=this.swUpdate.versionUpdates.subscribe(d=>{switch(d.type){case"VERSION_DETECTED":break;case"VERSION_READY":this.newVersionAvailableSubject.next(!0);break;case"VERSION_INSTALLATION_FAILED":console.error(`Failed to install app version '${d.version.hash}': ${d.error}`)}}))}unsubscribeInterval(){this.intervalSubscription&&this.intervalSubscription.unsubscribe()}unsubscribeNewVersion(){this.newVersionSubscription&&this.newVersionSubscription.unsubscribe()}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(uu),c.KVO(c.SKi))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();function p0(b,p){if(1&b){const d=c.RV6();c.j41(0,"button",1),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.applyUpdate())}),c.nrm(1,"mat-icon",2),c.k0s()}if(2&b){const d=c.XpG();c.Y8G("matTooltip",d.tooltip||"Update App"),c.R7$(),c.Y8G("svgIcon","heroicons_outline:cloud-arrow-down")}}let tb=(()=>{class b{constructor(d,m){this.updateService=d,this._changeDetectorRef=m,this.updateService.isNewVersionAvailable$.subscribe(D=>{D&&this._changeDetectorRef.detectChanges()})}applyUpdate(){this.updateService.applyUpdate()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(u0),c.rXU(c.gRc))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["update"]],inputs:{tooltip:"tooltip"},exportAs:["update"],standalone:!0,features:[c.aNF],decls:2,vars:3,consts:[["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"click","matTooltip"],[3,"svgIcon"]],template:function(m,D){1&m&&(c.DNE(0,p0,2,2,"button",0),c.nI1(1,"async")),2&m&&c.Y8G("ngIf",c.bMT(1,1,D.updateService.isNewVersionAvailable$))},dependencies:[rc.Hl,rc.iY,Ia.m_,Ia.An,vu.uc,vu.oV,Et.MD,Et.bT,Et.Jj],encapsulation:2,changeDetection:0})}}return b})();function eb(b,p){if(1&b&&(c.j41(0,"angor-vertical-navigation",0),c.qex(1,10),c.j41(2,"div",11),c.nrm(3,"img",12),c.k0s(),c.bVm(),c.k0s()),2&b){const d=c.XpG();c.Y8G("mode","over")("name","mainNavigation")("navigation",d.navigation.default)("opened",!1)}}function qv(b,p){if(1&b&&(c.j41(0,"div",13)(1,"div",14),c.nrm(2,"img",15)(3,"img",16),c.k0s(),c.nrm(4,"img",17),c.k0s(),c.nrm(5,"angor-horizontal-navigation",18)),2&b){const d=c.XpG();c.R7$(5),c.Y8G("name","mainNavigation")("navigation",d.navigation.horizontal)}}function Jv(b,p){if(1&b){const d=c.RV6();c.j41(0,"button",19),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.toggleNavigation("mainNavigation"))}),c.nrm(1,"mat-icon",20),c.k0s()}2&b&&(c.R7$(),c.Y8G("svgIcon","heroicons_outline:bars-3"))}function hp(b,p){1&b&&c.nrm(0,"router-outlet")}let h0=(()=>{class b{constructor(d,m,D,V,Q){this._activatedRoute=d,this._router=m,this._navigationService=D,this._angorMediaWatcherService=V,this._angorNavigationService=Q,this._unsubscribeAll=new Ma.B,this.version=_d}get currentYear(){return(new Date).getFullYear()}ngOnInit(){this._navigationService.navigation$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{this.navigation=d}),this._angorMediaWatcherService.onMediaChange$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(({matchingAliases:d})=>{this.isScreenSmall=!d.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(d){const m=this._angorNavigationService.getComponent(d);m&&m.toggle()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(s.nX),c.rXU(s.Ix),c.rXU(Rs),c.rXU(at.l),c.rXU(xu.lX))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["modern-layout"]],standalone:!0,features:[c.aNF],decls:17,vars:7,consts:[[1,"dark","bg-gray-900","print:hidden",3,"mode","name","navigation","opened"],[1,"flex","w-full","min-w-0","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-16","w-full","flex-0","items-center","px-4","shadow","dark:border-b","dark:bg-transparent","dark:shadow-none","sm:h-20","md:px-6","print:hidden"],["mat-icon-button",""],[1,"ml-auto","flex","items-center","space-x-0.5","pl-2","sm:space-x-2"],[1,"hidden","md:block"],[3,"appearance"],[1,"flex","w-full","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-14","w-full","flex-0","items-center","border-t","px-4","dark:bg-transparent","sm:h-20","md:px-6","print:hidden"],[1,"text-secondary","font-medium"],["angorVerticalNavigationContentHeader",""],[1,"flex","h-20","items-center","px-8","pt-6"],["src","images/logo/logo-text-on-dark.svg","alt","Angor Hub",1,"h-10","w-24"],[1,"mx-2","flex","items-center","lg:mr-8"],[1,"hidden","lg:flex"],["src","images/logo/logo-text.svg",1,"h-10","w-24","dark:hidden"],["src","images/logo/logo-text-on-dark.svg",1,"hidden","h-10","w-24","dark:flex"],["src","images/logo/logo.svg",1,"flex","w-8","lg:hidden"],[1,"mr-2",3,"name","navigation"],["mat-icon-button","",3,"click"],[3,"svgIcon"]],template:function(m,D){1&m&&(c.nrm(0,"angor-loading-bar"),c.DNE(1,eb,4,4,"angor-vertical-navigation",0),c.j41(2,"div",1)(3,"div",2),c.DNE(4,qv,6,2)(5,Jv,2,1,"button",3),c.j41(6,"div",4),c.nrm(7,"update")(8,"angor-fullscreen",5)(9,"search",6)(10,"notifications")(11,"user"),c.k0s()(),c.j41(12,"div",7),c.DNE(13,hp,1,0,"router-outlet"),c.k0s(),c.j41(14,"div",8)(15,"span",9),c.EFF(16),c.k0s()()()),2&m&&(c.R7$(),c.vxM(D.isScreenSmall?1:-1),c.R7$(3),c.vxM(D.isScreenSmall?-1:4),c.R7$(),c.vxM(D.isScreenSmall?5:-1),c.R7$(4),c.Y8G("appearance","bar"),c.R7$(4),c.vxM(13),c.R7$(3),c.Lme("Angor Hub \xa9 ",D.currentYear," - version ",D.version,""))},dependencies:[up,xu.Tv,xu.$w,rc.Hl,rc.iY,Ia.m_,Ia.An,$h,pp,Vm,Gh,s.n3,tb],encapsulation:2})}}return b})();function g0(b,p){1&b&&c.nrm(0,"router-outlet")}let f0=(()=>{class b{constructor(d,m,D,V,Q){this._activatedRoute=d,this._router=m,this._navigationService=D,this._angorMediaWatcherService=V,this._angorNavigationService=Q,this._unsubscribeAll=new Ma.B,this.version=_d}get currentYear(){return(new Date).getFullYear()}ngOnInit(){this._navigationService.navigation$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{this.navigation=d}),this._angorMediaWatcherService.onMediaChange$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(({matchingAliases:d})=>{this.isScreenSmall=!d.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(d){const m=this._angorNavigationService.getComponent(d);m&&m.toggle()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(s.nX),c.rXU(s.Ix),c.rXU(Rs),c.rXU(at.l),c.rXU(xu.lX))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["classic-layout"]],standalone:!0,features:[c.aNF],decls:21,vars:9,consts:[[1,"dark","bg-gray-900","print:hidden",3,"mode","name","navigation","opened"],["angorVerticalNavigationContentHeader",""],[1,"flex","h-20","items-center","p-6"],["src","images/logo/logo-text.svg","alt","Angor Hub",1,"w-30","dark:hidden"],["src","images/logo/logo-text-on-dark.svg","alt","Angor Hub",1,"hidden","w-30","dark:flex"],[1,"flex","w-full","min-w-0","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-16","w-full","flex-0","items-center","px-4","shadow","dark:border-b","dark:bg-transparent","dark:shadow-none","md:px-6","print:hidden"],["mat-icon-button","",3,"click"],[3,"svgIcon"],[1,"ml-auto","flex","items-center","space-x-0.5","pl-2","sm:space-x-2"],[1,"hidden","md:block"],[3,"appearance"],[1,"flex","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-14","w-full","flex-0","items-center","justify-start","border-t","px-4","dark:bg-transparent","md:px-6","print:hidden"],[1,"text-secondary","font-medium"]],template:function(m,D){1&m&&(c.nrm(0,"angor-loading-bar"),c.j41(1,"angor-vertical-navigation",0),c.qex(2,1),c.j41(3,"div",2),c.nrm(4,"img",3)(5,"img",4),c.k0s(),c.bVm(),c.k0s(),c.j41(6,"div",5)(7,"div",6)(8,"button",7),c.bIt("click",function(){return D.toggleNavigation("mainNavigation")}),c.nrm(9,"mat-icon",8),c.k0s(),c.j41(10,"div",9),c.nrm(11,"update")(12,"angor-fullscreen",10)(13,"search",11)(14,"notifications")(15,"user"),c.k0s()(),c.j41(16,"div",12),c.DNE(17,g0,1,0,"router-outlet"),c.k0s(),c.j41(18,"div",13)(19,"span",14),c.EFF(20),c.k0s()()()),2&m&&(c.R7$(),c.Y8G("mode",D.isScreenSmall?"over":"side")("name","mainNavigation")("navigation",D.navigation.default)("opened",!D.isScreenSmall),c.R7$(8),c.Y8G("svgIcon","heroicons_outline:bars-3"),c.R7$(4),c.Y8G("appearance","bar"),c.R7$(4),c.vxM(17),c.R7$(3),c.Lme("Angor Hub \xa9 ",D.currentYear," - version ",D.version,""))},dependencies:[up,xu.Tv,rc.Hl,rc.iY,Ia.m_,Ia.An,$h,pp,Vm,Gh,s.n3,tb],encapsulation:2})}}return b})();function rb(b,p){1&b&&c.nrm(0,"empty-layout")}function m0(b,p){1&b&&c.nrm(0,"modern-layout")}function b0(b,p){1&b&&c.nrm(0,"classic-layout")}let mf=(()=>{class b{constructor(d,m,D,V,Q,yt,Vt){this._activatedRoute=d,this._document=m,this._renderer2=D,this._router=V,this._angorConfigService=Q,this._angorMediaWatcherService=yt,this._angorPlatformService=Vt,this._unsubscribeAll=new Ma.B}ngOnInit(){(0,pu.z)([this._angorConfigService.config$,this._angorMediaWatcherService.onMediaQueryChange$(["(prefers-color-scheme: dark)","(prefers-color-scheme: light)"])]).pipe((0,Vs.Q)(this._unsubscribeAll),(0,Xa.T)(([d,m])=>{const D={scheme:d.scheme,theme:d.theme};return"auto"===d.scheme&&(D.scheme=m.breakpoints["(prefers-color-scheme: dark)"]?"dark":"light"),D})).subscribe(d=>{this.scheme=d.scheme,this.theme=d.theme,this._updateScheme(),this._updateTheme()}),this._angorConfigService.config$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{this.config=d,this._updateLayout()}),this._router.events.pipe((0,jt.p)(d=>d instanceof s.wF),(0,Vs.Q)(this._unsubscribeAll)).subscribe(()=>{this._updateLayout()}),this._renderer2.setAttribute(this._document.querySelector("[ng-version]"),"angor-version",_d),this._renderer2.addClass(this._document.body,this._angorPlatformService.osName)}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}_updateLayout(){let d=this._activatedRoute;for(;d.firstChild;)d=d.firstChild;this.layout=this.config.layout;const m=d.snapshot.queryParamMap.get("layout");m&&(this.layout=m,this.config&&(this.config.layout=m)),d.pathFromRoot.forEach(V=>{V.routeConfig&&V.routeConfig.data&&V.routeConfig.data.layout&&(this.layout=V.routeConfig.data.layout)})}_updateScheme(){this._document.body.classList.remove("light","dark"),this._document.body.classList.add(this.scheme)}_updateTheme(){this._document.body.classList.forEach(d=>{d.startsWith("theme-")&&this._document.body.classList.remove(d,d.split("-")[1])}),this._document.body.classList.add(this.theme)}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(s.nX),c.rXU(Et.qQ),c.rXU(c.sFG),c.rXU(s.Ix),c.rXU(qm.P),c.rXU(at.l),c.rXU(bt))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["layout"]],standalone:!0,features:[c.aNF],decls:3,vars:3,template:function(m,D){1&m&&c.DNE(0,rb,1,0,"empty-layout")(1,m0,1,0,"modern-layout")(2,b0,1,0,"classic-layout"),2&m&&(c.vxM("empty"===D.layout?0:-1),c.R7$(),c.vxM("modern"===D.layout?1:-1),c.R7$(),c.vxM("classic"===D.layout?2:-1))},dependencies:[Gv,h0,f0],styles:["layout{display:flex;flex:1 1 auto;width:100%;max-width:100%;min-width:0}layout>*{position:relative;display:flex;flex:1 1 auto;width:100%}layout router-outlet+*{position:relative;display:flex;flex:1 1 auto;width:100%}\n"],encapsulation:2})}}return b})();const Xh=()=>{const b=(0,c.WQX)(Nc.A),p=(0,c.WQX)(s.Ix);return""!==b.getPublicKey()||p.parseUrl("/login")},w0=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"project/:pubkey",pathMatch:"full",redirectTo:"explore"},{path:"login-redirect",pathMatch:"full",redirectTo:"explore"},{path:"",component:mf,data:{layout:"empty"},children:[{path:"login",loadChildren:()=>Promise.all([r.e(588),r.e(770)]).then(r.bind(r,770))},{path:"create",loadChildren:()=>Promise.all([r.e(588),r.e(408)]).then(r.bind(r,1408))}]},{path:"",canActivate:[Xh],canActivateChild:[Xh],component:mf,data:{layout:"empty"},children:[{path:"logout",loadChildren:()=>r.e(514).then(r.bind(r,1514))}]},{path:"",canActivate:[Xh],canActivateChild:[Xh],component:mf,resolve:{initialData:()=>{const b=(0,c.WQX)(Rs);return(0,c.WQX)(Gl),(0,Oc.p)([b.get()])}},children:[{path:"home",loadChildren:()=>Promise.all([r.e(130),r.e(541)]).then(r.bind(r,5541))},{path:"explore",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(632)]).then(r.bind(r,6632))},{path:"bookmark",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(364)]).then(r.bind(r,8364))},{path:"profile",loadChildren:()=>Promise.all([r.e(450),r.e(606),r.e(130),r.e(347)]).then(r.bind(r,6347))},{path:"profile/:pubkey",loadChildren:()=>Promise.all([r.e(450),r.e(606),r.e(130),r.e(347)]).then(r.bind(r,6347))},{path:"settings",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(19)]).then(r.bind(r,2019))},{path:"settings/:id",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(19)]).then(r.bind(r,2019))},{path:"chat",loadChildren:()=>Promise.all([r.e(606),r.e(260)]).then(r.bind(r,260))},{path:"404-not-found",pathMatch:"full",loadChildren:()=>r.e(258).then(r.bind(r,5258))},{path:"**",redirectTo:"404-not-found"}]}];let y0=(()=>{class b{constructor(){const d=(0,c.WQX)(o.up),m=(0,c.WQX)(Ia.tp);m.addSvgIconSet(d.bypassSecurityTrustResourceUrl("icons/material-twotone.svg")),m.addSvgIconSetInNamespace("mat_outline",d.bypassSecurityTrustResourceUrl("icons/material-outline.svg")),m.addSvgIconSetInNamespace("mat_solid",d.bypassSecurityTrustResourceUrl("icons/material-solid.svg")),m.addSvgIconSetInNamespace("feather",d.bypassSecurityTrustResourceUrl("icons/feather.svg")),m.addSvgIconSetInNamespace("heroicons_outline",d.bypassSecurityTrustResourceUrl("icons/heroicons-outline.svg")),m.addSvgIconSetInNamespace("heroicons_solid",d.bypassSecurityTrustResourceUrl("icons/heroicons-solid.svg")),m.addSvgIconSetInNamespace("heroicons_mini",d.bypassSecurityTrustResourceUrl("icons/heroicons-mini.svg"))}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var t1=r(9350),e1=r(7707);let r1=(()=>{class b{constructor(d){this.httpClient=d}getTranslation(d){return this.httpClient.get(`./i18n/${d}.json`)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(q.Qq))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();const o1=[{id:"home",title:"Home",type:"basic",icon:"heroicons_outline:home",link:"/home"},{id:"explore",title:"Explore",type:"basic",icon:"heroicons_outline:magnifying-glass",link:"/explore"},{id:"bookmark",title:"Bookmark",type:"basic",icon:"heroicons_outline:bookmark",link:"/bookmark"},{id:"chat",title:"Chat",type:"basic",icon:"heroicons_outline:chat-bubble-left-right",link:"/chat",badge:{title:"27",classes:"px-2 bg-[#086c81] text-white rounded-full"}},{id:"profile",title:"Profile",type:"basic",icon:"heroicons_outline:user",link:"/profile"},{id:"settings",title:"Settings",type:"basic",icon:"heroicons_outline:cog-6-tooth",link:"/settings"}],n1=[{id:"home",title:"Home",type:"basic",icon:"heroicons_outline:home",link:"/home"},{id:"explore",title:"Explore",type:"basic",icon:"heroicons_outline:magnifying-glass",link:"/explore"},{id:"bookmark",title:"Bookmark",type:"basic",icon:"heroicons_outline:bookmark",link:"/bookmark"},{id:"chat",title:"Chat",type:"basic",icon:"heroicons_outline:chat-bubble-left-right",link:"/chat",badge:{title:"27",classes:"px-2 bg-[#086c81] text-white rounded-full"}},{id:"profile",title:"Profile",type:"basic",icon:"heroicons_outline:user",link:"/profile"},{id:"settings",title:"Settings",type:"basic",icon:"heroicons_outline:cog-6-tooth",link:"/settings"}];var a1=r(7730);var Yh=r(1984),Dd=r(7517),ob=r(6726),nb=r(5776);const _0=(0,r(8992).A)(Object.keys,Object);var Eu=Object.prototype.hasOwnProperty;var sb=r(1287);const yf=function c1(b){return(0,sb.A)(b)?(0,ob.A)(b):function oc(b){if(!(0,nb.A)(b))return _0(b);var p=[];for(var d in Object(b))Eu.call(b,d)&&"constructor"!=d&&p.push(d);return p}(b)};var Zh=r(133);var Qh=r(9933),vf=r(4528);const qh=function Cu(){return[]};var _f=Object.prototype.propertyIsEnumerable,gp=Object.getOwnPropertySymbols;const kf=gp?function(b){return null==b?[]:(b=Object(b),function xf(b,p){for(var d=-1,m=null==b?0:b.length,D=0,V=[];++d{class b{constructor(d){this._angorMockApiService=d,this._defaultNavigation=o1,this._horizontalNavigation=n1,this.registerHandlers()}registerHandlers(){this._angorMockApiService.onGet("api/navigation").reply(()=>(this._horizontalNavigation.forEach(d=>{this._defaultNavigation.forEach(m=>{m.id===d.id&&(d.children=jf(m.children))})}),[200,{default:jf(this._defaultNavigation),horizontal:jf(this._horizontalNavigation)}]))}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(W))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()];let Vf=(()=>{class b{constructor(d){this.http=d,this.timestamp=null,this.ngswFilePath="/ngsw.json"}load(){var d=this;return(0,k.A)(function*(){try{const m=yield d.http.get(d.ngswFilePath).toPromise();m&&m.timestamp?(d.timestamp=m.timestamp,console.log("Timestamp successfully loaded:",d.timestamp)):console.error("Invalid data format in ngsw.json")}catch(m){console.error("Error loading ngsw.json:",m)}})()}getTimestamp(){return this.timestamp}loadHash(){return this.http.get(this.ngswFilePath).pipe((0,Xa.T)(d=>d.timestamp||null),(0,zl.W)(d=>(console.error("Error fetching ngsw.json hash:",d),(0,I.$)(()=>new Error("Failed to load hash.")))))}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(q.Qq))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var Hb=r(2083),f1=r(6616);const b1={providers:[function qg(){return(0,c.ngT)("NgEagerAnimations"),[...qu]}(),(0,q.$R)(),function Dh(b,p={}){return(0,c.EmA)([fc,uu,{provide:ep,useValue:b},{provide:Ch,useValue:p},{provide:$l,useFactory:ef,deps:[Ch,c.Agw]},{provide:c.hnV,useFactory:Mm,deps:[c.zZn,ep,Ch,c.Agw],multi:!0}])}("ngsw-worker.js",{enabled:!(0,c.naY)(),registrationStrategy:"registerWhenStable:30000"}),{provide:c.hnV,useFactory:function uy(b){return()=>b.load()},deps:[Vf,Nc.A,Hb.d],multi:!0},{provide:c.hnV,useFactory:function m1(b,p){return(0,k.A)(function*(){const d=b.getPublicKey();console.log("publicKey : "+d),d&&(yield p.loadUserProfile(d))})},deps:[Nc.A,Hb.d],multi:!0},{provide:c.hnV,useFactory:function dy(){return()=>{(0,f1.Ts)({theme:"ocean",noBanner:!0,title:"Angor Hub",onAuth:(b,p)=>{console.log("Nostr Login successful:",b,p)}})}},multi:!0},(0,s.lh)(w0,(0,s.oH)({scrollPositionRestoration:"enabled"})),{provide:Xe.MJ,useClass:il},{provide:Xe.de,useValue:{parse:{dateInput:"D"},display:{dateInput:"DDD",monthYearLabel:"LLL yyyy",dateA11yLabel:"DD",monthYearA11yLabel:"LLLL yyyy"}}},function Qn(b){const p=[Ao(Lh),$n(v),Fn(A),Sn(Z)];return b.config&&p.push(function so(b){return(0,c.EmA)([{provide:Rc,useValue:Nh(b)}])}(b.config)),b.loader&&p.push(function xo(b){return(0,c.EmA)([{provide:Ih,useClass:b}])}(b.loader)),p}({config:{availableLangs:[{id:"en",label:"English"}],defaultLang:"en",fallbackLang:"en",reRenderOnLangChange:!0,prodMode:!0},loader:r1}),{provide:c.hnV,useFactory:()=>{const b=(0,c.WQX)(Tr),p=b.getDefaultLang();return b.setActiveLang(p),()=>function wf(b,p){const d="object"==typeof p;return new Promise((m,D)=>{const V=new e1.Ms({next:Q=>{m(Q),V.unsubscribe()},error:D,complete:()=>{d?m(p.defaultValue):D(new t1.G)}});b.subscribe(V)})}(b.load(p))},multi:!0},[{provide:c.Z63,useValue:()=>(0,c.WQX)(y0),multi:!0}],(b=>{const p=[{provide:Xe.N,useValue:{doctype:!0,theme:!1,version:!0}},{provide:gr.U$,useValue:{appearance:"fill"}},{provide:S,useValue:b?.mockApi?.delay??0},{provide:xt.t,useValue:b?.angor??{}},(0,c.oKB)(Er.hM),{provide:c.Z63,useValue:()=>(0,c.WQX)(Tt.m),multi:!0},(0,q.$R)((0,q.b$)([nt])),{provide:c.Z63,useValue:()=>(0,c.WQX)(St),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(at.l),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(bt),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(Gt),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(ie.Q),multi:!0}];return b?.mockApi?.services&&p.push((0,q.$R)((0,q.b$)([tt])),{provide:c.hnV,deps:[...b.mockApi.services],useFactory:()=>()=>null,multi:!0}),p})({mockApi:{delay:0,services:gg},angor:JSON.parse(localStorage.getItem("angorConfig"))??{layout:"classic",scheme:"light",screens:{sm:"600px",md:"960px",lg:"1280px",xl:"1440px"},theme:"theme-brand",themes:[{id:"theme-brand",name:"Brand"},{id:"theme-default",name:"Default"},{id:"theme-teal",name:"Teal"},{id:"theme-rose",name:"Rose"},{id:"theme-purple",name:"Purple"},{id:"theme-amber",name:"Amber"}]}})]};(0,o.B8)(y,b1).catch(b=>console.error(b))},3981:(i,a)=>{"use strict";a.byteLength=function I(W){var q=S(W),ht=q[1];return 3*(q[0]+ht)/4-ht},a.toByteArray=function M(W){var q,St,ct=S(W),ht=ct[0],tt=ct[1],xt=new s(function T(W,q,ct){return 3*(q+ct)/4-ct}(0,ht,tt)),Tt=0,$t=tt>0?ht-4:ht;for(St=0;St<$t;St+=4)q=o[W.charCodeAt(St)]<<18|o[W.charCodeAt(St+1)]<<12|o[W.charCodeAt(St+2)]<<6|o[W.charCodeAt(St+3)],xt[Tt++]=q>>16&255,xt[Tt++]=q>>8&255,xt[Tt++]=255&q;return 2===tt&&(q=o[W.charCodeAt(St)]<<2|o[W.charCodeAt(St+1)]>>4,xt[Tt++]=255&q),1===tt&&(q=o[W.charCodeAt(St)]<<10|o[W.charCodeAt(St+1)]<<4|o[W.charCodeAt(St+2)]>>2,xt[Tt++]=q>>8&255,xt[Tt++]=255&q),xt},a.fromByteArray=function J(W){for(var q,ct=W.length,ht=ct%3,tt=[],Tt=0,$t=ct-ht;Tt<$t;Tt+=16383)tt.push(L(W,Tt,Tt+16383>$t?$t:Tt+16383));return 1===ht?tt.push(r[(q=W[ct-1])>>2]+r[q<<4&63]+"=="):2===ht&&tt.push(r[(q=(W[ct-2]<<8)+W[ct-1])>>10]+r[q>>4&63]+r[q<<2&63]+"="),tt.join("")};for(var r=[],o=[],s=typeof Uint8Array<"u"?Uint8Array:Array,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)r[y]=c[y],o[c.charCodeAt(y)]=y;function S(W){var q=W.length;if(q%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ct=W.indexOf("=");return-1===ct&&(ct=q),[ct,ct===q?0:4-ct%4]}function R(W){return r[W>>18&63]+r[W>>12&63]+r[W>>6&63]+r[63&W]}function L(W,q,ct){for(var tt=[],xt=q;xt{"use strict";const s=r(3981),c=r(2020),y="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;a.hp=T,a.IS=50;const k=2147483647;function I(gt){if(gt>k)throw new RangeError('The value "'+gt+'" is invalid for option "size"');const $=new Uint8Array(gt);return Object.setPrototypeOf($,T.prototype),$}function T(gt,$,Y){if("number"==typeof gt){if("string"==typeof $)throw new TypeError('The "string" argument must be of type string. Received type number');return J(gt)}return M(gt,$,Y)}function M(gt,$,Y){if("string"==typeof gt)return function W(gt,$){if(("string"!=typeof $||""===$)&&($="utf8"),!T.isEncoding($))throw new TypeError("Unknown encoding: "+$);const Y=0|$t(gt,$);let it=I(Y);const At=it.write(gt,$);return At!==Y&&(it=it.slice(0,At)),it}(gt,$);if(ArrayBuffer.isView(gt))return function ct(gt){if(Nt(gt,Uint8Array)){const $=new Uint8Array(gt);return ht($.buffer,$.byteOffset,$.byteLength)}return q(gt)}(gt);if(null==gt)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof gt);if(Nt(gt,ArrayBuffer)||gt&&Nt(gt.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Nt(gt,SharedArrayBuffer)||gt&&Nt(gt.buffer,SharedArrayBuffer)))return ht(gt,$,Y);if("number"==typeof gt)throw new TypeError('The "value" argument must not be of type number. Received type number');const it=gt.valueOf&>.valueOf();if(null!=it&&it!==gt)return T.from(it,$,Y);const At=function tt(gt){if(T.isBuffer(gt)){const $=0|xt(gt.length),Y=I($);return 0===Y.length||gt.copy(Y,0,0,$),Y}return void 0!==gt.length?"number"!=typeof gt.length||we(gt.length)?I(0):q(gt):"Buffer"===gt.type&&Array.isArray(gt.data)?q(gt.data):void 0}(gt);if(At)return At;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof gt[Symbol.toPrimitive])return T.from(gt[Symbol.toPrimitive]("string"),$,Y);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof gt)}function R(gt){if("number"!=typeof gt)throw new TypeError('"size" argument must be of type number');if(gt<0)throw new RangeError('The value "'+gt+'" is invalid for option "size"')}function J(gt){return R(gt),I(gt<0?0:0|xt(gt))}function q(gt){const $=gt.length<0?0:0|xt(gt.length),Y=I($);for(let it=0;it<$;it+=1)Y[it]=255>[it];return Y}function ht(gt,$,Y){if($<0||gt.byteLength<$)throw new RangeError('"offset" is outside of buffer bounds');if(gt.byteLength<$+(Y||0))throw new RangeError('"length" is outside of buffer bounds');let it;return it=void 0===$&&void 0===Y?new Uint8Array(gt):void 0===Y?new Uint8Array(gt,$):new Uint8Array(gt,$,Y),Object.setPrototypeOf(it,T.prototype),it}function xt(gt){if(gt>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|gt}function $t(gt,$){if(T.isBuffer(gt))return gt.length;if(ArrayBuffer.isView(gt)||Nt(gt,ArrayBuffer))return gt.byteLength;if("string"!=typeof gt)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof gt);const Y=gt.length,it=arguments.length>2&&!0===arguments[2];if(!it&&0===Y)return 0;let At=!1;for(;;)switch($){case"ascii":case"latin1":case"binary":return Y;case"utf8":case"utf-8":return Ke(gt).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Y;case"hex":return Y>>>1;case"base64":return yo(gt).length;default:if(At)return it?-1:Ke(gt).length;$=(""+$).toLowerCase(),At=!0}}function St(gt,$,Y){let it=!1;if((void 0===$||$<0)&&($=0),$>this.length||((void 0===Y||Y>this.length)&&(Y=this.length),Y<=0)||(Y>>>=0)<=($>>>=0))return"";for(gt||(gt="utf8");;)switch(gt){case"hex":return ke(this,$,Y);case"utf8":case"utf-8":return Xe(this,$,Y);case"ascii":return vr(this,$,Y);case"latin1":case"binary":return Xr(this,$,Y);case"base64":return ie(this,$,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rt(this,$,Y);default:if(it)throw new TypeError("Unknown encoding: "+gt);gt=(gt+"").toLowerCase(),it=!0}}function _t(gt,$,Y){const it=gt[$];gt[$]=gt[Y],gt[Y]=it}function nt(gt,$,Y,it,At){if(0===gt.length)return-1;if("string"==typeof Y?(it=Y,Y=0):Y>2147483647?Y=2147483647:Y<-2147483648&&(Y=-2147483648),we(Y=+Y)&&(Y=At?0:gt.length-1),Y<0&&(Y=gt.length+Y),Y>=gt.length){if(At)return-1;Y=gt.length-1}else if(Y<0){if(!At)return-1;Y=0}if("string"==typeof $&&($=T.from($,it)),T.isBuffer($))return 0===$.length?-1:at(gt,$,Y,it,At);if("number"==typeof $)return $&=255,"function"==typeof Uint8Array.prototype.indexOf?At?Uint8Array.prototype.indexOf.call(gt,$,Y):Uint8Array.prototype.lastIndexOf.call(gt,$,Y):at(gt,[$],Y,it,At);throw new TypeError("val must be string, number or Buffer")}function at(gt,$,Y,it,At){let er,Mt=1,ve=gt.length,ir=$.length;if(void 0!==it&&("ucs2"===(it=String(it).toLowerCase())||"ucs-2"===it||"utf16le"===it||"utf-16le"===it)){if(gt.length<2||$.length<2)return-1;Mt=2,ve/=2,ir/=2,Y/=2}function Je(Hr,eo){return 1===Mt?Hr[eo]:Hr.readUInt16BE(eo*Mt)}if(At){let Hr=-1;for(er=Y;erve&&(Y=ve-ir),er=Y;er>=0;er--){let Hr=!0;for(let eo=0;eoAt&&(it=At):it=At;const Mt=$.length;let ve;for(it>Mt/2&&(it=Mt/2),ve=0;ve>8,At=Y%256,Mt.push(At),Mt.push(it);return Mt}($,gt.length-Y),gt,Y,it)}function ie(gt,$,Y){return s.fromByteArray(0===$&&Y===gt.length?gt:gt.slice($,Y))}function Xe(gt,$,Y){Y=Math.min(gt.length,Y);const it=[];let At=$;for(;At239?4:Mt>223?3:Mt>191?2:1;if(At+ir<=Y){let Je,er,Hr,eo;switch(ir){case 1:Mt<128&&(ve=Mt);break;case 2:Je=gt[At+1],128==(192&Je)&&(eo=(31&Mt)<<6|63&Je,eo>127&&(ve=eo));break;case 3:Je=gt[At+1],er=gt[At+2],128==(192&Je)&&128==(192&er)&&(eo=(15&Mt)<<12|(63&Je)<<6|63&er,eo>2047&&(eo<55296||eo>57343)&&(ve=eo));break;case 4:Je=gt[At+1],er=gt[At+2],Hr=gt[At+3],128==(192&Je)&&128==(192&er)&&128==(192&Hr)&&(eo=(15&Mt)<<18|(63&Je)<<12|(63&er)<<6|63&Hr,eo>65535&&eo<1114112&&(ve=eo))}}null===ve?(ve=65533,ir=1):ve>65535&&(ve-=65536,it.push(ve>>>10&1023|55296),ve=56320|1023&ve),it.push(ve),At+=ir}return function gr(gt){const $=gt.length;if($<=Er)return String.fromCharCode.apply(String,gt);let Y="",it=0;for(;it<$;)Y+=String.fromCharCode.apply(String,gt.slice(it,it+=Er));return Y}(it)}!(T.TYPED_ARRAY_SUPPORT=function S(){try{const gt=new Uint8Array(1),$={foo:function(){return 42}};return Object.setPrototypeOf($,Uint8Array.prototype),Object.setPrototypeOf(gt,$),42===gt.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(T.prototype,"parent",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.buffer}}),Object.defineProperty(T.prototype,"offset",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.byteOffset}}),T.poolSize=8192,T.from=function(gt,$,Y){return M(gt,$,Y)},Object.setPrototypeOf(T.prototype,Uint8Array.prototype),Object.setPrototypeOf(T,Uint8Array),T.alloc=function(gt,$,Y){return function L(gt,$,Y){return R(gt),gt<=0?I(gt):void 0!==$?"string"==typeof Y?I(gt).fill($,Y):I(gt).fill($):I(gt)}(gt,$,Y)},T.allocUnsafe=function(gt){return J(gt)},T.allocUnsafeSlow=function(gt){return J(gt)},T.isBuffer=function($){return null!=$&&!0===$._isBuffer&&$!==T.prototype},T.compare=function($,Y){if(Nt($,Uint8Array)&&($=T.from($,$.offset,$.byteLength)),Nt(Y,Uint8Array)&&(Y=T.from(Y,Y.offset,Y.byteLength)),!T.isBuffer($)||!T.isBuffer(Y))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if($===Y)return 0;let it=$.length,At=Y.length;for(let Mt=0,ve=Math.min(it,At);MtAt.length?(T.isBuffer(ve)||(ve=T.from(ve)),ve.copy(At,Mt)):Uint8Array.prototype.set.call(At,ve,Mt);else{if(!T.isBuffer(ve))throw new TypeError('"list" argument must be an Array of Buffers');ve.copy(At,Mt)}Mt+=ve.length}return At},T.byteLength=$t,T.prototype._isBuffer=!0,T.prototype.swap16=function(){const $=this.length;if($%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Y=0;Y<$;Y+=2)_t(this,Y,Y+1);return this},T.prototype.swap32=function(){const $=this.length;if($%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let Y=0;Y<$;Y+=4)_t(this,Y,Y+3),_t(this,Y+1,Y+2);return this},T.prototype.swap64=function(){const $=this.length;if($%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let Y=0;Y<$;Y+=8)_t(this,Y,Y+7),_t(this,Y+1,Y+6),_t(this,Y+2,Y+5),_t(this,Y+3,Y+4);return this},T.prototype.toLocaleString=T.prototype.toString=function(){const $=this.length;return 0===$?"":0===arguments.length?Xe(this,0,$):St.apply(this,arguments)},T.prototype.equals=function($){if(!T.isBuffer($))throw new TypeError("Argument must be a Buffer");return this===$||0===T.compare(this,$)},T.prototype.inspect=function(){let $="";const Y=a.IS;return $=this.toString("hex",0,Y).replace(/(.{2})/g,"$1 ").trim(),this.length>Y&&($+=" ... "),""},y&&(T.prototype[y]=T.prototype.inspect),T.prototype.compare=function($,Y,it,At,Mt){if(Nt($,Uint8Array)&&($=T.from($,$.offset,$.byteLength)),!T.isBuffer($))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof $);if(void 0===Y&&(Y=0),void 0===it&&(it=$?$.length:0),void 0===At&&(At=0),void 0===Mt&&(Mt=this.length),Y<0||it>$.length||At<0||Mt>this.length)throw new RangeError("out of range index");if(At>=Mt&&Y>=it)return 0;if(At>=Mt)return-1;if(Y>=it)return 1;if(this===$)return 0;let ve=(Mt>>>=0)-(At>>>=0),ir=(it>>>=0)-(Y>>>=0);const Je=Math.min(ve,ir),er=this.slice(At,Mt),Hr=$.slice(Y,it);for(let eo=0;eo>>=0,isFinite(it)?(it>>>=0,void 0===At&&(At="utf8")):(At=it,it=void 0)}const Mt=this.length-Y;if((void 0===it||it>Mt)&&(it=Mt),$.length>0&&(it<0||Y<0)||Y>this.length)throw new RangeError("Attempt to write outside buffer bounds");At||(At="utf8");let ve=!1;for(;;)switch(At){case"hex":return et(this,$,Y,it);case"utf8":case"utf-8":return bt(this,$,Y,it);case"ascii":case"latin1":case"binary":return Et(this,$,Y,it);case"base64":return jt(this,$,Y,it);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Gt(this,$,Y,it);default:if(ve)throw new TypeError("Unknown encoding: "+At);At=(""+At).toLowerCase(),ve=!0}},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const Er=4096;function vr(gt,$,Y){let it="";Y=Math.min(gt.length,Y);for(let At=$;Atit)&&(Y=it);let At="";for(let Mt=$;MtY)throw new RangeError("Trying to access beyond buffer length")}function Ut(gt,$,Y,it,At,Mt){if(!T.isBuffer(gt))throw new TypeError('"buffer" argument must be a Buffer instance');if($>At||$gt.length)throw new RangeError("Index out of range")}function Ae(gt,$,Y,it,At){le($,it,At,gt,Y,7);let Mt=Number($&BigInt(4294967295));gt[Y++]=Mt,Mt>>=8,gt[Y++]=Mt,Mt>>=8,gt[Y++]=Mt,Mt>>=8,gt[Y++]=Mt;let ve=Number($>>BigInt(32)&BigInt(4294967295));return gt[Y++]=ve,ve>>=8,gt[Y++]=ve,ve>>=8,gt[Y++]=ve,ve>>=8,gt[Y++]=ve,Y}function Xt(gt,$,Y,it,At){le($,it,At,gt,Y,7);let Mt=Number($&BigInt(4294967295));gt[Y+7]=Mt,Mt>>=8,gt[Y+6]=Mt,Mt>>=8,gt[Y+5]=Mt,Mt>>=8,gt[Y+4]=Mt;let ve=Number($>>BigInt(32)&BigInt(4294967295));return gt[Y+3]=ve,ve>>=8,gt[Y+2]=ve,ve>>=8,gt[Y+1]=ve,ve>>=8,gt[Y]=ve,Y+8}function pe(gt,$,Y,it,At,Mt){if(Y+it>gt.length)throw new RangeError("Index out of range");if(Y<0)throw new RangeError("Index out of range")}function te(gt,$,Y,it,At){return $=+$,Y>>>=0,At||pe(gt,0,Y,4),c.write(gt,$,Y,it,23,4),Y+4}function Ye(gt,$,Y,it,At){return $=+$,Y>>>=0,At||pe(gt,0,Y,8),c.write(gt,$,Y,it,52,8),Y+8}T.prototype.slice=function($,Y){const it=this.length;($=~~$)<0?($+=it)<0&&($=0):$>it&&($=it),(Y=void 0===Y?it:~~Y)<0?(Y+=it)<0&&(Y=0):Y>it&&(Y=it),Y<$&&(Y=$);const At=this.subarray($,Y);return Object.setPrototypeOf(At,T.prototype),At},T.prototype.readUintLE=T.prototype.readUIntLE=function($,Y,it){$>>>=0,Y>>>=0,it||wt($,Y,this.length);let At=this[$],Mt=1,ve=0;for(;++ve>>=0,Y>>>=0,it||wt($,Y,this.length);let At=this[$+--Y],Mt=1;for(;Y>0&&(Mt*=256);)At+=this[$+--Y]*Mt;return At},T.prototype.readUint8=T.prototype.readUInt8=function($,Y){return $>>>=0,Y||wt($,1,this.length),this[$]},T.prototype.readUint16LE=T.prototype.readUInt16LE=function($,Y){return $>>>=0,Y||wt($,2,this.length),this[$]|this[$+1]<<8},T.prototype.readUint16BE=T.prototype.readUInt16BE=function($,Y){return $>>>=0,Y||wt($,2,this.length),this[$]<<8|this[$+1]},T.prototype.readUint32LE=T.prototype.readUInt32LE=function($,Y){return $>>>=0,Y||wt($,4,this.length),(this[$]|this[$+1]<<8|this[$+2]<<16)+16777216*this[$+3]},T.prototype.readUint32BE=T.prototype.readUInt32BE=function($,Y){return $>>>=0,Y||wt($,4,this.length),16777216*this[$]+(this[$+1]<<16|this[$+2]<<8|this[$+3])},T.prototype.readBigUInt64LE=Ie(function($){qt($>>>=0,"offset");const Y=this[$],it=this[$+7];(void 0===Y||void 0===it)&&Ve($,this.length-8);const At=Y+256*this[++$]+65536*this[++$]+this[++$]*2**24,Mt=this[++$]+256*this[++$]+65536*this[++$]+it*2**24;return BigInt(At)+(BigInt(Mt)<>>=0,"offset");const Y=this[$],it=this[$+7];(void 0===Y||void 0===it)&&Ve($,this.length-8);const At=Y*2**24+65536*this[++$]+256*this[++$]+this[++$],Mt=this[++$]*2**24+65536*this[++$]+256*this[++$]+it;return(BigInt(At)<>>=0,Y>>>=0,it||wt($,Y,this.length);let At=this[$],Mt=1,ve=0;for(;++ve=Mt&&(At-=Math.pow(2,8*Y)),At},T.prototype.readIntBE=function($,Y,it){$>>>=0,Y>>>=0,it||wt($,Y,this.length);let At=Y,Mt=1,ve=this[$+--At];for(;At>0&&(Mt*=256);)ve+=this[$+--At]*Mt;return Mt*=128,ve>=Mt&&(ve-=Math.pow(2,8*Y)),ve},T.prototype.readInt8=function($,Y){return $>>>=0,Y||wt($,1,this.length),128&this[$]?-1*(255-this[$]+1):this[$]},T.prototype.readInt16LE=function($,Y){$>>>=0,Y||wt($,2,this.length);const it=this[$]|this[$+1]<<8;return 32768&it?4294901760|it:it},T.prototype.readInt16BE=function($,Y){$>>>=0,Y||wt($,2,this.length);const it=this[$+1]|this[$]<<8;return 32768&it?4294901760|it:it},T.prototype.readInt32LE=function($,Y){return $>>>=0,Y||wt($,4,this.length),this[$]|this[$+1]<<8|this[$+2]<<16|this[$+3]<<24},T.prototype.readInt32BE=function($,Y){return $>>>=0,Y||wt($,4,this.length),this[$]<<24|this[$+1]<<16|this[$+2]<<8|this[$+3]},T.prototype.readBigInt64LE=Ie(function($){qt($>>>=0,"offset");const Y=this[$],it=this[$+7];return(void 0===Y||void 0===it)&&Ve($,this.length-8),(BigInt(this[$+4]+256*this[$+5]+65536*this[$+6]+(it<<24))<>>=0,"offset");const Y=this[$],it=this[$+7];(void 0===Y||void 0===it)&&Ve($,this.length-8);const At=(Y<<24)+65536*this[++$]+256*this[++$]+this[++$];return(BigInt(At)<>>=0,Y||wt($,4,this.length),c.read(this,$,!0,23,4)},T.prototype.readFloatBE=function($,Y){return $>>>=0,Y||wt($,4,this.length),c.read(this,$,!1,23,4)},T.prototype.readDoubleLE=function($,Y){return $>>>=0,Y||wt($,8,this.length),c.read(this,$,!0,52,8)},T.prototype.readDoubleBE=function($,Y){return $>>>=0,Y||wt($,8,this.length),c.read(this,$,!1,52,8)},T.prototype.writeUintLE=T.prototype.writeUIntLE=function($,Y,it,At){$=+$,Y>>>=0,it>>>=0,At||Ut(this,$,Y,it,Math.pow(2,8*it)-1,0);let Mt=1,ve=0;for(this[Y]=255&$;++ve>>=0,it>>>=0,At||Ut(this,$,Y,it,Math.pow(2,8*it)-1,0);let Mt=it-1,ve=1;for(this[Y+Mt]=255&$;--Mt>=0&&(ve*=256);)this[Y+Mt]=$/ve&255;return Y+it},T.prototype.writeUint8=T.prototype.writeUInt8=function($,Y,it){return $=+$,Y>>>=0,it||Ut(this,$,Y,1,255,0),this[Y]=255&$,Y+1},T.prototype.writeUint16LE=T.prototype.writeUInt16LE=function($,Y,it){return $=+$,Y>>>=0,it||Ut(this,$,Y,2,65535,0),this[Y]=255&$,this[Y+1]=$>>>8,Y+2},T.prototype.writeUint16BE=T.prototype.writeUInt16BE=function($,Y,it){return $=+$,Y>>>=0,it||Ut(this,$,Y,2,65535,0),this[Y]=$>>>8,this[Y+1]=255&$,Y+2},T.prototype.writeUint32LE=T.prototype.writeUInt32LE=function($,Y,it){return $=+$,Y>>>=0,it||Ut(this,$,Y,4,4294967295,0),this[Y+3]=$>>>24,this[Y+2]=$>>>16,this[Y+1]=$>>>8,this[Y]=255&$,Y+4},T.prototype.writeUint32BE=T.prototype.writeUInt32BE=function($,Y,it){return $=+$,Y>>>=0,it||Ut(this,$,Y,4,4294967295,0),this[Y]=$>>>24,this[Y+1]=$>>>16,this[Y+2]=$>>>8,this[Y+3]=255&$,Y+4},T.prototype.writeBigUInt64LE=Ie(function($,Y=0){return Ae(this,$,Y,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeBigUInt64BE=Ie(function($,Y=0){return Xt(this,$,Y,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeIntLE=function($,Y,it,At){if($=+$,Y>>>=0,!At){const Je=Math.pow(2,8*it-1);Ut(this,$,Y,it,Je-1,-Je)}let Mt=0,ve=1,ir=0;for(this[Y]=255&$;++Mt>>=0,!At){const Je=Math.pow(2,8*it-1);Ut(this,$,Y,it,Je-1,-Je)}let Mt=it-1,ve=1,ir=0;for(this[Y+Mt]=255&$;--Mt>=0&&(ve*=256);)$<0&&0===ir&&0!==this[Y+Mt+1]&&(ir=1),this[Y+Mt]=($/ve|0)-ir&255;return Y+it},T.prototype.writeInt8=function($,Y,it){return $=+$,Y>>>=0,it||Ut(this,$,Y,1,127,-128),$<0&&($=255+$+1),this[Y]=255&$,Y+1},T.prototype.writeInt16LE=function($,Y,it){return $=+$,Y>>>=0,it||Ut(this,$,Y,2,32767,-32768),this[Y]=255&$,this[Y+1]=$>>>8,Y+2},T.prototype.writeInt16BE=function($,Y,it){return $=+$,Y>>>=0,it||Ut(this,$,Y,2,32767,-32768),this[Y]=$>>>8,this[Y+1]=255&$,Y+2},T.prototype.writeInt32LE=function($,Y,it){return $=+$,Y>>>=0,it||Ut(this,$,Y,4,2147483647,-2147483648),this[Y]=255&$,this[Y+1]=$>>>8,this[Y+2]=$>>>16,this[Y+3]=$>>>24,Y+4},T.prototype.writeInt32BE=function($,Y,it){return $=+$,Y>>>=0,it||Ut(this,$,Y,4,2147483647,-2147483648),$<0&&($=4294967295+$+1),this[Y]=$>>>24,this[Y+1]=$>>>16,this[Y+2]=$>>>8,this[Y+3]=255&$,Y+4},T.prototype.writeBigInt64LE=Ie(function($,Y=0){return Ae(this,$,Y,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeBigInt64BE=Ie(function($,Y=0){return Xt(this,$,Y,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeFloatLE=function($,Y,it){return te(this,$,Y,!0,it)},T.prototype.writeFloatBE=function($,Y,it){return te(this,$,Y,!1,it)},T.prototype.writeDoubleLE=function($,Y,it){return Ye(this,$,Y,!0,it)},T.prototype.writeDoubleBE=function($,Y,it){return Ye(this,$,Y,!1,it)},T.prototype.copy=function($,Y,it,At){if(!T.isBuffer($))throw new TypeError("argument should be a Buffer");if(it||(it=0),!At&&0!==At&&(At=this.length),Y>=$.length&&(Y=$.length),Y||(Y=0),At>0&&At=this.length)throw new RangeError("Index out of range");if(At<0)throw new RangeError("sourceEnd out of bounds");At>this.length&&(At=this.length),$.length-Y>>=0,it=void 0===it?this.length:it>>>0,$||($=0),"number"==typeof $)for(Mt=Y;Mt=it+4;Y-=3)$=`_${gt.slice(Y-3,Y)}${$}`;return`${gt.slice(0,Y)}${$}`}function le(gt,$,Y,it,At,Mt){if(gt>Y||gt<$){const ve="bigint"==typeof $?"n":"";let ir;throw ir=Mt>3?0===$||$===BigInt(0)?`>= 0${ve} and < 2${ve} ** ${8*(Mt+1)}${ve}`:`>= -(2${ve} ** ${8*(Mt+1)-1}${ve}) and < 2 ** ${8*(Mt+1)-1}${ve}`:`>= ${$}${ve} and <= ${Y}${ve}`,new We.ERR_OUT_OF_RANGE("value",ir,gt)}!function Ot(gt,$,Y){qt($,"offset"),(void 0===gt[$]||void 0===gt[$+Y])&&Ve($,gt.length-(Y+1))}(it,At,Mt)}function qt(gt,$){if("number"!=typeof gt)throw new We.ERR_INVALID_ARG_TYPE($,"number",gt)}function Ve(gt,$,Y){throw Math.floor(gt)!==gt?(qt(gt,Y),new We.ERR_OUT_OF_RANGE(Y||"offset","an integer",gt)):$<0?new We.ERR_BUFFER_OUT_OF_BOUNDS:new We.ERR_OUT_OF_RANGE(Y||"offset",`>= ${Y?1:0} and <= ${$}`,gt)}Bt("ERR_BUFFER_OUT_OF_BOUNDS",function(gt){return gt?`${gt} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Bt("ERR_INVALID_ARG_TYPE",function(gt,$){return`The "${gt}" argument must be of type number. Received type ${typeof $}`},TypeError),Bt("ERR_OUT_OF_RANGE",function(gt,$,Y){let it=`The value of "${gt}" is out of range.`,At=Y;return Number.isInteger(Y)&&Math.abs(Y)>2**32?At=Zt(String(Y)):"bigint"==typeof Y&&(At=String(Y),(Y>BigInt(2)**BigInt(32)||Y<-(BigInt(2)**BigInt(32)))&&(At=Zt(At)),At+="n"),it+=` It must be ${$}. Received ${At}`,it},RangeError);const Ht=/[^+/0-9A-Za-z-_]/g;function Ke(gt,$){let Y;$=$||1/0;const it=gt.length;let At=null;const Mt=[];for(let ve=0;ve55295&&Y<57344){if(!At){if(Y>56319){($-=3)>-1&&Mt.push(239,191,189);continue}if(ve+1===it){($-=3)>-1&&Mt.push(239,191,189);continue}At=Y;continue}if(Y<56320){($-=3)>-1&&Mt.push(239,191,189),At=Y;continue}Y=65536+(At-55296<<10|Y-56320)}else At&&($-=3)>-1&&Mt.push(239,191,189);if(At=null,Y<128){if(($-=1)<0)break;Mt.push(Y)}else if(Y<2048){if(($-=2)<0)break;Mt.push(Y>>6|192,63&Y|128)}else if(Y<65536){if(($-=3)<0)break;Mt.push(Y>>12|224,Y>>6&63|128,63&Y|128)}else{if(!(Y<1114112))throw new Error("Invalid code point");if(($-=4)<0)break;Mt.push(Y>>18|240,Y>>12&63|128,Y>>6&63|128,63&Y|128)}}return Mt}function yo(gt){return s.toByteArray(function Me(gt){if((gt=(gt=gt.split("=")[0]).trim().replace(Ht,"")).length<2)return"";for(;gt.length%4!=0;)gt+="=";return gt}(gt))}function dr(gt,$,Y,it){let At;for(At=0;At=$.length||At>=gt.length);++At)$[At+Y]=gt[At];return At}function Nt(gt,$){return gt instanceof $||null!=gt&&null!=gt.constructor&&null!=gt.constructor.name&>.constructor.name===$.name}function we(gt){return gt!=gt}const de=function(){const gt="0123456789abcdef",$=new Array(256);for(let Y=0;Y<16;++Y){const it=16*Y;for(let At=0;At<16;++At)$[it+At]=gt[Y]+gt[At]}return $}();function Ie(gt){return typeof BigInt>"u"?br:gt}function br(){throw new Error("BigInt not supported")}},2020:(i,a)=>{a.read=function(r,o,s,c,y){var k,S,I=8*y-c-1,T=(1<>1,R=-7,L=s?y-1:0,J=s?-1:1,W=r[o+L];for(L+=J,k=W&(1<<-R)-1,W>>=-R,R+=I;R>0;k=256*k+r[o+L],L+=J,R-=8);for(S=k&(1<<-R)-1,k>>=-R,R+=c;R>0;S=256*S+r[o+L],L+=J,R-=8);if(0===k)k=1-M;else{if(k===T)return S?NaN:1/0*(W?-1:1);S+=Math.pow(2,c),k-=M}return(W?-1:1)*S*Math.pow(2,k-c)},a.write=function(r,o,s,c,y,k){var S,I,T,M=8*k-y-1,R=(1<>1,J=23===y?Math.pow(2,-24)-Math.pow(2,-77):0,W=c?0:k-1,q=c?1:-1,ct=o<0||0===o&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(I=isNaN(o)?1:0,S=R):(S=Math.floor(Math.log(o)/Math.LN2),o*(T=Math.pow(2,-S))<1&&(S--,T*=2),(o+=S+L>=1?J/T:J*Math.pow(2,1-L))*T>=2&&(S++,T/=2),S+L>=R?(I=0,S=R):S+L>=1?(I=(o*T-1)*Math.pow(2,y),S+=L):(I=o*Math.pow(2,L-1)*Math.pow(2,y),S=0));y>=8;r[s+W]=255&I,W+=q,I/=256,y-=8);for(S=S<0;r[s+W]=255&S,W+=q,S/=256,M-=8);r[s+W-q]|=128*ct}},119:i=>{i.exports=function s(c,y,k){function S(M,R){if(!y[M]){if(!c[M]){if(I)return I(M,!0);var J=new Error("Cannot find module '"+M+"'");throw J.code="MODULE_NOT_FOUND",J}var W=y[M]={exports:{}};c[M][0].call(W.exports,function(q){return S(c[M][1][q]||q)},W,W.exports,s,c,y,k)}return y[M].exports}for(var I=void 0,T=0;T"u"&&s(3);var L=Promise;function J(dt,Kt){Kt&&dt.then(function(Ct){Kt(null,Ct)},function(Ct){Kt(Ct)})}function W(dt,Kt,Ct){"function"==typeof Kt&&dt.then(Kt),"function"==typeof Ct&&dt.catch(Ct)}function q(dt){return"string"!=typeof dt&&(console.warn(dt+" used as a key, but it is not a string."),dt=String(dt)),dt}function ct(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var ht="local-forage-detect-blob-support",tt=void 0,xt={},Tt=Object.prototype.toString,$t="readonly",St="readwrite";function _t(dt){for(var Kt=dt.length,Ct=new ArrayBuffer(Kt),ae=new Uint8Array(Ct),Re=0;Re=43)}}).catch(function(){return!1})}(dt).then(function(Kt){return tt=Kt})}function et(dt){var Kt=xt[dt.name],Ct={};Ct.promise=new L(function(ae,Re){Ct.resolve=ae,Ct.reject=Re}),Kt.deferredOperations.push(Ct),Kt.dbReady=Kt.dbReady?Kt.dbReady.then(function(){return Ct.promise}):Ct.promise}function bt(dt){var Ct=xt[dt.name].deferredOperations.pop();if(Ct)return Ct.resolve(),Ct.promise}function Et(dt,Kt){var ae=xt[dt.name].deferredOperations.pop();if(ae)return ae.reject(Kt),ae.promise}function jt(dt,Kt){return new L(function(Ct,ae){if(xt[dt.name]=xt[dt.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},dt.db){if(!Kt)return Ct(dt.db);et(dt),dt.db.close()}var Re=[dt.name];Kt&&Re.push(dt.version);var De=T.open.apply(T,Re);Kt&&(De.onupgradeneeded=function(or){var Cr=De.result;try{Cr.createObjectStore(dt.storeName),or.oldVersion<=1&&Cr.createObjectStore(ht)}catch(kr){if("ConstraintError"!==kr.name)throw kr;console.warn('The database "'+dt.name+'" has been upgraded from version '+or.oldVersion+" to version "+or.newVersion+', but the storage "'+dt.storeName+'" already exists.')}}),De.onerror=function(or){or.preventDefault(),ae(De.error)},De.onsuccess=function(){var or=De.result;or.onversionchange=function(Cr){Cr.target.close()},Ct(or),bt(dt)}})}function Gt(dt){return jt(dt,!1)}function ie(dt){return jt(dt,!0)}function Xe(dt,Kt){if(!dt.db)return!0;var Ct=!dt.db.objectStoreNames.contains(dt.storeName),Re=dt.version>dt.db.version;if(dt.versiondt.version&&(dt.version=De)}return!0}return!1}function gr(dt){return R([_t(atob(dt.data))],{type:dt.type})}function vr(dt){return dt&&dt.__local_forage_encoded_blob}function Xr(dt){var Kt=this,Ct=Kt._initReady().then(function(){var ae=xt[Kt._dbInfo.name];if(ae&&ae.dbReady)return ae.dbReady});return W(Ct,dt,dt),Ct}function Rt(dt,Kt,Ct,ae){void 0===ae&&(ae=1);try{var Re=dt.db.transaction(dt.storeName,Kt);Ct(null,Re)}catch(De){if(ae>0&&(!dt.db||"InvalidStateError"===De.name||"NotFoundError"===De.name))return L.resolve().then(function(){if(!dt.db||"NotFoundError"===De.name&&!dt.db.objectStoreNames.contains(dt.storeName)&&dt.version<=dt.db.version)return dt.db&&(dt.version=dt.db.version+1),ie(dt)}).then(function(){return function ke(dt){et(dt);for(var Kt=xt[dt.name],Ct=Kt.forages,ae=0;ae>4,Br[Re++]=(15&or)<<4|Cr>>2,Br[Re++]=(3&Cr)<<6|63&kr;return Lr}function ve(dt){var ae,Kt=new Uint8Array(dt),Ct="";for(ae=0;ae>2],Ct+=Ve[(3&Kt[ae])<<4|Kt[ae+1]>>4],Ct+=Ve[(15&Kt[ae+1])<<2|Kt[ae+2]>>6],Ct+=Ve[63&Kt[ae+2]];return Kt.length%3==2?Ct=Ct.substring(0,Ct.length-1)+"=":Kt.length%3==1&&(Ct=Ct.substring(0,Ct.length-2)+"=="),Ct}var er={serialize:function ir(dt,Kt){var Ct="";if(dt&&(Ct=At.call(dt)),dt&&("[object ArrayBuffer]"===Ct||dt.buffer&&"[object ArrayBuffer]"===At.call(dt.buffer))){var ae,Re=Ke;dt instanceof ArrayBuffer?(ae=dt,Re+=Or):(ae=dt.buffer,"[object Int8Array]"===Ct?Re+="si08":"[object Uint8Array]"===Ct?Re+="ui08":"[object Uint8ClampedArray]"===Ct?Re+="uic8":"[object Int16Array]"===Ct?Re+="si16":"[object Uint16Array]"===Ct?Re+="ur16":"[object Int32Array]"===Ct?Re+="si32":"[object Uint32Array]"===Ct?Re+="ui32":"[object Float32Array]"===Ct?Re+=$:"[object Float64Array]"===Ct?Re+=Y:Kt(new Error("Failed to get type for BinaryArray"))),Kt(Re+ve(ae))}else if("[object Blob]"===Ct){var De=new FileReader;De.onload=function(){var or="~~local_forage_type~"+dt.type+"~"+ve(this.result);Kt(Ke+yo+or)},De.readAsArrayBuffer(dt)}else try{Kt(JSON.stringify(dt))}catch(or){console.error("Couldn't convert value into a JSON string: ",dt),Kt(null,or)}},deserialize:function Je(dt){if(dt.substring(0,9)!==Ke)return JSON.parse(dt);var ae,Kt=dt.substring(13),Ct=dt.substring(9,13);if(Ct===yo&&Me.test(Kt)){var Re=Kt.match(Me);ae=Re[1],Kt=Kt.substring(Re[0].length)}var De=Mt(Kt);switch(Ct){case Or:return De;case yo:return R([De],{type:ae});case"si08":return new Int8Array(De);case"ui08":return new Uint8Array(De);case"uic8":return new Uint8ClampedArray(De);case"si16":return new Int16Array(De);case"ur16":return new Uint16Array(De);case"si32":return new Int32Array(De);case"ui32":return new Uint32Array(De);case $:return new Float32Array(De);case Y:return new Float64Array(De);default:throw new Error("Unkown type: "+Ct)}},stringToBuffer:Mt,bufferToString:ve};function Hr(dt,Kt,Ct,ae){dt.executeSql("CREATE TABLE IF NOT EXISTS "+Kt.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],Ct,ae)}function Bo(dt,Kt,Ct,ae,Re,De){dt.executeSql(Ct,ae,Re,function(or,Cr){Cr.code===Cr.SYNTAX_ERR?or.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[Kt.storeName],function(kr,Lr){Lr.rows.length?De(kr,Cr):Hr(kr,Kt,function(){kr.executeSql(Ct,ae,Re,De)},De)},De):De(or,Cr)},De)}function ne(dt,Kt,Ct,ae){var Re=this;dt=q(dt);var De=new L(function(or,Cr){Re.ready().then(function(){void 0===Kt&&(Kt=null);var kr=Kt,Lr=Re._dbInfo;Lr.serializer.serialize(Kt,function(Br,qr){qr?Cr(qr):Lr.db.transaction(function(to){Bo(to,Lr,"INSERT OR REPLACE INTO "+Lr.storeName+" (key, value) VALUES (?, ?)",[dt,Br],function(){or(kr)},function(ko,To){Cr(To)})},function(to){if(to.code===to.QUOTA_ERR){if(ae>0)return void or(ne.apply(Re,[dt,kr,Ct,ae-1]));Cr(to)}})})}).catch(Cr)});return J(De,Ct),De}var Ue={_driver:"webSQLStorage",_initStorage:function eo(dt){var Kt=this,Ct={db:null};if(dt)for(var ae in dt)Ct[ae]="string"!=typeof dt[ae]?dt[ae].toString():dt[ae];var Re=new L(function(De,or){try{Ct.db=openDatabase(Ct.name,String(Ct.version),Ct.description,Ct.size)}catch(Cr){return or(Cr)}Ct.db.transaction(function(Cr){Hr(Cr,Ct,function(){Kt._dbInfo=Ct,De()},function(kr,Lr){or(Lr)})},or)});return Ct.serializer=er,Re},_support:function qt(){return"function"==typeof openDatabase}(),iterate:function Fr(dt,Kt){var Ct=this,ae=new L(function(Re,De){Ct.ready().then(function(){var or=Ct._dbInfo;or.db.transaction(function(Cr){Bo(Cr,or,"SELECT * FROM "+or.storeName,[],function(kr,Lr){for(var Br=Lr.rows,qr=Br.length,to=0;to '__WebKitDatabaseInfoTable__'",[],function(Re,De){for(var or=[],Cr=0;Cr0}var gi={_driver:"localStorageWrapper",_initStorage:function Yt(dt){var Ct={};if(dt)for(var ae in dt)Ct[ae]=dt[ae];return Ct.keyPrefix=qe(dt,this._defaultConfig),be()?(this._dbInfo=Ct,Ct.serializer=er,L.resolve()):L.reject()},_support:function Ee(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function xr(dt,Kt){var Ct=this,ae=Ct.ready().then(function(){for(var Re=Ct._dbInfo,De=Re.keyPrefix,or=De.length,Cr=localStorage.length,kr=1,Lr=0;Lr=0;Re--){var De=localStorage.key(Re);0===De.indexOf(ae)&&localStorage.removeItem(De)}});return J(Ct,dt),Ct},length:function qn(dt){var Ct=this.keys().then(function(ae){return ae.length});return J(Ct,dt),Ct},key:function Co(dt,Kt){var Ct=this,ae=Ct.ready().then(function(){var De,Re=Ct._dbInfo;try{De=localStorage.key(dt)}catch{De=null}return De&&(De=De.substring(Re.keyPrefix.length)),De});return J(ae,Kt),ae},keys:function Vn(dt){var Kt=this,Ct=Kt.ready().then(function(){for(var ae=Kt._dbInfo,Re=localStorage.length,De=[],or=0;or=0;or--){var Cr=localStorage.key(or);0===Cr.indexOf(De)&&localStorage.removeItem(Cr)}}):L.reject("Invalid arguments"),Kt),Re}},ni=function(Kt,Ct){return Kt===Ct||"number"==typeof Kt&&"number"==typeof Ct&&isNaN(Kt)&&isNaN(Ct)},Oe=function(Kt,Ct){for(var ae=Kt.length,Re=0;Re"u"?"undefined":k(Ct))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var ae in Ct){if("storeName"===ae&&(Ct[ae]=Ct[ae].replace(/\W/g,"_")),"version"===ae&&"number"!=typeof Ct[ae])return new Error("Database version must be a number.");this._config[ae]=Ct[ae]}return!("driver"in Ct)||!Ct.driver||this.setDriver(this._config.driver)}return"string"==typeof Ct?this._config[Ct]:this._config},dt.prototype.defineDriver=function(Ct,ae,Re){var De=new L(function(or,Cr){try{var kr=Ct._driver,Lr=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!Ct._driver)return void Cr(Lr);for(var Br=_o.concat("_initStorage"),qr=0,to=Br.length;qr{"use strict";r.d(a,{t:()=>s});var o=r(1413);class s extends o.B{constructor(y){super(),this._value=y}get value(){return this.getValue()}_subscribe(y){const k=super._subscribe(y);return!k.closed&&y.next(this._value),k}getValue(){const{hasError:y,thrownError:k,_value:S}=this;if(y)throw k;return this._throwIfClosed(),S}next(y){super.next(this._value=y)}}},1985:(i,a,r)=>{"use strict";r.d(a,{c:()=>T});var o=r(7707),s=r(8359),c=r(3494),y=r(1203),k=r(1026),S=r(8071),I=r(9786);let T=(()=>{class J{constructor(q){q&&(this._subscribe=q)}lift(q){const ct=new J;return ct.source=this,ct.operator=q,ct}subscribe(q,ct,ht){const tt=function L(J){return J&&J instanceof o.vU||function R(J){return J&&(0,S.T)(J.next)&&(0,S.T)(J.error)&&(0,S.T)(J.complete)}(J)&&(0,s.Uv)(J)}(q)?q:new o.Ms(q,ct,ht);return(0,I.Y)(()=>{const{operator:xt,source:Tt}=this;tt.add(xt?xt.call(tt,Tt):Tt?this._subscribe(tt):this._trySubscribe(tt))}),tt}_trySubscribe(q){try{return this._subscribe(q)}catch(ct){q.error(ct)}}forEach(q,ct){return new(ct=M(ct))((ht,tt)=>{const xt=new o.Ms({next:Tt=>{try{q(Tt)}catch($t){tt($t),xt.unsubscribe()}},error:tt,complete:ht});this.subscribe(xt)})}_subscribe(q){var ct;return null===(ct=this.source)||void 0===ct?void 0:ct.subscribe(q)}[c.s](){return this}pipe(...q){return(0,y.m)(q)(this)}toPromise(q){return new(q=M(q))((ct,ht)=>{let tt;this.subscribe(xt=>tt=xt,xt=>ht(xt),()=>ct(tt))})}}return J.create=W=>new J(W),J})();function M(J){var W;return null!==(W=J??k.$.Promise)&&void 0!==W?W:Promise}},2771:(i,a,r)=>{"use strict";r.d(a,{m:()=>c});var o=r(1413),s=r(6129);class c extends o.B{constructor(k=1/0,S=1/0,I=s.U){super(),this._bufferSize=k,this._windowTime=S,this._timestampProvider=I,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=S===1/0,this._bufferSize=Math.max(1,k),this._windowTime=Math.max(1,S)}next(k){const{isStopped:S,_buffer:I,_infiniteTimeWindow:T,_timestampProvider:M,_windowTime:R}=this;S||(I.push(k),!T&&I.push(M.now()+R)),this._trimBuffer(),super.next(k)}_subscribe(k){this._throwIfClosed(),this._trimBuffer();const S=this._innerSubscribe(k),{_infiniteTimeWindow:I,_buffer:T}=this,M=T.slice();for(let R=0;R{"use strict";r.d(a,{B:()=>I});var o=r(1985),s=r(8359);const y=(0,r(1853).L)(M=>function(){M(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var k=r(7908),S=r(9786);let I=(()=>{class M extends o.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(L){const J=new T(this,this);return J.operator=L,J}_throwIfClosed(){if(this.closed)throw new y}next(L){(0,S.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const J of this.currentObservers)J.next(L)}})}error(L){(0,S.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=L;const{observers:J}=this;for(;J.length;)J.shift().error(L)}})}complete(){(0,S.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:L}=this;for(;L.length;)L.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var L;return(null===(L=this.observers)||void 0===L?void 0:L.length)>0}_trySubscribe(L){return this._throwIfClosed(),super._trySubscribe(L)}_subscribe(L){return this._throwIfClosed(),this._checkFinalizedStatuses(L),this._innerSubscribe(L)}_innerSubscribe(L){const{hasError:J,isStopped:W,observers:q}=this;return J||W?s.Kn:(this.currentObservers=null,q.push(L),new s.yU(()=>{this.currentObservers=null,(0,k.o)(q,L)}))}_checkFinalizedStatuses(L){const{hasError:J,thrownError:W,isStopped:q}=this;J?L.error(W):q&&L.complete()}asObservable(){const L=new o.c;return L.source=this,L}}return M.create=(R,L)=>new T(R,L),M})();class T extends I{constructor(R,L){super(),this.destination=R,this.source=L}next(R){var L,J;null===(J=null===(L=this.destination)||void 0===L?void 0:L.next)||void 0===J||J.call(L,R)}error(R){var L,J;null===(J=null===(L=this.destination)||void 0===L?void 0:L.error)||void 0===J||J.call(L,R)}complete(){var R,L;null===(L=null===(R=this.destination)||void 0===R?void 0:R.complete)||void 0===L||L.call(R)}_subscribe(R){var L,J;return null!==(J=null===(L=this.source)||void 0===L?void 0:L.subscribe(R))&&void 0!==J?J:s.Kn}}},7707:(i,a,r)=>{"use strict";r.d(a,{Ms:()=>ht,vU:()=>J});var o=r(8071),s=r(8359),c=r(1026),y=r(5334),k=r(5343);const S=M("C",void 0,void 0);function M(St,_t,nt){return{kind:St,value:_t,error:nt}}var R=r(9270),L=r(9786);class J extends s.yU{constructor(_t){super(),this.isStopped=!1,_t?(this.destination=_t,(0,s.Uv)(_t)&&_t.add(this)):this.destination=$t}static create(_t,nt,at){return new ht(_t,nt,at)}next(_t){this.isStopped?Tt(function T(St){return M("N",St,void 0)}(_t),this):this._next(_t)}error(_t){this.isStopped?Tt(function I(St){return M("E",void 0,St)}(_t),this):(this.isStopped=!0,this._error(_t))}complete(){this.isStopped?Tt(S,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(_t){this.destination.next(_t)}_error(_t){try{this.destination.error(_t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const W=Function.prototype.bind;function q(St,_t){return W.call(St,_t)}class ct{constructor(_t){this.partialObserver=_t}next(_t){const{partialObserver:nt}=this;if(nt.next)try{nt.next(_t)}catch(at){tt(at)}}error(_t){const{partialObserver:nt}=this;if(nt.error)try{nt.error(_t)}catch(at){tt(at)}else tt(_t)}complete(){const{partialObserver:_t}=this;if(_t.complete)try{_t.complete()}catch(nt){tt(nt)}}}class ht extends J{constructor(_t,nt,at){let et;if(super(),(0,o.T)(_t)||!_t)et={next:_t??void 0,error:nt??void 0,complete:at??void 0};else{let bt;this&&c.$.useDeprecatedNextContext?(bt=Object.create(_t),bt.unsubscribe=()=>this.unsubscribe(),et={next:_t.next&&q(_t.next,bt),error:_t.error&&q(_t.error,bt),complete:_t.complete&&q(_t.complete,bt)}):et=_t}this.destination=new ct(et)}}function tt(St){c.$.useDeprecatedSynchronousErrorHandling?(0,L.l)(St):(0,y.m)(St)}function Tt(St,_t){const{onStoppedNotification:nt}=c.$;nt&&R.f.setTimeout(()=>nt(St,_t))}const $t={closed:!0,next:k.l,error:function xt(St){throw St},complete:k.l}},8359:(i,a,r)=>{"use strict";r.d(a,{Kn:()=>S,yU:()=>k,Uv:()=>I});var o=r(8071);const c=(0,r(1853).L)(M=>function(L){M(this),this.message=L?`${L.length} errors occurred during unsubscription:\n${L.map((J,W)=>`${W+1}) ${J.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=L});var y=r(7908);class k{constructor(R){this.initialTeardown=R,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let R;if(!this.closed){this.closed=!0;const{_parentage:L}=this;if(L)if(this._parentage=null,Array.isArray(L))for(const q of L)q.remove(this);else L.remove(this);const{initialTeardown:J}=this;if((0,o.T)(J))try{J()}catch(q){R=q instanceof c?q.errors:[q]}const{_finalizers:W}=this;if(W){this._finalizers=null;for(const q of W)try{T(q)}catch(ct){R=R??[],ct instanceof c?R=[...R,...ct.errors]:R.push(ct)}}if(R)throw new c(R)}}add(R){var L;if(R&&R!==this)if(this.closed)T(R);else{if(R instanceof k){if(R.closed||R._hasParent(this))return;R._addParent(this)}(this._finalizers=null!==(L=this._finalizers)&&void 0!==L?L:[]).push(R)}}_hasParent(R){const{_parentage:L}=this;return L===R||Array.isArray(L)&&L.includes(R)}_addParent(R){const{_parentage:L}=this;this._parentage=Array.isArray(L)?(L.push(R),L):L?[L,R]:R}_removeParent(R){const{_parentage:L}=this;L===R?this._parentage=null:Array.isArray(L)&&(0,y.o)(L,R)}remove(R){const{_finalizers:L}=this;L&&(0,y.o)(L,R),R instanceof k&&R._removeParent(this)}}k.EMPTY=(()=>{const M=new k;return M.closed=!0,M})();const S=k.EMPTY;function I(M){return M instanceof k||M&&"closed"in M&&(0,o.T)(M.remove)&&(0,o.T)(M.add)&&(0,o.T)(M.unsubscribe)}function T(M){(0,o.T)(M)?M():M.unsubscribe()}},1026:(i,a,r)=>{"use strict";r.d(a,{$:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17:(i,a,r)=>{"use strict";r.d(a,{G:()=>S});var o=r(1985),s=r(8359),c=r(9898),y=r(4360),k=r(9974);class S extends o.c{constructor(T,M){super(),this.source=T,this.subjectFactory=M,this._subject=null,this._refCount=0,this._connection=null,(0,k.S)(T)&&(this.lift=T.lift)}_subscribe(T){return this.getSubject().subscribe(T)}getSubject(){const T=this._subject;return(!T||T.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:T}=this;this._subject=this._connection=null,T?.unsubscribe()}connect(){let T=this._connection;if(!T){T=this._connection=new s.yU;const M=this.getSubject();T.add(this.source.subscribe((0,y._)(M,void 0,()=>{this._teardown(),M.complete()},R=>{this._teardown(),M.error(R)},()=>this._teardown()))),T.closed&&(this._connection=null,T=s.yU.EMPTY)}return T}refCount(){return(0,c.B)()(this)}}},4572:(i,a,r)=>{"use strict";r.d(a,{z:()=>R});var o=r(1985),s=r(3073),c=r(6648),y=r(3669),k=r(6450),S=r(9326),I=r(8496),T=r(4360),M=r(5225);function R(...W){const q=(0,S.lI)(W),ct=(0,S.ms)(W),{args:ht,keys:tt}=(0,s.D)(W);if(0===ht.length)return(0,c.H)([],q);const xt=new o.c(function L(W,q,ct=y.D){return ht=>{J(q,()=>{const{length:tt}=W,xt=new Array(tt);let Tt=tt,$t=tt;for(let St=0;St{const _t=(0,c.H)(W[St],q);let nt=!1;_t.subscribe((0,T._)(ht,at=>{xt[St]=at,nt||(nt=!0,$t--),$t||ht.next(ct(xt.slice()))},()=>{--Tt||ht.complete()}))},ht)},ht)}}(ht,q,tt?Tt=>(0,I.e)(tt,Tt):y.D));return ct?xt.pipe((0,k.I)(ct)):xt}function J(W,q,ct){W?(0,M.N)(ct,W,q):q()}},8793:(i,a,r)=>{"use strict";r.d(a,{x:()=>k});var o=r(6365),c=r(9326),y=r(6648);function k(...S){return function s(){return(0,o.U)(1)}()((0,y.H)(S,(0,c.lI)(S)))}},9030:(i,a,r)=>{"use strict";r.d(a,{v:()=>c});var o=r(1985),s=r(8750);function c(y){return new o.c(k=>{(0,s.Tg)(y()).subscribe(k)})}},983:(i,a,r)=>{"use strict";r.d(a,{w:()=>s});const s=new(r(1985).c)(k=>k.complete())},7468:(i,a,r)=>{"use strict";r.d(a,{p:()=>T});var o=r(1985),s=r(3073),c=r(8750),y=r(9326),k=r(4360),S=r(6450),I=r(8496);function T(...M){const R=(0,y.ms)(M),{args:L,keys:J}=(0,s.D)(M),W=new o.c(q=>{const{length:ct}=L;if(!ct)return void q.complete();const ht=new Array(ct);let tt=ct,xt=ct;for(let Tt=0;Tt{$t||($t=!0,xt--),ht[Tt]=St},()=>tt--,void 0,()=>{(!tt||!$t)&&(xt||q.next(J?(0,I.e)(J,ht):ht),q.complete())}))}});return R?W.pipe((0,S.I)(R)):W}},6648:(i,a,r)=>{"use strict";r.d(a,{H:()=>at});var o=r(8750),s=r(5225),c=r(9974),y=r(4360);function k(et,bt=0){return(0,c.N)((Et,jt)=>{Et.subscribe((0,y._)(jt,Gt=>(0,s.N)(jt,et,()=>jt.next(Gt),bt),()=>(0,s.N)(jt,et,()=>jt.complete(),bt),Gt=>(0,s.N)(jt,et,()=>jt.error(Gt),bt)))})}function S(et,bt=0){return(0,c.N)((Et,jt)=>{jt.add(et.schedule(()=>Et.subscribe(jt),bt))})}var M=r(1985),L=r(4761),J=r(8071);function q(et,bt){if(!et)throw new Error("Iterable cannot be null");return new M.c(Et=>{(0,s.N)(Et,bt,()=>{const jt=et[Symbol.asyncIterator]();(0,s.N)(Et,bt,()=>{jt.next().then(Gt=>{Gt.done?Et.complete():Et.next(Gt.value)})},0,!0)})})}var ct=r(5055),ht=r(9858),tt=r(7441),xt=r(5397),Tt=r(7953),$t=r(591),St=r(5196);function at(et,bt){return bt?function nt(et,bt){if(null!=et){if((0,ct.l)(et))return function I(et,bt){return(0,o.Tg)(et).pipe(S(bt),k(bt))}(et,bt);if((0,tt.X)(et))return function R(et,bt){return new M.c(Et=>{let jt=0;return bt.schedule(function(){jt===et.length?Et.complete():(Et.next(et[jt++]),Et.closed||this.schedule())})})}(et,bt);if((0,ht.y)(et))return function T(et,bt){return(0,o.Tg)(et).pipe(S(bt),k(bt))}(et,bt);if((0,Tt.T)(et))return q(et,bt);if((0,xt.x)(et))return function W(et,bt){return new M.c(Et=>{let jt;return(0,s.N)(Et,bt,()=>{jt=et[L.l](),(0,s.N)(Et,bt,()=>{let Gt,ie;try{({value:Gt,done:ie}=jt.next())}catch(Xe){return void Et.error(Xe)}ie?Et.complete():Et.next(Gt)},0,!0)}),()=>(0,J.T)(jt?.return)&&jt.return()})}(et,bt);if((0,St.U)(et))return function _t(et,bt){return q((0,St.C)(et),bt)}(et,bt)}throw(0,$t.L)(et)}(et,bt):(0,o.Tg)(et)}},3726:(i,a,r)=>{"use strict";r.d(a,{R:()=>R});var o=r(8750),s=r(1985),c=r(1397),y=r(7441),k=r(8071),S=r(6450);const I=["addListener","removeListener"],T=["addEventListener","removeEventListener"],M=["on","off"];function R(ct,ht,tt,xt){if((0,k.T)(tt)&&(xt=tt,tt=void 0),xt)return R(ct,ht,tt).pipe((0,S.I)(xt));const[Tt,$t]=function q(ct){return(0,k.T)(ct.addEventListener)&&(0,k.T)(ct.removeEventListener)}(ct)?T.map(St=>_t=>ct[St](ht,_t,tt)):function J(ct){return(0,k.T)(ct.addListener)&&(0,k.T)(ct.removeListener)}(ct)?I.map(L(ct,ht)):function W(ct){return(0,k.T)(ct.on)&&(0,k.T)(ct.off)}(ct)?M.map(L(ct,ht)):[];if(!Tt&&(0,y.X)(ct))return(0,c.Z)(St=>R(St,ht,tt))((0,o.Tg)(ct));if(!Tt)throw new TypeError("Invalid event target");return new s.c(St=>{const _t=(...nt)=>St.next(1$t(_t)})}function L(ct,ht){return tt=>xt=>ct[tt](ht,xt)}},8750:(i,a,r)=>{"use strict";r.d(a,{Tg:()=>W});var o=r(1635),s=r(7441),c=r(9858),y=r(1985),k=r(5055),S=r(7953),I=r(591),T=r(5397),M=r(5196),R=r(8071),L=r(5334),J=r(3494);function W(St){if(St instanceof y.c)return St;if(null!=St){if((0,k.l)(St))return function q(St){return new y.c(_t=>{const nt=St[J.s]();if((0,R.T)(nt.subscribe))return nt.subscribe(_t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(St);if((0,s.X)(St))return function ct(St){return new y.c(_t=>{for(let nt=0;nt{St.then(nt=>{_t.closed||(_t.next(nt),_t.complete())},nt=>_t.error(nt)).then(null,L.m)})}(St);if((0,S.T)(St))return xt(St);if((0,T.x)(St))return function tt(St){return new y.c(_t=>{for(const nt of St)if(_t.next(nt),_t.closed)return;_t.complete()})}(St);if((0,M.U)(St))return function Tt(St){return xt((0,M.C)(St))}(St)}throw(0,I.L)(St)}function xt(St){return new y.c(_t=>{(function $t(St,_t){var nt,at,et,bt;return(0,o.sH)(this,void 0,void 0,function*(){try{for(nt=(0,o.xN)(St);!(at=yield nt.next()).done;)if(_t.next(at.value),_t.closed)return}catch(Et){et={error:Et}}finally{try{at&&!at.done&&(bt=nt.return)&&(yield bt.call(nt))}finally{if(et)throw et.error}}_t.complete()})})(St,_t).catch(nt=>_t.error(nt))})}},7786:(i,a,r)=>{"use strict";r.d(a,{h:()=>S});var o=r(6365),s=r(8750),c=r(983),y=r(9326),k=r(6648);function S(...I){const T=(0,y.lI)(I),M=(0,y.R0)(I,1/0),R=I;return R.length?1===R.length?(0,s.Tg)(R[0]):(0,o.U)(M)((0,k.H)(R,T)):c.w}},7673:(i,a,r)=>{"use strict";r.d(a,{of:()=>c});var o=r(9326),s=r(6648);function c(...y){const k=(0,o.lI)(y);return(0,s.H)(y,k)}},8810:(i,a,r)=>{"use strict";r.d(a,{$:()=>c});var o=r(1985),s=r(8071);function c(y,k){const S=(0,s.T)(y)?y:()=>y,I=T=>T.error(S());return new o.c(k?T=>k.schedule(I,0,T):I)}},1584:(i,a,r)=>{"use strict";r.d(a,{O:()=>k});var o=r(1985),s=r(3236),c=r(9470);function k(S=0,I,T=s.b){let M=-1;return null!=I&&((0,c.m)(I)?T=I:M=I),new o.c(R=>{let L=function y(S){return S instanceof Date&&!isNaN(S)}(S)?+S-T.now():S;L<0&&(L=0);let J=0;return T.schedule(function(){R.closed||(R.next(J++),0<=M?this.schedule(void 0,M):R.complete())},L)})}},4360:(i,a,r)=>{"use strict";r.d(a,{_:()=>s});var o=r(7707);function s(y,k,S,I,T){return new c(y,k,S,I,T)}class c extends o.vU{constructor(k,S,I,T,M,R){super(k),this.onFinalize=M,this.shouldUnsubscribe=R,this._next=S?function(L){try{S(L)}catch(J){k.error(J)}}:super._next,this._error=T?function(L){try{T(L)}catch(J){k.error(J)}finally{this.unsubscribe()}}:super._error,this._complete=I?function(){try{I()}catch(L){k.error(L)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:S}=this;super.unsubscribe(),!S&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}},3798:(i,a,r)=>{"use strict";r.d(a,{Z:()=>I});var o=r(3236),s=r(9974),c=r(8750),y=r(4360),S=r(1584);function I(T,M=o.E){return function k(T){return(0,s.N)((M,R)=>{let L=!1,J=null,W=null,q=!1;const ct=()=>{if(W?.unsubscribe(),W=null,L){L=!1;const tt=J;J=null,R.next(tt)}q&&R.complete()},ht=()=>{W=null,q&&R.complete()};M.subscribe((0,y._)(R,tt=>{L=!0,J=tt,W||(0,c.Tg)(T(tt)).subscribe(W=(0,y._)(R,ct,ht))},()=>{q=!0,(!L||!W||W.closed)&&R.complete()}))})}(()=>(0,S.O)(T,M))}},9437:(i,a,r)=>{"use strict";r.d(a,{W:()=>y});var o=r(8750),s=r(4360),c=r(9974);function y(k){return(0,c.N)((S,I)=>{let R,T=null,M=!1;T=S.subscribe((0,s._)(I,void 0,void 0,L=>{R=(0,o.Tg)(k(L,y(k)(S))),T?(T.unsubscribe(),T=null,R.subscribe(I)):M=!0})),M&&(T.unsubscribe(),T=null,R.subscribe(I))})}},274:(i,a,r)=>{"use strict";r.d(a,{H:()=>c});var o=r(1397),s=r(8071);function c(y,k){return(0,s.T)(k)?(0,o.Z)(y,k,1):(0,o.Z)(y,1)}},152:(i,a,r)=>{"use strict";r.d(a,{B:()=>y});var o=r(3236),s=r(9974),c=r(4360);function y(k,S=o.E){return(0,s.N)((I,T)=>{let M=null,R=null,L=null;const J=()=>{if(M){M.unsubscribe(),M=null;const q=R;R=null,T.next(q)}};function W(){const q=L+k,ct=S.now();if(ct{R=q,L=S.now(),M||(M=S.schedule(W,k),T.add(M))},()=>{J(),T.complete()},void 0,()=>{R=M=null}))})}},1986:(i,a,r)=>{"use strict";r.d(a,{c:()=>W});var o=r(3236),s=r(8793),c=r(6697),y=r(9974),k=r(4360),S=r(5343),T=r(3703),M=r(1397),R=r(8750);function L(q,ct){return ct?ht=>(0,s.x)(ct.pipe((0,c.s)(1),function I(){return(0,y.N)((q,ct)=>{q.subscribe((0,k._)(ct,S.l))})}()),ht.pipe(L(q))):(0,M.Z)((ht,tt)=>(0,R.Tg)(q(ht,tt)).pipe((0,c.s)(1),(0,T.u)(ht)))}var J=r(1584);function W(q,ct=o.E){const ht=(0,J.O)(q,ct);return L(()=>ht)}},3294:(i,a,r)=>{"use strict";r.d(a,{F:()=>y});var o=r(3669),s=r(9974),c=r(4360);function y(S,I=o.D){return S=S??k,(0,s.N)((T,M)=>{let R,L=!0;T.subscribe((0,c._)(M,J=>{const W=I(J);(L||!S(R,W))&&(L=!1,R=W,M.next(J))}))})}function k(S,I){return S===I}},5964:(i,a,r)=>{"use strict";r.d(a,{p:()=>c});var o=r(9974),s=r(4360);function c(y,k){return(0,o.N)((S,I)=>{let T=0;S.subscribe((0,s._)(I,M=>y.call(k,M,T++)&&I.next(M)))})}},980:(i,a,r)=>{"use strict";r.d(a,{j:()=>s});var o=r(9974);function s(c){return(0,o.N)((y,k)=>{try{y.subscribe(k)}finally{k.add(c)}})}},6354:(i,a,r)=>{"use strict";r.d(a,{T:()=>c});var o=r(9974),s=r(4360);function c(y,k){return(0,o.N)((S,I)=>{let T=0;S.subscribe((0,s._)(I,M=>{I.next(y.call(k,M,T++))}))})}},3703:(i,a,r)=>{"use strict";r.d(a,{u:()=>s});var o=r(6354);function s(c){return(0,o.T)(()=>c)}},6365:(i,a,r)=>{"use strict";r.d(a,{U:()=>c});var o=r(1397),s=r(3669);function c(y=1/0){return(0,o.Z)(s.D,y)}},1397:(i,a,r)=>{"use strict";r.d(a,{Z:()=>T});var o=r(6354),s=r(8750),c=r(9974),y=r(5225),k=r(4360),I=r(8071);function T(M,R,L=1/0){return(0,I.T)(R)?T((J,W)=>(0,o.T)((q,ct)=>R(J,q,W,ct))((0,s.Tg)(M(J,W))),L):("number"==typeof R&&(L=R),(0,c.N)((J,W)=>function S(M,R,L,J,W,q,ct,ht){const tt=[];let xt=0,Tt=0,$t=!1;const St=()=>{$t&&!tt.length&&!xt&&R.complete()},_t=at=>xt{q&&R.next(at),xt++;let et=!1;(0,s.Tg)(L(at,Tt++)).subscribe((0,k._)(R,bt=>{W?.(bt),q?_t(bt):R.next(bt)},()=>{et=!0},void 0,()=>{if(et)try{for(xt--;tt.length&&xtnt(bt)):nt(bt)}St()}catch(bt){R.error(bt)}}))};return M.subscribe((0,k._)(R,_t,()=>{$t=!0,St()})),()=>{ht?.()}}(J,W,M,L)))}},9898:(i,a,r)=>{"use strict";r.d(a,{B:()=>c});var o=r(9974),s=r(4360);function c(){return(0,o.N)((y,k)=>{let S=null;y._refCount++;const I=(0,s._)(k,void 0,void 0,void 0,()=>{if(!y||y._refCount<=0||0<--y._refCount)return void(S=null);const T=y._connection,M=S;S=null,T&&(!M||T===M)&&T.unsubscribe(),k.unsubscribe()});y.subscribe(I),I.closed||(S=y.connect())})}},6649:(i,a,r)=>{"use strict";r.d(a,{S:()=>s});var o=r(4360);function s(c,y,k,S,I){return(T,M)=>{let R=k,L=y,J=0;T.subscribe((0,o._)(M,W=>{const q=J++;L=R?c(L,W,q):(R=!0,W),S&&M.next(L)},I&&(()=>{R&&M.next(L),M.complete()})))}}},7647:(i,a,r)=>{"use strict";r.d(a,{u:()=>k});var o=r(8750),s=r(1413),c=r(7707),y=r(9974);function k(I={}){const{connector:T=()=>new s.B,resetOnError:M=!0,resetOnComplete:R=!0,resetOnRefCountZero:L=!0}=I;return J=>{let W,q,ct,ht=0,tt=!1,xt=!1;const Tt=()=>{q?.unsubscribe(),q=void 0},$t=()=>{Tt(),W=ct=void 0,tt=xt=!1},St=()=>{const _t=W;$t(),_t?.unsubscribe()};return(0,y.N)((_t,nt)=>{ht++,!xt&&!tt&&Tt();const at=ct=ct??T();nt.add(()=>{ht--,0===ht&&!xt&&!tt&&(q=S(St,L))}),at.subscribe(nt),!W&&ht>0&&(W=new c.Ms({next:et=>at.next(et),error:et=>{xt=!0,Tt(),q=S($t,M,et),at.error(et)},complete:()=>{tt=!0,Tt(),q=S($t,R),at.complete()}}),(0,o.Tg)(_t).subscribe(W))})(J)}}function S(I,T,...M){if(!0===T)return void I();if(!1===T)return;const R=new c.Ms({next:()=>{R.unsubscribe(),I()}});return(0,o.Tg)(T(...M)).subscribe(R)}},4668:(i,a,r)=>{"use strict";r.d(a,{t:()=>c});var o=r(2771),s=r(7647);function c(y,k,S){let I,T=!1;return y&&"object"==typeof y?({bufferSize:I=1/0,windowTime:k=1/0,refCount:T=!1,scheduler:S}=y):I=y??1/0,(0,s.u)({connector:()=>new o.m(I,k,S),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:T})}},7626:(i,a,r)=>{"use strict";r.d(a,{i:()=>s});var o=r(5964);function s(c){return(0,o.p)((y,k)=>c<=k)}},9172:(i,a,r)=>{"use strict";r.d(a,{Z:()=>y});var o=r(8793),s=r(9326),c=r(9974);function y(...k){const S=(0,s.lI)(k);return(0,c.N)((I,T)=>{(S?(0,o.x)(k,I,S):(0,o.x)(k,I)).subscribe(T)})}},5558:(i,a,r)=>{"use strict";r.d(a,{n:()=>y});var o=r(8750),s=r(9974),c=r(4360);function y(k,S){return(0,s.N)((I,T)=>{let M=null,R=0,L=!1;const J=()=>L&&!M&&T.complete();I.subscribe((0,c._)(T,W=>{M?.unsubscribe();let q=0;const ct=R++;(0,o.Tg)(k(W,ct)).subscribe(M=(0,c._)(T,ht=>T.next(S?S(W,ht,ct,q++):ht),()=>{M=null,J()}))},()=>{L=!0,J()}))})}},6697:(i,a,r)=>{"use strict";r.d(a,{s:()=>y});var o=r(983),s=r(9974),c=r(4360);function y(k){return k<=0?()=>o.w:(0,s.N)((S,I)=>{let T=0;S.subscribe((0,c._)(I,M=>{++T<=k&&(I.next(M),k<=T&&I.complete())}))})}},6977:(i,a,r)=>{"use strict";r.d(a,{Q:()=>k});var o=r(9974),s=r(4360),c=r(8750),y=r(5343);function k(S){return(0,o.N)((I,T)=>{(0,c.Tg)(S).subscribe((0,s._)(T,()=>T.complete(),y.l)),!T.closed&&I.subscribe(T)})}},7048:(i,a,r)=>{"use strict";r.d(a,{v:()=>c});var o=r(9974),s=r(4360);function c(y,k=!1){return(0,o.N)((S,I)=>{let T=0;S.subscribe((0,s._)(I,M=>{const R=y(M,T++);(R||k)&&I.next(M),!R&&I.complete()}))})}},8141:(i,a,r)=>{"use strict";r.d(a,{M:()=>k});var o=r(8071),s=r(9974),c=r(4360),y=r(3669);function k(S,I,T){const M=(0,o.T)(S)||I||T?{next:S,error:I,complete:T}:S;return M?(0,s.N)((R,L)=>{var J;null===(J=M.subscribe)||void 0===J||J.call(M);let W=!0;R.subscribe((0,c._)(L,q=>{var ct;null===(ct=M.next)||void 0===ct||ct.call(M,q),L.next(q)},()=>{var q;W=!1,null===(q=M.complete)||void 0===q||q.call(M),L.complete()},q=>{var ct;W=!1,null===(ct=M.error)||void 0===ct||ct.call(M,q),L.error(q)},()=>{var q,ct;W&&(null===(q=M.unsubscribe)||void 0===q||q.call(M)),null===(ct=M.finalize)||void 0===ct||ct.call(M)}))}):y.D}},6780:(i,a,r)=>{"use strict";r.d(a,{R:()=>k});var o=r(8359);class s extends o.yU{constructor(I,T){super()}schedule(I,T=0){return this}}const c={setInterval(S,I,...T){const{delegate:M}=c;return M?.setInterval?M.setInterval(S,I,...T):setInterval(S,I,...T)},clearInterval(S){const{delegate:I}=c;return(I?.clearInterval||clearInterval)(S)},delegate:void 0};var y=r(7908);class k extends s{constructor(I,T){super(I,T),this.scheduler=I,this.work=T,this.pending=!1}schedule(I,T=0){var M;if(this.closed)return this;this.state=I;const R=this.id,L=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(L,R,T)),this.pending=!0,this.delay=T,this.id=null!==(M=this.id)&&void 0!==M?M:this.requestAsyncId(L,this.id,T),this}requestAsyncId(I,T,M=0){return c.setInterval(I.flush.bind(I,this),M)}recycleAsyncId(I,T,M=0){if(null!=M&&this.delay===M&&!1===this.pending)return T;null!=T&&c.clearInterval(T)}execute(I,T){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const M=this._execute(I,T);if(M)return M;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(I,T){let R,M=!1;try{this.work(I)}catch(L){M=!0,R=L||new Error("Scheduled action threw falsy error")}if(M)return this.unsubscribe(),R}unsubscribe(){if(!this.closed){const{id:I,scheduler:T}=this,{actions:M}=T;this.work=this.state=this.scheduler=null,this.pending=!1,(0,y.o)(M,this),null!=I&&(this.id=this.recycleAsyncId(T,I,null)),this.delay=null,super.unsubscribe()}}}},9687:(i,a,r)=>{"use strict";r.d(a,{q:()=>c});var o=r(6129);class s{constructor(k,S=s.now){this.schedulerActionCtor=k,this.now=S}schedule(k,S=0,I){return new this.schedulerActionCtor(this,k).schedule(I,S)}}s.now=o.U.now;class c extends s{constructor(k,S=s.now){super(k,S),this.actions=[],this._active=!1}flush(k){const{actions:S}=this;if(this._active)return void S.push(k);let I;this._active=!0;do{if(I=k.execute(k.state,k.delay))break}while(k=S.shift());if(this._active=!1,I){for(;k=S.shift();)k.unsubscribe();throw I}}}},5007:(i,a,r)=>{"use strict";r.d(a,{$:()=>q});var o=r(6780);let c,s=1;const y={};function k(ht){return ht in y&&(delete y[ht],!0)}const S={setImmediate(ht){const tt=s++;return y[tt]=!0,c||(c=Promise.resolve()),c.then(()=>k(tt)&&ht()),tt},clearImmediate(ht){k(ht)}},{setImmediate:T,clearImmediate:M}=S,R={setImmediate(...ht){const{delegate:tt}=R;return(tt?.setImmediate||T)(...ht)},clearImmediate(ht){const{delegate:tt}=R;return(tt?.clearImmediate||M)(ht)},delegate:void 0};var J=r(9687);const q=new class W extends J.q{flush(tt){this._active=!0;const xt=this._scheduled;this._scheduled=void 0;const{actions:Tt}=this;let $t;tt=tt||Tt.shift();do{if($t=tt.execute(tt.state,tt.delay))break}while((tt=Tt[0])&&tt.id===xt&&Tt.shift());if(this._active=!1,$t){for(;(tt=Tt[0])&&tt.id===xt&&Tt.shift();)tt.unsubscribe();throw $t}}}(class L extends o.R{constructor(tt,xt){super(tt,xt),this.scheduler=tt,this.work=xt}requestAsyncId(tt,xt,Tt=0){return null!==Tt&&Tt>0?super.requestAsyncId(tt,xt,Tt):(tt.actions.push(this),tt._scheduled||(tt._scheduled=R.setImmediate(tt.flush.bind(tt,void 0))))}recycleAsyncId(tt,xt,Tt=0){var $t;if(null!=Tt?Tt>0:this.delay>0)return super.recycleAsyncId(tt,xt,Tt);const{actions:St}=tt;null!=xt&&(null===($t=St[St.length-1])||void 0===$t?void 0:$t.id)!==xt&&(R.clearImmediate(xt),tt._scheduled===xt&&(tt._scheduled=void 0))}})},3236:(i,a,r)=>{"use strict";r.d(a,{E:()=>c,b:()=>y});var o=r(6780);const c=new(r(9687).q)(o.R),y=c},6129:(i,a,r)=>{"use strict";r.d(a,{U:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},9270:(i,a,r)=>{"use strict";r.d(a,{f:()=>o});const o={setTimeout(s,c,...y){const{delegate:k}=o;return k?.setTimeout?k.setTimeout(s,c,...y):setTimeout(s,c,...y)},clearTimeout(s){const{delegate:c}=o;return(c?.clearTimeout||clearTimeout)(s)},delegate:void 0}},4761:(i,a,r)=>{"use strict";r.d(a,{l:()=>s});const s=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(i,a,r)=>{"use strict";r.d(a,{s:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(i,a,r)=>{"use strict";r.d(a,{G:()=>s});const s=(0,r(1853).L)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(i,a,r)=>{"use strict";r.d(a,{R0:()=>S,lI:()=>k,ms:()=>y});var o=r(8071),s=r(9470);function c(I){return I[I.length-1]}function y(I){return(0,o.T)(c(I))?I.pop():void 0}function k(I){return(0,s.m)(c(I))?I.pop():void 0}function S(I,T){return"number"==typeof c(I)?I.pop():T}},3073:(i,a,r)=>{"use strict";r.d(a,{D:()=>k});const{isArray:o}=Array,{getPrototypeOf:s,prototype:c,keys:y}=Object;function k(I){if(1===I.length){const T=I[0];if(o(T))return{args:T,keys:null};if(function S(I){return I&&"object"==typeof I&&s(I)===c}(T)){const M=y(T);return{args:M.map(R=>T[R]),keys:M}}}return{args:I,keys:null}}},7908:(i,a,r)=>{"use strict";function o(s,c){if(s){const y=s.indexOf(c);0<=y&&s.splice(y,1)}}r.d(a,{o:()=>o})},1853:(i,a,r)=>{"use strict";function o(s){const y=s(k=>{Error.call(k),k.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}r.d(a,{L:()=>o})},8496:(i,a,r)=>{"use strict";function o(s,c){return s.reduce((y,k,S)=>(y[k]=c[S],y),{})}r.d(a,{e:()=>o})},9786:(i,a,r)=>{"use strict";r.d(a,{Y:()=>c,l:()=>y});var o=r(1026);let s=null;function c(k){if(o.$.useDeprecatedSynchronousErrorHandling){const S=!s;if(S&&(s={errorThrown:!1,error:null}),k(),S){const{errorThrown:I,error:T}=s;if(s=null,I)throw T}}else k()}function y(k){o.$.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=k)}},5225:(i,a,r)=>{"use strict";function o(s,c,y,k=0,S=!1){const I=c.schedule(function(){y(),S?s.add(this.schedule(null,k)):this.unsubscribe()},k);if(s.add(I),!S)return I}r.d(a,{N:()=>o})},3669:(i,a,r)=>{"use strict";function o(s){return s}r.d(a,{D:()=>o})},7441:(i,a,r)=>{"use strict";r.d(a,{X:()=>o});const o=s=>s&&"number"==typeof s.length&&"function"!=typeof s},7953:(i,a,r)=>{"use strict";r.d(a,{T:()=>s});var o=r(8071);function s(c){return Symbol.asyncIterator&&(0,o.T)(c?.[Symbol.asyncIterator])}},8071:(i,a,r)=>{"use strict";function o(s){return"function"==typeof s}r.d(a,{T:()=>o})},5055:(i,a,r)=>{"use strict";r.d(a,{l:()=>c});var o=r(3494),s=r(8071);function c(y){return(0,s.T)(y[o.s])}},5397:(i,a,r)=>{"use strict";r.d(a,{x:()=>c});var o=r(4761),s=r(8071);function c(y){return(0,s.T)(y?.[o.l])}},4402:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});var o=r(1985),s=r(8071);function c(y){return!!y&&(y instanceof o.c||(0,s.T)(y.lift)&&(0,s.T)(y.subscribe))}},9858:(i,a,r)=>{"use strict";r.d(a,{y:()=>s});var o=r(8071);function s(c){return(0,o.T)(c?.then)}},5196:(i,a,r)=>{"use strict";r.d(a,{C:()=>c,U:()=>y});var o=r(1635),s=r(8071);function c(k){return(0,o.AQ)(this,arguments,function*(){const I=k.getReader();try{for(;;){const{value:T,done:M}=yield(0,o.N3)(I.read());if(M)return yield(0,o.N3)(void 0);yield yield(0,o.N3)(T)}}finally{I.releaseLock()}})}function y(k){return(0,s.T)(k?.getReader)}},9470:(i,a,r)=>{"use strict";r.d(a,{m:()=>s});var o=r(8071);function s(c){return c&&(0,o.T)(c.schedule)}},9974:(i,a,r)=>{"use strict";r.d(a,{N:()=>c,S:()=>s});var o=r(8071);function s(y){return(0,o.T)(y?.lift)}function c(y){return k=>{if(s(k))return k.lift(function(S){try{return y(S,this)}catch(I){this.error(I)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(i,a,r)=>{"use strict";r.d(a,{I:()=>y});var o=r(6354);const{isArray:s}=Array;function y(k){return(0,o.T)(S=>function c(k,S){return s(S)?k(...S):k(S)}(k,S))}},5343:(i,a,r)=>{"use strict";function o(){}r.d(a,{l:()=>o})},1203:(i,a,r)=>{"use strict";r.d(a,{F:()=>s,m:()=>c});var o=r(3669);function s(...y){return c(y)}function c(y){return 0===y.length?o.D:1===y.length?y[0]:function(S){return y.reduce((I,T)=>T(I),S)}}},5334:(i,a,r)=>{"use strict";r.d(a,{m:()=>c});var o=r(1026),s=r(9270);function c(y){s.f.setTimeout(()=>{const{onUnhandledError:k}=o.$;if(!k)throw y;k(y)})}},591:(i,a,r)=>{"use strict";function o(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.`)}r.d(a,{L:()=>o})},9969:(i,a,r)=>{"use strict";r.d(a,{FX:()=>jt,If:()=>c,K2:()=>T,MA:()=>q,Os:()=>I,P:()=>ht,S6:()=>xt,hZ:()=>k,i0:()=>S,i7:()=>L,iF:()=>M,kY:()=>J,kp:()=>y,sf:()=>bt,ui:()=>Et,wk:()=>R});var o=r(177),s=r(4438),c=function(Gt){return Gt[Gt.State=0]="State",Gt[Gt.Transition=1]="Transition",Gt[Gt.Sequence=2]="Sequence",Gt[Gt.Group=3]="Group",Gt[Gt.Animate=4]="Animate",Gt[Gt.Keyframes=5]="Keyframes",Gt[Gt.Style=6]="Style",Gt[Gt.Trigger=7]="Trigger",Gt[Gt.Reference=8]="Reference",Gt[Gt.AnimateChild=9]="AnimateChild",Gt[Gt.AnimateRef=10]="AnimateRef",Gt[Gt.Query=11]="Query",Gt[Gt.Stagger=12]="Stagger",Gt}(c||{});const y="*";function k(Gt,ie){return{type:c.Trigger,name:Gt,definitions:ie,options:{}}}function S(Gt,ie=null){return{type:c.Animate,styles:ie,timings:Gt}}function I(Gt,ie=null){return{type:c.Group,steps:Gt,options:ie}}function T(Gt,ie=null){return{type:c.Sequence,steps:Gt,options:ie}}function M(Gt){return{type:c.Style,styles:Gt,offset:null}}function R(Gt,ie,Xe){return{type:c.State,name:Gt,styles:ie,options:Xe}}function L(Gt){return{type:c.Keyframes,steps:Gt}}function J(Gt,ie,Xe=null){return{type:c.Transition,expr:Gt,animation:ie,options:Xe}}function q(Gt=null){return{type:c.AnimateChild,options:Gt}}function ht(Gt,ie,Xe=null){return{type:c.Query,selector:Gt,animation:ie,options:Xe}}let xt=(()=>{class Gt{static{this.\u0275fac=function(Er){return new(Er||Gt)}}static{this.\u0275prov=s.jDH({token:Gt,factory:()=>(0,s.WQX)($t),providedIn:"root"})}}return Gt})();class Tt{}let $t=(()=>{class Gt extends xt{constructor(Xe,Er){if(super(),this.animationModuleType=(0,s.WQX)(s.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=Xe.createRenderer(Er.body,{id:"0",encapsulation:s.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function et(Gt){const ie=Gt.\u0275type;return 0===ie||1===ie}(this._renderer))throw new s.wOt(3600,!1)}build(Xe){const Er=this._nextAnimationId;this._nextAnimationId++;const gr=Array.isArray(Xe)?T(Xe):Xe;return nt(this._renderer,null,Er,"register",[gr]),new St(Er,this._renderer)}static{this.\u0275fac=function(Er){return new(Er||Gt)(s.KVO(s._9s),s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:Gt,factory:Gt.\u0275fac,providedIn:"root"})}}return Gt})();class St extends Tt{constructor(ie,Xe){super(),this._id=ie,this._renderer=Xe}create(ie,Xe){return new _t(this._id,ie,Xe||{},this._renderer)}}class _t{constructor(ie,Xe,Er,gr){this.id=ie,this.element=Xe,this._renderer=gr,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Er)}_listen(ie,Xe){return this._renderer.listen(this.element,`@@${this.id}:${ie}`,Xe)}_command(ie,...Xe){nt(this._renderer,this.element,this.id,ie,Xe)}onDone(ie){this._listen("done",ie)}onStart(ie){this._listen("start",ie)}onDestroy(ie){this._listen("destroy",ie)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(ie){this._command("setPosition",ie)}getPosition(){return function at(Gt){const ie=Gt.\u0275type;return 0===ie?Gt:1===ie?Gt.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function nt(Gt,ie,Xe,Er,gr){Gt.setProperty(ie,`@@${Xe}:${Er}`,gr)}class bt{constructor(ie=0,Xe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ie+Xe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ie=>ie()),this._onDoneFns=[])}onStart(ie){this._originalOnStartFns.push(ie),this._onStartFns.push(ie)}onDone(ie){this._originalOnDoneFns.push(ie),this._onDoneFns.push(ie)}onDestroy(ie){this._onDestroyFns.push(ie)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ie=>ie()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ie=>ie()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ie){this._position=this.totalTime?ie*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ie){const Xe="start"==ie?this._onStartFns:this._onDoneFns;Xe.forEach(Er=>Er()),Xe.length=0}}class Et{constructor(ie){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ie;let Xe=0,Er=0,gr=0;const vr=this.players.length;0==vr?queueMicrotask(()=>this._onFinish()):this.players.forEach(Xr=>{Xr.onDone(()=>{++Xe==vr&&this._onFinish()}),Xr.onDestroy(()=>{++Er==vr&&this._onDestroy()}),Xr.onStart(()=>{++gr==vr&&this._onStart()})}),this.totalTime=this.players.reduce((Xr,ke)=>Math.max(Xr,ke.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ie=>ie()),this._onDoneFns=[])}init(){this.players.forEach(ie=>ie.init())}onStart(ie){this._onStartFns.push(ie)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ie=>ie()),this._onStartFns=[])}onDone(ie){this._onDoneFns.push(ie)}onDestroy(ie){this._onDestroyFns.push(ie)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ie=>ie.play())}pause(){this.players.forEach(ie=>ie.pause())}restart(){this.players.forEach(ie=>ie.restart())}finish(){this._onFinish(),this.players.forEach(ie=>ie.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ie=>ie.destroy()),this._onDestroyFns.forEach(ie=>ie()),this._onDestroyFns=[])}reset(){this.players.forEach(ie=>ie.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ie){const Xe=ie*this.totalTime;this.players.forEach(Er=>{const gr=Er.totalTime?Math.min(1,Xe/Er.totalTime):1;Er.setPosition(gr)})}getPosition(){const ie=this.players.reduce((Xe,Er)=>null===Xe||Er.totalTime>Xe.totalTime?Er:Xe,null);return null!=ie?ie.getPosition():0}beforeDestroy(){this.players.forEach(ie=>{ie.beforeDestroy&&ie.beforeDestroy()})}triggerCallback(ie){const Xe="start"==ie?this._onStartFns:this._onDoneFns;Xe.forEach(Er=>Er()),Xe.length=0}}const jt="!"},9888:(i,a,r)=>{"use strict";r.d(a,{Pd:()=>qe,Au:()=>ke,vr:()=>ie,Bu:()=>Rt,FN:()=>mr,GX:()=>we,Q_:()=>Ee,Z7:()=>Bt,Ai:()=>Fr,px:()=>nt,_G:()=>it,w6:()=>At,Ae:()=>at});var o=r(177),s=r(4438),c=r(6860),y=r(1413),k=r(8359),I=(r(4402),r(7673)),T=r(4412),M=r(7336),R=r(8141),L=r(152),J=r(5964),W=r(6354),ct=(r(6697),r(7626)),ht=r(3294),tt=r(6977),Tt=r(2318),$t=r(4085),St=r(9327);const _t=" ";function nt(Ce,be,Yt){const Se=et(Ce,be);Yt=Yt.trim(),!Se.some(ar=>ar.trim()===Yt)&&(Se.push(Yt),Ce.setAttribute(be,Se.join(_t)))}function at(Ce,be,Yt){const Se=et(Ce,be);Yt=Yt.trim();const ar=Se.filter(xr=>xr!==Yt);ar.length?Ce.setAttribute(be,ar.join(_t)):Ce.removeAttribute(be)}function et(Ce,be){return Ce.getAttribute(be)?.match(/\S+/g)??[]}const Et="cdk-describedby-message",jt="cdk-describedby-host";let Gt=0,ie=(()=>{class Ce{constructor(Yt,Se){this._platform=Se,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Gt++,this._document=Yt,this._id=(0,s.WQX)(s.sZ2)+"-"+Gt++}describe(Yt,Se,ar){if(!this._canBeDescribed(Yt,Se))return;const xr=Xe(Se,ar);"string"!=typeof Se?(Er(Se,this._id),this._messageRegistry.set(xr,{messageElement:Se,referenceCount:0})):this._messageRegistry.has(xr)||this._createMessageElement(Se,ar),this._isElementDescribedByMessage(Yt,xr)||this._addMessageReference(Yt,xr)}removeDescription(Yt,Se,ar){if(!Se||!this._isElementNode(Yt))return;const xr=Xe(Se,ar);if(this._isElementDescribedByMessage(Yt,xr)&&this._removeMessageReference(Yt,xr),"string"==typeof Se){const Co=this._messageRegistry.get(xr);Co&&0===Co.referenceCount&&this._deleteMessageElement(xr)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Yt=this._document.querySelectorAll(`[${jt}="${this._id}"]`);for(let Se=0;Se0!=ar.indexOf(Et));Yt.setAttribute("aria-describedby",Se.join(" "))}_addMessageReference(Yt,Se){const ar=this._messageRegistry.get(Se);nt(Yt,"aria-describedby",ar.messageElement.id),Yt.setAttribute(jt,this._id),ar.referenceCount++}_removeMessageReference(Yt,Se){const ar=this._messageRegistry.get(Se);ar.referenceCount--,at(Yt,"aria-describedby",ar.messageElement.id),Yt.removeAttribute(jt)}_isElementDescribedByMessage(Yt,Se){const ar=et(Yt,"aria-describedby"),xr=this._messageRegistry.get(Se),Co=xr&&xr.messageElement.id;return!!Co&&-1!=ar.indexOf(Co)}_canBeDescribed(Yt,Se){if(!this._isElementNode(Yt))return!1;if(Se&&"object"==typeof Se)return!0;const ar=null==Se?"":`${Se}`.trim(),xr=Yt.getAttribute("aria-label");return!(!ar||xr&&xr.trim()===ar)}_isElementNode(Yt){return Yt.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(Se){return new(Se||Ce)(s.KVO(o.qQ),s.KVO(c.OD))}}static{this.\u0275prov=s.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}}return Ce})();function Xe(Ce,be){return"string"==typeof Ce?`${be||""}/${Ce}`:Ce}function Er(Ce,be){Ce.id||(Ce.id=`${Et}-${be}-${Gt++}`)}class vr{constructor(be,Yt){this._letterKeyStream=new y.B,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new y.B,this.selectedItem=this._selectedItem;const Se="number"==typeof Yt?.debounceInterval?Yt.debounceInterval:200;Yt?.skipPredicate&&(this._skipPredicateFn=Yt.skipPredicate),this.setItems(be),this._setupKeyHandler(Se)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(be){this._selectedItemIndex=be}setItems(be){this._items=be}handleKey(be){const Yt=be.keyCode;be.key&&1===be.key.length?this._letterKeyStream.next(be.key.toLocaleUpperCase()):(Yt>=M.A&&Yt<=M.Z||Yt>=M.f2&&Yt<=M.bn)&&this._letterKeyStream.next(String.fromCharCode(Yt))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(be){this._letterKeyStream.pipe((0,R.M)(Yt=>this._pressedLetters.push(Yt)),(0,L.B)(be),(0,J.p)(()=>this._pressedLetters.length>0),(0,W.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(Yt=>{for(let Se=1;SeSe.disabled,this.tabOut=new y.B,this.change=new y.B,be instanceof s.rOR?this._itemChangesSubscription=be.changes.subscribe(Se=>this._itemsChanged(Se.toArray())):(0,s.Hps)(be)&&(this._effectRef=(0,s.QZP)(()=>this._itemsChanged(be()),{injector:Yt}))}skipPredicate(be){return this._skipPredicateFn=be,this}withWrap(be=!0){return this._wrap=be,this}withVerticalOrientation(be=!0){return this._vertical=be,this}withHorizontalOrientation(be){return this._horizontal=be,this}withAllowedModifierKeys(be){return this._allowedModifierKeys=be,this}withTypeAhead(be=200){this._typeaheadSubscription.unsubscribe();const Yt=this._getItemsArray();return this._typeahead=new vr(Yt,{debounceInterval:"number"==typeof be?be:void 0,skipPredicate:Se=>this._skipPredicateFn(Se)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(Se=>{this.setActiveItem(Se)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(be=!0){return this._homeAndEnd=be,this}withPageUpDown(be=!0,Yt=10){return this._pageUpAndDown={enabled:be,delta:Yt},this}setActiveItem(be){const Yt=this._activeItem;this.updateActiveItem(be),this._activeItem!==Yt&&this.change.next(this._activeItemIndex)}onKeydown(be){const Yt=be.keyCode,ar=["altKey","ctrlKey","metaKey","shiftKey"].every(xr=>!be[xr]||this._allowedModifierKeys.indexOf(xr)>-1);switch(Yt){case M.wn:return void this.tabOut.next();case M.n6:if(this._vertical&&ar){this.setNextItemActive();break}return;case M.i7:if(this._vertical&&ar){this.setPreviousItemActive();break}return;case M.LE:if(this._horizontal&&ar){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case M.UQ:if(this._horizontal&&ar){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case M.yZ:if(this._homeAndEnd&&ar){this.setFirstItemActive();break}return;case M.Kp:if(this._homeAndEnd&&ar){this.setLastItemActive();break}return;case M.w_:if(this._pageUpAndDown.enabled&&ar){const xr=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(xr>0?xr:0,1);break}return;case M.dB:if(this._pageUpAndDown.enabled&&ar){const xr=this._activeItemIndex+this._pageUpAndDown.delta,Co=this._getItemsArray().length;this._setActiveItemByIndex(xr-1&&Yt!==this._activeItemIndex&&(this._activeItemIndex=Yt,this._typeahead?.setCurrentSelectedItemIndex(Yt))}}}class ke extends Xr{setActiveItem(be){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(be),this.activeItem&&this.activeItem.setActiveStyles()}}class Rt extends Xr{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(be){return this._origin=be,this}setActiveItem(be){super.setActiveItem(be),this.activeItem&&this.activeItem.focus(this._origin)}}let Bt=(()=>{class Ce{constructor(Yt){this._platform=Yt}isDisabled(Yt){return Yt.hasAttribute("disabled")}isVisible(Yt){return function Ot(Ce){return!!(Ce.offsetWidth||Ce.offsetHeight||"function"==typeof Ce.getClientRects&&Ce.getClientRects().length)}(Yt)&&"visible"===getComputedStyle(Yt).visibility}isTabbable(Yt){if(!this._platform.isBrowser)return!1;const Se=function Zt(Ce){try{return Ce.frameElement}catch{return null}}(function dr(Ce){return Ce.ownerDocument&&Ce.ownerDocument.defaultView||window}(Yt));if(Se&&(-1===Fe(Se)||!this.isVisible(Se)))return!1;let ar=Yt.nodeName.toLowerCase(),xr=Fe(Yt);return Yt.hasAttribute("contenteditable")?-1!==xr:!("iframe"===ar||"object"===ar||this._platform.WEBKIT&&this._platform.IOS&&!function Or(Ce){let be=Ce.nodeName.toLowerCase(),Yt="input"===be&&Ce.type;return"text"===Yt||"password"===Yt||"select"===be||"textarea"===be}(Yt))&&("audio"===ar?!!Yt.hasAttribute("controls")&&-1!==xr:"video"===ar?-1!==xr&&(null!==xr||this._platform.FIREFOX||Yt.hasAttribute("controls")):Yt.tabIndex>=0)}isFocusable(Yt,Se){return function yo(Ce){return!function qt(Ce){return function Ht(Ce){return"input"==Ce.nodeName.toLowerCase()}(Ce)&&"hidden"==Ce.type}(Ce)&&(function le(Ce){let be=Ce.nodeName.toLowerCase();return"input"===be||"select"===be||"button"===be||"textarea"===be}(Ce)||function Ve(Ce){return function Me(Ce){return"a"==Ce.nodeName.toLowerCase()}(Ce)&&Ce.hasAttribute("href")}(Ce)||Ce.hasAttribute("contenteditable")||Ke(Ce))}(Yt)&&!this.isDisabled(Yt)&&(Se?.ignoreVisibility||this.isVisible(Yt))}static{this.\u0275fac=function(Se){return new(Se||Ce)(s.KVO(c.OD))}}static{this.\u0275prov=s.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}}return Ce})();function Ke(Ce){if(!Ce.hasAttribute("tabindex")||void 0===Ce.tabIndex)return!1;let be=Ce.getAttribute("tabindex");return!(!be||isNaN(parseInt(be,10)))}function Fe(Ce){if(!Ke(Ce))return null;const be=parseInt(Ce.getAttribute("tabindex")||"",10);return isNaN(be)?-1:be}class Nt{get enabled(){return this._enabled}set enabled(be){this._enabled=be,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(be,this._startAnchor),this._toggleAnchorTabIndex(be,this._endAnchor))}constructor(be,Yt,Se,ar,xr=!1,Co){this._element=be,this._checker=Yt,this._ngZone=Se,this._document=ar,this._injector=Co,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,xr||this.attachAnchors()}destroy(){const be=this._startAnchor,Yt=this._endAnchor;be&&(be.removeEventListener("focus",this.startAnchorListener),be.remove()),Yt&&(Yt.removeEventListener("focus",this.endAnchorListener),Yt.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(be){return new Promise(Yt=>{this._executeOnStable(()=>Yt(this.focusInitialElement(be)))})}focusFirstTabbableElementWhenReady(be){return new Promise(Yt=>{this._executeOnStable(()=>Yt(this.focusFirstTabbableElement(be)))})}focusLastTabbableElementWhenReady(be){return new Promise(Yt=>{this._executeOnStable(()=>Yt(this.focusLastTabbableElement(be)))})}_getRegionBoundary(be){const Yt=this._element.querySelectorAll(`[cdk-focus-region-${be}], [cdkFocusRegion${be}], [cdk-focus-${be}]`);return"start"==be?Yt.length?Yt[0]:this._getFirstTabbableElement(this._element):Yt.length?Yt[Yt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(be){const Yt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Yt){if(!this._checker.isFocusable(Yt)){const Se=this._getFirstTabbableElement(Yt);return Se?.focus(be),!!Se}return Yt.focus(be),!0}return this.focusFirstTabbableElement(be)}focusFirstTabbableElement(be){const Yt=this._getRegionBoundary("start");return Yt&&Yt.focus(be),!!Yt}focusLastTabbableElement(be){const Yt=this._getRegionBoundary("end");return Yt&&Yt.focus(be),!!Yt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(be){if(this._checker.isFocusable(be)&&this._checker.isTabbable(be))return be;const Yt=be.children;for(let Se=0;Se=0;Se--){const ar=Yt[Se].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Yt[Se]):null;if(ar)return ar}return null}_createAnchor(){const be=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,be),be.classList.add("cdk-visually-hidden"),be.classList.add("cdk-focus-trap-anchor"),be.setAttribute("aria-hidden","true"),be}_toggleAnchorTabIndex(be,Yt){be?Yt.setAttribute("tabindex","0"):Yt.removeAttribute("tabindex")}toggleAnchors(be){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(be,this._startAnchor),this._toggleAnchorTabIndex(be,this._endAnchor))}_executeOnStable(be){this._injector?(0,s.mal)(be,{injector:this._injector}):setTimeout(be)}}let we=(()=>{class Ce{constructor(Yt,Se,ar){this._checker=Yt,this._ngZone=Se,this._injector=(0,s.WQX)(s.zZn),this._document=ar}create(Yt,Se=!1){return new Nt(Yt,this._checker,this._ngZone,this._document,Se,this._injector)}static{this.\u0275fac=function(Se){return new(Se||Ce)(s.KVO(Bt),s.KVO(s.SKi),s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}}return Ce})();function it(Ce){return 0===Ce.buttons||0===Ce.detail}function At(Ce){const be=Ce.touches&&Ce.touches[0]||Ce.changedTouches&&Ce.changedTouches[0];return!(!be||-1!==be.identifier||null!=be.radiusX&&1!==be.radiusX||null!=be.radiusY&&1!==be.radiusY)}const Mt=new s.nKC("cdk-input-modality-detector-options"),ve={ignoreKeys:[M.A$,M.W3,M.eg,M.Ge,M.FX]},Je=(0,c.BQ)({passive:!0,capture:!0});let er=(()=>{class Ce{get mostRecentModality(){return this._modality.value}constructor(Yt,Se,ar,xr){this._platform=Yt,this._mostRecentTarget=null,this._modality=new T.t(null),this._lastTouchMs=0,this._onKeydown=Co=>{this._options?.ignoreKeys?.some(Vn=>Vn===Co.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,c.Fb)(Co))},this._onMousedown=Co=>{Date.now()-this._lastTouchMs<650||(this._modality.next(it(Co)?"keyboard":"mouse"),this._mostRecentTarget=(0,c.Fb)(Co))},this._onTouchstart=Co=>{At(Co)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,c.Fb)(Co))},this._options={...ve,...xr},this.modalityDetected=this._modality.pipe((0,ct.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,ht.F)()),Yt.isBrowser&&Se.runOutsideAngular(()=>{ar.addEventListener("keydown",this._onKeydown,Je),ar.addEventListener("mousedown",this._onMousedown,Je),ar.addEventListener("touchstart",this._onTouchstart,Je)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Je),document.removeEventListener("mousedown",this._onMousedown,Je),document.removeEventListener("touchstart",this._onTouchstart,Je))}static{this.\u0275fac=function(Se){return new(Se||Ce)(s.KVO(c.OD),s.KVO(s.SKi),s.KVO(o.qQ),s.KVO(Mt,8))}}static{this.\u0275prov=s.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}}return Ce})();const Hr=new s.nKC("liveAnnouncerElement",{providedIn:"root",factory:function eo(){return null}}),Bo=new s.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let fr=0,Fr=(()=>{class Ce{constructor(Yt,Se,ar,xr){this._ngZone=Se,this._defaultOptions=xr,this._document=ar,this._liveElement=Yt||this._createLiveElement()}announce(Yt,...Se){const ar=this._defaultOptions;let xr,Co;return 1===Se.length&&"number"==typeof Se[0]?Co=Se[0]:[xr,Co]=Se,this.clear(),clearTimeout(this._previousTimeout),xr||(xr=ar&&ar.politeness?ar.politeness:"polite"),null==Co&&ar&&(Co=ar.duration),this._liveElement.setAttribute("aria-live",xr),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Vn=>this._currentResolve=Vn)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Yt,"number"==typeof Co&&(this._previousTimeout=setTimeout(()=>this.clear(),Co)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Yt="cdk-live-announcer-element",Se=this._document.getElementsByClassName(Yt),ar=this._document.createElement("div");for(let xr=0;xr .cdk-overlay-container [aria-modal="true"]');for(let ar=0;ar{class Ce{constructor(Yt,Se,ar,xr,Co){this._ngZone=Yt,this._platform=Se,this._inputModalityDetector=ar,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new y.B,this._rootNodeFocusAndBlurListener=Vn=>{for(let Yo=(0,c.Fb)(Vn);Yo;Yo=Yo.parentElement)"focus"===Vn.type?this._onFocus(Vn,Yo):this._onBlur(Vn,Yo)},this._document=xr,this._detectionMode=Co?.detectionMode||re.IMMEDIATE}monitor(Yt,Se=!1){const ar=(0,$t.i8)(Yt);if(!this._platform.isBrowser||1!==ar.nodeType)return(0,I.of)();const xr=(0,c.KT)(ar)||this._getDocument(),Co=this._elementInfo.get(ar);if(Co)return Se&&(Co.checkChildren=!0),Co.subject;const Vn={checkChildren:Se,subject:new y.B,rootNode:xr};return this._elementInfo.set(ar,Vn),this._registerGlobalListeners(Vn),Vn.subject}stopMonitoring(Yt){const Se=(0,$t.i8)(Yt),ar=this._elementInfo.get(Se);ar&&(ar.subject.complete(),this._setClasses(Se),this._elementInfo.delete(Se),this._removeGlobalListeners(ar))}focusVia(Yt,Se,ar){const xr=(0,$t.i8)(Yt);xr===this._getDocument().activeElement?this._getClosestElementsInfo(xr).forEach(([Vn,qn])=>this._originChanged(Vn,Se,qn)):(this._setOrigin(Se),"function"==typeof xr.focus&&xr.focus(ar))}ngOnDestroy(){this._elementInfo.forEach((Yt,Se)=>this.stopMonitoring(Se))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Yt){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Yt)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Yt&&this._isLastInteractionFromInputLabel(Yt)?"mouse":"program"}_shouldBeAttributedToTouch(Yt){return this._detectionMode===re.EVENTUAL||!!Yt?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Yt,Se){Yt.classList.toggle("cdk-focused",!!Se),Yt.classList.toggle("cdk-touch-focused","touch"===Se),Yt.classList.toggle("cdk-keyboard-focused","keyboard"===Se),Yt.classList.toggle("cdk-mouse-focused","mouse"===Se),Yt.classList.toggle("cdk-program-focused","program"===Se)}_setOrigin(Yt,Se=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Yt,this._originFromTouchInteraction="touch"===Yt&&Se,this._detectionMode===re.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Yt,Se){const ar=this._elementInfo.get(Se),xr=(0,c.Fb)(Yt);!ar||!ar.checkChildren&&Se!==xr||this._originChanged(Se,this._getFocusOrigin(xr),ar)}_onBlur(Yt,Se){const ar=this._elementInfo.get(Se);!ar||ar.checkChildren&&Yt.relatedTarget instanceof Node&&Se.contains(Yt.relatedTarget)||(this._setClasses(Se),this._emitOrigin(ar,null))}_emitOrigin(Yt,Se){Yt.subject.observers.length&&this._ngZone.run(()=>Yt.subject.next(Se))}_registerGlobalListeners(Yt){if(!this._platform.isBrowser)return;const Se=Yt.rootNode,ar=this._rootNodeFocusListenerCount.get(Se)||0;ar||this._ngZone.runOutsideAngular(()=>{Se.addEventListener("focus",this._rootNodeFocusAndBlurListener,he),Se.addEventListener("blur",this._rootNodeFocusAndBlurListener,he)}),this._rootNodeFocusListenerCount.set(Se,ar+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,tt.Q)(this._stopInputModalityDetector)).subscribe(xr=>{this._setOrigin(xr,!0)}))}_removeGlobalListeners(Yt){const Se=Yt.rootNode;if(this._rootNodeFocusListenerCount.has(Se)){const ar=this._rootNodeFocusListenerCount.get(Se);ar>1?this._rootNodeFocusListenerCount.set(Se,ar-1):(Se.removeEventListener("focus",this._rootNodeFocusAndBlurListener,he),Se.removeEventListener("blur",this._rootNodeFocusAndBlurListener,he),this._rootNodeFocusListenerCount.delete(Se))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Yt,Se,ar){this._setClasses(Yt,Se),this._emitOrigin(ar,Se),this._lastFocusOrigin=Se}_getClosestElementsInfo(Yt){const Se=[];return this._elementInfo.forEach((ar,xr)=>{(xr===Yt||ar.checkChildren&&xr.contains(Yt))&&Se.push([xr,ar])}),Se}_isLastInteractionFromInputLabel(Yt){const{_mostRecentTarget:Se,mostRecentModality:ar}=this._inputModalityDetector;if("mouse"!==ar||!Se||Se===Yt||"INPUT"!==Yt.nodeName&&"TEXTAREA"!==Yt.nodeName||Yt.disabled)return!1;const xr=Yt.labels;if(xr)for(let Co=0;Co{class Ce{constructor(Yt,Se){this._platform=Yt,this._document=Se,this._breakpointSubscription=(0,s.WQX)(St.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Ro.NONE;const Yt=this._document.createElement("div");Yt.style.backgroundColor="rgb(1,2,3)",Yt.style.position="absolute",this._document.body.appendChild(Yt);const Se=this._document.defaultView||window,ar=Se&&Se.getComputedStyle?Se.getComputedStyle(Yt):null,xr=(ar&&ar.backgroundColor||"").replace(/ /g,"");switch(Yt.remove(),xr){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Ro.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Ro.BLACK_ON_WHITE}return Ro.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Yt=this._document.body.classList;Yt.remove(Ue,Ko,tr),this._hasCheckedHighContrastMode=!0;const Se=this.getHighContrastMode();Se===Ro.BLACK_ON_WHITE?Yt.add(Ue,Ko):Se===Ro.WHITE_ON_BLACK&&Yt.add(Ue,tr)}}static{this.\u0275fac=function(Se){return new(Se||Ce)(s.KVO(c.OD),s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}}return Ce})(),qe=(()=>{class Ce{constructor(Yt){Yt._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(Se){return new(Se||Ce)(s.KVO(Ee))}}static{this.\u0275mod=s.$C({type:Ce})}static{this.\u0275inj=s.G2t({imports:[Tt.w5]})}}return Ce})()},8203:(i,a,r)=>{"use strict";r.d(a,{dS:()=>I,jI:()=>M});var o=r(4438),s=r(177);const c=new o.nKC("cdk-dir-doc",{providedIn:"root",factory:function y(){return(0,o.WQX)(s.qQ)}}),k=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let I=(()=>{class R{constructor(J){this.value="ltr",this.change=new o.bkB,J&&(this.value=function S(R){const L=R?.toLowerCase()||"";return"auto"===L&&typeof navigator<"u"&&navigator?.language?k.test(navigator.language)?"rtl":"ltr":"rtl"===L?"rtl":"ltr"}((J.body?J.body.dir:null)||(J.documentElement?J.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(W){return new(W||R)(o.KVO(c,8))}}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})(),M=(()=>{class R{static{this.\u0275fac=function(W){return new(W||R)}}static{this.\u0275mod=o.$C({type:R})}static{this.\u0275inj=o.G2t({})}}return R})()},4085:(i,a,r)=>{"use strict";r.d(a,{FG:()=>k,OE:()=>c,a1:()=>S,he:()=>s,i8:()=>I});var o=r(4438);function s(M){return null!=M&&"false"!=`${M}`}function c(M,R=0){return function y(M){return!isNaN(parseFloat(M))&&!isNaN(Number(M))}(M)?Number(M):2===arguments.length?R:0}function k(M){return Array.isArray(M)?M:[M]}function S(M){return null==M?"":"string"==typeof M?M:`${M}px`}function I(M){return M instanceof o.aKT?M.nativeElement:M}},5024:(i,a,r)=>{"use strict";r.d(a,{CB:()=>J,zP:()=>q}),r(4402),r(7673);var c=r(1413),y=r(4438);class J{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(ht=!1,tt,xt=!0,Tt){this._multiple=ht,this._emitChanges=xt,this.compareWith=Tt,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new c.B,tt&&tt.length&&(ht?tt.forEach($t=>this._markSelected($t)):this._markSelected(tt[0]),this._selectedToEmit.length=0)}select(...ht){this._verifyValueAssignment(ht),ht.forEach(xt=>this._markSelected(xt));const tt=this._hasQueuedChanges();return this._emitChangeEvent(),tt}deselect(...ht){this._verifyValueAssignment(ht),ht.forEach(xt=>this._unmarkSelected(xt));const tt=this._hasQueuedChanges();return this._emitChangeEvent(),tt}setSelection(...ht){this._verifyValueAssignment(ht);const tt=this.selected,xt=new Set(ht);ht.forEach($t=>this._markSelected($t)),tt.filter($t=>!xt.has(this._getConcreteValue($t,xt))).forEach($t=>this._unmarkSelected($t));const Tt=this._hasQueuedChanges();return this._emitChangeEvent(),Tt}toggle(ht){return this.isSelected(ht)?this.deselect(ht):this.select(ht)}clear(ht=!0){this._unmarkAll();const tt=this._hasQueuedChanges();return ht&&this._emitChangeEvent(),tt}isSelected(ht){return this._selection.has(this._getConcreteValue(ht))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(ht){this._multiple&&this.selected&&this._selected.sort(ht)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(ht){ht=this._getConcreteValue(ht),this.isSelected(ht)||(this._multiple||this._unmarkAll(),this.isSelected(ht)||this._selection.add(ht),this._emitChanges&&this._selectedToEmit.push(ht))}_unmarkSelected(ht){ht=this._getConcreteValue(ht),this.isSelected(ht)&&(this._selection.delete(ht),this._emitChanges&&this._deselectedToEmit.push(ht))}_unmarkAll(){this.isEmpty()||this._selection.forEach(ht=>this._unmarkSelected(ht))}_verifyValueAssignment(ht){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(ht,tt){if(this.compareWith){tt=tt??this._selection;for(let xt of tt)if(this.compareWith(ht,xt))return xt;return ht}return ht}}let q=(()=>{class ct{constructor(){this._listeners=[]}notify(tt,xt){for(let Tt of this._listeners)Tt(tt,xt)}listen(tt){return this._listeners.push(tt),()=>{this._listeners=this._listeners.filter(xt=>tt!==xt)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(xt){return new(xt||ct)}}static{this.\u0275prov=y.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})()},7336:(i,a,r)=>{"use strict";r.d(a,{A:()=>Ut,A$:()=>T,FX:()=>S,Fm:()=>k,Ge:()=>$,Kp:()=>ct,LE:()=>Tt,UQ:()=>tt,W3:()=>I,Z:()=>gt,_f:()=>L,bn:()=>vr,dB:()=>q,eg:()=>Kt,f2:()=>et,i7:()=>xt,n6:()=>$t,rp:()=>Ct,t6:()=>J,w_:()=>W,wn:()=>c,yZ:()=>ht});const c=9,k=13,S=16,I=17,T=18,L=27,J=32,W=33,q=34,ct=35,ht=36,tt=37,xt=38,Tt=39,$t=40,et=48,vr=57,Ut=65,gt=90,$=91,Kt=224;function Ct(ae,...Re){return Re.length?Re.some(De=>ae[De]):ae.altKey||ae.shiftKey||ae.ctrlKey||ae.metaKey}},9327:(i,a,r)=>{"use strict";r.d(a,{QP:()=>$t,Rp:()=>_t});var o=r(4438),s=r(4085),c=r(1413),y=r(4572),k=r(8793),S=r(1985),I=r(6697),T=r(7626),M=r(152),R=r(6354),L=r(9172),J=r(6977),W=r(6860);const ct=new Set;let ht,tt=(()=>{class nt{constructor(et,bt){this._platform=et,this._nonce=bt,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Tt}matchMedia(et){return(this._platform.WEBKIT||this._platform.BLINK)&&function xt(nt,at){if(!ct.has(nt))try{ht||(ht=document.createElement("style"),at&&ht.setAttribute("nonce",at),ht.setAttribute("type","text/css"),document.head.appendChild(ht)),ht.sheet&&(ht.sheet.insertRule(`@media ${nt} {body{ }}`,0),ct.add(nt))}catch(et){console.error(et)}}(et,this._nonce),this._matchMedia(et)}static{this.\u0275fac=function(bt){return new(bt||nt)(o.KVO(W.OD),o.KVO(o.BIS,8))}}static{this.\u0275prov=o.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();function Tt(nt){return{matches:"all"===nt||""===nt,media:nt,addListener:()=>{},removeListener:()=>{}}}let $t=(()=>{class nt{constructor(et,bt){this._mediaMatcher=et,this._zone=bt,this._queries=new Map,this._destroySubject=new c.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(et){return St((0,s.FG)(et)).some(Et=>this._registerQuery(Et).mql.matches)}observe(et){const Et=St((0,s.FG)(et)).map(Gt=>this._registerQuery(Gt).observable);let jt=(0,y.z)(Et);return jt=(0,k.x)(jt.pipe((0,I.s)(1)),jt.pipe((0,T.i)(1),(0,M.B)(0))),jt.pipe((0,R.T)(Gt=>{const ie={matches:!1,breakpoints:{}};return Gt.forEach(({matches:Xe,query:Er})=>{ie.matches=ie.matches||Xe,ie.breakpoints[Er]=Xe}),ie}))}_registerQuery(et){if(this._queries.has(et))return this._queries.get(et);const bt=this._mediaMatcher.matchMedia(et),jt={observable:new S.c(Gt=>{const ie=Xe=>this._zone.run(()=>Gt.next(Xe));return bt.addListener(ie),()=>{bt.removeListener(ie)}}).pipe((0,L.Z)(bt),(0,R.T)(({matches:Gt})=>({query:et,matches:Gt})),(0,J.Q)(this._destroySubject)),mql:bt};return this._queries.set(et,jt),jt}static{this.\u0275fac=function(bt){return new(bt||nt)(o.KVO(tt),o.KVO(o.SKi))}}static{this.\u0275prov=o.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();function St(nt){return nt.map(at=>at.split(",")).reduce((at,et)=>at.concat(et)).map(at=>at.trim())}const _t={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},2318:(i,a,r)=>{"use strict";r.d(a,{w5:()=>S});var o=r(4438);let c=(()=>{class I{create(M){return typeof MutationObserver>"u"?null:new MutationObserver(M)}static{this.\u0275fac=function(R){return new(R||I)}}static{this.\u0275prov=o.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})(),S=(()=>{class I{static{this.\u0275fac=function(R){return new(R||I)}}static{this.\u0275mod=o.$C({type:I})}static{this.\u0275inj=o.G2t({providers:[c]})}}return I})()},7987:(i,a,r)=>{"use strict";r.d(a,{$Q:()=>Ht,Sf:()=>vr,Tv:()=>nt,WB:()=>Me,hJ:()=>le,rR:()=>at,yY:()=>Xr,z_:()=>Or});var o=r(5542),s=r(177),c=r(4438),y=r(4085),k=r(6860),S=r(5964),I=r(6977),T=r(7048),M=r(8203),R=r(6939),L=r(1413),J=r(8359),W=r(7786),q=r(7336);const ct=(0,k.CZ)();class ht{constructor(Nt,we){this._viewportRuler=Nt,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=we}attach(){}enable(){if(this._canBeEnabled()){const Nt=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Nt.style.left||"",this._previousHTMLStyles.top=Nt.style.top||"",Nt.style.left=(0,y.a1)(-this._previousScrollPosition.left),Nt.style.top=(0,y.a1)(-this._previousScrollPosition.top),Nt.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Nt=this._document.documentElement,de=Nt.style,Ie=this._document.body.style,br=de.scrollBehavior||"",gt=Ie.scrollBehavior||"";this._isEnabled=!1,de.left=this._previousHTMLStyles.left,de.top=this._previousHTMLStyles.top,Nt.classList.remove("cdk-global-scrollblock"),ct&&(de.scrollBehavior=Ie.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ct&&(de.scrollBehavior=br,Ie.scrollBehavior=gt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const we=this._document.body,de=this._viewportRuler.getViewportSize();return we.scrollHeight>de.height||we.scrollWidth>de.width}}class xt{constructor(Nt,we,de,Ie){this._scrollDispatcher=Nt,this._ngZone=we,this._viewportRuler=de,this._config=Ie,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Nt){this._overlayRef=Nt}enable(){if(this._scrollSubscription)return;const Nt=this._scrollDispatcher.scrolled(0).pipe((0,S.p)(we=>!we||!this._overlayRef.overlayElement.contains(we.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Nt.subscribe(()=>{const we=this._viewportRuler.getViewportScrollPosition().top;Math.abs(we-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Nt.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Tt{enable(){}disable(){}attach(){}}function $t(dr,Nt){return Nt.some(we=>dr.bottomwe.bottom||dr.rightwe.right)}function St(dr,Nt){return Nt.some(we=>dr.topwe.bottom||dr.leftwe.right)}class _t{constructor(Nt,we,de,Ie){this._scrollDispatcher=Nt,this._viewportRuler=we,this._ngZone=de,this._config=Ie,this._scrollSubscription=null}attach(Nt){this._overlayRef=Nt}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const we=this._overlayRef.overlayElement.getBoundingClientRect(),{width:de,height:Ie}=this._viewportRuler.getViewportSize();$t(we,[{width:de,height:Ie,bottom:Ie,right:de,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let nt=(()=>{class dr{constructor(we,de,Ie,br){this._scrollDispatcher=we,this._viewportRuler=de,this._ngZone=Ie,this.noop=()=>new Tt,this.close=gt=>new xt(this._scrollDispatcher,this._ngZone,this._viewportRuler,gt),this.block=()=>new ht(this._viewportRuler,this._document),this.reposition=gt=>new _t(this._scrollDispatcher,this._viewportRuler,this._ngZone,gt),this._document=br}static{this.\u0275fac=function(de){return new(de||dr)(c.KVO(o.R),c.KVO(o.Xj),c.KVO(c.SKi),c.KVO(s.qQ))}}static{this.\u0275prov=c.jDH({token:dr,factory:dr.\u0275fac,providedIn:"root"})}}return dr})();class at{constructor(Nt){if(this.scrollStrategy=new Tt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Nt){const we=Object.keys(Nt);for(const de of we)void 0!==Nt[de]&&(this[de]=Nt[de])}}}class Et{constructor(Nt,we){this.connectionPair=Nt,this.scrollableViewProperties=we}}let ie=(()=>{class dr{constructor(we){this._attachedOverlays=[],this._document=we}ngOnDestroy(){this.detach()}add(we){this.remove(we),this._attachedOverlays.push(we)}remove(we){const de=this._attachedOverlays.indexOf(we);de>-1&&this._attachedOverlays.splice(de,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(de){return new(de||dr)(c.KVO(s.qQ))}}static{this.\u0275prov=c.jDH({token:dr,factory:dr.\u0275fac,providedIn:"root"})}}return dr})(),Xe=(()=>{class dr extends ie{constructor(we,de){super(we),this._ngZone=de,this._keydownListener=Ie=>{const br=this._attachedOverlays;for(let gt=br.length-1;gt>-1;gt--)if(br[gt]._keydownEvents.observers.length>0){const $=br[gt]._keydownEvents;this._ngZone?this._ngZone.run(()=>$.next(Ie)):$.next(Ie);break}}}add(we){super.add(we),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(de){return new(de||dr)(c.KVO(s.qQ),c.KVO(c.SKi,8))}}static{this.\u0275prov=c.jDH({token:dr,factory:dr.\u0275fac,providedIn:"root"})}}return dr})(),Er=(()=>{class dr extends ie{constructor(we,de,Ie){super(we),this._platform=de,this._ngZone=Ie,this._cursorStyleIsSet=!1,this._pointerDownListener=br=>{this._pointerDownEventTarget=(0,k.Fb)(br)},this._clickListener=br=>{const gt=(0,k.Fb)(br),$="click"===br.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:gt;this._pointerDownEventTarget=null;const Y=this._attachedOverlays.slice();for(let it=Y.length-1;it>-1;it--){const At=Y[it];if(At._outsidePointerEvents.observers.length<1||!At.hasAttached())continue;if(gr(At.overlayElement,gt)||gr(At.overlayElement,$))break;const Mt=At._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Mt.next(br)):Mt.next(br)}}}add(we){if(super.add(we),!this._isAttached){const de=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(de)):this._addEventListeners(de),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=de.style.cursor,de.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const we=this._document.body;we.removeEventListener("pointerdown",this._pointerDownListener,!0),we.removeEventListener("click",this._clickListener,!0),we.removeEventListener("auxclick",this._clickListener,!0),we.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(we.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(we){we.addEventListener("pointerdown",this._pointerDownListener,!0),we.addEventListener("click",this._clickListener,!0),we.addEventListener("auxclick",this._clickListener,!0),we.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(de){return new(de||dr)(c.KVO(s.qQ),c.KVO(k.OD),c.KVO(c.SKi,8))}}static{this.\u0275prov=c.jDH({token:dr,factory:dr.\u0275fac,providedIn:"root"})}}return dr})();function gr(dr,Nt){const we=typeof ShadowRoot<"u"&&ShadowRoot;let de=Nt;for(;de;){if(de===dr)return!0;de=we&&de instanceof ShadowRoot?de.host:de.parentNode}return!1}let vr=(()=>{class dr{constructor(we,de){this._platform=de,this._document=we}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const we="cdk-overlay-container";if(this._platform.isBrowser||(0,k.v8)()){const Ie=this._document.querySelectorAll(`.${we}[platform="server"], .${we}[platform="test"]`);for(let br=0;brthis._backdropClick.next(ve),this._backdropTransitionendHandler=ve=>{this._disposeBackdrop(ve.target)},this._keydownEvents=new L.B,this._outsidePointerEvents=new L.B,this._renders=new L.B,Ie.scrollStrategy&&(this._scrollStrategy=Ie.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ie.positionStrategy,this._afterRenderRef=(0,c.O8t)(()=>(0,c.Tzd)(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Nt){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const we=this._portalOutlet.attach(Nt);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,c.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof we?.onDestroy&&we.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),we}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Nt=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Nt}dispose(){const Nt=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,Nt&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Nt){Nt!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Nt,this.hasAttached()&&(Nt.attach(this),this.updatePosition()))}updateSize(Nt){this._config={...this._config,...Nt},this._updateElementSize()}setDirection(Nt){this._config={...this._config,direction:Nt},this._updateElementDirection()}addPanelClass(Nt){this._pane&&this._toggleClasses(this._pane,Nt,!0)}removePanelClass(Nt){this._pane&&this._toggleClasses(this._pane,Nt,!1)}getDirection(){const Nt=this._config.direction;return Nt?"string"==typeof Nt?Nt:Nt.value:"ltr"}updateScrollStrategy(Nt){Nt!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Nt,this.hasAttached()&&(Nt.attach(this),Nt.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Nt=this._pane.style;Nt.width=(0,y.a1)(this._config.width),Nt.height=(0,y.a1)(this._config.height),Nt.minWidth=(0,y.a1)(this._config.minWidth),Nt.minHeight=(0,y.a1)(this._config.minHeight),Nt.maxWidth=(0,y.a1)(this._config.maxWidth),Nt.maxHeight=(0,y.a1)(this._config.maxHeight)}_togglePointerEvents(Nt){this._pane.style.pointerEvents=Nt?"":"none"}_attachBackdrop(){const Nt="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Nt)})}):this._backdropElement.classList.add(Nt)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Nt=this._backdropElement;if(Nt){if(this._animationsDisabled)return void this._disposeBackdrop(Nt);Nt.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Nt.addEventListener("transitionend",this._backdropTransitionendHandler)}),Nt.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Nt)},500))}}_toggleClasses(Nt,we,de){const Ie=(0,y.FG)(we||[]).filter(br=>!!br);Ie.length&&(de?Nt.classList.add(...Ie):Nt.classList.remove(...Ie))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const Nt=this._renders.pipe((0,I.Q)((0,W.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Nt.unsubscribe())})})}_disposeScrollStrategy(){const Nt=this._scrollStrategy;Nt&&(Nt.disable(),Nt.detach&&Nt.detach())}_disposeBackdrop(Nt){Nt&&(Nt.removeEventListener("click",this._backdropClickHandler),Nt.removeEventListener("transitionend",this._backdropTransitionendHandler),Nt.remove(),this._backdropElement===Nt&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const ke="cdk-overlay-connected-position-bounding-box",Rt=/([A-Za-z%]+)$/;class wt{get positions(){return this._preferredPositions}constructor(Nt,we,de,Ie,br){this._viewportRuler=we,this._document=de,this._platform=Ie,this._overlayContainer=br,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new L.B,this._resizeSubscription=J.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Nt)}attach(Nt){this._validatePositions(),Nt.hostElement.classList.add(ke),this._overlayRef=Nt,this._boundingBox=Nt.hostElement,this._pane=Nt.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Nt=this._originRect,we=this._overlayRect,de=this._viewportRect,Ie=this._containerRect,br=[];let gt;for(let $ of this._preferredPositions){let Y=this._getOriginPoint(Nt,Ie,$),it=this._getOverlayPoint(Y,we,$),At=this._getOverlayFit(it,we,de,$);if(At.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition($,Y);this._canFitWithFlexibleDimensions(At,it,de)?br.push({position:$,origin:Y,overlayRect:we,boundingBoxRect:this._calculateBoundingBoxRect(Y,$)}):(!gt||gt.overlayFit.visibleAreaY&&(Y=At,$=it)}return this._isPushed=!1,void this._applyPosition($.position,$.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(gt.position,gt.originPoint);this._applyPosition(gt.position,gt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ut(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ke),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Nt=this._lastPosition;if(Nt){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const we=this._getOriginPoint(this._originRect,this._containerRect,Nt);this._applyPosition(Nt,we)}else this.apply()}withScrollableContainers(Nt){return this._scrollables=Nt,this}withPositions(Nt){return this._preferredPositions=Nt,-1===Nt.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Nt){return this._viewportMargin=Nt,this}withFlexibleDimensions(Nt=!0){return this._hasFlexibleDimensions=Nt,this}withGrowAfterOpen(Nt=!0){return this._growAfterOpen=Nt,this}withPush(Nt=!0){return this._canPush=Nt,this}withLockedPosition(Nt=!0){return this._positionLocked=Nt,this}setOrigin(Nt){return this._origin=Nt,this}withDefaultOffsetX(Nt){return this._offsetX=Nt,this}withDefaultOffsetY(Nt){return this._offsetY=Nt,this}withTransformOriginOn(Nt){return this._transformOriginSelector=Nt,this}_getOriginPoint(Nt,we,de){let Ie,br;if("center"==de.originX)Ie=Nt.left+Nt.width/2;else{const gt=this._isRtl()?Nt.right:Nt.left,$=this._isRtl()?Nt.left:Nt.right;Ie="start"==de.originX?gt:$}return we.left<0&&(Ie-=we.left),br="center"==de.originY?Nt.top+Nt.height/2:"top"==de.originY?Nt.top:Nt.bottom,we.top<0&&(br-=we.top),{x:Ie,y:br}}_getOverlayPoint(Nt,we,de){let Ie,br;return Ie="center"==de.overlayX?-we.width/2:"start"===de.overlayX?this._isRtl()?-we.width:0:this._isRtl()?0:-we.width,br="center"==de.overlayY?-we.height/2:"top"==de.overlayY?0:-we.height,{x:Nt.x+Ie,y:Nt.y+br}}_getOverlayFit(Nt,we,de,Ie){const br=Xt(we);let{x:gt,y:$}=Nt,Y=this._getOffset(Ie,"x"),it=this._getOffset(Ie,"y");Y&&(gt+=Y),it&&($+=it);let ve=0-$,ir=$+br.height-de.height,Je=this._subtractOverflows(br.width,0-gt,gt+br.width-de.width),er=this._subtractOverflows(br.height,ve,ir),Hr=Je*er;return{visibleArea:Hr,isCompletelyWithinViewport:br.width*br.height===Hr,fitsInViewportVertically:er===br.height,fitsInViewportHorizontally:Je==br.width}}_canFitWithFlexibleDimensions(Nt,we,de){if(this._hasFlexibleDimensions){const Ie=de.bottom-we.y,br=de.right-we.x,gt=Ae(this._overlayRef.getConfig().minHeight),$=Ae(this._overlayRef.getConfig().minWidth);return(Nt.fitsInViewportVertically||null!=gt&><=Ie)&&(Nt.fitsInViewportHorizontally||null!=$&&$<=br)}return!1}_pushOverlayOnScreen(Nt,we,de){if(this._previousPushAmount&&this._positionLocked)return{x:Nt.x+this._previousPushAmount.x,y:Nt.y+this._previousPushAmount.y};const Ie=Xt(we),br=this._viewportRect,gt=Math.max(Nt.x+Ie.width-br.width,0),$=Math.max(Nt.y+Ie.height-br.height,0),Y=Math.max(br.top-de.top-Nt.y,0),it=Math.max(br.left-de.left-Nt.x,0);let At=0,Mt=0;return At=Ie.width<=br.width?it||-gt:Nt.xJe&&!this._isInitialRender&&!this._growAfterOpen&&(gt=Nt.y-Je/2)}if("end"===we.overlayX&&!Ie||"start"===we.overlayX&&Ie)ve=de.width-Nt.x+2*this._viewportMargin,At=Nt.x-this._viewportMargin;else if("start"===we.overlayX&&!Ie||"end"===we.overlayX&&Ie)Mt=Nt.x,At=de.right-Nt.x;else{const ir=Math.min(de.right-Nt.x+de.left,Nt.x),Je=this._lastBoundingBoxSize.width;At=2*ir,Mt=Nt.x-ir,At>Je&&!this._isInitialRender&&!this._growAfterOpen&&(Mt=Nt.x-Je/2)}return{top:gt,left:Mt,bottom:$,right:ve,width:At,height:br}}_setBoundingBoxStyles(Nt,we){const de=this._calculateBoundingBoxRect(Nt,we);!this._isInitialRender&&!this._growAfterOpen&&(de.height=Math.min(de.height,this._lastBoundingBoxSize.height),de.width=Math.min(de.width,this._lastBoundingBoxSize.width));const Ie={};if(this._hasExactPosition())Ie.top=Ie.left="0",Ie.bottom=Ie.right=Ie.maxHeight=Ie.maxWidth="",Ie.width=Ie.height="100%";else{const br=this._overlayRef.getConfig().maxHeight,gt=this._overlayRef.getConfig().maxWidth;Ie.height=(0,y.a1)(de.height),Ie.top=(0,y.a1)(de.top),Ie.bottom=(0,y.a1)(de.bottom),Ie.width=(0,y.a1)(de.width),Ie.left=(0,y.a1)(de.left),Ie.right=(0,y.a1)(de.right),Ie.alignItems="center"===we.overlayX?"center":"end"===we.overlayX?"flex-end":"flex-start",Ie.justifyContent="center"===we.overlayY?"center":"bottom"===we.overlayY?"flex-end":"flex-start",br&&(Ie.maxHeight=(0,y.a1)(br)),gt&&(Ie.maxWidth=(0,y.a1)(gt))}this._lastBoundingBoxSize=de,Ut(this._boundingBox.style,Ie)}_resetBoundingBoxStyles(){Ut(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ut(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Nt,we){const de={},Ie=this._hasExactPosition(),br=this._hasFlexibleDimensions,gt=this._overlayRef.getConfig();if(Ie){const At=this._viewportRuler.getViewportScrollPosition();Ut(de,this._getExactOverlayY(we,Nt,At)),Ut(de,this._getExactOverlayX(we,Nt,At))}else de.position="static";let $="",Y=this._getOffset(we,"x"),it=this._getOffset(we,"y");Y&&($+=`translateX(${Y}px) `),it&&($+=`translateY(${it}px)`),de.transform=$.trim(),gt.maxHeight&&(Ie?de.maxHeight=(0,y.a1)(gt.maxHeight):br&&(de.maxHeight="")),gt.maxWidth&&(Ie?de.maxWidth=(0,y.a1)(gt.maxWidth):br&&(de.maxWidth="")),Ut(this._pane.style,de)}_getExactOverlayY(Nt,we,de){let Ie={top:"",bottom:""},br=this._getOverlayPoint(we,this._overlayRect,Nt);return this._isPushed&&(br=this._pushOverlayOnScreen(br,this._overlayRect,de)),"bottom"===Nt.overlayY?Ie.bottom=this._document.documentElement.clientHeight-(br.y+this._overlayRect.height)+"px":Ie.top=(0,y.a1)(br.y),Ie}_getExactOverlayX(Nt,we,de){let gt,Ie={left:"",right:""},br=this._getOverlayPoint(we,this._overlayRect,Nt);return this._isPushed&&(br=this._pushOverlayOnScreen(br,this._overlayRect,de)),gt=this._isRtl()?"end"===Nt.overlayX?"left":"right":"end"===Nt.overlayX?"right":"left","right"===gt?Ie.right=this._document.documentElement.clientWidth-(br.x+this._overlayRect.width)+"px":Ie.left=(0,y.a1)(br.x),Ie}_getScrollVisibility(){const Nt=this._getOriginRect(),we=this._pane.getBoundingClientRect(),de=this._scrollables.map(Ie=>Ie.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:St(Nt,de),isOriginOutsideView:$t(Nt,de),isOverlayClipped:St(we,de),isOverlayOutsideView:$t(we,de)}}_subtractOverflows(Nt,...we){return we.reduce((de,Ie)=>de-Math.max(Ie,0),Nt)}_getNarrowedViewportRect(){const Nt=this._document.documentElement.clientWidth,we=this._document.documentElement.clientHeight,de=this._viewportRuler.getViewportScrollPosition();return{top:de.top+this._viewportMargin,left:de.left+this._viewportMargin,right:de.left+Nt-this._viewportMargin,bottom:de.top+we-this._viewportMargin,width:Nt-2*this._viewportMargin,height:we-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Nt,we){return"x"===we?null==Nt.offsetX?this._offsetX:Nt.offsetX:null==Nt.offsetY?this._offsetY:Nt.offsetY}_validatePositions(){}_addPanelClasses(Nt){this._pane&&(0,y.FG)(Nt).forEach(we=>{""!==we&&-1===this._appliedPanelClasses.indexOf(we)&&(this._appliedPanelClasses.push(we),this._pane.classList.add(we))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Nt=>{this._pane.classList.remove(Nt)}),this._appliedPanelClasses=[])}_getOriginRect(){const Nt=this._origin;if(Nt instanceof c.aKT)return Nt.nativeElement.getBoundingClientRect();if(Nt instanceof Element)return Nt.getBoundingClientRect();const we=Nt.width||0,de=Nt.height||0;return{top:Nt.y,bottom:Nt.y+de,left:Nt.x,right:Nt.x+we,height:de,width:we}}}function Ut(dr,Nt){for(let we in Nt)Nt.hasOwnProperty(we)&&(dr[we]=Nt[we]);return dr}function Ae(dr){if("number"!=typeof dr&&null!=dr){const[Nt,we]=dr.split(Rt);return we&&"px"!==we?null:parseFloat(Nt)}return dr||null}function Xt(dr){return{top:Math.floor(dr.top),right:Math.floor(dr.right),bottom:Math.floor(dr.bottom),left:Math.floor(dr.left),width:Math.floor(dr.width),height:Math.floor(dr.height)}}const We="cdk-global-overlay-wrapper";class Bt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Nt){const we=Nt.getConfig();this._overlayRef=Nt,this._width&&!we.width&&Nt.updateSize({width:this._width}),this._height&&!we.height&&Nt.updateSize({height:this._height}),Nt.hostElement.classList.add(We),this._isDisposed=!1}top(Nt=""){return this._bottomOffset="",this._topOffset=Nt,this._alignItems="flex-start",this}left(Nt=""){return this._xOffset=Nt,this._xPosition="left",this}bottom(Nt=""){return this._topOffset="",this._bottomOffset=Nt,this._alignItems="flex-end",this}right(Nt=""){return this._xOffset=Nt,this._xPosition="right",this}start(Nt=""){return this._xOffset=Nt,this._xPosition="start",this}end(Nt=""){return this._xOffset=Nt,this._xPosition="end",this}width(Nt=""){return this._overlayRef?this._overlayRef.updateSize({width:Nt}):this._width=Nt,this}height(Nt=""){return this._overlayRef?this._overlayRef.updateSize({height:Nt}):this._height=Nt,this}centerHorizontally(Nt=""){return this.left(Nt),this._xPosition="center",this}centerVertically(Nt=""){return this.top(Nt),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Nt=this._overlayRef.overlayElement.style,we=this._overlayRef.hostElement.style,de=this._overlayRef.getConfig(),{width:Ie,height:br,maxWidth:gt,maxHeight:$}=de,Y=!("100%"!==Ie&&"100vw"!==Ie||gt&&"100%"!==gt&&"100vw"!==gt),it=!("100%"!==br&&"100vh"!==br||$&&"100%"!==$&&"100vh"!==$),At=this._xPosition,Mt=this._xOffset,ve="rtl"===this._overlayRef.getConfig().direction;let ir="",Je="",er="";Y?er="flex-start":"center"===At?(er="center",ve?Je=Mt:ir=Mt):ve?"left"===At||"end"===At?(er="flex-end",ir=Mt):("right"===At||"start"===At)&&(er="flex-start",Je=Mt):"left"===At||"start"===At?(er="flex-start",ir=Mt):("right"===At||"end"===At)&&(er="flex-end",Je=Mt),Nt.position=this._cssPosition,Nt.marginLeft=Y?"0":ir,Nt.marginTop=it?"0":this._topOffset,Nt.marginBottom=this._bottomOffset,Nt.marginRight=Y?"0":Je,we.justifyContent=er,we.alignItems=it?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Nt=this._overlayRef.overlayElement.style,we=this._overlayRef.hostElement,de=we.style;we.classList.remove(We),de.justifyContent=de.alignItems=Nt.marginTop=Nt.marginBottom=Nt.marginLeft=Nt.marginRight=Nt.position="",this._overlayRef=null,this._isDisposed=!0}}let Zt=(()=>{class dr{constructor(we,de,Ie,br){this._viewportRuler=we,this._document=de,this._platform=Ie,this._overlayContainer=br}global(){return new Bt}flexibleConnectedTo(we){return new wt(we,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(de){return new(de||dr)(c.KVO(o.Xj),c.KVO(s.qQ),c.KVO(k.OD),c.KVO(vr))}}static{this.\u0275prov=c.jDH({token:dr,factory:dr.\u0275fac,providedIn:"root"})}}return dr})(),Ot=0,le=(()=>{class dr{constructor(we,de,Ie,br,gt,$,Y,it,At,Mt,ve,ir){this.scrollStrategies=we,this._overlayContainer=de,this._componentFactoryResolver=Ie,this._positionBuilder=br,this._keyboardDispatcher=gt,this._injector=$,this._ngZone=Y,this._document=it,this._directionality=At,this._location=Mt,this._outsideClickDispatcher=ve,this._animationsModuleType=ir}create(we){const de=this._createHostElement(),Ie=this._createPaneElement(de),br=this._createPortalOutlet(Ie),gt=new at(we);return gt.direction=gt.direction||this._directionality.value,new Xr(br,de,Ie,gt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(c.uvJ))}position(){return this._positionBuilder}_createPaneElement(we){const de=this._document.createElement("div");return de.id="cdk-overlay-"+Ot++,de.classList.add("cdk-overlay-pane"),we.appendChild(de),de}_createHostElement(){const we=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(we),we}_createPortalOutlet(we){return this._appRef||(this._appRef=this._injector.get(c.o8S)),new R.aI(we,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(de){return new(de||dr)(c.KVO(nt),c.KVO(vr),c.KVO(c.OM3),c.KVO(Zt),c.KVO(Xe),c.KVO(c.zZn),c.KVO(c.SKi),c.KVO(s.qQ),c.KVO(M.dS),c.KVO(s.aZ),c.KVO(Er),c.KVO(c.bc$,8))}}static{this.\u0275prov=c.jDH({token:dr,factory:dr.\u0275fac,providedIn:"root"})}}return dr})();const qt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ve=new c.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const dr=(0,c.WQX)(le);return()=>dr.scrollStrategies.reposition()}});let Ht=(()=>{class dr{constructor(we){this.elementRef=we}static{this.\u0275fac=function(de){return new(de||dr)(c.rXU(c.aKT))}}static{this.\u0275dir=c.FsC({type:dr,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return dr})(),Me=(()=>{class dr{get offsetX(){return this._offsetX}set offsetX(we){this._offsetX=we,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(we){this._offsetY=we,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(we){this._disposeOnNavigation=we}constructor(we,de,Ie,br,gt){this._overlay=we,this._dir=gt,this._backdropSubscription=J.yU.EMPTY,this._attachSubscription=J.yU.EMPTY,this._detachSubscription=J.yU.EMPTY,this._positionSubscription=J.yU.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,c.WQX)(c.SKi),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new c.bkB,this.positionChange=new c.bkB,this.attach=new c.bkB,this.detach=new c.bkB,this.overlayKeydown=new c.bkB,this.overlayOutsideClick=new c.bkB,this._templatePortal=new R.VA(de,Ie),this._scrollStrategyFactory=br,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(we){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),we.origin&&this.open&&this._position.apply()),we.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=qt);const we=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=we.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=we.detachments().subscribe(()=>this.detach.emit()),we.keydownEvents().subscribe(de=>{this.overlayKeydown.next(de),de.keyCode===q._f&&!this.disableClose&&!(0,q.rp)(de)&&(de.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(de=>{const Ie=this._getOriginElement(),br=(0,k.Fb)(de);(!Ie||Ie!==br&&!Ie.contains(br))&&this.overlayOutsideClick.next(de)})}_buildConfig(){const we=this._position=this.positionStrategy||this._createPositionStrategy(),de=new at({direction:this._dir,positionStrategy:we,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(de.width=this.width),(this.height||0===this.height)&&(de.height=this.height),(this.minWidth||0===this.minWidth)&&(de.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(de.minHeight=this.minHeight),this.backdropClass&&(de.backdropClass=this.backdropClass),this.panelClass&&(de.panelClass=this.panelClass),de}_updatePositionStrategy(we){const de=this.positions.map(Ie=>({originX:Ie.originX,originY:Ie.originY,overlayX:Ie.overlayX,overlayY:Ie.overlayY,offsetX:Ie.offsetX||this.offsetX,offsetY:Ie.offsetY||this.offsetY,panelClass:Ie.panelClass||void 0}));return we.setOrigin(this._getOrigin()).withPositions(de).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const we=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(we),we}_getOrigin(){return this.origin instanceof Ht?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ht?this.origin.elementRef.nativeElement:this.origin instanceof c.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(we=>{this.backdropClick.emit(we)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,T.v)(()=>this.positionChange.observers.length>0)).subscribe(we=>{this._ngZone.run(()=>this.positionChange.emit(we)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(de){return new(de||dr)(c.rXU(le),c.rXU(c.C4Q),c.rXU(c.c1b),c.rXU(Ve),c.rXU(M.dS,8))}}static{this.\u0275dir=c.FsC({type:dr,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",c.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",c.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",c.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",c.L39],push:[2,"cdkConnectedOverlayPush","push",c.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",c.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[c.GFd,c.OA$]})}}return dr})();const Fe={provide:Ve,deps:[le],useFactory:function Ke(dr){return()=>dr.scrollStrategies.reposition()}};let Or=(()=>{class dr{static{this.\u0275fac=function(de){return new(de||dr)}}static{this.\u0275mod=c.$C({type:dr})}static{this.\u0275inj=c.G2t({providers:[le,Fe],imports:[M.jI,R.jc,o.E9,o.E9]})}}return dr})()},6860:(i,a,r)=>{"use strict";r.d(a,{BD:()=>ht,BQ:()=>L,CZ:()=>ct,Fb:()=>St,KT:()=>Tt,MU:()=>T,OD:()=>y,r5:()=>J,v8:()=>_t,vc:()=>$t});var o=r(4438),s=r(177);let c;try{c=typeof Intl<"u"&&Intl.v8BreakIterator}catch{c=!1}let S,y=(()=>{class nt{constructor(et){this._platformId=et,this.isBrowser=this._platformId?(0,s.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!c)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(bt){return new(bt||nt)(o.KVO(o.Agw))}}static{this.\u0275prov=o.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();const I=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function T(){if(S)return S;if("object"!=typeof document||!document)return S=new Set(I),S;let nt=document.createElement("input");return S=new Set(I.filter(at=>(nt.setAttribute("type",at),nt.type===at))),S}let M;function L(nt){return function R(){if(null==M&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>M=!0}))}finally{M=M||!1}return M}()?nt:!!nt.capture}var J=function(nt){return nt[nt.NORMAL=0]="NORMAL",nt[nt.NEGATED=1]="NEGATED",nt[nt.INVERTED=2]="INVERTED",nt}(J||{});let W,q,tt;function ct(){if(null==q){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return q=!1,q;if("scrollBehavior"in document.documentElement.style)q=!0;else{const nt=Element.prototype.scrollTo;q=!!nt&&!/\{\s*\[native code\]\s*\}/.test(nt.toString())}}return q}function ht(){if("object"!=typeof document||!document)return J.NORMAL;if(null==W){const nt=document.createElement("div"),at=nt.style;nt.dir="rtl",at.width="1px",at.overflow="auto",at.visibility="hidden",at.pointerEvents="none",at.position="absolute";const et=document.createElement("div"),bt=et.style;bt.width="2px",bt.height="1px",nt.appendChild(et),document.body.appendChild(nt),W=J.NORMAL,0===nt.scrollLeft&&(nt.scrollLeft=1,W=0===nt.scrollLeft?J.NEGATED:J.INVERTED),nt.remove()}return W}function Tt(nt){if(function xt(){if(null==tt){const nt=typeof document<"u"?document.head:null;tt=!(!nt||!nt.createShadowRoot&&!nt.attachShadow)}return tt}()){const at=nt.getRootNode?nt.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&at instanceof ShadowRoot)return at}return null}function $t(){let nt=typeof document<"u"&&document?document.activeElement:null;for(;nt&&nt.shadowRoot;){const at=nt.shadowRoot.activeElement;if(at===nt)break;nt=at}return nt}function St(nt){return nt.composedPath?nt.composedPath()[0]:nt.target}function _t(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6939:(i,a,r)=>{"use strict";r.d(a,{A8:()=>R,I3:()=>Tt,VA:()=>L,aI:()=>ct,jc:()=>St,lb:()=>W});var o=r(4438),s=r(177);class M{attach(at){return this._attachedHost=at,at.attach(this)}detach(){let at=this._attachedHost;null!=at&&(this._attachedHost=null,at.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(at){this._attachedHost=at}}class R extends M{constructor(at,et,bt,Et,jt){super(),this.component=at,this.viewContainerRef=et,this.injector=bt,this.componentFactoryResolver=Et,this.projectableNodes=jt}}class L extends M{constructor(at,et,bt,Et){super(),this.templateRef=at,this.viewContainerRef=et,this.context=bt,this.injector=Et}get origin(){return this.templateRef.elementRef}attach(at,et=this.context){return this.context=et,super.attach(at)}detach(){return this.context=void 0,super.detach()}}class J extends M{constructor(at){super(),this.element=at instanceof o.aKT?at.nativeElement:at}}class W{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(at){return at instanceof R?(this._attachedPortal=at,this.attachComponentPortal(at)):at instanceof L?(this._attachedPortal=at,this.attachTemplatePortal(at)):this.attachDomPortal&&at instanceof J?(this._attachedPortal=at,this.attachDomPortal(at)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(at){this._disposeFn=at}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ct extends W{constructor(at,et,bt,Et,jt){super(),this.outletElement=at,this._componentFactoryResolver=et,this._appRef=bt,this._defaultInjector=Et,this.attachDomPortal=Gt=>{const ie=Gt.element,Xe=this._document.createComment("dom-portal");ie.parentNode.insertBefore(Xe,ie),this.outletElement.appendChild(ie),this._attachedPortal=Gt,super.setDisposeFn(()=>{Xe.parentNode&&Xe.parentNode.replaceChild(ie,Xe)})},this._document=jt}attachComponentPortal(at){const bt=(at.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(at.component);let Et;return at.viewContainerRef?(Et=at.viewContainerRef.createComponent(bt,at.viewContainerRef.length,at.injector||at.viewContainerRef.injector,at.projectableNodes||void 0),this.setDisposeFn(()=>Et.destroy())):(Et=bt.create(at.injector||this._defaultInjector||o.zZn.NULL),this._appRef.attachView(Et.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Et.hostView),Et.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Et)),this._attachedPortal=at,Et}attachTemplatePortal(at){let et=at.viewContainerRef,bt=et.createEmbeddedView(at.templateRef,at.context,{injector:at.injector});return bt.rootNodes.forEach(Et=>this.outletElement.appendChild(Et)),bt.detectChanges(),this.setDisposeFn(()=>{let Et=et.indexOf(bt);-1!==Et&&et.remove(Et)}),this._attachedPortal=at,bt}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(at){return at.hostView.rootNodes[0]}}let Tt=(()=>{class nt extends W{constructor(et,bt,Et){super(),this._componentFactoryResolver=et,this._viewContainerRef=bt,this._isInitialized=!1,this.attached=new o.bkB,this.attachDomPortal=jt=>{const Gt=jt.element,ie=this._document.createComment("dom-portal");jt.setAttachedHost(this),Gt.parentNode.insertBefore(ie,Gt),this._getRootNode().appendChild(Gt),this._attachedPortal=jt,super.setDisposeFn(()=>{ie.parentNode&&ie.parentNode.replaceChild(Gt,ie)})},this._document=Et}get portal(){return this._attachedPortal}set portal(et){this.hasAttached()&&!et&&!this._isInitialized||(this.hasAttached()&&super.detach(),et&&super.attach(et),this._attachedPortal=et||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(et){et.setAttachedHost(this);const bt=null!=et.viewContainerRef?et.viewContainerRef:this._viewContainerRef,jt=(et.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(et.component),Gt=bt.createComponent(jt,bt.length,et.injector||bt.injector,et.projectableNodes||void 0);return bt!==this._viewContainerRef&&this._getRootNode().appendChild(Gt.hostView.rootNodes[0]),super.setDisposeFn(()=>Gt.destroy()),this._attachedPortal=et,this._attachedRef=Gt,this.attached.emit(Gt),Gt}attachTemplatePortal(et){et.setAttachedHost(this);const bt=this._viewContainerRef.createEmbeddedView(et.templateRef,et.context,{injector:et.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=et,this._attachedRef=bt,this.attached.emit(bt),bt}_getRootNode(){const et=this._viewContainerRef.element.nativeElement;return et.nodeType===et.ELEMENT_NODE?et:et.parentNode}static{this.\u0275fac=function(bt){return new(bt||nt)(o.rXU(o.OM3),o.rXU(o.c1b),o.rXU(s.qQ))}}static{this.\u0275dir=o.FsC({type:nt,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[o.Vt3]})}}return nt})(),St=(()=>{class nt{static{this.\u0275fac=function(bt){return new(bt||nt)}}static{this.\u0275mod=o.$C({type:nt})}static{this.\u0275inj=o.G2t({})}}return nt})()},5542:(i,a,r)=>{"use strict";r.d(a,{uv:()=>ie,Gj:()=>pe,R:()=>Gt,E9:()=>te,Xj:()=>Er});var o=r(4085),s=r(4438),c=r(1413),y=r(7673),k=r(1985),S=r(3726),I=r(6780),T=r(8359);const M={schedule(Ye){let We=requestAnimationFrame,Bt=cancelAnimationFrame;const{delegate:Zt}=M;Zt&&(We=Zt.requestAnimationFrame,Bt=Zt.cancelAnimationFrame);const Ot=We(le=>{Bt=void 0,Ye(le)});return new T.yU(()=>Bt?.(Ot))},requestAnimationFrame(...Ye){const{delegate:We}=M;return(We?.requestAnimationFrame||requestAnimationFrame)(...Ye)},cancelAnimationFrame(...Ye){const{delegate:We}=M;return(We?.cancelAnimationFrame||cancelAnimationFrame)(...Ye)},delegate:void 0};var L=r(9687);new class J extends L.q{flush(We){this._active=!0;const Bt=this._scheduled;this._scheduled=void 0;const{actions:Zt}=this;let Ot;We=We||Zt.shift();do{if(Ot=We.execute(We.state,We.delay))break}while((We=Zt[0])&&We.id===Bt&&Zt.shift());if(this._active=!1,Ot){for(;(We=Zt[0])&&We.id===Bt&&Zt.shift();)We.unsubscribe();throw Ot}}}(class R extends I.R{constructor(We,Bt){super(We,Bt),this.scheduler=We,this.work=Bt}requestAsyncId(We,Bt,Zt=0){return null!==Zt&&Zt>0?super.requestAsyncId(We,Bt,Zt):(We.actions.push(this),We._scheduled||(We._scheduled=M.requestAnimationFrame(()=>We.flush(void 0))))}recycleAsyncId(We,Bt,Zt=0){var Ot;if(null!=Zt?Zt>0:this.delay>0)return super.recycleAsyncId(We,Bt,Zt);const{actions:le}=We;null!=Bt&&(null===(Ot=le[le.length-1])||void 0===Ot?void 0:Ot.id)!==Bt&&(M.cancelAnimationFrame(Bt),We._scheduled=void 0)}});r(5007);var ht=r(3798),tt=r(5964),xt=r(6977),Tt=r(6860),$t=r(177),St=r(8203);let Gt=(()=>{class Ye{constructor(Bt,Zt,Ot){this._ngZone=Bt,this._platform=Zt,this._scrolled=new c.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ot}register(Bt){this.scrollContainers.has(Bt)||this.scrollContainers.set(Bt,Bt.elementScrolled().subscribe(()=>this._scrolled.next(Bt)))}deregister(Bt){const Zt=this.scrollContainers.get(Bt);Zt&&(Zt.unsubscribe(),this.scrollContainers.delete(Bt))}scrolled(Bt=20){return this._platform.isBrowser?new k.c(Zt=>{this._globalSubscription||this._addGlobalListener();const Ot=Bt>0?this._scrolled.pipe((0,ht.Z)(Bt)).subscribe(Zt):this._scrolled.subscribe(Zt);return this._scrolledCount++,()=>{Ot.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,y.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Bt,Zt)=>this.deregister(Zt)),this._scrolled.complete()}ancestorScrolled(Bt,Zt){const Ot=this.getAncestorScrollContainers(Bt);return this.scrolled(Zt).pipe((0,tt.p)(le=>!le||Ot.indexOf(le)>-1))}getAncestorScrollContainers(Bt){const Zt=[];return this.scrollContainers.forEach((Ot,le)=>{this._scrollableContainsElement(le,Bt)&&Zt.push(le)}),Zt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Bt,Zt){let Ot=(0,o.i8)(Zt),le=Bt.getElementRef().nativeElement;do{if(Ot==le)return!0}while(Ot=Ot.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Bt=this._getWindow();return(0,S.R)(Bt.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(Zt){return new(Zt||Ye)(s.KVO(s.SKi),s.KVO(Tt.OD),s.KVO($t.qQ,8))}}static{this.\u0275prov=s.jDH({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}}return Ye})(),ie=(()=>{class Ye{constructor(Bt,Zt,Ot,le){this.elementRef=Bt,this.scrollDispatcher=Zt,this.ngZone=Ot,this.dir=le,this._destroyed=new c.B,this._elementScrolled=new k.c(qt=>this.ngZone.runOutsideAngular(()=>(0,S.R)(this.elementRef.nativeElement,"scroll").pipe((0,xt.Q)(this._destroyed)).subscribe(qt)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(Bt){const Zt=this.elementRef.nativeElement,Ot=this.dir&&"rtl"==this.dir.value;null==Bt.left&&(Bt.left=Ot?Bt.end:Bt.start),null==Bt.right&&(Bt.right=Ot?Bt.start:Bt.end),null!=Bt.bottom&&(Bt.top=Zt.scrollHeight-Zt.clientHeight-Bt.bottom),Ot&&(0,Tt.BD)()!=Tt.r5.NORMAL?(null!=Bt.left&&(Bt.right=Zt.scrollWidth-Zt.clientWidth-Bt.left),(0,Tt.BD)()==Tt.r5.INVERTED?Bt.left=Bt.right:(0,Tt.BD)()==Tt.r5.NEGATED&&(Bt.left=Bt.right?-Bt.right:Bt.right)):null!=Bt.right&&(Bt.left=Zt.scrollWidth-Zt.clientWidth-Bt.right),this._applyScrollToOptions(Bt)}_applyScrollToOptions(Bt){const Zt=this.elementRef.nativeElement;(0,Tt.CZ)()?Zt.scrollTo(Bt):(null!=Bt.top&&(Zt.scrollTop=Bt.top),null!=Bt.left&&(Zt.scrollLeft=Bt.left))}measureScrollOffset(Bt){const Zt="left",le=this.elementRef.nativeElement;if("top"==Bt)return le.scrollTop;if("bottom"==Bt)return le.scrollHeight-le.clientHeight-le.scrollTop;const qt=this.dir&&"rtl"==this.dir.value;return"start"==Bt?Bt=qt?"right":Zt:"end"==Bt&&(Bt=qt?Zt:"right"),qt&&(0,Tt.BD)()==Tt.r5.INVERTED?Bt==Zt?le.scrollWidth-le.clientWidth-le.scrollLeft:le.scrollLeft:qt&&(0,Tt.BD)()==Tt.r5.NEGATED?Bt==Zt?le.scrollLeft+le.scrollWidth-le.clientWidth:-le.scrollLeft:Bt==Zt?le.scrollLeft:le.scrollWidth-le.clientWidth-le.scrollLeft}static{this.\u0275fac=function(Zt){return new(Zt||Ye)(s.rXU(s.aKT),s.rXU(Gt),s.rXU(s.SKi),s.rXU(St.dS,8))}}static{this.\u0275dir=s.FsC({type:Ye,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return Ye})(),Er=(()=>{class Ye{constructor(Bt,Zt,Ot){this._platform=Bt,this._change=new c.B,this._changeListener=le=>{this._change.next(le)},this._document=Ot,Zt.runOutsideAngular(()=>{if(Bt.isBrowser){const le=this._getWindow();le.addEventListener("resize",this._changeListener),le.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Bt=this._getWindow();Bt.removeEventListener("resize",this._changeListener),Bt.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Bt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Bt}getViewportRect(){const Bt=this.getViewportScrollPosition(),{width:Zt,height:Ot}=this.getViewportSize();return{top:Bt.top,left:Bt.left,bottom:Bt.top+Ot,right:Bt.left+Zt,height:Ot,width:Zt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Bt=this._document,Zt=this._getWindow(),Ot=Bt.documentElement,le=Ot.getBoundingClientRect();return{top:-le.top||Bt.body.scrollTop||Zt.scrollY||Ot.scrollTop||0,left:-le.left||Bt.body.scrollLeft||Zt.scrollX||Ot.scrollLeft||0}}change(Bt=20){return Bt>0?this._change.pipe((0,ht.Z)(Bt)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Bt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Bt.innerWidth,height:Bt.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(Zt){return new(Zt||Ye)(s.KVO(Tt.OD),s.KVO(s.SKi),s.KVO($t.qQ,8))}}static{this.\u0275prov=s.jDH({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}}return Ye})(),pe=(()=>{class Ye{static{this.\u0275fac=function(Zt){return new(Zt||Ye)}}static{this.\u0275mod=s.$C({type:Ye})}static{this.\u0275inj=s.G2t({})}}return Ye})(),te=(()=>{class Ye{static{this.\u0275fac=function(Zt){return new(Zt||Ye)}}static{this.\u0275mod=s.$C({type:Ye})}static{this.\u0275inj=s.G2t({imports:[St.jI,pe,St.jI,pe]})}}return Ye})()},7403:(i,a,r)=>{"use strict";r.d(a,{EE:()=>q,P8:()=>L,xb:()=>W});var o=r(6860),s=r(4438),c=r(4085),y=r(983),k=r(1413),S=r(3726),I=r(3798),T=r(6977),M=r(177);const R=(0,o.BQ)({passive:!0});let L=(()=>{class ct{constructor(tt,xt){this._platform=tt,this._ngZone=xt,this._monitoredElements=new Map}monitor(tt){if(!this._platform.isBrowser)return y.w;const xt=(0,c.i8)(tt),Tt=this._monitoredElements.get(xt);if(Tt)return Tt.subject;const $t=new k.B,St="cdk-text-field-autofilled",_t=nt=>{"cdk-text-field-autofill-start"!==nt.animationName||xt.classList.contains(St)?"cdk-text-field-autofill-end"===nt.animationName&&xt.classList.contains(St)&&(xt.classList.remove(St),this._ngZone.run(()=>$t.next({target:nt.target,isAutofilled:!1}))):(xt.classList.add(St),this._ngZone.run(()=>$t.next({target:nt.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{xt.addEventListener("animationstart",_t,R),xt.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(xt,{subject:$t,unlisten:()=>{xt.removeEventListener("animationstart",_t,R)}}),$t}stopMonitoring(tt){const xt=(0,c.i8)(tt),Tt=this._monitoredElements.get(xt);Tt&&(Tt.unlisten(),Tt.subject.complete(),xt.classList.remove("cdk-text-field-autofill-monitored"),xt.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(xt))}ngOnDestroy(){this._monitoredElements.forEach((tt,xt)=>this.stopMonitoring(xt))}static{this.\u0275fac=function(xt){return new(xt||ct)(s.KVO(o.OD),s.KVO(s.SKi))}}static{this.\u0275prov=s.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})(),W=(()=>{class ct{get minRows(){return this._minRows}set minRows(tt){this._minRows=(0,c.OE)(tt),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(tt){this._maxRows=(0,c.OE)(tt),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(tt){this._enabled!==tt&&((this._enabled=tt)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(tt){this._cachedPlaceholderHeight=void 0,tt?this._textareaElement.setAttribute("placeholder",tt):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(tt,xt,Tt,$t){this._elementRef=tt,this._platform=xt,this._ngZone=Tt,this._destroyed=new k.B,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=St=>{this._hasFocus="focus"===St.type},this._document=$t,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const tt=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;tt&&(this._textareaElement.style.minHeight=tt)}_setMaxHeight(){const tt=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;tt&&(this._textareaElement.style.maxHeight=tt)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const tt=this._getWindow();(0,S.R)(tt,"resize").pipe((0,I.Z)(16),(0,T.Q)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let tt=this._textareaElement.cloneNode(!1);tt.rows=1,tt.style.position="absolute",tt.style.visibility="hidden",tt.style.border="none",tt.style.padding="0",tt.style.height="",tt.style.minHeight="",tt.style.maxHeight="",tt.style.overflow="hidden",this._textareaElement.parentNode.appendChild(tt),this._cachedLineHeight=tt.clientHeight,tt.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const tt=this._textareaElement,xt=tt.style.marginBottom||"",Tt=this._platform.FIREFOX,$t=Tt&&this._hasFocus,St=Tt?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";$t&&(tt.style.marginBottom=`${tt.clientHeight}px`),tt.classList.add(St);const _t=tt.scrollHeight-4;return tt.classList.remove(St),$t&&(tt.style.marginBottom=xt),_t}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const tt=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=tt}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(tt=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const xt=this._elementRef.nativeElement,Tt=xt.value;if(!tt&&this._minRows===this._previousMinRows&&Tt===this._previousValue)return;const $t=this._measureScrollHeight(),St=Math.max($t,this._cachedPlaceholderHeight||0);xt.style.height=`${St}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(xt)):setTimeout(()=>this._scrollToCaretPosition(xt))}),this._previousValue=Tt,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(tt){const{selectionStart:xt,selectionEnd:Tt}=tt;!this._destroyed.isStopped&&this._hasFocus&&tt.setSelectionRange(xt,Tt)}static{this.\u0275fac=function(xt){return new(xt||ct)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(M.qQ,8))}}static{this.\u0275dir=s.FsC({type:ct,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(xt,Tt){1&xt&&s.bIt("input",function(){return Tt._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",s.L39],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[s.GFd]})}}return ct})(),q=(()=>{class ct{static{this.\u0275fac=function(xt){return new(xt||ct)}}static{this.\u0275mod=s.$C({type:ct})}static{this.\u0275inj=s.G2t({})}}return ct})()},177:(i,a,r)=>{"use strict";r.d(a,{AJ:()=>On,B3:()=>ko,Jj:()=>jn,MD:()=>xa,N0:()=>ia,PV:()=>Fa,QT:()=>c,Sm:()=>ht,Sq:()=>ue,T3:()=>To,UE:()=>ta,VF:()=>k,Vy:()=>us,Xr:()=>$a,YU:()=>Do,ZD:()=>y,_b:()=>ao,aZ:()=>xt,bT:()=>Ct,fw:()=>tt,hb:()=>q,hj:()=>M,jo:()=>qi,qQ:()=>I,vh:()=>va});var o=r(4438);let s=null;function c(){return s}function y(B){s??=B}class k{}const I=new o.nKC("");let T=(()=>{class B{historyGo(x){throw new Error("")}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:()=>(0,o.WQX)(R),providedIn:"platform"})}}return B})();const M=new o.nKC("");let R=(()=>{class B extends T{constructor(){super(),this._doc=(0,o.WQX)(I),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return c().getBaseHref(this._doc)}onPopState(x){const C=c().getGlobalEventTarget(this._doc,"window");return C.addEventListener("popstate",x,!1),()=>C.removeEventListener("popstate",x)}onHashChange(x){const C=c().getGlobalEventTarget(this._doc,"window");return C.addEventListener("hashchange",x,!1),()=>C.removeEventListener("hashchange",x)}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(x){this._location.pathname=x}pushState(x,C,F){this._history.pushState(x,C,F)}replaceState(x,C,F){this._history.replaceState(x,C,F)}forward(){this._history.forward()}back(){this._history.back()}historyGo(x=0){this._history.go(x)}getState(){return this._history.state}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:()=>new B,providedIn:"platform"})}}return B})();function L(B,kt){if(0==B.length)return kt;if(0==kt.length)return B;let x=0;return B.endsWith("/")&&x++,kt.startsWith("/")&&x++,2==x?B+kt.substring(1):1==x?B+kt:B+"/"+kt}function J(B){const kt=B.match(/#|\?|$/),x=kt&&kt.index||B.length;return B.slice(0,x-("/"===B[x-1]?1:0))+B.slice(x)}function W(B){return B&&"?"!==B[0]?"?"+B:B}let q=(()=>{class B{historyGo(x){throw new Error("")}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:()=>(0,o.WQX)(ht),providedIn:"root"})}}return B})();const ct=new o.nKC("");let ht=(()=>{class B extends q{constructor(x,C){super(),this._platformLocation=x,this._removeListenerFns=[],this._baseHref=C??this._platformLocation.getBaseHrefFromDOM()??(0,o.WQX)(I).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}prepareExternalUrl(x){return L(this._baseHref,x)}path(x=!1){const C=this._platformLocation.pathname+W(this._platformLocation.search),F=this._platformLocation.hash;return F&&x?`${C}${F}`:C}pushState(x,C,F,pt){const It=this.prepareExternalUrl(F+W(pt));this._platformLocation.pushState(x,C,It)}replaceState(x,C,F,pt){const It=this.prepareExternalUrl(F+W(pt));this._platformLocation.replaceState(x,C,It)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(x=0){this._platformLocation.historyGo?.(x)}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(T),o.KVO(ct,8))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}}return B})(),tt=(()=>{class B extends q{constructor(x,C){super(),this._platformLocation=x,this._baseHref="",this._removeListenerFns=[],null!=C&&(this._baseHref=C)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}path(x=!1){const C=this._platformLocation.hash??"#";return C.length>0?C.substring(1):C}prepareExternalUrl(x){const C=L(this._baseHref,x);return C.length>0?"#"+C:C}pushState(x,C,F,pt){let It=this.prepareExternalUrl(F+W(pt));0==It.length&&(It=this._platformLocation.pathname),this._platformLocation.pushState(x,C,It)}replaceState(x,C,F,pt){let It=this.prepareExternalUrl(F+W(pt));0==It.length&&(It=this._platformLocation.pathname),this._platformLocation.replaceState(x,C,It)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(x=0){this._platformLocation.historyGo?.(x)}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(T),o.KVO(ct,8))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac})}}return B})(),xt=(()=>{class B{constructor(x){this._subject=new o.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=x;const C=this._locationStrategy.getBaseHref();this._basePath=function _t(B){if(new RegExp("^(https?:)?//").test(B)){const[,x]=B.split(/\/\/[^\/]+/);return x}return B}(J(St(C))),this._locationStrategy.onPopState(F=>{this._subject.emit({url:this.path(!0),pop:!0,state:F.state,type:F.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(x=!1){return this.normalize(this._locationStrategy.path(x))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(x,C=""){return this.path()==this.normalize(x+W(C))}normalize(x){return B.stripTrailingSlash(function $t(B,kt){if(!B||!kt.startsWith(B))return kt;const x=kt.substring(B.length);return""===x||["/",";","?","#"].includes(x[0])?x:kt}(this._basePath,St(x)))}prepareExternalUrl(x){return x&&"/"!==x[0]&&(x="/"+x),this._locationStrategy.prepareExternalUrl(x)}go(x,C="",F=null){this._locationStrategy.pushState(F,"",x,C),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+W(C)),F)}replaceState(x,C="",F=null){this._locationStrategy.replaceState(F,"",x,C),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+W(C)),F)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(x=0){this._locationStrategy.historyGo?.(x)}onUrlChange(x){return this._urlChangeListeners.push(x),this._urlChangeSubscription??=this.subscribe(C=>{this._notifyUrlChangeListeners(C.url,C.state)}),()=>{const C=this._urlChangeListeners.indexOf(x);this._urlChangeListeners.splice(C,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(x="",C){this._urlChangeListeners.forEach(F=>F(x,C))}subscribe(x,C,F){return this._subject.subscribe({next:x,error:C,complete:F})}static{this.normalizeQueryParams=W}static{this.joinWithSlash=L}static{this.stripTrailingSlash=J}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(q))}}static{this.\u0275prov=o.jDH({token:B,factory:()=>function Tt(){return new xt((0,o.KVO)(q))}(),providedIn:"root"})}}return B})();function St(B){return B.replace(/\/index.html$/,"")}var et=function(B){return B[B.Zero=0]="Zero",B[B.One=1]="One",B[B.Two=2]="Two",B[B.Few=3]="Few",B[B.Many=4]="Many",B[B.Other=5]="Other",B}(et||{}),bt=function(B){return B[B.Format=0]="Format",B[B.Standalone=1]="Standalone",B}(bt||{}),Et=function(B){return B[B.Narrow=0]="Narrow",B[B.Abbreviated=1]="Abbreviated",B[B.Wide=2]="Wide",B[B.Short=3]="Short",B}(Et||{}),jt=function(B){return B[B.Short=0]="Short",B[B.Medium=1]="Medium",B[B.Long=2]="Long",B[B.Full=3]="Full",B}(jt||{});const Gt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function wt(B,kt){return Ht((0,o.H5H)(B)[o.KH2.DateFormat],kt)}function Ut(B,kt){return Ht((0,o.H5H)(B)[o.KH2.TimeFormat],kt)}function Ae(B,kt){return Ht((0,o.H5H)(B)[o.KH2.DateTimeFormat],kt)}function Xt(B,kt){const x=(0,o.H5H)(B),C=x[o.KH2.NumberSymbols][kt];if(typeof C>"u"){if(kt===Gt.CurrencyDecimal)return x[o.KH2.NumberSymbols][Gt.Decimal];if(kt===Gt.CurrencyGroup)return x[o.KH2.NumberSymbols][Gt.Group]}return C}const Zt=o.mq5;function Ot(B){if(!B[o.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${B[o.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ht(B,kt){for(let x=kt;x>-1;x--)if(typeof B[x]<"u")return B[x];throw new Error("Locale data API: locale data undefined")}function Me(B){const[kt,x]=B.split(":");return{hours:+kt,minutes:+x}}const yo=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,dr={},Nt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var we=function(B){return B[B.Short=0]="Short",B[B.ShortGMT=1]="ShortGMT",B[B.Long=2]="Long",B[B.Extended=3]="Extended",B}(we||{}),de=function(B){return B[B.FullYear=0]="FullYear",B[B.Month=1]="Month",B[B.Date=2]="Date",B[B.Hours=3]="Hours",B[B.Minutes=4]="Minutes",B[B.Seconds=5]="Seconds",B[B.FractionalSeconds=6]="FractionalSeconds",B[B.Day=7]="Day",B}(de||{}),Ie=function(B){return B[B.DayPeriods=0]="DayPeriods",B[B.Days=1]="Days",B[B.Months=2]="Months",B[B.Eras=3]="Eras",B}(Ie||{});function br(B,kt,x,C){let F=function Ro(B){if(tr(B))return B;if("number"==typeof B&&!isNaN(B))return new Date(B);if("string"==typeof B){if(B=B.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(B)){const[F,pt=1,It=1]=B.split("-").map(ce=>+ce);return gt(F,pt-1,It)}const x=parseFloat(B);if(!isNaN(B-x))return new Date(x);let C;if(C=B.match(yo))return function Ko(B){const kt=new Date(0);let x=0,C=0;const F=B[8]?kt.setUTCFullYear:kt.setFullYear,pt=B[8]?kt.setUTCHours:kt.setHours;B[9]&&(x=Number(B[9]+B[10]),C=Number(B[9]+B[11])),F.call(kt,Number(B[1]),Number(B[2])-1,Number(B[3]));const It=Number(B[4]||0)-x,ce=Number(B[5]||0)-C,Be=Number(B[6]||0),je=Math.floor(1e3*parseFloat("0."+(B[7]||0)));return pt.call(kt,It,ce,Be,je),kt}(C)}const kt=new Date(B);if(!tr(kt))throw new Error(`Unable to convert "${B}" into a date`);return kt}(B);kt=$(x,kt)||kt;let ce,It=[];for(;kt;){if(ce=Nt.exec(kt),!ce){It.push(kt);break}{It=It.concat(ce.slice(1));const Ze=It.pop();if(!Ze)break;kt=Ze}}let Be=F.getTimezoneOffset();C&&(Be=he(C,Be),F=function Qr(B,kt,x){const C=x?-1:1,F=B.getTimezoneOffset();return function mr(B,kt){return(B=new Date(B.getTime())).setMinutes(B.getMinutes()+kt),B}(B,C*(he(kt,F)-F))}(F,C,!0));let je="";return It.forEach(Ze=>{const sr=function Lt(B){if(re[B])return re[B];let kt;switch(B){case"G":case"GG":case"GGG":kt=ir(Ie.Eras,Et.Abbreviated);break;case"GGGG":kt=ir(Ie.Eras,Et.Wide);break;case"GGGGG":kt=ir(Ie.Eras,Et.Narrow);break;case"y":kt=Mt(de.FullYear,1,0,!1,!0);break;case"yy":kt=Mt(de.FullYear,2,0,!0,!0);break;case"yyy":kt=Mt(de.FullYear,3,0,!1,!0);break;case"yyyy":kt=Mt(de.FullYear,4,0,!1,!0);break;case"Y":kt=ne(1);break;case"YY":kt=ne(2,!0);break;case"YYY":kt=ne(3);break;case"YYYY":kt=ne(4);break;case"M":case"L":kt=Mt(de.Month,1,1);break;case"MM":case"LL":kt=Mt(de.Month,2,1);break;case"MMM":kt=ir(Ie.Months,Et.Abbreviated);break;case"MMMM":kt=ir(Ie.Months,Et.Wide);break;case"MMMMM":kt=ir(Ie.Months,Et.Narrow);break;case"LLL":kt=ir(Ie.Months,Et.Abbreviated,bt.Standalone);break;case"LLLL":kt=ir(Ie.Months,Et.Wide,bt.Standalone);break;case"LLLLL":kt=ir(Ie.Months,Et.Narrow,bt.Standalone);break;case"w":kt=Fr(1);break;case"ww":kt=Fr(2);break;case"W":kt=Fr(1,!0);break;case"d":kt=Mt(de.Date,1);break;case"dd":kt=Mt(de.Date,2);break;case"c":case"cc":kt=Mt(de.Day,1);break;case"ccc":kt=ir(Ie.Days,Et.Abbreviated,bt.Standalone);break;case"cccc":kt=ir(Ie.Days,Et.Wide,bt.Standalone);break;case"ccccc":kt=ir(Ie.Days,Et.Narrow,bt.Standalone);break;case"cccccc":kt=ir(Ie.Days,Et.Short,bt.Standalone);break;case"E":case"EE":case"EEE":kt=ir(Ie.Days,Et.Abbreviated);break;case"EEEE":kt=ir(Ie.Days,Et.Wide);break;case"EEEEE":kt=ir(Ie.Days,Et.Narrow);break;case"EEEEEE":kt=ir(Ie.Days,Et.Short);break;case"a":case"aa":case"aaa":kt=ir(Ie.DayPeriods,Et.Abbreviated);break;case"aaaa":kt=ir(Ie.DayPeriods,Et.Wide);break;case"aaaaa":kt=ir(Ie.DayPeriods,Et.Narrow);break;case"b":case"bb":case"bbb":kt=ir(Ie.DayPeriods,Et.Abbreviated,bt.Standalone,!0);break;case"bbbb":kt=ir(Ie.DayPeriods,Et.Wide,bt.Standalone,!0);break;case"bbbbb":kt=ir(Ie.DayPeriods,Et.Narrow,bt.Standalone,!0);break;case"B":case"BB":case"BBB":kt=ir(Ie.DayPeriods,Et.Abbreviated,bt.Format,!0);break;case"BBBB":kt=ir(Ie.DayPeriods,Et.Wide,bt.Format,!0);break;case"BBBBB":kt=ir(Ie.DayPeriods,Et.Narrow,bt.Format,!0);break;case"h":kt=Mt(de.Hours,1,-12);break;case"hh":kt=Mt(de.Hours,2,-12);break;case"H":kt=Mt(de.Hours,1);break;case"HH":kt=Mt(de.Hours,2);break;case"m":kt=Mt(de.Minutes,1);break;case"mm":kt=Mt(de.Minutes,2);break;case"s":kt=Mt(de.Seconds,1);break;case"ss":kt=Mt(de.Seconds,2);break;case"S":kt=Mt(de.FractionalSeconds,1);break;case"SS":kt=Mt(de.FractionalSeconds,2);break;case"SSS":kt=Mt(de.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":kt=er(we.Short);break;case"ZZZZZ":kt=er(we.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":kt=er(we.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":kt=er(we.Long);break;default:return null}return re[B]=kt,kt}(Ze);je+=sr?sr(F,x,Be):"''"===Ze?"'":Ze.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),je}function gt(B,kt,x){const C=new Date(0);return C.setFullYear(B,kt,x),C.setHours(0,0,0),C}function $(B,kt){const x=function Xe(B){return(0,o.H5H)(B)[o.KH2.LocaleId]}(B);if(dr[x]??={},dr[x][kt])return dr[x][kt];let C="";switch(kt){case"shortDate":C=wt(B,jt.Short);break;case"mediumDate":C=wt(B,jt.Medium);break;case"longDate":C=wt(B,jt.Long);break;case"fullDate":C=wt(B,jt.Full);break;case"shortTime":C=Ut(B,jt.Short);break;case"mediumTime":C=Ut(B,jt.Medium);break;case"longTime":C=Ut(B,jt.Long);break;case"fullTime":C=Ut(B,jt.Full);break;case"short":const F=$(B,"shortTime"),pt=$(B,"shortDate");C=Y(Ae(B,jt.Short),[F,pt]);break;case"medium":const It=$(B,"mediumTime"),ce=$(B,"mediumDate");C=Y(Ae(B,jt.Medium),[It,ce]);break;case"long":const Be=$(B,"longTime"),je=$(B,"longDate");C=Y(Ae(B,jt.Long),[Be,je]);break;case"full":const Ze=$(B,"fullTime"),sr=$(B,"fullDate");C=Y(Ae(B,jt.Full),[Ze,sr])}return C&&(dr[x][kt]=C),C}function Y(B,kt){return kt&&(B=B.replace(/\{([^}]+)}/g,function(x,C){return null!=kt&&C in kt?kt[C]:x})),B}function it(B,kt,x="-",C,F){let pt="";(B<0||F&&B<=0)&&(F?B=1-B:(B=-B,pt=x));let It=String(B);for(;It.length0||ce>-x)&&(ce+=x),B===de.Hours)0===ce&&-12===x&&(ce=12);else if(B===de.FractionalSeconds)return function At(B,kt){return it(B,3).substring(0,kt)}(ce,kt);const Be=Xt(It,Gt.MinusSign);return it(ce,kt,Be,C,F)}}function ir(B,kt,x=bt.Format,C=!1){return function(F,pt){return function Je(B,kt,x,C,F,pt){switch(x){case Ie.Months:return function vr(B,kt,x){const C=(0,o.H5H)(B),pt=Ht([C[o.KH2.MonthsFormat],C[o.KH2.MonthsStandalone]],kt);return Ht(pt,x)}(kt,F,C)[B.getMonth()];case Ie.Days:return function gr(B,kt,x){const C=(0,o.H5H)(B),pt=Ht([C[o.KH2.DaysFormat],C[o.KH2.DaysStandalone]],kt);return Ht(pt,x)}(kt,F,C)[B.getDay()];case Ie.DayPeriods:const It=B.getHours(),ce=B.getMinutes();if(pt){const je=function le(B){const kt=(0,o.H5H)(B);return Ot(kt),(kt[o.KH2.ExtraData][2]||[]).map(C=>"string"==typeof C?Me(C):[Me(C[0]),Me(C[1])])}(kt),Ze=function qt(B,kt,x){const C=(0,o.H5H)(B);Ot(C);const pt=Ht([C[o.KH2.ExtraData][0],C[o.KH2.ExtraData][1]],kt)||[];return Ht(pt,x)||[]}(kt,F,C),sr=je.findIndex(Rr=>{if(Array.isArray(Rr)){const[ze,nr]=Rr,_r=It>=ze.hours&&ce>=ze.minutes,Zr=It0?Math.floor(F/60):Math.ceil(F/60);switch(B){case we.Short:return(F>=0?"+":"")+it(It,2,pt)+it(Math.abs(F%60),2,pt);case we.ShortGMT:return"GMT"+(F>=0?"+":"")+it(It,1,pt);case we.Long:return"GMT"+(F>=0?"+":"")+it(It,2,pt)+":"+it(Math.abs(F%60),2,pt);case we.Extended:return 0===C?"Z":(F>=0?"+":"")+it(It,2,pt)+":"+it(Math.abs(F%60),2,pt);default:throw new Error(`Unknown zone width "${B}"`)}}}const Hr=0,eo=4;function fr(B){const kt=B.getDay(),x=0===kt?-3:eo-kt;return gt(B.getFullYear(),B.getMonth(),B.getDate()+x)}function Fr(B,kt=!1){return function(x,C){let F;if(kt){const pt=new Date(x.getFullYear(),x.getMonth(),1).getDay()-1,It=x.getDate();F=1+Math.floor((It+pt)/7)}else{const pt=fr(x),It=function Bo(B){const kt=gt(B,Hr,1).getDay();return gt(B,0,1+(kt<=eo?eo:eo+7)-kt)}(pt.getFullYear()),ce=pt.getTime()-It.getTime();F=1+Math.round(ce/6048e5)}return it(F,B,Xt(C,Gt.MinusSign))}}function ne(B,kt=!1){return function(x,C){return it(fr(x).getFullYear(),B,Xt(C,Gt.MinusSign),kt)}}const re={};function he(B,kt){B=B.replace(/:/g,"");const x=Date.parse("Jan 01, 1970 00:00:00 "+B)/6e4;return isNaN(x)?kt:x}function tr(B){return B instanceof Date&&!isNaN(B.valueOf())}let He=(()=>{class B{static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:function(C){let F=null;return C?F=new C:(pt=o.KVO(o.xe9),F=new Pr(pt)),F;var pt},providedIn:"root"})}}return B})();let Pr=(()=>{class B extends He{constructor(x){super(),this.locale=x}getPluralCategory(x,C){switch(Zt(C||this.locale)(x)){case et.Zero:return"zero";case et.One:return"one";case et.Two:return"two";case et.Few:return"few";case et.Many:return"many";default:return"other"}}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(o.xe9))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac})}}return B})();function ao(B,kt){kt=encodeURIComponent(kt);for(const x of B.split(";")){const C=x.indexOf("="),[F,pt]=-1==C?[x,""]:[x.slice(0,C),x.slice(C+1)];if(F.trim()===kt)return decodeURIComponent(pt)}return null}const no=/\s+/,_o=[];let Do=(()=>{class B{constructor(x,C){this._ngEl=x,this._renderer=C,this.initialClasses=_o,this.stateMap=new Map}set klass(x){this.initialClasses=null!=x?x.trim().split(no):_o}set ngClass(x){this.rawClass="string"==typeof x?x.trim().split(no):x}ngDoCheck(){for(const C of this.initialClasses)this._updateState(C,!0);const x=this.rawClass;if(Array.isArray(x)||x instanceof Set)for(const C of x)this._updateState(C,!0);else if(null!=x)for(const C of Object.keys(x))this._updateState(C,!!x[C]);this._applyStateDiff()}_updateState(x,C){const F=this.stateMap.get(x);void 0!==F?(F.enabled!==C&&(F.changed=!0,F.enabled=C),F.touched=!0):this.stateMap.set(x,{enabled:C,changed:!0,touched:!0})}_applyStateDiff(){for(const x of this.stateMap){const C=x[0],F=x[1];F.changed?(this._toggleClass(C,F.enabled),F.changed=!1):F.touched||(F.enabled&&this._toggleClass(C,!1),this.stateMap.delete(C)),F.touched=!1}}_toggleClass(x,C){(x=x.trim()).length>0&&x.split(no).forEach(F=>{C?this._renderer.addClass(this._ngEl.nativeElement,F):this._renderer.removeClass(this._ngEl.nativeElement,F)})}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.aKT),o.rXU(o.sFG))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return B})();class me{constructor(kt,x,C,F){this.$implicit=kt,this.ngForOf=x,this.index=C,this.count=F}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 ue=(()=>{class B{set ngForOf(x){this._ngForOf=x,this._ngForOfDirty=!0}set ngForTrackBy(x){this._trackByFn=x}get ngForTrackBy(){return this._trackByFn}constructor(x,C,F){this._viewContainer=x,this._template=C,this._differs=F,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(x){x&&(this._template=x)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const x=this._ngForOf;!this._differ&&x&&(this._differ=this._differs.find(x).create(this.ngForTrackBy))}if(this._differ){const x=this._differ.diff(this._ngForOf);x&&this._applyChanges(x)}}_applyChanges(x){const C=this._viewContainer;x.forEachOperation((F,pt,It)=>{if(null==F.previousIndex)C.createEmbeddedView(this._template,new me(F.item,this._ngForOf,-1,-1),null===It?void 0:It);else if(null==It)C.remove(null===pt?void 0:pt);else if(null!==pt){const ce=C.get(pt);C.move(ce,It),dt(ce,F)}});for(let F=0,pt=C.length;F{dt(C.get(F.currentIndex),F)})}static ngTemplateContextGuard(x,C){return!0}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(o._q3))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return B})();function dt(B,kt){B.context.$implicit=kt.item}let Ct=(()=>{class B{constructor(x,C){this._viewContainer=x,this._context=new ae,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=C}set ngIf(x){this._context.$implicit=this._context.ngIf=x,this._updateView()}set ngIfThen(x){Re("ngIfThen",x),this._thenTemplateRef=x,this._thenViewRef=null,this._updateView()}set ngIfElse(x){Re("ngIfElse",x),this._elseTemplateRef=x,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(x,C){return!0}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.c1b),o.rXU(o.C4Q))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return B})();class ae{constructor(){this.$implicit=null,this.ngIf=null}}function Re(B,kt){if(kt&&!kt.createEmbeddedView)throw new Error(`${B} must be a TemplateRef, but received '${(0,o.Tbb)(kt)}'.`)}let ko=(()=>{class B{constructor(x,C,F){this._ngEl=x,this._differs=C,this._renderer=F,this._ngStyle=null,this._differ=null}set ngStyle(x){this._ngStyle=x,!this._differ&&x&&(this._differ=this._differs.find(x).create())}ngDoCheck(){if(this._differ){const x=this._differ.diff(this._ngStyle);x&&this._applyChanges(x)}}_setStyle(x,C){const[F,pt]=x.split("."),It=-1===F.indexOf("-")?void 0:o.czy.DashCase;null!=C?this._renderer.setStyle(this._ngEl.nativeElement,F,pt?`${C}${pt}`:C,It):this._renderer.removeStyle(this._ngEl.nativeElement,F,It)}_applyChanges(x){x.forEachRemovedItem(C=>this._setStyle(C.key,null)),x.forEachAddedItem(C=>this._setStyle(C.key,C.currentValue)),x.forEachChangedItem(C=>this._setStyle(C.key,C.currentValue))}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.aKT),o.rXU(o.MKu),o.rXU(o.sFG))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return B})(),To=(()=>{class B{constructor(x){this._viewContainerRef=x,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(x){if(this._shouldRecreateView(x)){const C=this._viewContainerRef;if(this._viewRef&&C.remove(C.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const F=this._createContextForwardProxy();this._viewRef=C.createEmbeddedView(this.ngTemplateOutlet,F,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(x){return!!x.ngTemplateOutlet||!!x.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(x,C,F)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,C,F),get:(x,C,F)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,C,F)}})}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.c1b))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.OA$]})}}return B})();function io(B,kt){return new o.wOt(2100,!1)}class Jn{createSubscription(kt,x){return(0,o.O8t)(()=>kt.subscribe({next:x,error:C=>{throw C}}))}dispose(kt){(0,o.O8t)(()=>kt.unsubscribe())}}class Ai{createSubscription(kt,x){return kt.then(x,C=>{throw C})}dispose(kt){}}const zn=new Ai,Uo=new Jn;let jn=(()=>{class B{constructor(x){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=x}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(x){if(!this._obj){if(x)try{this.markForCheckOnValueUpdate=!1,this._subscribe(x)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return x!==this._obj?(this._dispose(),this.transform(x)):this._latestValue}_subscribe(x){this._obj=x,this._strategy=this._selectStrategy(x),this._subscription=this._strategy.createSubscription(x,C=>this._updateLatestValue(x,C))}_selectStrategy(x){if((0,o.jNT)(x))return zn;if((0,o.zjR)(x))return Uo;throw io()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(x,C){x===this._obj&&(this._latestValue=C,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.gRc,16))}}static{this.\u0275pipe=o.EJ8({name:"async",type:B,pure:!1,standalone:!0})}}return B})();const on=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Fa=(()=>{class B{transform(x){if(null==x)return null;if("string"!=typeof x)throw io();return x.replace(on,C=>C[0].toUpperCase()+C.slice(1).toLowerCase())}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275pipe=o.EJ8({name:"titlecase",type:B,pure:!0,standalone:!0})}}return B})();const ds=new o.nKC(""),da=new o.nKC("");let va=(()=>{class B{constructor(x,C,F){this.locale=x,this.defaultTimezone=C,this.defaultOptions=F}transform(x,C,F,pt){if(null==x||""===x||x!=x)return null;try{return br(x,C??this.defaultOptions?.dateFormat??"mediumDate",pt||this.locale,F??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(It){throw io()}}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.xe9,16),o.rXU(ds,24),o.rXU(da,24))}}static{this.\u0275pipe=o.EJ8({name:"date",type:B,pure:!0,standalone:!0})}}return B})();const Ti=/#/g;let qi=(()=>{class B{constructor(x){this._localization=x}transform(x,C,F){if(null==x)return"";if("object"!=typeof C||null===C)throw io();return C[function Dr(B,kt,x,C){let F=`=${B}`;if(kt.indexOf(F)>-1||(F=x.getPluralCategory(B,C),kt.indexOf(F)>-1))return F;if(kt.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${B}"`)}(x,Object.keys(C),this._localization,F)].replace(Ti,x.toString())}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(He,16))}}static{this.\u0275pipe=o.EJ8({name:"i18nPlural",type:B,pure:!0,standalone:!0})}}return B})(),xa=(()=>{class B{static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275mod=o.$C({type:B})}static{this.\u0275inj=o.G2t({})}}return B})();const On="browser",Ji="server";function ta(B){return B===On}function us(B){return B===Ji}let $a=(()=>{class B{static{this.\u0275prov=(0,o.jDH)({token:B,providedIn:"root",factory:()=>ta((0,o.WQX)(o.Agw))?new fi((0,o.WQX)(I),window):new Rn})}}return B})();class fi{constructor(kt,x){this.document=kt,this.window=x,this.offset=()=>[0,0]}setOffset(kt){this.offset=Array.isArray(kt)?()=>kt:kt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(kt){this.window.scrollTo(kt[0],kt[1])}scrollToAnchor(kt){const x=function Jo(B,kt){const x=B.getElementById(kt)||B.getElementsByName(kt)[0];if(x)return x;if("function"==typeof B.createTreeWalker&&B.body&&"function"==typeof B.body.attachShadow){const C=B.createTreeWalker(B.body,NodeFilter.SHOW_ELEMENT);let F=C.currentNode;for(;F;){const pt=F.shadowRoot;if(pt){const It=pt.getElementById(kt)||pt.querySelector(`[name="${kt}"]`);if(It)return It}F=C.nextNode()}}return null}(this.document,kt);x&&(this.scrollToElement(x),x.focus())}setHistoryScrollRestoration(kt){this.window.history.scrollRestoration=kt}scrollToElement(kt){const x=kt.getBoundingClientRect(),C=x.left+this.window.pageXOffset,F=x.top+this.window.pageYOffset,pt=this.offset();this.window.scrollTo(C-pt[0],F-pt[1])}}class Rn{setOffset(kt){}getScrollPosition(){return[0,0]}scrollToPosition(kt){}scrollToAnchor(kt){}setHistoryScrollRestoration(kt){}}class ia{}},1626:(i,a,r)=>{"use strict";r.d(a,{$R:()=>Qr,Nl:()=>_t,Qq:()=>Ae,b$:()=>Ro,cS:()=>vr,yz:()=>Xr});var o=r(467),s=r(4438),c=r(7673),y=r(1985),k=r(6648),S=r(274),I=r(5964),T=r(6354),M=r(980),R=r(5558),L=r(177);class J{}class W{}class q{constructor(me){this.normalizedNames=new Map,this.lazyUpdate=null,me?"string"==typeof me?this.lazyInit=()=>{this.headers=new Map,me.split("\n").forEach(ue=>{const dt=ue.indexOf(":");if(dt>0){const Kt=ue.slice(0,dt),Ct=Kt.toLowerCase(),ae=ue.slice(dt+1).trim();this.maybeSetNormalizedName(Kt,Ct),this.headers.has(Ct)?this.headers.get(Ct).push(ae):this.headers.set(Ct,[ae])}})}:typeof Headers<"u"&&me instanceof Headers?(this.headers=new Map,me.forEach((ue,dt)=>{this.setHeaderEntries(dt,ue)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(me).forEach(([ue,dt])=>{this.setHeaderEntries(ue,dt)})}:this.headers=new Map}has(me){return this.init(),this.headers.has(me.toLowerCase())}get(me){this.init();const ue=this.headers.get(me.toLowerCase());return ue&&ue.length>0?ue[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(me){return this.init(),this.headers.get(me.toLowerCase())||null}append(me,ue){return this.clone({name:me,value:ue,op:"a"})}set(me,ue){return this.clone({name:me,value:ue,op:"s"})}delete(me,ue){return this.clone({name:me,value:ue,op:"d"})}maybeSetNormalizedName(me,ue){this.normalizedNames.has(ue)||this.normalizedNames.set(ue,me)}init(){this.lazyInit&&(this.lazyInit instanceof q?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(me=>this.applyUpdate(me)),this.lazyUpdate=null))}copyFrom(me){me.init(),Array.from(me.headers.keys()).forEach(ue=>{this.headers.set(ue,me.headers.get(ue)),this.normalizedNames.set(ue,me.normalizedNames.get(ue))})}clone(me){const ue=new q;return ue.lazyInit=this.lazyInit&&this.lazyInit instanceof q?this.lazyInit:this,ue.lazyUpdate=(this.lazyUpdate||[]).concat([me]),ue}applyUpdate(me){const ue=me.name.toLowerCase();switch(me.op){case"a":case"s":let dt=me.value;if("string"==typeof dt&&(dt=[dt]),0===dt.length)return;this.maybeSetNormalizedName(me.name,ue);const Kt=("a"===me.op?this.headers.get(ue):void 0)||[];Kt.push(...dt),this.headers.set(ue,Kt);break;case"d":const Ct=me.value;if(Ct){let ae=this.headers.get(ue);if(!ae)return;ae=ae.filter(Re=>-1===Ct.indexOf(Re)),0===ae.length?(this.headers.delete(ue),this.normalizedNames.delete(ue)):this.headers.set(ue,ae)}else this.headers.delete(ue),this.normalizedNames.delete(ue)}}setHeaderEntries(me,ue){const dt=(Array.isArray(ue)?ue:[ue]).map(Ct=>Ct.toString()),Kt=me.toLowerCase();this.headers.set(Kt,dt),this.maybeSetNormalizedName(me,Kt)}forEach(me){this.init(),Array.from(this.normalizedNames.keys()).forEach(ue=>me(this.normalizedNames.get(ue),this.headers.get(ue)))}}class ht{encodeKey(me){return $t(me)}encodeValue(me){return $t(me)}decodeKey(me){return decodeURIComponent(me)}decodeValue(me){return decodeURIComponent(me)}}const xt=/%(\d[a-f0-9])/gi,Tt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $t(zt){return encodeURIComponent(zt).replace(xt,(me,ue)=>Tt[ue]??me)}function St(zt){return`${zt}`}class _t{constructor(me={}){if(this.updates=null,this.cloneFrom=null,this.encoder=me.encoder||new ht,me.fromString){if(me.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function tt(zt,me){const ue=new Map;return zt.length>0&&zt.replace(/^\?/,"").split("&").forEach(Kt=>{const Ct=Kt.indexOf("="),[ae,Re]=-1==Ct?[me.decodeKey(Kt),""]:[me.decodeKey(Kt.slice(0,Ct)),me.decodeValue(Kt.slice(Ct+1))],De=ue.get(ae)||[];De.push(Re),ue.set(ae,De)}),ue}(me.fromString,this.encoder)}else me.fromObject?(this.map=new Map,Object.keys(me.fromObject).forEach(ue=>{const dt=me.fromObject[ue],Kt=Array.isArray(dt)?dt.map(St):[St(dt)];this.map.set(ue,Kt)})):this.map=null}has(me){return this.init(),this.map.has(me)}get(me){this.init();const ue=this.map.get(me);return ue?ue[0]:null}getAll(me){return this.init(),this.map.get(me)||null}keys(){return this.init(),Array.from(this.map.keys())}append(me,ue){return this.clone({param:me,value:ue,op:"a"})}appendAll(me){const ue=[];return Object.keys(me).forEach(dt=>{const Kt=me[dt];Array.isArray(Kt)?Kt.forEach(Ct=>{ue.push({param:dt,value:Ct,op:"a"})}):ue.push({param:dt,value:Kt,op:"a"})}),this.clone(ue)}set(me,ue){return this.clone({param:me,value:ue,op:"s"})}delete(me,ue){return this.clone({param:me,value:ue,op:"d"})}toString(){return this.init(),this.keys().map(me=>{const ue=this.encoder.encodeKey(me);return this.map.get(me).map(dt=>ue+"="+this.encoder.encodeValue(dt)).join("&")}).filter(me=>""!==me).join("&")}clone(me){const ue=new _t({encoder:this.encoder});return ue.cloneFrom=this.cloneFrom||this,ue.updates=(this.updates||[]).concat(me),ue}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(me=>this.map.set(me,this.cloneFrom.map.get(me))),this.updates.forEach(me=>{switch(me.op){case"a":case"s":const ue=("a"===me.op?this.map.get(me.param):void 0)||[];ue.push(St(me.value)),this.map.set(me.param,ue);break;case"d":if(void 0===me.value){this.map.delete(me.param);break}{let dt=this.map.get(me.param)||[];const Kt=dt.indexOf(St(me.value));-1!==Kt&&dt.splice(Kt,1),dt.length>0?this.map.set(me.param,dt):this.map.delete(me.param)}}}),this.cloneFrom=this.updates=null)}}class at{constructor(){this.map=new Map}set(me,ue){return this.map.set(me,ue),this}get(me){return this.map.has(me)||this.map.set(me,me.defaultValue()),this.map.get(me)}delete(me){return this.map.delete(me),this}has(me){return this.map.has(me)}keys(){return this.map.keys()}}function bt(zt){return typeof ArrayBuffer<"u"&&zt instanceof ArrayBuffer}function Et(zt){return typeof Blob<"u"&&zt instanceof Blob}function jt(zt){return typeof FormData<"u"&&zt instanceof FormData}class ie{constructor(me,ue,dt,Kt){let Ct;if(this.url=ue,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=me.toUpperCase(),function et(zt){switch(zt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Kt?(this.body=void 0!==dt?dt:null,Ct=Kt):Ct=dt,Ct&&(this.reportProgress=!!Ct.reportProgress,this.withCredentials=!!Ct.withCredentials,Ct.responseType&&(this.responseType=Ct.responseType),Ct.headers&&(this.headers=Ct.headers),Ct.context&&(this.context=Ct.context),Ct.params&&(this.params=Ct.params),this.transferCache=Ct.transferCache),this.headers??=new q,this.context??=new at,this.params){const ae=this.params.toString();if(0===ae.length)this.urlWithParams=ue;else{const Re=ue.indexOf("?");this.urlWithParams=ue+(-1===Re?"?":ReLr.set(Br,me.setHeaders[Br]),or)),me.setParams&&(Cr=Object.keys(me.setParams).reduce((Lr,Br)=>Lr.set(Br,me.setParams[Br]),Cr)),new ie(ue,dt,ae,{params:Cr,headers:or,context:kr,reportProgress:De,responseType:Kt,withCredentials:Re,transferCache:Ct})}}var Xe=function(zt){return zt[zt.Sent=0]="Sent",zt[zt.UploadProgress=1]="UploadProgress",zt[zt.ResponseHeader=2]="ResponseHeader",zt[zt.DownloadProgress=3]="DownloadProgress",zt[zt.Response=4]="Response",zt[zt.User=5]="User",zt}(Xe||{});class Er{constructor(me,ue=200,dt="OK"){this.headers=me.headers||new q,this.status=void 0!==me.status?me.status:ue,this.statusText=me.statusText||dt,this.url=me.url||null,this.ok=this.status>=200&&this.status<300}}class gr extends Er{constructor(me={}){super(me),this.type=Xe.ResponseHeader}clone(me={}){return new gr({headers:me.headers||this.headers,status:void 0!==me.status?me.status:this.status,statusText:me.statusText||this.statusText,url:me.url||this.url||void 0})}}class vr extends Er{constructor(me={}){super(me),this.type=Xe.Response,this.body=void 0!==me.body?me.body:null}clone(me={}){return new vr({body:void 0!==me.body?me.body:this.body,headers:me.headers||this.headers,status:void 0!==me.status?me.status:this.status,statusText:me.statusText||this.statusText,url:me.url||this.url||void 0})}}class Xr extends Er{constructor(me){super(me,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${me.url||"(unknown url)"}`:`Http failure response for ${me.url||"(unknown url)"}: ${me.status} ${me.statusText}`,this.error=me.error||null}}function Ut(zt,me){return{body:me,headers:zt.headers,context:zt.context,observe:zt.observe,params:zt.params,reportProgress:zt.reportProgress,responseType:zt.responseType,withCredentials:zt.withCredentials,transferCache:zt.transferCache}}let Ae=(()=>{class zt{constructor(ue){this.handler=ue}request(ue,dt,Kt={}){let Ct;if(ue instanceof ie)Ct=ue;else{let De,or;De=Kt.headers instanceof q?Kt.headers:new q(Kt.headers),Kt.params&&(or=Kt.params instanceof _t?Kt.params:new _t({fromObject:Kt.params})),Ct=new ie(ue,dt,void 0!==Kt.body?Kt.body:null,{headers:De,context:Kt.context,params:or,reportProgress:Kt.reportProgress,responseType:Kt.responseType||"json",withCredentials:Kt.withCredentials,transferCache:Kt.transferCache})}const ae=(0,c.of)(Ct).pipe((0,S.H)(De=>this.handler.handle(De)));if(ue instanceof ie||"events"===Kt.observe)return ae;const Re=ae.pipe((0,I.p)(De=>De instanceof vr));switch(Kt.observe||"body"){case"body":switch(Ct.responseType){case"arraybuffer":return Re.pipe((0,T.T)(De=>{if(null!==De.body&&!(De.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return De.body}));case"blob":return Re.pipe((0,T.T)(De=>{if(null!==De.body&&!(De.body instanceof Blob))throw new Error("Response is not a Blob.");return De.body}));case"text":return Re.pipe((0,T.T)(De=>{if(null!==De.body&&"string"!=typeof De.body)throw new Error("Response is not a string.");return De.body}));default:return Re.pipe((0,T.T)(De=>De.body))}case"response":return Re;default:throw new Error(`Unreachable: unhandled observe type ${Kt.observe}}`)}}delete(ue,dt={}){return this.request("DELETE",ue,dt)}get(ue,dt={}){return this.request("GET",ue,dt)}head(ue,dt={}){return this.request("HEAD",ue,dt)}jsonp(ue,dt){return this.request("JSONP",ue,{params:(new _t).append(dt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ue,dt={}){return this.request("OPTIONS",ue,dt)}patch(ue,dt,Kt={}){return this.request("PATCH",ue,Ut(Kt,dt))}post(ue,dt,Kt={}){return this.request("POST",ue,Ut(Kt,dt))}put(ue,dt,Kt={}){return this.request("PUT",ue,Ut(Kt,dt))}static{this.\u0275fac=function(dt){return new(dt||zt)(s.KVO(J))}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();const Xt=/^\)\]\}',?\n/;function te(zt){if(zt.url)return zt.url;const me="X-Request-URL".toLocaleLowerCase();return zt.headers.get(me)}let Ye=(()=>{class zt{constructor(){this.fetchImpl=(0,s.WQX)(We,{optional:!0})?.fetch??((...ue)=>globalThis.fetch(...ue)),this.ngZone=(0,s.WQX)(s.SKi)}handle(ue){return new y.c(dt=>{const Kt=new AbortController;return this.doRequest(ue,Kt.signal,dt).then(Bt,Ct=>dt.error(new Xr({error:Ct}))),()=>Kt.abort()})}doRequest(ue,dt,Kt){var Ct=this;return(0,o.A)(function*(){const ae=Ct.createRequestInit(ue);let Re;try{const qr=Ct.ngZone.runOutsideAngular(()=>Ct.fetchImpl(ue.urlWithParams,{signal:dt,...ae}));(function Zt(zt){zt.then(Bt,Bt)})(qr),Kt.next({type:Xe.Sent}),Re=yield qr}catch(qr){return void Kt.error(new Xr({error:qr,status:qr.status??0,statusText:qr.statusText,url:ue.urlWithParams,headers:qr.headers}))}const De=new q(Re.headers),or=Re.statusText,Cr=te(Re)??ue.urlWithParams;let kr=Re.status,Lr=null;if(ue.reportProgress&&Kt.next(new gr({headers:De,status:kr,statusText:or,url:Cr})),Re.body){const qr=Re.headers.get("content-length"),to=[],ko=Re.body.getReader();let po,io,To=0;const Jn=typeof Zone<"u"&&Zone.current;yield Ct.ngZone.runOutsideAngular((0,o.A)(function*(){for(;;){const{done:zn,value:Uo}=yield ko.read();if(zn)break;if(to.push(Uo),To+=Uo.length,ue.reportProgress){io="text"===ue.responseType?(io??"")+(po??=new TextDecoder).decode(Uo,{stream:!0}):void 0;const jn=()=>Kt.next({type:Xe.DownloadProgress,total:qr?+qr:void 0,loaded:To,partialText:io});Jn?Jn.run(jn):jn()}}}));const Ai=Ct.concatChunks(to,To);try{const zn=Re.headers.get("Content-Type")??"";Lr=Ct.parseBody(ue,Ai,zn)}catch(zn){return void Kt.error(new Xr({error:zn,headers:new q(Re.headers),status:Re.status,statusText:Re.statusText,url:te(Re)??ue.urlWithParams}))}}0===kr&&(kr=Lr?200:0),kr>=200&&kr<300?(Kt.next(new vr({body:Lr,headers:De,status:kr,statusText:or,url:Cr})),Kt.complete()):Kt.error(new Xr({error:Lr,headers:De,status:kr,statusText:or,url:Cr}))})()}parseBody(ue,dt,Kt){switch(ue.responseType){case"json":const Ct=(new TextDecoder).decode(dt).replace(Xt,"");return""===Ct?null:JSON.parse(Ct);case"text":return(new TextDecoder).decode(dt);case"blob":return new Blob([dt],{type:Kt});case"arraybuffer":return dt.buffer}}createRequestInit(ue){const dt={},Kt=ue.withCredentials?"include":void 0;if(ue.headers.forEach((Ct,ae)=>dt[Ct]=ae.join(",")),ue.headers.has("Accept")||(dt.Accept="application/json, text/plain, */*"),!ue.headers.has("Content-Type")){const Ct=ue.detectContentTypeHeader();null!==Ct&&(dt["Content-Type"]=Ct)}return{body:ue.serializeBody(),method:ue.method,headers:dt,credentials:Kt}}concatChunks(ue,dt){const Kt=new Uint8Array(dt);let Ct=0;for(const ae of ue)Kt.set(ae,Ct),Ct+=ae.length;return Kt}static{this.\u0275fac=function(dt){return new(dt||zt)}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();class We{}function Bt(){}function Ot(zt,me){return me(zt)}const Ht=new s.nKC(""),Me=new s.nKC(""),Ke=new s.nKC("",{providedIn:"root",factory:()=>!0});let dr=(()=>{class zt extends J{constructor(ue,dt){super(),this.backend=ue,this.injector=dt,this.chain=null,this.pendingTasks=(0,s.WQX)(s.TgB),this.contributeToStability=(0,s.WQX)(Ke)}handle(ue){if(null===this.chain){const dt=Array.from(new Set([...this.injector.get(Ht),...this.injector.get(Me,[])]));this.chain=dt.reduceRight((Kt,Ct)=>function qt(zt,me,ue){return(dt,Kt)=>(0,s.N4e)(ue,()=>me(dt,Ct=>zt(Ct,Kt)))}(Kt,Ct,this.injector),Ot)}if(this.contributeToStability){const dt=this.pendingTasks.add();return this.chain(ue,Kt=>this.backend.handle(Kt)).pipe((0,M.j)(()=>this.pendingTasks.remove(dt)))}return this.chain(ue,dt=>this.backend.handle(dt))}static{this.\u0275fac=function(dt){return new(dt||zt)(s.KVO(W),s.KVO(s.uvJ))}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();const ve=/^\)\]\}',?\n/;let Je=(()=>{class zt{constructor(ue){this.xhrFactory=ue}handle(ue){if("JSONP"===ue.method)throw new s.wOt(-2800,!1);const dt=this.xhrFactory;return(dt.\u0275loadImpl?(0,k.H)(dt.\u0275loadImpl()):(0,c.of)(null)).pipe((0,R.n)(()=>new y.c(Ct=>{const ae=dt.build();if(ae.open(ue.method,ue.urlWithParams),ue.withCredentials&&(ae.withCredentials=!0),ue.headers.forEach((to,ko)=>ae.setRequestHeader(to,ko.join(","))),ue.headers.has("Accept")||ae.setRequestHeader("Accept","application/json, text/plain, */*"),!ue.headers.has("Content-Type")){const to=ue.detectContentTypeHeader();null!==to&&ae.setRequestHeader("Content-Type",to)}if(ue.responseType){const to=ue.responseType.toLowerCase();ae.responseType="json"!==to?to:"text"}const Re=ue.serializeBody();let De=null;const or=()=>{if(null!==De)return De;const to=ae.statusText||"OK",ko=new q(ae.getAllResponseHeaders()),To=function ir(zt){return"responseURL"in zt&&zt.responseURL?zt.responseURL:/^X-Request-URL:/m.test(zt.getAllResponseHeaders())?zt.getResponseHeader("X-Request-URL"):null}(ae)||ue.url;return De=new gr({headers:ko,status:ae.status,statusText:to,url:To}),De},Cr=()=>{let{headers:to,status:ko,statusText:To,url:po}=or(),io=null;204!==ko&&(io=typeof ae.response>"u"?ae.responseText:ae.response),0===ko&&(ko=io?200:0);let Jn=ko>=200&&ko<300;if("json"===ue.responseType&&"string"==typeof io){const Ai=io;io=io.replace(ve,"");try{io=""!==io?JSON.parse(io):null}catch(zn){io=Ai,Jn&&(Jn=!1,io={error:zn,text:io})}}Jn?(Ct.next(new vr({body:io,headers:to,status:ko,statusText:To,url:po||void 0})),Ct.complete()):Ct.error(new Xr({error:io,headers:to,status:ko,statusText:To,url:po||void 0}))},kr=to=>{const{url:ko}=or(),To=new Xr({error:to,status:ae.status||0,statusText:ae.statusText||"Unknown Error",url:ko||void 0});Ct.error(To)};let Lr=!1;const Br=to=>{Lr||(Ct.next(or()),Lr=!0);let ko={type:Xe.DownloadProgress,loaded:to.loaded};to.lengthComputable&&(ko.total=to.total),"text"===ue.responseType&&ae.responseText&&(ko.partialText=ae.responseText),Ct.next(ko)},qr=to=>{let ko={type:Xe.UploadProgress,loaded:to.loaded};to.lengthComputable&&(ko.total=to.total),Ct.next(ko)};return ae.addEventListener("load",Cr),ae.addEventListener("error",kr),ae.addEventListener("timeout",kr),ae.addEventListener("abort",kr),ue.reportProgress&&(ae.addEventListener("progress",Br),null!==Re&&ae.upload&&ae.upload.addEventListener("progress",qr)),ae.send(Re),Ct.next({type:Xe.Sent}),()=>{ae.removeEventListener("error",kr),ae.removeEventListener("abort",kr),ae.removeEventListener("load",Cr),ae.removeEventListener("timeout",kr),ue.reportProgress&&(ae.removeEventListener("progress",Br),null!==Re&&ae.upload&&ae.upload.removeEventListener("progress",qr)),ae.readyState!==ae.DONE&&ae.abort()}})))}static{this.\u0275fac=function(dt){return new(dt||zt)(s.KVO(L.N0))}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();const er=new s.nKC(""),eo=new s.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),fr=new s.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Fr{}let ne=(()=>{class zt{constructor(ue,dt,Kt){this.doc=ue,this.platform=dt,this.cookieName=Kt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ue=this.doc.cookie||"";return ue!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,L._b)(ue,this.cookieName),this.lastCookieString=ue),this.lastToken}static{this.\u0275fac=function(dt){return new(dt||zt)(s.KVO(L.qQ),s.KVO(s.Agw),s.KVO(eo))}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();function re(zt,me){const ue=zt.url.toLowerCase();if(!(0,s.WQX)(er)||"GET"===zt.method||"HEAD"===zt.method||ue.startsWith("http://")||ue.startsWith("https://"))return me(zt);const dt=(0,s.WQX)(Fr).getToken(),Kt=(0,s.WQX)(fr);return null!=dt&&!zt.headers.has(Kt)&&(zt=zt.clone({headers:zt.headers.set(Kt,dt)})),me(zt)}var he=function(zt){return zt[zt.Interceptors=0]="Interceptors",zt[zt.LegacyInterceptors=1]="LegacyInterceptors",zt[zt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",zt[zt.NoXsrfProtection=3]="NoXsrfProtection",zt[zt.JsonpSupport=4]="JsonpSupport",zt[zt.RequestsMadeViaParent=5]="RequestsMadeViaParent",zt[zt.Fetch=6]="Fetch",zt}(he||{});function Qr(...zt){const me=[Ae,Je,dr,{provide:J,useExisting:dr},{provide:W,useFactory:()=>(0,s.WQX)(Ye,{optional:!0})??(0,s.WQX)(Je)},{provide:Ht,useValue:re,multi:!0},{provide:er,useValue:!0},{provide:Fr,useClass:ne}];for(const ue of zt)me.push(...ue.\u0275providers);return(0,s.EmA)(me)}function Ro(zt){return function mr(zt,me){return{\u0275kind:zt,\u0275providers:me}}(he.Interceptors,zt.map(me=>({provide:Ht,useValue:me,multi:!0})))}},4438:(i,a,r)=>{"use strict";function o(t,e){return Object.is(t,e)}r.d(a,{bc$:()=>Wo,iLQ:()=>kw,sZ2:()=>oo,hnV:()=>Ck,wjH:()=>Ip,o8S:()=>ed,BIS:()=>yn,gRc:()=>$k,Ql9:()=>j8,OM3:()=>Zf,Ocv:()=>X8,Z63:()=>Wr,aKT:()=>jl,uvJ:()=>ci,zcH:()=>fc,bkB:()=>gc,$GK:()=>on,nKC:()=>ro,zZn:()=>Ga,_q3:()=>Vv,MKu:()=>zv,xe9:()=>Pv,Co$:()=>gx,Vns:()=>Tp,SKi:()=>$i,Xx1:()=>fi,Agw:()=>Eo,PLl:()=>Vo,rOR:()=>Vl,sFG:()=>YE,_9s:()=>wy,czy:()=>Qh,WPN:()=>Cd,kdw:()=>Rn,C4Q:()=>Cp,NYb:()=>N8,giA:()=>kk,RxE:()=>fk,c1b:()=>Yb,gXe:()=>Ln,mal:()=>ow,Tzd:()=>Ex,L39:()=>XD,EWP:()=>QD,sbv:()=>k5,Ol2:()=>Ly,w6W:()=>j5,QZP:()=>wE,Rfq:()=>ne,oKB:()=>_c,WQX:()=>zo,naY:()=>oD,Hps:()=>My,QuC:()=>ea,EmA:()=>Ri,Udg:()=>YD,HJs:()=>oS,N4e:()=>ca,vPA:()=>X1,O8t:()=>qD,H3F:()=>mk,H8p:()=>Ci,KH2:()=>Fg,TgB:()=>Fl,wOt:()=>Fe,WHO:()=>xk,e01:()=>_k,lNU:()=>Ke,h9k:()=>gf,$MX:()=>Hh,ZF7:()=>Yl,Kcf:()=>Hm,e5t:()=>Xw,UyX:()=>Kw,cWb:()=>Ww,osQ:()=>Gw,H5H:()=>dv,Zy3:()=>Or,mq5:()=>E2,JZv:()=>ve,TL3:()=>AD,LfX:()=>He,plB:()=>Tu,jNT:()=>Ov,zjR:()=>Ek,ngT:()=>Ws,TL$:()=>Mr,Tbb:()=>eo,rcV:()=>zs,nM4:()=>lx,Vt3:()=>Oy,GFd:()=>hx,OA$:()=>ys,Jv_:()=>N_,aNF:()=>L_,R7$:()=>_b,BMQ:()=>Xy,HbH:()=>a2,ZvI:()=>h2,AVh:()=>ev,BUC:()=>g2,vxM:()=>w2,wni:()=>i_,C6U:()=>l_,VBU:()=>Va,FsC:()=>rd,jDH:()=>Po,G2t:()=>ni,$C:()=>ka,EJ8:()=>rl,rXU:()=>Du,nrm:()=>av,eu8:()=>sv,bVm:()=>pw,qex:()=>uw,k0s:()=>dw,j41:()=>lw,RV6:()=>k2,xGo:()=>rs,Mr5:()=>cv,KVO:()=>ri,kS0:()=>md,QTQ:()=>Ql,bIt:()=>hv,lsd:()=>c_,joV:()=>eh,qSk:()=>Kd,XpG:()=>X2,nI1:()=>Y_,bMT:()=>Z_,i5U:()=>Q_,SdG:()=>Z2,NAR:()=>Y2,Y8G:()=>qy,FS9:()=>mv,Mz_:()=>bw,lJ4:()=>B_,eq3:()=>U_,l_i:()=>$_,sMw:()=>j_,ziG:()=>V_,lV:()=>z_,NyB:()=>d_,mGM:()=>s_,sdS:()=>u_,Dyx:()=>v2,Z7z:()=>y2,Njj:()=>Ud,eBV:()=>Uu,npT:()=>Jm,f$h:()=>ff,B4B:()=>Gh,n$t:()=>eb,Aen:()=>xl,xc7:()=>tv,Kam:()=>gv,zvX:()=>lv,DNE:()=>Fy,C5r:()=>q_,EFF:()=>x_,JRh:()=>wv,SpI:()=>ww,Lme:()=>yv,DH7:()=>M_,mxI:()=>xv,R50:()=>vv,GBs:()=>a_});let s=null,c=!1,y=1;const k=Symbol("SIGNAL");function S(t){const e=s;return s=t,e}const R={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function L(t){if(c)throw new Error("");if(null===s)return;s.consumerOnSignalRead(t);const e=s.nextProducerIndex++;at(s),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Tt(t){at(t);for(let e=0;e0}function at(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function et(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function bt(t){return void 0!==t.producerNode}function Et(t){const e=Object.create(Xe);e.computation=t;const n=()=>{if(W(e),L(e),e.value===ie)throw e.error;return e.value};return n[k]=e,n}const jt=Symbol("UNSET"),Gt=Symbol("COMPUTING"),ie=Symbol("ERRORED"),Xe={...R,value:jt,dirty:!0,error:null,equal:o,producerMustRecompute:t=>t.value===jt||t.value===Gt,producerRecomputeValue(t){if(t.value===Gt)throw new Error("Detected cycle in computations.");const e=t.value;t.value=Gt;const n=tt(t);let l;try{l=t.computation()}catch(g){l=ie,t.error=g}finally{xt(t,n)}e!==jt&&e!==ie&&l!==ie&&t.equal(e,l)?t.value=e:(t.value=l,t.version++)}};let gr=function Er(){throw new Error};function vr(){gr()}let ke=null;function Ae(t,e){ct()||vr(),t.equal(t.value,e)||(t.value=e,function Ye(t){t.version++,function J(){y++}(),q(t),ke?.()}(t))}const te={...R,equal:o,value:void 0};const Bt=()=>{},Zt={...R,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Bt};var le=r(4412),qt=r(1413),Ve=r(8359),Ht=r(6354);const Ke="https://g.co/ng/security#xss";class Fe extends Error{constructor(e,n){super(Or(e,n)),this.code=e}}function Or(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}function Ie(t){return{toString:t}.toString()}const gt="__parameters__";function At(t,e,n){return Ie(()=>{const l=function it(t){return function(...n){if(t){const l=t(...n);for(const g in l)this[g]=l[g]}}}(e);function g(...w){if(this instanceof g)return l.apply(this,w),this;const E=new g(...w);return O.annotation=E,O;function O(U,rt,vt){const oe=U.hasOwnProperty(gt)?U[gt]:Object.defineProperty(U,gt,{value:[]})[gt];for(;oe.length<=vt;)oe.push(null);return(oe[vt]=oe[vt]||[]).push(E),U}}return n&&(g.prototype=Object.create(n.prototype)),g.prototype.ngMetadataName=t,g.annotationCls=g,g})}const ve=globalThis;function er(t){for(let e in t)if(t[e]===er)return e;throw Error("Could not find renamed property on target object.")}function Hr(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function eo(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(eo).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Bo(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Fr=er({__forward_ref__:er});function ne(t){return t.__forward_ref__=ne,t.toString=function(){return eo(this())},t}function re(t){return Lt(t)?t():t}function Lt(t){return"function"==typeof t&&t.hasOwnProperty(Fr)&&t.__forward_ref__===ne}function Po(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ni(t){return{providers:t.providers||[],imports:t.imports||[]}}function Oe(t){return Dr(t,ao)||Dr(t,_o)}function He(t){return null!==Oe(t)}function Dr(t,e){return t.hasOwnProperty(e)?t[e]:null}function Ur(t){return t&&(t.hasOwnProperty(no)||t.hasOwnProperty(Do))?t[no]:null}const ao=er({\u0275prov:er}),no=er({\u0275inj:er}),_o=er({ngInjectableDef:er}),Do=er({ngInjectorDef:er});class ro{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Po({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Cr(t){return t&&!!t.\u0275providers}const kr=er({\u0275cmp:er}),Lr=er({\u0275dir:er}),Br=er({\u0275pipe:er}),qr=er({\u0275mod:er}),to=er({\u0275fac:er}),ko=er({__NG_ELEMENT_ID__:er}),To=er({__NG_ENV_ID__:er});function po(t){return"string"==typeof t?t:null==t?"":String(t)}function Ki(t,e){throw new Fe(-201,!1)}var on=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(on||{});let Fa;function Mn(){return Fa}function _i(t){const e=Fa;return Fa=t,e}function ds(t,e,n){const l=Oe(t);return l&&"root"==l.providedIn?void 0===l.value?l.value=l.factory():l.value:n&on.Optional?null:void 0!==e?e:void Ki()}const Ti={},qi="__NG_DI_FLAG__",ti="ngTempTokenPath",Tn=/\n/gm,bi="__source";let Go;function ei(t){const e=Go;return Go=t,e}function Bn(t,e=on.Default){if(void 0===Go)throw new Fe(-203,!1);return null===Go?ds(t,void 0,e):Go.get(t,e&on.Optional?null:void 0,e)}function ri(t,e=on.Default){return(Mn()||Bn)(re(t),e)}function zo(t,e=on.Default){return ri(t,xa(e))}function xa(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function On(t){const e=[];for(let n=0;nArray.isArray(n)?ki(n,e):e(n))}function di(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Vi(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Ei(t,e,n){let l=Jt(t,e);return l>=0?t[1|l]=n:(l=~l,function ma(t,e,n,l){let g=t.length;if(g==e)t.push(n,l);else if(1===g)t.push(l,t[0]),t[0]=n;else{for(g--,t.push(t[g-1],t[g]);g>e;)t[g]=t[g-2],g--;t[e]=n,t[e+1]=l}}(t,l,e,n)),l}function G(t,e){const n=Jt(t,e);if(n>=0)return t[1|n]}function Jt(t,e){return function se(t,e,n){let l=0,g=t.length>>n;for(;g!==l;){const w=l+(g-l>>1),E=t[w<e?g=w:l=w+1}return~(g<e){E=w-1;break}}}for(;w-1){let w;for(;++gw?"":g[vt+1].toLowerCase(),2&l&&rt!==oe){if(ft(l))return!1;E=!0}}}}else{if(!E&&!ft(l)&&!ft(U))return!1;if(E&&ft(U))continue;E=!1,l=U|1&l}}return ft(l)||E}function ft(t){return!(1&t)}function X(t,e,n,l){if(null===e)return-1;let g=0;if(l||!n){let w=!1;for(;g-1)for(n++;n0?'="'+O+'"':"")+"]"}else 8&l?g+="."+E:4&l&&(g+=" "+E);else""!==g&&!ft(E)&&(e+=Ls(w,g),g=""),l=E,w=w||!ft(l);n++}return""!==g&&(e+=Ls(w,g)),e}function Va(t){return Ie(()=>{const e=Ks(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Nn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ln.Emulated,styles:t.styles||Ar,_:null,schemas:t.schemas||null,tView:null,id:""};Ss(n);const l=t.dependencies;return n.directiveDefs=sa(l,!1),n.pipeDefs=sa(l,!0),n.id=function As(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const g of n)e=Math.imul(31,e)+g.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n})}function bn(t){return sn(t)||Bi(t)}function Bs(t){return null!==t}function ka(t){return Ie(()=>({type:t.type,bootstrap:t.bootstrap||Ar,declarations:t.declarations||Ar,imports:t.imports||Ar,exports:t.exports||Ar,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function ps(t,e){if(null==t)return xe;const n={};for(const l in t)if(t.hasOwnProperty(l)){const g=t[l];let w,E,O=Wn.None;Array.isArray(g)?(O=g[0],w=g[1],E=g[2]??w):(w=g,E=g),e?(n[w]=O!==Wn.None?[l,O]:l,e[w]=E):n[w]=l}return n}function rd(t){return Ie(()=>{const e=Ks(t);return Ss(e),e})}function rl(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function sn(t){return t[kr]||null}function Bi(t){return t[Lr]||null}function en(t){return t[Br]||null}function ea(t){const e=sn(t)||Bi(t)||en(t);return null!==e&&e.standalone}function Hi(t,e){const n=t[qr]||null;if(!n&&!0===e)throw new Error(`Type ${eo(t)} does not have '\u0275mod' property.`);return n}function Ks(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||xe,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Ar,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ps(t.inputs,e),outputs:ps(t.outputs),debugInfo:null}}function Ss(t){t.features?.forEach(e=>e(t))}function sa(t,e){if(!t)return null;const n=e?en:bn;return()=>("function"==typeof t?t():t).map(l=>n(l)).filter(Bs)}function Ri(t){return{\u0275providers:t}}function _c(...t){return{\u0275providers:Fc(0,t),\u0275fromNgModule:!0}}function Fc(t,...e){const n=[],l=new Set;let g;const w=E=>{n.push(E)};return ki(e,E=>{const O=E;kc(O,w,[],l)&&(g||=[],g.push(O))}),void 0!==g&&ol(g,w),n}function ol(t,e){for(let n=0;n{e(w,l)})}}function kc(t,e,n,l){if(!(t=re(t)))return!1;let g=null,w=Ur(t);const E=!w&&sn(t);if(w||E){if(E&&!E.standalone)return!1;g=t}else{const U=t.ngModule;if(w=Ur(U),!w)return!1;g=U}const O=l.has(g);if(E){if(O)return!1;if(l.add(g),E.dependencies){const U="function"==typeof E.dependencies?E.dependencies():E.dependencies;for(const rt of U)kc(rt,e,n,l)}}else{if(!w)return!1;{if(null!=w.imports&&!O){let rt;l.add(g);try{ki(w.imports,vt=>{kc(vt,e,n,l)&&(rt||=[],rt.push(vt))})}finally{}void 0!==rt&&ol(rt,e)}if(!O){const rt=wi(g)||(()=>new g);e({provide:g,useFactory:rt,deps:Ar},g),e({provide:wo,useValue:g,multi:!0},g),e({provide:Wr,useValue:()=>ri(g),multi:!0},g)}const U=w.providers;if(null!=U&&!O){const rt=t;Cc(U,vt=>{e(vt,rt)})}}}return g!==t&&void 0!==t.providers}function Cc(t,e){for(let n of t)Cr(n)&&(n=n.\u0275providers),Array.isArray(n)?Cc(n,e):e(n)}const Bc=er({provide:String,useValue:er});function za(t){return null!==t&&"object"==typeof t&&Bc in t}function Ea(t){return"function"==typeof t}const Ci=new ro(""),ra={},od={};let Yi;function Ts(){return void 0===Yi&&(Yi=new jo),Yi}class ci{}class Gs extends ci{get destroyed(){return this._destroyed}constructor(e,n,l,g){super(),this.parent=n,this.source=l,this.scopes=g,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Is(e,E=>this.processProvider(E)),this.records.set(co,hs(void 0,this)),g.has("environment")&&this.records.set(ci,hs(void 0,this));const w=this.records.get(Ci);null!=w&&"string"==typeof w.value&&this.scopes.add(w.value),this.injectorDefTypes=new Set(this.get(wo,Ar,on.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const e=S(null);try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const l of n)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),S(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const n=ei(this),l=_i(void 0);try{return e()}finally{ei(n),_i(l)}}get(e,n=Ti,l=on.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(To))return e[To](this);l=xa(l);const w=ei(this),E=_i(void 0);try{if(!(l&on.SkipSelf)){let U=this.records.get(e);if(void 0===U){const rt=function lc(t){return"function"==typeof t||"object"==typeof t&&t instanceof ro}(e)&&Oe(e);U=rt&&this.injectableDefInScope(rt)?hs(Ms(e),ra):null,this.records.set(e,U)}if(null!=U)return this.hydrate(e,U)}return(l&on.Self?Ts():this.parent).get(e,n=l&on.Optional&&n===Ti?null:n)}catch(O){if("NullInjectorError"===O.name){if((O[ti]=O[ti]||[]).unshift(eo(e)),w)throw O;return function us(t,e,n,l){const g=t[ti];throw e[bi]&&g.unshift(e[bi]),t.message=function fa(t,e,n,l=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let g=eo(e);if(Array.isArray(e))g=e.map(eo).join(" -> ");else if("object"==typeof e){let w=[];for(let E in e)if(e.hasOwnProperty(E)){let O=e[E];w.push(E+":"+("string"==typeof O?JSON.stringify(O):eo(O)))}g=`{${w.join(", ")}}`}return`${n}${l?"("+l+")":""}[${g}]: ${t.replace(Tn,"\n ")}`}("\n"+t.message,g,n,l),t.ngTokenPath=g,t[ti]=null,t}(O,e,"R3InjectorError",this.source)}throw O}finally{_i(E),ei(w)}}resolveInjectorInitializers(){const e=S(null),n=ei(this),l=_i(void 0);try{const w=this.get(Wr,Ar,on.Self);for(const E of w)E()}finally{ei(n),_i(l),S(e)}}toString(){const e=[],n=this.records;for(const l of n.keys())e.push(eo(l));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Fe(205,!1)}processProvider(e){let n=Ea(e=re(e))?e:re(e&&e.provide);const l=function Un(t){return za(t)?hs(void 0,t.useValue):hs(Ha(t),ra)}(e);if(!Ea(e)&&!0===e.multi){let g=this.records.get(n);g||(g=hs(void 0,ra,!0),g.factory=()=>On(g.multi),this.records.set(n,g)),n=e,g.multi.push(e)}this.records.set(n,l)}hydrate(e,n){const l=S(null);try{return n.value===ra&&(n.value=od,n.value=n.factory()),"object"==typeof n.value&&n.value&&function gs(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{S(l)}}injectableDefInScope(e){if(!e.providedIn)return!1;const n=re(e.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){const n=this._onDestroyHooks.indexOf(e);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ms(t){const e=Oe(t),n=null!==e?e.factory:wi(t);if(null!==n)return n;if(t instanceof ro)throw new Fe(204,!1);if(t instanceof Function)return function Ca(t){if(t.length>0)throw new Fe(204,!1);const n=function Pr(t){return t&&(t[ao]||t[_o])||null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Fe(204,!1)}function Ha(t,e,n){let l;if(Ea(t)){const g=re(t);return wi(g)||Ms(g)}if(za(t))l=()=>re(t.useValue);else if(function $s(t){return!(!t||!t.useFactory)}(t))l=()=>t.useFactory(...On(t.deps||[]));else if(function Us(t){return!(!t||!t.useExisting)}(t))l=()=>ri(re(t.useExisting));else{const g=re(t&&(t.useClass||t.provide));if(!function mi(t){return!!t.deps}(t))return wi(g)||Ms(g);l=()=>new g(...On(t.deps))}return l}function hs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Is(t,e){for(const n of t)Array.isArray(n)?Is(n,e):n&&Cr(n)?Is(n.\u0275providers,e):e(n)}function ca(t,e){t instanceof Gs&&t.assertNotDestroyed();const l=ei(t),g=_i(void 0);try{return e()}finally{ei(l),_i(g)}}function fs(){return void 0!==Mn()||null!=function pa(){return Go}()}function hn(t){if(!fs())throw new Fe(-203,!1)}const ze=0,nr=1,_r=2,Zr=3,Ir=4,Gr=5,Jr=6,fo=7,jr=8,So=9,Oo=10,Yr=11,tn=12,Xo=13,Cn=14,qo=15,vn=16,Di=17,ii=18,Gi=19,Mo=20,lo=21,wn=22,Pn=23,mo=25,Ii=1,Ui=7,ba=9,xi=10;var Lo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Lo||{});function ui(t){return Array.isArray(t)&&"object"==typeof t[Ii]}function Oi(t){return Array.isArray(t)&&!0===t[Ii]}function Wa(t){return!!(4&t.flags)}function la(t){return t.componentOffset>-1}function $o(t){return!(1&~t.flags)}function Si(t){return!!t.template}function Da(t){return!!(512&t[_r])}class Aa{constructor(e,n,l){this.previousValue=e,this.currentValue=n,this.firstChange=l}isFirstChange(){return this.firstChange}}function Os(t,e,n,l){null!==e?e.applyValueToInputSignal(e,l):t[n]=l}function ys(){return $c}function $c(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ka),Xs}function Xs(){const t=Up(this),e=t?.current;if(e){const n=t.previous;if(n===xe)t.previous=e;else for(let l in e)n[l]=e[l];t.current=null,this.ngOnChanges(e)}}function Ka(t,e,n,l,g){const w=this.declaredInputs[l],E=Up(t)||function jg(t,e){return t[al]=e}(t,{previous:xe,current:null}),O=E.current||(E.current={}),U=E.previous,rt=U[w];O[w]=new Aa(rt&&rt.currentValue,n,U===xe),Os(t,e,g,n)}ys.ngInherit=!0;const al="__ngSimpleChanges__";function Up(t){return t[al]||null}const Ys=function(t,e,n){},jp="svg";function Gn(t){for(;Array.isArray(t);)t=t[ze];return t}function Dl(t,e){return Gn(e[t])}function Ta(t,e){return Gn(e[t.index])}function Sc(t,e){return t.data[e]}function Sl(t,e){return t[e]}function vs(t,e){const n=e[t];return ui(n)?n:n[ze]}function Qs(t){return!(128&~t[_r])}function xs(t,e){return null==e?null:t[e]}function Od(t){t[Di]=0}function Rd(t){1024&t[_r]||(t[_r]|=1024,Qs(t)&&Al(t))}function id(t){return!!(9216&t[_r]||t[Pn]?.dirty)}function Lu(t){t[Oo].changeDetectionScheduler?.notify(8),64&t[_r]&&(t[_r]|=1024),id(t)&&Al(t)}function Al(t){t[Oo].changeDetectionScheduler?.notify(0);let e=js(t);for(;null!==e&&!(8192&e[_r])&&(e[_r]|=8192,Qs(e));)e=js(e)}function Nd(t,e){if(!(256&~t[_r]))throw new Fe(911,!1);null===t[lo]&&(t[lo]=[]),t[lo].push(e)}function js(t){const e=t[Zr];return Oi(e)?e[Zr]:e}const gn={lFrame:Qp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Fu=!1;function ad(){return gn.bindingsEnabled}function sl(){return null!==gn.skipHydrationRootTNode}function Nr(){return gn.lFrame.lView}function Dn(){return gn.lFrame.tView}function Uu(t){return gn.lFrame.contextLView=t,t[jr]}function Ud(t){return gn.lFrame.contextLView=null,t}function Xn(){let t=$d();for(;null!==t&&64===t.type;)t=t.parent;return t}function $d(){return gn.lFrame.currentTNode}function Js(t,e){const n=gn.lFrame;n.currentTNode=t,n.isParent=e}function $u(){return gn.lFrame.isParent}function jd(){gn.lFrame.isParent=!1}function zd(){return Fu}function ju(t){Fu=t}function ga(){const t=gn.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function uc(){return gn.lFrame.bindingIndex++}function Tc(t){const e=gn.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Vu(t,e){const n=gn.lFrame;n.bindingIndex=n.bindingRootIndex=t,sd(e)}function sd(t){gn.lFrame.currentDirectiveIndex=t}function Xp(t){const e=gn.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Yp(){return gn.lFrame.currentQueryIndex}function cd(t){gn.lFrame.currentQueryIndex=t}function km(t){const e=t[nr];return 2===e.type?e.declTNode:1===e.type?t[Gr]:null}function Wg(t,e,n){if(n&on.SkipSelf){let g=e,w=t;for(;!(g=g.parent,null!==g||n&on.Host||(g=km(w),null===g||(w=w[Cn],10&g.type))););if(null===g)return!1;e=g,t=w}const l=gn.lFrame=ld();return l.currentTNode=e,l.lView=t,!0}function Zp(t){const e=ld(),n=t[nr];gn.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ld(){const t=gn.lFrame,e=null===t?null:t.child;return null===e?Qp(t):e}function Qp(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function qp(){const t=gn.lFrame;return gn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Jp=qp;function Ml(){const t=qp();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function wa(){return gn.lFrame.selectedIndex}function Vc(t){gn.lFrame.selectedIndex=t}function Ni(){const t=gn.lFrame;return Sc(t.tView,t.selectedIndex)}function Kd(){gn.lFrame.currentNamespace=jp}function eh(){!function Kg(){gn.lFrame.currentNamespace=null}()}let oh=!0;function dd(){return oh}function pc(t){oh=t}function Il(t,e){for(let n=e.directiveStart,l=e.directiveEnd;n=l)break}else e[U]<0&&(t[Di]+=65536),(O>14>16&&(3&t[_r])===e&&(t[_r]+=16384,ih(O,w)):ih(O,w)}const ud=-1;class dl{constructor(e,n,l){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=l}}const hd={};class hc{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,l){l=xa(l);const g=this.injector.get(e,hd,l);return g!==hd||n===hd?g:this.parentInjector.get(e,n,l)}}function ch(t){return t!==ud}function pl(t){return 32767&t}function Rl(t,e){let n=function lh(t){return t>>16}(t),l=e;for(;n>0;)l=l[Cn],n--;return l}let Hu=!0;function gd(t){const e=Hu;return Hu=t,e}const Wu=255,dh=5;let Yd=0;const ec={};function zc(t,e){const n=uh(t,e);if(-1!==n)return n;const l=e[nr];l.firstCreatePass&&(t.injectorIndex=e.length,fd(l.data,t),fd(e,null),fd(l.blueprint,null));const g=Zd(t,e),w=t.injectorIndex;if(ch(g)){const E=pl(g),O=Rl(g,e),U=O[nr].data;for(let rt=0;rt<8;rt++)e[w+rt]=O[E+rt]|U[E+rt]}return e[w+8]=g,w}function fd(t,e){t.push(0,0,0,0,0,0,0,0,e)}function uh(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Zd(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,l=null,g=e;for(;null!==g;){if(l=gh(g),null===l)return ud;if(n++,g=g[Cn],-1!==l.injectorIndex)return l.injectorIndex|n<<16}return ud}function Qd(t,e,n){!function Ku(t,e,n){let l;"string"==typeof n?l=n.charCodeAt(0)||0:n.hasOwnProperty(ko)&&(l=n[ko]),null==l&&(l=n[ko]=Yd++);const g=l&Wu;e.data[t+(g>>dh)]|=1<=0?e&Wu:hh:e}(n);if("function"==typeof w){if(!Wg(e,t,l))return l&on.Host?es(g,0,l):Jd(e,n,l,g);try{let E;if(E=w(l),null!=E||l&on.Optional)return E;Ki()}finally{Jp()}}else if("number"==typeof w){let E=null,O=uh(t,e),U=ud,rt=l&on.Host?e[qo][Gr]:null;for((-1===O||l&on.SkipSelf)&&(U=-1===O?Zd(t,e):e[O+8],U!==ud&&hl(l,!1)?(E=e[nr],O=pl(U),e=Rl(U,e)):O=-1);-1!==O;){const vt=e[nr];if(Xu(w,O,vt.data)){const oe=Gu(O,e,n,E,l,rt);if(oe!==ec)return oe}U=e[O+8],U!==ud&&hl(l,e[nr].data[O+8]===rt)&&Xu(w,O,e)?(E=vt,O=pl(U),e=Rl(U,e)):O=-1}}return g}function Gu(t,e,n,l,g,w){const E=e[nr],O=E.data[t+8],vt=eu(O,E,n,null==l?la(O)&&Hu:l!=E&&!!(3&O.type),g&on.Host&&w===O);return null!==vt?Hc(e,E,vt,O):ec}function eu(t,e,n,l,g){const w=t.providerIndexes,E=e.data,O=1048575&w,U=t.directiveStart,vt=w>>20,Pe=g?O+vt:t.directiveEnd;for(let Ge=l?O:O+vt;Ge=U&&hr.type===n)return Ge}if(g){const Ge=E[U];if(Ge&&Si(Ge)&&Ge.type===n)return U}return null}function Hc(t,e,n,l){let g=t[n];const w=e.data;if(function Gd(t){return t instanceof dl}(g)){const E=g;E.resolving&&function zn(t,e){throw e&&e.join(" > "),new Fe(-200,t)}(function io(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():po(t)}(w[n]));const O=gd(E.canSeeViewProviders);E.resolving=!0;const rt=E.injectImpl?_i(E.injectImpl):null;Wg(t,l,on.Default);try{g=t[n]=E.factory(void 0,w,t,l),e.firstCreatePass&&n>=l.directiveStart&&function cl(t,e,n){const{ngOnChanges:l,ngOnInit:g,ngDoCheck:w}=e.type.prototype;if(l){const E=$c(e);(n.preOrderHooks??=[]).push(t,E),(n.preOrderCheckHooks??=[]).push(t,E)}g&&(n.preOrderHooks??=[]).push(0-t,g),w&&((n.preOrderHooks??=[]).push(t,w),(n.preOrderCheckHooks??=[]).push(t,w))}(n,w[n],e)}finally{null!==rt&&_i(rt),gd(O),E.resolving=!1,Jp()}}return g}function Xu(t,e,n){return!!(n[e+(t>>dh)]&1<{const e=t.prototype.constructor,n=e[to]||Wc(e),l=Object.prototype;let g=Object.getPrototypeOf(t.prototype).constructor;for(;g&&g!==l;){const w=g[to]||Wc(g);if(w&&w!==n)return w;g=Object.getPrototypeOf(g)}return w=>new w})}function Wc(t){return Lt(t)?()=>{const e=Wc(re(t));return e&&e()}:wi(t)}function gh(t){const e=t[nr],n=e.type;return 2===n?e.declTNode:1===n?t[Gr]:null}function md(t){return function qd(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const l=n.length;let g=0;for(;gri(co)})}static{this.__NG_ELEMENT_ID__=-1}}new ro("").__NG_ELEMENT_ID__=t=>{const e=Xn();if(null===e)throw new Fe(204,!1);if(2&e.type)return e.value;if(t&on.Optional)return null;throw new Fe(204,!1)};function qu(t){return t.ngOriginalError}const xh=!0;let su=(()=>{class t{static{this.__NG_ELEMENT_ID__=Tm}static{this.__NG_ENV_ID__=n=>n}}return t})();class qg extends su{constructor(e){super(),this._lView=e}onDestroy(e){return Nd(this._lView,e),()=>function qs(t,e){if(null===t[lo])return;const n=t[lo].indexOf(e);-1!==n&&t[lo].splice(n,1)}(this._lView,e)}}function Tm(){return new qg(Nr())}let Fl=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new le.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=Po({token:t,providedIn:"root",factory:()=>new t})}}return t})();const gc=class bd extends qt.B{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,fs()&&(this.destroyRef=zo(su,{optional:!0})??void 0,this.pendingTasks=zo(Fl,{optional:!0})??void 0)}emit(e){const n=S(null);try{super.next(e)}finally{S(n)}}subscribe(e,n,l){let g=e,w=n||(()=>null),E=l;if(e&&"object"==typeof e){const U=e;g=U.next?.bind(U),w=U.error?.bind(U),E=U.complete?.bind(U)}this.__isAsync&&(w=this.wrapInTimeout(w),g&&(g=this.wrapInTimeout(g)),E&&(E=this.wrapInTimeout(E)));const O=super.subscribe({next:g,error:w,complete:E});return e instanceof Ve.yU&&e.add(O),O}wrapInTimeout(e){return n=>{const l=this.pendingTasks?.add();setTimeout(()=>{e(n),void 0!==l&&this.pendingTasks?.remove(l)})}}};function Ma(...t){}function _h(t){let e,n;function l(){t=Ma;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),l()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{t(),l()})),()=>l()}function gl(t){return queueMicrotask(()=>t()),()=>{t=Ma}}const Gc="isAngularZone",Bl=Gc+"_ID";let Xa=0;class $i{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new gc(!1),this.onMicrotaskEmpty=new gc(!1),this.onStable=new gc(!1),this.onError=new gc(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:l=!1,shouldCoalesceRunChangeDetection:g=!1,scheduleInRootZone:w=xh}=e;if(typeof Zone>"u")throw new Fe(908,!1);Zone.assertZonePatched();const E=this;E._nesting=0,E._outer=E._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(E._inner=E._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(E._inner=E._inner.fork(Zone.longStackTraceZoneSpec)),E.shouldCoalesceEventChangeDetection=!g&&l,E.shouldCoalesceRunChangeDetection=g,E.callbackScheduled=!1,E.scheduleInRootZone=w,function Jg(t){const e=()=>{!function kh(t){function e(){_h(()=>{t.callbackScheduled=!1,wd(t),t.isCheckStableRunning=!0,du(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),wd(t))}(t)},n=Xa++;t._inner=t._inner.fork({name:"angular",properties:{[Gc]:!0,[Bl]:n,[Bl+n]:!0},onInvokeTask:(l,g,w,E,O,U)=>{if(function vd(t){return tp(t,"__ignore_ng_zone__")}(U))return l.invokeTask(w,E,O,U);try{return Ju(t),l.invokeTask(w,E,O,U)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===E.type||t.shouldCoalesceRunChangeDetection)&&e(),Eh(t)}},onInvoke:(l,g,w,E,O,U,rt)=>{try{return Ju(t),l.invoke(w,E,O,U,rt)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function Ul(t){return tp(t,"__scheduler_tick__")}(U)&&e(),Eh(t)}},onHasTask:(l,g,w,E)=>{l.hasTask(w,E),g===w&&("microTask"==E.change?(t._hasPendingMicrotasks=E.microTask,wd(t),du(t)):"macroTask"==E.change&&(t.hasPendingMacrotasks=E.macroTask))},onHandleError:(l,g,w,E)=>(l.handleError(w,E),t.runOutsideAngular(()=>t.onError.emit(E)),!1)})}(E)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Gc)}static assertInAngularZone(){if(!$i.isInAngularZone())throw new Fe(909,!1)}static assertNotInAngularZone(){if($i.isInAngularZone())throw new Fe(909,!1)}run(e,n,l){return this._inner.run(e,n,l)}runTask(e,n,l,g){const w=this._inner,E=w.scheduleEventTask("NgZoneEvent: "+g,e,lu,Ma,Ma);try{return w.runTask(E,n,l)}finally{w.cancelTask(E)}}runGuarded(e,n,l){return this._inner.runGuarded(e,n,l)}runOutsideAngular(e){return this._outer.run(e)}}const lu={};function du(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function wd(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function Ju(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Eh(t){t._nesting--,du(t)}class yd{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gc,this.onMicrotaskEmpty=new gc,this.onStable=new gc,this.onError=new gc}run(e,n,l){return e.apply(n,l)}runGuarded(e,n,l){return e.apply(n,l)}runOutsideAngular(e){return e()}runTask(e,n,l,g){return e.apply(n,l)}}function tp(t,e){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[e]}class fc{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&qu(e);for(;n&&qu(n);)n=qu(n);return n||null}}const uu=new ro("",{providedIn:"root",factory:()=>{const t=zo($i),e=zo(fc);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function Sh(){return Oc(Xn(),Nr())}function Oc(t,e){return new jl(Ta(t,e))}let jl=(()=>{class t{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=Sh}}return t})();function Ah(t){return t instanceof jl?t.nativeElement:t}function Th(){return this._results[Symbol.iterator]()}class Vl{get changes(){return this._changes??=new gc}constructor(e=!1){this._emitDistinctChangesOnly=e,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 n=Vl.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Th)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;const l=function Hn(t){return t.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function Ja(t,e,n){if(t.length!==e.length)return!1;for(let l=0;luo}),uo="ng",Vo=new ro(""),Eo=new ro("",{providedIn:"platform",factory:()=>"unknown"}),Wo=new ro(""),yn=new ro("",{providedIn:"root",factory:()=>Tr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Rs=()=>null;function wu(t,e,n=!1){return Rs(t,e,n)}const Pm=new ro("",{providedIn:"root",factory:()=>!1});let Vh,zh;function _u(t){return function df(){if(void 0===Vh&&(Vh=null,ve.trustedTypes))try{Vh=ve.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Vh}()?.createHTML(t)||t}function uf(){if(void 0===zh&&(zh=null,ve.trustedTypes))try{zh=ve.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return zh}function Um(t){return uf()?.createHTML(t)||t}function jm(t){return uf()?.createScriptURL(t)||t}class kd{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ke})`}}class zw extends kd{getTypeName(){return"HTML"}}class Vm extends kd{getTypeName(){return"Style"}}class Hw extends kd{getTypeName(){return"Script"}}class Ed extends kd{getTypeName(){return"URL"}}class zm extends kd{getTypeName(){return"ResourceURL"}}function zs(t){return t instanceof kd?t.changingThisBreaksApplicationSecurity:t}function Yl(t,e){const n=function Qc(t){return t instanceof kd&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Ke})`)}return n===e}function Hm(t){return new zw(t)}function Ww(t){return new Vm(t)}function Kw(t){return new Hw(t)}function Gw(t){return new Ed(t)}function Xw(t){return new zm(t)}class Yw{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const n=(new window.DOMParser).parseFromString(_u(e),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(e):(n.firstChild?.remove(),n)}catch{return null}}}class Zw{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const n=this.inertDocument.createElement("template");return n.innerHTML=_u(e),n}}const Km=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hh(t){return(t=String(t)).match(Km)?t:"unsafe:"+t}function bl(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Wh(...t){const e={};for(const n of t)for(const l in n)n.hasOwnProperty(l)&&(e[l]=!0);return e}const Gm=bl("area,br,col,hr,img,wbr"),qw=bl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Kh=bl("rp,rt"),pf=Wh(Gm,Wh(qw,bl("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")),Wh(Kh,bl("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")),Wh(Kh,qw)),hf=bl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xm=Wh(hf,bl("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"),bl("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")),e0=bl("script,style,template");class r0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,l=!0,g=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?l=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,l&&n.firstChild)g.push(n),n=a0(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let w=n0(n);if(w){n=w;break}n=g.pop()}return this.buf.join("")}startElement(e){const n=Ym(e).toLowerCase();if(!pf.hasOwnProperty(n))return this.sanitizedSomething=!0,!e0.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const l=e.attributes;for(let g=0;g"),!0}endElement(e){const n=Ym(e).toLowerCase();pf.hasOwnProperty(n)&&!Gm.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(Qm(e))}}function n0(t){const e=t.nextSibling;if(e&&t!==e.previousSibling)throw Zm(e);return e}function a0(t){const e=t.firstChild;if(e&&function o0(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,e))throw Zm(e);return e}function Ym(t){const e=t.nodeName;return"string"==typeof e?e:"FORM"}function Zm(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const s0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c0=/([^\#-~ |!])/g;function Qm(t){return t.replace(/&/g,"&").replace(s0,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(c0,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let pp;function gf(t,e){let n=null;try{pp=pp||function Wm(t){const e=new Zw(t);return function Qw(){try{return!!(new window.DOMParser).parseFromString(_u(""),"text/html")}catch{return!1}}()?new Yw(e):e}(t);let l=e?String(e):"";n=pp.getInertBodyElement(l);let g=5,w=l;do{if(0===g)throw new Error("Failed to sanitize html because the input is unstable");g--,l=w,w=n.innerHTML,n=pp.getInertBodyElement(l)}while(l!==w);return _u((new r0).sanitizeChildren(ku(n)||n))}finally{if(n){const l=ku(n)||n;for(;l.firstChild;)l.firstChild.remove()}}}function ku(t){return"content"in t&&function qm(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Cd=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Cd||{});function Jm(t){const e=hp();return e?Um(e.sanitize(Cd.HTML,t)||""):Yl(t,"HTML")?Um(zs(t)):gf(Tr(),po(t))}function Gh(t){const e=hp();return e?e.sanitize(Cd.URL,t)||"":Yl(t,"URL")?zs(t):Hh(po(t))}function ff(t){const e=hp();if(e)return jm(e.sanitize(Cd.RESOURCE_URL,t)||"");if(Yl(t,"ResourceURL"))return jm(zs(t));throw new Fe(904,!1)}function eb(t,e,n){return function tb(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?ff:Gh}(e,n)(t)}function hp(){const t=Nr();return t&&t[Oo].sanitizer}const h0=/^>|^->||--!>|)/g,f0="\u200b$1\u200b";function oc(t){return t instanceof Function?t():t}function nc(t){return"browser"===(t??zo(Ga)).get(Eo)}var Qh=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Qh||{});let vf;function xf(t,e){return vf(t,e)}function Cu(t,e,n,l,g){if(null!=l){let w,E=!1;Oi(l)?w=l:ui(l)&&(E=!0,l=l[ze]);const O=Gn(l);0===t&&null!==n?null==g?pb(e,n,O):Zl(e,n,O,g||null,!0):1===t&&null!==n?Zl(e,n,O,g||null,!0):2===t?function vp(t,e,n){t.removeChild(null,e,n)}(e,O,E):3===t&&e.destroyNode(O),null!=w&&function wb(t,e,n,l,g){const w=n[Ui];w!==Gn(n)&&Cu(e,t,l,w,g);for(let O=xi;Oe.replace(g0,f0))}(e))}function gp(t,e,n){return t.createElement(e,n)}function db(t,e){e[Oo].changeDetectionScheduler?.notify(9),yl(t,e,e[Yr],2,null,null)}function Ef(t,e){const n=t[ba],l=e[Zr];(ui(l)||e[qo]!==l[Zr][qo])&&(t[_r]|=Lo.HasTransplantedViews),null===n?t[ba]=[e]:n.push(e)}function Cf(t,e){const n=t[ba],l=n.indexOf(e);n.splice(l,1)}function fp(t,e){if(t.length<=xi)return;const n=xi+e,l=t[n];if(l){const g=l[vn];null!==g&&g!==t&&Cf(g,l),e>0&&(t[n-1][Ir]=l[Ir]);const w=Vi(t,xi+e);!function E0(t,e){db(t,e),e[ze]=null,e[Gr]=null}(l[nr],l);const E=w[ii];null!==E&&E.detachView(w[nr]),l[Zr]=null,l[Ir]=null,l[_r]&=-129}return l}function Jh(t,e){if(!(256&e[_r])){const n=e[Yr];n.destroyNode&&yl(t,e,n,3,null,null),function C0(t){let e=t[tn];if(!e)return tg(t[nr],t);for(;e;){let n=null;if(ui(e))n=e[tn];else{const l=e[xi];l&&(n=l)}if(!n){for(;e&&!e[Ir]&&e!==t;)ui(e)&&tg(e[nr],e),e=e[Zr];null===e&&(e=t),ui(e)&&tg(e[nr],e),n=e&&e[Ir]}e=n}}(e)}}function tg(t,e){if(256&e[_r])return;const n=S(null);try{e[_r]&=-129,e[_r]|=256,e[Pn]&&$t(e[Pn]),function A0(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let l=0;l=0?l[E]():l[-E].unsubscribe(),w+=2}else n[w].call(l[n[w+1]]);null!==l&&(e[fo]=null);const g=e[lo];if(null!==g){e[lo]=null;for(let w=0;w-1){const{encapsulation:w}=t.data[l.directiveStart+g];if(w===Ln.None||w===Ln.Emulated)return null}return Ta(l,n)}}(t,e.parent,n)}function Zl(t,e,n,l,g){t.insertBefore(e,n,l,g)}function pb(t,e,n){t.appendChild(e,n)}function hb(t,e,n,l,g){null!==l?Zl(t,e,n,l,g):pb(t,e,n)}function Df(t,e){return t.parentNode(e)}function mp(t,e,n){return gb(t,e,n)}let wp,gb=function bp(t,e,n){return 40&t.type?Ta(t,n):null};function og(t,e,n,l){const g=eg(t,l,e),w=e[Yr],O=mp(l.parent||e[Gr],l,e);if(null!=g)if(Array.isArray(n))for(let U=0;Umo&&kb(t,e,mo,!1),Ys(E?2:0,g),n(l,g)}finally{Vc(w),Ys(E?3:1,g)}}function Tf(t,e,n){if(Wa(e)){const l=S(null);try{const w=e.directiveEnd;for(let E=e.directiveStart;Enull;function Tb(t,e,n,l,g){for(let w in e){if(!e.hasOwnProperty(w))continue;const E=e[w];if(void 0===E)continue;l??={};let O,U=Wn.None;Array.isArray(E)?(O=E[0],U=E[1]):O=E;let rt=w;if(null!==g){if(!g.hasOwnProperty(w))continue;rt=g[w]}0===t?Mb(l,n,rt,O,U):Mb(l,n,rt,O)}return l}function Mb(t,e,n,l,g){let w;t.hasOwnProperty(n)?(w=t[n]).push(e,l):w=t[n]=[e,l],void 0!==g&&w.push(g)}function Hs(t,e,n,l,g,w,E,O){const U=Ta(e,n);let vt,rt=e.inputs;!O&&null!=rt&&(vt=rt[l])?(Bf(t,n,vt,l,g),la(e)&&function B0(t,e){const n=vs(e,t);16&n[_r]||(n[_r]|=64)}(n,e.index)):3&e.type&&(l=function F0(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(l),g=null!=E?E(g,e.value||"",l):g,w.setProperty(U,l,g))}function Of(t,e,n,l){if(ad()){const g=null===l?null:{"":-1},w=function H0(t,e){const n=t.directiveRegistry;let l=null,g=null;if(n)for(let w=0;w0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(E)!=O&&E.push(O),E.push(n,l,w)}}(t,e,l,Su(t,n,g.hostVars,An),g)}function qc(t,e,n,l,g,w){const E=Ta(t,e);!function Nf(t,e,n,l,g,w,E){if(null==w)t.removeAttribute(e,g,n);else{const O=null==E?po(w):E(w,l||"",g);t.setAttribute(e,g,O,n)}}(e[Yr],E,w,t.value,n,l,g)}function Nb(t,e,n,l,g,w){const E=w[e];if(null!==E)for(let O=0;O0&&(n[g-1][Ir]=e),l{Al(t.lView)},consumerOnSignalRead(){this.lView[Pn]=this}},oy={...R,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=js(t.lView);for(;e&&!$b(e[nr]);)e=js(e);e&&Rd(e)},consumerOnSignalRead(){this.lView[Pn]=this}};function $b(t){return 2!==t.type}const ny=100;function hg(t,e=!0,n=0){const l=t[Oo],g=l.rendererFactory;g.begin?.();try{!function iy(t,e){const n=zd();try{ju(!0),Li(t,e);let l=0;for(;id(t);){if(l===ny)throw new Fe(103,!1);l++,Li(t,1)}}finally{ju(n)}}(t,n)}catch(E){throw e&&ug(t,E),E}finally{g.end?.(),l.inlineEffectRunner?.flush()}}function ay(t,e,n,l){const g=e[_r];if(!(256&~g))return;e[Oo].inlineEffectRunner?.flush(),Zp(e);let O=!0,U=null,rt=null;$b(t)?(rt=function q0(t){return t[Pn]??function J0(t){const e=$f.pop()??Object.create(ey);return e.lView=t,e}(t)}(e),U=tt(rt)):null===function I(){return s}()?(O=!1,rt=function ry(t){const e=t[Pn]??Object.create(oy);return e.lView=t,e}(e),U=tt(rt)):e[Pn]&&($t(e[Pn]),e[Pn]=null);try{Od(e),function Hd(t){return gn.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Eb(t,e,n,2,l);const vt=!(3&~g);if(vt){const Ge=t.preOrderCheckHooks;null!==Ge&&Ol(e,Ge,null)}else{const Ge=t.preOrderHooks;null!==Ge&&ll(e,Ge,0,null),zu(e,0)}if(function sy(t){for(let e=mu(t);null!==e;e=Ph(e)){if(!(e[_r]&Lo.HasTransplantedViews))continue;const n=e[ba];for(let l=0;l-1&&(fp(e,l),Vi(n,l))}this._attachedToViewContainer=!1}Jh(this._lView[nr],this._lView)}onDestroy(e){Nd(this._lView,e)}markForCheck(){kp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_r]&=-129}reattach(){Lu(this._lView),this._lView[_r]|=128}detectChanges(){this._lView[_r]|=1024,hg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Fe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=Da(this._lView),n=this._lView[vn];null!==n&&!e&&Cf(n,this._lView),db(this._lView[nr],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Fe(902,!1);this._appRef=e;const n=Da(this._lView),l=this._lView[vn];null!==l&&!n&&Ef(l,this._lView),Lu(this._lView)}}let Cp=(()=>{class t{static{this.__NG_ELEMENT_ID__=g1}}return t})();const ly=Cp,jf=class extends ly{constructor(e,n,l){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=l}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,l){const g=Au(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:l});return new Ep(g)}};function g1(){return gg(Xn(),Nr())}function gg(t,e){return 4&t.type?new jf(e,t,Oc(t,e)):null}let D1=()=>null;function Ap(t,e){return D1(t,e)}class bg{}const Yf=new ro("",{providedIn:"root",factory:()=>!1}),S1=new ro(""),by=new ro("");class KE{}class A1{}class XE{resolveComponentFactory(e){throw function GE(t){const e=Error(`No component factory found for ${eo(t)}.`);return e.ngComponent=t,e}(e)}}class Zf{static{this.NULL=new XE}}class wy{}let YE=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function ZE(){const t=Nr(),n=vs(Xn().index,t);return(ui(n)?n:t)[Yr]}()}}return t})(),QE=(()=>{class t{static{this.\u0275prov=Po({token:t,providedIn:"root",factory:()=>null})}}return t})();function Tu(t){return!!Hi(t)}function Xb(t,e,n){let l=n?t.styles:null,g=n?t.classes:null,w=0;if(null!==e)for(let E=0;E0&&Sf(t,n,w.join(" "))}}(Pe,Pa,hr,l),void 0!==n&&function s5(t,e,n){const l=t.projection=[];for(let g=0;g{class t{static{this.__NG_ELEMENT_ID__=l5}}return t})();function l5(){return P1(Xn(),Nr())}const d5=Yb,N1=class extends d5{constructor(e,n,l){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=l}get element(){return Oc(this._hostTNode,this._hostLView)}get injector(){return new na(this._hostTNode,this._hostLView)}get parentInjector(){const e=Zd(this._hostTNode,this._hostLView);if(ch(e)){const n=Rl(e,this._hostLView),l=pl(e);return new na(n[nr].data[l+8],n)}return new na(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=L1(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-xi}createEmbeddedView(e,n,l){let g,w;"number"==typeof l?g=l:null!=l&&(g=l.index,w=l.injector);const E=Ap(this._lContainer,e.ssrId),O=e.createEmbeddedViewImpl(n||{},w,E);return this.insertImpl(O,g,Ad(this._hostTNode,E)),O}createComponent(e,n,l,g,w){const E=e&&!function F(t){return"function"==typeof t}(e);let O;if(E)O=n;else{const hr=n||{};O=hr.index,l=hr.injector,g=hr.projectableNodes,w=hr.environmentInjector||hr.ngModuleRef}const U=E?e:new Jf(sn(e)),rt=l||this.parentInjector;if(!w&&null==U.ngModule){const zr=(E?rt:this.parentInjector).get(ci,null);zr&&(w=zr)}const vt=sn(U.componentType??{}),oe=Ap(this._lContainer,vt?.id??null),Ge=U.create(rt,g,oe?.firstChild??null,w);return this.insertImpl(Ge.hostView,O,Ad(this._hostTNode,oe)),Ge}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,l){const g=e._lView;if(function Md(t){return Oi(t[Zr])}(g)){const O=this.indexOf(e);if(-1!==O)this.detach(O);else{const U=g[Zr],rt=new N1(U,U[Gr],U[Zr]);rt.detach(rt.indexOf(e))}}const w=this._adjustIndex(n),E=this._lContainer;return Td(E,g,w,l),e.attachToViewContainerRef(),di(xy(E),w,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=L1(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),l=fp(this._lContainer,n);l&&(Vi(xy(this._lContainer),n),Jh(l[nr],l))}detach(e){const n=this._adjustIndex(e,-1),l=fp(this._lContainer,n);return l&&null!=Vi(xy(this._lContainer),n)?new Ep(l):null}_adjustIndex(e,n=0){return e??this.length+n}};function L1(t){return t[8]}function xy(t){return t[8]||(t[8]=[])}function P1(t,e){let n;const l=e[t.index];return Oi(l)?n=l:(n=Lf(l,e,null,t),e[t.index]=n,dg(e,n)),F1(n,e,t,l),new N1(n,t,e)}let F1=function U1(t,e,n,l){if(t[Ui])return;let g;g=8&n.type?Gn(l):function u5(t,e){const n=t[Yr],l=n.createComment(""),g=Ta(e,t);return Zl(n,Df(n,g),l,function T0(t,e){return t.nextSibling(e)}(n,g),!1),l}(e,n),t[Ui]=g},_y=()=>!1;class ky{constructor(e){this.queryList=e,this.matches=null}clone(){return new ky(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ey{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(null!==n){const l=null!==e.contentQueries?e.contentQueries[0]:n.length,g=[];for(let w=0;we.trim())}(e):e}}class Cy{constructor(e=[]){this.queries=e}elementStart(e,n){for(let l=0;l0)l.push(E[O/2]);else{const rt=w[O+1],vt=e[-U];for(let oe=xi;oe(L(e),e.value);return n[k]=e,n}(t),l=n[k];return e?.equal&&(l.equal=e.equal),n.set=g=>Ae(l,g),n.update=g=>function Xt(t,e){ct()||vr(),Ae(t,e(t.value))}(l,g),n.asReadonly=Y1.bind(n),n}function Y1(){const t=this[k];if(void 0===t.readonlyFn){const e=()=>this();e[k]=t,t.readonlyFn=e}return t.readonlyFn}function Z1(t){return My(t)&&"function"==typeof t.set}function Iy(t,e){let n;const l=Et(()=>{n._dirtyCounter();const g=function x5(t,e){const n=t._lView,l=t._queryIndex;if(void 0===n||void 0===l||4&n[_r])return e?void 0:Ar;const g=Ay(n,l),w=K1(n,l);return g.reset(w,Ah),e?g.first:g._changesDetected||void 0===t._flatValue?t._flatValue=g.toArray():t._flatValue}(n,t);if(e&&void 0===g)throw new Fe(-951,!1);return g});return n=l[k],n._dirtyCounter=X1(0),n._flatValue=void 0,l}function ex(t,e){return function Q1(){return Iy(!0,!1)}()}const k5=(ex.required=function _5(t,e){return function q1(){return Iy(!0,!0)}()},ex);function Oy(t){let e=function cx(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const l=[t];for(;e;){let g;if(Si(t))g=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Fe(903,!1);g=e.\u0275dir}if(g){if(n){l.push(g);const E=t;E.inputs=Qb(t.inputs),E.inputTransforms=Qb(t.inputTransforms),E.declaredInputs=Qb(t.declaredInputs),E.outputs=Qb(t.outputs);const O=g.hostBindings;O&&P5(t,O);const U=g.viewQuery,rt=g.contentQueries;if(U&&N5(t,U),rt&&L5(t,rt),O5(t,g),Hr(t.outputs,g.outputs),Si(g)&&g.data.animation){const vt=t.data;vt.animation=(vt.animation||[]).concat(g.data.animation)}}const w=g.features;if(w)for(let E=0;E=0;l--){const g=t[l];g.hostVars=e+=g.hostVars,g.hostAttrs=In(g.hostAttrs,n=In(n,g.hostAttrs))}}(l)}function O5(t,e){for(const n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;const l=e.inputs[n];if(void 0!==l&&(t.inputs[n]=l,t.declaredInputs[n]=e.declaredInputs[n],null!==e.inputTransforms)){const g=Array.isArray(l)?l[0]:l;if(!e.inputTransforms.hasOwnProperty(g))continue;t.inputTransforms??={},t.inputTransforms[g]=e.inputTransforms[g]}}}function Qb(t){return t===xe?{}:t===Ar?[]:t}function N5(t,e){const n=t.viewQuery;t.viewQuery=n?(l,g)=>{e(l,g),n(l,g)}:e}function L5(t,e){const n=t.contentQueries;t.contentQueries=n?(l,g,w)=>{e(l,g,w),n(l,g,w)}:e}function P5(t,e){const n=t.hostBindings;t.hostBindings=n?(l,g)=>{e(l,g),n(l,g)}:e}function lx(t){const e=n=>{const l=(Array.isArray(t)?t:t()).map(g=>"function"==typeof g?{directive:re(g),inputs:xe,outputs:xe}:{directive:re(g.directive),inputs:ux(g.inputs),outputs:ux(g.outputs)});null===n.hostDirectives?(n.findHostDirectiveDefs=dx,n.hostDirectives=l):n.hostDirectives.unshift(...l)};return e.ngInherit=!0,e}function dx(t,e,n){if(null!==t.hostDirectives)for(const l of t.hostDirectives){const g=Bi(l.directive);$5(g.declaredInputs,l.inputs),dx(g,e,n),n.set(g,l),e.push(g)}}function ux(t){if(void 0===t||0===t.length)return xe;const e={};for(let n=0;nn()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Ny extends gx{constructor(e){super(),this.moduleType=e}create(e){return new Ry(this.moduleType,e,[])}}class fx extends Tp{constructor(e){super(),this.componentFactoryResolver=new O1(this),this.instance=null;const n=new Gs([...e.providers,{provide:Tp,useValue:this},{provide:Zf,useValue:this.componentFactoryResolver}],e.parent||Ts(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function Ly(t,e,n=null){return new fx({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}function qb(t){return!!Py(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Py(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Jl(t,e,n){return t[e]=n}function em(t,e){return t[e]}function Ra(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Mp(t,e,n,l){const g=Ra(t,e,n);return Ra(t,e+1,l)||g}function el(t,e,n,l,g,w){const E=Mp(t,e,n,l);return Mp(t,e+2,g,w)||E}function rm(t,e,n,l,g,w,E,O,U,rt){const vt=n+mo,oe=e.firstCreatePass?function G5(t,e,n,l,g,w,E,O,U){const rt=e.consts,vt=Sd(e,t,4,E||null,O||null);Of(e,n,vt,xs(rt,U)),Il(e,vt);const oe=vt.tView=cg(2,vt,l,g,w,e.directiveRegistry,e.pipeRegistry,null,e.schemas,rt,null);return null!==e.queries&&(e.queries.template(e,vt),oe.queries=e.queries.embeddedTView(vt)),vt}(vt,e,t,l,g,w,E,O,U):e.data[vt];Js(oe,!1);const Pe=mx(e,t,oe,n);dd()&&og(e,t,Pe,oe),ya(Pe,t);const Ge=Lf(Pe,t,Pe,oe);return t[vt]=Ge,dg(t,Ge),function B1(t,e,n){return _y(t,e,n)}(Ge,oe,t),$o(oe)&&Mf(e,t,oe),null!=U&&If(t,oe,rt),oe}function Fy(t,e,n,l,g,w,E,O){const U=Nr(),rt=Dn();return rm(U,rt,t,e,n,l,g,xs(rt.consts,w),E,O),Fy}let mx=function bx(t,e,n,l){return pc(!0),e[Yr].createComment("")};var Ip=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Ip||{});let kx=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=Po({token:t,providedIn:"root",factory:()=>new t})}}return t})();class im{constructor(){this.ngZone=zo($i),this.scheduler=zo(bg),this.errorHandler=zo(fc,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Ip.EarlyRead,Ip.Write,Ip.MixedReadWrite,Ip.Read]}execute(){this.executing=!0;for(const e of im.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[e])try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[e](n.pipelinedValue))}catch(l){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(l)}this.executing=!1;for(const e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(const e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static{this.\u0275prov=Po({token:im,providedIn:"root",factory:()=>new im})}}class Q5{constructor(e,n,l,g){this.impl=e,this.hooks=n,this.once=l,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=g?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Ex(t,e){!e?.injector&&hn();const n=e?.injector??zo(Ga);return nc(n)?(Ws("NgAfterRender"),Cx(t,n,e,!1)):Dx}function ow(t,e){!e?.injector&&hn();const n=e?.injector??zo(Ga);return nc(n)?(Ws("NgAfterNextRender"),Cx(t,n,e,!0)):Dx}function Cx(t,e,n,l){const g=e.get(kx);g.impl??=e.get(im);const w=n?.phase??Ip.MixedReadWrite,E=!0!==n?.manualCleanup?e.get(su):null,O=new Q5(g.impl,function q5(t,e){if(t instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[e]=t,n}return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t,w),l,E);return g.impl.register(O),O}const Dx={destroy(){}};function Xy(t,e,n,l){const g=Nr();return Ra(g,uc(),e)&&(Dn(),qc(Ni(),g,t,e,n,l)),Xy}function Sg(t,e,n,l){return Ra(t,uc(),n)?e+po(n)+l:An}function Ag(t,e,n,l,g,w){const O=Mp(t,function Ac(){return gn.lFrame.bindingIndex}(),n,g);return Tc(2),O?e+po(n)+l+po(g)+w:An}function aw(t,e){return t<<17|e<<2}function Ou(t){return t>>17&32767}function Yy(t){return 2|t}function Rp(t){return(131068&t)>>2}function Zy(t,e){return-131069&t|e<<2}function Qy(t){return 1|t}function qx(t,e,n,l){const g=t[n+1],w=null===e;let E=l?Ou(g):Rp(g),O=!1;for(;0!==E&&(!1===O||w);){const rt=t[E+1];N3(t[E],e)&&(O=!0,t[E+1]=l?Qy(rt):Yy(rt)),E=l?Ou(rt):Rp(rt)}O&&(t[n+1]=l?Yy(g):Qy(g))}function N3(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Jt(t,e)>=0}const cs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Jx(t){return t.substring(cs.key,cs.keyEnd)}function L3(t){return t.substring(cs.value,cs.valueEnd)}function t2(t,e){const n=cs.textEnd;return n===e?-1:(e=cs.keyEnd=function B3(t,e,n){for(;e32;)e++;return e}(t,cs.key=e,n),Lg(t,e,n))}function e2(t,e){const n=cs.textEnd;let l=cs.key=Lg(t,e,n);return n===l?-1:(l=cs.keyEnd=function U3(t,e,n){let l;for(;e=65&&(-33&l)<=90||l>=48&&l<=57);)e++;return e}(t,l,n),l=o2(t,l,n),l=cs.value=Lg(t,l,n),l=cs.valueEnd=function $3(t,e,n){let l=-1,g=-1,w=-1,E=e,O=E;for(;E32&&(O=E),w=g,g=l,l=-33&U}return O}(t,l,n),o2(t,l,n))}function r2(t){cs.key=0,cs.keyEnd=0,cs.value=0,cs.valueEnd=0,cs.textEnd=t.length}function Lg(t,e,n){for(;e=0;n=e2(e,n))l2(t,Jx(e),L3(e))}function a2(t){kl(G3,td,t,!0)}function td(t,e){for(let n=function P3(t){return r2(t),t2(t,Lg(t,0,cs.textEnd))}(e);n>=0;n=t2(e,n))Ei(t,Jx(e),!0)}function _l(t,e,n,l){const g=Nr(),w=Dn(),E=Tc(2);w.firstUpdatePass&&c2(w,t,E,l),e!==An&&Ra(g,E,e)&&d2(w,w.data[wa()],g,g[Yr],t,g[E+1]=function Y3(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=eo(zs(t)))),t}(e,n),l,E)}function kl(t,e,n,l){const g=Dn(),w=Tc(2);g.firstUpdatePass&&c2(g,null,w,l);const E=Nr();if(n!==An&&Ra(E,w,n)){const O=g.data[wa()];if(p2(O,l)&&!s2(g,w)){let U=l?O.classesWithoutHost:O.stylesWithoutHost;null!==U&&(n=Bo(U,n||"")),Jy(g,O,E,n,l)}else!function X3(t,e,n,l,g,w,E,O){g===An&&(g=Ar);let U=0,rt=0,vt=0=t.expandoStartIndex}function c2(t,e,n,l){const g=t.data;if(null===g[n+1]){const w=g[wa()],E=s2(t,n);p2(w,l)&&null===e&&!E&&(e=!1),e=function V3(t,e,n,l){const g=Xp(t);let w=l?e.residualClasses:e.residualStyles;if(null===g)0===(l?e.classBindings:e.styleBindings)&&(n=sm(n=rv(null,t,e,n,l),e.attrs,l),w=null);else{const E=e.directiveStylingLast;if(-1===E||t[E]!==g)if(n=rv(g,t,e,n,l),null===w){let U=function z3(t,e,n){const l=n?e.classBindings:e.styleBindings;if(0!==Rp(l))return t[Ou(l)]}(t,e,l);void 0!==U&&Array.isArray(U)&&(U=rv(null,t,e,U[1],l),U=sm(U,e.attrs,l),function H3(t,e,n,l){t[Ou(n?e.classBindings:e.styleBindings)]=l}(t,e,l,U))}else w=function W3(t,e,n){let l;const g=e.directiveEnd;for(let w=1+e.directiveStylingLast;w0)&&(rt=!0)):vt=n,g)if(0!==U){const Pe=Ou(t[O+1]);t[l+1]=aw(Pe,O),0!==Pe&&(t[Pe+1]=Zy(t[Pe+1],l)),t[O+1]=function M3(t,e){return 131071&t|e<<17}(t[O+1],l)}else t[l+1]=aw(O,0),0!==O&&(t[O+1]=Zy(t[O+1],l)),O=l;else t[l+1]=aw(U,0),0===O?O=l:t[U+1]=Zy(t[U+1],l),U=l;rt&&(t[l+1]=Yy(t[l+1])),qx(t,vt,l,!0),qx(t,vt,l,!1),function R3(t,e,n,l,g){const w=g?t.residualClasses:t.residualStyles;null!=w&&"string"==typeof e&&Jt(w,e)>=0&&(n[l+1]=Qy(n[l+1]))}(e,vt,t,l,w),E=aw(O,U),w?e.classBindings=E:e.styleBindings=E}(g,w,e,n,E,l)}}function rv(t,e,n,l,g){let w=null;const E=n.directiveEnd;let O=n.directiveStylingLast;for(-1===O?O=n.directiveStart:O++;O0;){const U=t[g],rt=Array.isArray(U),vt=rt?U[1]:U,oe=null===vt;let Pe=n[g+1];Pe===An&&(Pe=oe?Ar:void 0);let Ge=oe?G(Pe,l):vt===l?Pe:void 0;if(rt&&!sw(Ge)&&(Ge=G(U,l)),sw(Ge)&&(O=Ge,E))return O;const hr=t[g+1];g=E?Ou(hr):Rp(hr)}if(null!==e){let U=w?e.residualClasses:e.residualStyles;null!=U&&(O=G(U,l))}return O}function sw(t){return void 0!==t}function p2(t,e){return!!(t.flags&(e?8:16))}function h2(t,e,n){kl(Ei,td,Sg(Nr(),t,e,n),!0)}function g2(){return Nr()[qo][jr]}class nC{destroy(e){}updateValue(e,n){}swap(e,n){const l=Math.min(e,n),g=Math.max(e,n),w=this.detach(g);if(g-l>1){const E=this.detach(l);this.attach(l,w),this.attach(g,E)}else this.attach(l,w)}move(e,n){this.attach(n,this.detach(e))}}function ov(t,e,n,l,g){return t===n&&Object.is(e,l)?1:Object.is(g(t,e),g(n,l))?-1:0}function nv(t,e,n,l){return!(void 0===e||!e.has(l)||(t.attach(n,e.get(l)),e.delete(l),0))}function f2(t,e,n,l,g){if(nv(t,e,l,n(l,g)))t.updateValue(l,g);else{const w=t.create(l,g);t.attach(l,w)}}function m2(t,e,n,l){const g=new Set;for(let w=e;w<=n;w++)g.add(l(w,t.at(w)));return g}class b2{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;const n=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let l=this.kvMap.get(e);void 0===this._vMap&&(this._vMap=new Map);const g=this._vMap;for(;g.has(l);)l=g.get(l);g.set(l,n)}else this.kvMap.set(e,n)}forEach(e){for(let[n,l]of this.kvMap)if(e(l,n),void 0!==this._vMap){const g=this._vMap;for(;g.has(l);)l=g.get(l),e(l,n)}}}function w2(t,e){Ws("NgControlFlow");const n=Nr(),l=uc(),g=n[l]!==An?n[l]:-1,w=-1!==g?cw(n,mo+g):void 0;if(Ra(n,l,t)){const O=S(null);try{if(void 0!==w&&Uf(w,0),-1!==t){const U=mo+t,rt=cw(n,U),vt=iv(n[nr],U),oe=Ap(rt,vt.tView.ssrId);Td(rt,Au(n,vt,e,{dehydratedView:oe}),0,Ad(vt,oe))}}finally{S(O)}}else if(void 0!==w){const O=Bb(w,0);void 0!==O&&(O[jr]=e)}}class aC{constructor(e,n,l){this.lContainer=e,this.$implicit=n,this.$index=l}get $count(){return this.lContainer.length-xi}}class lC{constructor(e,n,l){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=l}}function y2(t,e,n,l,g,w,E,O,U,rt,vt,oe,Pe){Ws("NgControlFlow");const Ge=Nr(),hr=Dn(),zr=void 0!==U,go=Nr(),Io=O?E.bind(go[qo][jr]):E,$r=new lC(zr,Io);go[mo+t]=$r,rm(Ge,hr,t+1,e,n,l,g,xs(hr.consts,w)),zr&&rm(Ge,hr,t+2,U,rt,vt,oe,xs(hr.consts,Pe))}class dC extends nC{constructor(e,n,l){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=l,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-xi}at(e){return this.getLView(e)[jr].$implicit}attach(e,n){const l=n[Jr];this.needsIndexUpdate||=e!==this.length,Td(this.lContainer,n,e,Ad(this.templateTNode,l))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,function uC(t,e){return fp(t,e)}(this.lContainer,e)}create(e,n){const l=Ap(this.lContainer,this.templateTNode.tView.ssrId),g=Au(this.hostLView,this.templateTNode,new aC(this.lContainer,n,e),{dehydratedView:l});return this.operationsCounter?.recordCreate(),g}destroy(e){Jh(e[nr],e),this.operationsCounter?.recordDestroy()}updateValue(e,n){this.getLView(e)[jr].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e{t.destroy(U)})}(U,t,w.trackByFn),U.updateIndexes(),w.hasEmptyBlock){const rt=uc(),vt=0===U.length;if(Ra(l,rt,vt)){const oe=n+2,Pe=cw(l,oe);if(vt){const Ge=iv(g,oe),hr=Ap(Pe,Ge.tView.ssrId);Td(Pe,Au(l,Ge,void 0,{dehydratedView:hr}),0,Ad(Ge,hr))}else Uf(Pe,0)}}}finally{S(e)}}function cw(t,e){return t[e]}function iv(t,e){return Sc(t,e)}function lw(t,e,n,l){const g=Nr(),w=Dn(),E=mo+t,O=g[Yr],U=w.firstCreatePass?function hC(t,e,n,l,g,w){const E=e.consts,U=Sd(e,t,2,l,xs(E,g));return Of(e,n,U,xs(E,w)),null!==U.attrs&&Xb(U,U.attrs,!1),null!==U.mergedAttrs&&Xb(U,U.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,U),U}(E,w,g,e,n,l):w.data[E],rt=x2(w,g,U,O,e,t);g[E]=rt;const vt=$o(U);return Js(U,!0),xb(O,rt,U),!function yg(t){return!(32&~t.flags)}(U)&&dd()&&og(w,g,rt,U),0===function Vg(){return gn.lFrame.elementDepthCount}()&&ya(rt,g),function Pd(){gn.lFrame.elementDepthCount++}(),vt&&(Mf(w,g,U),Tf(w,U,g)),null!==l&&If(g,U),lw}function dw(){let t=Xn();$u()?jd():(t=t.parent,Js(t,!1));const e=t;(function Hp(t){return gn.skipHydrationRootTNode===t})(e)&&function Bd(){gn.skipHydrationRootTNode=null}(),function Fd(){gn.lFrame.elementDepthCount--}();const n=Dn();return n.firstCreatePass&&(Il(n,t),Wa(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function Gg(t){return!!(8&t.flags)}(e)&&Jy(n,e,Nr(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function ah(t){return!!(16&t.flags)}(e)&&Jy(n,e,Nr(),e.stylesWithoutHost,!1),dw}function av(t,e,n,l){return lw(t,e,n,l),dw(),av}let x2=(t,e,n,l,g,w)=>(pc(!0),gp(l,g,function rh(){return gn.lFrame.currentNamespace}()));function uw(t,e,n){const l=Nr(),g=Dn(),w=t+mo,E=g.firstCreatePass?function mC(t,e,n,l,g){const w=e.consts,E=xs(w,l),O=Sd(e,t,8,"ng-container",E);return null!==E&&Xb(O,E,!0),Of(e,n,O,xs(w,g)),null!==e.queries&&e.queries.elementStart(e,O),O}(w,g,l,e,n):g.data[w];Js(E,!0);const O=_2(g,l,E,t);return l[w]=O,dd()&&og(g,l,O,E),ya(O,l),$o(E)&&(Mf(g,l,E),Tf(g,E,l)),null!=n&&If(l,E),uw}function pw(){let t=Xn();const e=Dn();return $u()?jd():(t=t.parent,Js(t,!1)),e.firstCreatePass&&(Il(e,t),Wa(t)&&e.queries.elementEnd(t)),pw}function sv(t,e,n){return uw(t,e,n),pw(),sv}let _2=(t,e,n,l)=>(pc(!0),_f(e[Yr],""));function k2(){return Nr()}function cv(t,e,n){const l=Nr();return Ra(l,uc(),e)&&Hs(Dn(),Ni(),l,t,e,l[Yr],n,!0),cv}function lv(t,e,n){const l=Nr();if(Ra(l,uc(),e)){const w=Dn(),E=Ni();Hs(w,E,l,t,e,Ff(Xp(w.data),E,l),n,!0)}return lv}const Np=void 0;var vC=["en",[["a","p"],["AM","PM"],Np],[["AM","PM"],Np,Np],[["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"]],Np,[["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"]],Np,[["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}",Np,"{1} 'at' {0}",Np],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function yC(t){const n=Math.floor(Math.abs(t)),l=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===l?1:5}];let Pg={};function dv(t){const e=function xC(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=C2(e);if(n)return n;const l=e.split("-")[0];if(n=C2(l),n)return n;if("en"===l)return vC;throw new Fe(701,!1)}function E2(t){return dv(t)[Fg.PluralCase]}function C2(t){return t in Pg||(Pg[t]=ve.ng&&ve.ng.common&&ve.ng.common.locales&&ve.ng.common.locales[t]),Pg[t]}var Fg=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Fg||{});const hw="en-US";let D2=hw,H2=(t,e,n)=>{};function hv(t,e,n,l){const g=Nr(),w=Dn(),E=Xn();return fv(w,g,g[Yr],E,t,e,l),hv}function gv(t,e){const n=Xn(),l=Nr(),g=Dn();return fv(g,l,Ff(Xp(g.data),n,l),n,t,e),gv}function fv(t,e,n,l,g,w,E){const O=$o(l),rt=t.firstCreatePass&&Fb(t),vt=e[jr],oe=Pb(e);let Pe=!0;if(3&l.type||E){const zr=Ta(l,e),go=E?E(zr):zr,Io=oe.length,$r=E?pi=>E(Gn(pi[l.index])):l.index;let _n=null;if(!E&&O&&(_n=function l4(t,e,n,l){const g=t.cleanup;if(null!=g)for(let w=0;wU?O[U]:null}"string"==typeof E&&(w+=2)}return null}(t,e,g,l.index)),null!==_n)(_n.__ngLastListenerFn__||_n).__ngNextListenerFn__=w,_n.__ngLastListenerFn__=w,Pe=!1;else{w=G2(l,e,vt,w),H2(zr,g,w);const pi=n.listen(go,g,w);oe.push(w,pi),rt&&rt.push(g,$r,Io,Io+1)}}else w=G2(l,e,vt,w);const Ge=l.outputs;let hr;if(Pe&&null!==Ge&&(hr=Ge[g])){const zr=hr.length;if(zr)for(let go=0;go-1?vs(t.index,e):e,5);let O=K2(e,n,l,w),U=g.__ngNextListenerFn__;for(;U;)O=K2(e,n,U,w)&&O,U=U.__ngNextListenerFn__;return O}}function X2(t=1){return function Wd(t){return(gn.lFrame.contextLView=function _s(t,e){for(;t>0;)e=e[Cn],t--;return e}(t,gn.lFrame.contextLView))[jr]}(t)}function d4(t,e){let n=null;const l=function $e(t){const e=t.attrs;if(null!=e){const n=e.indexOf(5);if(!(1&n))return e[n+1]}return null}(t);for(let g=0;gn._dirtyCounter.update(l=>l+1))}(e,H1(t,n,l,g))}function d_(t=1){cd(Yp()+t)}function u_(t){return Sl(function tc(){return gn.lFrame.contextLView}(),mo+t)}function x_(t,e=""){const n=Nr(),l=Dn(),g=t+mo,w=l.firstCreatePass?Sd(l,g,1,e,null):l.data[g],E=__(l,n,w,e,t);n[g]=E,dd()&&og(l,n,E,w),Js(w,!1)}let __=(t,e,n,l,g)=>(pc(!0),function qh(t,e){return t.createText(e)}(e[Yr],l));function wv(t){return ww("",t,""),wv}function ww(t,e,n){const l=Nr(),g=Sg(l,t,e,n);return g!==An&&vl(l,wa(),g),ww}function yv(t,e,n,l,g){const w=Nr(),E=Ag(w,t,e,n,l,g);return E!==An&&vl(w,wa(),E),yv}function vv(t,e,n){Z1(e)&&(e=e());const l=Nr();return Ra(l,uc(),e)&&Hs(Dn(),Ni(),l,t,e,l[Yr],n,!1),vv}function M_(t,e){const n=Z1(t);return n&&t.set(e),n}function xv(t,e){const n=Nr(),l=Dn(),g=Xn();return fv(l,n,n[Yr],g,t,e),xv}function _v(t,e,n,l,g){if(t=re(t),Array.isArray(t))for(let w=0;w>20;if(Ea(t)||!t.multi){const Ge=new dl(rt,g,Du),hr=Ev(U,e,g?vt:vt+Pe,oe);-1===hr?(Qd(zc(O,E),w,U),kv(w,t,e.length),e.push(U),O.directiveStart++,O.directiveEnd++,g&&(O.providerIndexes+=1048576),n.push(Ge),E.push(Ge)):(n[hr]=Ge,E[hr]=Ge)}else{const Ge=Ev(U,e,vt+Pe,oe),hr=Ev(U,e,vt,vt+Pe),go=hr>=0&&n[hr];if(g&&!go||!g&&!(Ge>=0&&n[Ge])){Qd(zc(O,E),w,U);const Io=function T4(t,e,n,l,g){const w=new dl(t,n,Du);return w.multi=[],w.index=e,w.componentProviders=0,R_(w,g,l&&!n),w}(g?A4:S4,n.length,g,l,rt);!g&&go&&(n[hr].providerFactory=Io),kv(w,t,e.length,0),e.push(U),O.directiveStart++,O.directiveEnd++,g&&(O.providerIndexes+=1048576),n.push(Io),E.push(Io)}else kv(w,t,Ge>-1?Ge:hr,R_(n[g?hr:Ge],rt,!g&&l));!g&&l&&go&&n[hr].componentProviders++}}}function kv(t,e,n,l){const g=Ea(e),w=function nl(t){return!!t.useClass}(e);if(g||w){const U=(w?re(e.useClass):e).prototype.ngOnDestroy;if(U){const rt=t.destroyHooks||(t.destroyHooks=[]);if(!g&&e.multi){const vt=rt.indexOf(n);-1===vt?rt.push(n,[l,U]):rt[vt+1].push(l,U)}else rt.push(n,U)}}}function R_(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Ev(t,e,n,l){for(let g=n;g{n.providersResolver=(l,g)=>function D4(t,e,n){const l=Dn();if(l.firstCreatePass){const g=Si(t);_v(n,l.data,l.blueprint,g,!0),_v(e,l.data,l.blueprint,g,!1)}}(l,g?g(t):t,e)}}let M4=(()=>{class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const l=Fc(0,n.type),g=l.length>0?Ly([l],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,g)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=Po({token:t,providedIn:"environment",factory:()=>new t(ri(ci))})}}return t})();function L_(t){Ws("NgStandalone"),t.getStandaloneInjector=e=>e.get(M4).getOrCreateStandaloneInjector(t)}function B_(t,e,n){const l=ga()+t,g=Nr();return g[l]===An?Jl(g,l,n?e.call(n):e()):em(g,l)}function U_(t,e,n,l){return H_(Nr(),ga(),t,e,n,l)}function $_(t,e,n,l,g){return W_(Nr(),ga(),t,e,n,l,g)}function j_(t,e,n,l,g,w){return function K_(t,e,n,l,g,w,E,O){const U=e+n;return function Jb(t,e,n,l,g){const w=Mp(t,e,n,l);return Ra(t,e+2,g)||w}(t,U,g,w,E)?Jl(t,U+3,O?l.call(O,g,w,E):l(g,w,E)):hm(t,U+3)}(Nr(),ga(),t,e,n,l,g,w)}function V_(t,e,n,l,g,w,E){return function G_(t,e,n,l,g,w,E,O,U){const rt=e+n;return el(t,rt,g,w,E,O)?Jl(t,rt+4,U?l.call(U,g,w,E,O):l(g,w,E,O)):hm(t,rt+4)}(Nr(),ga(),t,e,n,l,g,w,E)}function z_(t,e,n,l,g,w,E,O,U,rt,vt){const oe=ga()+t,Pe=Nr(),Ge=el(Pe,oe,n,l,g,w);return el(Pe,oe+4,E,O,U,rt)||Ge?Jl(Pe,oe+8,vt?e.call(vt,n,l,g,w,E,O,U,rt):e(n,l,g,w,E,O,U,rt)):em(Pe,oe+8)}function hm(t,e){const n=t[e];return n===An?void 0:n}function H_(t,e,n,l,g,w){const E=e+n;return Ra(t,E,g)?Jl(t,E+1,w?l.call(w,g):l(g)):hm(t,E+1)}function W_(t,e,n,l,g,w,E){const O=e+n;return Mp(t,O,g,w)?Jl(t,O+2,E?l.call(E,g,w):l(g,w)):hm(t,O+2)}function Y_(t,e){const n=Dn();let l;const g=t+mo;n.firstCreatePass?(l=function B4(t,e){if(e)for(let n=e.length-1;n>=0;n--){const l=e[n];if(t===l.name)return l}}(e,n.pipeRegistry),n.data[g]=l,l.onDestroy&&(n.destroyHooks??=[]).push(g,l.onDestroy)):l=n.data[g];const w=l.factory||(l.factory=wi(l.type)),O=_i(Du);try{const U=gd(!1),rt=w();return gd(U),function bv(t,e,n,l){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=l}(n,Nr(),g,rt),rt}finally{_i(O)}}function Z_(t,e,n){const l=t+mo,g=Nr(),w=Sl(g,l);return gm(g,l)?H_(g,ga(),e,w.transform,n,w):w.transform(n)}function Q_(t,e,n,l){const g=t+mo,w=Nr(),E=Sl(w,g);return gm(w,g)?W_(w,ga(),e,E.transform,n,l,E):E.transform(n,l)}function gm(t,e){return t[nr].data[e].pure}function q_(t,e){return gg(t,e)}class fk{constructor(e){this.full=e;const n=e.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let mk=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Po({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();const xk=new ro(""),_k=new ro("");let Iv,N8=(()=>{class t{constructor(n,l,g){this._ngZone=n,this.registry=l,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Iv||(function L8(t){Iv=t}(g),g.addToWindow(l)),this._watchAngularEvents(),n.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:()=>{$i.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(l=>!l.updateCb||!l.updateCb(n)||(clearTimeout(l.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,l,g){let w=-1;l&&l>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(E=>E.timeoutId!==w),n()},l)),this._callbacks.push({doneCb:n,timeoutId:w,updateCb:g})}whenStable(n,l,g){if(g&&!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(n,l,g),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,l,g){return[]}static{this.\u0275fac=function(l){return new(l||t)(ri($i),ri(kk),ri(_k))}}static{this.\u0275prov=Po({token:t,factory:t.\u0275fac})}}return t})(),kk=(()=>{class t{constructor(){this._applications=new Map}registerApplication(n,l){this._applications.set(n,l)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,l=!0){return Iv?.findTestabilityInTree(this,n,l)??null}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Po({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();function Ov(t){return!!t&&"function"==typeof t.then}function Ek(t){return!!t&&"function"==typeof t.subscribe}const Ck=new ro("");let Dk=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,l)=>{this.resolve=n,this.reject=l}),this.appInits=zo(Ck,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const g of this.appInits){const w=g();if(Ov(w))n.push(w);else if(Ek(w)){const E=new Promise((O,U)=>{w.subscribe({complete:O,error:U})});n.push(E)}}const l=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{l()}).catch(g=>{this.reject(g)}),0===n.length&&l(),this.initialized=!0}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Po({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const kw=new ro("");let ed=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=zo(uu),this.afterRenderManager=zo(kx),this.zonelessEnabled=zo(Yf),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new qt.B,this.afterTick=new qt.B,this.componentTypes=[],this.components=[],this.isStable=zo(Fl).hasPendingTasks.pipe((0,Ht.T)(n=>!n)),this._injector=zo(ci)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(l=>{n=this.isStable.subscribe({next:g=>{g&&l()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,l){const g=n instanceof A1;if(!this._injector.get(Dk).done)throw!g&&ea(n),new Fe(405,!1);let E;E=g?n:this._injector.get(Zf).resolveComponentFactory(n),this.componentTypes.push(E.componentType);const O=function P8(t){return t.isBoundToModule}(E)?void 0:this._injector.get(Tp),rt=E.create(Ga.NULL,[],l||E.selector,O),vt=rt.location.nativeElement,oe=rt.injector.get(xk,null);return oe?.registerApplication(vt),rt.onDestroy(()=>{this.detachView(rt.hostView),Ew(this.components,rt),oe?.unregisterApplication(vt)}),this._loadComponent(rt),rt}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Fe(101,!1);const n=S(null);try{this._runningTick=!0,this.synchronize()}catch(l){this.internalErrorHandler(l)}finally{this._runningTick=!1,S(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(wy,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let l=0;for(;0!==this.dirtyFlags&&l++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const l=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(l);for(let{_lView:g,notifyErrorHandler:w}of this._views)U8(g,w,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>id(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const l=n;this._views.push(l),l.attachToAppRef(this)}detachView(n){const l=n;Ew(this._views,l),l.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const l=this._injector.get(kw,[]);[...this._bootstrapListeners,...l].forEach(g=>g(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ew(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Fe(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Po({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Ew(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function U8(t,e,n,l){(n||id(t))&&hg(t,e,n&&!l?0:1)}class $8{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}}let j8=(()=>{class t{compileModuleSync(n){return new Ny(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const l=this.compileModuleSync(n),w=oc(Hi(n).declarations).reduce((E,O)=>{const U=sn(O);return U&&E.push(new Jf(U)),E},[]);return new $8(l,w)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Po({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),H8=(()=>{class t{constructor(){this.zone=zo($i),this.changeDetectionScheduler=zo(bg),this.applicationRef=zo(ed)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Po({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Rv({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new $i({...Nv(),scheduleInRootZone:n}),[{provide:$i,useFactory:t},{provide:Wr,multi:!0,useFactory:()=>{const l=zo(H8,{optional:!0});return()=>l.initialize()}},{provide:Wr,multi:!0,useFactory:()=>{const l=zo(K8);return()=>{l.initialize()}}},!0===e?{provide:S1,useValue:!0}:[],{provide:by,useValue:n??xh}]}function Nv(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let K8=(()=>{class t{constructor(){this.subscription=new Ve.yU,this.initialized=!1,this.zone=zo($i),this.pendingTasks=zo(Fl)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{$i.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{$i.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Po({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),bm=(()=>{class t{constructor(){this.appRef=zo(ed),this.taskService=zo(Fl),this.ngZone=zo($i),this.zonelessEnabled=zo(Yf),this.disableScheduling=zo(S1,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Ve.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Bl):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(zo(by,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof yd||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const l=this.useMicrotaskScheduler?gl:_h;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>l(()=>this.tick())):this.ngZone.runOutsideAngular(()=>l(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Bl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(l){throw this.taskService.remove(n),l}finally{this.cleanup()}this.useMicrotaskScheduler=!0,gl(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Po({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const Pv=new ro("",{providedIn:"root",factory:()=>zo(Pv,on.Optional|on.SkipSelf)||function G8(){return typeof $localize<"u"&&$localize.locale||hw}()}),X8=new ro("",{providedIn:"root",factory:()=>"USD"}),Dw=new ro("");function Sw(t){return!t.moduleRef}let Ru=null;function oD(){return!1}let $k=(()=>{class t{static{this.__NG_ELEMENT_ID__=nD}}return t})();function nD(t){return function iD(t,e,n){if(la(t)&&!n){const l=vs(t.index,e);return new Ep(l,l)}return 175&t.type?new Ep(e[qo],e):null}(Xn(),Nr(),!(16&~t))}class Hk{constructor(){}supports(e){return qb(e)}create(e){return new dD(e)}}const lD=(t,e)=>e;class dD{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||lD}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,l=this._removalsHead,g=0,w=null;for(;n||l;){const E=!l||n&&n.currentIndex{E=this._trackByFn(g,O),null!==n&&Object.is(n.trackById,E)?(l&&(n=this._verifyReinsertion(n,O,E,g)),Object.is(n.item,O)||this._addIdentityChange(n,O)):(n=this._mismatch(n,O,E,g),l=!0),n=n._next,g++}),this.length=g;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,l,g){let w;return null===e?w=this._itTail:(w=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,w,g)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(l,g))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,w,g)):e=this._addAfter(new uD(n,l),w,g),e}_verifyReinsertion(e,n,l,g){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null);return null!==w?e=this._reinsertAfter(w,e._prev,g):e.currentIndex!=g&&(e.currentIndex=g,this._addToMoves(e,g)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,l){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const g=e._prevRemoved,w=e._nextRemoved;return null===g?this._removalsHead=w:g._nextRemoved=w,null===w?this._removalsTail=g:w._prevRemoved=g,this._insertAfter(e,n,l),this._addToMoves(e,l),e}_moveAfter(e,n,l){return this._unlink(e),this._insertAfter(e,n,l),this._addToMoves(e,l),e}_addAfter(e,n,l){return this._insertAfter(e,n,l),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,l){const g=null===n?this._itHead:n._next;return e._next=g,e._prev=n,null===g?this._itTail=e:g._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new Wk),this._linkedRecords.put(e),e.currentIndex=l,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,l=e._next;return null===n?this._itHead=l:n._next=l,null===l?this._itTail=n:l._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Wk),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class uD{constructor(e,n){this.item=e,this.trackById=n,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 pD{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let l;for(l=this._head;null!==l;l=l._nextDup)if((null===n||n<=l.currentIndex)&&Object.is(l.trackById,e))return l;return null}remove(e){const n=e._prevDup,l=e._nextDup;return null===n?this._head=l:n._nextDup=l,null===l?this._tail=n:l._prevDup=n,null===this._head}}class Wk{constructor(){this.map=new Map}put(e){const n=e.trackById;let l=this.map.get(n);l||(l=new pD,this.map.set(n,l)),l.add(e)}get(e,n){const g=this.map.get(e);return g?g.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Kk(t,e,n){const l=t.previousIndex;if(null===l)return l;let g=0;return n&&l{if(n&&n.key===g)this._maybeAddToChanges(n,l),this._appendAfter=n,n=n._next;else{const w=this._getOrCreateRecordForKey(g,l);n=this._insertBeforeOrAppend(n,w)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let l=n;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){const l=e._prev;return n._next=e,n._prev=l,e._prev=n,l&&(l._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){const g=this._records.get(e);this._maybeAddToChanges(g,n);const w=g._prev,E=g._next;return w&&(w._next=E),E&&(E._prev=w),g._next=null,g._prev=null,g}const l=new gD(e);return this._records.set(e,l),l.currentValue=n,this._addToAdditions(l),l}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(l=>n(e[l],l))}}class gD{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Xk(){return new Vv([new Hk])}let Vv=(()=>{class t{static{this.\u0275prov=Po({token:t,providedIn:"root",factory:Xk})}constructor(n){this.factories=n}static create(n,l){if(null!=l){const g=l.factories.slice();n=n.concat(g)}return new t(n)}static extend(n){return{provide:t,useFactory:l=>t.create(n,l||Xk()),deps:[[t,new Rn,new fi]]}}find(n){const l=this.factories.find(g=>g.supports(n));if(null!=l)return l;throw new Fe(901,!1)}}return t})();function Yk(){return new zv([new Gk])}let zv=(()=>{class t{static{this.\u0275prov=Po({token:t,providedIn:"root",factory:Yk})}constructor(n){this.factories=n}static create(n,l){if(l){const g=l.factories.slice();n=n.concat(g)}return new t(n)}static extend(n){return{provide:t,useFactory:l=>t.create(n,l||Yk()),deps:[[t,new Rn,new fi]]}}find(n){const l=this.factories.find(g=>g.supports(n));if(l)return l;throw new Fe(901,!1)}}return t})();function AD(t){try{const{rootComponent:e,appProviders:n,platformProviders:l}=t,g=function rD(t=[]){if(Ru)return Ru;const e=function Fk(t=[],e){return Ga.create({name:e,providers:[{provide:Ci,useValue:"platform"},{provide:Dw,useValue:new Set([()=>Ru=null])},...t]})}(t);return Ru=e,function Sk(){!function Xr(t){gr=t}(()=>{throw new Fe(600,!1)})}(),function Bk(t){t.get(Vo,null)?.forEach(n=>n())}(e),e}(l),w=[Rv({}),{provide:bg,useExisting:bm},...n||[]];return function Nk(t){const e=Sw(t)?t.r3Injector:t.moduleRef.injector,n=e.get($i);return n.run(()=>{Sw(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const l=e.get(fc,null);let g;if(n.runOutsideAngular(()=>{g=n.onError.subscribe({next:w=>{l.handleError(w)}})}),Sw(t)){const w=()=>e.destroy(),E=t.platformInjector.get(Dw);E.add(w),e.onDestroy(()=>{g.unsubscribe(),E.delete(w)})}else{const w=()=>t.moduleRef.destroy(),E=t.platformInjector.get(Dw);E.add(w),t.moduleRef.onDestroy(()=>{Ew(t.allPlatformModules,t.moduleRef),g.unsubscribe(),E.delete(w)})}return function B8(t,e,n){try{const l=n();return Ov(l)?l.catch(g=>{throw e.runOutsideAngular(()=>t.handleError(g)),g}):l}catch(l){throw e.runOutsideAngular(()=>t.handleError(l)),l}}(l,n,()=>{const w=e.get(Dk);return w.runInitializers(),w.donePromise.then(()=>{if(function CC(t){"string"==typeof t&&(D2=t.toLowerCase().replace(/_/g,"-"))}(e.get(Pv,hw)||hw),Sw(t)){const O=e.get(ed);return void 0!==t.rootComponent&&O.bootstrap(t.rootComponent),O}return function J8(t,e){const n=t.injector.get(ed);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(l=>n.bootstrap(l));else{if(!t.instance.ngDoBootstrap)throw new Fe(-403,!1);t.instance.ngDoBootstrap(n)}e.push(t)}(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}({r3Injector:new fx({providers:w,parent:g,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:g,rootComponent:e})}catch(e){return Promise.reject(e)}}function XD(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function YD(t,e=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?e:Number(t)}function QD(t,e){Ws("NgSignals");const n=Et(t);return e?.equal&&(n[k].equal=e.equal),n}function qD(t){const e=S(null);try{return t()}finally{S(e)}}const JD=new ro("",{providedIn:"root",factory:()=>zo(tS)});let tS=(()=>{class t{static{this.\u0275prov=Po({token:t,providedIn:"root",factory:()=>new eS})}}return t})();class eS{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=zo(Fl),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(e){const n=e.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const l=this.queues.get(n);l.has(e)||(this.queuedEffectCount++,l.add(e))}flush(){for(;this.queuedEffectCount>0;)for(const[e,n]of this.queues)null===e?this.flushQueue(n):e.run(()=>this.flushQueue(n))}flushQueue(e){for(const n of e)e.delete(n),this.queuedEffectCount--,n.run()}}class rS{constructor(e,n,l,g,w,E){this.scheduler=e,this.effectFn=n,this.creationZone=l,this.injector=w,this.watcher=function We(t,e,n){const l=Object.create(Zt);n&&(l.consumerAllowSignalWrites=!0),l.fn=t,l.schedule=e;const g=U=>{l.cleanupFn=U};return l.ref={notify:()=>ht(l),run:()=>{if(null===l.fn)return;if(function T(){return c}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(l.dirty=!1,l.hasRun&&!Tt(l))return;l.hasRun=!0;const U=tt(l);try{l.cleanupFn(),l.cleanupFn=Bt,l.fn(g)}finally{xt(l,U)}},cleanup:()=>l.cleanupFn(),destroy:()=>function E(U){(function w(U){return null===U.fn&&null===U.schedule})(U)||($t(U),U.cleanupFn(),U.fn=null,U.schedule=null,U.cleanupFn=Bt)}(l),[k]:l},l.ref}(O=>this.runEffect(O),()=>this.schedule(),E),this.unregisterOnDestroy=g?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(n){this.injector.get(fc,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function wE(t,e){Ws("NgSignals"),!e?.injector&&hn();const n=e?.injector??zo(Ga),l=!0!==e?.manualCleanup?n.get(su):null,g=new rS(n.get(JD),t,typeof Zone>"u"?null:Zone.current,l,n,e?.allowSignalWrites??!1),w=n.get($k,null,{optional:!0});return w&&8&w._lView[_r]?(w._lView[wn]??=[]).push(g.watcher.notify):g.watcher.notify(),g}function oS(t){const e=sn(t);if(!e)return null;const n=new Jf(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}},9417:(i,a,r)=>{"use strict";r.d(a,{BC:()=>Ke,JD:()=>On,Q0:()=>ds,X1:()=>Xi,YN:()=>Kn,YS:()=>Ei,cV:()=>Lr,cb:()=>Fe,cz:()=>xt,hs:()=>ko,j4:()=>pa,k0:()=>St,kq:()=>M,l_:()=>bi,me:()=>ct,ok:()=>In,qT:()=>Mn,vO:()=>qt,vS:()=>Fa,xq:()=>G,ze:()=>yi});var o=r(4438),s=r(177),c=r(6648),y=r(7468),k=r(1413),S=r(6354);let I=(()=>{class st{constructor(X,Ft){this._renderer=X,this._elementRef=Ft,this.onChange=$e=>{},this.onTouched=()=>{}}setProperty(X,Ft){this._renderer.setProperty(this._elementRef.nativeElement,X,Ft)}registerOnTouched(X){this.onTouched=X}registerOnChange(X){this.onChange=X}setDisabledState(X){this.setProperty("disabled",X)}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(o.sFG),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:st})}}return st})(),T=(()=>{class st extends I{static{this.\u0275fac=(()=>{let X;return function($e){return(X||(X=o.xGo(st)))($e||st)}})()}static{this.\u0275dir=o.FsC({type:st,features:[o.Vt3]})}}return st})();const M=new o.nKC(""),J={provide:M,useExisting:(0,o.Rfq)(()=>ct),multi:!0},q=new o.nKC("");let ct=(()=>{class st extends I{constructor(X,Ft,$e){super(X,Ft),this._compositionMode=$e,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function W(){const st=(0,s.QT)()?(0,s.QT)().getUserAgent():"";return/android (\d+)/.test(st.toLowerCase())}())}writeValue(X){this.setProperty("value",X??"")}_handleInput(X){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(X)}_compositionStart(){this._composing=!0}_compositionEnd(X){this._composing=!1,this._compositionMode&&this.onChange(X)}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(q,8))}}static{this.\u0275dir=o.FsC({type:st,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(Ft,$e){1&Ft&&o.bIt("input",function(pn){return $e._handleInput(pn.target.value)})("blur",function(){return $e.onTouched()})("compositionstart",function(){return $e._compositionStart()})("compositionend",function(pn){return $e._compositionEnd(pn.target.value)})},features:[o.Jv_([J]),o.Vt3]})}}return st})();function ht(st){return null==st||("string"==typeof st||Array.isArray(st))&&0===st.length}function tt(st){return null!=st&&"number"==typeof st.length}const xt=new o.nKC(""),Tt=new o.nKC(""),$t=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class St{static min(ft){return function _t(st){return ft=>{if(ht(ft.value)||ht(st))return null;const X=parseFloat(ft.value);return!isNaN(X)&&X{if(ht(ft.value)||ht(st))return null;const X=parseFloat(ft.value);return!isNaN(X)&&X>st?{max:{max:st,actual:ft.value}}:null}}(ft)}static required(ft){return at(ft)}static requiredTrue(ft){return et(ft)}static email(ft){return function bt(st){return ht(st.value)||$t.test(st.value)?null:{email:!0}}(ft)}static minLength(ft){return function Et(st){return ft=>ht(ft.value)||!tt(ft.value)?null:ft.value.lengthtt(ft.value)&&ft.value.length>st?{maxlength:{requiredLength:st,actualLength:ft.value.length}}:null}(ft)}static pattern(ft){return function Gt(st){if(!st)return ie;let ft,X;return"string"==typeof st?(X="","^"!==st.charAt(0)&&(X+="^"),X+=st,"$"!==st.charAt(st.length-1)&&(X+="$"),ft=new RegExp(X)):(X=st.toString(),ft=st),Ft=>{if(ht(Ft.value))return null;const $e=Ft.value;return ft.test($e)?null:{pattern:{requiredPattern:X,actualValue:$e}}}}(ft)}static nullValidator(ft){return null}static compose(ft){return Rt(ft)}static composeAsync(ft){return Ut(ft)}}function at(st){return ht(st.value)?{required:!0}:null}function et(st){return!0===st.value?null:{required:!0}}function ie(st){return null}function Xe(st){return null!=st}function Er(st){return(0,o.jNT)(st)?(0,c.H)(st):st}function gr(st){let ft={};return st.forEach(X=>{ft=null!=X?{...ft,...X}:ft}),0===Object.keys(ft).length?null:ft}function vr(st,ft){return ft.map(X=>X(st))}function ke(st){return st.map(ft=>function Xr(st){return!st.validate}(ft)?ft:X=>ft.validate(X))}function Rt(st){if(!st)return null;const ft=st.filter(Xe);return 0==ft.length?null:function(X){return gr(vr(X,ft))}}function wt(st){return null!=st?Rt(ke(st)):null}function Ut(st){if(!st)return null;const ft=st.filter(Xe);return 0==ft.length?null:function(X){const Ft=vr(X,ft).map(Er);return(0,y.p)(Ft).pipe((0,S.T)(gr))}}function Ae(st){return null!=st?Ut(ke(st)):null}function Xt(st,ft){return null===st?[ft]:Array.isArray(st)?[...st,ft]:[st,ft]}function pe(st){return st._rawValidators}function te(st){return st._rawAsyncValidators}function Ye(st){return st?Array.isArray(st)?st:[st]:[]}function We(st,ft){return Array.isArray(st)?st.includes(ft):st===ft}function Bt(st,ft){const X=Ye(ft);return Ye(st).forEach($e=>{We(X,$e)||X.push($e)}),X}function Zt(st,ft){return Ye(ft).filter(X=>!We(st,X))}class Ot{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(ft){this._rawValidators=ft||[],this._composedValidatorFn=wt(this._rawValidators)}_setAsyncValidators(ft){this._rawAsyncValidators=ft||[],this._composedAsyncValidatorFn=Ae(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ft){this._onDestroyCallbacks.push(ft)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ft=>ft()),this._onDestroyCallbacks=[]}reset(ft=void 0){this.control&&this.control.reset(ft)}hasError(ft,X){return!!this.control&&this.control.hasError(ft,X)}getError(ft,X){return this.control?this.control.getError(ft,X):null}}class le extends Ot{get formDirective(){return null}get path(){return null}}class qt extends Ot{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ve{constructor(ft){this._cd=ft}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Ke=(()=>{class st extends Ve{constructor(X){super(X)}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(qt,2))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ft,$e){2&Ft&&o.AVh("ng-untouched",$e.isUntouched)("ng-touched",$e.isTouched)("ng-pristine",$e.isPristine)("ng-dirty",$e.isDirty)("ng-valid",$e.isValid)("ng-invalid",$e.isInvalid)("ng-pending",$e.isPending)},features:[o.Vt3]})}}return st})(),Fe=(()=>{class st extends Ve{constructor(X){super(X)}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(le,10))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ft,$e){2&Ft&&o.AVh("ng-untouched",$e.isUntouched)("ng-touched",$e.isTouched)("ng-pristine",$e.isPristine)("ng-dirty",$e.isDirty)("ng-valid",$e.isValid)("ng-invalid",$e.isInvalid)("ng-pending",$e.isPending)("ng-submitted",$e.isSubmitted)},features:[o.Vt3]})}}return st})();const Hr="VALID",eo="INVALID",Bo="PENDING",fr="DISABLED";class Fr{}class ne extends Fr{constructor(ft,X){super(),this.value=ft,this.source=X}}class re extends Fr{constructor(ft,X){super(),this.pristine=ft,this.source=X}}class Lt extends Fr{constructor(ft,X){super(),this.touched=ft,this.source=X}}class he extends Fr{constructor(ft,X){super(),this.status=ft,this.source=X}}class mr extends Fr{constructor(ft){super(),this.source=ft}}class Qr extends Fr{constructor(ft){super(),this.source=ft}}function Ro(st){return(Ee(st)?st.validators:st)||null}function tr(st,ft){return(Ee(ft)?ft.asyncValidators:st)||null}function Ee(st){return null!=st&&!Array.isArray(st)&&"object"==typeof st}function qe(st,ft,X){const Ft=st.controls;if(!(ft?Object.keys(Ft):Ft).length)throw new o.wOt(1e3,"");if(!Ft[X])throw new o.wOt(1001,"")}function Ce(st,ft,X){st._forEachChild((Ft,$e)=>{if(void 0===X[$e])throw new o.wOt(1002,"")})}class be{constructor(ft,X){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,o.EWP)(()=>this.statusReactive()),this.statusReactive=(0,o.vPA)(void 0),this._pristine=(0,o.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,o.vPA)(!0),this._touched=(0,o.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,o.vPA)(!1),this._events=new k.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(ft),this._assignAsyncValidators(X)}get validator(){return this._composedValidatorFn}set validator(ft){this._rawValidators=this._composedValidatorFn=ft}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ft){this._rawAsyncValidators=this._composedAsyncValidatorFn=ft}get parent(){return this._parent}get status(){return(0,o.O8t)(this.statusReactive)}set status(ft){(0,o.O8t)(()=>this.statusReactive.set(ft))}get valid(){return this.status===Hr}get invalid(){return this.status===eo}get pending(){return this.status==Bo}get disabled(){return this.status===fr}get enabled(){return this.status!==fr}get pristine(){return(0,o.O8t)(this.pristineReactive)}set pristine(ft){(0,o.O8t)(()=>this.pristineReactive.set(ft))}get dirty(){return!this.pristine}get touched(){return(0,o.O8t)(this.touchedReactive)}set touched(ft){(0,o.O8t)(()=>this.touchedReactive.set(ft))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ft){this._assignValidators(ft)}setAsyncValidators(ft){this._assignAsyncValidators(ft)}addValidators(ft){this.setValidators(Bt(ft,this._rawValidators))}addAsyncValidators(ft){this.setAsyncValidators(Bt(ft,this._rawAsyncValidators))}removeValidators(ft){this.setValidators(Zt(ft,this._rawValidators))}removeAsyncValidators(ft){this.setAsyncValidators(Zt(ft,this._rawAsyncValidators))}hasValidator(ft){return We(this._rawValidators,ft)}hasAsyncValidator(ft){return We(this._rawAsyncValidators,ft)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ft={}){const X=!1===this.touched;this.touched=!0;const Ft=ft.sourceControl??this;this._parent&&!ft.onlySelf&&this._parent.markAsTouched({...ft,sourceControl:Ft}),X&&!1!==ft.emitEvent&&this._events.next(new Lt(!0,Ft))}markAllAsTouched(ft={}){this.markAsTouched({onlySelf:!0,emitEvent:ft.emitEvent,sourceControl:this}),this._forEachChild(X=>X.markAllAsTouched(ft))}markAsUntouched(ft={}){const X=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Ft=ft.sourceControl??this;this._forEachChild($e=>{$e.markAsUntouched({onlySelf:!0,emitEvent:ft.emitEvent,sourceControl:Ft})}),this._parent&&!ft.onlySelf&&this._parent._updateTouched(ft,Ft),X&&!1!==ft.emitEvent&&this._events.next(new Lt(!1,Ft))}markAsDirty(ft={}){const X=!0===this.pristine;this.pristine=!1;const Ft=ft.sourceControl??this;this._parent&&!ft.onlySelf&&this._parent.markAsDirty({...ft,sourceControl:Ft}),X&&!1!==ft.emitEvent&&this._events.next(new re(!1,Ft))}markAsPristine(ft={}){const X=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Ft=ft.sourceControl??this;this._forEachChild($e=>{$e.markAsPristine({onlySelf:!0,emitEvent:ft.emitEvent})}),this._parent&&!ft.onlySelf&&this._parent._updatePristine(ft,Ft),X&&!1!==ft.emitEvent&&this._events.next(new re(!0,Ft))}markAsPending(ft={}){this.status=Bo;const X=ft.sourceControl??this;!1!==ft.emitEvent&&(this._events.next(new he(this.status,X)),this.statusChanges.emit(this.status)),this._parent&&!ft.onlySelf&&this._parent.markAsPending({...ft,sourceControl:X})}disable(ft={}){const X=this._parentMarkedDirty(ft.onlySelf);this.status=fr,this.errors=null,this._forEachChild($e=>{$e.disable({...ft,onlySelf:!0})}),this._updateValue();const Ft=ft.sourceControl??this;!1!==ft.emitEvent&&(this._events.next(new ne(this.value,Ft)),this._events.next(new he(this.status,Ft)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ft,skipPristineCheck:X},this),this._onDisabledChange.forEach($e=>$e(!0))}enable(ft={}){const X=this._parentMarkedDirty(ft.onlySelf);this.status=Hr,this._forEachChild(Ft=>{Ft.enable({...ft,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ft.emitEvent}),this._updateAncestors({...ft,skipPristineCheck:X},this),this._onDisabledChange.forEach(Ft=>Ft(!1))}_updateAncestors(ft,X){this._parent&&!ft.onlySelf&&(this._parent.updateValueAndValidity(ft),ft.skipPristineCheck||this._parent._updatePristine({},X),this._parent._updateTouched({},X))}setParent(ft){this._parent=ft}getRawValue(){return this.value}updateValueAndValidity(ft={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Ft=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Hr||this.status===Bo)&&this._runAsyncValidator(Ft,ft.emitEvent)}const X=ft.sourceControl??this;!1!==ft.emitEvent&&(this._events.next(new ne(this.value,X)),this._events.next(new he(this.status,X)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ft.onlySelf&&this._parent.updateValueAndValidity({...ft,sourceControl:X})}_updateTreeValidity(ft={emitEvent:!0}){this._forEachChild(X=>X._updateTreeValidity(ft)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ft.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fr:Hr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ft,X){if(this.asyncValidator){this.status=Bo,this._hasOwnPendingAsyncValidator={emitEvent:!1!==X};const Ft=Er(this.asyncValidator(this));this._asyncValidationSubscription=Ft.subscribe($e=>{this._hasOwnPendingAsyncValidator=null,this.setErrors($e,{emitEvent:X,shouldHaveEmitted:ft})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const ft=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,ft}return!1}setErrors(ft,X={}){this.errors=ft,this._updateControlsErrors(!1!==X.emitEvent,this,X.shouldHaveEmitted)}get(ft){let X=ft;return null==X||(Array.isArray(X)||(X=X.split(".")),0===X.length)?null:X.reduce((Ft,$e)=>Ft&&Ft._find($e),this)}getError(ft,X){const Ft=X?this.get(X):this;return Ft&&Ft.errors?Ft.errors[ft]:null}hasError(ft,X){return!!this.getError(ft,X)}get root(){let ft=this;for(;ft._parent;)ft=ft._parent;return ft}_updateControlsErrors(ft,X,Ft){this.status=this._calculateStatus(),ft&&this.statusChanges.emit(this.status),(ft||Ft)&&this._events.next(new he(this.status,X)),this._parent&&this._parent._updateControlsErrors(ft,X,Ft)}_initObservables(){this.valueChanges=new o.bkB,this.statusChanges=new o.bkB}_calculateStatus(){return this._allControlsDisabled()?fr:this.errors?eo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bo)?Bo:this._anyControlsHaveStatus(eo)?eo:Hr}_anyControlsHaveStatus(ft){return this._anyControls(X=>X.status===ft)}_anyControlsDirty(){return this._anyControls(ft=>ft.dirty)}_anyControlsTouched(){return this._anyControls(ft=>ft.touched)}_updatePristine(ft,X){const Ft=!this._anyControlsDirty(),$e=this.pristine!==Ft;this.pristine=Ft,this._parent&&!ft.onlySelf&&this._parent._updatePristine(ft,X),$e&&this._events.next(new re(this.pristine,X))}_updateTouched(ft={},X){this.touched=this._anyControlsTouched(),this._events.next(new Lt(this.touched,X)),this._parent&&!ft.onlySelf&&this._parent._updateTouched(ft,X)}_registerOnCollectionChange(ft){this._onCollectionChange=ft}_setUpdateStrategy(ft){Ee(ft)&&null!=ft.updateOn&&(this._updateOn=ft.updateOn)}_parentMarkedDirty(ft){return!ft&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ft){return null}_assignValidators(ft){this._rawValidators=Array.isArray(ft)?ft.slice():ft,this._composedValidatorFn=function Ko(st){return Array.isArray(st)?wt(st):st||null}(this._rawValidators)}_assignAsyncValidators(ft){this._rawAsyncValidators=Array.isArray(ft)?ft.slice():ft,this._composedAsyncValidatorFn=function Ue(st){return Array.isArray(st)?Ae(st):st||null}(this._rawAsyncValidators)}}class Yt extends be{constructor(ft,X,Ft){super(Ro(X),tr(Ft,X)),this.controls=ft,this._initObservables(),this._setUpdateStrategy(X),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ft,X){return this.controls[ft]?this.controls[ft]:(this.controls[ft]=X,X.setParent(this),X._registerOnCollectionChange(this._onCollectionChange),X)}addControl(ft,X,Ft={}){this.registerControl(ft,X),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}removeControl(ft,X={}){this.controls[ft]&&this.controls[ft]._registerOnCollectionChange(()=>{}),delete this.controls[ft],this.updateValueAndValidity({emitEvent:X.emitEvent}),this._onCollectionChange()}setControl(ft,X,Ft={}){this.controls[ft]&&this.controls[ft]._registerOnCollectionChange(()=>{}),delete this.controls[ft],X&&this.registerControl(ft,X),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}contains(ft){return this.controls.hasOwnProperty(ft)&&this.controls[ft].enabled}setValue(ft,X={}){Ce(this,0,ft),Object.keys(ft).forEach(Ft=>{qe(this,!0,Ft),this.controls[Ft].setValue(ft[Ft],{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X)}patchValue(ft,X={}){null!=ft&&(Object.keys(ft).forEach(Ft=>{const $e=this.controls[Ft];$e&&$e.patchValue(ft[Ft],{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X))}reset(ft={},X={}){this._forEachChild((Ft,$e)=>{Ft.reset(ft?ft[$e]:null,{onlySelf:!0,emitEvent:X.emitEvent})}),this._updatePristine(X,this),this._updateTouched(X,this),this.updateValueAndValidity(X)}getRawValue(){return this._reduceChildren({},(ft,X,Ft)=>(ft[Ft]=X.getRawValue(),ft))}_syncPendingControls(){let ft=this._reduceChildren(!1,(X,Ft)=>!!Ft._syncPendingControls()||X);return ft&&this.updateValueAndValidity({onlySelf:!0}),ft}_forEachChild(ft){Object.keys(this.controls).forEach(X=>{const Ft=this.controls[X];Ft&&ft(Ft,X)})}_setUpControls(){this._forEachChild(ft=>{ft.setParent(this),ft._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ft){for(const[X,Ft]of Object.entries(this.controls))if(this.contains(X)&&ft(Ft))return!0;return!1}_reduceValue(){return this._reduceChildren({},(X,Ft,$e)=>((Ft.enabled||this.disabled)&&(X[$e]=Ft.value),X))}_reduceChildren(ft,X){let Ft=ft;return this._forEachChild(($e,No)=>{Ft=X(Ft,$e,No)}),Ft}_allControlsDisabled(){for(const ft of Object.keys(this.controls))if(this.controls[ft].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ft){return this.controls.hasOwnProperty(ft)?this.controls[ft]:null}}class Co extends Yt{}const qn=new o.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Yo}),Yo="always";function ai(st,ft){return[...ft.path,st]}function Po(st,ft,X=Yo){He(st,ft),ft.valueAccessor.writeValue(st.value),(st.disabled||"always"===X)&&ft.valueAccessor.setDisabledState?.(st.disabled),function Pr(st,ft){ft.valueAccessor.registerOnChange(X=>{st._pendingValue=X,st._pendingChange=!0,st._pendingDirty=!0,"change"===st.updateOn&&ao(st,ft)})}(st,ft),function no(st,ft){const X=(Ft,$e)=>{ft.valueAccessor.writeValue(Ft),$e&&ft.viewToModelUpdate(Ft)};st.registerOnChange(X),ft._registerOnDestroy(()=>{st._unregisterOnChange(X)})}(st,ft),function Ur(st,ft){ft.valueAccessor.registerOnTouched(()=>{st._pendingTouched=!0,"blur"===st.updateOn&&st._pendingChange&&ao(st,ft),"submit"!==st.updateOn&&st.markAsTouched()})}(st,ft),function Oe(st,ft){if(ft.valueAccessor.setDisabledState){const X=Ft=>{ft.valueAccessor.setDisabledState(Ft)};st.registerOnDisabledChange(X),ft._registerOnDestroy(()=>{st._unregisterOnDisabledChange(X)})}}(st,ft)}function gi(st,ft,X=!0){const Ft=()=>{};ft.valueAccessor&&(ft.valueAccessor.registerOnChange(Ft),ft.valueAccessor.registerOnTouched(Ft)),Dr(st,ft),st&&(ft._invokeOnDestroyCallbacks(),st._registerOnCollectionChange(()=>{}))}function ni(st,ft){st.forEach(X=>{X.registerOnValidatorChange&&X.registerOnValidatorChange(ft)})}function He(st,ft){const X=pe(st);null!==ft.validator?st.setValidators(Xt(X,ft.validator)):"function"==typeof X&&st.setValidators([X]);const Ft=te(st);null!==ft.asyncValidator?st.setAsyncValidators(Xt(Ft,ft.asyncValidator)):"function"==typeof Ft&&st.setAsyncValidators([Ft]);const $e=()=>st.updateValueAndValidity();ni(ft._rawValidators,$e),ni(ft._rawAsyncValidators,$e)}function Dr(st,ft){let X=!1;if(null!==st){if(null!==ft.validator){const $e=pe(st);if(Array.isArray($e)&&$e.length>0){const No=$e.filter(pn=>pn!==ft.validator);No.length!==$e.length&&(X=!0,st.setValidators(No))}}if(null!==ft.asyncValidator){const $e=te(st);if(Array.isArray($e)&&$e.length>0){const No=$e.filter(pn=>pn!==ft.asyncValidator);No.length!==$e.length&&(X=!0,st.setAsyncValidators(No))}}}const Ft=()=>{};return ni(ft._rawValidators,Ft),ni(ft._rawAsyncValidators,Ft),X}function ao(st,ft){st._pendingDirty&&st.markAsDirty(),st.setValue(st._pendingValue,{emitModelToViewChange:!1}),ft.viewToModelUpdate(st._pendingValue),st._pendingChange=!1}function _o(st,ft){He(st,ft)}function Kt(st,ft){if(!st.hasOwnProperty("model"))return!1;const X=st.model;return!!X.isFirstChange()||!Object.is(ft,X.currentValue)}function ae(st,ft){st._syncPendingControls(),ft.forEach(X=>{const Ft=X.control;"submit"===Ft.updateOn&&Ft._pendingChange&&(X.viewToModelUpdate(Ft._pendingValue),Ft._pendingChange=!1)})}function Re(st,ft){if(!ft)return null;let X,Ft,$e;return Array.isArray(ft),ft.forEach(No=>{No.constructor===ct?X=No:function Ct(st){return Object.getPrototypeOf(st.constructor)===T}(No)?Ft=No:$e=No}),$e||Ft||X||null}const Cr={provide:le,useExisting:(0,o.Rfq)(()=>Lr)},kr=Promise.resolve();let Lr=(()=>{class st extends le{get submitted(){return(0,o.O8t)(this.submittedReactive)}constructor(X,Ft,$e){super(),this.callSetDisabledState=$e,this._submitted=(0,o.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,o.vPA)(!1),this._directives=new Set,this.ngSubmit=new o.bkB,this.form=new Yt({},wt(X),Ae(Ft))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(X){kr.then(()=>{const Ft=this._findContainer(X.path);X.control=Ft.registerControl(X.name,X.control),Po(X.control,X,this.callSetDisabledState),X.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(X)})}getControl(X){return this.form.get(X.path)}removeControl(X){kr.then(()=>{const Ft=this._findContainer(X.path);Ft&&Ft.removeControl(X.name),this._directives.delete(X)})}addFormGroup(X){kr.then(()=>{const Ft=this._findContainer(X.path),$e=new Yt({});_o($e,X),Ft.registerControl(X.name,$e),$e.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(X){kr.then(()=>{const Ft=this._findContainer(X.path);Ft&&Ft.removeControl(X.name)})}getFormGroup(X){return this.form.get(X.path)}updateModel(X,Ft){kr.then(()=>{this.form.get(X.path).setValue(Ft)})}setValue(X){this.control.setValue(X)}onSubmit(X){return this.submittedReactive.set(!0),ae(this.form,this._directives),this.ngSubmit.emit(X),"dialog"===X?.target?.method}onReset(){this.resetForm()}resetForm(X=void 0){this.form.reset(X),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(X){return X.pop(),X.length?this.form.get(X):this.form}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(xt,10),o.rXU(Tt,10),o.rXU(qn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ft,$e){1&Ft&&o.bIt("submit",function(pn){return $e.onSubmit(pn)})("reset",function(){return $e.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Cr]),o.Vt3]})}}return st})();function Br(st,ft){const X=st.indexOf(ft);X>-1&&st.splice(X,1)}function qr(st){return"object"==typeof st&&null!==st&&2===Object.keys(st).length&&"value"in st&&"disabled"in st}const to=class extends be{constructor(ft=null,X,Ft){super(Ro(X),tr(Ft,X)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ft),this._setUpdateStrategy(X),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ee(X)&&(X.nonNullable||X.initialValueIsDefault)&&(this.defaultValue=qr(ft)?ft.value:ft)}setValue(ft,X={}){this.value=this._pendingValue=ft,this._onChange.length&&!1!==X.emitModelToViewChange&&this._onChange.forEach(Ft=>Ft(this.value,!1!==X.emitViewToModelChange)),this.updateValueAndValidity(X)}patchValue(ft,X={}){this.setValue(ft,X)}reset(ft=this.defaultValue,X={}){this._applyFormState(ft),this.markAsPristine(X),this.markAsUntouched(X),this.setValue(this.value,X),this._pendingChange=!1}_updateValue(){}_anyControls(ft){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ft){this._onChange.push(ft)}_unregisterOnChange(ft){Br(this._onChange,ft)}registerOnDisabledChange(ft){this._onDisabledChange.push(ft)}_unregisterOnDisabledChange(ft){Br(this._onDisabledChange,ft)}_forEachChild(ft){}_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(ft){qr(ft)?(this.value=this._pendingValue=ft.value,ft.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ft}},ko=to,Ki={provide:qt,useExisting:(0,o.Rfq)(()=>Fa)},on=Promise.resolve();let Fa=(()=>{class st extends qt{constructor(X,Ft,$e,No,pn,ha){super(),this._changeDetectorRef=pn,this.callSetDisabledState=ha,this.control=new to,this._registered=!1,this.name="",this.update=new o.bkB,this._parent=X,this._setValidators(Ft),this._setAsyncValidators($e),this.valueAccessor=Re(0,No)}ngOnChanges(X){if(this._checkForErrors(),!this._registered||"name"in X){if(this._registered&&(this._checkName(),this.formDirective)){const Ft=X.name.previousValue;this.formDirective.removeControl({name:Ft,path:this._getPath(Ft)})}this._setUpControl()}"isDisabled"in X&&this._updateDisabled(X),Kt(X,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(X){this.viewModel=X,this.update.emit(X)}_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(){Po(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(X){on.then(()=>{this.control.setValue(X,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(X){const Ft=X.isDisabled.currentValue,$e=0!==Ft&&(0,o.L39)(Ft);on.then(()=>{$e&&!this.control.disabled?this.control.disable():!$e&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(X){return this._parent?ai(X,this._parent):[X]}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(le,9),o.rXU(xt,10),o.rXU(Tt,10),o.rXU(M,10),o.rXU(o.gRc,8),o.rXU(qn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o.Jv_([Ki]),o.Vt3,o.OA$]})}}return st})(),Mn=(()=>{class st{static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275dir=o.FsC({type:st,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return st})();const _i={provide:M,useExisting:(0,o.Rfq)(()=>ds),multi:!0};let ds=(()=>{class st extends T{writeValue(X){this.setProperty("value",X??"")}registerOnChange(X){this.onChange=Ft=>{X(""==Ft?null:parseFloat(Ft))}}static{this.\u0275fac=(()=>{let X;return function($e){return(X||(X=o.xGo(st)))($e||st)}})()}static{this.\u0275dir=o.FsC({type:st,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ft,$e){1&Ft&&o.bIt("input",function(pn){return $e.onChange(pn.target.value)})("blur",function(){return $e.onTouched()})},features:[o.Jv_([_i]),o.Vt3]})}}return st})();const Tn=new o.nKC(""),ua={provide:qt,useExisting:(0,o.Rfq)(()=>bi)};let bi=(()=>{class st extends qt{set isDisabled(X){}static{this._ngModelWarningSentOnce=!1}constructor(X,Ft,$e,No,pn){super(),this._ngModelWarningConfig=No,this.callSetDisabledState=pn,this.update=new o.bkB,this._ngModelWarningSent=!1,this._setValidators(X),this._setAsyncValidators(Ft),this.valueAccessor=Re(0,$e)}ngOnChanges(X){if(this._isControlChanged(X)){const Ft=X.form.previousValue;Ft&&gi(Ft,this,!1),Po(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Kt(X,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&gi(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(X){this.viewModel=X,this.update.emit(X)}_isControlChanged(X){return X.hasOwnProperty("form")}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(xt,10),o.rXU(Tt,10),o.rXU(M,10),o.rXU(Tn,8),o.rXU(qn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o.Jv_([ua]),o.Vt3,o.OA$]})}}return st})();const Go={provide:le,useExisting:(0,o.Rfq)(()=>pa)};let pa=(()=>{class st extends le{get submitted(){return(0,o.O8t)(this._submittedReactive)}set submitted(X){this._submittedReactive.set(X)}constructor(X,Ft,$e){super(),this.callSetDisabledState=$e,this._submitted=(0,o.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,o.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.bkB,this._setValidators(X),this._setAsyncValidators(Ft)}ngOnChanges(X){this._checkFormPresent(),X.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Dr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(X){const Ft=this.form.get(X.path);return Po(Ft,X,this.callSetDisabledState),Ft.updateValueAndValidity({emitEvent:!1}),this.directives.push(X),Ft}getControl(X){return this.form.get(X.path)}removeControl(X){gi(X.control||null,X,!1),function De(st,ft){const X=st.indexOf(ft);X>-1&&st.splice(X,1)}(this.directives,X)}addFormGroup(X){this._setUpFormContainer(X)}removeFormGroup(X){this._cleanUpFormContainer(X)}getFormGroup(X){return this.form.get(X.path)}addFormArray(X){this._setUpFormContainer(X)}removeFormArray(X){this._cleanUpFormContainer(X)}getFormArray(X){return this.form.get(X.path)}updateModel(X,Ft){this.form.get(X.path).setValue(Ft)}onSubmit(X){return this._submittedReactive.set(!0),ae(this.form,this.directives),this.ngSubmit.emit(X),this.form._events.next(new mr(this.control)),"dialog"===X?.target?.method}onReset(){this.resetForm()}resetForm(X=void 0){this.form.reset(X),this._submittedReactive.set(!1),this.form._events.next(new Qr(this.form))}_updateDomValue(){this.directives.forEach(X=>{const Ft=X.control,$e=this.form.get(X.path);Ft!==$e&&(gi(Ft||null,X),(st=>st instanceof to)($e)&&(Po($e,X,this.callSetDisabledState),X.control=$e))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(X){const Ft=this.form.get(X.path);_o(Ft,X),Ft.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(X){if(this.form){const Ft=this.form.get(X.path);Ft&&function Do(st,ft){return Dr(st,ft)}(Ft,X)&&Ft.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){He(this.form,this),this._oldForm&&Dr(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(xt,10),o.rXU(Tt,10),o.rXU(qn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formGroup",""]],hostBindings:function(Ft,$e){1&Ft&&o.bIt("submit",function(pn){return $e.onSubmit(pn)})("reset",function(){return $e.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Go]),o.Vt3,o.OA$]})}}return st})();const xa={provide:qt,useExisting:(0,o.Rfq)(()=>On)};let On=(()=>{class st extends qt{set isDisabled(X){}static{this._ngModelWarningSentOnce=!1}constructor(X,Ft,$e,No,pn){super(),this._ngModelWarningConfig=pn,this._added=!1,this.name=null,this.update=new o.bkB,this._ngModelWarningSent=!1,this._parent=X,this._setValidators(Ft),this._setAsyncValidators($e),this.valueAccessor=Re(0,No)}ngOnChanges(X){this._added||this._setUpControl(),Kt(X,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(X){this.viewModel=X,this.update.emit(X)}get path(){return ai(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(le,13),o.rXU(xt,10),o.rXU(Tt,10),o.rXU(M,10),o.rXU(Tn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[o.Jv_([xa]),o.Vt3,o.OA$]})}}return st})(),di=(()=>{class st{constructor(){this._validator=ie}ngOnChanges(X){if(this.inputName in X){const Ft=this.normalizeInput(X[this.inputName].currentValue);this._enabled=this.enabled(Ft),this._validator=this._enabled?this.createValidator(Ft):ie,this._onChange&&this._onChange()}}validate(X){return this._validator(X)}registerOnValidatorChange(X){this._onChange=X}enabled(X){return null!=X}static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275dir=o.FsC({type:st,features:[o.OA$]})}}return st})();const ma={provide:xt,useExisting:(0,o.Rfq)(()=>Ei),multi:!0},ts={provide:xt,useExisting:(0,o.Rfq)(()=>G),multi:!0};let Ei=(()=>{class st extends di{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.L39,this.createValidator=X=>at}enabled(X){return X}static{this.\u0275fac=(()=>{let X;return function($e){return(X||(X=o.xGo(st)))($e||st)}})()}static{this.\u0275dir=o.FsC({type:st,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ft,$e){2&Ft&&o.BMQ("required",$e._enabled?"":null)},inputs:{required:"required"},features:[o.Jv_([ma]),o.Vt3]})}}return st})(),G=(()=>{class st extends Ei{constructor(){super(...arguments),this.createValidator=X=>et}static{this.\u0275fac=(()=>{let X;return function($e){return(X||(X=o.xGo(st)))($e||st)}})()}static{this.\u0275dir=o.FsC({type:st,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ft,$e){2&Ft&&o.BMQ("required",$e._enabled?"":null)},features:[o.Jv_([ts]),o.Vt3]})}}return st})(),Wn=(()=>{class st{static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275mod=o.$C({type:st})}static{this.\u0275inj=o.G2t({})}}return st})();class Mi extends be{constructor(ft,X,Ft){super(Ro(X),tr(Ft,X)),this.controls=ft,this._initObservables(),this._setUpdateStrategy(X),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ft){return this.controls[this._adjustIndex(ft)]}push(ft,X={}){this.controls.push(ft),this._registerControl(ft),this.updateValueAndValidity({emitEvent:X.emitEvent}),this._onCollectionChange()}insert(ft,X,Ft={}){this.controls.splice(ft,0,X),this._registerControl(X),this.updateValueAndValidity({emitEvent:Ft.emitEvent})}removeAt(ft,X={}){let Ft=this._adjustIndex(ft);Ft<0&&(Ft=0),this.controls[Ft]&&this.controls[Ft]._registerOnCollectionChange(()=>{}),this.controls.splice(Ft,1),this.updateValueAndValidity({emitEvent:X.emitEvent})}setControl(ft,X,Ft={}){let $e=this._adjustIndex(ft);$e<0&&($e=0),this.controls[$e]&&this.controls[$e]._registerOnCollectionChange(()=>{}),this.controls.splice($e,1),X&&(this.controls.splice($e,0,X),this._registerControl(X)),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ft,X={}){Ce(this,0,ft),ft.forEach((Ft,$e)=>{qe(this,!1,$e),this.at($e).setValue(Ft,{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X)}patchValue(ft,X={}){null!=ft&&(ft.forEach((Ft,$e)=>{this.at($e)&&this.at($e).patchValue(Ft,{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X))}reset(ft=[],X={}){this._forEachChild((Ft,$e)=>{Ft.reset(ft[$e],{onlySelf:!0,emitEvent:X.emitEvent})}),this._updatePristine(X,this),this._updateTouched(X,this),this.updateValueAndValidity(X)}getRawValue(){return this.controls.map(ft=>ft.getRawValue())}clear(ft={}){this.controls.length<1||(this._forEachChild(X=>X._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ft.emitEvent}))}_adjustIndex(ft){return ft<0?ft+this.length:ft}_syncPendingControls(){let ft=this.controls.reduce((X,Ft)=>!!Ft._syncPendingControls()||X,!1);return ft&&this.updateValueAndValidity({onlySelf:!0}),ft}_forEachChild(ft){this.controls.forEach((X,Ft)=>{ft(X,Ft)})}_updateValue(){this.value=this.controls.filter(ft=>ft.enabled||this.disabled).map(ft=>ft.value)}_anyControls(ft){return this.controls.some(X=>X.enabled&&ft(X))}_setUpControls(){this._forEachChild(ft=>this._registerControl(ft))}_allControlsDisabled(){for(const ft of this.controls)if(ft.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ft){ft.setParent(this),ft._registerOnCollectionChange(this._onCollectionChange)}_find(ft){return this.at(ft)??null}}function zi(st){return!!st&&(void 0!==st.asyncValidators||void 0!==st.validators||void 0!==st.updateOn)}let In=(()=>{class st{constructor(){this.useNonNullable=!1}get nonNullable(){const X=new st;return X.useNonNullable=!0,X}group(X,Ft=null){const $e=this._reduceControls(X);let No={};return zi(Ft)?No=Ft:null!==Ft&&(No.validators=Ft.validator,No.asyncValidators=Ft.asyncValidator),new Yt($e,No)}record(X,Ft=null){const $e=this._reduceControls(X);return new Co($e,Ft)}control(X,Ft,$e){let No={};return this.useNonNullable?(zi(Ft)?No=Ft:(No.validators=Ft,No.asyncValidators=$e),new to(X,{...No,nonNullable:!0})):new to(X,Ft,$e)}array(X,Ft,$e){const No=X.map(pn=>this._createControl(pn));return new Mi(No,Ft,$e)}_reduceControls(X){const Ft={};return Object.keys(X).forEach($e=>{Ft[$e]=this._createControl(X[$e])}),Ft}_createControl(X){return X instanceof to||X instanceof be?X:Array.isArray(X)?this.control(X[0],X.length>1?X[1]:null,X.length>2?X[2]:null):this.control(X)}static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275prov=o.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}}return st})(),yi=(()=>{class st extends In{group(X,Ft=null){return super.group(X,Ft)}control(X,Ft,$e){return super.control(X,Ft,$e)}array(X,Ft,$e){return super.array(X,Ft,$e)}static{this.\u0275fac=(()=>{let X;return function($e){return(X||(X=o.xGo(st)))($e||st)}})()}static{this.\u0275prov=o.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}}return st})(),Kn=(()=>{class st{static withConfig(X){return{ngModule:st,providers:[{provide:qn,useValue:X.callSetDisabledState??Yo}]}}static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275mod=o.$C({type:st})}static{this.\u0275inj=o.G2t({imports:[Wn]})}}return st})(),Xi=(()=>{class st{static withConfig(X){return{ngModule:st,providers:[{provide:Tn,useValue:X.warnOnNgModelWithFormControl??"always"},{provide:qn,useValue:X.callSetDisabledState??Yo}]}}static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275mod=o.$C({type:st})}static{this.\u0275inj=o.G2t({imports:[Wn]})}}return st})()},8834:(i,a,r)=>{"use strict";r.d(a,{$0:()=>jt,$z:()=>_t,Hl:()=>gr,iY:()=>Xe,pQ:()=>Er});var o=r(6860),s=r(4438),c=r(9888),y=r(6600);const k=["mat-button",""],S=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],I=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],M=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",L=["mat-mini-fab",""],W=["mat-icon-button",""],q=["*"],ht=new s.nKC("MAT_BUTTON_CONFIG"),xt=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let Tt=(()=>{class vr{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(ke){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,ke)}get disableRipple(){return this._disableRipple}set disableRipple(ke){this._disableRipple=ke,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(ke){this._disabled=ke,this._updateRippleDisabled()}constructor(ke,Rt,wt,Ut){this._elementRef=ke,this._platform=Rt,this._ngZone=wt,this._animationMode=Ut,this._focusMonitor=(0,s.WQX)(c.FN),this._rippleLoader=(0,s.WQX)(y.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const Ae=(0,s.WQX)(ht,{optional:!0}),Xt=ke.nativeElement,pe=Xt.classList;this.disabledInteractive=Ae?.disabledInteractive??!1,this.color=Ae?.color??null,this._rippleLoader?.configureRipple(Xt,{className:"mat-mdc-button-ripple"});for(const{attribute:te,mdcClasses:Ye}of xt)Xt.hasAttribute(te)&&pe.add(...Ye)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(ke="program",Rt){ke?this._focusMonitor.focusVia(this._elementRef.nativeElement,ke,Rt):this._elementRef.nativeElement.focus(Rt)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(Rt){s.QTQ()}}static{this.\u0275dir=s.FsC({type:vr,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",s.L39],disabled:[2,"disabled","disabled",s.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",s.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",s.L39]},features:[s.GFd]})}}return vr})(),St=(()=>{class vr extends Tt{constructor(ke,Rt,wt,Ut){super(ke,Rt,wt,Ut),this._haltDisabledEvents=Ae=>{this.disabled&&(Ae.preventDefault(),Ae.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return null==this.ariaDisabled?this.disabled:this.ariaDisabled}static{this.\u0275fac=function(Rt){s.QTQ()}}static{this.\u0275dir=s.FsC({type:vr,inputs:{tabIndex:[2,"tabIndex","tabIndex",ke=>null==ke?void 0:(0,s.Udg)(ke)]},features:[s.GFd,s.Vt3]})}}return vr})(),_t=(()=>{class vr extends Tt{constructor(ke,Rt,wt,Ut){super(ke,Rt,wt,Ut)}static{this.\u0275fac=function(Rt){return new(Rt||vr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:vr,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(Rt,wt){2&Rt&&(s.BMQ("disabled",wt._getDisabledAttribute())("aria-disabled",wt._getAriaDisabled()),s.HbH(wt.color?"mat-"+wt.color:""),s.AVh("mat-mdc-button-disabled",wt.disabled)("mat-mdc-button-disabled-interactive",wt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===wt._animationMode)("mat-unthemed",!wt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.Vt3,s.aNF],attrs:k,ngContentSelectors:I,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Rt,wt){1&Rt&&(s.NAR(S),s.nrm(0,"span",0),s.SdG(1),s.j41(2,"span",1),s.SdG(3,1),s.k0s(),s.SdG(4,2),s.nrm(5,"span",2)(6,"span",3)),2&Rt&&s.AVh("mdc-button__ripple",!wt._isFab)("mdc-fab__ripple",wt._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return vr})();const at=new s.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:et});function et(){return{color:"accent"}}const bt=et();let jt=(()=>{class vr extends Tt{constructor(ke,Rt,wt,Ut,Ae){super(ke,Rt,wt,Ut),this._options=Ae,this._isFab=!0,this._options=this._options||bt,this.color=this._options.color||bt.color}static{this.\u0275fac=function(Rt){return new(Rt||vr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8),s.rXU(at,8))}}static{this.\u0275cmp=s.VBU({type:vr,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(Rt,wt){2&Rt&&(s.BMQ("disabled",wt._getDisabledAttribute())("aria-disabled",wt._getAriaDisabled()),s.HbH(wt.color?"mat-"+wt.color:""),s.AVh("mat-mdc-button-disabled",wt.disabled)("mat-mdc-button-disabled-interactive",wt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===wt._animationMode)("mat-unthemed",!wt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.Vt3,s.aNF],attrs:L,ngContentSelectors:I,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Rt,wt){1&Rt&&(s.NAR(S),s.nrm(0,"span",0),s.SdG(1),s.j41(2,"span",1),s.SdG(3,1),s.k0s(),s.SdG(4,2),s.nrm(5,"span",2)(6,"span",3)),2&Rt&&s.AVh("mdc-button__ripple",!wt._isFab)("mdc-fab__ripple",wt._isFab)},styles:['.mat-mdc-fab-base{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-app-corner-large));color:var(--mat-fab-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-app-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-app-level3));height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-app-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}}return vr})(),Xe=(()=>{class vr extends Tt{constructor(ke,Rt,wt,Ut){super(ke,Rt,wt,Ut),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(Rt){return new(Rt||vr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:vr,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(Rt,wt){2&Rt&&(s.BMQ("disabled",wt._getDisabledAttribute())("aria-disabled",wt._getAriaDisabled()),s.HbH(wt.color?"mat-"+wt.color:""),s.AVh("mat-mdc-button-disabled",wt.disabled)("mat-mdc-button-disabled-interactive",wt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===wt._animationMode)("mat-unthemed",!wt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.Vt3,s.aNF],attrs:W,ngContentSelectors:q,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Rt,wt){1&Rt&&(s.NAR(),s.nrm(0,"span",0),s.SdG(1),s.nrm(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',M],encapsulation:2,changeDetection:0})}}return vr})(),Er=(()=>{class vr extends St{constructor(ke,Rt,wt,Ut){super(ke,Rt,wt,Ut)}static{this.\u0275fac=function(Rt){return new(Rt||vr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:vr,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(Rt,wt){2&Rt&&(s.BMQ("disabled",wt._getDisabledAttribute())("tabindex",wt.disabled&&!wt.disabledInteractive?-1:wt.tabIndex)("aria-disabled",wt._getDisabledAttribute()),s.HbH(wt.color?"mat-"+wt.color:""),s.AVh("mat-mdc-button-disabled",wt.disabled)("mat-mdc-button-disabled-interactive",wt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===wt._animationMode)("mat-unthemed",!wt.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[s.Vt3,s.aNF],attrs:W,ngContentSelectors:q,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Rt,wt){1&Rt&&(s.NAR(),s.nrm(0,"span",0),s.SdG(1),s.nrm(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',M],encapsulation:2,changeDetection:0})}}return vr})(),gr=(()=>{class vr{static{this.\u0275fac=function(Rt){return new(Rt||vr)}}static{this.\u0275mod=s.$C({type:vr})}static{this.\u0275inj=s.G2t({imports:[y.yE,y.pZ,y.yE]})}}return vr})()},6600:(i,a,r)=>{"use strict";r.d(a,{MJ:()=>wt,es:()=>Ot,N:()=>at,de:()=>Ut,Ju:()=>ke,QC:()=>ir,is:()=>Mt,yE:()=>et,wT:()=>eo,Sy:()=>Fr,MI:()=>Hr,r6:()=>$,Ej:()=>Ro,pZ:()=>Y,X0:()=>gr,tO:()=>Ko,jb:()=>Bo,TL:()=>fr});var o=r(4438),s=r(9888),c=r(8203),k=r(177),S=r(6860),I=r(4085),T=r(1413),M=r(7336);const J=["text"],W=[[["mat-icon"]],"*"],q=["mat-icon","*"];function ct(tr,Ue){if(1&tr&&o.nrm(0,"mat-pseudo-checkbox",1),2&tr){const Ee=o.XpG();o.Y8G("disabled",Ee.disabled)("state",Ee.selected?"checked":"unchecked")}}function ht(tr,Ue){if(1&tr&&o.nrm(0,"mat-pseudo-checkbox",3),2&tr){const Ee=o.XpG();o.Y8G("disabled",Ee.disabled)}}function tt(tr,Ue){if(1&tr&&(o.j41(0,"span",4),o.EFF(1),o.k0s()),2&tr){const Ee=o.XpG();o.R7$(),o.SpI("(",Ee.group.label,")")}}const xt=["mat-internal-form-field",""],Tt=["*"],at=new o.nKC("mat-sanity-checks",{providedIn:"root",factory:function nt(){return!0}});let et=(()=>{class tr{constructor(Ee,qe,Ce){this._sanityChecks=qe,this._document=Ce,this._hasDoneGlobalChecks=!1,Ee._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Ee){return!(0,S.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Ee])}static{this.\u0275fac=function(qe){return new(qe||tr)(o.KVO(s.Q_),o.KVO(at,8),o.KVO(k.qQ))}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[c.jI,c.jI]})}}return tr})();class gr{constructor(Ue,Ee,qe,Ce,be){this._defaultMatcher=Ue,this.ngControl=Ee,this._parentFormGroup=qe,this._parentForm=Ce,this._stateChanges=be,this.errorState=!1}updateErrorState(){const Ue=this.errorState,Ee=this._parentFormGroup||this._parentForm,qe=this.matcher||this._defaultMatcher,Ce=this.ngControl?this.ngControl.control:null,be=qe?.isErrorState(Ce,Ee)??!1;be!==Ue&&(this.errorState=be,this._stateChanges.next())}}const ke=new o.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function Rt(){return(0,o.WQX)(o.xe9)}});class wt{constructor(){this._localeChanges=new T.B,this.localeChanges=this._localeChanges}getValidDateOrNull(Ue){return this.isDateInstance(Ue)&&this.isValid(Ue)?Ue:null}deserialize(Ue){return null==Ue||this.isDateInstance(Ue)&&this.isValid(Ue)?Ue:this.invalid()}setLocale(Ue){this.locale=Ue,this._localeChanges.next()}compareDate(Ue,Ee){return this.getYear(Ue)-this.getYear(Ee)||this.getMonth(Ue)-this.getMonth(Ee)||this.getDate(Ue)-this.getDate(Ee)}sameDate(Ue,Ee){if(Ue&&Ee){let qe=this.isValid(Ue),Ce=this.isValid(Ee);return qe&&Ce?!this.compareDate(Ue,Ee):qe==Ce}return Ue==Ee}clampDate(Ue,Ee,qe){return Ee&&this.compareDate(Ue,Ee)<0?Ee:qe&&this.compareDate(Ue,qe)>0?qe:Ue}}const Ut=new o.nKC("mat-date-formats");let Ot=(()=>{class tr{isErrorState(Ee,qe){return!!(Ee&&Ee.invalid&&(Ee.touched||qe&&qe.submitted))}static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275prov=o.jDH({token:tr,factory:tr.\u0275fac,providedIn:"root"})}}return tr})();var Me=function(tr){return tr[tr.FADING_IN=0]="FADING_IN",tr[tr.VISIBLE=1]="VISIBLE",tr[tr.FADING_OUT=2]="FADING_OUT",tr[tr.HIDDEN=3]="HIDDEN",tr}(Me||{});class Ke{constructor(Ue,Ee,qe,Ce=!1){this._renderer=Ue,this.element=Ee,this.config=qe,this._animationForciblyDisabledThroughCss=Ce,this.state=Me.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const Fe=(0,S.BQ)({passive:!0,capture:!0});class Or{constructor(){this._events=new Map,this._delegateEventHandler=Ue=>{const Ee=(0,S.Fb)(Ue);Ee&&this._events.get(Ue.type)?.forEach((qe,Ce)=>{(Ce===Ee||Ce.contains(Ee))&&qe.forEach(be=>be.handleEvent(Ue))})}}addHandler(Ue,Ee,qe,Ce){const be=this._events.get(Ee);if(be){const Yt=be.get(qe);Yt?Yt.add(Ce):be.set(qe,new Set([Ce]))}else this._events.set(Ee,new Map([[qe,new Set([Ce])]])),Ue.runOutsideAngular(()=>{document.addEventListener(Ee,this._delegateEventHandler,Fe)})}removeHandler(Ue,Ee,qe){const Ce=this._events.get(Ue);if(!Ce)return;const be=Ce.get(Ee);be&&(be.delete(qe),0===be.size&&Ce.delete(Ee),0===Ce.size&&(this._events.delete(Ue),document.removeEventListener(Ue,this._delegateEventHandler,Fe)))}}const yo={enterDuration:225,exitDuration:150},Nt=(0,S.BQ)({passive:!0,capture:!0}),we=["mousedown","touchstart"],de=["mouseup","mouseleave","touchend","touchcancel"];class Ie{static{this._eventManager=new Or}constructor(Ue,Ee,qe,Ce){this._target=Ue,this._ngZone=Ee,this._platform=Ce,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ce.isBrowser&&(this._containerElement=(0,I.i8)(qe))}fadeInRipple(Ue,Ee,qe={}){const Ce=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),be={...yo,...qe.animation};qe.centered&&(Ue=Ce.left+Ce.width/2,Ee=Ce.top+Ce.height/2);const Yt=qe.radius||function br(tr,Ue,Ee){const qe=Math.max(Math.abs(tr-Ee.left),Math.abs(tr-Ee.right)),Ce=Math.max(Math.abs(Ue-Ee.top),Math.abs(Ue-Ee.bottom));return Math.sqrt(qe*qe+Ce*Ce)}(Ue,Ee,Ce),Se=Ue-Ce.left,ar=Ee-Ce.top,xr=be.enterDuration,Co=document.createElement("div");Co.classList.add("mat-ripple-element"),Co.style.left=Se-Yt+"px",Co.style.top=ar-Yt+"px",Co.style.height=2*Yt+"px",Co.style.width=2*Yt+"px",null!=qe.color&&(Co.style.backgroundColor=qe.color),Co.style.transitionDuration=`${xr}ms`,this._containerElement.appendChild(Co);const Vn=window.getComputedStyle(Co),Yo=Vn.transitionDuration,ai="none"===Vn.transitionProperty||"0s"===Yo||"0s, 0s"===Yo||0===Ce.width&&0===Ce.height,Po=new Ke(this,Co,qe,ai);Co.style.transform="scale3d(1, 1, 1)",Po.state=Me.FADING_IN,qe.persistent||(this._mostRecentTransientRipple=Po);let gi=null;return!ai&&(xr||be.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ni=()=>{gi&&(gi.fallbackTimer=null),clearTimeout(He),this._finishRippleTransition(Po)},Oe=()=>this._destroyRipple(Po),He=setTimeout(Oe,xr+100);Co.addEventListener("transitionend",ni),Co.addEventListener("transitioncancel",Oe),gi={onTransitionEnd:ni,onTransitionCancel:Oe,fallbackTimer:He}}),this._activeRipples.set(Po,gi),(ai||!xr)&&this._finishRippleTransition(Po),Po}fadeOutRipple(Ue){if(Ue.state===Me.FADING_OUT||Ue.state===Me.HIDDEN)return;const Ee=Ue.element,qe={...yo,...Ue.config.animation};Ee.style.transitionDuration=`${qe.exitDuration}ms`,Ee.style.opacity="0",Ue.state=Me.FADING_OUT,(Ue._animationForciblyDisabledThroughCss||!qe.exitDuration)&&this._finishRippleTransition(Ue)}fadeOutAll(){this._getActiveRipples().forEach(Ue=>Ue.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ue=>{Ue.config.persistent||Ue.fadeOut()})}setupTriggerEvents(Ue){const Ee=(0,I.i8)(Ue);!this._platform.isBrowser||!Ee||Ee===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Ee,we.forEach(qe=>{Ie._eventManager.addHandler(this._ngZone,qe,Ee,this)}))}handleEvent(Ue){"mousedown"===Ue.type?this._onMousedown(Ue):"touchstart"===Ue.type?this._onTouchStart(Ue):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{de.forEach(Ee=>{this._triggerElement.addEventListener(Ee,this,Nt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ue){Ue.state===Me.FADING_IN?this._startFadeOutTransition(Ue):Ue.state===Me.FADING_OUT&&this._destroyRipple(Ue)}_startFadeOutTransition(Ue){const Ee=Ue===this._mostRecentTransientRipple,{persistent:qe}=Ue.config;Ue.state=Me.VISIBLE,!qe&&(!Ee||!this._isPointerDown)&&Ue.fadeOut()}_destroyRipple(Ue){const Ee=this._activeRipples.get(Ue)??null;this._activeRipples.delete(Ue),this._activeRipples.size||(this._containerRect=null),Ue===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ue.state=Me.HIDDEN,null!==Ee&&(Ue.element.removeEventListener("transitionend",Ee.onTransitionEnd),Ue.element.removeEventListener("transitioncancel",Ee.onTransitionCancel),null!==Ee.fallbackTimer&&clearTimeout(Ee.fallbackTimer)),Ue.element.remove()}_onMousedown(Ue){const Ee=(0,s._G)(Ue),qe=this._lastTouchStartEvent&&Date.now(){!Ue.config.persistent&&(Ue.state===Me.VISIBLE||Ue.config.terminateOnPointerUp&&Ue.state===Me.FADING_IN)&&Ue.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Ue=this._triggerElement;Ue&&(we.forEach(Ee=>Ie._eventManager.removeHandler(Ee,Ue,this)),this._pointerUpEventsRegistered&&(de.forEach(Ee=>Ue.removeEventListener(Ee,this,Nt)),this._pointerUpEventsRegistered=!1))}}const gt=new o.nKC("mat-ripple-global-options");let $=(()=>{class tr{get disabled(){return this._disabled}set disabled(Ee){Ee&&this.fadeOutAllNonPersistent(),this._disabled=Ee,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Ee){this._trigger=Ee,this._setupTriggerEventsIfEnabled()}constructor(Ee,qe,Ce,be,Yt){this._elementRef=Ee,this._animationMode=Yt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=be||{},this._rippleRenderer=new Ie(this,qe,Ee,Ce)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(Ee,qe=0,Ce){return"number"==typeof Ee?this._rippleRenderer.fadeInRipple(Ee,qe,{...this.rippleConfig,...Ce}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Ee})}static{this.\u0275fac=function(qe){return new(qe||tr)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(S.OD),o.rXU(gt,8),o.rXU(o.bc$,8))}}static{this.\u0275dir=o.FsC({type:tr,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(qe,Ce){2&qe&&o.AVh("mat-ripple-unbounded",Ce.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return tr})(),Y=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[et,et]})}}return tr})(),it=(()=>{class tr{constructor(Ee){this._animationMode=Ee,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(qe){return new(qe||tr)(o.rXU(o.bc$,8))}}static{this.\u0275cmp=o.VBU({type:tr,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(qe,Ce){2&qe&&o.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===Ce.state)("mat-pseudo-checkbox-checked","checked"===Ce.state)("mat-pseudo-checkbox-disabled",Ce.disabled)("mat-pseudo-checkbox-minimal","minimal"===Ce.appearance)("mat-pseudo-checkbox-full","full"===Ce.appearance)("_mat-animation-noopable","NoopAnimations"===Ce._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[o.aNF],decls:0,vars:0,template:function(qe,Ce){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return tr})(),At=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[et]})}}return tr})();const Mt=new o.nKC("MAT_OPTION_PARENT_COMPONENT"),ir=new o.nKC("MatOptgroup");let er=0;class Hr{constructor(Ue,Ee=!1){this.source=Ue,this.isUserInput=Ee}}let eo=(()=>{class tr{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(Ee){this._disabled=Ee}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Ee,qe,Ce,be){this._element=Ee,this._changeDetectorRef=qe,this._parent=Ce,this.group=be,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+er++,this.onSelectionChange=new o.bkB,this._stateChanges=new T.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Ee=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Ee&&this._emitSelectionChangeEvent())}deselect(Ee=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Ee&&this._emitSelectionChangeEvent())}focus(Ee,qe){const Ce=this._getHostElement();"function"==typeof Ce.focus&&Ce.focus(qe)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Ee){(Ee.keyCode===M.Fm||Ee.keyCode===M.t6)&&!(0,M.rp)(Ee)&&(this._selectViaInteraction(),Ee.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Ee=this.viewValue;Ee!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Ee)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Ee=!1){this.onSelectionChange.emit(new Hr(this,Ee))}static{this.\u0275fac=function(qe){return new(qe||tr)(o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(Mt,8),o.rXU(ir,8))}}static{this.\u0275cmp=o.VBU({type:tr,selectors:[["mat-option"]],viewQuery:function(qe,Ce){if(1&qe&&o.GBs(J,7),2&qe){let be;o.mGM(be=o.lsd())&&(Ce._text=be.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(qe,Ce){1&qe&&o.bIt("click",function(){return Ce._selectViaInteraction()})("keydown",function(Yt){return Ce._handleKeydown(Yt)}),2&qe&&(o.Mr5("id",Ce.id),o.BMQ("aria-selected",Ce.selected)("aria-disabled",Ce.disabled.toString()),o.AVh("mdc-list-item--selected",Ce.selected)("mat-mdc-option-multiple",Ce.multiple)("mat-mdc-option-active",Ce.active)("mdc-list-item--disabled",Ce.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",o.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[o.GFd,o.aNF],ngContentSelectors:q,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(qe,Ce){1&qe&&(o.NAR(W),o.DNE(0,ct,1,2,"mat-pseudo-checkbox",1),o.SdG(1),o.j41(2,"span",2,0),o.SdG(4,1),o.k0s(),o.DNE(5,ht,1,1,"mat-pseudo-checkbox",3)(6,tt,2,1,"span",4),o.nrm(7,"div",5)),2&qe&&(o.vxM(Ce.multiple?0:-1),o.R7$(5),o.vxM(Ce.multiple||!Ce.selected||Ce.hideSingleSelectionIndicator?-1:5),o.R7$(),o.vxM(Ce.group&&Ce.group._inert?6:-1),o.R7$(),o.Y8G("matRippleTrigger",Ce._getHostElement())("matRippleDisabled",Ce.disabled||Ce.disableRipple))},dependencies:[it,$],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return tr})();function Bo(tr,Ue,Ee){if(Ee.length){let qe=Ue.toArray(),Ce=Ee.toArray(),be=0;for(let Yt=0;YtEe+qe?Math.max(0,tr-qe+Ue):Ee}let Fr=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[Y,et,At]})}}return tr})();const ne={capture:!0},re=["focus","mousedown","mouseenter","touchstart"],Lt="mat-ripple-loader-uninitialized",he="mat-ripple-loader-class-name",mr="mat-ripple-loader-centered",Qr="mat-ripple-loader-disabled";let Ro=(()=>{class tr{constructor(){this._document=(0,o.WQX)(k.qQ,{optional:!0}),this._animationMode=(0,o.WQX)(o.bc$,{optional:!0}),this._globalRippleOptions=(0,o.WQX)(gt,{optional:!0}),this._platform=(0,o.WQX)(S.OD),this._ngZone=(0,o.WQX)(o.SKi),this._hosts=new Map,this._onInteraction=Ee=>{const qe=(0,S.Fb)(Ee);if(qe instanceof HTMLElement){const Ce=qe.closest(`[${Lt}="${this._globalRippleOptions?.namespace??""}"]`);Ce&&this._createRipple(Ce)}},this._ngZone.runOutsideAngular(()=>{for(const Ee of re)this._document?.addEventListener(Ee,this._onInteraction,ne)})}ngOnDestroy(){const Ee=this._hosts.keys();for(const qe of Ee)this.destroyRipple(qe);for(const qe of re)this._document?.removeEventListener(qe,this._onInteraction,ne)}configureRipple(Ee,qe){Ee.setAttribute(Lt,this._globalRippleOptions?.namespace??""),(qe.className||!Ee.hasAttribute(he))&&Ee.setAttribute(he,qe.className||""),qe.centered&&Ee.setAttribute(mr,""),qe.disabled&&Ee.setAttribute(Qr,"")}getRipple(Ee){return this._hosts.get(Ee)||this._createRipple(Ee)}setDisabled(Ee,qe){const Ce=this._hosts.get(Ee);Ce?Ce.disabled=qe:qe?Ee.setAttribute(Qr,""):Ee.removeAttribute(Qr)}_createRipple(Ee){if(!this._document)return;const qe=this._hosts.get(Ee);if(qe)return qe;Ee.querySelector(".mat-ripple")?.remove();const Ce=this._document.createElement("span");Ce.classList.add("mat-ripple",Ee.getAttribute(he)),Ee.append(Ce);const be=new $(new o.aKT(Ce),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return be._isInitialized=!0,be.trigger=Ee,be.centered=Ee.hasAttribute(mr),be.disabled=Ee.hasAttribute(Qr),this.attachRipple(Ee,be),be}attachRipple(Ee,qe){Ee.removeAttribute(Lt),this._hosts.set(Ee,qe)}destroyRipple(Ee){const qe=this._hosts.get(Ee);qe&&(qe.ngOnDestroy(),this._hosts.delete(Ee))}static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275prov=o.jDH({token:tr,factory:tr.\u0275fac,providedIn:"root"})}}return tr})(),Ko=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275cmp=o.VBU({type:tr,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(qe,Ce){2&qe&&o.AVh("mdc-form-field--align-end","before"===Ce.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[o.aNF],attrs:xt,ngContentSelectors:Tt,decls:1,vars:0,template:function(qe,Ce){1&qe&&(o.NAR(),o.SdG(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}}return tr})()},5351:(i,a,r)=>{"use strict";r.d(a,{Vh:()=>Zt,bZ:()=>Me,E7:()=>Nt,tx:()=>Fe,Yi:()=>dr,hM:()=>Ie,CP:()=>We});var o=r(7987),s=r(177),c=r(4438),y=r(9888),k=r(6860),S=r(6939),I=r(7336),T=r(1413),M=r(9030),R=r(7673),L=r(8203),J=r(9172);function W($,Y){}class q{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let ht=(()=>{class $ extends S.lb{constructor(it,At,Mt,ve,ir,Je,er,Hr){super(),this._elementRef=it,this._focusTrapFactory=At,this._config=ve,this._interactivityChecker=ir,this._ngZone=Je,this._overlayRef=er,this._focusMonitor=Hr,this._platform=(0,c.WQX)(k.OD),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=(0,c.WQX)(c.gRc),this._injector=(0,c.WQX)(c.zZn),this._isDestroyed=!1,this.attachDomPortal=eo=>{this._portalOutlet.hasAttached();const Bo=this._portalOutlet.attachDomPortal(eo);return this._contentAttached(),Bo},this._document=Mt,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(it){this._ariaLabelledByQueue.push(it),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(it){const At=this._ariaLabelledByQueue.indexOf(it);At>-1&&(this._ariaLabelledByQueue.splice(At,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(it){this._portalOutlet.hasAttached();const At=this._portalOutlet.attachComponentPortal(it);return this._contentAttached(),At}attachTemplatePortal(it){this._portalOutlet.hasAttached();const At=this._portalOutlet.attachTemplatePortal(it);return this._contentAttached(),At}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(it,At){this._interactivityChecker.isFocusable(it)||(it.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Mt=()=>{it.removeEventListener("blur",Mt),it.removeEventListener("mousedown",Mt),it.removeAttribute("tabindex")};it.addEventListener("blur",Mt),it.addEventListener("mousedown",Mt)})),it.focus(At)}_focusByCssSelector(it,At){let Mt=this._elementRef.nativeElement.querySelector(it);Mt&&this._forceFocus(Mt,At)}_trapFocus(){this._isDestroyed||(0,c.mal)(()=>{const it=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||it.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}},{injector:this._injector})}_restoreFocus(){const it=this._config.restoreFocus;let At=null;if("string"==typeof it?At=this._document.querySelector(it):"boolean"==typeof it?At=it?this._elementFocusedBeforeDialogWasOpened:null:it&&(At=it),this._config.restoreFocus&&At&&"function"==typeof At.focus){const Mt=(0,k.vc)(),ve=this._elementRef.nativeElement;(!Mt||Mt===this._document.body||Mt===ve||ve.contains(Mt))&&(this._focusMonitor?(this._focusMonitor.focusVia(At,this._closeInteractionType),this._closeInteractionType=null):At.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const it=this._elementRef.nativeElement,At=(0,k.vc)();return it===At||it.contains(At)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,k.vc)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(At){return new(At||$)(c.rXU(c.aKT),c.rXU(y.GX),c.rXU(s.qQ,8),c.rXU(q),c.rXU(y.Z7),c.rXU(c.SKi),c.rXU(o.yY),c.rXU(y.FN))}}static{this.\u0275cmp=c.VBU({type:$,selectors:[["cdk-dialog-container"]],viewQuery:function(At,Mt){if(1&At&&c.GBs(S.I3,7),2&At){let ve;c.mGM(ve=c.lsd())&&(Mt._portalOutlet=ve.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(At,Mt){2&At&&c.BMQ("id",Mt._config.id||null)("role",Mt._config.role)("aria-modal",Mt._config.ariaModal)("aria-labelledby",Mt._config.ariaLabel?null:Mt._ariaLabelledByQueue[0])("aria-label",Mt._config.ariaLabel)("aria-describedby",Mt._config.ariaDescribedBy||null)},standalone:!0,features:[c.Vt3,c.aNF],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(At,Mt){1&At&&c.DNE(0,W,0,0,"ng-template",0)},dependencies:[S.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return $})();class tt{constructor(Y,it){this.overlayRef=Y,this.config=it,this.closed=new T.B,this.disableClose=it.disableClose,this.backdropClick=Y.backdropClick(),this.keydownEvents=Y.keydownEvents(),this.outsidePointerEvents=Y.outsidePointerEvents(),this.id=it.id,this.keydownEvents.subscribe(At=>{At.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(At)&&(At.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Y.detachments().subscribe(()=>{!1!==it.closeOnOverlayDetachments&&this.close()})}close(Y,it){if(this.containerInstance){const At=this.closed;this.containerInstance._closeInteractionType=it?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),At.next(Y),At.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Y="",it=""){return this.overlayRef.updateSize({width:Y,height:it}),this}addPanelClass(Y){return this.overlayRef.addPanelClass(Y),this}removePanelClass(Y){return this.overlayRef.removePanelClass(Y),this}}const xt=new c.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const $=(0,c.WQX)(o.hJ);return()=>$.scrollStrategies.block()}}),Tt=new c.nKC("DialogData"),$t=new c.nKC("DefaultDialogConfig");let nt=0,at=(()=>{class ${get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(it,At,Mt,ve,ir,Je){this._overlay=it,this._injector=At,this._defaultOptions=Mt,this._parentDialog=ve,this._overlayContainer=ir,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new T.B,this._afterOpenedAtThisLevel=new T.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,M.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,J.Z)(void 0))),this._scrollStrategy=Je}open(it,At){(At={...this._defaultOptions||new q,...At}).id=At.id||"cdk-dialog-"+nt++,At.id&&this.getDialogById(At.id);const ve=this._getOverlayConfig(At),ir=this._overlay.create(ve),Je=new tt(ir,At),er=this._attachContainer(ir,Je,At);return Je.containerInstance=er,this._attachDialogContent(it,Je,er,At),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Je),Je.closed.subscribe(()=>this._removeOpenDialog(Je,!0)),this.afterOpened.next(Je),Je}closeAll(){et(this.openDialogs,it=>it.close())}getDialogById(it){return this.openDialogs.find(At=>At.id===it)}ngOnDestroy(){et(this._openDialogsAtThisLevel,it=>{!1===it.config.closeOnDestroy&&this._removeOpenDialog(it,!1)}),et(this._openDialogsAtThisLevel,it=>it.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(it){const At=new o.rR({positionStrategy:it.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:it.scrollStrategy||this._scrollStrategy(),panelClass:it.panelClass,hasBackdrop:it.hasBackdrop,direction:it.direction,minWidth:it.minWidth,minHeight:it.minHeight,maxWidth:it.maxWidth,maxHeight:it.maxHeight,width:it.width,height:it.height,disposeOnNavigation:it.closeOnNavigation});return it.backdropClass&&(At.backdropClass=it.backdropClass),At}_attachContainer(it,At,Mt){const ve=Mt.injector||Mt.viewContainerRef?.injector,ir=[{provide:q,useValue:Mt},{provide:tt,useValue:At},{provide:o.yY,useValue:it}];let Je;Mt.container?"function"==typeof Mt.container?Je=Mt.container:(Je=Mt.container.type,ir.push(...Mt.container.providers(Mt))):Je=ht;const er=new S.A8(Je,Mt.viewContainerRef,c.zZn.create({parent:ve||this._injector,providers:ir}),Mt.componentFactoryResolver);return it.attach(er).instance}_attachDialogContent(it,At,Mt,ve){if(it instanceof c.C4Q){const ir=this._createInjector(ve,At,Mt,void 0);let Je={$implicit:ve.data,dialogRef:At};ve.templateContext&&(Je={...Je,..."function"==typeof ve.templateContext?ve.templateContext():ve.templateContext}),Mt.attachTemplatePortal(new S.VA(it,null,Je,ir))}else{const ir=this._createInjector(ve,At,Mt,this._injector),Je=Mt.attachComponentPortal(new S.A8(it,ve.viewContainerRef,ir,ve.componentFactoryResolver));At.componentRef=Je,At.componentInstance=Je.instance}}_createInjector(it,At,Mt,ve){const ir=it.injector||it.viewContainerRef?.injector,Je=[{provide:Tt,useValue:it.data},{provide:tt,useValue:At}];return it.providers&&("function"==typeof it.providers?Je.push(...it.providers(At,it,Mt)):Je.push(...it.providers)),it.direction&&(!ir||!ir.get(L.dS,null,{optional:!0}))&&Je.push({provide:L.dS,useValue:{value:it.direction,change:(0,R.of)()}}),c.zZn.create({parent:ir||ve,providers:Je})}_removeOpenDialog(it,At){const Mt=this.openDialogs.indexOf(it);Mt>-1&&(this.openDialogs.splice(Mt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((ve,ir)=>{ve?ir.setAttribute("aria-hidden",ve):ir.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),At&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const it=this._overlayContainer.getContainerElement();if(it.parentElement){const At=it.parentElement.children;for(let Mt=At.length-1;Mt>-1;Mt--){const ve=At[Mt];ve!==it&&"SCRIPT"!==ve.nodeName&&"STYLE"!==ve.nodeName&&!ve.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(ve,ve.getAttribute("aria-hidden")),ve.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const it=this._parentDialog;return it?it._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(At){return new(At||$)(c.KVO(o.hJ),c.KVO(c.zZn),c.KVO($t,8),c.KVO($,12),c.KVO(o.Sf),c.KVO(xt))}}static{this.\u0275prov=c.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();function et($,Y){let it=$.length;for(;it--;)Y($[it])}let bt=(()=>{class ${static{this.\u0275fac=function(At){return new(At||$)}}static{this.\u0275mod=c.$C({type:$})}static{this.\u0275inj=c.G2t({providers:[at],imports:[o.z_,S.jc,y.Pd,S.jc]})}}return $})();var Et=r(4085),jt=r(7786),Gt=r(5964),ie=r(6697),Xe=r(5542),Er=r(6600);function vr($,Y){}r(9969);class Xr{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const ke="mdc-dialog--open",Rt="mdc-dialog--opening",wt="mdc-dialog--closing";let Xt=(()=>{class $ extends ht{constructor(it,At,Mt,ve,ir,Je,er,Hr,eo){super(it,At,Mt,ve,ir,Je,er,eo),this._animationMode=Hr,this._animationStateChanged=new c.bkB,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?te(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?te(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(pe,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Rt,ke)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ke),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(ke),this._animationsEnabled?(this._hostElement.style.setProperty(pe,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(wt)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(it){this._actionSectionCount+=it,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Rt,wt)}_waitForAnimationToComplete(it,At){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(At,it)}_requestAnimationFrame(it){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(it):it()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(it){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:it})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(it){const At=super.attachComponentPortal(it);return At.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),At}static{this.\u0275fac=function(At){return new(At||$)(c.rXU(c.aKT),c.rXU(y.GX),c.rXU(s.qQ,8),c.rXU(Xr),c.rXU(y.Z7),c.rXU(c.SKi),c.rXU(o.yY),c.rXU(c.bc$,8),c.rXU(y.FN))}}static{this.\u0275cmp=c.VBU({type:$,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(At,Mt){2&At&&(c.Mr5("id",Mt._config.id),c.BMQ("aria-modal",Mt._config.ariaModal)("role",Mt._config.role)("aria-labelledby",Mt._config.ariaLabel?null:Mt._ariaLabelledByQueue[0])("aria-label",Mt._config.ariaLabel)("aria-describedby",Mt._config.ariaDescribedBy||null),c.AVh("_mat-animation-noopable",!Mt._animationsEnabled)("mat-mdc-dialog-container-with-actions",Mt._actionSectionCount>0))},standalone:!0,features:[c.Vt3,c.aNF],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(At,Mt){1&At&&(c.j41(0,"div",0)(1,"div",1),c.DNE(2,vr,0,0,"ng-template",2),c.k0s()())},dependencies:[S.I3],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return $})();const pe="--mat-dialog-transition-duration";function te($){return null==$?null:"number"==typeof $?$:$.endsWith("ms")?(0,Et.OE)($.substring(0,$.length-2)):$.endsWith("s")?1e3*(0,Et.OE)($.substring(0,$.length-1)):"0"===$?0:null}var Ye=function($){return $[$.OPEN=0]="OPEN",$[$.CLOSING=1]="CLOSING",$[$.CLOSED=2]="CLOSED",$}(Ye||{});class We{constructor(Y,it,At){this._ref=Y,this._containerInstance=At,this._afterOpened=new T.B,this._beforeClosed=new T.B,this._state=Ye.OPEN,this.disableClose=it.disableClose,this.id=Y.id,Y.addPanelClass("mat-mdc-dialog-panel"),At._animationStateChanged.pipe((0,Gt.p)(Mt=>"opened"===Mt.state),(0,ie.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),At._animationStateChanged.pipe((0,Gt.p)(Mt=>"closed"===Mt.state),(0,ie.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Y.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,jt.h)(this.backdropClick(),this.keydownEvents().pipe((0,Gt.p)(Mt=>Mt.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(Mt)))).subscribe(Mt=>{this.disableClose||(Mt.preventDefault(),Bt(this,"keydown"===Mt.type?"keyboard":"mouse"))})}close(Y){this._result=Y,this._containerInstance._animationStateChanged.pipe((0,Gt.p)(it=>"closing"===it.state),(0,ie.s)(1)).subscribe(it=>{this._beforeClosed.next(Y),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),it.totalTime+100)}),this._state=Ye.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Y){let it=this._ref.config.positionStrategy;return Y&&(Y.left||Y.right)?Y.left?it.left(Y.left):it.right(Y.right):it.centerHorizontally(),Y&&(Y.top||Y.bottom)?Y.top?it.top(Y.top):it.bottom(Y.bottom):it.centerVertically(),this._ref.updatePosition(),this}updateSize(Y="",it=""){return this._ref.updateSize(Y,it),this}addPanelClass(Y){return this._ref.addPanelClass(Y),this}removePanelClass(Y){return this._ref.removePanelClass(Y),this}getState(){return this._state}_finishDialogClose(){this._state=Ye.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Bt($,Y,it){return $._closeInteractionType=Y,$.close(it)}const Zt=new c.nKC("MatMdcDialogData"),Ot=new c.nKC("mat-mdc-dialog-default-options"),le=new c.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const $=(0,c.WQX)(o.hJ);return()=>$.scrollStrategies.block()}});let Ht=0,Me=(()=>{class ${get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const it=this._parentDialog;return it?it._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(it,At,Mt,ve,ir,Je,er,Hr){this._overlay=it,this._defaultOptions=ve,this._scrollStrategy=ir,this._parentDialog=Je,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new T.B,this._afterOpenedAtThisLevel=new T.B,this.dialogConfigClass=Xr,this.afterAllClosed=(0,M.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,J.Z)(void 0))),this._dialog=At.get(at),this._dialogRefConstructor=We,this._dialogContainerType=Xt,this._dialogDataToken=Zt}open(it,At){let Mt;(At={...this._defaultOptions||new Xr,...At}).id=At.id||"mat-mdc-dialog-"+Ht++,At.scrollStrategy=At.scrollStrategy||this._scrollStrategy();const ve=this._dialog.open(it,{...At,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:At},{provide:q,useValue:At}]},templateContext:()=>({dialogRef:Mt}),providers:(ir,Je,er)=>(Mt=new this._dialogRefConstructor(ir,At,er),Mt.updatePosition(At?.position),[{provide:this._dialogContainerType,useValue:er},{provide:this._dialogDataToken,useValue:Je.data},{provide:this._dialogRefConstructor,useValue:Mt}])});return Mt.componentRef=ve.componentRef,Mt.componentInstance=ve.componentInstance,this.openDialogs.push(Mt),this.afterOpened.next(Mt),Mt.afterClosed().subscribe(()=>{const ir=this.openDialogs.indexOf(Mt);ir>-1&&(this.openDialogs.splice(ir,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Mt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(it){return this.openDialogs.find(At=>At.id===it)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(it){let At=it.length;for(;At--;)it[At].close()}static{this.\u0275fac=function(At){return new(At||$)(c.KVO(o.hJ),c.KVO(c.zZn),c.KVO(s.aZ,8),c.KVO(Ot,8),c.KVO(le),c.KVO($,12),c.KVO(o.Sf),c.KVO(c.bc$,8))}}static{this.\u0275prov=c.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})(),Fe=(()=>{class ${constructor(it,At,Mt){this.dialogRef=it,this._elementRef=At,this._dialog=Mt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=we(this._elementRef,this._dialog.openDialogs))}ngOnChanges(it){const At=it._matDialogClose||it._matDialogCloseResult;At&&(this.dialogResult=At.currentValue)}_onButtonClick(it){Bt(this.dialogRef,0===it.screenX&&0===it.screenY?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(At){return new(At||$)(c.rXU(We,8),c.rXU(c.aKT),c.rXU(Me))}}static{this.\u0275dir=c.FsC({type:$,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(At,Mt){1&At&&c.bIt("click",function(ir){return Mt._onButtonClick(ir)}),2&At&&c.BMQ("aria-label",Mt.ariaLabel||null)("type",Mt.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[c.OA$]})}}return $})(),Or=(()=>{class ${constructor(it,At,Mt){this._dialogRef=it,this._elementRef=At,this._dialog=Mt}ngOnInit(){this._dialogRef||(this._dialogRef=we(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(At){return new(At||$)(c.rXU(We,8),c.rXU(c.aKT),c.rXU(Me))}}static{this.\u0275dir=c.FsC({type:$,standalone:!0})}}return $})(),dr=(()=>{class ${static{this.\u0275fac=function(At){return new(At||$)}}static{this.\u0275dir=c.FsC({type:$,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[c.nM4([Xe.uv])]})}}return $})(),Nt=(()=>{class $ extends Or{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let it;return function(Mt){return(it||(it=c.xGo($)))(Mt||$)}})()}static{this.\u0275dir=c.FsC({type:$,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(At,Mt){2&At&&c.AVh("mat-mdc-dialog-actions-align-start","start"===Mt.align)("mat-mdc-dialog-actions-align-center","center"===Mt.align)("mat-mdc-dialog-actions-align-end","end"===Mt.align)},inputs:{align:"align"},standalone:!0,features:[c.Vt3]})}}return $})();function we($,Y){let it=$.nativeElement.parentElement;for(;it&&!it.classList.contains("mat-mdc-dialog-container");)it=it.parentElement;return it?Y.find(At=>At.id===it.id):null}let Ie=(()=>{class ${static{this.\u0275fac=function(At){return new(At||$)}}static{this.\u0275mod=c.$C({type:$})}static{this.\u0275inj=c.G2t({providers:[Me],imports:[bt,o.z_,S.jc,Er.yE,Er.yE]})}}return $})()},1997:(i,a,r)=>{"use strict";r.d(a,{q:()=>y,w:()=>k});var o=r(4438),s=r(4085),c=r(6600);let y=(()=>{class S{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(T){this._vertical=(0,s.he)(T)}get inset(){return this._inset}set inset(T){this._inset=(0,s.he)(T)}static{this.\u0275fac=function(M){return new(M||S)}}static{this.\u0275cmp=o.VBU({type:S,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(M,R){2&M&&(o.BMQ("aria-orientation",R.vertical?"vertical":"horizontal"),o.AVh("mat-divider-vertical",R.vertical)("mat-divider-horizontal",!R.vertical)("mat-divider-inset",R.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[o.aNF],decls:0,vars:0,template:function(M,R){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}}return S})(),k=(()=>{class S{static{this.\u0275fac=function(M){return new(M||S)}}static{this.\u0275mod=o.$C({type:S})}static{this.\u0275inj=o.G2t({imports:[c.yE,c.yE]})}}return S})()},2102:(i,a,r)=>{"use strict";r.d(a,{xb:()=>At,U$:()=>Mt,TL:()=>le,rl:()=>eo,qT:()=>gt,RG:()=>Bo,MV:()=>Ve,nJ:()=>Bt,JW:()=>Me,yw:()=>Fe});var o=r(4438),s=r(8203),c=r(4085),y=r(6860),k=r(177),S=r(8359),I=r(1413),T=r(7786),M=r(6977),R=r(1985),L=r(5964),J=r(4668);class q{constructor(Fr){this._box=Fr,this._destroyed=new I.B,this._resizeSubject=new I.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(ne=>this._resizeSubject.next(ne)))}observe(Fr){return this._elementObservables.has(Fr)||this._elementObservables.set(Fr,new R.c(ne=>{const re=this._resizeSubject.subscribe(ne);return this._resizeObserver?.observe(Fr,{box:this._box}),()=>{this._resizeObserver?.unobserve(Fr),re.unsubscribe(),this._elementObservables.delete(Fr)}}).pipe((0,L.p)(ne=>ne.some(re=>re.target===Fr)),(0,J.t)({bufferSize:1,refCount:!0}),(0,M.Q)(this._destroyed))),this._elementObservables.get(Fr)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let ct=(()=>{class fr{constructor(){this._observers=new Map,this._ngZone=(0,o.WQX)(o.SKi)}ngOnDestroy(){for(const[,ne]of this._observers)ne.destroy();this._observers.clear()}observe(ne,re){const Lt=re?.box||"content-box";return this._observers.has(Lt)||this._observers.set(Lt,new q(Lt)),this._observers.get(Lt).observe(ne)}static{this.\u0275fac=function(re){return new(re||fr)}}static{this.\u0275prov=o.jDH({token:fr,factory:fr.\u0275fac,providedIn:"root"})}}return fr})();var ht=r(9969),tt=r(2318),xt=r(6600);const Tt=["notch"],$t=["matFormFieldNotchedOutline",""],St=["*"],_t=["textField"],nt=["iconPrefixContainer"],at=["textPrefixContainer"],et=["iconSuffixContainer"],bt=["textSuffixContainer"],Et=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],jt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Gt(fr,Fr){1&fr&&o.nrm(0,"span",21)}function ie(fr,Fr){if(1&fr&&(o.j41(0,"label",20),o.SdG(1,1),o.DNE(2,Gt,1,0,"span",21),o.k0s()),2&fr){const ne=o.XpG(2);o.Y8G("floating",ne._shouldLabelFloat())("monitorResize",ne._hasOutline())("id",ne._labelId),o.BMQ("for",ne._control.disableAutomaticLabeling?null:ne._control.id),o.R7$(2),o.vxM(!ne.hideRequiredMarker&&ne._control.required?2:-1)}}function Xe(fr,Fr){if(1&fr&&o.DNE(0,ie,3,5,"label",20),2&fr){const ne=o.XpG();o.vxM(ne._hasFloatingLabel()?0:-1)}}function Er(fr,Fr){1&fr&&o.nrm(0,"div",7)}function gr(fr,Fr){}function vr(fr,Fr){if(1&fr&&o.DNE(0,gr,0,0,"ng-template",13),2&fr){o.XpG(2);const ne=o.sdS(1);o.Y8G("ngTemplateOutlet",ne)}}function Xr(fr,Fr){if(1&fr&&(o.j41(0,"div",9),o.DNE(1,vr,1,1,null,13),o.k0s()),2&fr){const ne=o.XpG();o.Y8G("matFormFieldNotchedOutlineOpen",ne._shouldLabelFloat()),o.R7$(),o.vxM(ne._forceDisplayInfixLabel()?-1:1)}}function ke(fr,Fr){1&fr&&(o.j41(0,"div",10,2),o.SdG(2,2),o.k0s())}function Rt(fr,Fr){1&fr&&(o.j41(0,"div",11,3),o.SdG(2,3),o.k0s())}function wt(fr,Fr){}function Ut(fr,Fr){if(1&fr&&o.DNE(0,wt,0,0,"ng-template",13),2&fr){o.XpG();const ne=o.sdS(1);o.Y8G("ngTemplateOutlet",ne)}}function Ae(fr,Fr){1&fr&&(o.j41(0,"div",14,4),o.SdG(2,4),o.k0s())}function Xt(fr,Fr){1&fr&&(o.j41(0,"div",15,5),o.SdG(2,5),o.k0s())}function pe(fr,Fr){1&fr&&o.nrm(0,"div",16)}function te(fr,Fr){if(1&fr&&(o.j41(0,"div",18),o.SdG(1,6),o.k0s()),2&fr){const ne=o.XpG();o.Y8G("@transitionMessages",ne._subscriptAnimationState)}}function Ye(fr,Fr){if(1&fr&&(o.j41(0,"mat-hint",22),o.EFF(1),o.k0s()),2&fr){const ne=o.XpG(2);o.Y8G("id",ne._hintLabelId),o.R7$(),o.JRh(ne.hintLabel)}}function We(fr,Fr){if(1&fr&&(o.j41(0,"div",19),o.DNE(1,Ye,2,2,"mat-hint",22),o.SdG(2,7),o.nrm(3,"div",23),o.SdG(4,8),o.k0s()),2&fr){const ne=o.XpG();o.Y8G("@transitionMessages",ne._subscriptAnimationState),o.R7$(),o.vxM(ne.hintLabel?1:-1)}}let Bt=(()=>{class fr{static{this.\u0275fac=function(re){return new(re||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["mat-label"]],standalone:!0})}}return fr})(),Zt=0;const Ot=new o.nKC("MatError");let le=(()=>{class fr{constructor(ne,re){this.id="mat-mdc-error-"+Zt++,ne||re.nativeElement.setAttribute("aria-live","polite")}static{this.\u0275fac=function(re){return new(re||fr)(o.kS0("aria-live"),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(re,Lt){2&re&&o.Mr5("id",Lt.id)},inputs:{id:"id"},standalone:!0,features:[o.Jv_([{provide:Ot,useExisting:fr}])]})}}return fr})(),qt=0,Ve=(()=>{class fr{constructor(){this.align="start",this.id="mat-mdc-hint-"+qt++}static{this.\u0275fac=function(re){return new(re||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(re,Lt){2&re&&(o.Mr5("id",Lt.id),o.BMQ("align",null),o.AVh("mat-mdc-form-field-hint-end","end"===Lt.align))},inputs:{align:"align",id:"id"},standalone:!0})}}return fr})();const Ht=new o.nKC("MatPrefix");let Me=(()=>{class fr{constructor(){this._isText=!1}set _isTextSelector(ne){this._isText=!0}static{this.\u0275fac=function(re){return new(re||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[o.Jv_([{provide:Ht,useExisting:fr}])]})}}return fr})();const Ke=new o.nKC("MatSuffix");let Fe=(()=>{class fr{constructor(){this._isText=!1}set _isTextSelector(ne){this._isText=!0}static{this.\u0275fac=function(re){return new(re||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[o.Jv_([{provide:Ke,useExisting:fr}])]})}}return fr})();const Or=new o.nKC("FloatingLabelParent");let yo=(()=>{class fr{get floating(){return this._floating}set floating(ne){this._floating=ne,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(ne){this._monitorResize=ne,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(ne){this._elementRef=ne,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,o.WQX)(ct),this._ngZone=(0,o.WQX)(o.SKi),this._parent=(0,o.WQX)(Or),this._resizeSubscription=new S.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function dr(fr){if(null!==fr.offsetParent)return fr.scrollWidth;const ne=fr.cloneNode(!0);ne.style.setProperty("position","absolute"),ne.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(ne);const re=ne.scrollWidth;return ne.remove(),re}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(re){return new(re||fr)(o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(re,Lt){2&re&&o.AVh("mdc-floating-label--float-above",Lt.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return fr})();const Nt="mdc-line-ripple--active",we="mdc-line-ripple--deactivating";let de=(()=>{class fr{constructor(ne,re){this._elementRef=ne,this._handleTransitionEnd=Lt=>{const he=this._elementRef.nativeElement.classList,mr=he.contains(we);"opacity"===Lt.propertyName&&mr&&he.remove(Nt,we)},re.runOutsideAngular(()=>{ne.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const ne=this._elementRef.nativeElement.classList;ne.remove(we),ne.add(Nt)}deactivate(){this._elementRef.nativeElement.classList.add(we)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(re){return new(re||fr)(o.rXU(o.aKT),o.rXU(o.SKi))}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return fr})(),Ie=(()=>{class fr{constructor(ne,re){this._elementRef=ne,this._ngZone=re,this.open=!1}ngAfterViewInit(){const ne=this._elementRef.nativeElement.querySelector(".mdc-floating-label");ne?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(ne.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>ne.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(ne){this._notch.nativeElement.style.width=this.open&&ne?`calc(${ne}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static{this.\u0275fac=function(re){return new(re||fr)(o.rXU(o.aKT),o.rXU(o.SKi))}}static{this.\u0275cmp=o.VBU({type:fr,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(re,Lt){if(1&re&&o.GBs(Tt,5),2&re){let he;o.mGM(he=o.lsd())&&(Lt._notch=he.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(re,Lt){2&re&&o.AVh("mdc-notched-outline--notched",Lt.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[o.aNF],attrs:$t,ngContentSelectors:St,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(re,Lt){1&re&&(o.NAR(),o.nrm(0,"div",1),o.j41(1,"div",2,0),o.SdG(3),o.k0s(),o.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}}return fr})();const br={transitionMessages:(0,ht.hZ)("transitionMessages",[(0,ht.wk)("enter",(0,ht.iF)({opacity:1,transform:"translateY(0%)"})),(0,ht.kY)("void => enter",[(0,ht.iF)({opacity:0,transform:"translateY(-5px)"}),(0,ht.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let gt=(()=>{class fr{static{this.\u0275fac=function(re){return new(re||fr)}}static{this.\u0275dir=o.FsC({type:fr})}}return fr})();const At=new o.nKC("MatFormField"),Mt=new o.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let ve=0,eo=(()=>{class fr{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(ne){this._hideRequiredMarker=(0,c.he)(ne)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(ne){ne!==this._floatLabel&&(this._floatLabel=ne,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(ne){const re=this._appearance;this._appearance=ne||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==re&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(ne){this._subscriptSizing=ne||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(ne){this._hintLabel=ne,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(ne){this._explicitFormFieldControl=ne}constructor(ne,re,Lt,he,mr,Qr,Ro,Ko){this._elementRef=ne,this._changeDetectorRef=re,this._dir=he,this._platform=mr,this._defaults=Qr,this._animationMode=Ro,this._labelChild=(0,o.sbv)(Bt),this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+ve++,this._hintLabelId="mat-mdc-hint-"+ve++,this._subscriptAnimationState="",this._destroyed=new I.B,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=(0,o.WQX)(o.zZn),this.getLabelId=(0,o.EWP)(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=(0,o.EWP)(()=>!!this._labelChild()),Qr&&(Qr.appearance&&(this.appearance=Qr.appearance),this._hideRequiredMarker=!!Qr?.hideRequiredMarker,Qr.color&&(this.color=Qr.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(ne){const re=this._control,Lt="mat-mdc-form-field-type-";ne&&this._elementRef.nativeElement.classList.remove(Lt+ne.controlType),re.controlType&&this._elementRef.nativeElement.classList.add(Lt+re.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=re.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),re.ngControl&&re.ngControl.valueChanges&&(this._valueChanges=re.ngControl.valueChanges.pipe((0,M.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(ne=>!ne._isText),this._hasTextPrefix=!!this._prefixChildren.find(ne=>ne._isText),this._hasIconSuffix=!!this._suffixChildren.find(ne=>!ne._isText),this._hasTextSuffix=!!this._suffixChildren.find(ne=>ne._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,T.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),(0,o.Tzd)(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe((0,M.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(ne){const re=this._control?this._control.ngControl:null;return re&&re[ne]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let ne=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&ne.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const re=this._hintChildren?this._hintChildren.find(he=>"start"===he.align):null,Lt=this._hintChildren?this._hintChildren.find(he=>"end"===he.align):null;re?ne.push(re.id):this._hintLabel&&ne.push(this._hintLabelId),Lt&&ne.push(Lt.id)}else this._errorChildren&&ne.push(...this._errorChildren.map(re=>re.id));this._control.setDescribedByIds(ne)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;const ne=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(ne.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdate=!0);const re=this._iconPrefixContainer?.nativeElement,Lt=this._textPrefixContainer?.nativeElement,he=this._iconSuffixContainer?.nativeElement,mr=this._textSuffixContainer?.nativeElement,Qr=re?.getBoundingClientRect().width??0,Ro=Lt?.getBoundingClientRect().width??0,Ko=he?.getBoundingClientRect().width??0,tr=mr?.getBoundingClientRect().width??0;ne.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Qr+Ro}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`,this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${Qr+Ro+Ko+tr}px)`)}_isAttachedToDom(){const ne=this._elementRef.nativeElement;if(ne.getRootNode){const re=ne.getRootNode();return re&&re!==ne}return document.documentElement.contains(ne)}static{this.\u0275fac=function(re){return new(re||fr)(o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(o.SKi),o.rXU(s.dS),o.rXU(y.OD),o.rXU(Mt,8),o.rXU(o.bc$,8),o.rXU(k.qQ))}}static{this.\u0275cmp=o.VBU({type:fr,selectors:[["mat-form-field"]],contentQueries:function(re,Lt,he){if(1&re&&(o.C6U(he,Lt._labelChild,Bt,5),o.wni(he,gt,5),o.wni(he,Ht,5),o.wni(he,Ke,5),o.wni(he,Ot,5),o.wni(he,Ve,5)),2&re){let mr;o.NyB(),o.mGM(mr=o.lsd())&&(Lt._formFieldControl=mr.first),o.mGM(mr=o.lsd())&&(Lt._prefixChildren=mr),o.mGM(mr=o.lsd())&&(Lt._suffixChildren=mr),o.mGM(mr=o.lsd())&&(Lt._errorChildren=mr),o.mGM(mr=o.lsd())&&(Lt._hintChildren=mr)}},viewQuery:function(re,Lt){if(1&re&&(o.GBs(_t,5),o.GBs(nt,5),o.GBs(at,5),o.GBs(et,5),o.GBs(bt,5),o.GBs(yo,5),o.GBs(Ie,5),o.GBs(de,5)),2&re){let he;o.mGM(he=o.lsd())&&(Lt._textField=he.first),o.mGM(he=o.lsd())&&(Lt._iconPrefixContainer=he.first),o.mGM(he=o.lsd())&&(Lt._textPrefixContainer=he.first),o.mGM(he=o.lsd())&&(Lt._iconSuffixContainer=he.first),o.mGM(he=o.lsd())&&(Lt._textSuffixContainer=he.first),o.mGM(he=o.lsd())&&(Lt._floatingLabel=he.first),o.mGM(he=o.lsd())&&(Lt._notchedOutline=he.first),o.mGM(he=o.lsd())&&(Lt._lineRipple=he.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(re,Lt){2&re&&o.AVh("mat-mdc-form-field-label-always-float",Lt._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Lt._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Lt._hasIconSuffix)("mat-form-field-invalid",Lt._control.errorState)("mat-form-field-disabled",Lt._control.disabled)("mat-form-field-autofilled",Lt._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Lt._animationMode)("mat-form-field-appearance-fill","fill"==Lt.appearance)("mat-form-field-appearance-outline","outline"==Lt.appearance)("mat-form-field-hide-placeholder",Lt._hasFloatingLabel()&&!Lt._shouldLabelFloat())("mat-focused",Lt._control.focused)("mat-primary","accent"!==Lt.color&&"warn"!==Lt.color)("mat-accent","accent"===Lt.color)("mat-warn","warn"===Lt.color)("ng-untouched",Lt._shouldForward("untouched"))("ng-touched",Lt._shouldForward("touched"))("ng-pristine",Lt._shouldForward("pristine"))("ng-dirty",Lt._shouldForward("dirty"))("ng-valid",Lt._shouldForward("valid"))("ng-invalid",Lt._shouldForward("invalid"))("ng-pending",Lt._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[o.Jv_([{provide:At,useExisting:fr},{provide:Or,useExisting:fr}]),o.aNF],ngContentSelectors:jt,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(re,Lt){if(1&re){const he=o.RV6();o.NAR(Et),o.DNE(0,Xe,1,1,"ng-template",null,0,o.C5r),o.j41(2,"div",6,1),o.bIt("click",function(Qr){return o.eBV(he),o.Njj(Lt._control.onContainerClick(Qr))}),o.DNE(4,Er,1,0,"div",7),o.j41(5,"div",8),o.DNE(6,Xr,2,2,"div",9)(7,ke,3,0,"div",10)(8,Rt,3,0,"div",11),o.j41(9,"div",12),o.DNE(10,Ut,1,1,null,13),o.SdG(11),o.k0s(),o.DNE(12,Ae,3,0,"div",14)(13,Xt,3,0,"div",15),o.k0s(),o.DNE(14,pe,1,0,"div",16),o.k0s(),o.j41(15,"div",17),o.DNE(16,te,2,1,"div",18)(17,We,5,2,"div",19),o.k0s()}if(2&re){let he;o.R7$(2),o.AVh("mdc-text-field--filled",!Lt._hasOutline())("mdc-text-field--outlined",Lt._hasOutline())("mdc-text-field--no-label",!Lt._hasFloatingLabel())("mdc-text-field--disabled",Lt._control.disabled)("mdc-text-field--invalid",Lt._control.errorState),o.R7$(2),o.vxM(Lt._hasOutline()||Lt._control.disabled?-1:4),o.R7$(2),o.vxM(Lt._hasOutline()?6:-1),o.R7$(),o.vxM(Lt._hasIconPrefix?7:-1),o.R7$(),o.vxM(Lt._hasTextPrefix?8:-1),o.R7$(2),o.vxM(!Lt._hasOutline()||Lt._forceDisplayInfixLabel()?10:-1),o.R7$(2),o.vxM(Lt._hasTextSuffix?12:-1),o.R7$(),o.vxM(Lt._hasIconSuffix?13:-1),o.R7$(),o.vxM(Lt._hasOutline()?-1:14),o.R7$(),o.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Lt.subscriptSizing),o.R7$(),o.vxM("error"===(he=Lt._getDisplayedMessages())?16:"hint"===he?17:-1)}},dependencies:[yo,Ie,k.T3,de,Ve],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[br.transitionMessages]},changeDetection:0})}}return fr})(),Bo=(()=>{class fr{static{this.\u0275fac=function(re){return new(re||fr)}}static{this.\u0275mod=o.$C({type:fr})}static{this.\u0275inj=o.G2t({imports:[xt.yE,k.MD,tt.w5,xt.yE]})}}return fr})()},9213:(i,a,r)=>{"use strict";r.d(a,{An:()=>Rt,m_:()=>wt,tp:()=>et});var o=r(4438),s=r(6600),c=r(177),y=r(7673),k=r(8810),S=r(7468),I=r(8359),T=r(8141),M=r(6354),R=r(9437),L=r(980),J=r(7647),W=r(6697),q=r(1626),ct=r(345);const ht=["*"];let tt;function Tt(Ut){return function xt(){if(void 0===tt&&(tt=null,typeof window<"u")){const Ut=window;void 0!==Ut.trustedTypes&&(tt=Ut.trustedTypes.createPolicy("angular#components",{createHTML:Ae=>Ae}))}return tt}()?.createHTML(Ut)||Ut}function $t(Ut){return Error(`Unable to find icon with the name "${Ut}"`)}function _t(Ut){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Ut}".`)}function nt(Ut){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Ut}".`)}class at{constructor(Ae,Xt,pe){this.url=Ae,this.svgText=Xt,this.options=pe}}let et=(()=>{class Ut{constructor(Xt,pe,te,Ye){this._httpClient=Xt,this._sanitizer=pe,this._errorHandler=Ye,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=te}addSvgIcon(Xt,pe,te){return this.addSvgIconInNamespace("",Xt,pe,te)}addSvgIconLiteral(Xt,pe,te){return this.addSvgIconLiteralInNamespace("",Xt,pe,te)}addSvgIconInNamespace(Xt,pe,te,Ye){return this._addSvgIconConfig(Xt,pe,new at(te,null,Ye))}addSvgIconResolver(Xt){return this._resolvers.push(Xt),this}addSvgIconLiteralInNamespace(Xt,pe,te,Ye){const We=this._sanitizer.sanitize(o.WPN.HTML,te);if(!We)throw nt(te);const Bt=Tt(We);return this._addSvgIconConfig(Xt,pe,new at("",Bt,Ye))}addSvgIconSet(Xt,pe){return this.addSvgIconSetInNamespace("",Xt,pe)}addSvgIconSetLiteral(Xt,pe){return this.addSvgIconSetLiteralInNamespace("",Xt,pe)}addSvgIconSetInNamespace(Xt,pe,te){return this._addSvgIconSetConfig(Xt,new at(pe,null,te))}addSvgIconSetLiteralInNamespace(Xt,pe,te){const Ye=this._sanitizer.sanitize(o.WPN.HTML,pe);if(!Ye)throw nt(pe);const We=Tt(Ye);return this._addSvgIconSetConfig(Xt,new at("",We,te))}registerFontClassAlias(Xt,pe=Xt){return this._fontCssClassesByAlias.set(Xt,pe),this}classNameForFontAlias(Xt){return this._fontCssClassesByAlias.get(Xt)||Xt}setDefaultFontSetClass(...Xt){return this._defaultFontSetClass=Xt,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Xt){const pe=this._sanitizer.sanitize(o.WPN.RESOURCE_URL,Xt);if(!pe)throw _t(Xt);const te=this._cachedIconsByUrl.get(pe);return te?(0,y.of)(jt(te)):this._loadSvgIconFromConfig(new at(Xt,null)).pipe((0,T.M)(Ye=>this._cachedIconsByUrl.set(pe,Ye)),(0,M.T)(Ye=>jt(Ye)))}getNamedSvgIcon(Xt,pe=""){const te=Gt(pe,Xt);let Ye=this._svgIconConfigs.get(te);if(Ye)return this._getSvgFromConfig(Ye);if(Ye=this._getIconConfigFromResolvers(pe,Xt),Ye)return this._svgIconConfigs.set(te,Ye),this._getSvgFromConfig(Ye);const We=this._iconSetConfigs.get(pe);return We?this._getSvgFromIconSetConfigs(Xt,We):(0,k.$)($t(te))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Xt){return Xt.svgText?(0,y.of)(jt(this._svgElementFromConfig(Xt))):this._loadSvgIconFromConfig(Xt).pipe((0,M.T)(pe=>jt(pe)))}_getSvgFromIconSetConfigs(Xt,pe){const te=this._extractIconWithNameFromAnySet(Xt,pe);if(te)return(0,y.of)(te);const Ye=pe.filter(We=>!We.svgText).map(We=>this._loadSvgIconSetFromConfig(We).pipe((0,R.W)(Bt=>{const Ot=`Loading icon set URL: ${this._sanitizer.sanitize(o.WPN.RESOURCE_URL,We.url)} failed: ${Bt.message}`;return this._errorHandler.handleError(new Error(Ot)),(0,y.of)(null)})));return(0,S.p)(Ye).pipe((0,M.T)(()=>{const We=this._extractIconWithNameFromAnySet(Xt,pe);if(!We)throw $t(Xt);return We}))}_extractIconWithNameFromAnySet(Xt,pe){for(let te=pe.length-1;te>=0;te--){const Ye=pe[te];if(Ye.svgText&&Ye.svgText.toString().indexOf(Xt)>-1){const We=this._svgElementFromConfig(Ye),Bt=this._extractSvgIconFromSet(We,Xt,Ye.options);if(Bt)return Bt}}return null}_loadSvgIconFromConfig(Xt){return this._fetchIcon(Xt).pipe((0,T.M)(pe=>Xt.svgText=pe),(0,M.T)(()=>this._svgElementFromConfig(Xt)))}_loadSvgIconSetFromConfig(Xt){return Xt.svgText?(0,y.of)(null):this._fetchIcon(Xt).pipe((0,T.M)(pe=>Xt.svgText=pe))}_extractSvgIconFromSet(Xt,pe,te){const Ye=Xt.querySelector(`[id="${pe}"]`);if(!Ye)return null;const We=Ye.cloneNode(!0);if(We.removeAttribute("id"),"svg"===We.nodeName.toLowerCase())return this._setSvgAttributes(We,te);if("symbol"===We.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(We),te);const Bt=this._svgElementFromString(Tt(""));return Bt.appendChild(We),this._setSvgAttributes(Bt,te)}_svgElementFromString(Xt){const pe=this._document.createElement("DIV");pe.innerHTML=Xt;const te=pe.querySelector("svg");if(!te)throw Error(" tag not found");return te}_toSvgElement(Xt){const pe=this._svgElementFromString(Tt("")),te=Xt.attributes;for(let Ye=0;YeTt(Ot)),(0,L.j)(()=>this._inProgressUrlFetches.delete(We)),(0,J.u)());return this._inProgressUrlFetches.set(We,Zt),Zt}_addSvgIconConfig(Xt,pe,te){return this._svgIconConfigs.set(Gt(Xt,pe),te),this}_addSvgIconSetConfig(Xt,pe){const te=this._iconSetConfigs.get(Xt);return te?te.push(pe):this._iconSetConfigs.set(Xt,[pe]),this}_svgElementFromConfig(Xt){if(!Xt.svgElement){const pe=this._svgElementFromString(Xt.svgText);this._setSvgAttributes(pe,Xt.options),Xt.svgElement=pe}return Xt.svgElement}_getIconConfigFromResolvers(Xt,pe){for(let te=0;teAe?Ae.pathname+Ae.search:""}}}),vr=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Xr=vr.map(Ut=>`[${Ut}]`).join(", "),ke=/^url\(['"]?#(.*?)['"]?\)$/;let Rt=(()=>{class Ut{get color(){return this._color||this._defaultColor}set color(Xt){this._color=Xt}get svgIcon(){return this._svgIcon}set svgIcon(Xt){Xt!==this._svgIcon&&(Xt?this._updateSvgIcon(Xt):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Xt)}get fontSet(){return this._fontSet}set fontSet(Xt){const pe=this._cleanupFontValue(Xt);pe!==this._fontSet&&(this._fontSet=pe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Xt){const pe=this._cleanupFontValue(Xt);pe!==this._fontIcon&&(this._fontIcon=pe,this._updateFontIconClasses())}constructor(Xt,pe,te,Ye,We,Bt){this._elementRef=Xt,this._iconRegistry=pe,this._location=Ye,this._errorHandler=We,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=I.yU.EMPTY,Bt&&(Bt.color&&(this.color=this._defaultColor=Bt.color),Bt.fontSet&&(this.fontSet=Bt.fontSet)),te||Xt.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Xt){if(!Xt)return["",""];const pe=Xt.split(":");switch(pe.length){case 1:return["",pe[0]];case 2:return pe;default:throw Error(`Invalid icon name: "${Xt}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Xt=this._elementsWithExternalReferences;if(Xt&&Xt.size){const pe=this._location.getPathname();pe!==this._previousPath&&(this._previousPath=pe,this._prependPathToReferences(pe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Xt){this._clearSvgElement();const pe=this._location.getPathname();this._previousPath=pe,this._cacheChildrenWithExternalReferences(Xt),this._prependPathToReferences(pe),this._elementRef.nativeElement.appendChild(Xt)}_clearSvgElement(){const Xt=this._elementRef.nativeElement;let pe=Xt.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();pe--;){const te=Xt.childNodes[pe];(1!==te.nodeType||"svg"===te.nodeName.toLowerCase())&&te.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Xt=this._elementRef.nativeElement,pe=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(te=>te.length>0);this._previousFontSetClass.forEach(te=>Xt.classList.remove(te)),pe.forEach(te=>Xt.classList.add(te)),this._previousFontSetClass=pe,this.fontIcon!==this._previousFontIconClass&&!pe.includes("mat-ligature-font")&&(this._previousFontIconClass&&Xt.classList.remove(this._previousFontIconClass),this.fontIcon&&Xt.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Xt){return"string"==typeof Xt?Xt.trim().split(" ")[0]:Xt}_prependPathToReferences(Xt){const pe=this._elementsWithExternalReferences;pe&&pe.forEach((te,Ye)=>{te.forEach(We=>{Ye.setAttribute(We.name,`url('${Xt}#${We.value}')`)})})}_cacheChildrenWithExternalReferences(Xt){const pe=Xt.querySelectorAll(Xr),te=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ye=0;Ye{const Bt=pe[Ye],Zt=Bt.getAttribute(We),Ot=Zt?Zt.match(ke):null;if(Ot){let le=te.get(Bt);le||(le=[],te.set(Bt,le)),le.push({name:We,value:Ot[1]})}})}_updateSvgIcon(Xt){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Xt){const[pe,te]=this._splitIconName(Xt);pe&&(this._svgNamespace=pe),te&&(this._svgName=te),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(te,pe).pipe((0,W.s)(1)).subscribe(Ye=>this._setSvgElement(Ye),Ye=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${pe}:${te}! ${Ye.message}`))})}}static{this.\u0275fac=function(pe){return new(pe||Ut)(o.rXU(o.aKT),o.rXU(et),o.kS0("aria-hidden"),o.rXU(Er),o.rXU(o.zcH),o.rXU(Xe,8))}}static{this.\u0275cmp=o.VBU({type:Ut,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(pe,te){2&pe&&(o.BMQ("data-mat-icon-type",te._usingFontIcon()?"font":"svg")("data-mat-icon-name",te._svgName||te.fontIcon)("data-mat-icon-namespace",te._svgNamespace||te.fontSet)("fontIcon",te._usingFontIcon()?te.fontIcon:null),o.HbH(te.color?"mat-"+te.color:""),o.AVh("mat-icon-inline",te.inline)("mat-icon-no-color","primary"!==te.color&&"accent"!==te.color&&"warn"!==te.color))},inputs:{color:"color",inline:[2,"inline","inline",o.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[o.GFd,o.aNF],ngContentSelectors:ht,decls:1,vars:0,template:function(pe,te){1&pe&&(o.NAR(),o.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return Ut})(),wt=(()=>{class Ut{static{this.\u0275fac=function(pe){return new(pe||Ut)}}static{this.\u0275mod=o.$C({type:Ut})}static{this.\u0275inj=o.G2t({imports:[s.yE,s.yE]})}}return Ut})()},9042:(i,a,r)=>{"use strict";r.d(a,{fS:()=>q,fg:()=>W});var o=r(4085),s=r(6860),c=r(7403),y=r(4438),k=r(9417),S=r(6600),I=r(2102),T=r(1413);const R=new y.nKC("MAT_INPUT_VALUE_ACCESSOR"),L=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let J=0,W=(()=>{class ct{get disabled(){return this._disabled}set disabled(tt){this._disabled=(0,o.he)(tt),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(tt){this._id=tt||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(k.k0.required)??!1}set required(tt){this._required=(0,o.he)(tt)}get type(){return this._type}set type(tt){this._type=tt||"text",this._validateType(),!this._isTextarea&&(0,s.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(tt){this._errorStateTracker.matcher=tt}get value(){return this._inputValueAccessor.value}set value(tt){tt!==this.value&&(this._inputValueAccessor.value=tt,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(tt){this._readonly=(0,o.he)(tt)}get errorState(){return this._errorStateTracker.errorState}set errorState(tt){this._errorStateTracker.errorState=tt}constructor(tt,xt,Tt,$t,St,_t,nt,at,et,bt){this._elementRef=tt,this._platform=xt,this.ngControl=Tt,this._autofillMonitor=at,this._ngZone=et,this._formField=bt,this._uid="mat-input-"+J++,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new T.B,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Gt=>(0,s.MU)().has(Gt)),this._iOSKeyupListener=Gt=>{const ie=Gt.target;!ie.value&&0===ie.selectionStart&&0===ie.selectionEnd&&(ie.setSelectionRange(1,1),ie.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};const Et=this._elementRef.nativeElement,jt=Et.nodeName.toLowerCase();this._inputValueAccessor=nt||Et,this._previousNativeValue=this.value,this.id=this.id,xt.IOS&&et.runOutsideAngular(()=>{tt.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new S.X0(_t,Tt,St,$t,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===jt,this._isTextarea="textarea"===jt,this._isInFormField=!!bt,this._isNativeSelect&&(this.controlType=Et.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(tt=>{this.autofilled=tt.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(tt){this._elementRef.nativeElement.focus(tt)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(tt){tt!==this.focused&&(this.focused=tt,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const tt=this._elementRef.nativeElement.value;this._previousNativeValue!==tt&&(this._previousNativeValue=tt,this.stateChanges.next())}_dirtyCheckPlaceholder(){const tt=this._getPlaceholder();if(tt!==this._previousPlaceholder){const xt=this._elementRef.nativeElement;this._previousPlaceholder=tt,tt?xt.setAttribute("placeholder",tt):xt.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){L.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let tt=this._elementRef.nativeElement.validity;return tt&&tt.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const tt=this._elementRef.nativeElement,xt=tt.options[0];return this.focused||tt.multiple||!this.empty||!!(tt.selectedIndex>-1&&xt&&xt.label)}return this.focused||!this.empty}setDescribedByIds(tt){tt.length?this._elementRef.nativeElement.setAttribute("aria-describedby",tt.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const tt=this._elementRef.nativeElement;return this._isNativeSelect&&(tt.multiple||tt.size>1)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&"number"===this._type&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&"number"!==this._type&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}static{this.\u0275fac=function(xt){return new(xt||ct)(y.rXU(y.aKT),y.rXU(s.OD),y.rXU(k.vO,10),y.rXU(k.cV,8),y.rXU(k.j4,8),y.rXU(S.es),y.rXU(R,10),y.rXU(c.P8),y.rXU(y.SKi),y.rXU(I.xb,8))}}static{this.\u0275dir=y.FsC({type:ct,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(xt,Tt){1&xt&&y.bIt("focus",function(){return Tt._focusChanged(!0)})("blur",function(){return Tt._focusChanged(!1)})("input",function(){return Tt._onInput()}),2&xt&&(y.Mr5("id",Tt.id)("disabled",Tt.disabled)("required",Tt.required),y.BMQ("name",Tt.name||null)("readonly",Tt.readonly&&!Tt._isNativeSelect||null)("aria-invalid",Tt.empty&&Tt.required?null:Tt.errorState)("aria-required",Tt.required)("id",Tt.id),y.AVh("mat-input-server",Tt._isServer)("mat-mdc-form-field-textarea-control",Tt._isInFormField&&Tt._isTextarea)("mat-mdc-form-field-input-control",Tt._isInFormField)("mdc-text-field__input",Tt._isInFormField)("mat-mdc-native-select-inline",Tt._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[y.Jv_([{provide:I.qT,useExisting:ct}]),y.OA$]})}}return ct})(),q=(()=>{class ct{static{this.\u0275fac=function(xt){return new(xt||ct)}}static{this.\u0275mod=y.$C({type:ct})}static{this.\u0275inj=y.G2t({imports:[S.yE,I.RG,I.RG,c.EE,S.yE]})}}return ct})()},9115:(i,a,r)=>{"use strict";r.d(a,{Cn:()=>le,Cp:()=>Ot,fb:()=>ie,kk:()=>pe});var o=r(4438),s=r(9888),c=r(7336),y=r(1413),k=r(7786),S=r(8359),I=r(7673),T=r(5007),M=r(9172),R=r(5558),L=r(6977),J=r(5964),W=r(6697),q=r(1986),ct=r(177),ht=r(6600),tt=r(6939),xt=r(9969),Tt=r(8203),$t=r(7987),St=r(6860),_t=r(5542);const nt=["mat-menu-item",""],at=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],et=["mat-icon, [matMenuItemIcon]","*"];function bt(qt,Ve){1&qt&&(o.qSk(),o.j41(0,"svg",2),o.nrm(1,"polygon",3),o.k0s())}const Et=["*"];function jt(qt,Ve){if(1&qt){const Ht=o.RV6();o.j41(0,"div",0),o.bIt("keydown",function(Ke){o.eBV(Ht);const Fe=o.XpG();return o.Njj(Fe._handleKeydown(Ke))})("click",function(){o.eBV(Ht);const Ke=o.XpG();return o.Njj(Ke.closed.emit("click"))})("@transformMenu.start",function(Ke){o.eBV(Ht);const Fe=o.XpG();return o.Njj(Fe._onAnimationStart(Ke))})("@transformMenu.done",function(Ke){o.eBV(Ht);const Fe=o.XpG();return o.Njj(Fe._onAnimationDone(Ke))}),o.j41(1,"div",1),o.SdG(2),o.k0s()()}if(2&qt){const Ht=o.XpG();o.HbH(Ht._classList),o.Y8G("id",Ht.panelId)("@transformMenu",Ht._panelAnimationState),o.BMQ("aria-label",Ht.ariaLabel||null)("aria-labelledby",Ht.ariaLabelledby||null)("aria-describedby",Ht.ariaDescribedby||null)}}const Gt=new o.nKC("MAT_MENU_PANEL");let ie=(()=>{class qt{constructor(Ht,Me,Ke,Fe,Or){this._elementRef=Ht,this._document=Me,this._focusMonitor=Ke,this._parentMenu=Fe,this._changeDetectorRef=Or,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new y.B,this._focused=new y.B,this._highlighted=!1,this._triggersSubmenu=!1,Fe?.addItem?.(this)}focus(Ht,Me){this._focusMonitor&&Ht?this._focusMonitor.focusVia(this._getHostElement(),Ht,Me):this._getHostElement().focus(Me),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Ht){this.disabled&&(Ht.preventDefault(),Ht.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ht=this._elementRef.nativeElement.cloneNode(!0),Me=Ht.querySelectorAll("mat-icon, .material-icons");for(let Ke=0;Ke enter",(0,xt.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,xt.iF)({opacity:1,transform:"scale(1)"}))),(0,xt.kY)("* => void",(0,xt.i0)("100ms 25ms linear",(0,xt.iF)({opacity:0})))]),fadeInItems:(0,xt.hZ)("fadeInItems",[(0,xt.wk)("showing",(0,xt.iF)({opacity:1})),(0,xt.kY)("void => *",[(0,xt.iF)({opacity:0}),(0,xt.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ut=0;const Ae=new o.nKC("mat-menu-default-options",{providedIn:"root",factory:function Xt(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let pe=(()=>{class qt{get xPosition(){return this._xPosition}set xPosition(Ht){this._xPosition=Ht,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ht){this._yPosition=Ht,this.setPositionClasses()}set panelClass(Ht){const Me=this._previousPanelClass,Ke={...this._classList};Me&&Me.length&&Me.split(" ").forEach(Fe=>{Ke[Fe]=!1}),this._previousPanelClass=Ht,Ht&&Ht.length&&(Ht.split(" ").forEach(Fe=>{Ke[Fe]=!0}),this._elementRef.nativeElement.className=""),this._classList=Ke}get classList(){return this.panelClass}set classList(Ht){this.panelClass=Ht}constructor(Ht,Me,Ke,Fe){this._elementRef=Ht,this._changeDetectorRef=Fe,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new o.rOR,this._classList={},this._panelAnimationState="void",this._animationDone=new y.B,this.closed=new o.bkB,this.close=this.closed,this.panelId="mat-menu-panel-"+Ut++,this._injector=(0,o.WQX)(o.zZn),this.overlayPanelClass=Ke.overlayPanelClass||"",this._xPosition=Ke.xPosition,this._yPosition=Ke.yPosition,this.backdropClass=Ke.backdropClass,this.overlapTrigger=Ke.overlapTrigger,this.hasBackdrop=Ke.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new s.Bu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,M.Z)(this._directDescendantItems),(0,R.n)(Ht=>(0,k.h)(...Ht.map(Me=>Me._focused)))).subscribe(Ht=>this._keyManager.updateActiveItem(Ht)),this._directDescendantItems.changes.subscribe(Ht=>{const Me=this._keyManager;if("enter"===this._panelAnimationState&&Me.activeItem?._hasFocus()){const Ke=Ht.toArray(),Fe=Math.max(0,Math.min(Ke.length-1,Me.activeItemIndex||0));Ke[Fe]&&!Ke[Fe].disabled?Me.setActiveItem(Fe):Me.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe((0,M.Z)(this._directDescendantItems),(0,R.n)(Me=>(0,k.h)(...Me.map(Ke=>Ke._hovered))))}addItem(Ht){}removeItem(Ht){}_handleKeydown(Ht){const Me=Ht.keyCode,Ke=this._keyManager;switch(Me){case c._f:(0,c.rp)(Ht)||(Ht.preventDefault(),this.closed.emit("keydown"));break;case c.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case c.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Me===c.i7||Me===c.n6)&&Ke.setFocusOrigin("keyboard"),void Ke.onKeydown(Ht)}Ht.stopPropagation()}focusFirstItem(Ht="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,o.mal)(()=>{let Me=null;if(this._directDescendantItems.length&&(Me=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Me||!Me.contains(document.activeElement)){const Ke=this._keyManager;Ke.setFocusOrigin(Ht).setFirstItemActive(),!Ke.activeItem&&Me&&Me.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ht){if(null===this._baseElevation){const yo=("function"==typeof getComputedStyle?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(yo)}const Me=Math.min(this._baseElevation+Ht,24),Ke=`${this._elevationPrefix}${Me}`,Fe=Object.keys(this._classList).find(Or=>Or.startsWith(this._elevationPrefix));if(!Fe||Fe===this._previousElevation){const Or={...this._classList};this._previousElevation&&(Or[this._previousElevation]=!1),Or[Ke]=!0,this._previousElevation=Ke,this._classList=Or}}setPositionClasses(Ht=this.xPosition,Me=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===Ht,"mat-menu-after":"after"===Ht,"mat-menu-above":"above"===Me,"mat-menu-below":"below"===Me},this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Ht){this._animationDone.next(Ht),this._isAnimating=!1}_onAnimationStart(Ht){this._isAnimating=!0,"enter"===Ht.toState&&0===this._keyManager.activeItemIndex&&(Ht.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,M.Z)(this._allItems)).subscribe(Ht=>{this._directDescendantItems.reset(Ht.filter(Me=>Me._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(Me){return new(Me||qt)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(Ae),o.rXU(o.gRc))}}static{this.\u0275cmp=o.VBU({type:qt,selectors:[["mat-menu"]],contentQueries:function(Me,Ke,Fe){if(1&Me&&(o.wni(Fe,vr,5),o.wni(Fe,ie,5),o.wni(Fe,ie,4)),2&Me){let Or;o.mGM(Or=o.lsd())&&(Ke.lazyContent=Or.first),o.mGM(Or=o.lsd())&&(Ke._allItems=Or),o.mGM(Or=o.lsd())&&(Ke.items=Or)}},viewQuery:function(Me,Ke){if(1&Me&&o.GBs(o.C4Q,5),2&Me){let Fe;o.mGM(Fe=o.lsd())&&(Ke.templateRef=Fe.first)}},hostVars:3,hostBindings:function(Me,Ke){2&Me&&o.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",o.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",Ht=>null==Ht?null:(0,o.L39)(Ht)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[o.Jv_([{provide:Gt,useExisting:qt}]),o.GFd,o.aNF],ngContentSelectors:Et,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(Me,Ke){1&Me&&(o.NAR(),o.DNE(0,jt,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-app-surface-container));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-app-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-app-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[ke.transformMenu,ke.fadeInItems]},changeDetection:0})}}return qt})();const te=new o.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const qt=(0,o.WQX)($t.hJ);return()=>qt.scrollStrategies.reposition()}}),We={provide:te,deps:[$t.hJ],useFactory:function Ye(qt){return()=>qt.scrollStrategies.reposition()}},Bt=(0,St.BQ)({passive:!0});let Ot=(()=>{class qt{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ht){this.menu=Ht}get menu(){return this._menu}set menu(Ht){Ht!==this._menu&&(this._menu=Ht,this._menuCloseSubscription.unsubscribe(),Ht&&(this._menuCloseSubscription=Ht.close.subscribe(Me=>{this._destroyMenu(Me),("click"===Me||"tab"===Me)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Me)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Ht,Me,Ke,Fe,Or,yo,dr,Nt,we){this._overlay=Ht,this._element=Me,this._viewContainerRef=Ke,this._menuItemInstance=yo,this._dir=dr,this._focusMonitor=Nt,this._ngZone=we,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=S.yU.EMPTY,this._hoverSubscription=S.yU.EMPTY,this._menuCloseSubscription=S.yU.EMPTY,this._changeDetectorRef=(0,o.WQX)(o.gRc),this._handleTouchStart=de=>{(0,s.w6)(de)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.bkB,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.bkB,this.onMenuClose=this.menuClosed,this._scrollStrategy=Fe,this._parentMaterialMenu=Or instanceof pe?Or:void 0,Me.nativeElement.addEventListener("touchstart",this._handleTouchStart,Bt)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Bt),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const Ht=this.menu;if(this._menuOpen||!Ht)return;const Me=this._createOverlay(Ht),Ke=Me.getConfig(),Fe=Ke.positionStrategy;this._setPosition(Ht,Fe),Ke.hasBackdrop=null==Ht.hasBackdrop?!this.triggersSubmenu():Ht.hasBackdrop,Me.attach(this._getPortal(Ht)),Ht.lazyContent&&Ht.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Ht),Ht instanceof pe&&(Ht._startAnimation(),Ht._directDescendantItems.changes.pipe((0,L.Q)(Ht.close)).subscribe(()=>{Fe.withLockedPosition(!1).reapplyLastPosition(),Fe.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Ht,Me){this._focusMonitor&&Ht?this._focusMonitor.focusVia(this._element,Ht,Me):this._element.nativeElement.focus(Me)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Ht){if(!this._overlayRef||!this.menuOpen)return;const Me=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Ht||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Me instanceof pe?(Me._resetAnimation(),Me.lazyContent?Me._animationDone.pipe((0,J.p)(Ke=>"void"===Ke.toState),(0,W.s)(1),(0,L.Q)(Me.lazyContent._attached)).subscribe({next:()=>Me.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Me?.lazyContent?.detach())}_initMenu(Ht){Ht.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Ht.direction=this.dir,this._setMenuElevation(Ht),Ht.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Ht){if(Ht.setElevation){let Me=0,Ke=Ht.parentMenu;for(;Ke;)Me++,Ke=Ke.parentMenu;Ht.setElevation(Me)}}_setIsMenuOpen(Ht){Ht!==this._menuOpen&&(this._menuOpen=Ht,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ht),this._changeDetectorRef.markForCheck())}_createOverlay(Ht){if(!this._overlayRef){const Me=this._getOverlayConfig(Ht);this._subscribeToPositions(Ht,Me.positionStrategy),this._overlayRef=this._overlay.create(Me),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Ht){return new $t.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ht.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ht.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Ht,Me){Ht.setPositionClasses&&Me.positionChanges.subscribe(Ke=>{const Fe="start"===Ke.connectionPair.overlayX?"after":"before",Or="top"===Ke.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Ht.setPositionClasses(Fe,Or)):Ht.setPositionClasses(Fe,Or)})}_setPosition(Ht,Me){let[Ke,Fe]="before"===Ht.xPosition?["end","start"]:["start","end"],[Or,yo]="above"===Ht.yPosition?["bottom","top"]:["top","bottom"],[dr,Nt]=[Or,yo],[we,de]=[Ke,Fe],Ie=0;if(this.triggersSubmenu()){if(de=Ke="before"===Ht.xPosition?"start":"end",Fe=we="end"===Ke?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const br=this._parentMaterialMenu.items.first;this._parentInnerPadding=br?br._getHostElement().offsetTop:0}Ie="bottom"===Or?this._parentInnerPadding:-this._parentInnerPadding}}else Ht.overlapTrigger||(dr="top"===Or?"bottom":"top",Nt="top"===yo?"bottom":"top");Me.withPositions([{originX:Ke,originY:dr,overlayX:we,overlayY:Or,offsetY:Ie},{originX:Fe,originY:dr,overlayX:de,overlayY:Or,offsetY:Ie},{originX:Ke,originY:Nt,overlayX:we,overlayY:yo,offsetY:-Ie},{originX:Fe,originY:Nt,overlayX:de,overlayY:yo,offsetY:-Ie}])}_menuClosingActions(){const Ht=this._overlayRef.backdropClick(),Me=this._overlayRef.detachments(),Ke=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,I.of)(),Fe=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,J.p)(Or=>Or!==this._menuItemInstance),(0,J.p)(()=>this._menuOpen)):(0,I.of)();return(0,k.h)(Ht,Ke,Fe,Me)}_handleMousedown(Ht){(0,s._G)(Ht)||(this._openedBy=0===Ht.button?"mouse":void 0,this.triggersSubmenu()&&Ht.preventDefault())}_handleKeydown(Ht){const Me=Ht.keyCode;(Me===c.Fm||Me===c.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Me===c.LE&&"ltr"===this.dir||Me===c.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ht){this.triggersSubmenu()?(Ht.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,J.p)(Ht=>Ht===this._menuItemInstance&&!Ht.disabled),(0,q.c)(0,T.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof pe&&this.menu._isAnimating?this.menu._animationDone.pipe((0,W.s)(1),(0,q.c)(0,T.$),(0,L.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Ht){return(!this._portal||this._portal.templateRef!==Ht.templateRef)&&(this._portal=new tt.VA(Ht.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(Me){return new(Me||qt)(o.rXU($t.hJ),o.rXU(o.aKT),o.rXU(o.c1b),o.rXU(te),o.rXU(Gt,8),o.rXU(ie,10),o.rXU(Tt.dS,8),o.rXU(s.FN),o.rXU(o.SKi))}}static{this.\u0275dir=o.FsC({type:qt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Me,Ke){1&Me&&o.bIt("click",function(Or){return Ke._handleClick(Or)})("mousedown",function(Or){return Ke._handleMousedown(Or)})("keydown",function(Or){return Ke._handleKeydown(Or)}),2&Me&&o.BMQ("aria-haspopup",Ke.menu?"menu":null)("aria-expanded",Ke.menuOpen)("aria-controls",Ke.menuOpen?Ke.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}}return qt})(),le=(()=>{class qt{static{this.\u0275fac=function(Me){return new(Me||qt)}}static{this.\u0275mod=o.$C({type:qt})}static{this.\u0275inj=o.G2t({providers:[We],imports:[ct.MD,ht.pZ,ht.yE,$t.z_,_t.Gj,ht.yE]})}}return qt})()},7575:(i,a,r)=>{"use strict";r.d(a,{HM:()=>T,PO:()=>R});var o=r(4438),c=(r(177),r(6600));function y(L,J){1&L&&o.nrm(0,"div",2)}const k=new o.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let T=(()=>{class L{constructor(W,q,ct,ht,tt){this._elementRef=W,this._ngZone=q,this._changeDetectorRef=ct,this._animationMode=ht,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new o.bkB,this._mode="determinate",this._transitionendHandler=xt=>{0===this.animationEnd.observers.length||!xt.target||!xt.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===ht,tt&&(tt.color&&(this.color=this._defaultColor=tt.color),this.mode=tt.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(W){this._color=W}get value(){return this._value}set value(W){this._value=M(W||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(W){this._bufferValue=M(W||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(W){this._mode=W,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static{this.\u0275fac=function(q){return new(q||L)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(o.gRc),o.rXU(o.bc$,8),o.rXU(k,8))}}static{this.\u0275cmp=o.VBU({type:L,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(q,ct){2&q&&(o.BMQ("aria-valuenow",ct._isIndeterminate()?null:ct.value)("mode",ct.mode),o.HbH("mat-"+ct.color),o.AVh("_mat-animation-noopable",ct._isNoopAnimation)("mdc-linear-progress--animation-ready",!ct._isNoopAnimation)("mdc-linear-progress--indeterminate",ct._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",o.Udg],bufferValue:[2,"bufferValue","bufferValue",o.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[o.GFd,o.aNF],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(q,ct){1&q&&(o.j41(0,"div",0),o.nrm(1,"div",1),o.DNE(2,y,1,0,"div",2),o.k0s(),o.j41(3,"div",3),o.nrm(4,"span",4),o.k0s(),o.j41(5,"div",5),o.nrm(6,"span",4),o.k0s()),2&q&&(o.R7$(),o.xc7("flex-basis",ct._getBufferBarFlexBasis()),o.R7$(),o.vxM("buffer"===ct.mode?2:-1),o.R7$(),o.xc7("transform",ct._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height),var(--mdc-linear-progress-active-indicator-height))}.cdk-high-contrast-active .mdc-linear-progress{outline-color:CanvasText}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-app-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.cdk-high-contrast-active .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}"],encapsulation:2,changeDetection:0})}}return L})();function M(L,J=0,W=100){return Math.max(J,Math.min(W,L))}let R=(()=>{class L{static{this.\u0275fac=function(q){return new(q||L)}}static{this.\u0275mod=o.$C({type:L})}static{this.\u0275inj=o.G2t({imports:[c.yE]})}}return L})()},2798:(i,a,r)=>{"use strict";r.d(a,{$2:()=>Ye,VO:()=>te,Ve:()=>We});var o=r(7987),s=r(177),c=r(4438),y=r(6600),k=r(2102),S=r(5542),I=r(9888),T=r(8203),M=r(5024),R=r(7336),L=r(9417),J=r(1413),W=r(9030),q=r(7786),ct=r(9172),ht=r(5558),tt=r(5964),xt=r(6354),Tt=r(3294),$t=r(6977),St=r(6697),_t=r(9969);const nt=["trigger"],at=["panel"],et=[[["mat-select-trigger"]],"*"],bt=["mat-select-trigger","*"];function Et(Bt,Zt){if(1&Bt&&(c.j41(0,"span",4),c.EFF(1),c.k0s()),2&Bt){const Ot=c.XpG();c.R7$(),c.JRh(Ot.placeholder)}}function jt(Bt,Zt){1&Bt&&c.SdG(0)}function Gt(Bt,Zt){if(1&Bt&&(c.j41(0,"span",11),c.EFF(1),c.k0s()),2&Bt){const Ot=c.XpG(2);c.R7$(),c.JRh(Ot.triggerValue)}}function ie(Bt,Zt){if(1&Bt&&(c.j41(0,"span",5),c.DNE(1,jt,1,0)(2,Gt,2,1,"span",11),c.k0s()),2&Bt){const Ot=c.XpG();c.R7$(),c.vxM(Ot.customTrigger?1:2)}}function Xe(Bt,Zt){if(1&Bt){const Ot=c.RV6();c.j41(0,"div",12,1),c.bIt("@transformPanel.done",function(qt){c.eBV(Ot);const Ve=c.XpG();return c.Njj(Ve._panelDoneAnimatingStream.next(qt.toState))})("keydown",function(qt){c.eBV(Ot);const Ve=c.XpG();return c.Njj(Ve._handleKeydown(qt))}),c.SdG(2,1),c.k0s()}if(2&Bt){const Ot=c.XpG();c.ZvI("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ot._getPanelTheme(),""),c.Y8G("ngClass",Ot.panelClass)("@transformPanel","showing"),c.BMQ("id",Ot.id+"-panel")("aria-multiselectable",Ot.multiple)("aria-label",Ot.ariaLabel||null)("aria-labelledby",Ot._getPanelAriaLabelledby())}}const Er={transformPanelWrap:(0,_t.hZ)("transformPanelWrap",[(0,_t.kY)("* => void",(0,_t.P)("@transformPanel",[(0,_t.MA)()],{optional:!0}))]),transformPanel:(0,_t.hZ)("transformPanel",[(0,_t.wk)("void",(0,_t.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,_t.kY)("void => showing",(0,_t.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,_t.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,_t.kY)("* => void",(0,_t.i0)("100ms linear",(0,_t.iF)({opacity:0})))])};let ke=0;const Rt=new c.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const Bt=(0,c.WQX)(o.hJ);return()=>Bt.scrollStrategies.reposition()}}),Ut=new c.nKC("MAT_SELECT_CONFIG"),Ae={provide:Rt,deps:[o.hJ],useFactory:function wt(Bt){return()=>Bt.scrollStrategies.reposition()}},Xt=new c.nKC("MatSelectTrigger");class pe{constructor(Zt,Ot){this.source=Zt,this.value=Ot}}let te=(()=>{class Bt{_scrollOptionIntoView(Ot){const le=this.options.toArray()[Ot];if(le){const qt=this.panel.nativeElement,Ve=(0,y.jb)(Ot,this.options,this.optionGroups),Ht=le._getHostElement();qt.scrollTop=0===Ot&&1===Ve?0:(0,y.TL)(Ht.offsetTop,Ht.offsetHeight,qt.scrollTop,qt.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Ot){return new pe(this,Ot)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Ot){this._hideSingleSelectionIndicator=Ot,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(Ot){this._placeholder=Ot,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(L.k0.required)??!1}set required(Ot){this._required=Ot,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ot){this._multiple=Ot}get compareWith(){return this._compareWith}set compareWith(Ot){this._compareWith=Ot,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ot){this._assignValue(Ot)&&this._onChange(Ot)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(Ot){this._errorStateTracker.matcher=Ot}get id(){return this._id}set id(Ot){this._id=Ot||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(Ot){this._errorStateTracker.errorState=Ot}constructor(Ot,le,qt,Ve,Ht,Me,Ke,Fe,Or,yo,dr,Nt,we,de){this._viewportRuler=Ot,this._changeDetectorRef=le,this._elementRef=Ht,this._dir=Me,this._parentFormField=Or,this.ngControl=yo,this._liveAnnouncer=we,this._defaultOptions=de,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(Ie,br)=>Ie===br,this._uid="mat-select-"+ke++,this._triggerAriaLabelledBy=null,this._destroy=new J.B,this.stateChanges=new J.B,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ke++,this._panelDoneAnimatingStream=new J.B,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new J.B,this.optionSelectionChanges=(0,W.v)(()=>{const Ie=this.options;return Ie?Ie.changes.pipe((0,ct.Z)(Ie),(0,ht.n)(()=>(0,q.h)(...Ie.map(br=>br.onSelectionChange)))):this._initialized.pipe((0,ht.n)(()=>this.optionSelectionChanges))}),this.openedChange=new c.bkB,this._openedStream=this.openedChange.pipe((0,tt.p)(Ie=>Ie),(0,xt.T)(()=>{})),this._closedStream=this.openedChange.pipe((0,tt.p)(Ie=>!Ie),(0,xt.T)(()=>{})),this.selectionChange=new c.bkB,this.valueChange=new c.bkB,this._trackedModal=null,this._skipPredicate=Ie=>!this.panelOpen&&Ie.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=de?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=de.typeaheadDebounceInterval),this._errorStateTracker=new y.X0(Ve,yo,Fe,Ke,this.stateChanges),this._scrollStrategyFactory=Nt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(dr)||0,this.id=this.id}ngOnInit(){this._selectionModel=new M.CB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,Tt.F)(),(0,$t.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,$t.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,$t.Q)(this._destroy)).subscribe(Ot=>{Ot.added.forEach(le=>le.select()),Ot.removed.forEach(le=>le.deselect())}),this.options.changes.pipe((0,ct.Z)(null),(0,$t.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ot=this._getTriggerAriaLabelledby(),le=this.ngControl;if(Ot!==this._triggerAriaLabelledBy){const qt=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ot,Ot?qt.setAttribute("aria-labelledby",Ot):qt.removeAttribute("aria-labelledby")}le&&(this._previousControl!==le.control&&(void 0!==this._previousControl&&null!==le.disabled&&le.disabled!==this.disabled&&(this.disabled=le.disabled),this._previousControl=le.control),this.updateErrorState())}ngOnChanges(Ot){(Ot.disabled||Ot.userAriaDescribedBy)&&this.stateChanges.next(),Ot.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const Ot=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ot)return;const le=`${this.id}-panel`;this._trackedModal&&(0,I.Ae)(this._trackedModal,"aria-owns",le),(0,I.px)(Ot,"aria-owns",le),this._trackedModal=Ot}_clearFromModal(){this._trackedModal&&((0,I.Ae)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(Ot){this._assignValue(Ot)}registerOnChange(Ot){this._onChange=Ot}registerOnTouched(Ot){this._onTouched=Ot}setDisabledState(Ot){this.disabled=Ot,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Ot=this._selectionModel.selected.map(le=>le.viewValue);return this._isRtl()&&Ot.reverse(),Ot.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ot){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ot):this._handleClosedKeydown(Ot))}_handleClosedKeydown(Ot){const le=Ot.keyCode,qt=le===R.n6||le===R.i7||le===R.UQ||le===R.LE,Ve=le===R.Fm||le===R.t6,Ht=this._keyManager;if(!Ht.isTyping()&&Ve&&!(0,R.rp)(Ot)||(this.multiple||Ot.altKey)&&qt)Ot.preventDefault(),this.open();else if(!this.multiple){const Me=this.selected;Ht.onKeydown(Ot);const Ke=this.selected;Ke&&Me!==Ke&&this._liveAnnouncer.announce(Ke.viewValue,1e4)}}_handleOpenKeydown(Ot){const le=this._keyManager,qt=Ot.keyCode,Ve=qt===R.n6||qt===R.i7,Ht=le.isTyping();if(Ve&&Ot.altKey)Ot.preventDefault(),this.close();else if(Ht||qt!==R.Fm&&qt!==R.t6||!le.activeItem||(0,R.rp)(Ot))if(!Ht&&this._multiple&&qt===R.A&&Ot.ctrlKey){Ot.preventDefault();const Me=this.options.some(Ke=>!Ke.disabled&&!Ke.selected);this.options.forEach(Ke=>{Ke.disabled||(Me?Ke.select():Ke.deselect())})}else{const Me=le.activeItemIndex;le.onKeydown(Ot),this._multiple&&Ve&&Ot.shiftKey&&le.activeItem&&le.activeItemIndex!==Me&&le.activeItem._selectViaInteraction()}else Ot.preventDefault(),le.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,St.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Ot){if(this.options.forEach(le=>le.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ot)Array.isArray(Ot),Ot.forEach(le=>this._selectOptionByValue(le)),this._sortValues();else{const le=this._selectOptionByValue(Ot);le?this._keyManager.updateActiveItem(le):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ot){const le=this.options.find(qt=>{if(this._selectionModel.isSelected(qt))return!1;try{return null!=qt.value&&this._compareWith(qt.value,Ot)}catch{return!1}});return le&&this._selectionModel.select(le),le}_assignValue(Ot){return!!(Ot!==this._value||this._multiple&&Array.isArray(Ot))&&(this.options&&this._setSelectionByValue(Ot),this._value=Ot,!0)}_getOverlayWidth(Ot){return"auto"===this.panelWidth?(Ot instanceof o.$Q?Ot.elementRef:Ot||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const Ot of this.options)Ot._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new I.Au(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ot=(0,q.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,$t.Q)(Ot)).subscribe(le=>{this._onSelect(le.source,le.isUserInput),le.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,q.h)(...this.options.map(le=>le._stateChanges)).pipe((0,$t.Q)(Ot)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ot,le){const qt=this._selectionModel.isSelected(Ot);null!=Ot.value||this._multiple?(qt!==Ot.selected&&(Ot.selected?this._selectionModel.select(Ot):this._selectionModel.deselect(Ot)),le&&this._keyManager.setActiveItem(Ot),this.multiple&&(this._sortValues(),le&&this.focus())):(Ot.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ot.value)),qt!==this._selectionModel.isSelected(Ot)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ot=this.options.toArray();this._selectionModel.sort((le,qt)=>this.sortComparator?this.sortComparator(le,qt,Ot):Ot.indexOf(le)-Ot.indexOf(qt)),this.stateChanges.next()}}_propagateChanges(Ot){let le;le=this.multiple?this.selected.map(qt=>qt.value):this.selected?this.selected.value:Ot,this._value=le,this.valueChange.emit(le),this._onChange(le),this.selectionChange.emit(this._getChangeEvent(le)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ot=-1;for(let le=0;le0}focus(Ot){this._elementRef.nativeElement.focus(Ot)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ot=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ot?Ot+" ":"")+this.ariaLabelledby:Ot}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ot=this._parentFormField?.getLabelId();let le=(Ot?Ot+" ":"")+this._valueId;return this.ariaLabelledby&&(le+=" "+this.ariaLabelledby),le}_panelDoneAnimating(Ot){this.openedChange.emit(Ot)}setDescribedByIds(Ot){Ot.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ot.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(le){return new(le||Bt)(c.rXU(S.Xj),c.rXU(c.gRc),c.rXU(c.SKi),c.rXU(y.es),c.rXU(c.aKT),c.rXU(T.dS,8),c.rXU(L.cV,8),c.rXU(L.j4,8),c.rXU(k.xb,8),c.rXU(L.vO,10),c.kS0("tabindex"),c.rXU(Rt),c.rXU(I.Ai),c.rXU(Ut,8))}}static{this.\u0275cmp=c.VBU({type:Bt,selectors:[["mat-select"]],contentQueries:function(le,qt,Ve){if(1&le&&(c.wni(Ve,Xt,5),c.wni(Ve,y.wT,5),c.wni(Ve,y.QC,5)),2&le){let Ht;c.mGM(Ht=c.lsd())&&(qt.customTrigger=Ht.first),c.mGM(Ht=c.lsd())&&(qt.options=Ht),c.mGM(Ht=c.lsd())&&(qt.optionGroups=Ht)}},viewQuery:function(le,qt){if(1&le&&(c.GBs(nt,5),c.GBs(at,5),c.GBs(o.WB,5)),2&le){let Ve;c.mGM(Ve=c.lsd())&&(qt.trigger=Ve.first),c.mGM(Ve=c.lsd())&&(qt.panel=Ve.first),c.mGM(Ve=c.lsd())&&(qt._overlayDir=Ve.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(le,qt){1&le&&c.bIt("keydown",function(Ht){return qt._handleKeydown(Ht)})("focus",function(){return qt._onFocus()})("blur",function(){return qt._onBlur()}),2&le&&(c.BMQ("id",qt.id)("tabindex",qt.disabled?-1:qt.tabIndex)("aria-controls",qt.panelOpen?qt.id+"-panel":null)("aria-expanded",qt.panelOpen)("aria-label",qt.ariaLabel||null)("aria-required",qt.required.toString())("aria-disabled",qt.disabled.toString())("aria-invalid",qt.errorState)("aria-activedescendant",qt._getAriaActiveDescendant()),c.AVh("mat-mdc-select-disabled",qt.disabled)("mat-mdc-select-invalid",qt.errorState)("mat-mdc-select-required",qt.required)("mat-mdc-select-empty",qt.empty)("mat-mdc-select-multiple",qt.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",c.L39],disableRipple:[2,"disableRipple","disableRipple",c.L39],tabIndex:[2,"tabIndex","tabIndex",Ot=>null==Ot?0:(0,c.Udg)(Ot)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",c.L39],placeholder:"placeholder",required:[2,"required","required",c.L39],multiple:[2,"multiple","multiple",c.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",c.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",c.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[c.Jv_([{provide:k.qT,useExisting:Bt},{provide:y.is,useExisting:Bt}]),c.GFd,c.OA$,c.aNF],ngContentSelectors:bt,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(le,qt){if(1&le){const Ve=c.RV6();c.NAR(et),c.j41(0,"div",2,0),c.bIt("click",function(){return c.eBV(Ve),c.Njj(qt.open())}),c.j41(3,"div",3),c.DNE(4,Et,2,1,"span",4)(5,ie,3,1,"span",5),c.k0s(),c.j41(6,"div",6)(7,"div",7),c.qSk(),c.j41(8,"svg",8),c.nrm(9,"path",9),c.k0s()()()(),c.DNE(10,Xe,3,9,"ng-template",10),c.bIt("backdropClick",function(){return c.eBV(Ve),c.Njj(qt.close())})("attach",function(){return c.eBV(Ve),c.Njj(qt._onAttached())})("detach",function(){return c.eBV(Ve),c.Njj(qt.close())})}if(2&le){const Ve=c.sdS(1);c.R7$(3),c.BMQ("id",qt._valueId),c.R7$(),c.vxM(qt.empty?4:5),c.R7$(6),c.Y8G("cdkConnectedOverlayPanelClass",qt._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",qt._scrollStrategy)("cdkConnectedOverlayOrigin",qt._preferredOverlayOrigin||Ve)("cdkConnectedOverlayOpen",qt.panelOpen)("cdkConnectedOverlayPositions",qt._positions)("cdkConnectedOverlayWidth",qt._overlayWidth)}},dependencies:[o.$Q,o.WB,s.YU],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[Er.transformPanel]},changeDetection:0})}}return Bt})(),Ye=(()=>{class Bt{static{this.\u0275fac=function(le){return new(le||Bt)}}static{this.\u0275dir=c.FsC({type:Bt,selectors:[["mat-select-trigger"]],standalone:!0,features:[c.Jv_([{provide:Xt,useExisting:Bt}])]})}}return Bt})(),We=(()=>{class Bt{static{this.\u0275fac=function(le){return new(le||Bt)}}static{this.\u0275mod=c.$C({type:Bt})}static{this.\u0275inj=c.G2t({providers:[Ae],imports:[s.MD,o.z_,y.Sy,y.yE,S.Gj,k.RG,y.Sy,y.yE]})}}return Bt})()},882:(i,a,r)=>{"use strict";r.d(a,{$C:()=>Ae,$l:()=>wt,qe:()=>Ut,vg:()=>Ye});var o=r(5542),s=r(4438),c=r(6600),y=r(9888),k=r(8203),S=r(4085),I=r(7336),T=r(6860),M=r(177),R=r(1413),L=r(3726),J=r(7786),W=r(5964),q=r(6354),ct=r(3703),ht=r(6977),tt=r(3294),xt=r(6697),Tt=r(9172),$t=r(152),St=r(9969);const _t=["*"],nt=["content"],at=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],et=["mat-drawer","mat-drawer-content","*"];function bt(We,Bt){if(1&We){const Zt=s.RV6();s.j41(0,"div",1),s.bIt("click",function(){s.eBV(Zt);const le=s.XpG();return s.Njj(le._onBackdropClicked())}),s.k0s()}if(2&We){const Zt=s.XpG();s.AVh("mat-drawer-shown",Zt._isShowingBackdrop())}}function Et(We,Bt){1&We&&(s.j41(0,"mat-drawer-content"),s.SdG(1,2),s.k0s())}const gr={transformDrawer:(0,St.hZ)("transform",[(0,St.wk)("open, open-instant",(0,St.iF)({transform:"none",visibility:"visible"})),(0,St.wk)("void",(0,St.iF)({"box-shadow":"none",visibility:"hidden"})),(0,St.kY)("void => open-instant",(0,St.i0)("0ms")),(0,St.kY)("void <=> open, open-instant => void",(0,St.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Xr=new s.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Rt(){return!1}}),ke=new s.nKC("MAT_DRAWER_CONTAINER");let wt=(()=>{class We extends o.uv{constructor(Zt,Ot,le,qt,Ve){super(le,qt,Ve),this._changeDetectorRef=Zt,this._container=Ot}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(Ot){return new(Ot||We)(s.rXU(s.gRc),s.rXU((0,s.Rfq)(()=>Ae)),s.rXU(s.aKT),s.rXU(o.R),s.rXU(s.SKi))}}static{this.\u0275cmp=s.VBU({type:We,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(Ot,le){2&Ot&&s.xc7("margin-left",le._container._contentMargins.left,"px")("margin-right",le._container._contentMargins.right,"px")},standalone:!0,features:[s.Jv_([{provide:o.uv,useExisting:We}]),s.Vt3,s.aNF],ngContentSelectors:_t,decls:1,vars:0,template:function(Ot,le){1&Ot&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})}}return We})(),Ut=(()=>{class We{get position(){return this._position}set position(Zt){(Zt="end"===Zt?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(Zt),this._position=Zt,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(Zt){this._mode=Zt,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(Zt){this._disableClose=(0,S.he)(Zt)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(Zt){("true"===Zt||"false"===Zt||null==Zt)&&(Zt=(0,S.he)(Zt)),this._autoFocus=Zt}get opened(){return this._opened}set opened(Zt){this.toggle((0,S.he)(Zt))}constructor(Zt,Ot,le,qt,Ve,Ht,Me,Ke){this._elementRef=Zt,this._focusTrapFactory=Ot,this._focusMonitor=le,this._platform=qt,this._ngZone=Ve,this._interactivityChecker=Ht,this._doc=Me,this._container=Ke,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new R.B,this._animationEnd=new R.B,this._animationState="void",this.openedChange=new s.bkB(!0),this._openedStream=this.openedChange.pipe((0,W.p)(Fe=>Fe),(0,q.T)(()=>{})),this.openedStart=this._animationStarted.pipe((0,W.p)(Fe=>Fe.fromState!==Fe.toState&&0===Fe.toState.indexOf("open")),(0,ct.u)(void 0)),this._closedStream=this.openedChange.pipe((0,W.p)(Fe=>!Fe),(0,q.T)(()=>{})),this.closedStart=this._animationStarted.pipe((0,W.p)(Fe=>Fe.fromState!==Fe.toState&&"void"===Fe.toState),(0,ct.u)(void 0)),this._destroyed=new R.B,this.onPositionChanged=new s.bkB,this._modeChanged=new R.B,this._injector=(0,s.WQX)(s.zZn),this._changeDetectorRef=(0,s.WQX)(s.gRc),this.openedChange.pipe((0,ht.Q)(this._destroyed)).subscribe(Fe=>{Fe?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,L.R)(this._elementRef.nativeElement,"keydown").pipe((0,W.p)(Fe=>Fe.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(Fe)),(0,ht.Q)(this._destroyed)).subscribe(Fe=>this._ngZone.run(()=>{this.close(),Fe.stopPropagation(),Fe.preventDefault()}))}),this._animationEnd.pipe((0,tt.F)((Fe,Or)=>Fe.fromState===Or.fromState&&Fe.toState===Or.toState)).subscribe(Fe=>{const{fromState:Or,toState:yo}=Fe;(0===yo.indexOf("open")&&"void"===Or||"void"===yo&&0===Or.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(Zt,Ot){this._interactivityChecker.isFocusable(Zt)||(Zt.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const le=()=>{Zt.removeEventListener("blur",le),Zt.removeEventListener("mousedown",le),Zt.removeAttribute("tabindex")};Zt.addEventListener("blur",le),Zt.addEventListener("mousedown",le)})),Zt.focus(Ot)}_focusByCssSelector(Zt,Ot){let le=this._elementRef.nativeElement.querySelector(Zt);le&&this._forceFocus(le,Ot)}_takeFocus(){if(!this._focusTrap)return;const Zt=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":(0,s.mal)(()=>{!this._focusTrap.focusInitialElement()&&"function"==typeof Zt.focus&&Zt.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(Zt){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,Zt):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const Zt=this._doc.activeElement;return!!Zt&&this._elementRef.nativeElement.contains(Zt)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(Zt){return this.toggle(!0,Zt)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(Zt=!this.opened,Ot){Zt&&Ot&&(this._openedVia=Ot);const le=this._setOpen(Zt,!Zt&&this._isFocusWithinDrawer(),this._openedVia||"program");return Zt||(this._openedVia=null),le}_setOpen(Zt,Ot,le){return this._opened=Zt,Zt?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Ot&&this._restoreFocus(le)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(qt=>{this.openedChange.pipe((0,xt.s)(1)).subscribe(Ve=>qt(Ve?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(Zt){if(!this._platform.isBrowser)return;const Ot=this._elementRef.nativeElement,le=Ot.parentNode;"end"===Zt?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),le.insertBefore(this._anchor,Ot)),le.appendChild(Ot)):this._anchor&&this._anchor.parentNode.insertBefore(Ot,this._anchor)}static{this.\u0275fac=function(Ot){return new(Ot||We)(s.rXU(s.aKT),s.rXU(y.GX),s.rXU(y.FN),s.rXU(T.OD),s.rXU(s.SKi),s.rXU(y.Z7),s.rXU(M.qQ,8),s.rXU(ke,8))}}static{this.\u0275cmp=s.VBU({type:We,selectors:[["mat-drawer"]],viewQuery:function(Ot,le){if(1&Ot&&s.GBs(nt,5),2&Ot){let qt;s.mGM(qt=s.lsd())&&(le._content=qt.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(Ot,le){1&Ot&&s.Kam("@transform.start",function(Ve){return le._animationStarted.next(Ve)})("@transform.done",function(Ve){return le._animationEnd.next(Ve)}),2&Ot&&(s.zvX("@transform",le._animationState),s.BMQ("align",null),s.AVh("mat-drawer-end","end"===le.position)("mat-drawer-over","over"===le.mode)("mat-drawer-push","push"===le.mode)("mat-drawer-side","side"===le.mode)("mat-drawer-opened",le.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[s.aNF],ngContentSelectors:_t,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(Ot,le){1&Ot&&(s.NAR(),s.j41(0,"div",1,0),s.SdG(2),s.k0s())},dependencies:[o.uv],encapsulation:2,data:{animation:[gr.transformDrawer]},changeDetection:0})}}return We})(),Ae=(()=>{class We{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(Zt){this._autosize=(0,S.he)(Zt)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(Zt){this._backdropOverride=null==Zt?null:(0,S.he)(Zt)}get scrollable(){return this._userContent||this._content}constructor(Zt,Ot,le,qt,Ve,Ht=!1,Me){this._dir=Zt,this._element=Ot,this._ngZone=le,this._changeDetectorRef=qt,this._animationMode=Me,this._drawers=new s.rOR,this.backdropClick=new s.bkB,this._destroyed=new R.B,this._doCheckSubject=new R.B,this._contentMargins={left:null,right:null},this._contentMarginChanges=new R.B,this._injector=(0,s.WQX)(s.zZn),Zt&&Zt.change.pipe((0,ht.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Ve.change().pipe((0,ht.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=Ht}ngAfterContentInit(){this._allDrawers.changes.pipe((0,Tt.Z)(this._allDrawers),(0,ht.Q)(this._destroyed)).subscribe(Zt=>{this._drawers.reset(Zt.filter(Ot=>!Ot._container||Ot._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,Tt.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(Zt=>{this._watchDrawerToggle(Zt),this._watchDrawerPosition(Zt),this._watchDrawerMode(Zt)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,$t.B)(10),(0,ht.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(Zt=>Zt.open())}close(){this._drawers.forEach(Zt=>Zt.close())}updateContentMargins(){let Zt=0,Ot=0;if(this._left&&this._left.opened)if("side"==this._left.mode)Zt+=this._left._getWidth();else if("push"==this._left.mode){const le=this._left._getWidth();Zt+=le,Ot-=le}if(this._right&&this._right.opened)if("side"==this._right.mode)Ot+=this._right._getWidth();else if("push"==this._right.mode){const le=this._right._getWidth();Ot+=le,Zt-=le}Zt=Zt||null,Ot=Ot||null,(Zt!==this._contentMargins.left||Ot!==this._contentMargins.right)&&(this._contentMargins={left:Zt,right:Ot},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(Zt){Zt._animationStarted.pipe((0,W.p)(Ot=>Ot.fromState!==Ot.toState),(0,ht.Q)(this._drawers.changes)).subscribe(Ot=>{"open-instant"!==Ot.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==Zt.mode&&Zt.openedChange.pipe((0,ht.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(Zt.opened))}_watchDrawerPosition(Zt){Zt&&Zt.onPositionChanged.pipe((0,ht.Q)(this._drawers.changes)).subscribe(()=>{(0,s.mal)(()=>{this._validateDrawers()},{injector:this._injector,phase:s.wjH.Read})})}_watchDrawerMode(Zt){Zt&&Zt._modeChanged.pipe((0,ht.Q)((0,J.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(Zt){const Ot=this._element.nativeElement.classList,le="mat-drawer-container-has-open";Zt?Ot.add(le):Ot.remove(le)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(Zt=>{"end"==Zt.position?this._end=Zt:this._start=Zt}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(Zt=>Zt&&!Zt.disableClose&&this._drawerHasBackdrop(Zt)).forEach(Zt=>Zt._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(Zt){return null!=Zt&&Zt.opened}_drawerHasBackdrop(Zt){return null==this._backdropOverride?!!Zt&&"side"!==Zt.mode:this._backdropOverride}static{this.\u0275fac=function(Ot){return new(Ot||We)(s.rXU(k.dS,8),s.rXU(s.aKT),s.rXU(s.SKi),s.rXU(s.gRc),s.rXU(o.Xj),s.rXU(Xr),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:We,selectors:[["mat-drawer-container"]],contentQueries:function(Ot,le,qt){if(1&Ot&&(s.wni(qt,wt,5),s.wni(qt,Ut,5)),2&Ot){let Ve;s.mGM(Ve=s.lsd())&&(le._content=Ve.first),s.mGM(Ve=s.lsd())&&(le._allDrawers=Ve)}},viewQuery:function(Ot,le){if(1&Ot&&s.GBs(wt,5),2&Ot){let qt;s.mGM(qt=s.lsd())&&(le._userContent=qt.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(Ot,le){2&Ot&&s.AVh("mat-drawer-container-explicit-backdrop",le._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[s.Jv_([{provide:ke,useExisting:We}]),s.aNF],ngContentSelectors:et,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Ot,le){1&Ot&&(s.NAR(at),s.DNE(0,bt,1,2,"div",0),s.SdG(1),s.SdG(2,1),s.DNE(3,Et,2,0,"mat-drawer-content")),2&Ot&&(s.vxM(le.hasBackdrop?0:-1),s.R7$(3),s.vxM(le._content?-1:3))},dependencies:[wt],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return We})(),Ye=(()=>{class We{static{this.\u0275fac=function(Ot){return new(Ot||We)}}static{this.\u0275mod=s.$C({type:We})}static{this.\u0275inj=s.G2t({imports:[c.yE,o.Gj,o.Gj,c.yE]})}}return We})()},4823:(i,a,r)=>{"use strict";r.d(a,{oV:()=>ie,uc:()=>gr});var o=r(6977),s=r(4085),c=r(7336),y=r(4438),k=r(177),S=r(6860),I=r(9888),T=r(8203),M=r(7987),R=r(5542),L=r(6939),J=r(1413),q=(r(9969),r(6600));const ct=["tooltip"],xt=new y.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const vr=(0,y.WQX)(M.hJ);return()=>vr.scrollStrategies.reposition({scrollThrottle:20})}}),$t={provide:xt,deps:[M.hJ],useFactory:function Tt(vr){return()=>vr.scrollStrategies.reposition({scrollThrottle:20})}},_t=new y.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function St(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),at="tooltip-panel",et=(0,S.BQ)({passive:!0});let ie=(()=>{class vr{get position(){return this._position}set position(ke){ke!==this._position&&(this._position=ke,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(ke){this._positionAtOrigin=(0,s.he)(ke),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(ke){const Rt=(0,s.he)(ke);this._disabled!==Rt&&(this._disabled=Rt,Rt?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(ke){this._showDelay=(0,s.OE)(ke)}get hideDelay(){return this._hideDelay}set hideDelay(ke){this._hideDelay=(0,s.OE)(ke),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(ke){const Rt=this._message;this._message=null!=ke?String(ke).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(Rt)}get tooltipClass(){return this._tooltipClass}set tooltipClass(ke){this._tooltipClass=ke,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(ke,Rt,wt,Ut,Ae,Xt,pe,te,Ye,We,Bt,Zt){this._overlay=ke,this._elementRef=Rt,this._scrollDispatcher=wt,this._viewContainerRef=Ut,this._ngZone=Ae,this._platform=Xt,this._ariaDescriber=pe,this._focusMonitor=te,this._dir=We,this._defaultOptions=Bt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=Xe,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new J.B,this._injector=(0,y.WQX)(y.zZn),this._scrollStrategy=Ye,this._document=Zt,Bt&&(this._showDelay=Bt.showDelay,this._hideDelay=Bt.hideDelay,Bt.position&&(this.position=Bt.position),Bt.positionAtOrigin&&(this.positionAtOrigin=Bt.positionAtOrigin),Bt.touchGestures&&(this.touchGestures=Bt.touchGestures),Bt.tooltipClass&&(this.tooltipClass=Bt.tooltipClass)),We.change.pipe((0,o.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,o.Q)(this._destroyed)).subscribe(ke=>{ke?"keyboard"===ke&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const ke=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Rt,wt])=>{ke.removeEventListener(Rt,wt,et)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(ke,this.message,"tooltip"),this._focusMonitor.stopMonitoring(ke)}show(ke=this.showDelay,Rt){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const wt=this._createOverlay(Rt);this._detach(),this._portal=this._portal||new L.A8(this._tooltipComponent,this._viewContainerRef);const Ut=this._tooltipInstance=wt.attach(this._portal).instance;Ut._triggerElement=this._elementRef.nativeElement,Ut._mouseLeaveHideDelay=this._hideDelay,Ut.afterHidden().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Ut.show(ke)}hide(ke=this.hideDelay){const Rt=this._tooltipInstance;Rt&&(Rt.isVisible()?Rt.hide(ke):(Rt._cancelPendingAnimations(),this._detach()))}toggle(ke){this._isTooltipVisible()?this.hide():this.show(void 0,ke)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(ke){if(this._overlayRef){const Ut=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!ke)&&Ut._origin instanceof y.aKT)return this._overlayRef;this._detach()}const Rt=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),wt=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&ke||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Rt);return wt.positionChanges.pipe((0,o.Q)(this._destroyed)).subscribe(Ut=>{this._updateCurrentPositionClass(Ut.connectionPair),this._tooltipInstance&&Ut.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:wt,panelClass:`${this._cssClassPrefix}-${at}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,o.Q)(this._destroyed)).subscribe(Ut=>{this._isTooltipVisible()&&Ut.keyCode===c._f&&!(0,c.rp)(Ut)&&(Ut.preventDefault(),Ut.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(ke){const Rt=ke.getConfig().positionStrategy,wt=this._getOrigin(),Ut=this._getOverlayPosition();Rt.withPositions([this._addOffset({...wt.main,...Ut.main}),this._addOffset({...wt.fallback,...Ut.fallback})])}_addOffset(ke){const wt=!this._dir||"ltr"==this._dir.value;return"top"===ke.originY?ke.offsetY=-8:"bottom"===ke.originY?ke.offsetY=8:"start"===ke.originX?ke.offsetX=wt?-8:8:"end"===ke.originX&&(ke.offsetX=wt?8:-8),ke}_getOrigin(){const ke=!this._dir||"ltr"==this._dir.value,Rt=this.position;let wt;"above"==Rt||"below"==Rt?wt={originX:"center",originY:"above"==Rt?"top":"bottom"}:"before"==Rt||"left"==Rt&&ke||"right"==Rt&&!ke?wt={originX:"start",originY:"center"}:("after"==Rt||"right"==Rt&&ke||"left"==Rt&&!ke)&&(wt={originX:"end",originY:"center"});const{x:Ut,y:Ae}=this._invertPosition(wt.originX,wt.originY);return{main:wt,fallback:{originX:Ut,originY:Ae}}}_getOverlayPosition(){const ke=!this._dir||"ltr"==this._dir.value,Rt=this.position;let wt;"above"==Rt?wt={overlayX:"center",overlayY:"bottom"}:"below"==Rt?wt={overlayX:"center",overlayY:"top"}:"before"==Rt||"left"==Rt&&ke||"right"==Rt&&!ke?wt={overlayX:"end",overlayY:"center"}:("after"==Rt||"right"==Rt&&ke||"left"==Rt&&!ke)&&(wt={overlayX:"start",overlayY:"center"});const{x:Ut,y:Ae}=this._invertPosition(wt.overlayX,wt.overlayY);return{main:wt,fallback:{overlayX:Ut,overlayY:Ae}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,y.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(ke){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=ke,this._tooltipInstance._markForCheck())}_invertPosition(ke,Rt){return"above"===this.position||"below"===this.position?"top"===Rt?Rt="bottom":"bottom"===Rt&&(Rt="top"):"end"===ke?ke="start":"start"===ke&&(ke="end"),{x:ke,y:Rt}}_updateCurrentPositionClass(ke){const{overlayY:Rt,originX:wt,originY:Ut}=ke;let Ae;if(Ae="center"===Rt?this._dir&&"rtl"===this._dir.value?"end"===wt?"left":"right":"start"===wt?"left":"right":"bottom"===Rt&&"top"===Ut?"above":"below",Ae!==this._currentPosition){const Xt=this._overlayRef;if(Xt){const pe=`${this._cssClassPrefix}-${at}-`;Xt.removePanelClass(pe+this._currentPosition),Xt.addPanelClass(pe+Ae)}this._currentPosition=Ae}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",ke=>{let Rt;this._setupPointerExitEventsIfNeeded(),void 0!==ke.x&&void 0!==ke.y&&(Rt=ke),this.show(void 0,Rt)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",ke=>{const Rt=ke.targetTouches?.[0],wt=Rt?{x:Rt.clientX,y:Rt.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,wt)},this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const ke=[];if(this._platformSupportsMouseEvents())ke.push(["mouseleave",Rt=>{const wt=Rt.relatedTarget;(!wt||!this._overlayRef?.overlayElement.contains(wt))&&this.hide()}],["wheel",Rt=>this._wheelListener(Rt)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Rt=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};ke.push(["touchend",Rt],["touchcancel",Rt])}this._addListeners(ke),this._passiveListeners.push(...ke)}_addListeners(ke){ke.forEach(([Rt,wt])=>{this._elementRef.nativeElement.addEventListener(Rt,wt,et)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(ke){if(this._isTooltipVisible()){const Rt=this._document.elementFromPoint(ke.clientX,ke.clientY),wt=this._elementRef.nativeElement;Rt!==wt&&!wt.contains(Rt)&&this.hide()}}_disableNativeGesturesIfNecessary(){const ke=this.touchGestures;if("off"!==ke){const Rt=this._elementRef.nativeElement,wt=Rt.style;("on"===ke||"INPUT"!==Rt.nodeName&&"TEXTAREA"!==Rt.nodeName)&&(wt.userSelect=wt.msUserSelect=wt.webkitUserSelect=wt.MozUserSelect="none"),("on"===ke||!Rt.draggable)&&(wt.webkitUserDrag="none"),wt.touchAction="none",wt.webkitTapHighlightColor="transparent"}}_syncAriaDescription(ke){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,ke,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(Rt){return new(Rt||vr)(y.rXU(M.hJ),y.rXU(y.aKT),y.rXU(R.R),y.rXU(y.c1b),y.rXU(y.SKi),y.rXU(S.OD),y.rXU(I.vr),y.rXU(I.FN),y.rXU(xt),y.rXU(T.dS),y.rXU(_t,8),y.rXU(k.qQ))}}static{this.\u0275dir=y.FsC({type:vr,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(Rt,wt){2&Rt&&y.AVh("mat-mdc-tooltip-disabled",wt.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return vr})(),Xe=(()=>{class vr{constructor(ke,Rt,wt){this._changeDetectorRef=ke,this._elementRef=Rt,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new J.B,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===wt}show(ke){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},ke)}hide(ke){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},ke)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:ke}){(!ke||!this._triggerElement.contains(ke))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const ke=this._elementRef.nativeElement.getBoundingClientRect();return ke.height>24&&ke.width>=200}_handleAnimationEnd({animationName:ke}){(ke===this._showAnimation||ke===this._hideAnimation)&&this._finalizeAnimation(ke===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(ke){ke?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(ke){const Rt=this._tooltip.nativeElement,wt=this._showAnimation,Ut=this._hideAnimation;if(Rt.classList.remove(ke?Ut:wt),Rt.classList.add(ke?wt:Ut),this._isVisible!==ke&&(this._isVisible=ke,this._changeDetectorRef.markForCheck()),ke&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ae=getComputedStyle(Rt);("0s"===Ae.getPropertyValue("animation-duration")||"none"===Ae.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}ke&&this._onShow(),this._animationsDisabled&&(Rt.classList.add("_mat-animation-noopable"),this._finalizeAnimation(ke))}static{this.\u0275fac=function(Rt){return new(Rt||vr)(y.rXU(y.gRc),y.rXU(y.aKT),y.rXU(y.bc$,8))}}static{this.\u0275cmp=y.VBU({type:vr,selectors:[["mat-tooltip-component"]],viewQuery:function(Rt,wt){if(1&Rt&&y.GBs(ct,7),2&Rt){let Ut;y.mGM(Ut=y.lsd())&&(wt._tooltip=Ut.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(Rt,wt){1&Rt&&y.bIt("mouseleave",function(Ae){return wt._handleMouseLeave(Ae)})},standalone:!0,features:[y.aNF],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(Rt,wt){if(1&Rt){const Ut=y.RV6();y.j41(0,"div",1,0),y.bIt("animationend",function(Xt){return y.eBV(Ut),y.Njj(wt._handleAnimationEnd(Xt))}),y.j41(2,"div",2),y.EFF(3),y.k0s()()}2&Rt&&(y.AVh("mdc-tooltip--multiline",wt._isMultiline),y.Y8G("ngClass",wt.tooltipClass),y.R7$(3),y.JRh(wt.message))},dependencies:[k.YU],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return vr})(),gr=(()=>{class vr{static{this.\u0275fac=function(Rt){return new(Rt||vr)}}static{this.\u0275mod=y.$C({type:vr})}static{this.\u0275inj=y.G2t({providers:[$t],imports:[I.Pd,k.MD,M.z_,q.yE,q.yE,R.Gj]})}}return vr})()},345:(i,a,r)=>{"use strict";r.d(a,{B7:()=>et,B8:()=>wt,hE:()=>Me,up:()=>At});var o=r(177),s=r(4438);class c extends o.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class y extends c{static makeCurrent(){(0,o.ZD)(new y)}onAndCancel(re,Lt,he){return re.addEventListener(Lt,he),()=>{re.removeEventListener(Lt,he)}}dispatchEvent(re,Lt){re.dispatchEvent(Lt)}remove(re){re.remove()}createElement(re,Lt){return(Lt=Lt||this.getDefaultDocument()).createElement(re)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(re){return re.nodeType===Node.ELEMENT_NODE}isShadowRoot(re){return re instanceof DocumentFragment}getGlobalEventTarget(re,Lt){return"window"===Lt?window:"document"===Lt?re:"body"===Lt?re.body:null}getBaseHref(re){const Lt=function S(){return k=k||document.querySelector("base"),k?k.getAttribute("href"):null}();return null==Lt?null:function I(ne){return new URL(ne,document.baseURI).pathname}(Lt)}resetBaseElement(){k=null}getUserAgent(){return window.navigator.userAgent}getCookie(re){return(0,o._b)(document.cookie,re)}}let k=null,M=(()=>{class ne{build(){return new XMLHttpRequest}static{this.\u0275fac=function(he){return new(he||ne)}}static{this.\u0275prov=s.jDH({token:ne,factory:ne.\u0275fac})}}return ne})();const R=new s.nKC("");let L=(()=>{class ne{constructor(Lt,he){this._zone=he,this._eventNameToPlugin=new Map,Lt.forEach(mr=>{mr.manager=this}),this._plugins=Lt.slice().reverse()}addEventListener(Lt,he,mr){return this._findPluginFor(he).addEventListener(Lt,he,mr)}getZone(){return this._zone}_findPluginFor(Lt){let he=this._eventNameToPlugin.get(Lt);if(he)return he;if(he=this._plugins.find(Qr=>Qr.supports(Lt)),!he)throw new s.wOt(5101,!1);return this._eventNameToPlugin.set(Lt,he),he}static{this.\u0275fac=function(he){return new(he||ne)(s.KVO(R),s.KVO(s.SKi))}}static{this.\u0275prov=s.jDH({token:ne,factory:ne.\u0275fac})}}return ne})();class J{constructor(re){this._doc=re}}const W="ng-app-id";let q=(()=>{class ne{constructor(Lt,he,mr,Qr={}){this.doc=Lt,this.appId=he,this.nonce=mr,this.platformId=Qr,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.Vy)(Qr),this.resetHostNodes()}addStyles(Lt){for(const he of Lt)1===this.changeUsageCount(he,1)&&this.onStyleAdded(he)}removeStyles(Lt){for(const he of Lt)this.changeUsageCount(he,-1)<=0&&this.onStyleRemoved(he)}ngOnDestroy(){const Lt=this.styleNodesInDOM;Lt&&(Lt.forEach(he=>he.remove()),Lt.clear());for(const he of this.getAllStyles())this.onStyleRemoved(he);this.resetHostNodes()}addHost(Lt){this.hostNodes.add(Lt);for(const he of this.getAllStyles())this.addStyleToHost(Lt,he)}removeHost(Lt){this.hostNodes.delete(Lt)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Lt){for(const he of this.hostNodes)this.addStyleToHost(he,Lt)}onStyleRemoved(Lt){const he=this.styleRef;he.get(Lt)?.elements?.forEach(mr=>mr.remove()),he.delete(Lt)}collectServerRenderedStyles(){const Lt=this.doc.head?.querySelectorAll(`style[${W}="${this.appId}"]`);if(Lt?.length){const he=new Map;return Lt.forEach(mr=>{null!=mr.textContent&&he.set(mr.textContent,mr)}),he}return null}changeUsageCount(Lt,he){const mr=this.styleRef;if(mr.has(Lt)){const Qr=mr.get(Lt);return Qr.usage+=he,Qr.usage}return mr.set(Lt,{usage:he,elements:[]}),he}getStyleElement(Lt,he){const mr=this.styleNodesInDOM,Qr=mr?.get(he);if(Qr?.parentNode===Lt)return mr.delete(he),Qr.removeAttribute(W),Qr;{const Ro=this.doc.createElement("style");return this.nonce&&Ro.setAttribute("nonce",this.nonce),Ro.textContent=he,this.platformIsServer&&Ro.setAttribute(W,this.appId),Lt.appendChild(Ro),Ro}}addStyleToHost(Lt,he){const mr=this.getStyleElement(Lt,he),Qr=this.styleRef,Ro=Qr.get(he)?.elements;Ro?Ro.push(mr):Qr.set(he,{elements:[mr],usage:1})}resetHostNodes(){const Lt=this.hostNodes;Lt.clear(),Lt.add(this.doc.head)}static{this.\u0275fac=function(he){return new(he||ne)(s.KVO(o.qQ),s.KVO(s.sZ2),s.KVO(s.BIS,8),s.KVO(s.Agw))}}static{this.\u0275prov=s.jDH({token:ne,factory:ne.\u0275fac})}}return ne})();const ct={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/Math/MathML"},ht=/%COMP%/g,St=new s.nKC("",{providedIn:"root",factory:()=>!0});function at(ne,re){return re.map(Lt=>Lt.replace(ht,ne))}let et=(()=>{class ne{constructor(Lt,he,mr,Qr,Ro,Ko,tr,Ue=null){this.eventManager=Lt,this.sharedStylesHost=he,this.appId=mr,this.removeStylesOnCompDestroy=Qr,this.doc=Ro,this.platformId=Ko,this.ngZone=tr,this.nonce=Ue,this.rendererByCompId=new Map,this.platformIsServer=(0,o.Vy)(Ko),this.defaultRenderer=new bt(Lt,Ro,tr,this.platformIsServer)}createRenderer(Lt,he){if(!Lt||!he)return this.defaultRenderer;this.platformIsServer&&he.encapsulation===s.gXe.ShadowDom&&(he={...he,encapsulation:s.gXe.Emulated});const mr=this.getOrCreateRenderer(Lt,he);return mr instanceof Er?mr.applyToHost(Lt):mr instanceof Xe&&mr.applyStyles(),mr}getOrCreateRenderer(Lt,he){const mr=this.rendererByCompId;let Qr=mr.get(he.id);if(!Qr){const Ro=this.doc,Ko=this.ngZone,tr=this.eventManager,Ue=this.sharedStylesHost,Ee=this.removeStylesOnCompDestroy,qe=this.platformIsServer;switch(he.encapsulation){case s.gXe.Emulated:Qr=new Er(tr,Ue,he,this.appId,Ee,Ro,Ko,qe);break;case s.gXe.ShadowDom:return new ie(tr,Ue,Lt,he,Ro,Ko,this.nonce,qe);default:Qr=new Xe(tr,Ue,he,Ee,Ro,Ko,qe)}mr.set(he.id,Qr)}return Qr}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(he){return new(he||ne)(s.KVO(L),s.KVO(q),s.KVO(s.sZ2),s.KVO(St),s.KVO(o.qQ),s.KVO(s.Agw),s.KVO(s.SKi),s.KVO(s.BIS))}}static{this.\u0275prov=s.jDH({token:ne,factory:ne.\u0275fac})}}return ne})();class bt{constructor(re,Lt,he,mr){this.eventManager=re,this.doc=Lt,this.ngZone=he,this.platformIsServer=mr,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(re,Lt){return Lt?this.doc.createElementNS(ct[Lt]||Lt,re):this.doc.createElement(re)}createComment(re){return this.doc.createComment(re)}createText(re){return this.doc.createTextNode(re)}appendChild(re,Lt){(Gt(re)?re.content:re).appendChild(Lt)}insertBefore(re,Lt,he){re&&(Gt(re)?re.content:re).insertBefore(Lt,he)}removeChild(re,Lt){Lt.remove()}selectRootElement(re,Lt){let he="string"==typeof re?this.doc.querySelector(re):re;if(!he)throw new s.wOt(-5104,!1);return Lt||(he.textContent=""),he}parentNode(re){return re.parentNode}nextSibling(re){return re.nextSibling}setAttribute(re,Lt,he,mr){if(mr){Lt=mr+":"+Lt;const Qr=ct[mr];Qr?re.setAttributeNS(Qr,Lt,he):re.setAttribute(Lt,he)}else re.setAttribute(Lt,he)}removeAttribute(re,Lt,he){if(he){const mr=ct[he];mr?re.removeAttributeNS(mr,Lt):re.removeAttribute(`${he}:${Lt}`)}else re.removeAttribute(Lt)}addClass(re,Lt){re.classList.add(Lt)}removeClass(re,Lt){re.classList.remove(Lt)}setStyle(re,Lt,he,mr){mr&(s.czy.DashCase|s.czy.Important)?re.style.setProperty(Lt,he,mr&s.czy.Important?"important":""):re.style[Lt]=he}removeStyle(re,Lt,he){he&s.czy.DashCase?re.style.removeProperty(Lt):re.style[Lt]=""}setProperty(re,Lt,he){null!=re&&(re[Lt]=he)}setValue(re,Lt){re.nodeValue=Lt}listen(re,Lt,he){if("string"==typeof re&&!(re=(0,o.QT)().getGlobalEventTarget(this.doc,re)))throw new Error(`Unsupported event target ${re} for event ${Lt}`);return this.eventManager.addEventListener(re,Lt,this.decoratePreventDefault(he))}decoratePreventDefault(re){return Lt=>{if("__ngUnwrap__"===Lt)return re;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>re(Lt)):re(Lt))&&Lt.preventDefault()}}}function Gt(ne){return"TEMPLATE"===ne.tagName&&void 0!==ne.content}class ie extends bt{constructor(re,Lt,he,mr,Qr,Ro,Ko,tr){super(re,Qr,Ro,tr),this.sharedStylesHost=Lt,this.hostEl=he,this.shadowRoot=he.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ue=at(mr.id,mr.styles);for(const Ee of Ue){const qe=document.createElement("style");Ko&&qe.setAttribute("nonce",Ko),qe.textContent=Ee,this.shadowRoot.appendChild(qe)}}nodeOrShadowRoot(re){return re===this.hostEl?this.shadowRoot:re}appendChild(re,Lt){return super.appendChild(this.nodeOrShadowRoot(re),Lt)}insertBefore(re,Lt,he){return super.insertBefore(this.nodeOrShadowRoot(re),Lt,he)}removeChild(re,Lt){return super.removeChild(null,Lt)}parentNode(re){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(re)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xe extends bt{constructor(re,Lt,he,mr,Qr,Ro,Ko,tr){super(re,Qr,Ro,Ko),this.sharedStylesHost=Lt,this.removeStylesOnCompDestroy=mr,this.styles=tr?at(tr,he.styles):he.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Er extends Xe{constructor(re,Lt,he,mr,Qr,Ro,Ko,tr){const Ue=mr+"-"+he.id;super(re,Lt,he,Qr,Ro,Ko,tr,Ue),this.contentAttr=function _t(ne){return"_ngcontent-%COMP%".replace(ht,ne)}(Ue),this.hostAttr=function nt(ne){return"_nghost-%COMP%".replace(ht,ne)}(Ue)}applyToHost(re){this.applyStyles(),this.setAttribute(re,this.hostAttr,"")}createElement(re,Lt){const he=super.createElement(re,Lt);return super.setAttribute(he,this.contentAttr,""),he}}let gr=(()=>{class ne extends J{constructor(Lt){super(Lt)}supports(Lt){return!0}addEventListener(Lt,he,mr){return Lt.addEventListener(he,mr,!1),()=>this.removeEventListener(Lt,he,mr)}removeEventListener(Lt,he,mr){return Lt.removeEventListener(he,mr)}static{this.\u0275fac=function(he){return new(he||ne)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:ne,factory:ne.\u0275fac})}}return ne})();const vr=["alt","control","meta","shift"],Xr={"\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"},ke={alt:ne=>ne.altKey,control:ne=>ne.ctrlKey,meta:ne=>ne.metaKey,shift:ne=>ne.shiftKey};let Rt=(()=>{class ne extends J{constructor(Lt){super(Lt)}supports(Lt){return null!=ne.parseEventName(Lt)}addEventListener(Lt,he,mr){const Qr=ne.parseEventName(he),Ro=ne.eventCallback(Qr.fullKey,mr,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.QT)().onAndCancel(Lt,Qr.domEventName,Ro))}static parseEventName(Lt){const he=Lt.toLowerCase().split("."),mr=he.shift();if(0===he.length||"keydown"!==mr&&"keyup"!==mr)return null;const Qr=ne._normalizeKey(he.pop());let Ro="",Ko=he.indexOf("code");if(Ko>-1&&(he.splice(Ko,1),Ro="code."),vr.forEach(Ue=>{const Ee=he.indexOf(Ue);Ee>-1&&(he.splice(Ee,1),Ro+=Ue+".")}),Ro+=Qr,0!=he.length||0===Qr.length)return null;const tr={};return tr.domEventName=mr,tr.fullKey=Ro,tr}static matchEventFullKeyCode(Lt,he){let mr=Xr[Lt.key]||Lt.key,Qr="";return he.indexOf("code.")>-1&&(mr=Lt.code,Qr="code."),!(null==mr||!mr)&&(mr=mr.toLowerCase()," "===mr?mr="space":"."===mr&&(mr="dot"),vr.forEach(Ro=>{Ro!==mr&&(0,ke[Ro])(Lt)&&(Qr+=Ro+".")}),Qr+=mr,Qr===he)}static eventCallback(Lt,he,mr){return Qr=>{ne.matchEventFullKeyCode(Qr,Lt)&&mr.runGuarded(()=>he(Qr))}}static _normalizeKey(Lt){return"esc"===Lt?"escape":Lt}static{this.\u0275fac=function(he){return new(he||ne)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:ne,factory:ne.\u0275fac})}}return ne})();function wt(ne,re){return(0,s.TL3)({rootComponent:ne,...Ae(re)})}function Ae(ne){return{appProviders:[...le,...ne?.providers??[]],platformProviders:We}}const We=[{provide:s.Agw,useValue:o.AJ},{provide:s.PLl,useValue:function pe(){y.makeCurrent()},multi:!0},{provide:o.qQ,useFactory:function Ye(){return(0,s.TL$)(document),document},deps:[]}],le=[{provide:s.H8p,useValue:"root"},{provide:s.zcH,useFactory:function te(){return new s.zcH},deps:[]},{provide:R,useClass:gr,multi:!0,deps:[o.qQ,s.SKi,s.Agw]},{provide:R,useClass:Rt,multi:!0,deps:[o.qQ]},et,q,L,{provide:s._9s,useExisting:et},{provide:o.N0,useClass:M,deps:[]},[]];let Me=(()=>{class ne{constructor(Lt){this._doc=Lt}getTitle(){return this._doc.title}setTitle(Lt){this._doc.title=Lt||""}static{this.\u0275fac=function(he){return new(he||ne)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}}return ne})(),At=(()=>{class ne{static{this.\u0275fac=function(he){return new(he||ne)}}static{this.\u0275prov=s.jDH({token:ne,factory:function(he){let mr=null;return mr=he?new(he||ne):s.KVO(Mt),mr},providedIn:"root"})}}return ne})(),Mt=(()=>{class ne extends At{constructor(Lt){super(),this._doc=Lt}sanitize(Lt,he){if(null==he)return null;switch(Lt){case s.WPN.NONE:return he;case s.WPN.HTML:return(0,s.ZF7)(he,"HTML")?(0,s.rcV)(he):(0,s.h9k)(this._doc,String(he)).toString();case s.WPN.STYLE:return(0,s.ZF7)(he,"Style")?(0,s.rcV)(he):he;case s.WPN.SCRIPT:if((0,s.ZF7)(he,"Script"))return(0,s.rcV)(he);throw new s.wOt(5200,!1);case s.WPN.URL:return(0,s.ZF7)(he,"URL")?(0,s.rcV)(he):(0,s.$MX)(String(he));case s.WPN.RESOURCE_URL:if((0,s.ZF7)(he,"ResourceURL"))return(0,s.rcV)(he);throw new s.wOt(5201,!1);default:throw new s.wOt(5202,!1)}}bypassSecurityTrustHtml(Lt){return(0,s.Kcf)(Lt)}bypassSecurityTrustStyle(Lt){return(0,s.cWb)(Lt)}bypassSecurityTrustScript(Lt){return(0,s.UyX)(Lt)}bypassSecurityTrustUrl(Lt){return(0,s.osQ)(Lt)}bypassSecurityTrustResourceUrl(Lt){return(0,s.e5t)(Lt)}static{this.\u0275fac=function(he){return new(he||ne)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}}return ne})()},5245:(i,a,r)=>{"use strict";r.d(a,{nX:()=>On,wF:()=>Ct,Ix:()=>ze,Wk:()=>Zr,wQ:()=>Ir,iI:()=>la,n3:()=>ia,lh:()=>tn,oH:()=>ii});var o=r(4438),s=r(4402),c=r(6648),y=r(7673),k=r(4412),S=r(4572),I=r(9350),T=r(8793),M=r(9030),R=r(1203),L=r(8810),J=r(983),W=r(17),q=r(1413),ct=r(8359),ht=r(177),tt=r(6354),xt=r(5558),Tt=r(6697),$t=r(9172),St=r(5964),_t=r(1397),nt=r(9974),at=r(4360);function et(N){return(0,nt.N)((z,P)=>{let K=!1;z.subscribe((0,at._)(P,mt=>{K=!0,P.next(mt)},()=>{K||P.next(N),P.complete()}))})}function bt(N=Et){return(0,nt.N)((z,P)=>{let K=!1;z.subscribe((0,at._)(P,mt=>{K=!0,P.next(mt)},()=>K?P.complete():P.error(N())))})}function Et(){return new I.G}var jt=r(3669);function Gt(N,z){const P=arguments.length>=2;return K=>K.pipe(N?(0,St.p)((mt,Wt)=>N(mt,Wt,K)):jt.D,(0,Tt.s)(1),P?et(z):bt(()=>new I.G))}var ie=r(274),Xe=r(8141),Er=r(9437),gr=r(6649);function Xr(N){return N<=0?()=>J.w:(0,nt.N)((z,P)=>{let K=[];z.subscribe((0,at._)(P,mt=>{K.push(mt),N{for(const mt of K)P.next(mt);P.complete()},void 0,()=>{K=null}))})}var Rt=r(3703),wt=r(980),Ut=r(9898),Ae=r(6977),Xt=r(6365),pe=r(345);const te="primary",Ye=Symbol("RouteTitle");class We{constructor(z){this.params=z||{}}has(z){return Object.prototype.hasOwnProperty.call(this.params,z)}get(z){if(this.has(z)){const P=this.params[z];return Array.isArray(P)?P[0]:P}return null}getAll(z){if(this.has(z)){const P=this.params[z];return Array.isArray(P)?P:[P]}return[]}get keys(){return Object.keys(this.params)}}function Bt(N){return new We(N)}function Zt(N,z,P){const K=P.path.split("/");if(K.length>N.length||"full"===P.pathMatch&&(z.hasChildren()||K.lengthK[Wt]===mt)}return N===z}function Ht(N){return N.length>0?N[N.length-1]:null}function Me(N){return(0,s.A)(N)?N:(0,o.jNT)(N)?(0,c.H)(Promise.resolve(N)):(0,y.of)(N)}const Ke={exact:function dr(N,z,P){if(!it(N.segments,z.segments)||!Ie(N.segments,z.segments,P)||N.numberOfChildren!==z.numberOfChildren)return!1;for(const K in z.children)if(!N.children[K]||!dr(N.children[K],z.children[K],P))return!1;return!0},subset:we},Fe={exact:function yo(N,z){return le(N,z)},subset:function Nt(N,z){return Object.keys(z).length<=Object.keys(N).length&&Object.keys(z).every(P=>Ve(N[P],z[P]))},ignored:()=>!0};function Or(N,z,P){return Ke[P.paths](N.root,z.root,P.matrixParams)&&Fe[P.queryParams](N.queryParams,z.queryParams)&&!("exact"===P.fragment&&N.fragment!==z.fragment)}function we(N,z,P){return de(N,z,z.segments,P)}function de(N,z,P,K){if(N.segments.length>P.length){const mt=N.segments.slice(0,P.length);return!(!it(mt,P)||z.hasChildren()||!Ie(mt,P,K))}if(N.segments.length===P.length){if(!it(N.segments,P)||!Ie(N.segments,P,K))return!1;for(const mt in z.children)if(!N.children[mt]||!we(N.children[mt],z.children[mt],K))return!1;return!0}{const mt=P.slice(0,N.segments.length),Wt=P.slice(N.segments.length);return!!(it(N.segments,mt)&&Ie(N.segments,mt,K)&&N.children[te])&&de(N.children[te],z,Wt,K)}}function Ie(N,z,P){return z.every((K,mt)=>Fe[P](N[mt].parameters,K.parameters))}class br{constructor(z=new gt([],{}),P={},K=null){this.root=z,this.queryParams=P,this.fragment=K}get queryParamMap(){return this._queryParamMap??=Bt(this.queryParams),this._queryParamMap}toString(){return ir.serialize(this)}}class gt{constructor(z,P){this.segments=z,this.children=P,this.parent=null,Object.values(P).forEach(K=>K.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Je(this)}}class ${constructor(z,P){this.path=z,this.parameters=P}get parameterMap(){return this._parameterMap??=Bt(this.parameters),this._parameterMap}toString(){return re(this)}}function it(N,z){return N.length===z.length&&N.every((P,K)=>P.path===z[K].path)}let Mt=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>new ve,providedIn:"root"})}}return N})();class ve{parse(z){const P=new Ce(z);return new br(P.parseRootSegment(),P.parseQueryParams(),P.parseFragment())}serialize(z){const P=`/${er(z.root,!0)}`,K=function he(N){const z=Object.entries(N).map(([P,K])=>Array.isArray(K)?K.map(mt=>`${eo(P)}=${eo(mt)}`).join("&"):`${eo(P)}=${eo(K)}`).filter(P=>P);return z.length?`?${z.join("&")}`:""}(z.queryParams);return`${P}${K}${"string"==typeof z.fragment?`#${function Bo(N){return encodeURI(N)}(z.fragment)}`:""}`}}const ir=new ve;function Je(N){return N.segments.map(z=>re(z)).join("/")}function er(N,z){if(!N.hasChildren())return Je(N);if(z){const P=N.children[te]?er(N.children[te],!1):"",K=[];return Object.entries(N.children).forEach(([mt,Wt])=>{mt!==te&&K.push(`${mt}:${er(Wt,!1)}`)}),K.length>0?`${P}(${K.join("//")})`:P}{const P=function At(N,z){let P=[];return Object.entries(N.children).forEach(([K,mt])=>{K===te&&(P=P.concat(z(mt,K)))}),Object.entries(N.children).forEach(([K,mt])=>{K!==te&&(P=P.concat(z(mt,K)))}),P}(N,(K,mt)=>mt===te?[er(N.children[te],!1)]:[`${mt}:${er(K,!1)}`]);return 1===Object.keys(N.children).length&&null!=N.children[te]?`${Je(N)}/${P[0]}`:`${Je(N)}/(${P.join("//")})`}}function Hr(N){return encodeURIComponent(N).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function eo(N){return Hr(N).replace(/%3B/gi,";")}function fr(N){return Hr(N).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Fr(N){return decodeURIComponent(N)}function ne(N){return Fr(N.replace(/\+/g,"%20"))}function re(N){return`${fr(N.path)}${function Lt(N){return Object.entries(N).map(([z,P])=>`;${fr(z)}=${fr(P)}`).join("")}(N.parameters)}`}const mr=/^[^\/()?;#]+/;function Qr(N){const z=N.match(mr);return z?z[0]:""}const Ro=/^[^\/()?;=#]+/,tr=/^[^=?&#]+/,Ee=/^[^&#]+/;class Ce{constructor(z){this.url=z,this.remaining=z}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new gt([],{}):new gt([],this.parseChildren())}parseQueryParams(){const z={};if(this.consumeOptional("?"))do{this.parseQueryParam(z)}while(this.consumeOptional("&"));return z}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const z=[];for(this.peekStartsWith("(")||z.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),z.push(this.parseSegment());let P={};this.peekStartsWith("/(")&&(this.capture("/"),P=this.parseParens(!0));let K={};return this.peekStartsWith("(")&&(K=this.parseParens(!1)),(z.length>0||Object.keys(P).length>0)&&(K[te]=new gt(z,P)),K}parseSegment(){const z=Qr(this.remaining);if(""===z&&this.peekStartsWith(";"))throw new o.wOt(4009,!1);return this.capture(z),new $(Fr(z),this.parseMatrixParams())}parseMatrixParams(){const z={};for(;this.consumeOptional(";");)this.parseParam(z);return z}parseParam(z){const P=function Ko(N){const z=N.match(Ro);return z?z[0]:""}(this.remaining);if(!P)return;this.capture(P);let K="";if(this.consumeOptional("=")){const mt=Qr(this.remaining);mt&&(K=mt,this.capture(K))}z[Fr(P)]=Fr(K)}parseQueryParam(z){const P=function Ue(N){const z=N.match(tr);return z?z[0]:""}(this.remaining);if(!P)return;this.capture(P);let K="";if(this.consumeOptional("=")){const Te=function qe(N){const z=N.match(Ee);return z?z[0]:""}(this.remaining);Te&&(K=Te,this.capture(K))}const mt=ne(P),Wt=ne(K);if(z.hasOwnProperty(mt)){let Te=z[mt];Array.isArray(Te)||(Te=[Te],z[mt]=Te),Te.push(Wt)}else z[mt]=Wt}parseParens(z){const P={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const K=Qr(this.remaining),mt=this.remaining[K.length];if("/"!==mt&&")"!==mt&&";"!==mt)throw new o.wOt(4010,!1);let Wt;K.indexOf(":")>-1?(Wt=K.slice(0,K.indexOf(":")),this.capture(Wt),this.capture(":")):z&&(Wt=te);const Te=this.parseChildren();P[Wt]=1===Object.keys(Te).length?Te[te]:new gt([],Te),this.consumeOptional("//")}return P}peekStartsWith(z){return this.remaining.startsWith(z)}consumeOptional(z){return!!this.peekStartsWith(z)&&(this.remaining=this.remaining.substring(z.length),!0)}capture(z){if(!this.consumeOptional(z))throw new o.wOt(4011,!1)}}function be(N){return N.segments.length>0?new gt([],{[te]:N}):N}function Yt(N){const z={};for(const[K,mt]of Object.entries(N.children)){const Wt=Yt(mt);if(K===te&&0===Wt.segments.length&&Wt.hasChildren())for(const[Te,Sr]of Object.entries(Wt.children))z[Te]=Sr;else(Wt.segments.length>0||Wt.hasChildren())&&(z[K]=Wt)}return function Se(N){if(1===N.numberOfChildren&&N.children[te]){const z=N.children[te];return new gt(N.segments.concat(z.segments),z.children)}return N}(new gt(N.segments,z))}function ar(N){return N instanceof br}function Co(N){let z;const mt=be(function P(Wt){const Te={};for(const pr of Wt.children){const vo=P(pr);Te[pr.outlet]=vo}const Sr=new gt(Wt.url,Te);return Wt===N&&(z=Sr),Sr}(N.root));return z??mt}function Vn(N,z,P,K){let mt=N;for(;mt.parent;)mt=mt.parent;if(0===z.length)return ai(mt,mt,mt,P,K);const Wt=function ni(N){if("string"==typeof N[0]&&1===N.length&&"/"===N[0])return new gi(!0,0,N);let z=0,P=!1;const K=N.reduce((mt,Wt,Te)=>{if("object"==typeof Wt&&null!=Wt){if(Wt.outlets){const Sr={};return Object.entries(Wt.outlets).forEach(([pr,vo])=>{Sr[pr]="string"==typeof vo?vo.split("/"):vo}),[...mt,{outlets:Sr}]}if(Wt.segmentPath)return[...mt,Wt.segmentPath]}return"string"!=typeof Wt?[...mt,Wt]:0===Te?(Wt.split("/").forEach((Sr,pr)=>{0==pr&&"."===Sr||(0==pr&&""===Sr?P=!0:".."===Sr?z++:""!=Sr&&mt.push(Sr))}),mt):[...mt,Wt]},[]);return new gi(P,z,K)}(z);if(Wt.toRoot())return ai(mt,mt,new gt([],{}),P,K);const Te=function He(N,z,P){if(N.isAbsolute)return new Oe(z,!0,0);if(!P)return new Oe(z,!1,NaN);if(null===P.parent)return new Oe(P,!0,0);const K=qn(N.commands[0])?0:1;return function Dr(N,z,P){let K=N,mt=z,Wt=P;for(;Wt>mt;){if(Wt-=mt,K=K.parent,!K)throw new o.wOt(4005,!1);mt=K.segments.length}return new Oe(K,!1,mt-Wt)}(P,P.segments.length-1+K,N.numberOfDoubleDots)}(Wt,mt,N),Sr=Te.processChildren?ao(Te.segmentGroup,Te.index,Wt.commands):Ur(Te.segmentGroup,Te.index,Wt.commands);return ai(mt,Te.segmentGroup,Sr,P,K)}function qn(N){return"object"==typeof N&&null!=N&&!N.outlets&&!N.segmentPath}function Yo(N){return"object"==typeof N&&null!=N&&N.outlets}function ai(N,z,P,K,mt){let Te,Wt={};K&&Object.entries(K).forEach(([pr,vo])=>{Wt[pr]=Array.isArray(vo)?vo.map(dn=>`${dn}`):`${vo}`}),Te=N===z?P:Po(N,z,P);const Sr=be(Yt(Te));return new br(Sr,Wt,mt)}function Po(N,z,P){const K={};return Object.entries(N.children).forEach(([mt,Wt])=>{K[mt]=Wt===z?P:Po(Wt,z,P)}),new gt(N.segments,K)}class gi{constructor(z,P,K){if(this.isAbsolute=z,this.numberOfDoubleDots=P,this.commands=K,z&&K.length>0&&qn(K[0]))throw new o.wOt(4003,!1);const mt=K.find(Yo);if(mt&&mt!==Ht(K))throw new o.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Oe{constructor(z,P,K){this.segmentGroup=z,this.processChildren=P,this.index=K}}function Ur(N,z,P){if(N??=new gt([],{}),0===N.segments.length&&N.hasChildren())return ao(N,z,P);const K=function no(N,z,P){let K=0,mt=z;const Wt={match:!1,pathIndex:0,commandIndex:0};for(;mt=P.length)return Wt;const Te=N.segments[mt],Sr=P[K];if(Yo(Sr))break;const pr=`${Sr}`,vo=K0&&void 0===pr)break;if(pr&&vo&&"object"==typeof vo&&void 0===vo.outlets){if(!zt(pr,vo,Te))return Wt;K+=2}else{if(!zt(pr,{},Te))return Wt;K++}mt++}return{match:!0,pathIndex:mt,commandIndex:K}}(N,z,P),mt=P.slice(K.commandIndex);if(K.match&&K.pathIndexWt!==te)&&N.children[te]&&1===N.numberOfChildren&&0===N.children[te].segments.length){const Wt=ao(N.children[te],z,P);return new gt(N.segments,Wt.children)}return Object.entries(K).forEach(([Wt,Te])=>{"string"==typeof Te&&(Te=[Te]),null!==Te&&(mt[Wt]=Ur(N.children[Wt],z,Te))}),Object.entries(N.children).forEach(([Wt,Te])=>{void 0===K[Wt]&&(mt[Wt]=Te)}),new gt(N.segments,mt)}}function _o(N,z,P){const K=N.segments.slice(0,z);let mt=0;for(;mt{"string"==typeof K&&(K=[K]),null!==K&&(z[P]=_o(new gt([],{}),0,K))}),z}function ro(N){const z={};return Object.entries(N).forEach(([P,K])=>z[P]=`${K}`),z}function zt(N,z,P){return N==P.path&&le(z,P.parameters)}const me="imperative";var ue=function(N){return N[N.NavigationStart=0]="NavigationStart",N[N.NavigationEnd=1]="NavigationEnd",N[N.NavigationCancel=2]="NavigationCancel",N[N.NavigationError=3]="NavigationError",N[N.RoutesRecognized=4]="RoutesRecognized",N[N.ResolveStart=5]="ResolveStart",N[N.ResolveEnd=6]="ResolveEnd",N[N.GuardsCheckStart=7]="GuardsCheckStart",N[N.GuardsCheckEnd=8]="GuardsCheckEnd",N[N.RouteConfigLoadStart=9]="RouteConfigLoadStart",N[N.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",N[N.ChildActivationStart=11]="ChildActivationStart",N[N.ChildActivationEnd=12]="ChildActivationEnd",N[N.ActivationStart=13]="ActivationStart",N[N.ActivationEnd=14]="ActivationEnd",N[N.Scroll=15]="Scroll",N[N.NavigationSkipped=16]="NavigationSkipped",N}(ue||{});class dt{constructor(z,P){this.id=z,this.url=P}}class Kt extends dt{constructor(z,P,K="imperative",mt=null){super(z,P),this.type=ue.NavigationStart,this.navigationTrigger=K,this.restoredState=mt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ct extends dt{constructor(z,P,K){super(z,P),this.urlAfterRedirects=K,this.type=ue.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ae=function(N){return N[N.Redirect=0]="Redirect",N[N.SupersededByNewNavigation=1]="SupersededByNewNavigation",N[N.NoDataFromResolver=2]="NoDataFromResolver",N[N.GuardRejected=3]="GuardRejected",N}(ae||{}),Re=function(N){return N[N.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",N[N.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",N}(Re||{});class De extends dt{constructor(z,P,K,mt){super(z,P),this.reason=K,this.code=mt,this.type=ue.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class or extends dt{constructor(z,P,K,mt){super(z,P),this.reason=K,this.code=mt,this.type=ue.NavigationSkipped}}class Cr extends dt{constructor(z,P,K,mt){super(z,P),this.error=K,this.target=mt,this.type=ue.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class kr extends dt{constructor(z,P,K,mt){super(z,P),this.urlAfterRedirects=K,this.state=mt,this.type=ue.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Lr extends dt{constructor(z,P,K,mt){super(z,P),this.urlAfterRedirects=K,this.state=mt,this.type=ue.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Br extends dt{constructor(z,P,K,mt,Wt){super(z,P),this.urlAfterRedirects=K,this.state=mt,this.shouldActivate=Wt,this.type=ue.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class qr extends dt{constructor(z,P,K,mt){super(z,P),this.urlAfterRedirects=K,this.state=mt,this.type=ue.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class to extends dt{constructor(z,P,K,mt){super(z,P),this.urlAfterRedirects=K,this.state=mt,this.type=ue.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ko{constructor(z){this.route=z,this.type=ue.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class To{constructor(z){this.route=z,this.type=ue.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class po{constructor(z){this.snapshot=z,this.type=ue.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class io{constructor(z){this.snapshot=z,this.type=ue.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jn{constructor(z){this.snapshot=z,this.type=ue.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ai{constructor(z){this.snapshot=z,this.type=ue.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zn{constructor(z,P,K){this.routerEvent=z,this.position=P,this.anchor=K,this.type=ue.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Uo{}class jn{constructor(z,P){this.url=z,this.navigationBehaviorOptions=P}}function ti(N){return N.outlet||te}function Tn(N){if(!N)return null;if(N.routeConfig?._injector)return N.routeConfig._injector;for(let z=N.parent;z;z=z.parent){const P=z.routeConfig;if(P?._loadedInjector)return P._loadedInjector;if(P?._injector)return P._injector}return null}class ua{get injector(){return Tn(this.route?.snapshot)??this.rootInjector}set injector(z){}constructor(z){this.rootInjector=z,this.outlet=null,this.route=null,this.children=new bi(this.rootInjector),this.attachRef=null}}let bi=(()=>{class N{constructor(P){this.rootInjector=P,this.contexts=new Map}onChildOutletCreated(P,K){const mt=this.getOrCreateContext(P);mt.outlet=K,this.contexts.set(P,mt)}onChildOutletDestroyed(P){const K=this.getContext(P);K&&(K.outlet=null,K.attachRef=null)}onOutletDeactivated(){const P=this.contexts;return this.contexts=new Map,P}onOutletReAttached(P){this.contexts=P}getOrCreateContext(P){let K=this.getContext(P);return K||(K=new ua(this.rootInjector),this.contexts.set(P,K)),K}getContext(P){return this.contexts.get(P)||null}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(o.uvJ))}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();class Go{constructor(z){this._root=z}get root(){return this._root.value}parent(z){const P=this.pathFromRoot(z);return P.length>1?P[P.length-2]:null}children(z){const P=pa(z,this._root);return P?P.children.map(K=>K.value):[]}firstChild(z){const P=pa(z,this._root);return P&&P.children.length>0?P.children[0].value:null}siblings(z){const P=ei(z,this._root);return P.length<2?[]:P[P.length-2].children.map(mt=>mt.value).filter(mt=>mt!==z)}pathFromRoot(z){return ei(z,this._root).map(P=>P.value)}}function pa(N,z){if(N===z.value)return z;for(const P of z.children){const K=pa(N,P);if(K)return K}return null}function ei(N,z){if(N===z.value)return[z];for(const P of z.children){const K=ei(N,P);if(K.length)return K.unshift(z),K}return[]}class Bn{constructor(z,P){this.value=z,this.children=P}toString(){return`TreeNode(${this.value})`}}function ri(N){const z={};return N&&N.children.forEach(P=>z[P.value.outlet]=P),z}class Ua extends Go{constructor(z,P){super(z),this.snapshot=P,fa(this,z)}toString(){return this.snapshot.toString()}}function zo(N){const z=function xa(N){const Wt=new ta([],{},{},"",{},te,N,null,{});return new us("",new Bn(Wt,[]))}(N),P=new k.t([new $("",{})]),K=new k.t({}),mt=new k.t({}),Wt=new k.t({}),Te=new k.t(""),Sr=new On(P,K,Wt,Te,mt,te,N,z.root);return Sr.snapshot=z.root,new Ua(new Bn(Sr,[]),z)}class On{constructor(z,P,K,mt,Wt,Te,Sr,pr){this.urlSubject=z,this.paramsSubject=P,this.queryParamsSubject=K,this.fragmentSubject=mt,this.dataSubject=Wt,this.outlet=Te,this.component=Sr,this._futureSnapshot=pr,this.title=this.dataSubject?.pipe((0,tt.T)(vo=>vo[Ye]))??(0,y.of)(void 0),this.url=z,this.params=P,this.queryParams=K,this.fragment=mt,this.data=Wt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,tt.T)(z=>Bt(z))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,tt.T)(z=>Bt(z))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ji(N,z,P="emptyOnly"){let K;const{routeConfig:mt}=N;return K=null===z||"always"!==P&&""!==mt?.path&&(z.component||z.routeConfig?.loadComponent)?{params:{...N.params},data:{...N.data},resolve:{...N.data,...N._resolvedData??{}}}:{params:{...z.params,...N.params},data:{...z.data,...N.data},resolve:{...N.data,...z.data,...mt?.data,...N._resolvedData}},mt&&Rn(mt)&&(K.resolve[Ye]=mt.title),K}class ta{get title(){return this.data?.[Ye]}constructor(z,P,K,mt,Wt,Te,Sr,pr,vo){this.url=z,this.params=P,this.queryParams=K,this.fragment=mt,this.data=Wt,this.outlet=Te,this.component=Sr,this.routeConfig=pr,this._resolve=vo}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Bt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Bt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(K=>K.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class us extends Go{constructor(z,P){super(P),this.url=z,fa(this,P)}toString(){return $a(this._root)}}function fa(N,z){z.value._routerState=N,z.children.forEach(P=>fa(N,P))}function $a(N){const z=N.children.length>0?` { ${N.children.map($a).join(", ")} } `:"";return`${N.value}${z}`}function fi(N){if(N.snapshot){const z=N.snapshot,P=N._futureSnapshot;N.snapshot=P,le(z.queryParams,P.queryParams)||N.queryParamsSubject.next(P.queryParams),z.fragment!==P.fragment&&N.fragmentSubject.next(P.fragment),le(z.params,P.params)||N.paramsSubject.next(P.params),function Ot(N,z){if(N.length!==z.length)return!1;for(let P=0;Ple(P.parameters,z[K].parameters))}(N.url,z.url);return P&&!(!N.parent!=!z.parent)&&(!N.parent||Jo(N.parent,z.parent))}function Rn(N){return"string"==typeof N.title||null===N.title}let ia=(()=>{class N{constructor(){this.activated=null,this._activatedRoute=null,this.name=te,this.activateEvents=new o.bkB,this.deactivateEvents=new o.bkB,this.attachEvents=new o.bkB,this.detachEvents=new o.bkB,this.parentContexts=(0,o.WQX)(bi),this.location=(0,o.WQX)(o.c1b),this.changeDetector=(0,o.WQX)(o.gRc),this.inputBinder=(0,o.WQX)(Ja,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(P){if(P.name){const{firstChange:K,previousValue:mt}=P.name;if(K)return;this.isTrackedInParentContexts(mt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(mt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(P){return this.parentContexts.getContext(P)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const P=this.parentContexts.getContext(this.name);P?.route&&(P.attachRef?this.attach(P.attachRef,P.route):this.activateWith(P.route,P.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.wOt(4012,!1);this.location.detach();const P=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(P.instance),P}attach(P,K){this.activated=P,this._activatedRoute=K,this.location.insert(P.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(P.instance)}deactivate(){if(this.activated){const P=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(P)}}activateWith(P,K){if(this.isActivated)throw new o.wOt(4013,!1);this._activatedRoute=P;const mt=this.location,Te=P.snapshot.component,Sr=this.parentContexts.getOrCreateContext(this.name).children,pr=new wi(P,Sr,mt.injector);this.activated=mt.createComponent(Te,{index:mt.length,injector:pr,environmentInjector:K}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275dir=o.FsC({type:N,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.OA$]})}}return N})();class wi{__ngOutletInjector(z){return new wi(this.route,this.childContexts,z)}constructor(z,P,K){this.route=z,this.childContexts=P,this.parent=K}get(z,P){return z===On?this.route:z===bi?this.childContexts:this.parent.get(z,P)}}const Ja=new o.nKC("");let Hn=(()=>{class N{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(P){this.unsubscribeFromRouteData(P),this.subscribeToRouteData(P)}unsubscribeFromRouteData(P){this.outletDataSubscriptions.get(P)?.unsubscribe(),this.outletDataSubscriptions.delete(P)}subscribeToRouteData(P){const{activatedRoute:K}=P,mt=(0,S.z)([K.queryParams,K.params,K.data]).pipe((0,xt.n)(([Wt,Te,Sr],pr)=>(Sr={...Wt,...Te,...Sr},0===pr?(0,y.of)(Sr):Promise.resolve(Sr)))).subscribe(Wt=>{if(!P.isActivated||!P.activatedComponentRef||P.activatedRoute!==K||null===K.component)return void this.unsubscribeFromRouteData(P);const Te=(0,o.HJs)(K.component);if(Te)for(const{templateName:Sr}of Te.inputs)P.activatedComponentRef.setInput(Sr,Wt[Sr]);else this.unsubscribeFromRouteData(P)});this.outletDataSubscriptions.set(P,mt)}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac})}}return N})();function di(N,z,P){if(P&&N.shouldReuseRoute(z.value,P.value.snapshot)){const K=P.value;K._futureSnapshot=z.value;const mt=function Vi(N,z,P){return z.children.map(K=>{for(const mt of P.children)if(N.shouldReuseRoute(K.value,mt.value.snapshot))return di(N,K,mt);return di(N,K)})}(N,z,P);return new Bn(K,mt)}{if(N.shouldAttach(z.value)){const Wt=N.retrieve(z.value);if(null!==Wt){const Te=Wt.route;return Te.value._futureSnapshot=z.value,Te.children=z.children.map(Sr=>di(N,Sr)),Te}}const K=function oi(N){return new On(new k.t(N.url),new k.t(N.params),new k.t(N.queryParams),new k.t(N.fragment),new k.t(N.data),N.outlet,N.component,N)}(z.value),mt=z.children.map(Wt=>di(N,Wt));return new Bn(K,mt)}}class aa{constructor(z,P){this.redirectTo=z,this.navigationBehaviorOptions=P}}const Fi="ngNavigationCancelingError";function ma(N,z){const{redirectTo:P,navigationBehaviorOptions:K}=ar(z)?{redirectTo:z,navigationBehaviorOptions:void 0}:z,mt=ts(!1,ae.Redirect);return mt.url=P,mt.navigationBehaviorOptions=K,mt}function ts(N,z){const P=new Error(`NavigationCancelingError: ${N||""}`);return P[Fi]=!0,P.cancellationCode=z,P}function G(N){return!!N&&N[Fi]}class se{constructor(z,P,K,mt,Wt){this.routeReuseStrategy=z,this.futureState=P,this.currState=K,this.forwardEvent=mt,this.inputBindingEnabled=Wt}activate(z){const P=this.futureState._root,K=this.currState?this.currState._root:null;this.deactivateChildRoutes(P,K,z),fi(this.futureState.root),this.activateChildRoutes(P,K,z)}deactivateChildRoutes(z,P,K){const mt=ri(P);z.children.forEach(Wt=>{const Te=Wt.value.outlet;this.deactivateRoutes(Wt,mt[Te],K),delete mt[Te]}),Object.values(mt).forEach(Wt=>{this.deactivateRouteAndItsChildren(Wt,K)})}deactivateRoutes(z,P,K){const mt=z.value,Wt=P?P.value:null;if(mt===Wt)if(mt.component){const Te=K.getContext(mt.outlet);Te&&this.deactivateChildRoutes(z,P,Te.children)}else this.deactivateChildRoutes(z,P,K);else Wt&&this.deactivateRouteAndItsChildren(P,K)}deactivateRouteAndItsChildren(z,P){z.value.component&&this.routeReuseStrategy.shouldDetach(z.value.snapshot)?this.detachAndStoreRouteSubtree(z,P):this.deactivateRouteAndOutlet(z,P)}detachAndStoreRouteSubtree(z,P){const K=P.getContext(z.value.outlet),mt=K&&z.value.component?K.children:P,Wt=ri(z);for(const Te of Object.values(Wt))this.deactivateRouteAndItsChildren(Te,mt);if(K&&K.outlet){const Te=K.outlet.detach(),Sr=K.children.onOutletDeactivated();this.routeReuseStrategy.store(z.value.snapshot,{componentRef:Te,route:z,contexts:Sr})}}deactivateRouteAndOutlet(z,P){const K=P.getContext(z.value.outlet),mt=K&&z.value.component?K.children:P,Wt=ri(z);for(const Te of Object.values(Wt))this.deactivateRouteAndItsChildren(Te,mt);K&&(K.outlet&&(K.outlet.deactivate(),K.children.onOutletDeactivated()),K.attachRef=null,K.route=null)}activateChildRoutes(z,P,K){const mt=ri(P);z.children.forEach(Wt=>{this.activateRoutes(Wt,mt[Wt.value.outlet],K),this.forwardEvent(new Ai(Wt.value.snapshot))}),z.children.length&&this.forwardEvent(new io(z.value.snapshot))}activateRoutes(z,P,K){const mt=z.value,Wt=P?P.value:null;if(fi(mt),mt===Wt)if(mt.component){const Te=K.getOrCreateContext(mt.outlet);this.activateChildRoutes(z,P,Te.children)}else this.activateChildRoutes(z,P,K);else if(mt.component){const Te=K.getOrCreateContext(mt.outlet);if(this.routeReuseStrategy.shouldAttach(mt.snapshot)){const Sr=this.routeReuseStrategy.retrieve(mt.snapshot);this.routeReuseStrategy.store(mt.snapshot,null),Te.children.onOutletReAttached(Sr.contexts),Te.attachRef=Sr.componentRef,Te.route=Sr.route.value,Te.outlet&&Te.outlet.attach(Sr.componentRef,Sr.route.value),fi(Sr.route.value),this.activateChildRoutes(z,null,Te.children)}else Te.attachRef=null,Te.route=mt,Te.outlet&&Te.outlet.activateWith(mt,Te.injector),this.activateChildRoutes(z,null,Te.children)}else this.activateChildRoutes(z,null,K)}}class xe{constructor(z){this.path=z,this.route=this.path[this.path.length-1]}}class Ar{constructor(z,P){this.component=z,this.route=P}}function Wr(N,z,P){const K=N._root;return jo(K,z?z._root:null,P,[K.value])}function wo(N,z){const P=Symbol(),K=z.get(N,P);return K===P?"function"!=typeof N||(0,o.LfX)(N)?z.get(N):N:K}function jo(N,z,P,K,mt={canDeactivateChecks:[],canActivateChecks:[]}){const Wt=ri(z);return N.children.forEach(Te=>{(function Nn(N,z,P,K,mt={canDeactivateChecks:[],canActivateChecks:[]}){const Wt=N.value,Te=z?z.value:null,Sr=P?P.getContext(N.value.outlet):null;if(Te&&Wt.routeConfig===Te.routeConfig){const pr=function Ln(N,z,P){if("function"==typeof P)return P(N,z);switch(P){case"pathParamsChange":return!it(N.url,z.url);case"pathParamsOrQueryParamsChange":return!it(N.url,z.url)||!le(N.queryParams,z.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Jo(N,z)||!le(N.queryParams,z.queryParams);default:return!Jo(N,z)}}(Te,Wt,Wt.routeConfig.runGuardsAndResolvers);pr?mt.canActivateChecks.push(new xe(K)):(Wt.data=Te.data,Wt._resolvedData=Te._resolvedData),jo(N,z,Wt.component?Sr?Sr.children:null:P,K,mt),pr&&Sr&&Sr.outlet&&Sr.outlet.isActivated&&mt.canDeactivateChecks.push(new Ar(Sr.outlet.component,Te))}else Te&&Wn(z,Sr,mt),mt.canActivateChecks.push(new xe(K)),jo(N,null,Wt.component?Sr?Sr.children:null:P,K,mt)})(Te,Wt[Te.value.outlet],P,K.concat([Te.value]),mt),delete Wt[Te.value.outlet]}),Object.entries(Wt).forEach(([Te,Sr])=>Wn(Sr,P.getContext(Te),mt)),mt}function Wn(N,z,P){const K=ri(N),mt=N.value;Object.entries(K).forEach(([Wt,Te])=>{Wn(Te,mt.component?z?z.children.getContext(Wt):null:z,P)}),P.canDeactivateChecks.push(new Ar(mt.component&&z&&z.outlet&&z.outlet.isActivated?z.outlet.component:null,mt))}function Mi(N){return"function"==typeof N}function vi(N){return N instanceof I.G||"EmptyError"===N?.name}const Kn=Symbol("INITIAL_VALUE");function Xi(){return(0,xt.n)(N=>(0,S.z)(N.map(z=>z.pipe((0,Tt.s)(1),(0,$t.Z)(Kn)))).pipe((0,tt.T)(z=>{for(const P of z)if(!0!==P){if(P===Kn)return Kn;if(!1===P||st(P))return P}return!0}),(0,St.p)(z=>z!==Kn),(0,Tt.s)(1)))}function st(N){return ar(N)||N instanceof aa}function Ps(N){return(0,R.F)((0,Xe.M)(z=>{if("boolean"!=typeof z)throw ma(0,z)}),(0,tt.T)(z=>!0===z))}class Va{constructor(z){this.segmentGroup=z||null}}class bn extends Error{constructor(z){super(),this.urlTree=z}}function Bs(N){return(0,L.$)(new Va(N))}class rl{constructor(z,P){this.urlSerializer=z,this.urlTree=P}lineralizeSegments(z,P){let K=[],mt=P.root;for(;;){if(K=K.concat(mt.segments),0===mt.numberOfChildren)return(0,y.of)(K);if(mt.numberOfChildren>1||!mt.children[te])return(0,L.$)(new o.wOt(4e3,!1));mt=mt.children[te]}}applyRedirectCommands(z,P,K,mt,Wt){if("string"!=typeof P){const Sr=P,{queryParams:pr,fragment:vo,routeConfig:dn,url:xn,outlet:fn,params:Sa,data:Aa,title:Os}=mt,ys=(0,o.N4e)(Wt,()=>Sr({params:Sa,data:Aa,queryParams:pr,fragment:vo,routeConfig:dn,url:xn,outlet:fn,title:Os}));if(ys instanceof br)throw new bn(ys);P=ys}const Te=this.applyRedirectCreateUrlTree(P,this.urlSerializer.parse(P),z,K);if("/"===P[0])throw new bn(Te);return Te}applyRedirectCreateUrlTree(z,P,K,mt){const Wt=this.createSegmentGroup(z,P.root,K,mt);return new br(Wt,this.createQueryParams(P.queryParams,this.urlTree.queryParams),P.fragment)}createQueryParams(z,P){const K={};return Object.entries(z).forEach(([mt,Wt])=>{if("string"==typeof Wt&&":"===Wt[0]){const Sr=Wt.substring(1);K[mt]=P[Sr]}else K[mt]=Wt}),K}createSegmentGroup(z,P,K,mt){const Wt=this.createSegments(z,P.segments,K,mt);let Te={};return Object.entries(P.children).forEach(([Sr,pr])=>{Te[Sr]=this.createSegmentGroup(z,pr,K,mt)}),new gt(Wt,Te)}createSegments(z,P,K,mt){return P.map(Wt=>":"===Wt.path[0]?this.findPosParam(z,Wt,mt):this.findOrReturn(Wt,K))}findPosParam(z,P,K){const mt=K[P.path.substring(1)];if(!mt)throw new o.wOt(4001,!1);return mt}findOrReturn(z,P){let K=0;for(const mt of P){if(mt.path===z.path)return P.splice(K),mt;K++}return z}}const sn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Bi(N,z,P,K,mt){const Wt=en(N,z,P);return Wt.matched?(K=function on(N,z){return N.providers&&!N._injector&&(N._injector=(0,o.Ol2)(N.providers,z,`Route: ${N.path}`)),N._injector??z}(z,K),function Fs(N,z,P,K){const mt=z.canMatch;if(!mt||0===mt.length)return(0,y.of)(!0);const Wt=mt.map(Te=>{const Sr=wo(Te,N);return Me(function yi(N){return N&&Mi(N.canMatch)}(Sr)?Sr.canMatch(z,P):(0,o.N4e)(N,()=>Sr(z,P)))});return(0,y.of)(Wt).pipe(Xi(),Ps())}(K,z,P).pipe((0,tt.T)(Te=>!0===Te?Wt:{...sn}))):(0,y.of)(Wt)}function en(N,z,P){if("**"===z.path)return function ea(N){return{matched:!0,parameters:N.length>0?Ht(N).parameters:{},consumedSegments:N,remainingSegments:[],positionalParamSegments:{}}}(P);if(""===z.path)return"full"===z.pathMatch&&(N.hasChildren()||P.length>0)?{...sn}:{matched:!0,consumedSegments:[],remainingSegments:P,parameters:{},positionalParamSegments:{}};const mt=(z.matcher||Zt)(P,N,z);if(!mt)return{...sn};const Wt={};Object.entries(mt.posParams??{}).forEach(([Sr,pr])=>{Wt[Sr]=pr.path});const Te=mt.consumed.length>0?{...Wt,...mt.consumed[mt.consumed.length-1].parameters}:Wt;return{matched:!0,consumedSegments:mt.consumed,remainingSegments:P.slice(mt.consumed.length),parameters:Te,positionalParamSegments:mt.posParams??{}}}function Hi(N,z,P,K){return P.length>0&&function sa(N,z,P){return P.some(K=>As(N,z,K)&&ti(K)!==te)}(N,P,K)?{segmentGroup:new gt(z,Ss(K,new gt(P,N.children))),slicedSegments:[]}:0===P.length&&function xc(N,z,P){return P.some(K=>As(N,z,K))}(N,P,K)?{segmentGroup:new gt(N.segments,Ks(N,P,K,N.children)),slicedSegments:P}:{segmentGroup:new gt(N.segments,N.children),slicedSegments:P}}function Ks(N,z,P,K){const mt={};for(const Wt of P)if(As(N,z,Wt)&&!K[ti(Wt)]){const Te=new gt([],{});mt[ti(Wt)]=Te}return{...K,...mt}}function Ss(N,z){const P={};P[te]=z;for(const K of N)if(""===K.path&&ti(K)!==te){const mt=new gt([],{});P[ti(K)]=mt}return P}function As(N,z,P){return(!(N.hasChildren()||z.length>0)||"full"!==P.pathMatch)&&""===P.path}class _c{}class kc{constructor(z,P,K,mt,Wt,Te,Sr){this.injector=z,this.configLoader=P,this.rootComponentType=K,this.config=mt,this.urlTree=Wt,this.paramsInheritanceStrategy=Te,this.urlSerializer=Sr,this.applyRedirects=new rl(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(z){return new o.wOt(4002,`'${z.segmentGroup}'`)}recognize(){const z=Hi(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(z).pipe((0,tt.T)(({children:P,rootSnapshot:K})=>{const mt=new Bn(K,P),Wt=new us("",mt),Te=function xr(N,z,P=null,K=null){return Vn(Co(N),z,P,K)}(K,[],this.urlTree.queryParams,this.urlTree.fragment);return Te.queryParams=this.urlTree.queryParams,Wt.url=this.urlSerializer.serialize(Te),{state:Wt,tree:Te}}))}match(z){const P=new ta([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),te,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,z,te,P).pipe((0,tt.T)(K=>({children:K,rootSnapshot:P})),(0,Er.W)(K=>{if(K instanceof bn)return this.urlTree=K.urlTree,this.match(K.urlTree.root);throw K instanceof Va?this.noMatchError(K):K}))}processSegmentGroup(z,P,K,mt,Wt){return 0===K.segments.length&&K.hasChildren()?this.processChildren(z,P,K,Wt):this.processSegment(z,P,K,K.segments,mt,!0,Wt).pipe((0,tt.T)(Te=>Te instanceof Bn?[Te]:[]))}processChildren(z,P,K,mt){const Wt=[];for(const Te of Object.keys(K.children))"primary"===Te?Wt.unshift(Te):Wt.push(Te);return(0,c.H)(Wt).pipe((0,ie.H)(Te=>{const Sr=K.children[Te],pr=function Ba(N,z){const P=N.filter(K=>ti(K)===z);return P.push(...N.filter(K=>ti(K)!==z)),P}(P,Te);return this.processSegmentGroup(z,pr,Sr,Te,mt)}),function vr(N,z){return(0,nt.N)((0,gr.S)(N,z,arguments.length>=2,!0))}((Te,Sr)=>(Te.push(...Sr),Te)),et(null),function ke(N,z){const P=arguments.length>=2;return K=>K.pipe(N?(0,St.p)((mt,Wt)=>N(mt,Wt,K)):jt.D,Xr(1),P?et(z):bt(()=>new I.G))}(),(0,_t.Z)(Te=>{if(null===Te)return Bs(K);const Sr=Bc(Te);return function Ec(N){N.sort((z,P)=>z.value.outlet===te?-1:P.value.outlet===te?1:z.value.outlet.localeCompare(P.value.outlet))}(Sr),(0,y.of)(Sr)}))}processSegment(z,P,K,mt,Wt,Te,Sr){return(0,c.H)(P).pipe((0,ie.H)(pr=>this.processSegmentAgainstRoute(pr._injector??z,P,pr,K,mt,Wt,Te,Sr).pipe((0,Er.W)(vo=>{if(vo instanceof Va)return(0,y.of)(null);throw vo}))),Gt(pr=>!!pr),(0,Er.W)(pr=>{if(vi(pr))return function Ri(N,z,P){return 0===z.length&&!N.children[P]}(K,mt,Wt)?(0,y.of)(new _c):Bs(K);throw pr}))}processSegmentAgainstRoute(z,P,K,mt,Wt,Te,Sr,pr){return ti(K)===Te||Te!==te&&As(mt,Wt,K)?void 0===K.redirectTo?this.matchSegmentAgainstRoute(z,mt,K,Wt,Te,pr):this.allowRedirects&&Sr?this.expandSegmentAgainstRouteUsingRedirect(z,mt,P,K,Wt,Te,pr):Bs(mt):Bs(mt)}expandSegmentAgainstRouteUsingRedirect(z,P,K,mt,Wt,Te,Sr){const{matched:pr,parameters:vo,consumedSegments:dn,positionalParamSegments:xn,remainingSegments:fn}=en(P,mt,Wt);if(!pr)return Bs(P);"string"==typeof mt.redirectTo&&"/"===mt.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Sa=new ta(Wt,vo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Us(mt),ti(mt),mt.component??mt._loadedComponent??null,mt,$s(mt)),Aa=Ji(Sa,Sr,this.paramsInheritanceStrategy);Sa.params=Object.freeze(Aa.params),Sa.data=Object.freeze(Aa.data);const Os=this.applyRedirects.applyRedirectCommands(dn,mt.redirectTo,xn,Sa,z);return this.applyRedirects.lineralizeSegments(mt,Os).pipe((0,_t.Z)(ys=>this.processSegment(z,K,P,ys.concat(fn),Te,!1,Sr)))}matchSegmentAgainstRoute(z,P,K,mt,Wt,Te){const Sr=Bi(P,K,mt,z);return"**"===K.path&&(P.children={}),Sr.pipe((0,xt.n)(pr=>pr.matched?this.getChildConfig(z=K._injector??z,K,mt).pipe((0,xt.n)(({routes:vo})=>{const dn=K._loadedInjector??z,{parameters:xn,consumedSegments:fn,remainingSegments:Sa}=pr,Aa=new ta(fn,xn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Us(K),ti(K),K.component??K._loadedComponent??null,K,$s(K)),Os=Ji(Aa,Te,this.paramsInheritanceStrategy);Aa.params=Object.freeze(Os.params),Aa.data=Object.freeze(Os.data);const{segmentGroup:ys,slicedSegments:$c}=Hi(P,fn,Sa,vo);if(0===$c.length&&ys.hasChildren())return this.processChildren(dn,vo,ys,Aa).pipe((0,tt.T)(Ka=>new Bn(Aa,Ka)));if(0===vo.length&&0===$c.length)return(0,y.of)(new Bn(Aa,[]));const Xs=ti(K)===Wt;return this.processSegment(dn,vo,ys,$c,Xs?te:Wt,!0,Aa).pipe((0,tt.T)(Ka=>new Bn(Aa,Ka instanceof Bn?[Ka]:[])))})):Bs(P)))}getChildConfig(z,P,K){return P.children?(0,y.of)({routes:P.children,injector:z}):P.loadChildren?void 0!==P._loadedRoutes?(0,y.of)({routes:P._loadedRoutes,injector:P._loadedInjector}):function ja(N,z,P,K){const mt=z.canLoad;if(void 0===mt||0===mt.length)return(0,y.of)(!0);const Wt=mt.map(Te=>{const Sr=wo(Te,N);return Me(function si(N){return N&&Mi(N.canLoad)}(Sr)?Sr.canLoad(z,P):(0,o.N4e)(N,()=>Sr(z,P)))});return(0,y.of)(Wt).pipe(Xi(),Ps())}(z,P,K).pipe((0,_t.Z)(mt=>mt?this.configLoader.loadChildren(z,P).pipe((0,Xe.M)(Wt=>{P._loadedRoutes=Wt.routes,P._loadedInjector=Wt.injector})):function rd(){return(0,L.$)(ts(!1,ae.GuardRejected))}())):(0,y.of)({routes:[],injector:z})}}function Cc(N){const z=N.value.routeConfig;return z&&""===z.path}function Bc(N){const z=[],P=new Set;for(const K of N){if(!Cc(K)){z.push(K);continue}const mt=z.find(Wt=>K.value.routeConfig===Wt.value.routeConfig);void 0!==mt?(mt.children.push(...K.children),P.add(mt)):z.push(K)}for(const K of P){const mt=Bc(K.children);z.push(new Bn(K.value,mt))}return z.filter(K=>!P.has(K))}function Us(N){return N.data||{}}function $s(N){return N.resolve||{}}function Ci(N){const z=N.children.map(P=>Ci(P)).flat();return[N,...z]}function Ts(N){return(0,xt.n)(z=>{const P=N(z);return P?(0,c.H)(P).pipe((0,tt.T)(()=>z)):(0,y.of)(z)})}let ci=(()=>{class N{buildTitle(P){let K,mt=P.root;for(;void 0!==mt;)K=this.getResolvedTitleForRoute(mt)??K,mt=mt.children.find(Wt=>Wt.outlet===te);return K}getResolvedTitleForRoute(P){return P.data[Ye]}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(Gs),providedIn:"root"})}}return N})(),Gs=(()=>{class N extends ci{constructor(P){super(),this.title=P}updateTitle(P){const K=this.buildTitle(P);void 0!==K&&this.title.setTitle(K)}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(pe.hE))}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const Ms=new o.nKC("",{providedIn:"root",factory:()=>({})});let Ca=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275cmp=o.VBU({type:N,selectors:[["ng-component"]],standalone:!0,features:[o.aNF],decls:1,vars:0,template:function(K,mt){1&K&&o.nrm(0,"router-outlet")},dependencies:[ia],encapsulation:2})}}return N})();function Un(N){const z=N.children&&N.children.map(Un),P=z?{...N,children:z}:{...N};return!P.component&&!P.loadComponent&&(z||P.loadChildren)&&P.outlet&&P.outlet!==te&&(P.component=Ca),P}const Ha=new o.nKC("");let hs=(()=>{class N{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.WQX)(o.Ql9)}loadComponent(P){if(this.componentLoaders.get(P))return this.componentLoaders.get(P);if(P._loadedComponent)return(0,y.of)(P._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(P);const K=Me(P.loadComponent()).pipe((0,tt.T)(lc),(0,Xe.M)(Wt=>{this.onLoadEndListener&&this.onLoadEndListener(P),P._loadedComponent=Wt}),(0,wt.j)(()=>{this.componentLoaders.delete(P)})),mt=new W.G(K,()=>new q.B).pipe((0,Ut.B)());return this.componentLoaders.set(P,mt),mt}loadChildren(P,K){if(this.childrenLoaders.get(K))return this.childrenLoaders.get(K);if(K._loadedRoutes)return(0,y.of)({routes:K._loadedRoutes,injector:K._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(K);const Wt=function mi(N,z,P,K){return Me(N.loadChildren()).pipe((0,tt.T)(lc),(0,_t.Z)(mt=>mt instanceof o.Co$||Array.isArray(mt)?(0,y.of)(mt):(0,c.H)(z.compileModuleAsync(mt))),(0,tt.T)(mt=>{K&&K(N);let Wt,Te,Sr=!1;return Array.isArray(mt)?(Te=mt,!0):(Wt=mt.create(P).injector,Te=Wt.get(Ha,[],{optional:!0,self:!0}).flat()),{routes:Te.map(Un),injector:Wt}}))}(K,this.compiler,P,this.onLoadEndListener).pipe((0,wt.j)(()=>{this.childrenLoaders.delete(K)})),Te=new W.G(Wt,()=>new q.B).pipe((0,Ut.B)());return this.childrenLoaders.set(K,Te),Te}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();function lc(N){return function gs(N){return N&&"object"==typeof N&&"default"in N}(N)?N.default:N}let Is=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(ca),providedIn:"root"})}}return N})(),ca=(()=>{class N{shouldProcessUrl(P){return!0}extract(P){return P}merge(P,K){return P}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const fs=new o.nKC(""),hn=new o.nKC("");function dc(N,z,P){const K=N.get(hn),mt=N.get(ht.qQ);return N.get(o.SKi).runOutsideAngular(()=>{if(!mt.startViewTransition||K.skipNextTransition)return K.skipNextTransition=!1,new Promise(vo=>setTimeout(vo));let Wt;const Te=new Promise(vo=>{Wt=vo}),Sr=mt.startViewTransition(()=>(Wt(),function Dc(N){return new Promise(z=>{(0,o.mal)({read:()=>setTimeout(z)},{injector:N})})}(N))),{onViewTransitionCreated:pr}=K;return pr&&(0,o.N4e)(N,()=>pr({transition:Sr,from:z,to:P})),Te})}const B=new o.nKC("");let kt=(()=>{class N{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new q.B,this.transitionAbortSubject=new q.B,this.configLoader=(0,o.WQX)(hs),this.environmentInjector=(0,o.WQX)(o.uvJ),this.urlSerializer=(0,o.WQX)(Mt),this.rootContexts=(0,o.WQX)(bi),this.location=(0,o.WQX)(ht.aZ),this.inputBindingEnabled=null!==(0,o.WQX)(Ja,{optional:!0}),this.titleStrategy=(0,o.WQX)(ci),this.options=(0,o.WQX)(Ms,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,o.WQX)(Is),this.createViewTransition=(0,o.WQX)(fs,{optional:!0}),this.navigationErrorHandler=(0,o.WQX)(B,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,y.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=mt=>this.events.next(new To(mt)),this.configLoader.onLoadStartListener=mt=>this.events.next(new ko(mt))}complete(){this.transitions?.complete()}handleNavigationRequest(P){const K=++this.navigationId;this.transitions?.next({...this.transitions.value,...P,id:K})}setupNavigations(P,K,mt){return this.transitions=new k.t({id:0,currentUrlTree:K,currentRawUrl:K,extractedUrl:this.urlHandlingStrategy.extract(K),urlAfterRedirects:this.urlHandlingStrategy.extract(K),rawUrl:K,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:me,restoredState:null,currentSnapshot:mt.snapshot,targetSnapshot:null,currentRouterState:mt,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,St.p)(Wt=>0!==Wt.id),(0,tt.T)(Wt=>({...Wt,extractedUrl:this.urlHandlingStrategy.extract(Wt.rawUrl)})),(0,xt.n)(Wt=>{let Te=!1,Sr=!1;return(0,y.of)(Wt).pipe((0,xt.n)(pr=>{if(this.navigationId>Wt.id)return this.cancelNavigationTransition(Wt,"",ae.SupersededByNewNavigation),J.w;this.currentTransition=Wt,this.currentNavigation={id:pr.id,initialUrl:pr.rawUrl,extractedUrl:pr.extractedUrl,targetBrowserUrl:"string"==typeof pr.extras.browserUrl?this.urlSerializer.parse(pr.extras.browserUrl):pr.extras.browserUrl,trigger:pr.source,extras:pr.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const vo=!P.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!vo&&"reload"!==(pr.extras.onSameUrlNavigation??P.onSameUrlNavigation)){const xn="";return this.events.next(new or(pr.id,this.urlSerializer.serialize(pr.rawUrl),xn,Re.IgnoredSameUrlNavigation)),pr.resolve(!1),J.w}if(this.urlHandlingStrategy.shouldProcessUrl(pr.rawUrl))return(0,y.of)(pr).pipe((0,xt.n)(xn=>{const fn=this.transitions?.getValue();return this.events.next(new Kt(xn.id,this.urlSerializer.serialize(xn.extractedUrl),xn.source,xn.restoredState)),fn!==this.transitions?.getValue()?J.w:Promise.resolve(xn)}),function Ea(N,z,P,K,mt,Wt){return(0,_t.Z)(Te=>function Fc(N,z,P,K,mt,Wt,Te="emptyOnly"){return new kc(N,z,P,K,mt,Te,Wt).recognize()}(N,z,P,K,Te.extractedUrl,mt,Wt).pipe((0,tt.T)(({state:Sr,tree:pr})=>({...Te,targetSnapshot:Sr,urlAfterRedirects:pr}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,P.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Xe.M)(xn=>{Wt.targetSnapshot=xn.targetSnapshot,Wt.urlAfterRedirects=xn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:xn.urlAfterRedirects};const fn=new kr(xn.id,this.urlSerializer.serialize(xn.extractedUrl),this.urlSerializer.serialize(xn.urlAfterRedirects),xn.targetSnapshot);this.events.next(fn)}));if(vo&&this.urlHandlingStrategy.shouldProcessUrl(pr.currentRawUrl)){const{id:xn,extractedUrl:fn,source:Sa,restoredState:Aa,extras:Os}=pr,ys=new Kt(xn,this.urlSerializer.serialize(fn),Sa,Aa);this.events.next(ys);const $c=zo(this.rootComponentType).snapshot;return this.currentTransition=Wt={...pr,targetSnapshot:$c,urlAfterRedirects:fn,extras:{...Os,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=fn,(0,y.of)(Wt)}{const xn="";return this.events.next(new or(pr.id,this.urlSerializer.serialize(pr.extractedUrl),xn,Re.IgnoredByUrlHandlingStrategy)),pr.resolve(!1),J.w}}),(0,Xe.M)(pr=>{const vo=new Lr(pr.id,this.urlSerializer.serialize(pr.extractedUrl),this.urlSerializer.serialize(pr.urlAfterRedirects),pr.targetSnapshot);this.events.next(vo)}),(0,tt.T)(pr=>(this.currentTransition=Wt={...pr,guards:Wr(pr.targetSnapshot,pr.currentSnapshot,this.rootContexts)},Wt)),function ft(N,z){return(0,_t.Z)(P=>{const{targetSnapshot:K,currentSnapshot:mt,guards:{canActivateChecks:Wt,canDeactivateChecks:Te}}=P;return 0===Te.length&&0===Wt.length?(0,y.of)({...P,guardsResult:!0}):function X(N,z,P,K){return(0,c.H)(N).pipe((0,_t.Z)(mt=>function Ls(N,z,P,K,mt){const Wt=z&&z.routeConfig?z.routeConfig.canDeactivate:null;if(!Wt||0===Wt.length)return(0,y.of)(!0);const Te=Wt.map(Sr=>{const pr=Tn(z)??mt,vo=wo(Sr,pr);return Me(function En(N){return N&&Mi(N.canDeactivate)}(vo)?vo.canDeactivate(N,z,P,K):(0,o.N4e)(pr,()=>vo(N,z,P,K))).pipe(Gt())});return(0,y.of)(Te).pipe(Xi())}(mt.component,mt.route,P,z,K)),Gt(mt=>!0!==mt,!0))}(Te,K,mt,N).pipe((0,_t.Z)(Sr=>Sr&&function kn(N){return"boolean"==typeof N}(Sr)?function Ft(N,z,P,K){return(0,c.H)(z).pipe((0,ie.H)(mt=>(0,T.x)(function No(N,z){return null!==N&&z&&z(new po(N)),(0,y.of)(!0)}(mt.route.parent,K),function $e(N,z){return null!==N&&z&&z(new Jn(N)),(0,y.of)(!0)}(mt.route,K),function ha(N,z,P){const K=z[z.length-1],Wt=z.slice(0,z.length-1).reverse().map(Te=>function co(N){const z=N.routeConfig?N.routeConfig.canActivateChild:null;return z&&0!==z.length?{node:N,guards:z}:null}(Te)).filter(Te=>null!==Te).map(Te=>(0,M.v)(()=>{const Sr=Te.guards.map(pr=>{const vo=Tn(Te.node)??P,dn=wo(pr,vo);return Me(function In(N){return N&&Mi(N.canActivateChild)}(dn)?dn.canActivateChild(K,N):(0,o.N4e)(vo,()=>dn(K,N))).pipe(Gt())});return(0,y.of)(Sr).pipe(Xi())}));return(0,y.of)(Wt).pipe(Xi())}(N,mt.path,P),function pn(N,z,P){const K=z.routeConfig?z.routeConfig.canActivate:null;if(!K||0===K.length)return(0,y.of)(!0);const mt=K.map(Wt=>(0,M.v)(()=>{const Te=Tn(z)??P,Sr=wo(Wt,Te);return Me(function zi(N){return N&&Mi(N.canActivate)}(Sr)?Sr.canActivate(z,N):(0,o.N4e)(Te,()=>Sr(z,N))).pipe(Gt())}));return(0,y.of)(mt).pipe(Xi())}(N,mt.route,P))),Gt(mt=>!0!==mt,!0))}(K,Wt,N,z):(0,y.of)(Sr)),(0,tt.T)(Sr=>({...P,guardsResult:Sr})))})}(this.environmentInjector,pr=>this.events.next(pr)),(0,Xe.M)(pr=>{if(Wt.guardsResult=pr.guardsResult,pr.guardsResult&&"boolean"!=typeof pr.guardsResult)throw ma(0,pr.guardsResult);const vo=new Br(pr.id,this.urlSerializer.serialize(pr.extractedUrl),this.urlSerializer.serialize(pr.urlAfterRedirects),pr.targetSnapshot,!!pr.guardsResult);this.events.next(vo)}),(0,St.p)(pr=>!!pr.guardsResult||(this.cancelNavigationTransition(pr,"",ae.GuardRejected),!1)),Ts(pr=>{if(pr.guards.canActivateChecks.length)return(0,y.of)(pr).pipe((0,Xe.M)(vo=>{const dn=new qr(vo.id,this.urlSerializer.serialize(vo.extractedUrl),this.urlSerializer.serialize(vo.urlAfterRedirects),vo.targetSnapshot);this.events.next(dn)}),(0,xt.n)(vo=>{let dn=!1;return(0,y.of)(vo).pipe(function nl(N,z){return(0,_t.Z)(P=>{const{targetSnapshot:K,guards:{canActivateChecks:mt}}=P;if(!mt.length)return(0,y.of)(P);const Wt=new Set(mt.map(pr=>pr.route)),Te=new Set;for(const pr of Wt)if(!Te.has(pr))for(const vo of Ci(pr))Te.add(vo);let Sr=0;return(0,c.H)(Te).pipe((0,ie.H)(pr=>Wt.has(pr)?function ra(N,z,P,K){const mt=N.routeConfig,Wt=N._resolve;return void 0!==mt?.title&&!Rn(mt)&&(Wt[Ye]=mt.title),function od(N,z,P,K){const mt=qt(N);if(0===mt.length)return(0,y.of)({});const Wt={};return(0,c.H)(mt).pipe((0,_t.Z)(Te=>function Yi(N,z,P,K){const mt=Tn(z)??K,Wt=wo(N,mt);return Me(Wt.resolve?Wt.resolve(z,P):(0,o.N4e)(mt,()=>Wt(z,P)))}(N[Te],z,P,K).pipe(Gt(),(0,Xe.M)(Sr=>{if(Sr instanceof aa)throw ma(new ve,Sr);Wt[Te]=Sr}))),Xr(1),(0,Rt.u)(Wt),(0,Er.W)(Te=>vi(Te)?J.w:(0,L.$)(Te)))}(Wt,N,z,K).pipe((0,tt.T)(Te=>(N._resolvedData=Te,N.data=Ji(N,N.parent,P).resolve,null)))}(pr,K,N,z):(pr.data=Ji(pr,pr.parent,N).resolve,(0,y.of)(void 0))),(0,Xe.M)(()=>Sr++),Xr(1),(0,_t.Z)(pr=>Sr===Te.size?(0,y.of)(P):J.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Xe.M)({next:()=>dn=!0,complete:()=>{dn||this.cancelNavigationTransition(vo,"",ae.NoDataFromResolver)}}))}),(0,Xe.M)(vo=>{const dn=new to(vo.id,this.urlSerializer.serialize(vo.extractedUrl),this.urlSerializer.serialize(vo.urlAfterRedirects),vo.targetSnapshot);this.events.next(dn)}))}),Ts(pr=>{const vo=dn=>{const xn=[];dn.routeConfig?.loadComponent&&!dn.routeConfig._loadedComponent&&xn.push(this.configLoader.loadComponent(dn.routeConfig).pipe((0,Xe.M)(fn=>{dn.component=fn}),(0,tt.T)(()=>{})));for(const fn of dn.children)xn.push(...vo(fn));return xn};return(0,S.z)(vo(pr.targetSnapshot.root)).pipe(et(null),(0,Tt.s)(1))}),Ts(()=>this.afterPreactivation()),(0,xt.n)(()=>{const{currentSnapshot:pr,targetSnapshot:vo}=Wt,dn=this.createViewTransition?.(this.environmentInjector,pr.root,vo.root);return dn?(0,c.H)(dn).pipe((0,tt.T)(()=>Wt)):(0,y.of)(Wt)}),(0,tt.T)(pr=>{const vo=function ki(N,z,P){const K=di(N,z._root,P?P._root:void 0);return new Ua(K,z)}(P.routeReuseStrategy,pr.targetSnapshot,pr.currentRouterState);return this.currentTransition=Wt={...pr,targetRouterState:vo},this.currentNavigation.targetRouterState=vo,Wt}),(0,Xe.M)(()=>{this.events.next(new Uo)}),((N,z,P,K)=>(0,tt.T)(mt=>(new se(z,mt.targetRouterState,mt.currentRouterState,P,K).activate(N),mt)))(this.rootContexts,P.routeReuseStrategy,pr=>this.events.next(pr),this.inputBindingEnabled),(0,Tt.s)(1),(0,Xe.M)({next:pr=>{Te=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ct(pr.id,this.urlSerializer.serialize(pr.extractedUrl),this.urlSerializer.serialize(pr.urlAfterRedirects))),this.titleStrategy?.updateTitle(pr.targetRouterState.snapshot),pr.resolve(!0)},complete:()=>{Te=!0}}),(0,Ae.Q)(this.transitionAbortSubject.pipe((0,Xe.M)(pr=>{throw pr}))),(0,wt.j)(()=>{!Te&&!Sr&&this.cancelNavigationTransition(Wt,"",ae.SupersededByNewNavigation),this.currentTransition?.id===Wt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Er.W)(pr=>{if(Sr=!0,G(pr))this.events.next(new De(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),pr.message,pr.cancellationCode)),function Ei(N){return G(N)&&ar(N.url)}(pr)?this.events.next(new jn(pr.url,pr.navigationBehaviorOptions)):Wt.resolve(!1);else{const vo=new Cr(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),pr,Wt.targetSnapshot??void 0);try{const dn=(0,o.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(vo));if(dn instanceof aa){const{message:xn,cancellationCode:fn}=ma(0,dn);this.events.next(new De(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),xn,fn)),this.events.next(new jn(dn.redirectTo,dn.navigationBehaviorOptions))}else{this.events.next(vo);const xn=P.errorHandler(pr);Wt.resolve(!!xn)}}catch(dn){this.options.resolveNavigationPromiseOnError?Wt.resolve(!1):Wt.reject(dn)}}return J.w}))}))}cancelNavigationTransition(P,K,mt){const Wt=new De(P.id,this.urlSerializer.serialize(P.extractedUrl),K,mt);this.events.next(Wt),P.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const P=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),K=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return P.toString()!==K?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();function x(N){return N!==me}let C=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(pt),providedIn:"root"})}}return N})();class F{shouldDetach(z){return!1}store(z,P){}shouldAttach(z){return!1}retrieve(z){return null}shouldReuseRoute(z,P){return z.routeConfig===P.routeConfig}}let pt=(()=>{class N extends F{static{this.\u0275fac=(()=>{let P;return function(mt){return(P||(P=o.xGo(N)))(mt||N)}})()}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})(),It=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(ce),providedIn:"root"})}}return N})(),ce=(()=>{class N extends It{constructor(){super(...arguments),this.location=(0,o.WQX)(ht.aZ),this.urlSerializer=(0,o.WQX)(Mt),this.options=(0,o.WQX)(Ms,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,o.WQX)(Is),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new br,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=zo(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(P){return this.location.subscribe(K=>{"popstate"===K.type&&P(K.url,K.state)})}handleRouterEvent(P,K){if(P instanceof Kt)this.stateMemento=this.createStateMemento();else if(P instanceof or)this.rawUrlTree=K.initialUrl;else if(P instanceof kr){if("eager"===this.urlUpdateStrategy&&!K.extras.skipLocationChange){const mt=this.urlHandlingStrategy.merge(K.finalUrl,K.initialUrl);this.setBrowserUrl(K.targetBrowserUrl??mt,K)}}else P instanceof Uo?(this.currentUrlTree=K.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(K.finalUrl,K.initialUrl),this.routerState=K.targetRouterState,"deferred"===this.urlUpdateStrategy&&!K.extras.skipLocationChange&&this.setBrowserUrl(K.targetBrowserUrl??this.rawUrlTree,K)):P instanceof De&&(P.code===ae.GuardRejected||P.code===ae.NoDataFromResolver)?this.restoreHistory(K):P instanceof Cr?this.restoreHistory(K,!0):P instanceof Ct&&(this.lastSuccessfulId=P.id,this.currentPageId=this.browserPageId)}setBrowserUrl(P,K){const mt=P instanceof br?this.urlSerializer.serialize(P):P;if(this.location.isCurrentPathEqualTo(mt)||K.extras.replaceUrl){const Te={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId)};this.location.replaceState(mt,"",Te)}else{const Wt={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId+1)};this.location.go(mt,"",Wt)}}restoreHistory(P,K=!1){if("computed"===this.canceledNavigationResolution){const Wt=this.currentPageId-this.browserPageId;0!==Wt?this.location.historyGo(Wt):this.currentUrlTree===P.finalUrl&&0===Wt&&(this.resetState(P),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(K&&this.resetState(P),this.resetUrlToCurrentUrlTree())}resetState(P){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,P.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(P,K){return"computed"===this.canceledNavigationResolution?{navigationId:P,\u0275routerPageId:K}:{navigationId:P}}static{this.\u0275fac=(()=>{let P;return function(mt){return(P||(P=o.xGo(N)))(mt||N)}})()}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();var Be=function(N){return N[N.COMPLETE=0]="COMPLETE",N[N.FAILED=1]="FAILED",N[N.REDIRECTING=2]="REDIRECTING",N}(Be||{});function je(N,z){N.events.pipe((0,St.p)(P=>P instanceof Ct||P instanceof De||P instanceof Cr||P instanceof or),(0,tt.T)(P=>P instanceof Ct||P instanceof or?Be.COMPLETE:P instanceof De&&(P.code===ae.Redirect||P.code===ae.SupersededByNewNavigation)?Be.REDIRECTING:Be.FAILED),(0,St.p)(P=>P!==Be.REDIRECTING),(0,Tt.s)(1)).subscribe(()=>{z()})}function Ze(N){throw N}const sr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Rr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ze=(()=>{class N{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,o.WQX)(o.H3F),this.stateManager=(0,o.WQX)(It),this.options=(0,o.WQX)(Ms,{optional:!0})||{},this.pendingTasks=(0,o.WQX)(o.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,o.WQX)(kt),this.urlSerializer=(0,o.WQX)(Mt),this.location=(0,o.WQX)(ht.aZ),this.urlHandlingStrategy=(0,o.WQX)(Is),this._events=new q.B,this.errorHandler=this.options.errorHandler||Ze,this.navigated=!1,this.routeReuseStrategy=(0,o.WQX)(C),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,o.WQX)(Ha,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,o.WQX)(Ja,{optional:!0}),this.eventsSubscription=new ct.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:P=>{this.console.warn(P)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const P=this.navigationTransitions.events.subscribe(K=>{try{const mt=this.navigationTransitions.currentTransition,Wt=this.navigationTransitions.currentNavigation;if(null!==mt&&null!==Wt)if(this.stateManager.handleRouterEvent(K,Wt),K instanceof De&&K.code!==ae.Redirect&&K.code!==ae.SupersededByNewNavigation)this.navigated=!0;else if(K instanceof Ct)this.navigated=!0;else if(K instanceof jn){const Te=K.navigationBehaviorOptions,Sr=this.urlHandlingStrategy.merge(K.url,mt.currentRawUrl),pr={browserUrl:mt.extras.browserUrl,info:mt.extras.info,skipLocationChange:mt.extras.skipLocationChange,replaceUrl:mt.extras.replaceUrl||"eager"===this.urlUpdateStrategy||x(mt.source),...Te};this.scheduleNavigation(Sr,me,null,pr,{resolve:mt.resolve,reject:mt.reject,promise:mt.promise})}(function _r(N){return!(N instanceof Uo||N instanceof jn)})(K)&&this._events.next(K)}catch(mt){this.navigationTransitions.transitionAbortSubject.next(mt)}});this.eventsSubscription.add(P)}resetRootComponentType(P){this.routerState.root.component=P,this.navigationTransitions.rootComponentType=P}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),me,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((P,K)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(P,"popstate",K)},0)})}navigateToSyncWithBrowser(P,K,mt){const Wt={replaceUrl:!0},Te=mt?.navigationId?mt:null;if(mt){const pr={...mt};delete pr.navigationId,delete pr.\u0275routerPageId,0!==Object.keys(pr).length&&(Wt.state=pr)}const Sr=this.parseUrl(P);this.scheduleNavigation(Sr,K,Te,Wt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(P){this.config=P.map(Un),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(P,K={}){const{relativeTo:mt,queryParams:Wt,fragment:Te,queryParamsHandling:Sr,preserveFragment:pr}=K,vo=pr?this.currentUrlTree.fragment:Te;let xn,dn=null;switch(Sr??this.options.defaultQueryParamsHandling){case"merge":dn={...this.currentUrlTree.queryParams,...Wt};break;case"preserve":dn=this.currentUrlTree.queryParams;break;default:dn=Wt||null}null!==dn&&(dn=this.removeEmptyProps(dn));try{xn=Co(mt?mt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof P[0]||"/"!==P[0][0])&&(P=[]),xn=this.currentUrlTree.root}return Vn(xn,P,dn,vo??null)}navigateByUrl(P,K={skipLocationChange:!1}){const mt=ar(P)?P:this.parseUrl(P),Wt=this.urlHandlingStrategy.merge(mt,this.rawUrlTree);return this.scheduleNavigation(Wt,me,null,K)}navigate(P,K={skipLocationChange:!1}){return function nr(N){for(let z=0;z(null!=Wt&&(K[mt]=Wt),K),{})}scheduleNavigation(P,K,mt,Wt,Te){if(this.disposed)return Promise.resolve(!1);let Sr,pr,vo;Te?(Sr=Te.resolve,pr=Te.reject,vo=Te.promise):vo=new Promise((xn,fn)=>{Sr=xn,pr=fn});const dn=this.pendingTasks.add();return je(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(dn))}),this.navigationTransitions.handleNavigationRequest({source:K,restoredState:mt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:P,extras:Wt,resolve:Sr,reject:pr,promise:vo,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),vo.catch(xn=>Promise.reject(xn))}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})(),Zr=(()=>{class N{constructor(P,K,mt,Wt,Te,Sr){this.router=P,this.route=K,this.tabIndexAttribute=mt,this.renderer=Wt,this.el=Te,this.locationStrategy=Sr,this.href=null,this.onChanges=new q.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const pr=Te.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===pr||"area"===pr,this.isAnchorElement?this.subscription=P.events.subscribe(vo=>{vo instanceof Ct&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(P){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",P)}ngOnChanges(P){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(P){null==P?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=ar(P)||Array.isArray(P)?P:[P],this.setTabIndexIfNotOnNativeEl("0"))}onClick(P,K,mt,Wt,Te){const Sr=this.urlTree;return!!(null===Sr||this.isAnchorElement&&(0!==P||K||mt||Wt||Te||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Sr,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const P=this.urlTree;this.href=null!==P&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(P)):null;const K=null===this.href?null:(0,o.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",K)}applyAttributeValue(P,K){const mt=this.renderer,Wt=this.el.nativeElement;null!==K?mt.setAttribute(Wt,P,K):mt.removeAttribute(Wt,P)}get urlTree(){return null===this.routerLinkInput?null:ar(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(K){return new(K||N)(o.rXU(ze),o.rXU(On),o.kS0("tabindex"),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(ht.hb))}}static{this.\u0275dir=o.FsC({type:N,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(K,mt){1&K&&o.bIt("click",function(Te){return mt.onClick(Te.button,Te.ctrlKey,Te.shiftKey,Te.altKey,Te.metaKey)}),2&K&&o.BMQ("target",mt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",o.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",o.L39],replaceUrl:[2,"replaceUrl","replaceUrl",o.L39],routerLink:"routerLink"},standalone:!0,features:[o.GFd,o.OA$]})}}return N})(),Ir=(()=>{class N{get isActive(){return this._isActive}constructor(P,K,mt,Wt,Te){this.router=P,this.element=K,this.renderer=mt,this.cdr=Wt,this.link=Te,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new o.bkB,this.routerEventsSubscription=P.events.subscribe(Sr=>{Sr instanceof Ct&&this.update()})}ngAfterContentInit(){(0,y.of)(this.links.changes,(0,y.of)(null)).pipe((0,Xt.U)()).subscribe(P=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const P=[...this.links.toArray(),this.link].filter(K=>!!K).map(K=>K.onChanges);this.linkInputChangesSubscription=(0,c.H)(P).pipe((0,Xt.U)()).subscribe(K=>{this._isActive!==this.isLinkActive(this.router)(K)&&this.update()})}set routerLinkActive(P){const K=Array.isArray(P)?P:P.split(" ");this.classes=K.filter(mt=>!!mt)}ngOnChanges(P){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const P=this.hasActiveLinks();this.classes.forEach(K=>{P?this.renderer.addClass(this.element.nativeElement,K):this.renderer.removeClass(this.element.nativeElement,K)}),P&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==P&&(this._isActive=P,this.cdr.markForCheck(),this.isActiveChange.emit(P))})}isLinkActive(P){const K=function Gr(N){return!!N.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return mt=>{const Wt=mt.urlTree;return!!Wt&&P.isActive(Wt,K)}}hasActiveLinks(){const P=this.isLinkActive(this.router);return this.link&&P(this.link)||this.links.some(P)}static{this.\u0275fac=function(K){return new(K||N)(o.rXU(ze),o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(o.gRc),o.rXU(Zr,8))}}static{this.\u0275dir=o.FsC({type:N,selectors:[["","routerLinkActive",""]],contentQueries:function(K,mt,Wt){if(1&K&&o.wni(Wt,Zr,5),2&K){let Te;o.mGM(Te=o.lsd())&&(mt.links=Te)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[o.OA$]})}}return N})();class Jr{}let So=(()=>{class N{constructor(P,K,mt,Wt,Te){this.router=P,this.injector=mt,this.preloadingStrategy=Wt,this.loader=Te}setUpPreloading(){this.subscription=this.router.events.pipe((0,St.p)(P=>P instanceof Ct),(0,ie.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(P,K){const mt=[];for(const Wt of K){Wt.providers&&!Wt._injector&&(Wt._injector=(0,o.Ol2)(Wt.providers,P,`Route: ${Wt.path}`));const Te=Wt._injector??P,Sr=Wt._loadedInjector??Te;(Wt.loadChildren&&!Wt._loadedRoutes&&void 0===Wt.canLoad||Wt.loadComponent&&!Wt._loadedComponent)&&mt.push(this.preloadConfig(Te,Wt)),(Wt.children||Wt._loadedRoutes)&&mt.push(this.processRoutes(Sr,Wt.children??Wt._loadedRoutes))}return(0,c.H)(mt).pipe((0,Xt.U)())}preloadConfig(P,K){return this.preloadingStrategy.preload(K,()=>{let mt;mt=K.loadChildren&&void 0===K.canLoad?this.loader.loadChildren(P,K):(0,y.of)(null);const Wt=mt.pipe((0,_t.Z)(Te=>null===Te?(0,y.of)(void 0):(K._loadedRoutes=Te.routes,K._loadedInjector=Te.injector,this.processRoutes(Te.injector??P,Te.routes))));if(K.loadComponent&&!K._loadedComponent){const Te=this.loader.loadComponent(K);return(0,c.H)([Wt,Te]).pipe((0,Xt.U)())}return Wt})}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(ze),o.KVO(o.Ql9),o.KVO(o.uvJ),o.KVO(Jr),o.KVO(hs))}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const Oo=new o.nKC("");let Yr=(()=>{class N{constructor(P,K,mt,Wt,Te={}){this.urlSerializer=P,this.transitions=K,this.viewportScroller=mt,this.zone=Wt,this.options=Te,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Te.scrollPositionRestoration||="disabled",Te.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(P=>{P instanceof Kt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=P.navigationTrigger,this.restoredId=P.restoredState?P.restoredState.navigationId:0):P instanceof Ct?(this.lastId=P.id,this.scheduleScrollEvent(P,this.urlSerializer.parse(P.urlAfterRedirects).fragment)):P instanceof or&&P.code===Re.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(P,this.urlSerializer.parse(P.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(P=>{P instanceof zn&&(P.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(P.position):P.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(P.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(P,K){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new zn(P,"popstate"===this.lastSource?this.store[this.restoredId]:null,K))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(K){o.QTQ()}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac})}}return N})();function tn(N,...z){return(0,o.EmA)([{provide:Ha,multi:!0,useValue:N},[],{provide:On,useFactory:Xo,deps:[ze]},{provide:o.iLQ,multi:!0,useFactory:Gi},z.map(P=>P.\u0275providers)])}function Xo(N){return N.routerState.root}function Cn(N,z){return{\u0275kind:N,\u0275providers:z}}function ii(N={}){return Cn(4,[{provide:Oo,useFactory:()=>{const P=(0,o.WQX)(ht.Xr),K=(0,o.WQX)(o.SKi),mt=(0,o.WQX)(kt),Wt=(0,o.WQX)(Mt);return new Yr(Wt,mt,P,K,N)}}])}function Gi(){const N=(0,o.WQX)(o.zZn);return z=>{const P=N.get(o.o8S);if(z!==P.components[0])return;const K=N.get(ze),mt=N.get(Mo);1===N.get(lo)&&K.initialNavigation(),N.get(Ii,null,o.$GK.Optional)?.setUpPreloading(),N.get(Oo,null,o.$GK.Optional)?.init(),K.resetRootComponentType(P.componentTypes[0]),mt.closed||(mt.next(),mt.complete(),mt.unsubscribe())}}const Mo=new o.nKC("",{factory:()=>new q.B}),lo=new o.nKC("",{providedIn:"root",factory:()=>1}),Ii=new o.nKC("");function oa(N){return Cn(0,[{provide:Ii,useExisting:So},{provide:Jr,useExisting:N}])}function Lo(N){return Cn(9,[{provide:fs,useValue:dc},{provide:hn,useValue:{skipNextTransition:!!N?.skipInitialTransition,...N}}])}const Oi=new o.nKC("ROUTER_FORROOT_GUARD"),Wa=[ht.aZ,{provide:Mt,useClass:ve},ze,bi,{provide:On,useFactory:Xo,deps:[ze]},hs,[]];let la=(()=>{class N{constructor(P){}static forRoot(P,K){return{ngModule:N,providers:[Wa,[],{provide:Ha,multi:!0,useValue:P},{provide:Oi,useFactory:ws,deps:[[ze,new o.Xx1,new o.kdw]]},{provide:Ms,useValue:K||{}},K?.useHash?{provide:ht.hb,useClass:ht.fw}:{provide:ht.hb,useClass:ht.Sm},{provide:Oo,useFactory:()=>{const N=(0,o.WQX)(ht.Xr),z=(0,o.WQX)(o.SKi),P=(0,o.WQX)(Ms),K=(0,o.WQX)(kt),mt=(0,o.WQX)(Mt);return P.scrollOffset&&N.setOffset(P.scrollOffset),new Yr(mt,K,N,z,P)}},K?.preloadingStrategy?oa(K.preloadingStrategy).\u0275providers:[],K?.initialNavigation?El(K):[],K?.bindToComponentInputs?Cn(8,[Hn,{provide:Ja,useExisting:Hn}]).\u0275providers:[],K?.enableViewTransitions?Lo().\u0275providers:[],[{provide:Uc,useFactory:Gi},{provide:o.iLQ,multi:!0,useExisting:Uc}]]}}static forChild(P){return{ngModule:N,providers:[{provide:Ha,multi:!0,useValue:P}]}}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(Oi,8))}}static{this.\u0275mod=o.$C({type:N})}static{this.\u0275inj=o.G2t({})}}return N})();function ws(N){return"guarded"}function El(N){return["disabled"===N.initialNavigation?Cn(3,[{provide:o.hnV,multi:!0,useFactory:()=>{const z=(0,o.WQX)(ze);return()=>{z.setUpLocationChangeListener()}}},{provide:lo,useValue:2}]).\u0275providers:[],"enabledBlocking"===N.initialNavigation?Cn(2,[{provide:lo,useValue:0},{provide:o.hnV,multi:!0,deps:[o.zZn],useFactory:z=>{const P=z.get(ht.hj,Promise.resolve());return()=>P.then(()=>new Promise(K=>{const mt=z.get(ze),Wt=z.get(Mo);je(mt,()=>{K(!0)}),z.get(kt).afterPreactivation=()=>(K(!0),Wt.closed?(0,y.of)(void 0):Wt),mt.initialNavigation()}))}}]).\u0275providers:[]]}const Uc=new o.nKC("")},6616:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ts:()=>init,ql:()=>launch});var _home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(467),_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_awaitAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6218),_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_wrapAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(600),BUILD={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},__defProp$1=Object.defineProperty,__export$1=(i,a)=>{for(var r in a)__defProp$1(i,r,{get:a[r],enumerable:!0})},hostRefs=new WeakMap,getHostRef=i=>hostRefs.get(i),registerHost=(i,a)=>hostRefs.set(i,{$flags$:0,$hostElement$:i,$cmpMeta$:a,$instanceValues$:new Map}),isMemberInElement=(i,a)=>a in i,consoleError=(i,a)=>(0,console.error)(i,a),styles=new Map,modeResolutionChain=[],SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}",XLINK_NS="http://www.w3.org/1999/xlink",win=typeof window<"u"?window:{},doc=win.document||{head:{}},H=win.HTMLElement||class{},plt={$flags$:0,$resourcesUrl$:"",jmp:i=>i(),raf:i=>requestAnimationFrame(i),ael:(i,a,r,o)=>i.addEventListener(a,r,o),rel:(i,a,r,o)=>i.removeEventListener(a,r,o),ce:(i,a)=>new CustomEvent(i,a)},supportsListenerOptions=(()=>{let i=!1;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get(){i=!0}}))}catch{}return i})(),promiseResolve=i=>Promise.resolve(i),supportsConstructableStylesheets=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),queuePending=!1,queueDomReads=[],queueDomWrites=[],queueTask=(i,a)=>r=>{i.push(r),queuePending||(queuePending=!0,a&&4&plt.$flags$?nextTick(flush):plt.raf(flush))},consume=i=>{for(let a=0;a{consume(queueDomReads),consume(queueDomWrites),(queuePending=queueDomReads.length>0)&&plt.raf(flush)},nextTick=i=>promiseResolve().then(i),writeTask=queueTask(queueDomWrites,!0),EMPTY_OBJ={},SVG_NS="http://www.w3.org/2000/svg",HTML_NS="http://www.w3.org/1999/xhtml",isDef=i=>null!=i,isComplexType=i=>"object"==(i=typeof i)||"function"===i;function queryNonceMetaTagContent(i){var a,r,o;return null!=(o=null==(r=null==(a=i.head)?void 0:a.querySelector('meta[name="csp-nonce"]'))?void 0:r.getAttribute("content"))?o:void 0}var result_exports={};__export$1(result_exports,{err:()=>err,map:()=>map,ok:()=>ok,unwrap:()=>unwrap$1,unwrapErr:()=>unwrapErr});var ok=i=>({isOk:!0,isErr:!1,value:i}),err=i=>({isOk:!1,isErr:!0,value:i});function map(i,a){if(i.isOk){const r=a(i.value);return r instanceof Promise?r.then(o=>ok(o)):ok(r)}if(i.isErr)return err(i.value);throw"should never get here"}var unwrap$1=i=>{if(i.isOk)return i.value;throw i.value},unwrapErr=i=>{if(i.isErr)return i.value;throw i.value},createTime=(i,a="")=>()=>{},h=(i,a,...r)=>{let o=null,s=null,c=null,y=!1,k=!1;const S=[],I=M=>{for(let R=0;RM[R]).join(" "))}}if("function"==typeof i)return i(null===a?{}:a,S,vdomFnUtils);const T=newVNode(i,null);return T.$attrs$=a,S.length>0&&(T.$children$=S),T.$key$=s,T.$name$=c,T},newVNode=(i,a)=>({$flags$:0,$tag$:i,$text$:a,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Host={},isHost=i=>i&&i.$tag$===Host,vdomFnUtils={forEach:(i,a)=>i.map(convertToPublic).forEach(a),map:(i,a)=>i.map(convertToPublic).map(a).map(convertToPrivate)},convertToPublic=i=>({vattrs:i.$attrs$,vchildren:i.$children$,vkey:i.$key$,vname:i.$name$,vtag:i.$tag$,vtext:i.$text$}),convertToPrivate=i=>{if("function"==typeof i.vtag){const r={...i.vattrs};return i.vkey&&(r.key=i.vkey),i.vname&&(r.name=i.vname),h(i.vtag,r,...i.vchildren||[])}const a=newVNode(i.vtag,i.vtext);return a.$attrs$=i.vattrs,a.$children$=i.vchildren,a.$key$=i.vkey,a.$name$=i.vname,a},computeMode=i=>modeResolutionChain.map(a=>a(i)).find(a=>!!a),parsePropertyValue=(i,a)=>null==i||isComplexType(i)?i:4&a?"false"!==i&&(""===i||!!i):2&a?parseFloat(i):1&a?String(i):i,getElement=i=>i,createEvent=(i,a,r)=>{const o=getElement(i);return{emit:s=>emitEvent(o,a,{bubbles:!!(4&r),composed:!!(2&r),cancelable:!!(1&r),detail:s})}},emitEvent=(i,a,r)=>{const o=plt.ce(a,r);return i.dispatchEvent(o),o},rootAppliedStyles=new WeakMap,registerStyle=(i,a,r)=>{let o=styles.get(i);supportsConstructableStylesheets&&r?(o=o||new CSSStyleSheet,"string"==typeof o?o=a:o.replaceSync(a)):o=a,styles.set(i,o)},addStyle=(i,a,r)=>{var o;const s=getScopeId(a,r),c=styles.get(s);if(i=11===i.nodeType?i:doc,c)if("string"==typeof c){let y,k=rootAppliedStyles.get(i=i.head||i);if(k||rootAppliedStyles.set(i,k=new Set),!k.has(s)){{y=doc.createElement("style"),y.innerHTML=c;const S=null!=(o=plt.$nonce$)?o:queryNonceMetaTagContent(doc);null!=S&&y.setAttribute("nonce",S),(!(1&a.$flags$)||1&a.$flags$&&"HEAD"!==i.nodeName)&&i.insertBefore(y,i.querySelector("link"))}4&a.$flags$&&(y.innerHTML+=SLOT_FB_CSS),k&&k.add(s)}}else i.adoptedStyleSheets.includes(c)||(i.adoptedStyleSheets=[...i.adoptedStyleSheets,c]);return s},attachStyles=i=>{const a=i.$cmpMeta$,r=i.$hostElement$,o=a.$flags$,s=createTime("attachStyles",a.$tagName$),c=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),a,i.$modeName$);10&o&&2&o&&(r["s-sc"]=c,r.classList.add(c+"-h"),2&o&&r.classList.add(c+"-s")),s()},getScopeId=(i,a)=>"sc-"+(a&&32&i.$flags$?i.$tagName$+"-"+a:i.$tagName$),setAccessor=(i,a,r,o,s,c)=>{if(r!==o){let y=isMemberInElement(i,a),k=a.toLowerCase();if("class"===a){const S=i.classList,I=parseClassList(r),T=parseClassList(o);S.remove(...I.filter(M=>M&&!T.includes(M))),S.add(...T.filter(M=>M&&!I.includes(M)))}else if("style"===a){for(const S in r)o&&null!=o[S]||(S.includes("-")?i.style.removeProperty(S):i.style[S]="");for(const S in o)r&&o[S]===r[S]||(S.includes("-")?i.style.setProperty(S,o[S]):i.style[S]=o[S])}else if("key"!==a)if("ref"===a)o&&o(i);else if(i.__lookupSetter__(a)||"o"!==a[0]||"n"!==a[1]){const S=isComplexType(o);if((y||S&&null!==o)&&!s)try{if(i.tagName.includes("-"))i[a]=o;else{const T=o??"";"list"===a?y=!1:null!=r&&i[a]==T||(i[a]=T)}}catch{}let I=!1;k!==(k=k.replace(/^xlink\:?/,""))&&(a=k,I=!0),null==o||!1===o?!1===o&&""!==i.getAttribute(a)||(I?i.removeAttributeNS(XLINK_NS,a):i.removeAttribute(a)):(!y||4&c||s)&&!S&&(o=!0===o?"":o,I?i.setAttributeNS(XLINK_NS,a,o):i.setAttribute(a,o))}else if(a="-"===a[2]?a.slice(3):isMemberInElement(win,k)?k.slice(2):k[2]+a.slice(3),r||o){const S=a.endsWith(CAPTURE_EVENT_SUFFIX);a=a.replace(CAPTURE_EVENT_REGEX,""),r&&plt.rel(i,a,r,S),o&&plt.ael(i,a,o,S)}}},parseClassListRegex=/\s/,parseClassList=i=>i?i.split(parseClassListRegex):[],CAPTURE_EVENT_SUFFIX="Capture",CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$"),updateElement=(i,a,r)=>{const o=11===a.$elm$.nodeType&&a.$elm$.host?a.$elm$.host:a.$elm$,s=i&&i.$attrs$||EMPTY_OBJ,c=a.$attrs$||EMPTY_OBJ;for(const y of sortedAttrNames(Object.keys(s)))y in c||setAccessor(o,y,s[y],void 0,r,a.$flags$);for(const y of sortedAttrNames(Object.keys(c)))setAccessor(o,y,s[y],c[y],r,a.$flags$)},scopeId,contentRef,hostTagName;function sortedAttrNames(i){return i.includes("ref")?[...i.filter(a=>"ref"!==a),"ref"]:i}var useNativeShadowDom=!1,checkSlotFallbackVisibility=!1,checkSlotRelocate=!1,isSvgMode=!1,createElm=(i,a,r,o)=>{var s;const c=a.$children$[r];let y,k,S,I=0;if(useNativeShadowDom||(checkSlotRelocate=!0,"slot"===c.$tag$&&(scopeId&&o.classList.add(scopeId+"-s"),c.$flags$|=c.$children$?2:1)),null!==c.$text$)y=c.$elm$=doc.createTextNode(c.$text$);else if(1&c.$flags$)y=c.$elm$=doc.createTextNode("");else{if(isSvgMode||(isSvgMode="svg"===c.$tag$),y=c.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&2&c.$flags$?"slot-fb":c.$tag$),isSvgMode&&"foreignObject"===c.$tag$&&(isSvgMode=!1),updateElement(null,c,isSvgMode),y.getRootNode().querySelector("body")&&BUILD.scoped&&isDef(scopeId)&&y["s-si"]!==scopeId&&y.classList.add(y["s-si"]=scopeId),updateElementScopeIds(y,o),c.$children$)for(I=0;I{plt.$flags$|=1;const r=Array.from(i.childNodes);if(i["s-sr"]&&BUILD.experimentalSlotFixes){let o=i;for(;o=o.nextSibling;)o&&o["s-sn"]===i["s-sn"]&&o["s-sh"]===hostTagName&&r.push(o)}for(let o=r.length-1;o>=0;o--){const s=r[o];s["s-hn"]!==hostTagName&&s["s-ol"]&&(insertBefore(parentReferenceNode(s),s,referenceNode(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,checkSlotRelocate=!0),a&&putBackInOriginalLocation(s,a)}plt.$flags$&=-2},addVnodes=(i,a,r,o,s,c)=>{let y,k=i["s-cr"]&&i["s-cr"].parentNode||i;for(k.shadowRoot&&k.tagName===hostTagName&&(k=k.shadowRoot);s<=c;++s)o[s]&&(y=createElm(null,r,s,i),y&&(o[s].$elm$=y,insertBefore(k,y,referenceNode(a))))},removeVnodes=(i,a,r)=>{for(let o=a;o<=r;++o){const s=i[o];if(s){const c=s.$elm$;nullifyVNodeRefs(s),c&&(checkSlotFallbackVisibility=!0,c["s-ol"]?c["s-ol"].remove():putBackInOriginalLocation(c,!0),c.remove())}}},updateChildren=(i,a,r,o,s=!1)=>{let c,y,k=0,S=0,I=0,T=0,M=a.length-1,R=a[0],L=a[M],J=o.length-1,W=o[0],q=o[J];for(;k<=M&&S<=J;)if(null==R)R=a[++k];else if(null==L)L=a[--M];else if(null==W)W=o[++S];else if(null==q)q=o[--J];else if(isSameVnode(R,W,s))patch(R,W,s),R=a[++k],W=o[++S];else if(isSameVnode(L,q,s))patch(L,q,s),L=a[--M],q=o[--J];else if(isSameVnode(R,q,s))"slot"!==R.$tag$&&"slot"!==q.$tag$||putBackInOriginalLocation(R.$elm$.parentNode,!1),patch(R,q,s),insertBefore(i,R.$elm$,L.$elm$.nextSibling),R=a[++k],q=o[--J];else if(isSameVnode(L,W,s))"slot"!==R.$tag$&&"slot"!==q.$tag$||putBackInOriginalLocation(L.$elm$.parentNode,!1),patch(L,W,s),insertBefore(i,L.$elm$,R.$elm$),L=a[--M],W=o[++S];else{for(I=-1,T=k;T<=M;++T)if(a[T]&&null!==a[T].$key$&&a[T].$key$===W.$key$){I=T;break}I>=0?(y=a[I],y.$tag$!==W.$tag$?c=createElm(a&&a[S],r,I,i):(patch(y,W,s),a[I]=void 0,c=y.$elm$),W=o[++S]):(c=createElm(a&&a[S],r,S,i),W=o[++S]),c&&insertBefore(parentReferenceNode(R.$elm$),c,referenceNode(R.$elm$))}k>M?addVnodes(i,null==o[J+1]?null:o[J+1].$elm$,r,o,S,J):S>J&&removeVnodes(a,k,M)},isSameVnode=(i,a,r=!1)=>!(i.$tag$!==a.$tag$||("slot"===i.$tag$?"$nodeId$"in i&&r&&8!==i.$elm$.nodeType||i.$name$!==a.$name$:!r&&i.$key$!==a.$key$)),referenceNode=i=>i&&i["s-ol"]||i,parentReferenceNode=i=>(i["s-ol"]?i["s-ol"]:i).parentNode,patch=(i,a,r=!1)=>{const o=a.$elm$=i.$elm$,s=i.$children$,c=a.$children$,y=a.$tag$,k=a.$text$;let S;null===k?(isSvgMode="svg"===y||"foreignObject"!==y&&isSvgMode,("slot"!==y||useNativeShadowDom)&&updateElement(i,a,isSvgMode),null!==s&&null!==c?updateChildren(o,s,a,c,r):null!==c?(null!==i.$text$&&(o.textContent=""),addVnodes(o,null,a,c,0,c.length-1)):!r&&BUILD.updatable&&null!==s&&removeVnodes(s,0,s.length-1),isSvgMode&&"svg"===y&&(isSvgMode=!1)):(S=o["s-cr"])?S.parentNode.textContent=k:i.$text$!==k&&(o.data=k)},updateFallbackSlotVisibility=i=>{const a=i.childNodes;for(const r of a)if(1===r.nodeType){if(r["s-sr"]){const o=r["s-sn"];r.hidden=!1;for(const s of a)if(s!==r)if(s["s-hn"]!==r["s-hn"]||""!==o){if(1===s.nodeType&&(o===s.getAttribute("slot")||o===s["s-sn"])||3===s.nodeType&&o===s["s-sn"]){r.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){r.hidden=!0;break}}updateFallbackSlotVisibility(r)}},relocateNodes=[],markSlotContentForRelocation=i=>{let a,r,o;for(const s of i.childNodes){if(s["s-sr"]&&(a=s["s-cr"])&&a.parentNode){r=a.parentNode.childNodes;const c=s["s-sn"];for(o=r.length-1;o>=0;o--)if(a=r[o],!a["s-cn"]&&!a["s-nr"]&&a["s-hn"]!==s["s-hn"]&&!BUILD.experimentalSlotFixes)if(isNodeLocatedInSlot(a,c)){let y=relocateNodes.find(k=>k.$nodeToRelocate$===a);checkSlotFallbackVisibility=!0,a["s-sn"]=a["s-sn"]||c,y?(y.$nodeToRelocate$["s-sh"]=s["s-hn"],y.$slotRefNode$=s):(a["s-sh"]=s["s-hn"],relocateNodes.push({$slotRefNode$:s,$nodeToRelocate$:a})),a["s-sr"]&&relocateNodes.map(k=>{isNodeLocatedInSlot(k.$nodeToRelocate$,a["s-sn"])&&(y=relocateNodes.find(S=>S.$nodeToRelocate$===a),y&&!k.$slotRefNode$&&(k.$slotRefNode$=y.$slotRefNode$))})}else relocateNodes.some(y=>y.$nodeToRelocate$===a)||relocateNodes.push({$nodeToRelocate$:a})}1===s.nodeType&&markSlotContentForRelocation(s)}},isNodeLocatedInSlot=(i,a)=>1===i.nodeType?null===i.getAttribute("slot")&&""===a||i.getAttribute("slot")===a:i["s-sn"]===a||""===a,nullifyVNodeRefs=i=>{i.$attrs$&&i.$attrs$.ref&&i.$attrs$.ref(null),i.$children$&&i.$children$.map(nullifyVNodeRefs)},insertBefore=(i,a,r)=>{const o=i?.insertBefore(a,r);return updateElementScopeIds(a,i),o},findScopeIds=i=>{const a=[];return i&&a.push(...i["s-scs"]||[],i["s-si"],i["s-sc"],...findScopeIds(i.parentElement)),a},updateElementScopeIds=(i,a,r=!1)=>{var o;if(i&&a&&1===i.nodeType){const s=new Set(findScopeIds(a).filter(Boolean));if(s.size&&(null==(o=i.classList)||o.add(...i["s-scs"]=[...s]),i["s-ol"]||r))for(const c of Array.from(i.childNodes))updateElementScopeIds(c,i,!0)}},renderVdom=(i,a,r=!1)=>{var o,s,c,y,k;const S=i.$hostElement$,I=i.$cmpMeta$,T=i.$vnode$||newVNode(null,null),M=isHost(a)?a:h(null,null,a);if(hostTagName=S.tagName,I.$attrsToReflect$&&(M.$attrs$=M.$attrs$||{},I.$attrsToReflect$.map(([R,L])=>M.$attrs$[L]=S[R])),r&&M.$attrs$)for(const R of Object.keys(M.$attrs$))S.hasAttribute(R)&&!["key","ref","style","class"].includes(R)&&(M.$attrs$[R]=S[R]);if(M.$tag$=null,M.$flags$|=4,i.$vnode$=M,M.$elm$=T.$elm$=S.shadowRoot||S,scopeId=S["s-sc"],useNativeShadowDom=!!(1&I.$flags$),contentRef=S["s-cr"],checkSlotFallbackVisibility=!1,patch(T,M,r),plt.$flags$|=1,checkSlotRelocate){markSlotContentForRelocation(M.$elm$);for(const R of relocateNodes){const L=R.$nodeToRelocate$;if(!L["s-ol"]){const J=doc.createTextNode("");J["s-nr"]=L,insertBefore(L.parentNode,L["s-ol"]=J,L)}}for(const R of relocateNodes){const L=R.$nodeToRelocate$,J=R.$slotRefNode$;if(J){const W=J.parentNode;let q=J.nextSibling;{let ct=null==(o=L["s-ol"])?void 0:o.previousSibling;for(;ct;){let ht=null!=(s=ct["s-nr"])?s:null;if(ht&&ht["s-sn"]===L["s-sn"]&&W===ht.parentNode){for(ht=ht.nextSibling;ht===L||ht?.["s-sr"];)ht=ht?.nextSibling;if(!ht||!ht["s-nr"]){q=ht;break}}ct=ct.previousSibling}}(!q&&W!==L.parentNode||L.nextSibling!==q)&&L!==q&&(!L["s-hn"]&&L["s-ol"]&&(L["s-hn"]=L["s-ol"].parentNode.nodeName),insertBefore(W,L,q),1===L.nodeType&&(L.hidden=null!=(c=L["s-ih"])&&c)),L&&"function"==typeof J["s-rf"]&&J["s-rf"](L)}else 1===L.nodeType&&(r&&(L["s-ih"]=null!=(y=L.hidden)&&y),L.hidden=!0)}}if(checkSlotFallbackVisibility&&updateFallbackSlotVisibility(M.$elm$),plt.$flags$&=-2,relocateNodes.length=0,BUILD.experimentalScopedSlotChanges&&2&I.$flags$)for(const R of M.$elm$.childNodes)R["s-hn"]===hostTagName||R["s-sh"]||(r&&null==R["s-ih"]&&(R["s-ih"]=null!=(k=R.hidden)&&k),R.hidden=!0);contentRef=void 0},attachToAncestor=(i,a)=>{},scheduleUpdate=(i,a)=>(i.$flags$|=16,attachToAncestor(i,i.$ancestorComponent$),writeTask(()=>dispatchHooks(i,a))),dispatchHooks=(i,a)=>{const r=i.$hostElement$,o=createTime("scheduleUpdate",i.$cmpMeta$.$tagName$),s=r;if(!s)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let c;return c=safeCall(s,a?"componentWillLoad":"componentWillUpdate"),c=enqueue(c,()=>safeCall(s,"componentWillRender")),o(),enqueue(c,()=>updateComponent(i,s,a))},enqueue=(i,a)=>isPromisey(i)?i.then(a).catch(r=>{console.error(r),a()}):a(),isPromisey=i=>i instanceof Promise||i&&i.then&&"function"==typeof i.then,updateComponent=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r,o){const s=a.$hostElement$,c=createTime("update",a.$cmpMeta$.$tagName$);o&&attachStyles(a);const y=createTime("render",a.$cmpMeta$.$tagName$);callRender(a,r,s,o),y(),c(),postUpdateComponent(a)});return function(r,o,s){return i.apply(this,arguments)}}(),renderingRef=null,callRender=(i,a,r,o)=>{try{renderingRef=a,a=a.render&&a.render(),i.$flags$&=-17,i.$flags$|=2,(BUILD.hasRenderFn||BUILD.reflect)&&(BUILD.vdomRender||BUILD.reflect)&&(BUILD.hydrateServerSide||renderVdom(i,a,o))}catch(s){consoleError(s,i.$hostElement$)}return renderingRef=null,null},getRenderingRef=()=>renderingRef,postUpdateComponent=i=>{const r=i.$hostElement$,o=createTime("postUpdate",i.$cmpMeta$.$tagName$),s=r;safeCall(s,"componentDidRender"),64&i.$flags$?(safeCall(s,"componentDidUpdate"),o()):(i.$flags$|=64,safeCall(s,"componentDidLoad"),o())},forceUpdate=i=>{{const a=getHostRef(i),r=a.$hostElement$.isConnected;return r&&2==(18&a.$flags$)&&scheduleUpdate(a,!1),r}},safeCall=(i,a,r)=>{if(i&&i[a])try{return i[a](r)}catch(o){consoleError(o)}},getValue=(i,a)=>getHostRef(i).$instanceValues$.get(a),setValue=(i,a,r,o)=>{const s=getHostRef(i),c=i,y=s.$instanceValues$.get(a),k=s.$flags$,S=c;r=parsePropertyValue(r,o.$members$[a][0]);const I=Number.isNaN(y)&&Number.isNaN(r);if(r!==y&&!I){if(s.$instanceValues$.set(a,r),o.$watchers$&&128&k){const T=o.$watchers$[a];T&&T.map(M=>{try{S[M](r,y,a)}catch(R){consoleError(R,c)}})}if(2==(18&k)){if(S.componentShouldUpdate&&!1===S.componentShouldUpdate(r,y,a))return;scheduleUpdate(s,!1)}}},proxyComponent=(i,a,r)=>{var o,s;const c=i.prototype;if(a.$members$||a.$watchers$||i.watchers){i.watchers&&!a.$watchers$&&(a.$watchers$=i.watchers);const y=Object.entries(null!=(o=a.$members$)?o:{});y.map(([k,[S]])=>{(31&S||32&S)&&Object.defineProperty(c,k,{get(){return getValue(this,k)},set(I){setValue(this,k,I,a)},configurable:!0,enumerable:!0})});{const k=new Map;c.attributeChangedCallback=function(S,I,T){plt.jmp(()=>{var M;const R=k.get(S);if(this.hasOwnProperty(R))T=this[R],delete this[R];else{if(c.hasOwnProperty(R)&&"number"==typeof this[R]&&this[R]==T)return;if(null==R){const L=getHostRef(this),J=L?.$flags$;if(J&&!(8&J)&&128&J&&T!==I){const W=this,q=null==(M=a.$watchers$)?void 0:M[S];q?.forEach(ct=>{null!=W[ct]&&W[ct].call(W,T,I,S)})}return}}this[R]=(null!==T||"boolean"!=typeof this[R])&&T})},i.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=a.$watchers$)?s:{}),...y.filter(([S,I])=>15&I[0]).map(([S,I])=>{var T;const M=I[1]||S;return k.set(M,S),512&I[0]&&(null==(T=a.$attrsToReflect$)||T.push([S,M])),M})]))}}return i},initializeComponent=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r,o,s){let c;if(!(32&r.$flags$)&&(r.$flags$|=32,c=a.constructor,customElements.whenDefined(a.localName).then(()=>r.$flags$|=128),c&&c.style)){let y;"string"==typeof c.style?y=c.style:"string"!=typeof c.style&&(r.$modeName$=computeMode(a),r.$modeName$&&(y=c.style[r.$modeName$]));const k=getScopeId(o,r.$modeName$);if(!styles.has(k)){const S=createTime("registerStyles",o.$tagName$);registerStyle(k,y,!!(1&o.$flags$)),S()}}scheduleUpdate(r,!0)});return function(r,o,s,c){return i.apply(this,arguments)}}(),fireConnectedCallback=i=>{},connectedCallback=i=>{if(!(1&plt.$flags$)){const a=getHostRef(i),r=a.$cmpMeta$,o=createTime("connectedCallback",r.$tagName$);1&a.$flags$?(addHostEventListeners(i,a,r.$listeners$),a?.$lazyInstance$?fireConnectedCallback(a.$lazyInstance$):a?.$onReadyPromise$&&a.$onReadyPromise$.then(()=>fireConnectedCallback(a.$lazyInstance$))):(a.$flags$|=1,12&r.$flags$&&setContentReference(i),r.$members$&&Object.entries(r.$members$).map(([s,[c]])=>{if(31&c&&i.hasOwnProperty(s)){const y=i[s];delete i[s],i[s]=y}}),initializeComponent(i,a,r)),o()}},setContentReference=i=>{const a=i["s-cr"]=doc.createComment("");a["s-cn"]=!0,insertBefore(i,a,i.firstChild)},disconnectedCallback=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){if(!(1&plt.$flags$)){const r=getHostRef(a);r.$rmListeners$&&(r.$rmListeners$.map(o=>o()),r.$rmListeners$=void 0)}});return function(r){return i.apply(this,arguments)}}(),proxyCustomElement=(i,a)=>{const r={$flags$:a[0],$tagName$:a[1]};r.$members$=a[2],r.$listeners$=a[3],r.$watchers$=i.$watchers$,r.$attrsToReflect$=[];const o=i.prototype.connectedCallback,s=i.prototype.disconnectedCallback;return Object.assign(i.prototype,{__registerHost(){registerHost(this,r)},connectedCallback(){const c=getHostRef(this);addHostEventListeners(this,c,r.$listeners$),connectedCallback(this),o&&o.call(this)},disconnectedCallback(){disconnectedCallback(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${r.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.attachShadow({mode:"open",delegatesFocus:!!(16&r.$flags$)})}}),i.is=r.$tagName$,proxyComponent(i,r)},Fragment=(i,a)=>a,addHostEventListeners=(i,a,r,o)=>{r&&r.map(([s,c,y])=>{const k=getHostListenerTarget(i,s),S=hostListenerProxy(a,y),I=hostListenerOpts(s);plt.ael(k,c,S,I),(a.$rmListeners$=a.$rmListeners$||[]).push(()=>plt.rel(k,c,S,I))})},hostListenerProxy=(i,a)=>r=>{try{BUILD.lazyLoad||i.$hostElement$[a](r)}catch(o){consoleError(o)}},getHostListenerTarget=(i,a)=>4&a?doc:8&a?win:16&a?doc.body:i,hostListenerOpts=i=>supportsListenerOptions?{passive:!!(1&i),capture:!!(2&i)}:!!(2&i),CURRENT_MODULE,METHOD_MODULE,i;i=CURRENT_MODULE||(CURRENT_MODULE={}),i.WELCOME="welcome",i.WELCOME_LOGIN="welcome-login",i.WELCOME_SIGNUP="welcome-signup",i.INFO="info",i.LOGIN_BUNKER_URL="login-bunker-url",i.LOGIN_READ_ONLY="login-read-only",i.CONFIRM_LOGOUT="confirm-logout",i.IMPORT_FLOW="import",i.LOGIN="login",i.SIGNUP="signup",i.LOCAL_SIGNUP="local-signup",i.EXTENSION="extension",i.LOADING="loading",i.PREVIOUSLY_LOGGED="switch-account",i.LOGIN_OTP="otp",i.CONNECT="connect",i.CONNECTION_STRING="connection-string",function(i){i.LOGIN="login",i.SIGNUP="signup",i.LOGOUT="logout",i.CONFIRM="confirm"}(METHOD_MODULE||(METHOD_MODULE={}));const appendToMap=(i,a,r)=>{const o=i.get(a);o?o.includes(r)||o.push(r):i.set(a,[r])},debounce=(i,a)=>{let r;return(...o)=>{r&&clearTimeout(r),r=setTimeout(()=>{r=0,i(...o)},a)}},isConnected=i=>!("isConnected"in i)||i.isConnected,cleanupElements=debounce(i=>{for(let a of i.keys())i.set(a,i.get(a).filter(isConnected))},2e3),stencilSubscription=()=>{if("function"!=typeof getRenderingRef)return{};const i=new Map;return{dispose:()=>i.clear(),get:a=>{const r=getRenderingRef();r&&appendToMap(i,a,r)},set:a=>{const r=i.get(a);r&&i.set(a,r.filter(forceUpdate)),cleanupElements(i)},reset:()=>{i.forEach(a=>a.forEach(forceUpdate)),cleanupElements(i)}}},unwrap=i=>"function"==typeof i?i():i,createObservableMap=(i,a=(r,o)=>r!==o)=>{const r=unwrap(i);let o=new Map(Object.entries(r??{}));const s={dispose:[],get:[],set:[],reset:[]},c=()=>{var T;o=new Map(Object.entries(null!==(T=unwrap(i))&&void 0!==T?T:{})),s.reset.forEach(M=>M())},y=T=>(s.get.forEach(M=>M(T)),o.get(T)),k=(T,M)=>{const R=o.get(T);a(M,R,T)&&(o.set(T,M),s.set.forEach(L=>L(T,M,R)))},S=typeof Proxy>"u"?{}:new Proxy(r,{get:(T,M)=>y(M),ownKeys:T=>Array.from(o.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(T,M)=>o.has(M),set:(T,M,R)=>(k(M,R),!0)}),I=(T,M)=>(s[T].push(M),()=>{removeFromArray(s[T],M)});return{state:S,get:y,set:k,on:I,onChange:(T,M)=>{const R=I("set",(J,W)=>{J===T&&M(W)}),L=I("reset",()=>M(unwrap(i)[T]));return()=>{R(),L()}},use:(...T)=>{const M=T.reduce((R,L)=>(L.set&&R.push(I("set",L.set)),L.get&&R.push(I("get",L.get)),L.reset&&R.push(I("reset",L.reset)),L.dispose&&R.push(I("dispose",L.dispose)),R),[]);return()=>M.forEach(R=>R())},dispose:()=>{s.dispose.forEach(T=>T()),c()},reset:c,forceUpdate:T=>{const M=o.get(T);s.set.forEach(R=>R(T,M,M))}}},removeFromArray=(i,a)=>{const r=i.indexOf(a);r>=0&&(i[r]=i[i.length-1],i.length--)},createStore=(i,a)=>{const r=createObservableMap(i,a);return r.use(stencilSubscription()),r},{state,onChange}=createStore({screen:CURRENT_MODULE.WELCOME,prevScreen:CURRENT_MODULE.WELCOME,path:[CURRENT_MODULE.WELCOME],error:"",isLoading:!1,isLoadingExtension:!1,isOTP:!1,authUrl:"",localSignup:!1,nlSignin:{loginName:""},nlSignup:{signupName:"",domain:"",servers:[{name:"@nsec.app",value:"nsec.app"},{name:"@highlighter.com",value:"highlighter.com"}]},nlSigninBunkerUrl:{loginName:""},nlSigninReadOnly:{loginName:""},nlSigninOTP:{loginName:"",code:""},nlImport:{nostrConnect:"",relay:""}});onChange("screen",()=>{state.error="",state.nlSignin.loginName="",state.nlSignup.signupName="",state.nlSignup.domain=""});const buttonBaseCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}.right-0{right:0}.right-2{right:8px}.top-2{top:8px}.top-52{top:208px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.ml-0{margin-left:0}.ml-\\[2px\\]{margin-left:2px}.mr-0{margin-right:0}.mr-2{margin-right:8px}.mr-3\\.5{margin-right:14px}.mt-2{margin-top:8px}.h-0{height:0}.h-8{height:32px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.w-0{width:0}.w-16{width:64px}.w-44{width:176px}.w-52{width:208px}.w-6{width:24px}.w-8{width:32px}.w-\\[48px\\]{width:48px}.min-w-40{min-width:160px}.max-w-40{max-width:160px}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.gap-x-2{column-gap:8px}.text-nowrap{text-wrap:nowrap}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border-\\[0px\\]{border-width:0}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity))}.bg-white,.bg-yellow-100{--tw-bg-opacity:1}.p-3{padding:12px}.px-2{padding-left:8px;padding-right:8px}.py-2\\.5{padding-bottom:10px;padding-top:10px}.pl-\\[11px\\]{padding-left:11px}.text-xs{font-size:12px;line-height:16px}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.opacity-0{opacity:0}.transition-all{transition-duration:.15s;transition-property:all}.ease-in-out,.transition-all{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:right-2:hover{right:8px}.hover\\:rounded-r-lg:hover{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.border-t-\\[1px\\]{border-top-width:1px}.first\\:border-none:first-child{border-style:none}.first\\:pt-0:first-child{padding-top:0}",ButtonBaseStyle0=buttonBaseCss,ButtonBase=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.theme="default",this.darkMode=!1,this.titleBtn="Open modal",this.disabled=!1}componentDidRender(){const i=this.element.querySelector("svg");i&&(i.classList.add("flex-shrink-0","w-4","h-4","block"),i.removeAttribute("style"))}render(){return h("div",{key:"fd503ba6a6e4523b510f85fa8eb35d64af6616f3",class:`theme-${this.theme}`},h("button",{key:"2341cc507577b37f0309eda12b3516e2abb468a2",disabled:this.disabled,type:"button",class:"nl-button py-2.5 px-3 w-full inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg disabled:opacity-50 disabled:pointer-events-none dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600"},h("slot",{key:"7bdd086b67b7662ab913e93ddab8fdb05b4e2805",name:"icon-start"}),this.titleBtn))}get element(){return this}static get style(){return ButtonBaseStyle0}},[4,"button-base",{theme:[1025],darkMode:[1028,"dark-mode"],titleBtn:[1,"title-btn"],disabled:[4]}]);function defineCustomElement$n(){typeof customElements>"u"||["button-base"].forEach(i=>{"button-base"===i&&(customElements.get(i)||customElements.define(i,ButtonBase))})}defineCustomElement$n();const nlConfirmLogoutCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlConfirmLogoutStyle0=nlConfirmLogoutCss,NlConfirmLogout=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.handleLogoutBanner=createEvent(this,"handleLogoutBanner",7),this.handleBackUpModal=createEvent(this,"handleBackUpModal",7),this.nlCloseModal=createEvent(this,"nlCloseModal",7),this.titleModal="Delete keys?",this.description="Your profile keys are stored in this browser tab and will be deleted if you log out, and your profile will be inaccessible."}handleLogout(){this.handleLogoutBanner.emit(METHOD_MODULE.LOGOUT),this.nlCloseModal.emit()}handleCancel(){this.nlCloseModal.emit()}handleBackUp(){state.path=[CURRENT_MODULE.IMPORT_FLOW]}render(){return h("div",{key:"cc17a91048cddc093676cec3f7f1f41a4e3bc765",class:"p-4 overflow-y-auto"},h("h1",{key:"1120e3b34cbd42110b76c3774f0a2dcba43c1711",class:"nl-title font-bold text-center text-4xl"},this.titleModal),h("p",{key:"09a3b077d82c7d32fa4da4987198c81316155c2d",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description),h("div",{key:"9c5ed8fc1ac5220e93d72e02a3ec8bffd127b27f",class:"mt-3 ml-auto mr-auto w-60 flex flex-col gap-2"},h("button-base",{key:"1f9c9b8b0c994ccb92706105a92e59136bdcdb2f",onClick:()=>this.handleBackUp(),titleBtn:"Backup keys",theme:"lemonade"}),h("button-base",{key:"bbb5ed3483b1b46ac2016acfdd082b8eb3403565",onClick:()=>this.handleLogout(),theme:"crab",titleBtn:"Logout and delete keys"})))}static get style(){return NlConfirmLogoutStyle0}},[0,"nl-confirm-logout",{titleModal:[1,"title-modal"],description:[1]}]);function defineCustomElement$m(){typeof customElements>"u"||["nl-confirm-logout","button-base"].forEach(i=>{switch(i){case"nl-confirm-logout":customElements.get(i)||customElements.define(i,NlConfirmLogout);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$m();const nlConnectCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlConnectStyle0=nlConnectCss,NlConnect=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlNostrConnect=createEvent(this,"nlNostrConnect",7),this.titleWelcome="Connect to key store",this.authMethods=[],this.hasOTP=!1,this.connectionStringServices=[],this.isOpenAdvancedLogin=!1}handleChangeScreen(i){state.path=[...state.path,i]}handleOpenAdvanced(){this.isOpenAdvancedLogin=!this.isOpenAdvancedLogin}allowAuthMethod(i){return!this.authMethods.length||this.authMethods.includes(i)}componentWillLoad(){}handleOpenLink(i){this.nlNostrConnect.emit(i)}render(){const i=(this.isOpenAdvancedLogin?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-blue-500";return h(Fragment,{key:"1734363a22bf47aea8b41fc54696482dedd91e1c"},h("div",{key:"0b6b579442514815b57da027e849820a95a73cea",class:"p-4 overflow-y-auto"},h("h1",{key:"dad1e22099a1fde4ece1fae2617e7c73cc42aac5",class:"nl-title font-bold text-center text-3xl"},this.titleWelcome)),h("div",{key:"ffdf8ff49e45a68cc545ddcd88977309b3b43a30",class:"p-4"},!!this.connectionStringServices.length&&h("div",{key:"f520127eb53001b3439d39e12cabf387321f9f41",class:"max-w-96 mx-auto pt-5"},h("p",{key:"f2defd241991995ef1ae21f54e9aa60decb9fbfe",class:"nl-description font-medium text-sm pb-1.5"},"Select key store:"),h("ul",{key:"eb13569f5bf6e6a396f77e288907d164877661c7",class:"p-2 rounded-lg border border-gray-200 flex flex-col w-full gap-0.5"},this.connectionStringServices.map(a=>h("li",null,h("a",{href:a.link,target:"_blank",onClick:()=>this.handleOpenLink(a.relay),class:"flex items-center gap-x-3.5 w-full hover:bg-gray-300 flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm justify-between"},h("div",{class:"w-full max-w-7 h-7 flex relative"},h("div",{class:"uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center"},a.img?h("img",{class:"w-full rounded-full",src:a.img,alt:a.name}):h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#9ca3af",class:"w-4 h-4 block"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"})))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"nl-title truncate overflow-hidden"},a.name)))))))),h("div",{key:"e5d8b631dc6f226de089094f5b1a618387e53b13",class:"max-w-52 mx-auto pb-5"},(this.allowAuthMethod("connect")||this.allowAuthMethod("readOnly"))&&h("div",{key:"9f180499d91ce85e3220b1c01a7100dc43436250",class:"flex justify-center"},h("div",{key:"1e7150301d9b9f6fb2c617833728bdfb1bdc7ff6",onClick:()=>this.handleOpenAdvanced(),class:"text-blue-500 mt-3 decoration-dashed cursor-pointer inline-flex gap-2 items-center pb-1 border-dashed border-b-[1px] border-blue-500 text-sm font-light"},"Advanced",h("svg",{key:"25d75cf514b5aa565882da8810732274ef268e84",class:i,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"82ff6cc210c408bc936b1d99156cf24e44b3bb47",d:"m6 9 6 6 6-6"})))),h("div",{key:"a9e4973c918e98f9858283d7910d7583958eeee6",class:(this.isOpenAdvancedLogin?"max-h-[500px] mt-3 duration-300":"max-h-0 mt-0 duration-[0.25s]")+" transition-max-height ease-in flex gap-3 flex-col overflow-hidden"},this.allowAuthMethod("connect")&&h("button-base",{key:"b0bc64c50c4961aa782cefa9a4f861a038f9179a",titleBtn:"User name",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN)},h("svg",{key:"e3d75127673c52bb03ccad55d2c6542afd496710",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},h("path",{key:"826f8a8d89353d29c81a69325bb1b2fd08fe587d","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))),this.allowAuthMethod("connect")&&h("button-base",{key:"aed22d0c3261fe329dce8b85cd538064122c8ff4",titleBtn:"Connection string",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.CONNECTION_STRING)},h("svg",{key:"3152d79247973a849dfa94350acc27cc9a818ce1",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"054b5a956d77e8913c3055a3fea4931910734ae1","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 3.75 9.375v-4.5ZM3.75 14.625c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5a1.125 1.125 0 0 1-1.125-1.125v-4.5ZM13.5 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 13.5 9.375v-4.5Z"}),h("path",{key:"c10dbf07fd8499263a3e1460c92749e4c5217d1b","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 6.75h.75v.75h-.75v-.75ZM6.75 16.5h.75v.75h-.75v-.75ZM16.5 6.75h.75v.75h-.75v-.75ZM13.5 13.5h.75v.75h-.75v-.75ZM13.5 19.5h.75v.75h-.75v-.75ZM19.5 13.5h.75v.75h-.75v-.75ZM19.5 19.5h.75v.75h-.75v-.75ZM16.5 16.5h.75v.75h-.75v-.75Z"}))),this.allowAuthMethod("connect")&&h("button-base",{key:"348375d8ac51c14d66fa25a77665b6b7a5a93d9a",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN_BUNKER_URL),titleBtn:"Bunker URL"},h("svg",{key:"4d62028c6dbafa67aa952299cabc7a620ea20275",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"da623db3500829ff12727c36a0ee6c4f4867a139","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))))))}static get style(){return NlConnectStyle0}},[0,"nl-connect",{titleWelcome:[1,"title-welcome"],authMethods:[16],hasOTP:[4,"has-o-t-p"],connectionStringServices:[16],isOpenAdvancedLogin:[32]}]);function defineCustomElement$l(){typeof customElements>"u"||["nl-connect","button-base"].forEach(i=>{switch(i){case"nl-connect":customElements.get(i)||customElements.define(i,NlConnect);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$l();const nlSelectCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSelectStyle0=nlSelectCss,NlSelect=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.selectDomain=createEvent(this,"selectDomain",7),this.isOpen=!1,this.value=null,this.options=void 0,this.selected=void 0,this.mode=!1,this.darkMode=!1,this.themeState="default",this.theme="default"}handleWindowClick(){this.wrapperRef.querySelector(".listClass")&&(this.isOpen=!1)}toggleDropdown(){this.isOpen=!this.isOpen,this.calculateDropdownPosition()}watchPropHandler(i){this.themeState=i}watchModeHandler(i){this.mode=i}connectedCallback(){this.themeState=this.theme,this.mode=this.darkMode,this.value=this.options[this.selected],this.selectDomain.emit(this.value.value)}calculateDropdownPosition(){if(this.isOpen&&this.buttonRef){const i=this.buttonRef.getBoundingClientRect();this.ulRef.style.top=`${i.height}px`}}handleChange(i){this.value=i,this.isOpen=!1,this.selectDomain.emit(this.value.value)}render(){const i=(this.isOpen?"listClass":"hidden")+" min-w-[15rem] nl-select-list absolute left-0 shadow-md rounded-lg p-2 mt-1 after:h-4 after:absolute after:-bottom-4 after:start-0 after:w-full before:h-4 before:absolute before:-top-4 before:start-0 before:w-full",a=(this.isOpen?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-gray-500";return h("div",{key:"c5fb00e7a9dc2acbe6b8a0b3c7d6f0aaaa945ded",class:`theme-${this.themeState}`},h("div",{key:"75a6cc368af855bcf0baeb697aac5c77b26537dc",class:"relative",ref:r=>this.wrapperRef=r},h("button",{key:"e79b850f351172fec8a523a88424882b4bc1c9e0",ref:r=>this.buttonRef=r,onClick:()=>this.toggleDropdown(),type:"button",class:"nl-select peer py-3 px-4 flex items-center w-full justify-between border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent"},h("span",{key:"7224e21928ed0a6075d0f8809973877b8626258e",class:"truncate overflow-hidden"},this.value.name),h("svg",{key:"abcea29a8c905c9eea64162f5a2bfa79c08d3b0b",class:a,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"d0667eba7a0cf9ccb7bb043e5856ec41a97a8fcc",d:"m6 9 6 6 6-6"}))),h("ul",{key:"bfd9ebf3c17fa62d84f29204d901650fabe14c03",ref:r=>this.ulRef=r,class:i},this.options.map(r=>h("li",{onClick:()=>this.handleChange(r),class:"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm"},r.name)))))}get element(){return this}static get watchers(){return{theme:["watchPropHandler"],darkMode:["watchModeHandler"]}}static get style(){return NlSelectStyle0}},[0,"nl-select",{options:[16],selected:[2],darkMode:[4,"dark-mode"],theme:[1],isOpen:[32],value:[32],mode:[32],themeState:[32]},[[8,"click","handleWindowClick"]],{theme:["watchPropHandler"],darkMode:["watchModeHandler"]}]);function defineCustomElement$k(){typeof customElements>"u"||["nl-select"].forEach(i=>{"nl-select"===i&&(customElements.get(i)||customElements.define(i,NlSelect))})}defineCustomElement$k();const nlImportFlowCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlImportFlowStyle0=nlImportFlowCss,NlImportFlow=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlImportAccount=createEvent(this,"nlImportAccount",7),this.nlExportKeys=createEvent(this,"nlExportKeys",7),this.titleInfo="Back up your keys",this.titleImport="Choose a service",this.textImport="Your Nostr keys will be imported into this provider, and you will manage your keys on their website.",this.services=[],this.isAvailable=!1,this.isContinued=!1,this.isKeyBackup=!1,this.isCopy=!1}handleDomainSelect(i){const a=this.services.find(r=>r.domain===i.detail);state.nlImport.relay=a.relay,state.nlImport.nostrConnect=a.link}handleCreateAccount(i){i.preventDefault(),window.open(state.nlImport.nostrConnect,"_blank"),this.nlImportAccount.emit(state.nlImport.relay)}handleContinue(){this.isContinued=!0}handleContinueKeyBackup(){this.isKeyBackup=!0}copyToClipboard(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){i.nlExportKeys.emit(),i.isCopy=!0,setTimeout(()=>{i.isCopy=!1},1500)})()}render(){if(!this.isContinued&&!this.isKeyBackup)return h("div",{class:"p-4 overflow-y-auto"},h("h1",{class:"nl-title font-bold text-center text-2xl"},this.titleInfo),h("p",{class:"nl-description font-light text-sm pt-2 pb-2 max-w-96 mx-auto"},"Nostr profiles are controlled by cryptographic keys.",h("br",null),h("br",null),"Your keys are currently only stored in this browser tab, and may be lost if you close it.",h("br",null),h("br",null),"You should backup your keys.",h("br",null),h("br",null),"We recommend to import your keys into a key store service, to protect them and to use with other apps."),h("div",{class:"ml-auto mr-auto w-72"},h("button-base",{onClick:()=>this.handleContinue(),titleBtn:"Import to key store"})),h("div",{class:"ml-auto mr-auto mb-2 w-72"},h("button-base",{onClick:()=>this.handleContinueKeyBackup(),titleBtn:"Export keys"})));if(this.isKeyBackup)return h("div",{class:"p-4 overflow-y-auto"},h("h1",{class:"nl-title font-bold text-center text-2xl"},"Key export"),h("p",{class:"nl-description font-light text-sm pt-2 pb-2 max-w-96 mx-auto"},"Copy your keys and store them in a safe place, like a password manager.",h("br",null),h("br",null),"You can sign into other Nostr apps by pasting your keys into them.",h("br",null),h("br",null),"Your keys are like your password, never share them with anyone."),h("div",{class:"max-w-72 mx-auto"},h("div",{class:"ml-auto mr-auto mb-2 w-72"},h("button-base",{onClick:()=>this.copyToClipboard(),titleBtn:this.isCopy?"Copied!":"Copy to clipboard"}))));const i=this.services.map(a=>({name:a.domain,value:a.domain}));return h(Fragment,null,h("div",{class:"p-4 overflow-y-auto"},h("h1",{class:"nl-title font-bold text-center text-2xl"},this.titleImport),h("p",{class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},"Your Nostr keys will be imported into the service you choose. You will manage your keys on their website.")),h("div",{class:"max-w-72 mx-auto mb-5"},h("div",{class:"mb-0.5"},h("nl-select",{onSelectDomain:a=>this.handleDomainSelect(a),selected:0,options:i})),h("p",{class:"nl-title font-light text-sm mb-2"},"Default provider is a fine choice to start with."),h("div",{class:"ps-4 pe-4 overflow-y-auto"},h("p",{class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{disabled:state.isLoading,onClick:a=>this.handleCreateAccount(a),titleBtn:"Start importing"},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{slot:"icon-start",style:{display:"none"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get style(){return NlImportFlowStyle0}},[0,"nl-import-flow",{titleInfo:[1025,"title-info"],titleImport:[1,"title-import"],textImport:[1,"text-import"],services:[16],isAvailable:[32],isContinued:[32],isKeyBackup:[32],isCopy:[32]}]);function defineCustomElement$j(){typeof customElements>"u"||["nl-import-flow","button-base","nl-select"].forEach(i=>{switch(i){case"nl-import-flow":customElements.get(i)||customElements.define(i,NlImportFlow);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-select":customElements.get(i)||defineCustomElement$k()}})}defineCustomElement$j();const nlInfoCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlInfoStyle0=nlInfoCss,NlInfo=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost()}render(){return h("div",{key:"369813cd9991a71e8578b3afd09228850a956cc5",class:"p-4 overflow-y-auto"},h("svg",{key:"463d3d38cbaea31e5316b563491f6f6e3162f4ce",class:"w-12 h-12 mx-auto mb-2",width:"225",height:"224",viewBox:"0 0 225 224",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("rect",{key:"5d77b33d54a376edffc6a4edf8ccabf8890bf5e4",width:"224.047",height:"224",rx:"64",fill:"#6951FA"}),h("path",{key:"7c8f8dd801f357378e9518879af15368f7652793",d:"M162.441 135.941V88.0593C170.359 85.1674 176 77.5348 176 68.6696C176 57.2919 166.708 48 155.33 48C143.953 48 134.661 57.2444 134.661 68.6696C134.661 77.5822 140.302 85.1674 148.219 88.0593V135.941C147.698 136.13 147.176 136.367 146.655 136.604L87.3956 77.3452C88.6282 74.6904 89.2919 71.7511 89.2919 68.6696C89.2919 57.2444 80.0474 48 68.6696 48C57.2919 48 48 57.2444 48 68.6696C48 77.5822 53.6415 85.1674 61.5585 88.0593V135.941C53.6415 138.833 48 146.465 48 155.33C48 166.708 57.2444 176 68.6696 176C80.0948 176 89.3393 166.708 89.3393 155.33C89.3393 146.418 83.6978 138.833 75.7807 135.941V88.0593C76.3022 87.8696 76.8237 87.6326 77.3452 87.3956L136.604 146.655C135.372 149.31 134.708 152.249 134.708 155.33C134.708 166.708 143.953 176 155.378 176C166.803 176 176.047 166.708 176.047 155.33C176.047 146.418 170.406 138.833 162.489 135.941H162.441Z",fill:"white"})),h("h1",{key:"964eeb119baa8053a11a7a9ebf860297e94d213c",class:"nl-title font-bold text-center text-4xl"},"Nostr ",h("span",{key:"6197de00428856facf31bdeae0fdc6adc2472b59",class:"font-light"},"Login")))}static get style(){return NlInfoStyle0}},[0,"nl-info"]);function defineCustomElement$i(){typeof customElements>"u"||["nl-info"].forEach(i=>{"nl-info"===i&&(customElements.get(i)||customElements.define(i,NlInfo))})}defineCustomElement$i();const nlInfoExtensionCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlInfoExtensionStyle0=nlInfoExtensionCss,NlInfoExtension=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost()}render(){return h("div",{key:"c4fede7840388bd72cd9adc25e94ff4521797caf",class:"p-4 overflow-y-auto"},state.isLoadingExtension?h("div",null,h("h1",{class:"nl-title font-bold text-center text-4xl"},"Signing in..."),h("div",{class:"mt-10 mb-10 ml-auto mr-auto w-20"},h("span",{slot:"icon-start",class:"animate-spin-loading ml-auto mr-auto inline-block w-20 h-20 border-[4px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"})),h("div",{class:"ps-4 pe-4 overflow-y-auto"},h("p",{class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error))):h("div",null,h("h1",{class:"nl-title font-bold text-center text-4xl"},"Install browser extension!"),h("p",{class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},"Try"," ",h("a",{href:"https://chromewebstore.google.com/detail/blockcore-wallet/peigonhbenoefaeplkpalmafieegnapj",target:"_blank"},"Blockcore"),","," ",h("a",{href:"https://getalby.com",target:"_blank"},"Alby"),","," ",h("a",{href:"https://chromewebstore.google.com/detail/nos2x/kpgefcfmnafjgpblomihpgmejjdanjjp",target:"_blank"},"nos2x")," ","or"," ",h("a",{href:"https://apps.apple.com/us/app/nostore/id1666553677",target:"_blank"},"Nostore"))))}static get style(){return NlInfoExtensionStyle0}},[0,"nl-info-extension"]);function defineCustomElement$h(){typeof customElements>"u"||["nl-info-extension"].forEach(i=>{"nl-info-extension"===i&&(customElements.get(i)||customElements.define(i,NlInfoExtension))})}defineCustomElement$h();const nlLoadingCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlLoadingStyle0=nlLoadingCss,NlLoading=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.stopFetchHandler=createEvent(this,"stopFetchHandler",7),this.handleContinue=createEvent(this,"handleContinue",7),this.path=void 0}handleStop(i){i.preventDefault(),this.stopFetchHandler.emit()}handleContinueClick(i){i.preventDefault(),this.handleContinue.emit()}render(){let i="Connecting...",a="Establishing connection to your key storage.";this.path===CURRENT_MODULE.LOCAL_SIGNUP?(i="Creating...",a="Publishing your profile on Nostr."):state.authUrl&&(state.isLoading?(i="Confirming...",a="Please confirm the connection in your key storage app."):(i="Almost ready!",a="Continue to confirm the connection to your key storage."));const r=this.path!==CURRENT_MODULE.LOCAL_SIGNUP;return h("div",{key:"630b1ac3e32165dd32595466aa5476457aaa89d9",class:"p-4 overflow-y-auto"},h("h1",{key:"d9913644604598614d281d85d93f4f331f1a9261",class:"nl-title font-bold text-center text-4xl"},i),h("p",{key:"822f15bfc3a61f822d803c7e7f3b5101bab42eaa",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},a),!state.authUrl&&state.isLoading&&h("div",{key:"3989eac9b421e2452c96460fd86098cf01e3c07f",class:"mt-10 mb-10 ml-auto mr-auto w-20"},h("span",{key:"748523db8207aef49f449a0c25070f15097517fb",slot:"icon-start",class:"animate-spin-loading ml-auto mr-auto inline-block w-20 h-20 border-[4px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"})),h("div",{key:"5c4716cac822e50abefdd524ca77cb854bead2fe",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"1c7a0df8bc547416f24f53c0243a1e6fe944e067",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),r&&h("div",{key:"b64c30fff6e6c29db92ec77d574b4908a097dce4",class:"mt-3 ml-auto mr-auto w-72"},h("button-base",{key:"7d51196c3a61860292e95332cc36ea7b90075157",onClick:o=>{state.authUrl&&!state.isLoading?this.handleContinueClick(o):this.handleStop(o)},titleBtn:state.isLoading?"Cancel":"Continue"})))}static get style(){return NlLoadingStyle0}},[0,"nl-loading",{path:[1]}]);function defineCustomElement$g(){typeof customElements>"u"||["nl-loading","button-base"].forEach(i=>{switch(i){case"nl-loading":customElements.get(i)||customElements.define(i,NlLoading);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$g();const nlLocalSignupCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlLocalSignupStyle0=nlLocalSignupCss,NlLocalSignup=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLocalSignup=createEvent(this,"nlLocalSignup",7),this.fetchHandler=createEvent(this,"fetchHandler",7),this.titleSignup="Create Nostr profile",this.description="Choose any username, you can always change it later.",this.isAvailable=!1}handleInputChange(i){state.nlSignup.signupName=i.target.value}handleCreateAccount(i){i.preventDefault(),this.nlLocalSignup.emit(`${state.nlSignup.signupName}`)}render(){return h(Fragment,{key:"f707cc6eaa61b36b52daf2f61360fab0f37fcc3e"},h("div",{key:"7cc640ec75dc80a0f84c3d5db3bcdffe2bb46c45",class:"p-4 overflow-y-auto"},h("h1",{key:"c4ef87db38b1aef19258950b4b4703f992ede847",class:"nl-title font-bold text-center text-2xl"},this.titleSignup),h("p",{key:"45ecaf37bf71fcb965f333b1c788dce26806413a",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"1cea94ff9de943dfea8f1b8cc39c30af82aa66a9",class:"max-w-72 mx-auto"},h("div",{key:"202d4e7c5def553c36a735003a1a23903ee4735b",class:"relative mb-2"},h("input",{key:"41502ef89f2433915b37caace4c7cdd7fb86b7b1",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"Enter username",value:state.nlSignup.signupName}),h("div",{key:"efc7d9fbd45da136b002d42a9403b34d9e654f50",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"8ff89d5922b3091c4b212a89932e41bd8db7ec09",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isAvailable?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"e6aeac8d4b82fc3b08995825eb0eb481a3a8bdd1","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})))),h("div",{key:"a3fef381cdbd14c931e7f6940627a4af51063d8a",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"869dc7e661e5840b4d2ce3091b0112596cc4629b",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"da8429619571547e8a1c1a21418c4d6452f86571",disabled:state.isLoading,onClick:i=>this.handleCreateAccount(i),titleBtn:"Create profile"},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{slot:"icon-start",style:{display:"none"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get style(){return NlLocalSignupStyle0}},[0,"nl-local-signup",{titleSignup:[1,"title-signup"],description:[1],isAvailable:[32]}]);function defineCustomElement$f(){typeof customElements>"u"||["nl-local-signup","button-base"].forEach(i=>{switch(i){case"nl-local-signup":customElements.get(i)||customElements.define(i,NlLocalSignup);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$f();const NlLoginStatus=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.info=void 0}render(){let i="",a="";if("extension"===this.info.authMethod)i="Extension",a="border-yellow-300 text-yellow-500 bg-yellow-100";else if("readOnly"===this.info.authMethod)i="Read only",a="border-gray-300 text-gray-400 bg-gray-100";else if("connect"===this.info.authMethod)i="Connect",a="border-teal-300 text-teal-600 bg-teal-100";else if("local"===this.info.authMethod)i="Temporary",a="border-red-300 text-red-600 bg-red-100";else{if("otp"!==this.info.authMethod)throw console.log("unknown auth method",this.info),new Error("Unknown auth method");i="Delegated",a="border-orange-300 text-orange-600 bg-orange-100"}return h("div",{key:"deff079607a599f28ab3feb535ed129434d54c7f"},h("span",{key:"a46ce6b03027226914d5d6bd46b74c9ae5213339",class:`${a} rounded-xl border w-auto text-[10px] px-1 `},i))}},[0,"nl-login-status",{info:[16]}]);function defineCustomElement$e(){typeof customElements>"u"||["nl-login-status"].forEach(i=>{"nl-login-status"===i&&(customElements.get(i)||customElements.define(i,NlLoginStatus))})}defineCustomElement$e();const nlPreviouslyLoggedCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.active{animation:blink .7s infinite alternate}@keyframes blink{0%{opacity:1}to{opacity:0}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlPreviouslyLoggedStyle0=nlPreviouslyLoggedCss,NlPreviouslyLogged=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlSwitchAccount=createEvent(this,"nlSwitchAccount",7),this.nlLoginRecentAccount=createEvent(this,"nlLoginRecentAccount",7),this.nlRemoveRecent=createEvent(this,"nlRemoveRecent",7),this.titlePage="Your profiles",this.description="Switch between active profiles or choose a recent one for fast login.",this.accounts=[],this.recents=[]}handleGoToWelcome(){state.path=[CURRENT_MODULE.WELCOME]}switchToWelcomeIfEmpty(){this.recents.length||this.accounts.length||(state.path=[CURRENT_MODULE.WELCOME])}watchAccounts(){this.switchToWelcomeIfEmpty()}watchRecents(){this.switchToWelcomeIfEmpty()}handleRemoveRecent(i){this.nlRemoveRecent.emit(i)}handleSwitch(i){this.nlSwitchAccount.emit(i)}handleLoginRecentAccount(i){this.nlLoginRecentAccount.emit(i)}render(){return h(Fragment,{key:"efe95984bfeb92cc0fe4b8ac29f209af81c2de78"},h("div",{key:"26ef58fd8df4b6908bcb9771b4a5b1c75e9ad097",class:"p-4 pt-0 overflow-y-auto"},h("h1",{key:"a8dd74eb5ba5c521b06e93b70c2104bc9179efd6",class:"nl-title font-bold text-center text-4xl"},this.titlePage),h("p",{key:"651425e336bf01d0902e836efee083118c98bdbf",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"c65adbe0a74df16268ff7f8c7911d4e9ab637619",class:"p-4"},!!this.accounts.length&&h("div",{key:"0a3f9419b4d19eca86144406691a9b2ed8584440",class:"max-w-96 mx-auto"},h("p",{key:"ee339f628c757c3218d3f4728097136f1879b28b",class:"nl-description font-medium text-sm pb-1.5"},"Active profiles"),h("ul",{key:"d6090b1380be40705af3b725255f7da826ae9b7a",class:"p-2 rounded-lg border border-blue-200 flex flex-col w-full gap-0.5"},this.accounts.map(i=>{const a=!!i?.picture,r=i.name||i.nip05||i.pubkey,o=!!r;return h("li",{onClick:()=>this.handleSwitch(i),class:"group hover:bg-gray-400 flex cursor-pointer gap-x-3.5 py-2 px-3 rounded-lg text-sm items-center justify-between"},h("div",{class:"flex items-center gap-x-3.5 w-full"},h("div",{class:"w-full max-w-7 h-7 flex relative"},h("div",{class:"absolute top-[-2px] right-[-2px] bg-white border-2 border-white rounded-xl"},h("div",{class:"active h-1.5 w-1.5 bg-green-500 rounded-xl"})),h("div",{class:"group-hover:border-blue-400 uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center"},a?h("img",{class:"w-full rounded-full",src:i.picture,alt:"Logo"}):o?r[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"nl-title truncate overflow-hidden"},r),h("nl-login-status",{info:i}))))}))),!!this.recents.length&&h("div",{key:"f2e8514d062979f626de9f71e06e01990c33624e",class:"max-w-96 mx-auto pt-5"},h("p",{key:"e52d1f0d5be0eb4a8a42004df6a7192d7b458838",class:"nl-description font-medium text-sm pb-1.5"},"Recent profiles"),h("ul",{key:"b508e9b26d52ab25b3c18c12cf20e94929a0d34f",class:"p-2 rounded-lg border border-gray-200 flex flex-col w-full gap-0.5"},this.recents.map(i=>{const a=!!i?.picture,r=i.name||i.nip05||i.pubkey,o=!!r;return h("li",{onClick:()=>this.handleLoginRecentAccount(i),class:"flex items-center gap-x-3.5 w-full hover:bg-gray-400 flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm justify-between"},h("div",{class:"w-full max-w-7 h-7 flex relative"},h("div",{class:"absolute top-[-3px] right-[-3px] bg-white border border-white rounded-xl"},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-3 h-3"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))),h("div",{class:"uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center"},a?h("img",{class:"w-full rounded-full",src:i.picture,alt:"Logo"}):o?r[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"nl-title truncate overflow-hidden"},r),h("nl-login-status",{info:i})),h("svg",{onClick:s=>{s.stopPropagation(),this.handleRemoveRecent(i)},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full max-w-6 h-6 text-red-500 hover:text-red-600 ml-auto"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"})))})))),h("div",{key:"71ef71b8cc45811c45d04f2460855d90c932d42c",class:"p-4 overflow-y-auto"},h("p",{key:"40b0f783bf7d9946fbe3e0b915bd01cd7e42a468",class:"nl-footer font-light text-center text-sm max-w-96 mx-auto"},"You can also"," ",h("span",{key:"2689126b8e8d9e7ff01cfc35e682bf698856f363",onClick:()=>this.handleGoToWelcome(),class:"cursor-pointer pb-3 text-blue-500"},"add another profile"))))}static get watchers(){return{accounts:["watchAccounts"],recents:["watchRecents"]}}static get style(){return NlPreviouslyLoggedStyle0}},[0,"nl-previously-logged",{titlePage:[1,"title-page"],description:[1],accounts:[16],recents:[16]},void 0,{accounts:["watchAccounts"],recents:["watchRecents"]}]);function defineCustomElement$d(){typeof customElements>"u"||["nl-previously-logged","nl-login-status"].forEach(i=>{switch(i){case"nl-previously-logged":customElements.get(i)||customElements.define(i,NlPreviouslyLogged);break;case"nl-login-status":customElements.get(i)||defineCustomElement$e()}})}defineCustomElement$d();const nlSigninCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninStyle0=nlSigninCss,NlSignin=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLogin=createEvent(this,"nlLogin",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Connect to key store",this.description="Please enter your user name.",this.isGood=!1}handleInputChange(i){state.nlSignin.loginName=i.target.value,this.nlCheckLogin.emit(i.target.value)}handleLogin(i){i.preventDefault(),this.nlLogin.emit(state.nlSignin.loginName)}render(){return h(Fragment,{key:"db38daf19a106f820747dc29ed9074b3a5be41e1"},h("div",{key:"d08c760b6fda83b5affc616657edd1f160b50741",class:"p-4 overflow-y-auto"},h("h1",{key:"0de9a5982d277facf5b9c0bf663cf37b60e5e35a",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"c0f1cf7037c472358e65e34d9bfd6568522d85e2",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"2221e32fa5487fd2ec05239e4ae16b5393833f9a",class:"max-w-72 mx-auto"},h("div",{key:"7aefa39fe14a818c5188c771451f6f5f50183458",class:"relative mb-2"},h("input",{key:"36113042568bc9b00cd910485eb8adea268c2518",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"name@domain.com",value:state.nlSignin.loginName}),h("div",{key:"9a4dfa1f8c18ea963e26bcd981c81fe697abc546",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"14ed5cc346c25ebeaa49f983527d1e3efadef53c",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"99af82eb37b8812bc49ab15e3d809243db635c75","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})))),h("div",{key:"74f43932e9aab6afb37d9d129b207d9ad1d2ce5a",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"09a2a638a8c47f6debf28a6159d16cff7cc2694e",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"d5735f567247f415e04dca13e1b30ccfa62aea7b",titleBtn:"Connect",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"})))))}static get style(){return NlSigninStyle0}},[0,"nl-signin",{titleLogin:[1,"title-login"],description:[1],isGood:[32]}]);function defineCustomElement$c(){typeof customElements>"u"||["nl-signin","button-base"].forEach(i=>{switch(i){case"nl-signin":customElements.get(i)||customElements.define(i,NlSignin);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$c();const nlSigninBunkerUrlCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninBunkerUrlStyle0=nlSigninBunkerUrlCss,NlSigninBunkerUrl=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLogin=createEvent(this,"nlLogin",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Connect with bunker url",this.description="Please enter a bunker url provided by key store.",this.isGood=!1}handleInputChange(i){state.nlSigninBunkerUrl.loginName=i.target.value,this.nlCheckLogin.emit(i.target.value)}handleLogin(i){i.preventDefault(),this.nlLogin.emit(state.nlSigninBunkerUrl.loginName)}render(){return h(Fragment,{key:"97fc0661bee87364f3ea9f72d4bec657e1b64ddc"},h("div",{key:"0636b0505c49d5e3c3d37bc7b0a66b1acfe38a3e",class:"p-4 overflow-y-auto"},h("h1",{key:"c3c4baf3bfc693a42a62b5a66e7af65c852f177b",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"9ab0b3537ab790a834b6ad57b6dfcfc77337dd3c",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"4fe3349e769a2e1c75040b7306674461a47222b3",class:"max-w-72 mx-auto"},h("div",{key:"1eb4ce411f4ef92da4b437162cb06e9db2709f49",class:"relative mb-2"},h("input",{key:"360eac0e0606901336c14fb7f7e836e0e592defc",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"bunker://...",value:state.nlSigninBunkerUrl.loginName}),h("div",{key:"0cb3e1f39ecb8eafa3c39be65566731c41f79ccb",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"dd764bce7d06f3132312c083b520dc15e0185b89",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"8a6107e9f82bc3bf70fcc81be04bf9191321dd8e","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"})))),h("div",{key:"ed1c621171950bdb3f1b1c4f4b67a73c74e95ec4",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"8b38d4721e6f4ad85ef0e2d9fabba152a7a649eb",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"d9dc061a5b63ae3b8eec4fb40a9c5b5be1489471",titleBtn:"Connect",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"})))))}static get style(){return NlSigninBunkerUrlStyle0}},[0,"nl-signin-bunker-url",{titleLogin:[1,"title-login"],description:[1],isGood:[32]}]);function defineCustomElement$b(){typeof customElements>"u"||["nl-signin-bunker-url","button-base"].forEach(i=>{switch(i){case"nl-signin-bunker-url":customElements.get(i)||customElements.define(i,NlSigninBunkerUrl);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$b();var browser$1={},canPromise$1=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},qrcode={},utils$1$1={};let toSJISFunction;const CODEWORDS_COUNT=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];utils$1$1.getSymbolSize=function(i){if(!i)throw new Error('"version" cannot be null or undefined');if(i<1||i>40)throw new Error('"version" should be in range from 1 to 40');return 4*i+17},utils$1$1.getSymbolTotalCodewords=function(i){return CODEWORDS_COUNT[i]},utils$1$1.getBCHDigit=function(i){let a=0;for(;0!==i;)a++,i>>>=1;return a},utils$1$1.setToSJISFunction=function(i){if("function"!=typeof i)throw new Error('"toSJISFunc" is not a valid function.');toSJISFunction=i},utils$1$1.isKanjiModeEnabled=function(){return void 0!==toSJISFunction},utils$1$1.toSJIS=function(i){return toSJISFunction(i)};var errorCorrectionLevel={},exports;function BitBuffer$1(){this.buffer=[],this.length=0}exports=errorCorrectionLevel,exports.L={bit:1},exports.M={bit:0},exports.Q={bit:3},exports.H={bit:2},exports.isValid=function(i){return i&&void 0!==i.bit&&i.bit>=0&&i.bit<4},exports.from=function(i,a){if(exports.isValid(i))return i;try{return function(r){if("string"!=typeof r)throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return exports.L;case"m":case"medium":return exports.M;case"q":case"quartile":return exports.Q;case"h":case"high":return exports.H;default:throw new Error("Unknown EC Level: "+r)}}(i)}catch{return a}},BitBuffer$1.prototype={get:function(i){const a=Math.floor(i/8);return 1==(this.buffer[a]>>>7-i%8&1)},put:function(i,a){for(let r=0;r>>a-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(i){const a=Math.floor(this.length/8);this.buffer.length<=a&&this.buffer.push(0),i&&(this.buffer[a]|=128>>>this.length%8),this.length++}};var bitBuffer=BitBuffer$1;function BitMatrix$1(i){if(!i||i<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=i,this.data=new Uint8Array(i*i),this.reservedBit=new Uint8Array(i*i)}BitMatrix$1.prototype.set=function(i,a,r,o){const s=i*this.size+a;this.data[s]=r,o&&(this.reservedBit[s]=!0)},BitMatrix$1.prototype.get=function(i,a){return this.data[i*this.size+a]},BitMatrix$1.prototype.xor=function(i,a,r){this.data[i*this.size+a]^=r},BitMatrix$1.prototype.isReserved=function(i,a){return this.reservedBit[i*this.size+a]};var bitMatrix=BitMatrix$1,alignmentPattern={};!function(i){const a=utils$1$1.getSymbolSize;i.getRowColCoords=function(r){if(1===r)return[];const o=Math.floor(r/7)+2,s=a(r),c=145===s?26:2*Math.ceil((s-13)/(2*o-2)),y=[s-7];for(let k=1;k=0&&y<=7},i.from=function(y){return i.isValid(y)?parseInt(y,10):void 0},i.getPenaltyN1=function(y){const k=y.size;let S=0,I=0,T=0,M=null,R=null;for(let L=0;L=5&&(S+=I-5+3),M=W,I=1),W=y.get(J,L),W===R?T++:(T>=5&&(S+=T-5+3),R=W,T=1)}I>=5&&(S+=I-5+3),T>=5&&(S+=T-5+3)}return S},i.getPenaltyN2=function(y){const k=y.size;let S=0;for(let I=0;I=10&&(1488===I||93===I)&&S++,T=T<<1&2047|y.get(R,M),R>=10&&(1488===T||93===T)&&S++}return 40*S},i.getPenaltyN4=function(y){let k=0;const S=y.data.length;for(let I=0;I=0;){const c=s[0];for(let k=0;k0){const s=new Uint8Array(this.degree);return s.set(r,o),s}return r};var reedSolomonEncoder=ReedSolomonEncoder$1,version={},mode={},versionCheck={isValid:function(i){return!isNaN(i)&&i>=1&&i<=40}},regex$1={};const numeric="[0-9]+",alphanumeric="[A-Z $%*+\\-./:]+";let kanji="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";kanji=kanji.replace(/u/g,"\\u");const byte="(?:(?![A-Z0-9 $%*+\\-./:]|"+kanji+")(?:.|[\r\n]))+";regex$1.KANJI=new RegExp(kanji,"g"),regex$1.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),regex$1.BYTE=new RegExp(byte,"g"),regex$1.NUMERIC=new RegExp(numeric,"g"),regex$1.ALPHANUMERIC=new RegExp(alphanumeric,"g");const TEST_KANJI=new RegExp("^"+kanji+"$"),TEST_NUMERIC=new RegExp("^"+numeric+"$"),TEST_ALPHANUMERIC=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");regex$1.testKanji=function(i){return TEST_KANJI.test(i)},regex$1.testNumeric=function(i){return TEST_NUMERIC.test(i)},regex$1.testAlphanumeric=function(i){return TEST_ALPHANUMERIC.test(i)},function(i){const a=versionCheck,r=regex$1;i.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},i.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},i.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},i.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},i.MIXED={bit:-1},i.getCharCountIndicator=function(o,s){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!a.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?o.ccBits[0]:s<27?o.ccBits[1]:o.ccBits[2]},i.getBestModeForData=function(o){return r.testNumeric(o)?i.NUMERIC:r.testAlphanumeric(o)?i.ALPHANUMERIC:r.testKanji(o)?i.KANJI:i.BYTE},i.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},i.isValid=function(o){return o&&o.bit&&o.ccBits},i.from=function(o,s){if(i.isValid(o))return o;try{return function(c){if("string"!=typeof c)throw new Error("Param is not a string");switch(c.toLowerCase()){case"numeric":return i.NUMERIC;case"alphanumeric":return i.ALPHANUMERIC;case"kanji":return i.KANJI;case"byte":return i.BYTE;default:throw new Error("Unknown mode: "+c)}}(o)}catch{return s}}}(mode),function(i){const a=utils$1$1,r=errorCorrectionCode,o=errorCorrectionLevel,s=mode,c=versionCheck,y=a.getBCHDigit(7973);function k(I,T){return s.getCharCountIndicator(I,T)+4}function S(I,T){let M=0;return I.forEach(function(R){const L=k(R.mode,T);M+=L+R.getBitsLength()}),M}i.from=function(I,T){return c.isValid(I)?parseInt(I,10):T},i.getCapacity=function(I,T,M){if(!c.isValid(I))throw new Error("Invalid QR Code version");void 0===M&&(M=s.BYTE);const R=8*(a.getSymbolTotalCodewords(I)-r.getTotalCodewordsCount(I,T));if(M===s.MIXED)return R;const L=R-k(M,I);switch(M){case s.NUMERIC:return Math.floor(L/10*3);case s.ALPHANUMERIC:return Math.floor(L/11*2);case s.KANJI:return Math.floor(L/13);default:return Math.floor(L/8)}},i.getBestVersionForData=function(I,T){let M;const R=o.from(T,o.M);if(Array.isArray(I)){if(I.length>1)return function(L,J){for(let W=1;W<=40;W++)if(S(L,W)<=i.getCapacity(W,J,s.MIXED))return W}(I,R);if(0===I.length)return 1;M=I[0]}else M=I;return function(L,J,W){for(let q=1;q<=40;q++)if(J<=i.getCapacity(q,W,L))return q}(M.mode,M.getLength(),R)},i.getEncodedBits=function(I){if(!c.isValid(I)||I<7)throw new Error("Invalid QR Code version");let T=I<<12;for(;a.getBCHDigit(T)-y>=0;)T^=7973<=0;)o^=G15<0&&(r=this.data.substr(a),o=parseInt(r,10),i.put(o,3*s+1))};var numericData=NumericData;const Mode$3=mode,ALPHA_NUM_CHARS=["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 AlphanumericData(i){this.mode=Mode$3.ALPHANUMERIC,this.data=i}AlphanumericData.getBitsLength=function(i){return 11*Math.floor(i/2)+i%2*6},AlphanumericData.prototype.getLength=function(){return this.data.length},AlphanumericData.prototype.getBitsLength=function(){return AlphanumericData.getBitsLength(this.data.length)},AlphanumericData.prototype.write=function(i){let a;for(a=0;a+2<=this.data.length;a+=2){let r=45*ALPHA_NUM_CHARS.indexOf(this.data[a]);r+=ALPHA_NUM_CHARS.indexOf(this.data[a+1]),i.put(r,11)}this.data.length%2&&i.put(ALPHA_NUM_CHARS.indexOf(this.data[a]),6)};var alphanumericData=AlphanumericData;const Mode$2=mode;function ByteData(i){this.mode=Mode$2.BYTE,this.data="string"==typeof i?(new TextEncoder).encode(i):new Uint8Array(i)}ByteData.getBitsLength=function(i){return 8*i},ByteData.prototype.getLength=function(){return this.data.length},ByteData.prototype.getBitsLength=function(){return ByteData.getBitsLength(this.data.length)},ByteData.prototype.write=function(i){for(let a=0,r=this.data.length;a=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[a]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),i.put(r,13)}};var kanjiData=KanjiData,dijkstra={exports:{}};(function(i){var a={single_source_shortest_paths:function(r,o,s){var c={},y={};y[o]=0;var k,S,I,T,M,R,J=a.PriorityQueue.make();for(J.push(o,0);!J.empty();)for(I in S=(k=J.pop()).value,T=k.cost,M=r[S]||{})M.hasOwnProperty(I)&&(R=T+M[I],(void 0===y[I]||y[I]>R)&&(y[I]=R,J.push(I,R),c[I]=S));if(void 0!==s&&void 0===y[s]){var W=["Could not find a path from ",o," to ",s,"."].join("");throw new Error(W)}return c},extract_shortest_path_from_predecessor_list:function(r,o){for(var s=[],c=o;c;)s.push(c),c=r[c];return s.reverse(),s},find_path:function(r,o,s){var c=a.single_source_shortest_paths(r,o,s);return a.extract_shortest_path_from_predecessor_list(c,s)},PriorityQueue:{make:function(r){var o,s=a.PriorityQueue,c={};for(o in r=r||{},s)s.hasOwnProperty(o)&&(c[o]=s[o]);return c.queue=[],c.sorter=r.sorter||s.default_sorter,c},default_sorter:function(r,o){return r.cost-o.cost},push:function(r,o){this.queue.push({value:r,cost:o}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};i.exports=a})(dijkstra),function(i){const a=mode,r=numericData,o=alphanumericData,s=byteData,c=kanjiData,y=regex$1,k=utils$1$1,S=dijkstra.exports;function I(J){return unescape(encodeURIComponent(J)).length}function T(J,W,q){const ct=[];let ht;for(;null!==(ht=J.exec(q));)ct.push({data:ht[0],index:ht.index,mode:W,length:ht[0].length});return ct}function M(J){const W=T(y.NUMERIC,a.NUMERIC,J),q=T(y.ALPHANUMERIC,a.ALPHANUMERIC,J);let ct,ht;return k.isKanjiModeEnabled()?(ct=T(y.BYTE,a.BYTE,J),ht=T(y.KANJI,a.KANJI,J)):(ct=T(y.BYTE_KANJI,a.BYTE,J),ht=[]),W.concat(q,ct,ht).sort(function(tt,xt){return tt.index-xt.index}).map(function(tt){return{data:tt.data,mode:tt.mode,length:tt.length}})}function R(J,W){switch(W){case a.NUMERIC:return r.getBitsLength(J);case a.ALPHANUMERIC:return o.getBitsLength(J);case a.KANJI:return c.getBitsLength(J);case a.BYTE:return s.getBitsLength(J)}}function L(J,W){let q;const ct=a.getBestModeForData(J);if(q=a.from(W,ct),q!==a.BYTE&&q.bit=0?Tt[Tt.length-1]:null;return St&&St.mode===$t.mode?(Tt[Tt.length-1].data+=$t.data,Tt):(Tt.push($t),Tt)},[]))},i.rawSplit=function(J){return i.fromArray(M(J,k.isKanjiModeEnabled()))}}(segments);const Utils$1=utils$1$1,ECLevel=errorCorrectionLevel,BitBuffer=bitBuffer,BitMatrix=bitMatrix,AlignmentPattern=alignmentPattern,FinderPattern=finderPattern,MaskPattern=maskPattern,ECCode=errorCorrectionCode,ReedSolomonEncoder=reedSolomonEncoder,Version=version,FormatInfo=formatInfo,Mode=mode,Segments=segments;function setupFinderPattern(i,a){const r=i.size,o=FinderPattern.getPositions(a);for(let s=0;s=0&&k<=6&&(0===S||6===S)||S>=0&&S<=6&&(0===k||6===k)||k>=2&&k<=4&&S>=2&&S<=4,!0)}}function setupTimingPattern(i){const a=i.size;for(let r=8;r>k&1),i.set(s,c,y,!0),i.set(c,s,y,!0)}function setupFormatInfo(i,a,r){const o=i.size,s=FormatInfo.getEncodedBits(a,r);let c,y;for(c=0;c<15;c++)y=1==(s>>c&1),i.set(c<6?c:c<8?c+1:o-15+c,8,y,!0),i.set(8,c<8?o-c-1:c<9?15-c-1+1:15-c-1,y,!0);i.set(o-8,8,1,!0)}function setupData(i,a){const r=i.size;let o=-1,s=r-1,c=7,y=0;for(let k=r-1;k>0;k-=2)for(6===k&&k--;;){for(let S=0;S<2;S++)if(!i.isReserved(s,k-S)){let I=!1;y>>c&1)),i.set(s,k-S,I),c--,-1===c&&(y++,c=7)}if(s+=o,s<0||r<=s){s-=o,o=-o;break}}}function createData(i,a,r){const o=new BitBuffer;r.forEach(function(y){o.put(y.mode.bit,4),o.put(y.getLength(),Mode.getCharCountIndicator(y.mode,i)),y.write(o)});const s=8*(Utils$1.getSymbolTotalCodewords(i)-ECCode.getTotalCodewordsCount(i,a));for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);const c=(s-o.getLengthInBits())/8;for(let y=0;y=7&&setupVersionInfo(S,a),setupData(S,y),isNaN(o)&&(o=MaskPattern.getBestMask(S,setupFormatInfo.bind(null,S,r))),MaskPattern.applyMask(o,S),setupFormatInfo(S,r,o),{modules:S,version:a,errorCorrectionLevel:r,maskPattern:o,segments:s}}qrcode.create=function(i,a){if(void 0===i||""===i)throw new Error("No input text");let r,o,s=ECLevel.M;return void 0!==a&&(s=ECLevel.from(a.errorCorrectionLevel,ECLevel.M),r=Version.from(a.version),o=MaskPattern.from(a.maskPattern),a.toSJISFunc&&Utils$1.setToSJISFunction(a.toSJISFunc)),createSymbol(i,r,s,o)};var canvas={},utils$3={};(function(i){function a(r){if("number"==typeof r&&(r=r.toString()),"string"!=typeof r)throw new Error("Color should be defined as hex string");let o=r.slice().replace("#","").split("");if(o.length<3||5===o.length||o.length>8)throw new Error("Invalid hex color: "+r);3!==o.length&&4!==o.length||(o=Array.prototype.concat.apply([],o.map(function(c){return[c,c]}))),6===o.length&&o.push("F","F");const s=parseInt(o.join(""),16);return{r:s>>24&255,g:s>>16&255,b:s>>8&255,a:255&s,hex:"#"+o.slice(0,6).join("")}}i.getOptions=function(r){r||(r={}),r.color||(r.color={});const s=r.width&&r.width>=21?r.width:void 0;return{width:s,scale:s?4:r.scale||4,margin:null==r.margin||r.margin<0?4:r.margin,color:{dark:a(r.color.dark||"#000000ff"),light:a(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},i.getScale=function(r,o){return o.width&&o.width>=r+2*o.margin?o.width/(r+2*o.margin):o.scale},i.getImageWidth=function(r,o){const s=i.getScale(r,o);return Math.floor((r+2*o.margin)*s)},i.qrToImageData=function(r,o,s){const c=o.modules.size,y=o.modules.data,k=i.getScale(c,s),S=Math.floor((c+2*s.margin)*k),I=s.margin*k,T=[s.color.light,s.color.dark];for(let M=0;M=I&&R>=I&&M0&&S>0&&i[k-1]||(o+=c?svgCmd("M",S+r,.5+I+r):svgCmd("m",s,0),s=0,c=!1),S+1':"",S="',T=''+k+S+"\n";return"function"==typeof r&&r(null,T),T};const canPromise=canPromise$1,QRCode=qrcode,CanvasRenderer=canvas,SvgRenderer=svgTag;function renderCanvas(i,a,r,o,s){const c=[].slice.call(arguments,1),y=c.length,k="function"==typeof c[y-1];if(!k&&!canPromise())throw new Error("Callback required as last argument");if(!k){if(y<1)throw new Error("Too few arguments provided");return 1===y?(r=a,a=o=void 0):2!==y||a.getContext||(o=r,r=a,a=void 0),new Promise(function(S,I){try{const T=QRCode.create(r,o);S(i(T,a,o))}catch(T){I(T)}})}if(y<2)throw new Error("Too few arguments provided");2===y?(s=r,r=a,a=o=void 0):3===y&&(a.getContext&&void 0===s?(s=o,o=void 0):(s=o,o=r,r=a,a=void 0));try{const S=QRCode.create(r,o);s(null,i(S,a,o))}catch(S){s(S)}}browser$1.create=QRCode.create,browser$1.toCanvas=renderCanvas.bind(null,CanvasRenderer.render),browser$1.toDataURL=renderCanvas.bind(null,CanvasRenderer.renderToDataURL),browser$1.toString=renderCanvas.bind(null,function(i,a,r){return SvgRenderer.render(i,r)});const nlSigninConnectionStringCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninConnectionStringStyle0=nlSigninConnectionStringCss,NlSigninConnectionString=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlNostrConnectDefault=createEvent(this,"nlNostrConnectDefault",7),this.titleLogin="Connection string",this.description="Scan or copy the connection string with key store app",this.connectionString="",this.isCopy=!1}componentDidLoad(){this.generateQRCode(),this.nlNostrConnectDefault.emit()}generateQRCode(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(i.connectionString&&i.canvasElement)try{yield browser$1.toCanvas(i.canvasElement,i.connectionString)}catch(a){console.error("Error generating QR Code:",a)}})()}copyToClipboard(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{yield navigator.clipboard.writeText(i.connectionString),i.isCopy=!0,setTimeout(()=>{i.isCopy=!1},1500)}catch(a){console.error("Failed to copy connectionString: ",a)}})()}render(){return h(Fragment,{key:"5186c70f33e7b5d8e42d426f41cbab452181fa79"},h("div",{key:"1737f8438920880e369eff393cad6db37fe62975",class:"p-4 overflow-y-auto"},h("h1",{key:"3dab5fc70ba7ae87d7926f208df838e4e8506e1b",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"43a2d0d56b36b4b1577bd6b21eeda9b105359389",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("canvas",{key:"92cd37de695eee50873cb7a76b2196fd6f2885d6",class:"mx-auto mb-2",ref:i=>this.canvasElement=i}),h("div",{key:"668b253bb58f243d223931a0be911e36eee4a119",class:"px-4"},h("div",{key:"7abb7aa8ba86857ccff22cba4d88cf07407b5fe0",class:"max-w-72 mx-auto"},h("div",{key:"e1747e8fddc4ebe00671ed82ab43fe3b29a4a456",class:"relative mb-2"},h("input",{key:"ce0fed3c0b9a29a63bad975082294d616fcb2b79",type:"text",class:"nl-input peer py-3 px-4 pe-11 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"npub or name@domain",value:this.connectionString,disabled:!0}),h("div",{key:"462c8d5454066fe42710cc1a51df4ac6c9dbf8b1",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"cfe2ebdc57ad397d559d935c4c11c6429a7787cc",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"a50d4b5d4a610b535dfb06fb0676d6d8bc681d94","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"6c773dbcda5c18b8d3debfad939678dc6374be76","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))),this.isCopy?h("div",{class:"absolute inset-y-0 end-0 flex items-center p-2 rounded-lg"},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#00cc00",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))):h("div",{class:"absolute inset-y-0 end-0 flex items-center cursor-pointer p-2 rounded-lg",onClick:()=>this.copyToClipboard()},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6"})))),h("div",{key:"e4df52d63e603c2e72228b0bc739688dd3298fa3",class:"mt-10 justify-center items-center flex gap-2"},h("span",{key:"354b7424c4a06110d3ec030ae71348e21f0575a9",slot:"icon-start",class:"animate-spin-loading inline-block w-[20px] h-[20px] border-[2px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}),h("span",{key:"364239250897a241357e2759292538efff0462bd",class:"nl-footer"},"Waiting for connection")))))}static get style(){return NlSigninConnectionStringStyle0}},[0,"nl-signin-connection-string",{titleLogin:[1,"title-login"],description:[1],connectionString:[1,"connection-string"],isCopy:[32]}]);function defineCustomElement$a(){typeof customElements>"u"||["nl-signin-connection-string"].forEach(i=>{"nl-signin-connection-string"===i&&(customElements.get(i)||customElements.define(i,NlSigninConnectionString))})}defineCustomElement$a();const nlSigninOtpCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninOtpStyle0=nlSigninOtpCss,NlSigninOtp=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLoginOTPUser=createEvent(this,"nlLoginOTPUser",7),this.nlLoginOTPCode=createEvent(this,"nlLoginOTPCode",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Log in with DM",this.description="Please enter your user name or npub, and we will send you a direct message with a one-time code.",this.titleLoginOTP="Enter the code",this.descriptionOTP="Please enter the one-time code we sent to you as a direct message on Nostr.",this.isGood=!1}handleInputChange(i){state.isOTP?state.nlSigninOTP.code=i.target.value:(state.nlSigninOTP.loginName=i.target.value,this.nlCheckLogin.emit(state.nlSigninOTP.loginName))}handleLogin(i){i.preventDefault(),state.isOTP?this.nlLoginOTPCode.emit(state.nlSigninOTP.code):this.nlLoginOTPUser.emit(state.nlSigninOTP.loginName)}render(){return h(Fragment,{key:"68fc45b1dd5e0a15bee1f6497a186b6d73900de5"},h("div",{key:"9ee4c1e464ffd21e04dbf7f3765fb8bbebb77881",class:"p-4 overflow-y-auto"},h("h1",{key:"031d20441be16371669d5143f29b7e88d8a56651",class:"nl-title font-bold text-center text-2xl"},state.isOTP?this.titleLoginOTP:this.titleLogin),h("p",{key:"9a1aebb5297ce0d54b929c4049f4fa0a499de3a6",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},state.isOTP?this.descriptionOTP:this.description)),h("div",{key:"cb120ff50bded40b52328fbdb6d1a9ff2a0f60c6",class:"max-w-72 mx-auto"},h("div",{key:"479e7947b92cfb7421b3f8aaa9992e2b0a44f3b9",class:"relative mb-2"},h("input",{key:"642b11b622a3974ce3314c58cc913dad504ab8b8",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:state.isOTP?"code from direct message":"npub or name@domain",value:state.isOTP?state.nlSigninOTP.code:state.nlSigninOTP.loginName}),h("div",{key:"62b9b607b5cad463660df841545762b6b9c4a803",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"69cdd8e64b17fe1aaf23759f6091651baffd8c8a",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"1b19fa169d6f1c893df0c3ae8d6328e0c8b413e6","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"583e207c1197a3d6ee97b68cd35f1fe6fa6e992e","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{key:"b019f36008b7f27a76462f745ffcebc201b40bee",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"14e9d64878284f30f4ca7c3132934cb1befc92c4",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"60f37876cbc7a69e073dacfdfb464b792da8c3ca",titleBtn:"Log in",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading&&h("span",{key:"dc2285fee7ae949e36c7066f8453df25659d44e0",slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}))))}static get style(){return NlSigninOtpStyle0}},[0,"nl-signin-otp",{titleLogin:[1,"title-login"],description:[1],titleLoginOTP:[1,"title-login-o-t-p"],descriptionOTP:[1,"description-o-t-p"],isGood:[32]}]);function defineCustomElement$9(){typeof customElements>"u"||["nl-signin-otp","button-base"].forEach(i=>{switch(i){case"nl-signin-otp":customElements.get(i)||customElements.define(i,NlSigninOtp);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$9();const nlSigninReadOnlyCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninReadOnlyStyle0=nlSigninReadOnlyCss,NlSigninReadOnly=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLoginReadOnly=createEvent(this,"nlLoginReadOnly",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Log in to read only",this.description="Please enter the user name or npub of any Nostr user.",this.isGood=!1}handleInputChange(i){state.nlSigninReadOnly.loginName=i.target.value,this.nlCheckLogin.emit(i.target.value)}handleLogin(i){i.preventDefault(),this.nlLoginReadOnly.emit(state.nlSigninReadOnly.loginName)}render(){return h(Fragment,{key:"427a326a29895539d36b2a4b6a6c263c34cb87a4"},h("div",{key:"24c32f3a0c8ea0c88046013147498a2ac2d8d7a3",class:"p-4 overflow-y-auto"},h("h1",{key:"f3324907637382727d127b700ce72990e2c0b72d",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"0439c0deffe5735650976622cb8bf3ffd7962cd6",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"75881872a795cda5173252c349cb68446be32847",class:"max-w-72 mx-auto"},h("div",{key:"b1716089f573616674f2b9ceb138821ed41d1ae5",class:"relative mb-2"},h("input",{key:"d3ea9fd0489a36916d48e05f342421f9686da1e6",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"npub or name@domain",value:state.nlSigninReadOnly.loginName}),h("div",{key:"4489f769ed6aeaf7d66ea06b416fdf9e08c2862c",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"aed3c5efdc122fa4dfa0b15dccf3bcc7a123c87a",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"5a9165cf26ae7588ebd16f499748b3b3eff8ac1c","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"7dca77f080a4824bdecce0fbc1e98bfff993f7c2","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{key:"ca4c58b0ab64e54a4714d082b97b7dd340b0dbfe",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"b7b95e645a8e742410eb7e17e90e497ce0da1c72",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"87f5289d87599a1d182170da96e75f727f3a9e52",titleBtn:"Log in",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading&&h("span",{key:"2cbd83dc1516674c872aa9a21d44188d1739807e",slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}))))}static get style(){return NlSigninReadOnlyStyle0}},[0,"nl-signin-read-only",{titleLogin:[1,"title-login"],description:[1],isGood:[32]}]);function defineCustomElement$8(){typeof customElements>"u"||["nl-signin-read-only","button-base"].forEach(i=>{switch(i){case"nl-signin-read-only":customElements.get(i)||customElements.define(i,NlSigninReadOnly);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$8();const nlSignupCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSignupStyle0=nlSignupCss,NlSignup=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlSignup=createEvent(this,"nlSignup",7),this.nlCheckSignup=createEvent(this,"nlCheckSignup",7),this.fetchHandler=createEvent(this,"fetchHandler",7),this.titleSignup="Create keys with key store",this.description="Choose some username and a key store service.",this.bunkers="nsec.app,highlighter.com",this.isAvailable=!1}formatServers(i){return i.split(",").map(a=>({name:"@"+a,value:a}))}handleInputChange(i){state.nlSignup.signupName=i.target.value,this.nlCheckSignup.emit(`${i.target.value}@${state.nlSignup.domain}`)}handleDomainSelect(i){state.nlSignup.domain=i.detail,this.nlCheckSignup.emit(`${state.nlSignup.signupName}@${i.detail}`)}handleCreateAccount(i){i.preventDefault(),this.nlSignup.emit(`${state.nlSignup.signupName}@${state.nlSignup.domain}`)}watchBunkersHandler(i){state.nlSignup.servers=this.formatServers(i)}componentWillLoad(){state.nlSignup.servers=this.formatServers(this.bunkers)}render(){return h(Fragment,{key:"0f80c95f518b18c70b6ec3a7674ba65b93a7150e"},h("div",{key:"0a0e632e1b9891c6d01660916e5ae4581fe88e65",class:"p-4 overflow-y-auto"},h("h1",{key:"6f565e42dc0fa7ed8610f9bbab695756838d3a77",class:"nl-title font-bold text-center text-2xl"},this.titleSignup),h("p",{key:"f0cac8b68583bc5302e5a7b36d3784266ca1205e",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"8c7901599fd0ce9274abd4fd4e860763d9396334",class:"max-w-72 mx-auto"},h("div",{key:"fc80a9a9d067939bfedd6453727b1b48eef10055",class:"relative mb-2"},h("input",{key:"6efaa2e17d5001cedd32d5a9c9ddb94b57774144",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"Name",value:state.nlSignup.signupName}),h("div",{key:"558606cff7bcdf983dd5cca89dda79d7760e9f49",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"4f07566169625a94e83ded38d3e55ff1a4602faa",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isAvailable?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"2a5cd98b44738bdbe4e1d87565fe9441e895f257","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})))),h("div",{key:"88aec1cd623c0b72ea54d1dfb779831b15d9fa9f",class:"mb-2"},h("nl-select",{key:"9582245b4e59fcdaa0097bc6837b502266d2026f",onSelectDomain:i=>this.handleDomainSelect(i),selected:0,options:state.nlSignup.servers})),h("div",{key:"51a864c0638e07f1821dd5bd39f793e0e562fc99",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"81cf5005b72f9cf2cf9fa9680358d79024e80366",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"dbc143408fece554536908a8498580186ac86b8d",disabled:state.isLoading,onClick:i=>this.handleCreateAccount(i),titleBtn:"Create profile"},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{slot:"icon-start",style:{display:"none"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get watchers(){return{bunkers:["watchBunkersHandler"]}}static get style(){return NlSignupStyle0}},[0,"nl-signup",{titleSignup:[1,"title-signup"],description:[1],bunkers:[1],isAvailable:[32]},void 0,{bunkers:["watchBunkersHandler"]}]);function defineCustomElement$7(){typeof customElements>"u"||["nl-signup","button-base","nl-select"].forEach(i=>{switch(i){case"nl-signup":customElements.get(i)||customElements.define(i,NlSignup);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-select":customElements.get(i)||defineCustomElement$k()}})}defineCustomElement$7();const nlWelcomeCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlWelcomeStyle0=nlWelcomeCss,NlWelcome=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.titleWelcome="Welcome to Nostr!",this.description="This website is part of the Nostr network. Log in with your Nostr profile or sign up to join."}handleChangeScreen(i){state.path=[...state.path,i]}render(){return h(Fragment,{key:"7b5a07cdad875ea8242ce84c0736f024deb36949"},h("div",{key:"f0aee3e2ff848c8abd635fbab6aa2df75741bd08",class:"p-4 overflow-y-auto"},h("h1",{key:"0f44047e567b6e28ba8eb9269ae62173bfe4216b",class:"nl-title font-bold text-center text-4xl"},this.titleWelcome),h("p",{key:"b3fd3e2b412894f7d1ec0821077f8418d3611545",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"625314b5bf2e6821144fd79901a3da2629a0771a",class:"max-w-52 mx-auto pb-5"},h("div",{key:"f0846ced1f6cc63dfc43184d3d3536c1eafa7890",class:"flex gap-3 flex-col mb-2"},h("button-base",{key:"f4a62ade504b7096052fe26f8eaa8f7a139cc8b6",titleBtn:"Log in",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.WELCOME_LOGIN)},h("svg",{key:"8fa708e8fd991b06026142844443ff192b15f1a1",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"232741c608aa380ab96fab7498fd4b055bad40ba","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"})))),h("button-base",{key:"14568a2ca701d0e7fe55a5d8a8196642792b1cf2",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.WELCOME_SIGNUP),titleBtn:"Sign up"},h("svg",{key:"551a9a9e2aa57cb920a3d1978f40ebf7dcb7c314",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"a957c348aa9762287638772bdde925a88f38d779","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get style(){return NlWelcomeStyle0}},[0,"nl-welcome",{titleWelcome:[1,"title-welcome"],description:[1]}]);function defineCustomElement$6(){typeof customElements>"u"||["nl-welcome","button-base"].forEach(i=>{switch(i){case"nl-welcome":customElements.get(i)||customElements.define(i,NlWelcome);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$6();const nlWelcomeSigninCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlWelcomeSigninStyle0=nlWelcomeSigninCss,NlWelcomeSignIn=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLoginExtension=createEvent(this,"nlLoginExtension",7),this.titleWelcome="Log in",this.hasExtension=!1,this.authMethods=[],this.hasOTP=!1}handleChangeScreen(i){state.path=[...state.path,i],i===CURRENT_MODULE.EXTENSION&&this.nlLoginExtension.emit()}allowAuthMethod(i){return!this.authMethods.length||this.authMethods.includes(i)}renderSignInWithExtension(){return h("button-base",{onClick:()=>this.handleChangeScreen(CURRENT_MODULE.EXTENSION),titleBtn:"With extension"},h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 8.25V18a2.25 2.25 0 0 0 2.25 2.25h13.5A2.25 2.25 0 0 0 21 18V8.25m-18 0V6a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6ZM7.5 6h.008v.008H7.5V6Zm2.25 0h.008v.008H9.75V6Z"})))}render(){return h(Fragment,{key:"4f0767e4cdcc4927af3fafd074148ba418738923"},h("div",{key:"c8ab1ddae5c93498c26516337fb2b3dbd25a9ab4",class:"p-4 overflow-y-auto"},h("h1",{key:"2332e495e6f947a2e522203415a7e62279bdc497",class:"nl-title font-bold text-center text-3xl"},this.titleWelcome)),h("div",{key:"917a8e134efa774749152e47bee8a02ffd18dbd2",class:"max-w-52 mx-auto pb-5"},h("div",{key:"3f63f413e66ffde4456998913d37e71fa2e65b91",class:"flex gap-3 flex-col"},this.allowAuthMethod("connect")&&h("button-base",{key:"23a84e3cbfe6003aa4798afe40794cf5fdd29a48",titleBtn:"Connect",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.CONNECT)},h("svg",{key:"8af63dc69962963c17d272dcbe44c859d5ba11aa",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"82f9174085198b815d1b76ea16cad5a397bb0bda","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"}))),this.allowAuthMethod("readOnly")&&h("button-base",{key:"d6aedb185f57a3ae61721ab8e1f191b521881015",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN_READ_ONLY),titleBtn:"Read only"},h("svg",{key:"94eeb7e77be912ff240658added6f18e2b82559a",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"84406c27a40b9a835ba7cb64e99de007b09caaab","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"aec21828fba73b6602cf7e158d66e6c8c7d1202c","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))),this.hasOTP&&this.allowAuthMethod("otp")&&h("button-base",{key:"909370309781cfa868bed804699602129ef2735b",titleBtn:"One-time code",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN_OTP)},h("svg",{key:"652fe8e11bfeda9261a1f639c5a526123c87db71",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"950de2ac776cc2fefbbb08358fc35ab8b786c5ef","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))),this.hasExtension&&this.allowAuthMethod("extension")&&this.renderSignInWithExtension(),!this.allowAuthMethod("connect")&&!this.hasExtension&&h("p",{key:"9caf44de7b4a18fabc947169cc3283243661a2f8",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},"No Nostr extension!"),!this.allowAuthMethod("connect")&&this.hasExtension&&!this.allowAuthMethod("extension")&&h("p",{key:"f3feba2e9a56ead70ac353aaf67d1ac3438aaa4f",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},"Use advanced options."))))}static get style(){return NlWelcomeSigninStyle0}},[0,"nl-welcome-signin",{titleWelcome:[1,"title-welcome"],hasExtension:[4,"has-extension"],authMethods:[16],hasOTP:[4,"has-o-t-p"]}]);function defineCustomElement$5(){typeof customElements>"u"||["nl-welcome-signin","button-base"].forEach(i=>{switch(i){case"nl-welcome-signin":customElements.get(i)||customElements.define(i,NlWelcomeSignIn);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$5();const nlWelcomeSignupCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlWelcomeSignupStyle0=nlWelcomeSignupCss,NlWelcomeSignUp=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.titleWelcome="Sign up",this.description="Nostr profiles are based on cryptographic keys. You can create keys right here, or with a key storage app."}handleChangeScreen(i){state.path=[...state.path,i]}render(){return h(Fragment,{key:"b5d134603b3a579120e107a6db9dc1cc3f68106c"},h("div",{key:"64028950f83e5372e7774d0b642d2bc4b7a4e374",class:"p-4 overflow-y-auto"},h("h1",{key:"ab2a90b7501aa467dd300e5d3fa5c03ad7430f80",class:"nl-title font-bold text-center text-3xl"},this.titleWelcome),h("p",{key:"be4afbc5c19cf6943127992472ca9788ad45a667",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"053719e30861ffc47b08c7dec4afd47ab2228eb4",class:"max-w-52 mx-auto pb-5"},h("div",{key:"6fe9fce24b1a77410a271e27b6df49781b748806",class:"flex gap-3 flex-col"},h("button-base",{key:"4374520b23b997f21a42690e25cdd2398049e2ca",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOCAL_SIGNUP),titleBtn:"Create keys"},h("svg",{key:"cda4adcb7f43fc22ca43f5682f05bd025be6749a",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"1837503cef1df0e616160f9e443c404fac2fe593","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"}))),h("button-base",{key:"fb56918415df51984a6c3e338652a7ceab1b8876",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.SIGNUP),titleBtn:"With key store"},h("svg",{key:"605354a04e15ae5447fe9342675073157ce9cd54",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"ae5545abaa6dcfe32723e7bb05dd864485f68046","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"}))))))}static get style(){return NlWelcomeSignupStyle0}},[0,"nl-welcome-signup",{titleWelcome:[1,"title-welcome"],description:[1]}]);function defineCustomElement$4(){typeof customElements>"u"||["nl-welcome-signup","button-base"].forEach(i=>{switch(i){case"nl-welcome-signup":customElements.get(i)||customElements.define(i,NlWelcomeSignUp);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$4();const nlAuthCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.animate-spin-loading{animation:spin 1s linear infinite;background:var(--qa-dark-color)}@keyframes spin{to{transform:rotate(1turn)}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlAuthStyle0=nlAuthCss,NlAuth=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.nlCloseModal=createEvent(this,"nlCloseModal",7),this.nlChangeDarkMode=createEvent(this,"nlChangeDarkMode",7),this.theme="default",this.bunkers="",this.startScreen=CURRENT_MODULE.WELCOME,this.authMethods=[],this.hasExtension=!1,this.hasOTP=!1,this.isLoading=!1,this.isLoadingExtension=!1,this.isOTP=!1,this.authUrl="",this.error="",this.localSignup=!1,this.accounts=[],this.recents=[],this.darkMode=!1,this.welcomeTitle="",this.welcomeDescription="",this.connectionString="",this.connectionStringServices=[]}watchLocalSignupHandler(i){state.localSignup=i}watchLoadingHandler(i){state.isLoading=i}watchLoadingExtensionHandler(i){state.isLoadingExtension=i}watchOTPHandler(i){state.isOTP=i}watchAuthUrlHandler(i){state.authUrl=i}watchErrorHandler(i){state.error=i}handleClose(){this.nlCloseModal.emit()}handleChangeDarkMode(){this.nlChangeDarkMode.emit(!this.darkMode)}componentWillLoad(){state.path=[this.startScreen],state.localSignup=this.localSignup,console.log("path",state.path),state.isOTP=!1}handleClickToBack(){state.path.pop(),state.path=[...state.path],state.isLoading=!1,state.isLoadingExtension=!1,state.authUrl="",state.isOTP=!1}switchSignSignUpStrategy(i){state.path=CURRENT_MODULE.LOCAL_SIGNUP!==i?[CURRENT_MODULE.WELCOME,i]:[CURRENT_MODULE.WELCOME,CURRENT_MODULE.WELCOME_SIGNUP,i]}render(){const i="w-full h-full fixed top-0 start-0 z-[80] overflow-x-hidden overflow-y-auto flex items-center "+(this.darkMode?"dark":""),a=state.path.at(-1),r=!this.authMethods.length||!this.localSignup&&this.authMethods.includes("connect")||this.localSignup&&this.authMethods.includes("local");return h("div",{class:`theme-${this.theme}`},h("div",{class:i},h("div",{onClick:()=>this.handleClose(),class:"absolute top-0 left-0 w-full h-full bg-gray-500 bg-opacity-75 z-[80]"}),h("div",{class:"nl-bg relative z-[81] w-full flex flex-col rounded-xl sm:max-w-lg sm:w-full sm:mx-auto"},h("div",{class:"flex justify-between items-center py-3 px-4"},h("div",{class:"flex gap-2 items-center"},h("svg",{class:"w-7 h-7",width:"225",height:"224",viewBox:"0 0 225 224",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("rect",{width:"224.047",height:"224",rx:"64",fill:"#6951FA"}),h("path",{d:"M162.441 135.941V88.0593C170.359 85.1674 176 77.5348 176 68.6696C176 57.2919 166.708 48 155.33 48C143.953 48 134.661 57.2444 134.661 68.6696C134.661 77.5822 140.302 85.1674 148.219 88.0593V135.941C147.698 136.13 147.176 136.367 146.655 136.604L87.3956 77.3452C88.6282 74.6904 89.2919 71.7511 89.2919 68.6696C89.2919 57.2444 80.0474 48 68.6696 48C57.2919 48 48 57.2444 48 68.6696C48 77.5822 53.6415 85.1674 61.5585 88.0593V135.941C53.6415 138.833 48 146.465 48 155.33C48 166.708 57.2444 176 68.6696 176C80.0948 176 89.3393 166.708 89.3393 155.33C89.3393 146.418 83.6978 138.833 75.7807 135.941V88.0593C76.3022 87.8696 76.8237 87.6326 77.3452 87.3956L136.604 146.655C135.372 149.31 134.708 152.249 134.708 155.33C134.708 166.708 143.953 176 155.378 176C166.803 176 176.047 166.708 176.047 155.33C176.047 146.418 170.406 138.833 162.489 135.941H162.441Z",fill:"white"})),h("p",{class:"font-bold nl-logo text-base"},"Nostr ",h("span",{class:"font-light"},"Login"))),h("div",{class:"flex gap-1"},h("button",{onClick:()=>this.handleChangeDarkMode(),type:"button",class:"nl-action-button flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent"},h("span",{class:"sr-only"},"Change theme"),h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-5 h-5"},h("path",this.darkMode?{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"}:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"}))),h("button",{onClick:()=>this.handleClose(),type:"button",class:"nl-action-button flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent"},h("span",{class:"sr-only"},"Close"),h("svg",{class:"flex-shrink-0 w-5 h-5",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{d:"M18 6 6 18"}),h("path",{d:"m6 6 12 12"}))))),state.path.length>1&&!state.isLoading&&h("div",{class:"p-4"},h("button",{onClick:()=>this.handleClickToBack(),type:"button",class:"nl-action-button flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600","data-hs-overlay":"#hs-vertically-centered-modal"},h("span",{class:"sr-only"},"Back"),h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-5 h-5"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"})))),state.isLoading||state.authUrl?h("nl-loading",{path:a}):h(Fragment,null,(()=>{if(state.isOTP)return h("nl-signin-otp",null);switch(a){case CURRENT_MODULE.WELCOME:return h("nl-welcome",{titleWelcome:this.welcomeTitle||void 0,description:this.welcomeDescription||void 0});case CURRENT_MODULE.LOGIN:return h("nl-signin",null);case CURRENT_MODULE.SIGNUP:return h("nl-signup",{bunkers:this.bunkers});case CURRENT_MODULE.LOCAL_SIGNUP:return h("nl-local-signup",null);case CURRENT_MODULE.CONFIRM_LOGOUT:return h("nl-confirm-logout",null);case CURRENT_MODULE.IMPORT_FLOW:return h("nl-import-flow",{services:this.connectionStringServices.filter(o=>o.canImport)});case CURRENT_MODULE.INFO:return h("nl-info",null);case CURRENT_MODULE.EXTENSION:return h("nl-info-extension",null);case CURRENT_MODULE.LOGIN_READ_ONLY:return h("nl-signin-read-only",null);case CURRENT_MODULE.LOGIN_BUNKER_URL:return h("nl-signin-bunker-url",null);case CURRENT_MODULE.LOGIN_OTP:return h("nl-signin-otp",null);case CURRENT_MODULE.WELCOME_LOGIN:return h("nl-welcome-signin",{hasOTP:this.hasOTP,authMethods:this.authMethods,hasExtension:this.hasExtension});case CURRENT_MODULE.WELCOME_SIGNUP:return h("nl-welcome-signup",null);case CURRENT_MODULE.CONNECTION_STRING:return h("nl-signin-connection-string",{connectionString:this.connectionString});case CURRENT_MODULE.CONNECT:return h("nl-connect",{connectionStringServices:this.connectionStringServices,authMethods:this.authMethods});case CURRENT_MODULE.PREVIOUSLY_LOGGED:return h("nl-previously-logged",{accounts:this.accounts,recents:this.recents});default:return h("nl-welcome",null)}})(),(state.isOTP||a!==CURRENT_MODULE.INFO&&a!==CURRENT_MODULE.CONFIRM_LOGOUT&&a!==CURRENT_MODULE.IMPORT_FLOW&&a!==CURRENT_MODULE.WELCOME&&a!==CURRENT_MODULE.EXTENSION&&a!==CURRENT_MODULE.PREVIOUSLY_LOGGED)&&h(Fragment,null,a===CURRENT_MODULE.WELCOME_SIGNUP||a===CURRENT_MODULE.SIGNUP||a===CURRENT_MODULE.LOCAL_SIGNUP?h("div",{class:"p-4 overflow-y-auto"},h("p",{class:"nl-footer font-light text-center text-sm pt-3 max-w-96 mx-auto"},"If you already have a profile please"," ",h("span",{onClick:()=>this.switchSignSignUpStrategy(CURRENT_MODULE.WELCOME_LOGIN),class:"cursor-pointer text-blue-400"},"log in"),".")):r&&h("div",{class:"p-4 overflow-y-auto"},h("p",{class:"nl-footer font-light text-center text-sm pt-3 max-w-96 mx-auto"},"If you don't have a profile please"," ",h("span",{onClick:()=>this.switchSignSignUpStrategy(this.localSignup?CURRENT_MODULE.LOCAL_SIGNUP:CURRENT_MODULE.WELCOME_SIGNUP),class:"cursor-pointer text-blue-400"},"sign up"),".")))))))}static get watchers(){return{localSignup:["watchLocalSignupHandler"],isLoading:["watchLoadingHandler"],isLoadingExtension:["watchLoadingExtensionHandler"],isOTP:["watchOTPHandler"],authUrl:["watchAuthUrlHandler"],error:["watchErrorHandler"]}}static get style(){return NlAuthStyle0}},[1,"nl-auth",{theme:[1025],bunkers:[1],startScreen:[1,"start-screen"],authMethods:[16],hasExtension:[4,"has-extension"],hasOTP:[4,"has-o-t-p"],isLoading:[4,"is-loading"],isLoadingExtension:[4,"is-loading-extension"],isOTP:[4,"is-o-t-p"],authUrl:[1,"auth-url"],error:[1],localSignup:[4,"local-signup"],accounts:[1040],recents:[1040],darkMode:[1028,"dark-mode"],welcomeTitle:[1,"welcome-title"],welcomeDescription:[1,"welcome-description"],connectionString:[1,"connection-string"],connectionStringServices:[16]},void 0,{localSignup:["watchLocalSignupHandler"],isLoading:["watchLoadingHandler"],isLoadingExtension:["watchLoadingExtensionHandler"],isOTP:["watchOTPHandler"],authUrl:["watchAuthUrlHandler"],error:["watchErrorHandler"]}]);function defineCustomElement$3(){typeof customElements>"u"||["nl-auth","button-base","nl-confirm-logout","nl-connect","nl-import-flow","nl-info","nl-info-extension","nl-loading","nl-local-signup","nl-login-status","nl-previously-logged","nl-select","nl-signin","nl-signin-bunker-url","nl-signin-connection-string","nl-signin-otp","nl-signin-read-only","nl-signup","nl-welcome","nl-welcome-signin","nl-welcome-signup"].forEach(i=>{switch(i){case"nl-auth":customElements.get(i)||customElements.define(i,NlAuth);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-confirm-logout":customElements.get(i)||defineCustomElement$m();break;case"nl-connect":customElements.get(i)||defineCustomElement$l();break;case"nl-import-flow":customElements.get(i)||defineCustomElement$j();break;case"nl-info":customElements.get(i)||defineCustomElement$i();break;case"nl-info-extension":customElements.get(i)||defineCustomElement$h();break;case"nl-loading":customElements.get(i)||defineCustomElement$g();break;case"nl-local-signup":customElements.get(i)||defineCustomElement$f();break;case"nl-login-status":customElements.get(i)||defineCustomElement$e();break;case"nl-previously-logged":customElements.get(i)||defineCustomElement$d();break;case"nl-select":customElements.get(i)||defineCustomElement$k();break;case"nl-signin":customElements.get(i)||defineCustomElement$c();break;case"nl-signin-bunker-url":customElements.get(i)||defineCustomElement$b();break;case"nl-signin-connection-string":customElements.get(i)||defineCustomElement$a();break;case"nl-signin-otp":customElements.get(i)||defineCustomElement$9();break;case"nl-signin-read-only":customElements.get(i)||defineCustomElement$8();break;case"nl-signup":customElements.get(i)||defineCustomElement$7();break;case"nl-welcome":customElements.get(i)||defineCustomElement$6();break;case"nl-welcome-signin":customElements.get(i)||defineCustomElement$5();break;case"nl-welcome-signup":customElements.get(i)||defineCustomElement$4()}})}defineCustomElement$3();const NlButton=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.theme="default",this.darkMode=!1,this.titleBtn="Open modal",this.disabled=!1}render(){return h("button-base",{key:"906c0f4cad65523702f56462bd36e2e773650d57",theme:this.theme,darkMode:this.darkMode,titleBtn:this.titleBtn,disabled:this.disabled})}},[1,"nl-button",{theme:[1],darkMode:[4,"dark-mode"],titleBtn:[1,"title-btn"],disabled:[4]}]);function defineCustomElement$2(){typeof customElements>"u"||["nl-button","button-base"].forEach(i=>{switch(i){case"nl-button":customElements.get(i)||customElements.define(i,NlButton);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$2();const nlChangeAccountCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.right-2{right:8px}.top-2{top:8px}.top-52{top:208px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:8px}.ml-0{margin-left:0}.ml-\\[2px\\]{margin-left:2px}.mr-0{margin-right:0}.mr-2{margin-right:8px}.mr-3\\.5{margin-right:14px}.mt-2{margin-top:8px}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-0{height:0}.h-12{height:48px}.h-4{height:16px}.h-5{height:20px}.h-6{height:24px}.h-7{height:28px}.h-8{height:32px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.w-0{width:0}.w-12{width:48px}.w-16{width:64px}.w-4{width:16px}.w-44{width:176px}.w-5{width:20px}.w-52{width:208px}.w-6{width:24px}.w-7{width:28px}.w-8{width:32px}.w-\\[48px\\]{width:48px}.w-full{width:100%}.min-w-40{min-width:160px}.max-w-40{max-width:160px}.flex-shrink-0{flex-shrink:0}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-x-2{column-gap:8px}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-\\[0px\\]{border-width:0}.border-\\[2px\\]{border-width:2px}.border-current{border-color:currentColor}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-white,.bg-yellow-100{--tw-bg-opacity:1}.bg-yellow-100{background-color:rgb(254 249 195/var(--tw-bg-opacity))}.p-2{padding:8px}.p-3{padding:12px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.py-2\\.5{padding-bottom:10px;padding-top:10px}.pl-\\[11px\\]{padding-left:11px}.text-center{text-align:center}.text-sm{font-size:14px;line-height:20px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:right-2:hover{right:8px}.hover\\:rounded-r-lg:hover{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.w-auto{width:auto}.rounded-xl{border-radius:.75rem}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.left-0{left:0}.mt-1{margin-top:4px}.max-w-6{max-width:24px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.border-t-\\[1px\\]{border-top-width:1px}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.px-4{padding-left:16px;padding-right:16px}.py-2{padding-bottom:8px;padding-top:8px}.py-3{padding-bottom:12px;padding-top:12px}.pt-2{padding-top:8px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}.first\\:border-none:first-child{border-style:none}.first\\:pt-0:first-child{padding-top:0}.dark\\:border-transparent:is(.dark *){border-color:transparent}",NlChangeAccountStyle0=nlChangeAccountCss,NLChangeAccount=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.handleOpenWelcomeModal=createEvent(this,"handleOpenWelcomeModal",7),this.handleSwitchAccount=createEvent(this,"handleSwitchAccount",7),this.isOpen=!1,this.options=[],this.accounts=[],this.currentAccount=null,this.mode=!1,this.darkMode=!1,this.themeState="default",this.theme="default"}handleWindowClick(){this.wrapperRef.querySelector(".listClass")&&(this.isOpen=!1)}toggleDropdown(){this.isOpen=!this.isOpen,this.calculateDropdownPosition()}watchPropHandler(i){this.themeState=i}watchModeHandler(i){this.mode=i}watchAccountsHandler(i){this.options=i}connectedCallback(){this.themeState=this.theme,this.mode=this.darkMode}calculateDropdownPosition(){if(this.isOpen&&this.buttonRef){const i=this.buttonRef.getBoundingClientRect();this.ulRef.style.top=`${i.height}px`}}handleChange(i){this.handleSwitchAccount.emit(i)}handleOpenModal(){this.handleOpenWelcomeModal.emit()}render(){const i=(this.isOpen?"listClass flex flex-col gap-2":"hidden")+" w-full nl-select-list absolute z-10 left-0 shadow-md rounded-lg p-2 mt-1 after:h-4 after:absolute after:-bottom-4 after:start-0 after:w-full before:h-4 before:absolute before:-top-4 before:start-0 before:w-full",a=(this.isOpen?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-gray-500",r=this.options&&this.currentAccount?this.options.filter(o=>o.pubkey!==this.currentAccount.pubkey||o.authMethod!==this.currentAccount.authMethod):[];return h("div",{key:"e2fb1c4ca91fe75f9af8c40ba3411dba388ac9fd",class:`theme-${this.themeState}`},h("div",{key:"4ea60737ca60f4e6c20d014ed197f65f7b169432",class:"relative",ref:o=>this.wrapperRef=o},h("button",{key:"5838bf67141378607ec9d7f653f2eb71fbb655ee",ref:o=>this.buttonRef=o,onClick:()=>this.toggleDropdown(),type:"button",class:"nl-select peer py-3 px-4 flex items-center w-full justify-between border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent"},h("span",{key:"b1424401cb9c0222175d027c505d07aa2f0932e9",class:"text-gray-500"},"Switch profile"),h("svg",{key:"58eecdd605e9cb6296656f26abf8153150ee0f64",class:a,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"f31b6c5b8a96e35a46bf39c983cad1af501a1763",d:"m6 9 6 6 6-6"}))),h("ul",{key:"a5cb6e8ab70134082b1ad7953939fd5aedb7481d",ref:o=>this.ulRef=o,class:i},this.options&&r.map(o=>{const c=o.name||o.nip05||o.pubkey;return h("li",{onClick:()=>this.handleChange(o),class:"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm"},h("div",{class:"uppercase font-bold w-full max-w-6 h-6 rounded-full border border-gray-400 flex justify-center items-center"},o?.picture?h("img",{class:"w-full rounded-full",src:o.picture,alt:"Logo"}):c?c[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"truncate overflow-hidden"},c),h("nl-login-status",{info:o})))}),h("li",{key:"7d050773b50bbda055bd3f660045d5fee0c609c7",class:"first:pt-0 pt-2 border-t-[1px] first:border-none border-gray-300"},h("div",{key:"222120208bad410ec4217c15d8327a24abb71950",onClick:()=>this.handleOpenModal(),class:"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm"},h("div",{key:"2d4d88a1df00ea687f6b32f8d97a29146efdb49a",class:"uppercase font-bold w-6 h-6 rounded-full border border-gray-400 flex justify-center items-center"},h("svg",{key:"6863afeb362ce38a2b6cca8611f91746a5d879ca",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-4 h-4"},h("path",{key:"16d78e3b3288db99c203cef5ed766ef61ce146a1","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"}))),"Add profile")))))}get element(){return this}static get watchers(){return{theme:["watchPropHandler"],darkMode:["watchModeHandler"],accounts:["watchAccountsHandler"]}}static get style(){return NlChangeAccountStyle0}},[0,"nl-change-account",{accounts:[16],currentAccount:[16],darkMode:[4,"dark-mode"],theme:[1],isOpen:[32],options:[32],mode:[32],themeState:[32]},[[8,"click","handleWindowClick"]],{theme:["watchPropHandler"],darkMode:["watchModeHandler"],accounts:["watchAccountsHandler"]}]);function defineCustomElement$1(){typeof customElements>"u"||["nl-change-account","nl-login-status"].forEach(i=>{switch(i){case"nl-change-account":customElements.get(i)||customElements.define(i,NLChangeAccount);break;case"nl-login-status":customElements.get(i)||defineCustomElement$e()}})}defineCustomElement$1();const nlBannerCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.show-slow{display:none;opacity:0;transition:.1s}.isOpen .show-slow{display:block;opacity:1;transition:.2s;transition-delay:.2s}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.right-2{right:8px}.top-2{top:8px}.top-52{top:208px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:8px}.ml-0{margin-left:0}.ml-\\[2px\\]{margin-left:2px}.mr-0{margin-right:0}.mr-2{margin-right:8px}.mr-3\\.5{margin-right:14px}.mt-2{margin-top:8px}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-0{height:0}.h-12{height:48px}.h-4{height:16px}.h-5{height:20px}.h-6{height:24px}.h-7{height:28px}.h-8{height:32px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.w-0{width:0}.w-12{width:48px}.w-16{width:64px}.w-4{width:16px}.w-44{width:176px}.w-5{width:20px}.w-52{width:208px}.w-6{width:24px}.w-7{width:28px}.w-8{width:32px}.w-\\[48px\\]{width:48px}.w-full{width:100%}.min-w-40{min-width:160px}.max-w-40{max-width:160px}.flex-shrink-0{flex-shrink:0}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-x-2{column-gap:8px}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-\\[0px\\]{border-width:0}.border-\\[2px\\]{border-width:2px}.border-current{border-color:currentColor}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-white,.bg-yellow-100{--tw-bg-opacity:1}.bg-yellow-100{background-color:rgb(254 249 195/var(--tw-bg-opacity))}.p-2{padding:8px}.p-3{padding:12px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.py-2\\.5{padding-bottom:10px;padding-top:10px}.pl-\\[11px\\]{padding-left:11px}.text-center{text-align:center}.text-sm{font-size:14px;line-height:20px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:right-2:hover{right:8px}.hover\\:rounded-r-lg:hover{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.w-auto{width:auto}.rounded-xl{border-radius:.75rem}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.left-0{left:0}.mt-1{margin-top:4px}.max-w-6{max-width:24px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.border-t-\\[1px\\]{border-top-width:1px}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.px-4{padding-left:16px;padding-right:16px}.py-2{padding-bottom:8px;padding-top:8px}.py-3{padding-bottom:12px;padding-top:12px}.pt-2{padding-top:8px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}.first\\:border-none:first-child{border-style:none}.first\\:pt-0:first-child{padding-top:0}.dark\\:border-transparent:is(.dark *){border-color:transparent}",NlBannerStyle0=nlBannerCss,NlBanner=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.handleRetryConfirmBanner=createEvent(this,"handleRetryConfirmBanner",7),this.handleNotifyConfirmBanner=createEvent(this,"handleNotifyConfirmBanner",7),this.handleSetConfirmBanner=createEvent(this,"handleSetConfirmBanner",7),this.handleLoginBanner=createEvent(this,"handleLoginBanner",7),this.handleLogoutBanner=createEvent(this,"handleLogoutBanner",7),this.handleOpenWelcomeModal=createEvent(this,"handleOpenWelcomeModal",7),this.handleConfirmLogout=createEvent(this,"handleConfirmLogout",7),this.handleImportModal=createEvent(this,"handleImportModal",7),this.isLogin=!1,this.theme="default",this.darkMode=!1,this.hiddenMode=!1,this.titleBanner="",this.domain="",this.urlNotify="",this.listNotifies=[],this.isOpenNotifyTimeOut=!1,this.isOpen=!1,this.isConfirm=!0,this.isOpenConfirm=!1,this.isLoading=!1,this.notify=null,this.isNotConfirmToSend=!1,this.userInfo=null,this.accounts=[]}watchNotifyHandler(i){var a,r,o;this.isNotConfirmToSend=!0,this.isOpen=!0,this.isOpenConfirm=!0,this.domain=(null===(o=null===(r=null===(a=this.userInfo)||void 0===a?void 0:a.nip05)||void 0===r?void 0:r.split("@"))||void 0===o?void 0:o[1])||"",i.url&&(this.urlNotify=i.url,this.isOpenNotifyTimeOut=!1),!this.urlNotify&&i.timeOut&&(this.isOpenNotifyTimeOut=!0)}handleOpen(){this.userInfo?this.isOpen=!0:this.handleOpenWelcomeModal.emit()}handleClose(){this.isOpen=!1,this.isOpenNotifyTimeOut=!1,this.isOpenConfirm=!1,this.isNotConfirmToSend&&(this.handleSetConfirmBanner.emit(this.urlNotify),this.isNotConfirmToSend=!1),this.urlNotify=""}handleLogin(){this.handleLoginBanner.emit(METHOD_MODULE.LOGIN),this.handleClose()}handleSignup(){this.handleLoginBanner.emit(METHOD_MODULE.SIGNUP),this.handleClose()}handleImport(){this.handleImportModal.emit(),this.handleClose()}handleLogout(){if(localStorage.getItem("backupKey"))return this.handleLogoutBanner.emit(METHOD_MODULE.LOGOUT),this.handleClose(),void localStorage.removeItem("backupKey");"local"===this.userInfo.authMethod?this.handleConfirmLogout.emit():this.handleLogoutBanner.emit(METHOD_MODULE.LOGOUT),this.handleClose()}handleConfirm(){this.handleNotifyConfirmBanner.emit(this.urlNotify),this.isNotConfirmToSend=!1,this.handleClose()}handleRetryConfirm(){this.handleRetryConfirmBanner.emit(),this.isNotConfirmToSend=!1,this.handleClose()}render(){var i,a,r,o,s,c;const y=!(null===(i=this.userInfo)||void 0===i||!i.picture),k=(null===(a=this.userInfo)||void 0===a?void 0:a.name)||(null===(s=null===(o=null===(r=this.userInfo)||void 0===r?void 0:r.nip05)||void 0===o?void 0:o.split("@"))||void 0===s?void 0:s[0])||(null===(c=this.userInfo)||void 0===c?void 0:c.pubkey)||"",S=!!k,I=this.userInfo&&"local"===this.userInfo.authMethod,T=localStorage.getItem("backupKey");return h("div",{key:"135e66c8e2156c98f3c5b2ed33657e193575301e",class:`theme-${this.theme} ${!this.isOpen&&this.hiddenMode?"hidden":""}`},h("div",{key:"472074168314b51f8a80f53814043bfda4058c26",class:this.darkMode&&"dark"},h("div",{key:"f55074c5da729a4de542841ace63a7d73cabadf5",class:`nl-banner ${this.isOpen?"w-52 h-auto right-2 rounded-r-lg isOpen":"rounded-r-none hover:rounded-r-lg cursor-pointer"} z-50 w-12 h-12 fixed top-52 right-0 inline-block gap-x-2 text-sm font-medium rounded-lg hover:right-2 transition-all duration-300 ease-in-out`},h("div",{key:"10c552768319d8f6642ea23db3af15d3b54cec67",class:"block w-[48px] h-[46px] relative z-10"},h("div",{key:"52d9d39b5d27d2924fabd0560e27b3d3d214c011",onClick:()=>this.handleOpen(),class:"flex w-52 h-[46px] items-center pl-[11px]"},h("span",{key:"c64f3d89b7daba7ea1cf20f215561ebb18fa56e2",class:(this.isLoading?"w-5 h-5 border-[2px] mr-3.5 ml-[2px] opacity-1":"w-0 h-0 border-[0px] mr-0 opacity-0 ml-0")+" animate-spin transition-all duration-300 ease-in-out inline-block border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}),this.userInfo?h("div",{class:"uppercase font-bold w-6 h-6 mr-2 rounded-full border border-gray-200 flex justify-center items-center"},y?h("img",{class:"w-full rounded-full",src:this.userInfo.picture,alt:"Logo"}):S?k[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))):h("div",{class:"flex justify-center items-center"},h("svg",{class:"w-6 h-6",width:"225",height:"224",viewBox:"0 0 225 224",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("rect",{width:"224.047",height:"224",rx:"64",fill:"#6951FA"}),h("path",{d:"M162.441 135.941V88.0593C170.359 85.1674 176 77.5348 176 68.6696C176 57.2919 166.708 48 155.33 48C143.953 48 134.661 57.2444 134.661 68.6696C134.661 77.5822 140.302 85.1674 148.219 88.0593V135.941C147.698 136.13 147.176 136.367 146.655 136.604L87.3956 77.3452C88.6282 74.6904 89.2919 71.7511 89.2919 68.6696C89.2919 57.2444 80.0474 48 68.6696 48C57.2919 48 48 57.2444 48 68.6696C48 77.5822 53.6415 85.1674 61.5585 88.0593V135.941C53.6415 138.833 48 146.465 48 155.33C48 166.708 57.2444 176 68.6696 176C80.0948 176 89.3393 166.708 89.3393 155.33C89.3393 146.418 83.6978 138.833 75.7807 135.941V88.0593C76.3022 87.8696 76.8237 87.6326 77.3452 87.3956L136.604 146.655C135.372 149.31 134.708 152.249 134.708 155.33C134.708 166.708 143.953 176 155.378 176C166.803 176 176.047 166.708 176.047 155.33C176.047 146.418 170.406 138.833 162.489 135.941H162.441Z",fill:"white"})),this.isOpen&&h("span",{class:"px-2"},h("b",null,"Nostr")," Login")),this.isOpen&&S&&h("div",{key:"ac034a746a28bd20a36770a49d02773ac97025a5",class:"show-slow truncate w-16 text-xs"},k),this.isOpen&&S&&h("nl-login-status",{key:"5355376e14be5616978f4ab4a7f635aa34dd79b1",info:this.userInfo}))),h("button",{key:"7b772fb052250c40b5f82df5c78ed89a4fc1c294",onClick:()=>this.handleClose(),type:"button",class:(this.isOpen?"z-20":"z-0")+" nl-action-button absolute right-2 top-2 z-0 show-slow flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent"},h("span",{key:"4ed204a4e214ef7d6d31bee7d3b3b0297adc969f",class:"sr-only"},"Close"),h("svg",{key:"78705023791bbfe894b5a522471340ee21ddc38d",class:"flex-shrink-0 w-5 h-5",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"065017768a1984e78818d39ee21d8a9e771fae71",d:"M18 6 6 18"}),h("path",{key:"2c647fa99c7d9d896fc36075862e6e52d7897228",d:"m6 6 12 12"}))),h("div",{key:"c96e61467259657e68a30a9adc47aab195bf7ee8",class:"p-3 show-slow"},this.isOpenConfirm?h("div",null,h("div",{class:"w-8 h-8 p-1/2 rounded-full border border-gray-200 bg-white mb-2 mt-2 show-slow m-auto"},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#5a68ff",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))),h("p",{class:"mb-2 text-center max-w-40 min-w-40 mx-auto"},this.isOpenNotifyTimeOut?"Keys not responding, check your key storage app":`Confirmation required at ${this.domain}`),this.isOpenNotifyTimeOut?h("a",{onClick:()=>this.handleClose(),href:`https://${this.domain}`,target:"_blank",class:"nl-button text-nowrap py-2.5 px-3 w-full inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg disabled:opacity-50 disabled:pointer-events-none dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600"},"Go to ",this.domain):h("button-base",{onClick:()=>this.handleConfirm(),titleBtn:"Confirm"})):h("div",null,h("div",null,this.titleBanner&&h("p",{class:"mb-2 text-center show-slow max-w-40 min-w-40 mx-auto"},this.titleBanner),I&&h(Fragment,null,!T&&h("p",{class:"mb-2 text-center show-slow text-red-400 max-w-40 min-w-40 mx-auto"},"Your profile may be lost if you close this tab"),h("div",{class:"mb-2"},h("button-base",{onClick:()=>this.handleImport(),theme:"lemonade",titleBtn:"Back up profile"}))),h("div",{class:"mb-2"},h("nl-change-account",{currentAccount:this.userInfo,accounts:this.accounts})),!!this.listNotifies.length&&h("div",{onClick:()=>this.handleRetryConfirm(),class:"show-slow border border-yellow-600 text-yellow-600 bg-yellow-100 p-2 rounded-lg mb-2 cursor-pointer w-44 text-xs m-auto text-center"},"Requests: ",this.listNotifies.length),this.userInfo?h("button-base",{onClick:()=>this.handleLogout(),titleBtn:"Log out"}):h("div",null,h("button-base",{onClick:()=>this.handleLogin(),titleBtn:"Log in"},h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"}))),h("button-base",{onClick:()=>this.handleSignup(),titleBtn:"Sign up"},h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"}))))))))))}static get watchers(){return{notify:["watchNotifyHandler"]}}static get style(){return NlBannerStyle0}},[1,"nl-banner",{theme:[1025],darkMode:[1028,"dark-mode"],hiddenMode:[1028,"hidden-mode"],titleBanner:[1,"title-banner"],listNotifies:[16],isOpen:[1028,"is-open"],isLoading:[4,"is-loading"],notify:[16],userInfo:[16],accounts:[1040],isLogin:[32],domain:[32],urlNotify:[32],isOpenNotifyTimeOut:[32],isConfirm:[32],isOpenConfirm:[32],isNotConfirmToSend:[32]},void 0,{notify:["watchNotifyHandler"]}]);function defineCustomElement(){typeof customElements>"u"||["nl-banner","button-base","nl-change-account","nl-login-status"].forEach(i=>{switch(i){case"nl-banner":customElements.get(i)||customElements.define(i,NlBanner);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-change-account":customElements.get(i)||defineCustomElement$1();break;case"nl-login-status":customElements.get(i)||defineCustomElement$e()}})}defineCustomElement();var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var lib$1={},types={};Object.defineProperty(types,"__esModule",{value:!0});var ee={},taskCollection$1={},taskCollection={},bakeCollection={};(function(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.bakeCollectionVariadic=exports.bakeCollectionAwait=exports.bakeCollection=exports.BAKED_EMPTY_FUNC=void 0,exports.BAKED_EMPTY_FUNC=function(){};var FORLOOP_FALLBACK=1500;function generateArgsDefCode(i){var a="";if(0===i)return a;for(var r=0;r1)a?((r=this._tasks).push.apply(r,arguments),this.length+=arguments.length):(this._tasks.push(i),this.length++);else if(a){var s;1===o?((s=Array(1+arguments.length)).push(s),s.push.apply(s,arguments),this._tasks=s):((s=Array(arguments.length)).push.apply(s,arguments),this._tasks=s),this.length+=arguments.length}else this._tasks=1===o?[this._tasks,i]:i,this.length++}function push_rebuild(i,a){var r,o=this.length;if(o>1)a?((r=this._tasks).push.apply(r,arguments),this.length+=arguments.length):(this._tasks.push(i),this.length++);else if(a){var s;1===o?((s=Array(1+arguments.length)).push(s),s.push.apply(s,arguments),this._tasks=s):((s=Array(arguments.length)).push.apply(s,arguments),this._tasks=s),this.length+=arguments.length}else this._tasks=1===o?[this._tasks,i]:i,this.length++;this.firstEmitBuildStrategy?this.call=rebuild_on_first_call:this.rebuild()}function _fast_remove_single(i,a){-1!==a&&(0===a?i.shift():a===i.length-1?i.length=i.length-1:i.splice(a,1))}function removeLast_norebuild(i){0!==this.length&&(1===this.length?this._tasks===i&&(this.length=0):(_fast_remove_single(this._tasks,this._tasks.lastIndexOf(i)),1===this._tasks.length?(this._tasks=this._tasks[0],this.length=1):this.length=this._tasks.length))}function removeLast_rebuild(i){if(0!==this.length){if(1===this.length)return this._tasks===i&&(this.length=0),this.firstEmitBuildStrategy?void(this.call=bake_collection_1.BAKED_EMPTY_FUNC):void this.rebuild();_fast_remove_single(this._tasks,this._tasks.lastIndexOf(i)),1===this._tasks.length?(this._tasks=this._tasks[0],this.length=1):this.length=this._tasks.length,this.firstEmitBuildStrategy?this.call=rebuild_on_first_call:this.rebuild()}}function insert_norebuild(i){for(var a,r=[],o=1;o0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash$3(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");number$3(i.outputLen),number$3(i.blockLen)}function exists$3(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output$3(i,a){bytes$3(i);const r=a.outputLen;if(i.lengthi instanceof Uint8Array,createView$2=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),rotr$2=(i,a)=>i<<32-a|i>>>a,isLE$3=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE$3)throw new Error("Non little-endian hardware is not supported");function utf8ToBytes$4(i){if("string"!=typeof i)throw new Error("utf8ToBytes expected string, got "+typeof i);return new Uint8Array((new TextEncoder).encode(i))}function toBytes$3(i){if("string"==typeof i&&(i=utf8ToBytes$4(i)),!u8a$3(i))throw new Error("expected Uint8Array, got "+typeof i);return i}function concatBytes$3(...i){const a=new Uint8Array(i.reduce((o,s)=>o+s.length,0));let r=0;return i.forEach(o=>{if(!u8a$3(o))throw new Error("Uint8Array expected");a.set(o,r),r+=o.length}),a}Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));let Hash$2=class{clone(){return this._cloneInto()}};function wrapConstructor$2(i){const a=o=>i().update(toBytes$3(o)).digest(),r=i();return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=()=>i(),a}function randomBytes$2(i=32){if(crypto$3&&"function"==typeof crypto$3.getRandomValues)return crypto$3.getRandomValues(new Uint8Array(i));throw new Error("crypto.getRandomValues must be defined")}function setBigUint64$2(i,a,r,o){if("function"==typeof i.setBigUint64)return i.setBigUint64(a,r,o);const s=BigInt(32),c=BigInt(4294967295),y=Number(r>>s&c),k=Number(r&c),I=o?0:4;i.setUint32(a+(o?4:0),y,o),i.setUint32(a+I,k,o)}let SHA2$2=class extends Hash$2{constructor(i,a,r,o){super(),this.blockLen=i,this.outputLen=a,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=createView$2(this.buffer)}update(i){assert$3.exists(this);const{view:a,buffer:r,blockLen:o}=this,s=(i=toBytes$3(i)).length;for(let c=0;co-c&&(this.process(r,0),c=0);for(let T=c;TI.length)throw new Error("_sha2: outputLen bigger than state");for(let T=0;Ti&a^~i&r,Maj$2=(i,a,r)=>i&a^i&r^a&r,SHA256_K$2=new Uint32Array([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]),IV$2=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W$2=new Uint32Array(64);let SHA256$2=class extends SHA2$2{constructor(){super(64,32,8,!1),this.A=0|IV$2[0],this.B=0|IV$2[1],this.C=0|IV$2[2],this.D=0|IV$2[3],this.E=0|IV$2[4],this.F=0|IV$2[5],this.G=0|IV$2[6],this.H=0|IV$2[7]}get(){const{A:i,B:a,C:r,D:o,E:s,F:c,G:y,H:k}=this;return[i,a,r,o,s,c,y,k]}set(i,a,r,o,s,c,y,k){this.A=0|i,this.B=0|a,this.C=0|r,this.D=0|o,this.E=0|s,this.F=0|c,this.G=0|y,this.H=0|k}process(i,a){for(let T=0;T<16;T++,a+=4)SHA256_W$2[T]=i.getUint32(a,!1);for(let T=16;T<64;T++){const M=SHA256_W$2[T-15],R=SHA256_W$2[T-2],L=rotr$2(M,7)^rotr$2(M,18)^M>>>3,J=rotr$2(R,17)^rotr$2(R,19)^R>>>10;SHA256_W$2[T]=J+SHA256_W$2[T-7]+L+SHA256_W$2[T-16]|0}let{A:r,B:o,C:s,D:c,E:y,F:k,G:S,H:I}=this;for(let T=0;T<64;T++){const M=I+(rotr$2(y,6)^rotr$2(y,11)^rotr$2(y,25))+Chi$2(y,k,S)+SHA256_K$2[T]+SHA256_W$2[T]|0,R=(rotr$2(r,2)^rotr$2(r,13)^rotr$2(r,22))+Maj$2(r,o,s)|0;I=S,S=k,k=y,y=c+M|0,c=s,s=o,o=r,r=M+R|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,y=y+this.E|0,k=k+this.F|0,S=S+this.G|0,I=I+this.H|0,this.set(r,o,s,c,y,k,S,I)}roundClean(){SHA256_W$2.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},SHA224$1=class extends SHA256$2{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}};const sha256$2=wrapConstructor$2(()=>new SHA256$2);wrapConstructor$2(()=>new SHA224$1);const _0n$4=BigInt(0),_1n$4=BigInt(1),_2n$2=BigInt(2),u8a$2=i=>i instanceof Uint8Array,hexes$2=Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));function bytesToHex$2(i){if(!u8a$2(i))throw new Error("Uint8Array expected");let a="";for(let r=0;ro+s.length,0));let r=0;return i.forEach(o=>{if(!u8a$2(o))throw new Error("Uint8Array expected");a.set(o,r),r+=o.length}),a}function equalBytes$1(i,a){if(i.length!==a.length)return!1;for(let r=0;r_0n$4;i>>=_1n$4,a+=1);return a}function bitGet(i,a){return i>>BigInt(a)&_1n$4}const bitSet=(i,a,r)=>i|(r?_1n$4:_0n$4)<(_2n$2<new Uint8Array(i),u8fr=i=>Uint8Array.from(i);function createHmacDrbg(i,a,r){if("number"!=typeof i||i<2)throw new Error("hashLen must be a number");if("number"!=typeof a||a<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");let o=u8n(i),s=u8n(i),c=0;const y=()=>{o.fill(1),s.fill(0),c=0},k=(...T)=>r(s,o,...T),S=(T=u8n())=>{s=k(u8fr([0]),T),o=k(),0!==T.length&&(s=k(u8fr([1]),T),o=k())},I=()=>{if(c++>=1e3)throw new Error("drbg: tried 1000 values");let T=0;const M=[];for(;T{let R;for(y(),S(T);!(R=M(I()));)S();return y(),R}}const validatorFns={bigint:i=>"bigint"==typeof i,function:i=>"function"==typeof i,boolean:i=>"boolean"==typeof i,string:i=>"string"==typeof i,isSafeInteger:i=>Number.isSafeInteger(i),array:i=>Array.isArray(i),field:(i,a)=>a.Fp.isValid(i),hash:i=>"function"==typeof i&&Number.isSafeInteger(i.outputLen)};function validateObject(i,a,r={}){const o=(s,c,y)=>{const k=validatorFns[c];if("function"!=typeof k)throw new Error(`Invalid validator "${c}", expected function`);const S=i[s];if(!(y&&void 0===S||k(S,i)))throw new Error(`Invalid param ${String(s)}=${S} (${typeof S}), expected ${c}`)};for(const[s,c]of Object.entries(a))o(s,c,!1);for(const[s,c]of Object.entries(r))o(s,c,!0);return i}var ut=Object.freeze({__proto__:null,bitGet,bitLen,bitMask,bitSet,bytesToHex:bytesToHex$2,bytesToNumberBE,bytesToNumberLE,concatBytes:concatBytes$2,createHmacDrbg,ensureBytes:ensureBytes$1,equalBytes:equalBytes$1,hexToBytes:hexToBytes$2,hexToNumber,numberToBytesBE,numberToBytesLE,numberToHexUnpadded,numberToVarBytesBE,utf8ToBytes:utf8ToBytes$3,validateObject});const _0n$3=BigInt(0),_1n$3=BigInt(1),_2n$1=BigInt(2),_3n$1=BigInt(3),_4n=BigInt(4),_5n=BigInt(5),_8n=BigInt(8);function mod(i,a){const r=i%a;return r>=_0n$3?r:a+r}function pow(i,a,r){if(r<=_0n$3||a<_0n$3)throw new Error("Expected power/modulo > 0");if(r===_1n$3)return _0n$3;let o=_1n$3;for(;a>_0n$3;)a&_1n$3&&(o=o*i%r),i=i*i%r,a>>=_1n$3;return o}function pow2(i,a,r){let o=i;for(;a-- >_0n$3;)o*=o,o%=r;return o}function invert(i,a){if(i===_0n$3||a<=_0n$3)throw new Error(`invert: expected positive integers, got n=${i} mod=${a}`);let r=mod(i,a),o=a,s=_0n$3,c=_1n$3;for(;r!==_0n$3;){const y=o%r,k=s-c*(o/r);o=r,r=y,s=c,c=k}if(o!==_1n$3)throw new Error("invert: does not exist");return mod(s,a)}function tonelliShanks(i){const a=(i-_1n$3)/_2n$1;let r,o,s;for(r=i-_1n$3,o=0;r%_2n$1===_0n$3;r/=_2n$1,o++);for(s=_2n$1;s(r[o]="function",r),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}function FpPow(i,a,r){if(r<_0n$3)throw new Error("Expected power > 0");if(r===_0n$3)return i.ONE;if(r===_1n$3)return a;let o=i.ONE,s=a;for(;r>_0n$3;)r&_1n$3&&(o=i.mul(o,s)),s=i.sqr(s),r>>=_1n$3;return o}function FpInvertBatch(i,a){const r=new Array(a.length),o=a.reduce((c,y,k)=>i.is0(y)?c:(r[k]=c,i.mul(c,y)),i.ONE),s=i.inv(o);return a.reduceRight((c,y,k)=>i.is0(y)?c:(r[k]=i.mul(c,r[k]),i.mul(c,y)),s),r}function nLength(i,a){const r=void 0!==a?a:i.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}function Field(i,a,r=!1,o={}){if(i<=_0n$3)throw new Error(`Expected Fp ORDER > 0, got ${i}`);const{nBitLength:s,nByteLength:c}=nLength(i,a);if(c>2048)throw new Error("Field lengths over 2048 bytes are not supported");const y=FpSqrt(i),k=Object.freeze({ORDER:i,BITS:s,BYTES:c,MASK:bitMask(s),ZERO:_0n$3,ONE:_1n$3,create:S=>mod(S,i),isValid:S=>{if("bigint"!=typeof S)throw new Error("Invalid field element: expected bigint, got "+typeof S);return _0n$3<=S&&SS===_0n$3,isOdd:S=>(S&_1n$3)===_1n$3,neg:S=>mod(-S,i),eql:(S,I)=>S===I,sqr:S=>mod(S*S,i),add:(S,I)=>mod(S+I,i),sub:(S,I)=>mod(S-I,i),mul:(S,I)=>mod(S*I,i),pow:(S,I)=>FpPow(k,S,I),div:(S,I)=>mod(S*invert(I,i),i),sqrN:S=>S*S,addN:(S,I)=>S+I,subN:(S,I)=>S-I,mulN:(S,I)=>S*I,inv:S=>invert(S,i),sqrt:o.sqrt||(S=>y(k,S)),invertBatch:S=>FpInvertBatch(k,S),cmov:(S,I,T)=>T?I:S,toBytes:S=>r?numberToBytesLE(S,c):numberToBytesBE(S,c),fromBytes:S=>{if(S.length!==c)throw new Error(`Fp.fromBytes: expected ${c}, got ${S.length}`);return r?bytesToNumberLE(S):bytesToNumberBE(S)}});return Object.freeze(k)}function hashToPrivateScalar(i,a,r=!1){const o=(i=ensureBytes$1("privateHash",i)).length,s=nLength(a).nByteLength+8;if(s<24||o1024)throw new Error(`hashToPrivateScalar: expected ${s}-1024 bytes of input, got ${o}`);return mod(r?bytesToNumberLE(i):bytesToNumberBE(i),a-_1n$3)+_1n$3}const _0n$2=BigInt(0),_1n$2=BigInt(1);function wNAF(i,a){const r=(s,c)=>{const y=c.negate();return s?y:c},o=s=>({windows:Math.ceil(a/s)+1,windowSize:2**(s-1)});return{constTimeNegate:r,unsafeLadder(s,c){let y=i.ZERO,k=s;for(;c>_0n$2;)c&_1n$2&&(y=y.add(k)),k=k.double(),c>>=_1n$2;return y},precomputeWindow(s,c){const{windows:y,windowSize:k}=o(c),S=[];let I=s,T=I;for(let M=0;M>=L,q>S&&(q-=R,y+=_1n$2);const ct=W,ht=W+Math.abs(q)-1,xt=q<0;0===q?T=T.add(r(J%2!=0,c[ct])):I=I.add(r(xt,c[ht]))}return{p:I,f:T}},wNAFCached(s,c,y,k){const S=s._WINDOW_SIZE||1;let I=c.get(s);return I||(I=this.precomputeWindow(s,S),1!==S&&c.set(s,k(I))),this.wNAF(S,I,y)}}}function validateBasic(i){return validateField(i.Fp),validateObject(i,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...nLength(i.n,i.nBitLength),...i,p:i.Fp.ORDER})}function validatePointOpts(i){const a=validateBasic(i);validateObject(a,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:r,Fp:o,a:s}=a;if(r){if(!o.eql(s,o.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof r||"bigint"!=typeof r.beta||"function"!=typeof r.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...a})}const{bytesToNumberBE:b2n,hexToBytes:h2b}=ut,DER={Err:class extends Error{constructor(i=""){super(i)}},_parseInt(i){const{Err:a}=DER;if(i.length<2||2!==i[0])throw new a("Invalid signature integer tag");const r=i[1],o=i.subarray(2,r+2);if(!r||o.length!==r)throw new a("Invalid signature integer: wrong length");if(128&o[0])throw new a("Invalid signature integer: negative");if(0===o[0]&&!(128&o[1]))throw new a("Invalid signature integer: unnecessary leading zero");return{d:b2n(o),l:i.subarray(r+2)}},toSig(i){const{Err:a}=DER,r="string"==typeof i?h2b(i):i;if(!(r instanceof Uint8Array))throw new Error("ui8a expected");let o=r.length;if(o<2||48!=r[0])throw new a("Invalid signature tag");if(r[1]!==o-2)throw new a("Invalid signature: incorrect length");const{d:s,l:c}=DER._parseInt(r.subarray(2)),{d:y,l:k}=DER._parseInt(c);if(k.length)throw new a("Invalid signature: left bytes after parsing");return{r:s,s:y}},hexFromSig(i){const a=I=>8&Number.parseInt(I[0],16)?"00"+I:I,r=I=>{const T=I.toString(16);return 1&T.length?`0${T}`:T},o=a(r(i.s)),s=a(r(i.r)),c=o.length/2,y=s.length/2,k=r(c),S=r(y);return`30${r(y+c+4)}02${S}${s}02${k}${o}`}},_0n$1=BigInt(0),_1n$1=BigInt(1);BigInt(2);const _3n=BigInt(3);function weierstrassPoints(i){const a=validatePointOpts(i),{Fp:r}=a,o=a.toBytes||((J,W,q)=>{const ct=W.toAffine();return concatBytes$2(Uint8Array.from([4]),r.toBytes(ct.x),r.toBytes(ct.y))}),s=a.fromBytes||(J=>{const W=J.subarray(1);return{x:r.fromBytes(W.subarray(0,r.BYTES)),y:r.fromBytes(W.subarray(r.BYTES,2*r.BYTES))}});function c(J){const{a:W,b:q}=a,ct=r.sqr(J),ht=r.mul(ct,J);return r.add(r.add(ht,r.mul(J,W)),q)}if(!r.eql(r.sqr(a.Gy),c(a.Gx)))throw new Error("bad generator point: equation left != right");function y(J){return"bigint"==typeof J&&_0n$1r.eql(tt,r.ZERO);return ht(q)&&ht(ct)?M.ZERO:new M(q,ct,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(W){const q=r.invertBatch(W.map(ct=>ct.pz));return W.map((ct,ht)=>ct.toAffine(q[ht])).map(M.fromAffine)}static fromHex(W){const q=M.fromAffine(s(ensureBytes$1("pointHex",W)));return q.assertValidity(),q}static fromPrivateKey(W){return M.BASE.multiply(S(W))}_setWindowSize(W){this._WINDOW_SIZE=W,I.delete(this)}assertValidity(){if(this.is0()){if(a.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:W,y:q}=this.toAffine();if(!r.isValid(W)||!r.isValid(q))throw new Error("bad point: x or y not FE");const ct=r.sqr(q),ht=c(W);if(!r.eql(ct,ht))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:W}=this.toAffine();if(r.isOdd)return!r.isOdd(W);throw new Error("Field doesn't support isOdd")}equals(W){T(W);const{px:q,py:ct,pz:ht}=this,{px:tt,py:xt,pz:Tt}=W,$t=r.eql(r.mul(q,Tt),r.mul(tt,ht)),St=r.eql(r.mul(ct,Tt),r.mul(xt,ht));return $t&&St}negate(){return new M(this.px,r.neg(this.py),this.pz)}double(){const{a:W,b:q}=a,ct=r.mul(q,_3n),{px:ht,py:tt,pz:xt}=this;let Tt=r.ZERO,$t=r.ZERO,St=r.ZERO,_t=r.mul(ht,ht),nt=r.mul(tt,tt),at=r.mul(xt,xt),et=r.mul(ht,tt);return et=r.add(et,et),St=r.mul(ht,xt),St=r.add(St,St),Tt=r.mul(W,St),$t=r.mul(ct,at),$t=r.add(Tt,$t),Tt=r.sub(nt,$t),$t=r.add(nt,$t),$t=r.mul(Tt,$t),Tt=r.mul(et,Tt),St=r.mul(ct,St),at=r.mul(W,at),et=r.sub(_t,at),et=r.mul(W,et),et=r.add(et,St),St=r.add(_t,_t),_t=r.add(St,_t),_t=r.add(_t,at),_t=r.mul(_t,et),$t=r.add($t,_t),at=r.mul(tt,xt),at=r.add(at,at),_t=r.mul(at,et),Tt=r.sub(Tt,_t),St=r.mul(at,nt),St=r.add(St,St),St=r.add(St,St),new M(Tt,$t,St)}add(W){T(W);const{px:q,py:ct,pz:ht}=this,{px:tt,py:xt,pz:Tt}=W;let $t=r.ZERO,St=r.ZERO,_t=r.ZERO;const nt=a.a,at=r.mul(a.b,_3n);let et=r.mul(q,tt),bt=r.mul(ct,xt),Et=r.mul(ht,Tt),jt=r.add(q,ct),Gt=r.add(tt,xt);jt=r.mul(jt,Gt),Gt=r.add(et,bt),jt=r.sub(jt,Gt),Gt=r.add(q,ht);let ie=r.add(tt,Tt);return Gt=r.mul(Gt,ie),ie=r.add(et,Et),Gt=r.sub(Gt,ie),ie=r.add(ct,ht),$t=r.add(xt,Tt),ie=r.mul(ie,$t),$t=r.add(bt,Et),ie=r.sub(ie,$t),_t=r.mul(nt,Gt),$t=r.mul(at,Et),_t=r.add($t,_t),$t=r.sub(bt,_t),_t=r.add(bt,_t),St=r.mul($t,_t),bt=r.add(et,et),bt=r.add(bt,et),Et=r.mul(nt,Et),Gt=r.mul(at,Gt),bt=r.add(bt,Et),Et=r.sub(et,Et),Et=r.mul(nt,Et),Gt=r.add(Gt,Et),et=r.mul(bt,Gt),St=r.add(St,et),et=r.mul(ie,Gt),$t=r.mul(jt,$t),$t=r.sub($t,et),et=r.mul(jt,bt),_t=r.mul(ie,_t),_t=r.add(_t,et),new M($t,St,_t)}subtract(W){return this.add(W.negate())}is0(){return this.equals(M.ZERO)}wNAF(W){return L.wNAFCached(this,I,W,q=>{const ct=r.invertBatch(q.map(ht=>ht.pz));return q.map((ht,tt)=>ht.toAffine(ct[tt])).map(M.fromAffine)})}multiplyUnsafe(W){const q=M.ZERO;if(W===_0n$1)return q;if(k(W),W===_1n$1)return this;const{endo:ct}=a;if(!ct)return L.unsafeLadder(this,W);let{k1neg:ht,k1:tt,k2neg:xt,k2:Tt}=ct.splitScalar(W),$t=q,St=q,_t=this;for(;tt>_0n$1||Tt>_0n$1;)tt&_1n$1&&($t=$t.add(_t)),Tt&_1n$1&&(St=St.add(_t)),_t=_t.double(),tt>>=_1n$1,Tt>>=_1n$1;return ht&&($t=$t.negate()),xt&&(St=St.negate()),St=new M(r.mul(St.px,ct.beta),St.py,St.pz),$t.add(St)}multiply(W){k(W);let q,ct,ht=W;const{endo:tt}=a;if(tt){const{k1neg:xt,k1:Tt,k2neg:$t,k2:St}=tt.splitScalar(ht);let{p:_t,f:nt}=this.wNAF(Tt),{p:at,f:et}=this.wNAF(St);_t=L.constTimeNegate(xt,_t),at=L.constTimeNegate($t,at),at=new M(r.mul(at.px,tt.beta),at.py,at.pz),q=_t.add(at),ct=nt.add(et)}else{const{p:xt,f:Tt}=this.wNAF(ht);q=xt,ct=Tt}return M.normalizeZ([q,ct])[0]}multiplyAndAddUnsafe(W,q,ct){const ht=M.BASE,tt=(Tt,$t)=>$t!==_0n$1&&$t!==_1n$1&&Tt.equals(ht)?Tt.multiply($t):Tt.multiplyUnsafe($t),xt=tt(this,q).add(tt(W,ct));return xt.is0()?void 0:xt}toAffine(W){const{px:q,py:ct,pz:ht}=this,tt=this.is0();null==W&&(W=tt?r.ONE:r.inv(ht));const xt=r.mul(q,W),Tt=r.mul(ct,W),$t=r.mul(ht,W);if(tt)return{x:r.ZERO,y:r.ZERO};if(!r.eql($t,r.ONE))throw new Error("invZ was invalid");return{x:xt,y:Tt}}isTorsionFree(){const{h:W,isTorsionFree:q}=a;if(W===_1n$1)return!0;if(q)return q(M,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:W,clearCofactor:q}=a;return W===_1n$1?this:q?q(M,this):this.multiplyUnsafe(a.h)}toRawBytes(W=!0){return this.assertValidity(),o(M,this,W)}toHex(W=!0){return bytesToHex$2(this.toRawBytes(W))}}M.BASE=new M(a.Gx,a.Gy,r.ONE),M.ZERO=new M(r.ZERO,r.ONE,r.ZERO);const R=a.nBitLength,L=wNAF(M,a.endo?Math.ceil(R/2):R);return{CURVE:a,ProjectivePoint:M,normPrivateKeyToScalar:S,weierstrassEquation:c,isWithinCurveOrder:y}}function validateOpts(i){const a=validateBasic(i);return validateObject(a,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...a})}function weierstrass(i){const a=validateOpts(i),{Fp:r,n:o}=a,s=r.BYTES+1,c=2*r.BYTES+1;function y(nt){return mod(nt,o)}function k(nt){return invert(nt,o)}const{ProjectivePoint:S,normPrivateKeyToScalar:I,weierstrassEquation:T,isWithinCurveOrder:M}=weierstrassPoints({...a,toBytes(nt,at,et){const bt=at.toAffine(),Et=r.toBytes(bt.x),jt=concatBytes$2;return et?jt(Uint8Array.from([at.hasEvenY()?2:3]),Et):jt(Uint8Array.from([4]),Et,r.toBytes(bt.y))},fromBytes(nt){const at=nt.length,et=nt[0],bt=nt.subarray(1);if(at!==s||2!==et&&3!==et){if(at===c&&4===et)return{x:r.fromBytes(bt.subarray(0,r.BYTES)),y:r.fromBytes(bt.subarray(r.BYTES,2*r.BYTES))};throw new Error(`Point of length ${at} was invalid. Expected ${s} compressed bytes or ${c} uncompressed bytes`)}{const jt=bytesToNumberBE(bt);if(!(_0n$1<(Et=jt)&&EtbytesToHex$2(numberToBytesBE(nt,a.nByteLength));function L(nt){return nt>o>>_1n$1}const J=(nt,at,et)=>bytesToNumberBE(nt.slice(at,et));class W{constructor(at,et,bt){this.r=at,this.s=et,this.recovery=bt,this.assertValidity()}static fromCompact(at){const et=a.nByteLength;return at=ensureBytes$1("compactSignature",at,2*et),new W(J(at,0,et),J(at,et,2*et))}static fromDER(at){const{r:et,s:bt}=DER.toSig(ensureBytes$1("DER",at));return new W(et,bt)}assertValidity(){if(!M(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!M(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(at){return new W(this.r,this.s,at)}recoverPublicKey(at){const{r:et,s:bt,recovery:Et}=this,jt=tt(ensureBytes$1("msgHash",at));if(null==Et||![0,1,2,3].includes(Et))throw new Error("recovery id invalid");const Gt=2===Et||3===Et?et+a.n:et;if(Gt>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");const Xe=S.fromHex((1&Et?"03":"02")+R(Gt)),Er=k(Gt),gr=y(-jt*Er),vr=y(bt*Er),Xr=S.BASE.multiplyAndAddUnsafe(Xe,gr,vr);if(!Xr)throw new Error("point at infinify");return Xr.assertValidity(),Xr}hasHighS(){return L(this.s)}normalizeS(){return this.hasHighS()?new W(this.r,y(-this.s),this.recovery):this}toDERRawBytes(){return hexToBytes$2(this.toDERHex())}toDERHex(){return DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return hexToBytes$2(this.toCompactHex())}toCompactHex(){return R(this.r)+R(this.s)}}const q={isValidPrivateKey(nt){try{return I(nt),!0}catch{return!1}},normPrivateKeyToScalar:I,randomPrivateKey:()=>numberToBytesBE(hashToPrivateScalar(a.randomBytes(r.BYTES+8),o),a.nByteLength),precompute:(nt=8,at=S.BASE)=>(at._setWindowSize(nt),at.multiply(BigInt(3)),at)};function ct(nt){const at=nt instanceof Uint8Array,et="string"==typeof nt,bt=(at||et)&&nt.length;return at?bt===s||bt===c:et?bt===2*s||bt===2*c:nt instanceof S}const ht=a.bits2int||function(nt){const at=bytesToNumberBE(nt),et=8*nt.length-a.nBitLength;return et>0?at>>BigInt(et):at},tt=a.bits2int_modN||function(nt){return y(ht(nt))},xt=bitMask(a.nBitLength);function Tt(nt){if("bigint"!=typeof nt)throw new Error("bigint expected");if(!(_0n$1<=nt&&ntke in et))throw new Error("sign() legacy options not supported");const{hash:bt,randomBytes:Et}=a;let{lowS:jt,prehash:Gt,extraEntropy:ie}=et;null==jt&&(jt=!0),nt=ensureBytes$1("msgHash",nt),Gt&&(nt=ensureBytes$1("prehashed msgHash",bt(nt)));const Xe=tt(nt),Er=I(at),gr=[Tt(Er),Tt(Xe)];if(null!=ie){const ke=!0===ie?Et(r.BYTES):ie;gr.push(ensureBytes$1("extraEntropy",ke,r.BYTES))}const vr=concatBytes$2(...gr),Xr=Xe;return{seed:vr,k2sig:function(ke){const Rt=ht(ke);if(!M(Rt))return;const wt=k(Rt),Ut=S.BASE.multiply(Rt).toAffine(),Ae=y(Ut.x);if(Ae===_0n$1)return;const Xt=y(wt*y(Xr+Ae*Er));if(Xt===_0n$1)return;let pe=(Ut.x===Ae?0:2)|Number(Ut.y&_1n$1),te=Xt;return jt&&L(Xt)&&(te=L(Ye=Xt)?y(-Ye):Ye,pe^=1),new W(Ae,te,pe);var Ye}}}(nt,at,et);return createHmacDrbg(a.hash.outputLen,a.nByteLength,a.hmac)(bt,Et)},verify:function(nt,at,et,bt=_t){const Et=nt;if(at=ensureBytes$1("msgHash",at),et=ensureBytes$1("publicKey",et),"strict"in bt)throw new Error("options.strict was renamed to lowS");const{lowS:jt,prehash:Gt}=bt;let ie,Xe;try{if("string"==typeof Et||Et instanceof Uint8Array)try{ie=W.fromDER(Et)}catch(Ut){if(!(Ut instanceof DER.Err))throw Ut;ie=W.fromCompact(Et)}else{if("object"!=typeof Et||"bigint"!=typeof Et.r||"bigint"!=typeof Et.s)throw new Error("PARSE");{const{r:Ut,s:Ae}=Et;ie=new W(Ut,Ae)}}Xe=S.fromHex(et)}catch(Ut){if("PARSE"===Ut.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(jt&&ie.hasHighS())return!1;Gt&&(at=a.hash(at));const{r:Er,s:gr}=ie,vr=tt(at),Xr=k(gr),ke=y(vr*Xr),Rt=y(Er*Xr),wt=S.BASE.multiplyAndAddUnsafe(Xe,ke,Rt)?.toAffine();return!!wt&&y(wt.x)===Er},ProjectivePoint:S,Signature:W,utils:q}}BigInt(4);let HMAC$2=class extends Hash$2{constructor(i,a){super(),this.finished=!1,this.destroyed=!1,assert$3.hash(i);const r=toBytes$3(a);if(this.iHash=i.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?i.create().update(r).digest():r);for(let c=0;cnew HMAC$2(i,a).update(r).digest();function getHash(i){return{hash:i,hmac:(a,...r)=>hmac$2(i,a,concatBytes$3(...r)),randomBytes:randomBytes$2}}function createCurve(i,a){const r=o=>weierstrass({...i,...getHash(o)});return Object.freeze({...r(a),create:r})}hmac$2.create=(i,a)=>new HMAC$2(i,a);const secp256k1P=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),secp256k1N=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),_1n=BigInt(1),_2n=BigInt(2),divNearest=(i,a)=>(i+a/_2n)/a;function sqrtMod(i){const a=secp256k1P,r=BigInt(3),o=BigInt(6),s=BigInt(11),c=BigInt(22),y=BigInt(23),k=BigInt(44),S=BigInt(88),I=i*i*i%a,T=I*I*i%a,M=pow2(T,r,a)*T%a,R=pow2(M,r,a)*T%a,L=pow2(R,_2n,a)*I%a,J=pow2(L,s,a)*L%a,W=pow2(J,c,a)*J%a,q=pow2(W,k,a)*W%a,ct=pow2(q,S,a)*q%a,ht=pow2(ct,k,a)*W%a,tt=pow2(ht,r,a)*T%a,xt=pow2(tt,y,a)*J%a,Tt=pow2(xt,o,a)*I%a,$t=pow2(Tt,_2n,a);if(!Fp.eql(Fp.sqr($t),i))throw new Error("Cannot find square root");return $t}const Fp=Field(secp256k1P,void 0,void 0,{sqrt:sqrtMod}),secp256k1=createCurve({a:BigInt(0),b:BigInt(7),Fp,n:secp256k1N,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:i=>{const a=secp256k1N,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),o=-_1n*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),s=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),c=r,y=BigInt("0x100000000000000000000000000000000"),k=divNearest(c*i,a),S=divNearest(-o*i,a);let I=mod(i-k*r-S*s,a),T=mod(-k*o-S*c,a);const M=I>y,R=T>y;if(M&&(I=a-I),R&&(T=a-T),I>y||T>y)throw new Error("splitScalar: Endomorphism failed, k="+i);return{k1neg:M,k1:I,k2neg:R,k2:T}}}},sha256$2),_0n=BigInt(0),fe=i=>"bigint"==typeof i&&_0n"bigint"==typeof i&&_0ns.charCodeAt(0)));r=concatBytes$2(o,o),TAGGED_HASH_PREFIXES[i]=r}return sha256$2(concatBytes$2(r,...a))}const pointToBytes=i=>i.toRawBytes(!0).slice(1),numTo32b=i=>numberToBytesBE(i,32),modP=i=>mod(i,secp256k1P),modN=i=>mod(i,secp256k1N),Point$1=secp256k1.ProjectivePoint,GmulAdd=(i,a,r)=>Point$1.BASE.multiplyAndAddUnsafe(i,a,r);function schnorrGetExtPubKey(i){let a=secp256k1.utils.normPrivateKeyToScalar(i),r=Point$1.fromPrivateKey(a);return{scalar:r.hasEvenY()?a:modN(-a),bytes:pointToBytes(r)}}function lift_x(i){if(!fe(i))throw new Error("bad x: need 0 < x < p");const a=modP(i*i);let r=sqrtMod(modP(a*i+BigInt(7)));r%_2n!==_0n&&(r=modP(-r));const o=new Point$1(i,r,_1n);return o.assertValidity(),o}function challenge(...i){return modN(bytesToNumberBE(taggedHash("BIP0340/challenge",...i)))}function schnorrGetPublicKey(i){return schnorrGetExtPubKey(i).bytes}function schnorrSign(i,a,r=randomBytes$2(32)){const o=ensureBytes$1("message",i),{bytes:s,scalar:c}=schnorrGetExtPubKey(a),y=ensureBytes$1("auxRand",r,32),k=numTo32b(c^bytesToNumberBE(taggedHash("BIP0340/aux",y))),S=taggedHash("BIP0340/nonce",k,s,o),I=modN(bytesToNumberBE(S));if(I===_0n)throw new Error("sign failed: k is zero");const{bytes:T,scalar:M}=schnorrGetExtPubKey(I),R=challenge(T,s,o),L=new Uint8Array(64);if(L.set(T,0),L.set(numTo32b(modN(M+R*c)),32),!schnorrVerify(L,o,s))throw new Error("sign: Invalid signature produced");return L}function schnorrVerify(i,a,r){const o=ensureBytes$1("signature",i,64),s=ensureBytes$1("message",a),c=ensureBytes$1("publicKey",r,32);try{const y=lift_x(bytesToNumberBE(c)),k=bytesToNumberBE(o.subarray(0,32));if(!fe(k))return!1;const S=bytesToNumberBE(o.subarray(32,64));if(!ge(S))return!1;const I=challenge(numTo32b(k),pointToBytes(y),s),T=GmulAdd(y,S,modN(-I));return!(!T||!T.hasEvenY()||T.toAffine().x!==k)}catch{return!1}}const schnorr={getPublicKey:schnorrGetPublicKey,sign:schnorrSign,verify:schnorrVerify,utils:{randomPrivateKey:secp256k1.utils.randomPrivateKey,lift_x,pointToBytes,numberToBytesBE,bytesToNumberBE,taggedHash,mod}},crypto$2="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,u8a$1=i=>i instanceof Uint8Array,createView$1=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),rotr$1=(i,a)=>i<<32-a|i>>>a,isLE$2=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE$2)throw new Error("Non little-endian hardware is not supported");const hexes$1=Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));function bytesToHex$1(i){if(!u8a$1(i))throw new Error("Uint8Array expected");let a="";for(let r=0;ro+s.length,0));let r=0;return i.forEach(o=>{if(!u8a$1(o))throw new Error("Uint8Array expected");a.set(o,r),r+=o.length}),a}let Hash$1=class{clone(){return this._cloneInto()}};function wrapConstructor$1(i){const a=o=>i().update(toBytes$2(o)).digest(),r=i();return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=()=>i(),a}function randomBytes$1(i=32){if(crypto$2&&"function"==typeof crypto$2.getRandomValues)return crypto$2.getRandomValues(new Uint8Array(i));throw new Error("crypto.getRandomValues must be defined")}function number$2(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}function bool$2(i){if("boolean"!=typeof i)throw new Error(`Expected boolean, not ${i}`)}function bytes$2(i,...a){if(!(i instanceof Uint8Array))throw new Error("Expected Uint8Array");if(a.length>0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash$2(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");number$2(i.outputLen),number$2(i.blockLen)}function exists$2(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output$2(i,a){bytes$2(i);const r=a.outputLen;if(i.length>s&c),k=Number(r&c),I=o?0:4;i.setUint32(a+(o?4:0),y,o),i.setUint32(a+I,k,o)}let SHA2$1=class extends Hash$1{constructor(i,a,r,o){super(),this.blockLen=i,this.outputLen=a,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=createView$1(this.buffer)}update(i){assert$2.exists(this);const{view:a,buffer:r,blockLen:o}=this,s=(i=toBytes$2(i)).length;for(let c=0;co-c&&(this.process(r,0),c=0);for(let T=c;TI.length)throw new Error("_sha2: outputLen bigger than state");for(let T=0;Ti&a^~i&r,Maj$1=(i,a,r)=>i&a^i&r^a&r,SHA256_K$1=new Uint32Array([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]),IV$1=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W$1=new Uint32Array(64);let SHA256$1=class extends SHA2$1{constructor(){super(64,32,8,!1),this.A=0|IV$1[0],this.B=0|IV$1[1],this.C=0|IV$1[2],this.D=0|IV$1[3],this.E=0|IV$1[4],this.F=0|IV$1[5],this.G=0|IV$1[6],this.H=0|IV$1[7]}get(){const{A:i,B:a,C:r,D:o,E:s,F:c,G:y,H:k}=this;return[i,a,r,o,s,c,y,k]}set(i,a,r,o,s,c,y,k){this.A=0|i,this.B=0|a,this.C=0|r,this.D=0|o,this.E=0|s,this.F=0|c,this.G=0|y,this.H=0|k}process(i,a){for(let T=0;T<16;T++,a+=4)SHA256_W$1[T]=i.getUint32(a,!1);for(let T=16;T<64;T++){const M=SHA256_W$1[T-15],R=SHA256_W$1[T-2],L=rotr$1(M,7)^rotr$1(M,18)^M>>>3,J=rotr$1(R,17)^rotr$1(R,19)^R>>>10;SHA256_W$1[T]=J+SHA256_W$1[T-7]+L+SHA256_W$1[T-16]|0}let{A:r,B:o,C:s,D:c,E:y,F:k,G:S,H:I}=this;for(let T=0;T<64;T++){const M=I+(rotr$1(y,6)^rotr$1(y,11)^rotr$1(y,25))+Chi$1(y,k,S)+SHA256_K$1[T]+SHA256_W$1[T]|0,R=(rotr$1(r,2)^rotr$1(r,13)^rotr$1(r,22))+Maj$1(r,o,s)|0;I=S,S=k,k=y,y=c+M|0,c=s,s=o,o=r,r=M+R|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,y=y+this.E|0,k=k+this.F|0,S=S+this.G|0,I=I+this.H|0,this.set(r,o,s,c,y,k,S,I)}roundClean(){SHA256_W$1.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}};class SHA224 extends SHA256$1{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const sha256$1=wrapConstructor$1(()=>new SHA256$1);function assertNumber(i){if(!Number.isSafeInteger(i))throw new Error(`Wrong integer: ${i}`)}function chain$1(...i){const a=(r,o)=>s=>r(o(s));return{encode:Array.from(i).reverse().reduce((r,o)=>r?a(r,o.encode):o.encode,void 0),decode:i.reduce((r,o)=>r?a(r,o.decode):o.decode,void 0)}}function alphabet$1(i){return{encode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("alphabet.encode input should be an array of numbers");return a.map(r=>{if(assertNumber(r),r<0||r>=i.length)throw new Error(`Digit index outside alphabet: ${r} (alphabet: ${i.length})`);return i[r]})},decode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("alphabet.decode input should be array of strings");return a.map(r=>{if("string"!=typeof r)throw new Error(`alphabet.decode: not string element=${r}`);const o=i.indexOf(r);if(-1===o)throw new Error(`Unknown letter: "${r}". Allowed: ${i}`);return o})}}}function join$1(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("join.encode input should be array of strings");for(let r of a)if("string"!=typeof r)throw new Error(`join.encode: non-string input=${r}`);return a.join(i)},decode:a=>{if("string"!=typeof a)throw new Error("join.decode input should be string");return a.split(i)}}}function padding$1(i,a="="){if(assertNumber(i),"string"!=typeof a)throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let o of r)if("string"!=typeof o)throw new Error(`padding.encode: non-string input=${o}`);for(;r.length*i%8;)r.push(a);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let s of r)if("string"!=typeof s)throw new Error(`padding.decode: non-string input=${s}`);let o=r.length;if(o*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;o>0&&r[o-1]===a;o--)if(!((o-1)*i%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,o)}}}function normalize$1(i){if("function"!=typeof i)throw new Error("normalize fn should be function");return{encode:a=>a,decode:a=>i(a)}}function convertRadix$1(i,a,r){if(a<2)throw new Error(`convertRadix: wrong from=${a}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let o=0;const s=[],c=Array.from(i);for(c.forEach(y=>{if(assertNumber(y),y<0||y>=a)throw new Error(`Wrong integer: ${y}`)});;){let y=0,k=!0;for(let S=o;Snew SHA224);const gcd$1=(i,a)=>a?gcd$1(a,i%a):i,radix2carry$1=(i,a)=>i+(a-gcd$1(i,a));function convertRadix2$1(i,a,r,o){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(a<=0||a>32)throw new Error(`convertRadix2: wrong from=${a}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(radix2carry$1(a,r)>32)throw new Error(`convertRadix2: carry overflow from=${a} to=${r} carryBits=${radix2carry$1(a,r)}`);let s=0,c=0;const y=2**r-1,k=[];for(const S of i){if(assertNumber(S),S>=2**a)throw new Error(`convertRadix2: invalid data word=${S} from=${a}`);if(s=s<32)throw new Error(`convertRadix2: carry overflow pos=${c} from=${a}`);for(c+=a;c>=r;c-=r)k.push((s>>c-r&y)>>>0);s&=2**c-1}if(s=s<=a)throw new Error("Excess padding");if(!o&&s)throw new Error(`Non-zero padding: ${s}`);return o&&c>0&&k.push(s>>>0),k}function radix$1(i){return assertNumber(i),{encode:a=>{if(!(a instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return convertRadix$1(Array.from(a),256,i)},decode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(convertRadix$1(a,i,256))}}}function radix2$1(i,a=!1){if(assertNumber(i),i<=0||i>32)throw new Error("radix2: bits should be in (0..32]");if(radix2carry$1(8,i)>32||radix2carry$1(i,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!(r instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return convertRadix2$1(Array.from(r),8,i,!a)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(convertRadix2$1(r,i,8,a))}}}function unsafeWrapper$1(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...a){try{return i.apply(null,a)}catch{}}}const base16=chain$1(radix2$1(4),alphabet$1("0123456789ABCDEF"),join$1("")),base32=chain$1(radix2$1(5),alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),padding$1(5),join$1(""));chain$1(radix2$1(5),alphabet$1("0123456789ABCDEFGHIJKLMNOPQRSTUV"),padding$1(5),join$1("")),chain$1(radix2$1(5),alphabet$1("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),join$1(""),normalize$1(i=>i.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1")));const base64$1=chain$1(radix2$1(6),alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),padding$1(6),join$1("")),base64url=chain$1(radix2$1(6),alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),padding$1(6),join$1("")),genBase58$1=i=>chain$1(radix$1(58),alphabet$1(i),join$1("")),base58$1=genBase58$1("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");genBase58$1("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),genBase58$1("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const XMR_BLOCK_LEN=[0,2,3,5,6,7,9,10,11],base58xmr={encode(i){let a="";for(let r=0;r>25;let r=(33554431&i)<<5;for(let o=0;o>o&1)&&(r^=POLYMOD_GENERATORS$1[o]);return r}function bechChecksum$1(i,a,r=1){const o=i.length;let s=1;for(let c=0;c126)throw new Error(`Invalid prefix (${i})`);s=bech32Polymod$1(s)^y>>5}s=bech32Polymod$1(s);for(let c=0;cS)throw new TypeError(`Wrong string length: ${k.length} (${k}). Expected (8..${S})`);const I=k.toLowerCase();if(k!==I&&k!==k.toUpperCase())throw new Error("String must be lowercase or uppercase");const T=(k=I).lastIndexOf("1");if(0===T||-1===T)throw new Error('Letter "1" must be present between prefix and data only');const M=k.slice(0,T),R=k.slice(T+1);if(R.length<6)throw new Error("Data must be at least 6 characters long");const L=BECH_ALPHABET$1.decode(R).slice(0,-6),J=bechChecksum$1(M,L,a);if(!R.endsWith(J))throw new Error(`Invalid checksum in ${k}: expected "${J}"`);return{prefix:M,words:L}}return{encode:function(k,S,I=90){if("string"!=typeof k)throw new Error("bech32.encode prefix should be string, not "+typeof k);if(!Array.isArray(S)||S.length&&"number"!=typeof S[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof S);const T=k.length+7+S.length;if(!1!==I&&T>I)throw new TypeError(`Length ${T} exceeds limit ${I}`);return`${k=k.toLowerCase()}1${BECH_ALPHABET$1.encode(S)}${bechChecksum$1(k,S,a)}`},decode:y,decodeToBytes:function(k){const{prefix:S,words:I}=y(k,!1);return{prefix:S,words:I,bytes:o(I)}},decodeUnsafe:unsafeWrapper$1(y),fromWords:o,fromWordsUnsafe:c,toWords:s}}const bech32$1=genBech32$1("bech32");genBech32$1("bech32m");const utf8={encode:i=>(new TextDecoder).decode(i),decode:i=>(new TextEncoder).encode(i)},hex=chain$1(radix2$1(4),alphabet$1("0123456789abcdef"),join$1(""),normalize$1(i=>{if("string"!=typeof i||i.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof i} with length ${i.length}`);return i.toLowerCase()})),CODERS={utf8,hex,base16,base32,base64:base64$1,base64url,base58:base58$1,base58xmr};Object.keys(CODERS).join(", ");const wordlist="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n");function number$1(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}function bool$1(i){if("boolean"!=typeof i)throw new Error(`Expected boolean, not ${i}`)}function isBytes$2(i){return i instanceof Uint8Array||null!=i&&"object"==typeof i&&"Uint8Array"===i.constructor.name}function bytes$1(i,...a){if(!isBytes$2(i))throw new Error("Expected Uint8Array");if(a.length>0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash$1(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");number$1(i.outputLen),number$1(i.blockLen)}function exists$1(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output$1(i,a){bytes$1(i);const r=a.outputLen;if(i.lengthnew DataView(i.buffer,i.byteOffset,i.byteLength),rotr=(i,a)=>i<<32-a|i>>>a,isLE$1=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE$1)throw new Error("Non little-endian hardware is not supported");const hexes=Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));function bytesToHex(i){if(!isBytes$1(i))throw new Error("Uint8Array expected");let a="";for(let r=0;r=asciis._0&&i<=asciis._9?i-asciis._0:i>=asciis._A&&i<=asciis._F?i-(asciis._A-10):i>=asciis._a&&i<=asciis._f?i-(asciis._a-10):void 0}function hexToBytes(i){if("string"!=typeof i)throw new Error("hex string expected, got "+typeof i);const a=i.length,r=a/2;if(a%2)throw new Error("padded hex string expected, got unpadded hex of length "+a);const o=new Uint8Array(r);for(let s=0,c=0;si().update(toBytes$1(o)).digest(),r=i();return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=()=>i(),a}function randomBytes(i=32){if(crypto$1&&"function"==typeof crypto$1.getRandomValues)return crypto$1.getRandomValues(new Uint8Array(i));throw new Error("crypto.getRandomValues must be defined")}let HMAC$1=class extends Hash{constructor(i,a){super(),this.finished=!1,this.destroyed=!1,hash$1(i);const r=toBytes$1(a);if(this.iHash=i.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?i.create().update(r).digest():r);for(let c=0;cnew HMAC$1(i,a).update(r).digest();function pbkdf2Init(i,a,r,o){hash$1(i);const s=checkOpts$1({dkLen:32,asyncTick:10},o),{c,dkLen:y,asyncTick:k}=s;if(number$1(c),number$1(y),number$1(k),c<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const S=toBytes$1(a),I=toBytes$1(r),T=new Uint8Array(y),M=hmac$1.create(i,S),R=M._cloneInto().update(I);return{c,dkLen:y,asyncTick:k,DK:T,PRF:M,PRFSalt:R}}function pbkdf2Output(i,a,r,o,s){return i.destroy(),a.destroy(),o&&o.destroy(),s.fill(0),r}function pbkdf2(i,a,r,o){const{c:s,dkLen:c,DK:y,PRF:k,PRFSalt:S}=pbkdf2Init(i,a,r,o);let I;const T=new Uint8Array(4),M=createView(T),R=new Uint8Array(k.outputLen);for(let L=1,J=0;J>s&c),k=Number(r&c),I=o?0:4;i.setUint32(a+(o?4:0),y,o),i.setUint32(a+I,k,o)}hmac$1.create=(i,a)=>new HMAC$1(i,a);class SHA2 extends Hash{constructor(a,r,o,s){super(),this.blockLen=a,this.outputLen=r,this.padOffset=o,this.isLE=s,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(a),this.view=createView(this.buffer)}update(a){exists$1(this);const{view:r,buffer:o,blockLen:s}=this,c=(a=toBytes$1(a)).length;for(let y=0;ys-y&&(this.process(o,0),y=0);for(let M=y;MT.length)throw new Error("_sha2: outputLen bigger than state");for(let M=0;Mi&a^~i&r,Maj=(i,a,r)=>i&a^i&r^a&r,SHA256_K=new Uint32Array([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]),IV=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W=new Uint32Array(64);class SHA256 extends SHA2{constructor(){super(64,32,8,!1),this.A=0|IV[0],this.B=0|IV[1],this.C=0|IV[2],this.D=0|IV[3],this.E=0|IV[4],this.F=0|IV[5],this.G=0|IV[6],this.H=0|IV[7]}get(){const{A:a,B:r,C:o,D:s,E:c,F:y,G:k,H:S}=this;return[a,r,o,s,c,y,k,S]}set(a,r,o,s,c,y,k,S){this.A=0|a,this.B=0|r,this.C=0|o,this.D=0|s,this.E=0|c,this.F=0|y,this.G=0|k,this.H=0|S}process(a,r){for(let M=0;M<16;M++,r+=4)SHA256_W[M]=a.getUint32(r,!1);for(let M=16;M<64;M++){const R=SHA256_W[M-15],L=SHA256_W[M-2],J=rotr(R,7)^rotr(R,18)^R>>>3,W=rotr(L,17)^rotr(L,19)^L>>>10;SHA256_W[M]=W+SHA256_W[M-7]+J+SHA256_W[M-16]|0}let{A:o,B:s,C:c,D:y,E:k,F:S,G:I,H:T}=this;for(let M=0;M<64;M++){const R=T+(rotr(k,6)^rotr(k,11)^rotr(k,25))+Chi(k,S,I)+SHA256_K[M]+SHA256_W[M]|0,L=(rotr(o,2)^rotr(o,13)^rotr(o,22))+Maj(o,s,c)|0;T=I,I=S,S=k,k=y+R|0,y=c,c=s,s=o,o=R+L|0}o=o+this.A|0,s=s+this.B|0,c=c+this.C|0,y=y+this.D|0,k=k+this.E|0,S=S+this.F|0,I=I+this.G|0,T=T+this.H|0,this.set(o,s,c,y,k,S,I,T)}roundClean(){SHA256_W.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const sha256=wrapConstructor(()=>new SHA256),U32_MASK64=BigInt(2**32-1),_32n=BigInt(32);function fromBig(i,a=!1){return a?{h:Number(i&U32_MASK64),l:Number(i>>_32n&U32_MASK64)}:{h:0|Number(i>>_32n&U32_MASK64),l:0|Number(i&U32_MASK64)}}function split(i,a=!1){let r=new Uint32Array(i.length),o=new Uint32Array(i.length);for(let s=0;sBigInt(i>>>0)<<_32n|BigInt(a>>>0),shrSH=(i,a,r)=>i>>>r,shrSL=(i,a,r)=>i<<32-r|a>>>r,rotrSH=(i,a,r)=>i>>>r|a<<32-r,rotrSL=(i,a,r)=>i<<32-r|a>>>r,rotrBH=(i,a,r)=>i<<64-r|a>>>r-32,rotrBL=(i,a,r)=>i>>>r-32|a<<64-r,rotr32H=(i,a)=>a,rotr32L=(i,a)=>i,rotlSH=(i,a,r)=>i<>>32-r,rotlSL=(i,a,r)=>a<>>32-r,rotlBH=(i,a,r)=>a<>>64-r,rotlBL=(i,a,r)=>i<>>64-r;function add(i,a,r,o){const s=(a>>>0)+(o>>>0);return{h:i+r+(s/2**32|0)|0,l:0|s}}const add3L=(i,a,r)=>(i>>>0)+(a>>>0)+(r>>>0),add3H=(i,a,r,o)=>a+r+o+(i/2**32|0)|0,add4L=(i,a,r,o)=>(i>>>0)+(a>>>0)+(r>>>0)+(o>>>0),add4H=(i,a,r,o,s)=>a+r+o+s+(i/2**32|0)|0,add5L=(i,a,r,o,s)=>(i>>>0)+(a>>>0)+(r>>>0)+(o>>>0)+(s>>>0),add5H=(i,a,r,o,s,c)=>a+r+o+s+c+(i/2**32|0)|0,u64={fromBig,split,toBig,shrSH,shrSL,rotrSH,rotrSL,rotrBH,rotrBL,rotr32H,rotr32L,rotlSH,rotlSL,rotlBH,rotlBL,add,add3L,add3H,add4L,add4H,add5H,add5L},[SHA512_Kh,SHA512_Kl]=u64.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(i=>BigInt(i))),SHA512_W_H=new Uint32Array(80),SHA512_W_L=new Uint32Array(80);class SHA512 extends SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:a,Al:r,Bh:o,Bl:s,Ch:c,Cl:y,Dh:k,Dl:S,Eh:I,El:T,Fh:M,Fl:R,Gh:L,Gl:J,Hh:W,Hl:q}=this;return[a,r,o,s,c,y,k,S,I,T,M,R,L,J,W,q]}set(a,r,o,s,c,y,k,S,I,T,M,R,L,J,W,q){this.Ah=0|a,this.Al=0|r,this.Bh=0|o,this.Bl=0|s,this.Ch=0|c,this.Cl=0|y,this.Dh=0|k,this.Dl=0|S,this.Eh=0|I,this.El=0|T,this.Fh=0|M,this.Fl=0|R,this.Gh=0|L,this.Gl=0|J,this.Hh=0|W,this.Hl=0|q}process(a,r){for(let tt=0;tt<16;tt++,r+=4)SHA512_W_H[tt]=a.getUint32(r),SHA512_W_L[tt]=a.getUint32(r+=4);for(let tt=16;tt<80;tt++){const xt=0|SHA512_W_H[tt-15],Tt=0|SHA512_W_L[tt-15],$t=u64.rotrSH(xt,Tt,1)^u64.rotrSH(xt,Tt,8)^u64.shrSH(xt,Tt,7),St=u64.rotrSL(xt,Tt,1)^u64.rotrSL(xt,Tt,8)^u64.shrSL(xt,Tt,7),_t=0|SHA512_W_H[tt-2],nt=0|SHA512_W_L[tt-2],at=u64.rotrSH(_t,nt,19)^u64.rotrBH(_t,nt,61)^u64.shrSH(_t,nt,6),et=u64.rotrSL(_t,nt,19)^u64.rotrBL(_t,nt,61)^u64.shrSL(_t,nt,6),bt=u64.add4L(St,et,SHA512_W_L[tt-7],SHA512_W_L[tt-16]),Et=u64.add4H(bt,$t,at,SHA512_W_H[tt-7],SHA512_W_H[tt-16]);SHA512_W_H[tt]=0|Et,SHA512_W_L[tt]=0|bt}let{Ah:o,Al:s,Bh:c,Bl:y,Ch:k,Cl:S,Dh:I,Dl:T,Eh:M,El:R,Fh:L,Fl:J,Gh:W,Gl:q,Hh:ct,Hl:ht}=this;for(let tt=0;tt<80;tt++){const xt=u64.rotrSH(M,R,14)^u64.rotrSH(M,R,18)^u64.rotrBH(M,R,41),Tt=u64.rotrSL(M,R,14)^u64.rotrSL(M,R,18)^u64.rotrBL(M,R,41),$t=M&L^~M&W,_t=u64.add5L(ht,Tt,R&J^~R&q,SHA512_Kl[tt],SHA512_W_L[tt]),nt=u64.add5H(_t,ct,xt,$t,SHA512_Kh[tt],SHA512_W_H[tt]),at=0|_t,et=u64.rotrSH(o,s,28)^u64.rotrBH(o,s,34)^u64.rotrBH(o,s,39),bt=u64.rotrSL(o,s,28)^u64.rotrBL(o,s,34)^u64.rotrBL(o,s,39),Et=o&c^o&k^c&k,jt=s&y^s&S^y&S;ct=0|W,ht=0|q,W=0|L,q=0|J,L=0|M,J=0|R,({h:M,l:R}=u64.add(0|I,0|T,0|nt,0|at)),I=0|k,T=0|S,k=0|c,S=0|y,c=0|o,y=0|s;const Gt=u64.add3L(at,bt,jt);o=u64.add3H(Gt,nt,et,Et),s=0|Gt}({h:o,l:s}=u64.add(0|this.Ah,0|this.Al,0|o,0|s)),({h:c,l:y}=u64.add(0|this.Bh,0|this.Bl,0|c,0|y)),({h:k,l:S}=u64.add(0|this.Ch,0|this.Cl,0|k,0|S)),({h:I,l:T}=u64.add(0|this.Dh,0|this.Dl,0|I,0|T)),({h:M,l:R}=u64.add(0|this.Eh,0|this.El,0|M,0|R)),({h:L,l:J}=u64.add(0|this.Fh,0|this.Fl,0|L,0|J)),({h:W,l:q}=u64.add(0|this.Gh,0|this.Gl,0|W,0|q)),({h:ct,l:ht}=u64.add(0|this.Hh,0|this.Hl,0|ct,0|ht)),this.set(o,s,c,y,k,S,I,T,M,R,L,J,W,q,ct,ht)}roundClean(){SHA512_W_H.fill(0),SHA512_W_L.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const sha512=wrapConstructor(()=>new SHA512);function isBytes(i){return i instanceof Uint8Array||null!=i&&"object"==typeof i&&"Uint8Array"===i.constructor.name}function chain(...i){const a=o=>o,r=(o,s)=>c=>o(s(c));return{encode:i.map(o=>o.encode).reduceRight(r,a),decode:i.map(o=>o.decode).reduce(r,a)}}function alphabet(i){return{encode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("alphabet.encode input should be an array of numbers");return a.map(r=>{if(r<0||r>=i.length)throw new Error(`Digit index outside alphabet: ${r} (alphabet: ${i.length})`);return i[r]})},decode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("alphabet.decode input should be array of strings");return a.map(r=>{if("string"!=typeof r)throw new Error(`alphabet.decode: not string element=${r}`);const o=i.indexOf(r);if(-1===o)throw new Error(`Unknown letter: "${r}". Allowed: ${i}`);return o})}}}function join(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("join.encode input should be array of strings");for(let r of a)if("string"!=typeof r)throw new Error(`join.encode: non-string input=${r}`);return a.join(i)},decode:a=>{if("string"!=typeof a)throw new Error("join.decode input should be string");return a.split(i)}}}function padding(i,a="="){if("string"!=typeof a)throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let o of r)if("string"!=typeof o)throw new Error(`padding.encode: non-string input=${o}`);for(;r.length*i%8;)r.push(a);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let s of r)if("string"!=typeof s)throw new Error(`padding.decode: non-string input=${s}`);let o=r.length;if(o*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;o>0&&r[o-1]===a;o--)if(!((o-1)*i%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,o)}}}function convertRadix(i,a,r){if(a<2)throw new Error(`convertRadix: wrong from=${a}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let o=0;const s=[],c=Array.from(i);for(c.forEach(y=>{if(y<0||y>=a)throw new Error(`Wrong integer: ${y}`)});;){let y=0,k=!0;for(let S=o;Sa?gcd(a,i%a):i,radix2carry=(i,a)=>i+(a-gcd(i,a));function convertRadix2(i,a,r,o){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(a<=0||a>32)throw new Error(`convertRadix2: wrong from=${a}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(radix2carry(a,r)>32)throw new Error(`convertRadix2: carry overflow from=${a} to=${r} carryBits=${radix2carry(a,r)}`);let s=0,c=0;const y=2**r-1,k=[];for(const S of i){if(S>=2**a)throw new Error(`convertRadix2: invalid data word=${S} from=${a}`);if(s=s<32)throw new Error(`convertRadix2: carry overflow pos=${c} from=${a}`);for(c+=a;c>=r;c-=r)k.push((s>>c-r&y)>>>0);s&=2**c-1}if(s=s<=a)throw new Error("Excess padding");if(!o&&s)throw new Error(`Non-zero padding: ${s}`);return o&&c>0&&k.push(s>>>0),k}function radix(i){return{encode:a=>{if(!isBytes(a))throw new Error("radix.encode input should be Uint8Array");return convertRadix(Array.from(a),256,i)},decode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(convertRadix(a,i,256))}}}function radix2(i,a=!1){if(i<=0||i>32)throw new Error("radix2: bits should be in (0..32]");if(radix2carry(8,i)>32||radix2carry(i,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!isBytes(r))throw new Error("radix2.encode input should be Uint8Array");return convertRadix2(Array.from(r),8,i,!a)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(convertRadix2(r,i,8,a))}}}function unsafeWrapper(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...a){try{return i.apply(null,a)}catch{}}}function checksum(i,a){if("function"!=typeof a)throw new Error("checksum fn should be function");return{encode(r){if(!isBytes(r))throw new Error("checksum.encode: input should be Uint8Array");const o=a(r).slice(0,i),s=new Uint8Array(r.length+i);return s.set(r),s.set(o,r.length),s},decode(r){if(!isBytes(r))throw new Error("checksum.decode: input should be Uint8Array");const o=r.slice(0,-i),s=a(o).slice(0,i),c=r.slice(-i);for(let y=0;ychain(radix(58),alphabet(i),join("")),base58=genBase58("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),createBase58check=i=>chain(checksum(4,a=>i(i(a))),base58),base58check$1=createBase58check,BECH_ALPHABET=chain(alphabet("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),join("")),POLYMOD_GENERATORS=[996825010,642813549,513874426,1027748829,705979059];function bech32Polymod(i){const a=i>>25;let r=(33554431&i)<<5;for(let o=0;o>o&1)&&(r^=POLYMOD_GENERATORS[o]);return r}function bechChecksum(i,a,r=1){const o=i.length;let s=1;for(let c=0;c126)throw new Error(`Invalid prefix (${i})`);s=bech32Polymod(s)^y>>5}s=bech32Polymod(s);for(let c=0;cS)throw new TypeError(`Wrong string length: ${k.length} (${k}). Expected (8..${S})`);const I=k.toLowerCase();if(k!==I&&k!==k.toUpperCase())throw new Error("String must be lowercase or uppercase");const T=(k=I).lastIndexOf("1");if(0===T||-1===T)throw new Error('Letter "1" must be present between prefix and data only');const M=k.slice(0,T),R=k.slice(T+1);if(R.length<6)throw new Error("Data must be at least 6 characters long");const L=BECH_ALPHABET.decode(R).slice(0,-6),J=bechChecksum(M,L,a);if(!R.endsWith(J))throw new Error(`Invalid checksum in ${k}: expected "${J}"`);return{prefix:M,words:L}}return{encode:function(k,S,I=90){if("string"!=typeof k)throw new Error("bech32.encode prefix should be string, not "+typeof k);if(!Array.isArray(S)||S.length&&"number"!=typeof S[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof S);const T=k.length+7+S.length;if(!1!==I&&T>I)throw new TypeError(`Length ${T} exceeds limit ${I}`);const M=k.toLowerCase(),R=bechChecksum(M,S,a);return`${M}1${BECH_ALPHABET.encode(S)}${R}`},decode:y,decodeToBytes:function(k){const{prefix:S,words:I}=y(k,!1);return{prefix:S,words:I,bytes:o(I)}},decodeUnsafe:unsafeWrapper(y),fromWords:o,fromWordsUnsafe:c,toWords:s}}const bech32=genBech32("bech32"),isJapanese=i=>"\u3042\u3044\u3053\u304f\u3057\u3093"===i[0];function nfkd(i){if("string"!=typeof i)throw new TypeError("Invalid mnemonic type: "+typeof i);return i.normalize("NFKD")}function normalize(i){const a=nfkd(i),r=a.split(" ");if(![12,15,18,21,24].includes(r.length))throw new Error("Invalid mnemonic");return{nfkd:a,words:r}}function assertEntropy(i){assert$1.bytes(i,16,20,24,28,32)}function generateMnemonic(i,a=128){if(assert$1.number(a),a%32!=0||a>256)throw new TypeError("Invalid entropy");return entropyToMnemonic(randomBytes(a/8),i)}const calcChecksum=i=>{const a=8-i.length/4;return new Uint8Array([sha256(i)[0]>>a<{if("string"!=typeof a)throw new Error(`Wordlist: non-string element: ${a}`)}),utils$1.chain(utils$1.checksum(1,calcChecksum),utils$1.radix2(11,!0),utils$1.alphabet(i))}function mnemonicToEntropy(i,a){const{words:r}=normalize(i),o=getCoder(a).decode(r);return assertEntropy(o),o}function entropyToMnemonic(i,a){return assertEntropy(i),getCoder(a).encode(i).join(isJapanese(a)?"\u3000":" ")}function validateMnemonic(i,a){try{mnemonicToEntropy(i,a)}catch{return!1}return!0}const salt=i=>nfkd(`mnemonic${i}`);function mnemonicToSeedSync(i,a=""){return pbkdf2(sha512,normalize(i).nfkd,salt(a),{c:2048,dkLen:64})}const Rho=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),Id=Uint8Array.from({length:16},(i,a)=>a),Pi=Id.map(i=>(9*i+5)%16);let idxL=[Id],idxR=[Pi];for(let i=0;i<4;i++)for(let a of[idxL,idxR])a.push(a[i].map(r=>Rho[r]));const shifts=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(i=>new Uint8Array(i)),shiftsL=idxL.map((i,a)=>i.map(r=>shifts[a][r])),shiftsR=idxR.map((i,a)=>i.map(r=>shifts[a][r])),Kl=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Kr=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),rotl$1=(i,a)=>i<>>32-a;function f(i,a,r,o){return 0===i?a^r^o:1===i?a&r|~a&o:2===i?(a|~r)^o:3===i?a&o|r&~o:a^(r|~o)}const BUF=new Uint32Array(16);class RIPEMD160 extends SHA2{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:a,h1:r,h2:o,h3:s,h4:c}=this;return[a,r,o,s,c]}set(a,r,o,s,c){this.h0=0|a,this.h1=0|r,this.h2=0|o,this.h3=0|s,this.h4=0|c}process(a,r){for(let L=0;L<16;L++,r+=4)BUF[L]=a.getUint32(r,!0);let o=0|this.h0,s=o,c=0|this.h1,y=c,k=0|this.h2,S=k,I=0|this.h3,T=I,M=0|this.h4,R=M;for(let L=0;L<5;L++){const J=4-L,W=Kl[L],q=Kr[L],ct=idxL[L],ht=idxR[L],tt=shiftsL[L],xt=shiftsR[L];for(let Tt=0;Tt<16;Tt++){const $t=rotl$1(o+f(L,c,k,I)+BUF[ct[Tt]]+W,tt[Tt])+M|0;o=M,M=I,I=0|rotl$1(k,10),k=c,c=$t}for(let Tt=0;Tt<16;Tt++){const $t=rotl$1(s+f(J,y,S,T)+BUF[ht[Tt]]+q,xt[Tt])+R|0;s=R,R=T,T=0|rotl$1(S,10),S=y,y=$t}}this.set(this.h1+k+T|0,this.h2+I+R|0,this.h3+M+s|0,this.h4+o+y|0,this.h0+c+S|0)}roundClean(){BUF.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const ripemd160=wrapConstructor(()=>new RIPEMD160),Point=secp256k1.ProjectivePoint,base58check=base58check$1(sha256);function bytesToNumber(i){return BigInt(`0x${bytesToHex(i)}`)}function numberToBytes(i){return hexToBytes(i.toString(16).padStart(64,"0"))}const MASTER_SECRET=utf8ToBytes$1("Bitcoin seed"),BITCOIN_VERSIONS={private:76066276,public:76067358},HARDENED_OFFSET=2147483648,hash160=i=>ripemd160(sha256(i)),fromU32=i=>createView(i).getUint32(0,!1),toU32=i=>{if(!Number.isSafeInteger(i)||i<0||i>2**32-1)throw new Error(`Invalid number=${i}. Should be from 0 to 2 ** 32 - 1`);const a=new Uint8Array(4);return createView(a).setUint32(0,i,!1),a};class HDKey{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return fromU32(this.pubHash)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const a=this.privateKey;if(!a)throw new Error("No private key");return base58check.encode(this.serialize(this.versions.private,concatBytes(new Uint8Array([0]),a)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return base58check.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(a,r=BITCOIN_VERSIONS){if(bytes$1(a),8*a.length<128||8*a.length>512)throw new Error(`HDKey: wrong seed length=${a.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const o=hmac$1(sha512,MASTER_SECRET,a);return new HDKey({versions:r,chainCode:o.slice(32),privateKey:o.slice(0,32)})}static fromExtendedKey(a,r=BITCOIN_VERSIONS){const o=base58check.decode(a),s=createView(o),c=s.getUint32(0,!1),y={versions:r,depth:o[4],parentFingerprint:s.getUint32(5,!1),index:s.getUint32(9,!1),chainCode:o.slice(13,45)},k=o.slice(45),S=0===k[0];if(c!==r[S?"private":"public"])throw new Error("Version mismatch");return new HDKey(S?{...y,privateKey:k.slice(1)}:{...y,publicKey:k})}static fromJSON(a){return HDKey.fromExtendedKey(a.xpriv)}constructor(a){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!a||"object"!=typeof a)throw new Error("HDKey.constructor must not be called directly");if(this.versions=a.versions||BITCOIN_VERSIONS,this.depth=a.depth||0,this.chainCode=a.chainCode,this.index=a.index||0,this.parentFingerprint=a.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(a.publicKey&&a.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(a.privateKey){if(!secp256k1.utils.isValidPrivateKey(a.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof a.privateKey?a.privateKey:bytesToNumber(a.privateKey),this.privKeyBytes=numberToBytes(this.privKey),this.pubKey=secp256k1.getPublicKey(a.privateKey,!0)}else{if(!a.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=Point.fromHex(a.publicKey).toRawBytes(!0)}this.pubHash=hash160(this.pubKey)}derive(a){if(!/^[mM]'?/.test(a))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(a))return this;const r=a.replace(/^[mM]'?\//,"").split("/");let o=this;for(const s of r){const c=/^(\d+)('?)$/.exec(s);if(!c||3!==c.length)throw new Error(`Invalid child index: ${s}`);let y=+c[1];if(!Number.isSafeInteger(y)||y>=HARDENED_OFFSET)throw new Error("Invalid index");"'"===c[2]&&(y+=HARDENED_OFFSET),o=o.deriveChild(y)}return o}deriveChild(a){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let r=toU32(a);if(a>=HARDENED_OFFSET){const k=this.privateKey;if(!k)throw new Error("Could not derive hardened child key");r=concatBytes(new Uint8Array([0]),k,r)}else r=concatBytes(this.pubKey,r);const o=hmac$1(sha512,this.chainCode,r),s=bytesToNumber(o.slice(0,32)),c=o.slice(32);if(!secp256k1.utils.isValidPrivateKey(s))throw new Error("Tweak bigger than curve order");const y={versions:this.versions,chainCode:c,depth:this.depth+1,parentFingerprint:this.fingerprint,index:a};try{if(this.privateKey){const k=mod(this.privKey+s,secp256k1.CURVE.n);if(!secp256k1.utils.isValidPrivateKey(k))throw new Error("The tweak was out of range or the resulted private key is invalid");y.privateKey=k}else{const k=Point.fromHex(this.pubKey).add(Point.fromPrivateKey(s));if(k.equals(Point.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");y.publicKey=k.toRawBytes(!0)}return new HDKey(y)}catch{return this.deriveChild(a+1)}}sign(a){if(!this.privateKey)throw new Error("No privateKey set!");return bytes$1(a,32),secp256k1.sign(a,this.privKey).toCompactRawBytes()}verify(a,r){if(bytes$1(a,32),bytes$1(r,64),!this.publicKey)throw new Error("No publicKey set!");let o;try{o=secp256k1.Signature.fromCompact(r)}catch{return!1}return secp256k1.verify(o,a,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(a,r){if(!this.chainCode)throw new Error("No chainCode set");return bytes$1(r,33),concatBytes(toU32(a),new Uint8Array([this.depth]),toU32(this.parentFingerprint),toU32(this.index),this.chainCode,r)}}const u8a=i=>i instanceof Uint8Array,u32=i=>new Uint32Array(i.buffer,i.byteOffset,Math.floor(i.byteLength/4)),isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE)throw new Error("Non little-endian hardware is not supported");function utf8ToBytes(i){if("string"!=typeof i)throw new Error("utf8ToBytes expected string, got "+typeof i);return new Uint8Array((new TextEncoder).encode(i))}function toBytes(i){if("string"==typeof i&&(i=utf8ToBytes(i)),!u8a(i))throw new Error("expected Uint8Array, got "+typeof i);return i}const isPlainObject=i=>"[object Object]"===Object.prototype.toString.call(i)&&i.constructor===Object;function checkOpts(i,a){if(void 0!==a&&("object"!=typeof a||!isPlainObject(a)))throw new Error("options must be object or undefined");return Object.assign(i,a)}function ensureBytes(i,a){if(!(i instanceof Uint8Array))throw new Error("Uint8Array expected");if("number"==typeof a&&i.length!==a)throw new Error(`Uint8Array length ${a} expected`)}function equalBytes(i,a){if(i.length!==a.length)throw new Error("equalBytes: Different size of Uint8Arrays");let r=!0;for(let o=0;o0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("hash must be wrapped by utils.wrapConstructor");number(i.outputLen),number(i.blockLen)}function exists(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output(i,a){bytes(i);const r=a.outputLen;if(i.length255&i[a++]|(255&i[a++])<<8;class Poly1305{constructor(a){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,ensureBytes(a=toBytes(a),32);const r=u8to16(a,0),o=u8to16(a,2),s=u8to16(a,4),c=u8to16(a,6),y=u8to16(a,8),k=u8to16(a,10),S=u8to16(a,12),I=u8to16(a,14);this.r[0]=8191&r,this.r[1]=8191&(r>>>13|o<<3),this.r[2]=7939&(o>>>10|s<<6),this.r[3]=8191&(s>>>7|c<<9),this.r[4]=255&(c>>>4|y<<12),this.r[5]=y>>>1&8190,this.r[6]=8191&(y>>>14|k<<2),this.r[7]=8065&(k>>>11|S<<5),this.r[8]=8191&(S>>>8|I<<8),this.r[9]=I>>>5&127;for(let T=0;T<8;T++)this.pad[T]=u8to16(a,16+2*T)}process(a,r,o=!1){const s=o?0:2048,{h:c,r:y}=this,k=y[0],S=y[1],I=y[2],T=y[3],M=y[4],R=y[5],L=y[6],J=y[7],W=y[8],q=y[9],ct=u8to16(a,r+0),ht=u8to16(a,r+2),tt=u8to16(a,r+4),xt=u8to16(a,r+6),Tt=u8to16(a,r+8),$t=u8to16(a,r+10),St=u8to16(a,r+12),_t=u8to16(a,r+14);let nt=c[0]+(8191&ct),at=c[1]+(8191&(ct>>>13|ht<<3)),et=c[2]+(8191&(ht>>>10|tt<<6)),bt=c[3]+(8191&(tt>>>7|xt<<9)),Et=c[4]+(8191&(xt>>>4|Tt<<12)),jt=c[5]+(Tt>>>1&8191),Gt=c[6]+(8191&(Tt>>>14|$t<<2)),ie=c[7]+(8191&($t>>>11|St<<5)),Xe=c[8]+(8191&(St>>>8|_t<<8)),Er=c[9]+(_t>>>5|s),gr=0,vr=gr+nt*k+at*(5*q)+et*(5*W)+bt*(5*J)+Et*(5*L);gr=vr>>>13,vr&=8191,vr+=jt*(5*R)+Gt*(5*M)+ie*(5*T)+Xe*(5*I)+Er*(5*S),gr+=vr>>>13,vr&=8191;let Xr=gr+nt*S+at*k+et*(5*q)+bt*(5*W)+Et*(5*J);gr=Xr>>>13,Xr&=8191,Xr+=jt*(5*L)+Gt*(5*R)+ie*(5*M)+Xe*(5*T)+Er*(5*I),gr+=Xr>>>13,Xr&=8191;let ke=gr+nt*I+at*S+et*k+bt*(5*q)+Et*(5*W);gr=ke>>>13,ke&=8191,ke+=jt*(5*J)+Gt*(5*L)+ie*(5*R)+Xe*(5*M)+Er*(5*T),gr+=ke>>>13,ke&=8191;let Rt=gr+nt*T+at*I+et*S+bt*k+Et*(5*q);gr=Rt>>>13,Rt&=8191,Rt+=jt*(5*W)+Gt*(5*J)+ie*(5*L)+Xe*(5*R)+Er*(5*M),gr+=Rt>>>13,Rt&=8191;let wt=gr+nt*M+at*T+et*I+bt*S+Et*k;gr=wt>>>13,wt&=8191,wt+=jt*(5*q)+Gt*(5*W)+ie*(5*J)+Xe*(5*L)+Er*(5*R),gr+=wt>>>13,wt&=8191;let Ut=gr+nt*R+at*M+et*T+bt*I+Et*S;gr=Ut>>>13,Ut&=8191,Ut+=jt*k+Gt*(5*q)+ie*(5*W)+Xe*(5*J)+Er*(5*L),gr+=Ut>>>13,Ut&=8191;let Ae=gr+nt*L+at*R+et*M+bt*T+Et*I;gr=Ae>>>13,Ae&=8191,Ae+=jt*S+Gt*k+ie*(5*q)+Xe*(5*W)+Er*(5*J),gr+=Ae>>>13,Ae&=8191;let Xt=gr+nt*J+at*L+et*R+bt*M+Et*T;gr=Xt>>>13,Xt&=8191,Xt+=jt*I+Gt*S+ie*k+Xe*(5*q)+Er*(5*W),gr+=Xt>>>13,Xt&=8191;let pe=gr+nt*W+at*J+et*L+bt*R+Et*M;gr=pe>>>13,pe&=8191,pe+=jt*T+Gt*I+ie*S+Xe*k+Er*(5*q),gr+=pe>>>13,pe&=8191;let te=gr+nt*q+at*W+et*J+bt*L+Et*R;gr=te>>>13,te&=8191,te+=jt*M+Gt*T+ie*I+Xe*S+Er*k,gr+=te>>>13,te&=8191,gr=(gr<<2)+gr|0,gr=gr+vr|0,vr=8191&gr,gr>>>=13,Xr+=gr,c[0]=vr,c[1]=Xr,c[2]=ke,c[3]=Rt,c[4]=wt,c[5]=Ut,c[6]=Ae,c[7]=Xt,c[8]=pe,c[9]=te}finalize(){const{h:a,pad:r}=this,o=new Uint16Array(10);let s=a[1]>>>13;a[1]&=8191;for(let k=2;k<10;k++)a[k]+=s,s=a[k]>>>13,a[k]&=8191;a[0]+=5*s,s=a[0]>>>13,a[0]&=8191,a[1]+=s,s=a[1]>>>13,a[1]&=8191,a[2]+=s,o[0]=a[0]+5,s=o[0]>>>13,o[0]&=8191;for(let k=1;k<10;k++)o[k]=a[k]+s,s=o[k]>>>13,o[k]&=8191;o[9]-=8192;let c=(1^s)-1;for(let k=0;k<10;k++)o[k]&=c;c=~c;for(let k=0;k<10;k++)a[k]=a[k]&c|o[k];a[0]=65535&(a[0]|a[1]<<13),a[1]=65535&(a[1]>>>3|a[2]<<10),a[2]=65535&(a[2]>>>6|a[3]<<7),a[3]=65535&(a[3]>>>9|a[4]<<4),a[4]=65535&(a[4]>>>12|a[5]<<1|a[6]<<14),a[5]=65535&(a[6]>>>2|a[7]<<11),a[6]=65535&(a[7]>>>5|a[8]<<8),a[7]=65535&(a[8]>>>8|a[9]<<5);let y=a[0]+r[0];a[0]=65535&y;for(let k=1;k<8;k++)y=(a[k]+r[k]|0)+(y>>>16)|0,a[k]=65535&y}update(a){assert.exists(this);const{buffer:r,blockLen:o}=this,s=(a=toBytes(a)).length;for(let c=0;c>>0,a[c++]=o[y]>>>8;return a}digest(){const{buffer:a,outputLen:r}=this;this.digestInto(a);const o=a.slice(0,r);return this.destroy(),o}}function wrapConstructorWithKey(i){const a=(o,s)=>i(s).update(toBytes(o)).digest(),r=i(new Uint8Array(32));return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=o=>i(o),a}wrapConstructorWithKey(i=>new Poly1305(i));const sigma16=utf8ToBytes("expand 16-byte k"),sigma32=utf8ToBytes("expand 32-byte k"),sigma16_32=u32(sigma16),sigma32_32=u32(sigma32),isAligned32=i=>!(i.byteOffset%4),salsaBasic=i=>{const{core:a,rounds:r,counterRight:o,counterLen:s,allow128bitKeys:c,extendNonceFn:y,blockLen:k}=checkOpts({rounds:20,counterRight:!1,counterLen:8,allow128bitKeys:!0,blockLen:64},i);assert.number(s),assert.number(r),assert.number(k),assert.bool(o),assert.bool(c);const S=k/4;if(k%4!=0)throw new Error("Salsa/ChaCha: blockLen must be aligned to 4 bytes");return(I,T,M,R,L=0)=>{if(assert.bytes(I),assert.bytes(T),assert.bytes(M),R||(R=new Uint8Array(M.length)),assert.bytes(R),assert.number(L),L<0||L>=2**32-1)throw new Error("Salsa/ChaCha: counter overflow");if(R.length=2**32-1)throw new Error("Salsa/ChaCha: counter overflow");const et=Math.min(k,_t-nt);if(et===k&&St&&$t){const bt=nt/4;if(nt%4!=0)throw new Error("Salsa/ChaCha: invalid block position");for(let Et=0;Eti<>>32-a;function chachaCore(i,a,r,o,s,c=20){let y=i[0],k=i[1],S=i[2],I=i[3],T=a[0],M=a[1],R=a[2],L=a[3],J=a[4],W=a[5],q=a[6],ct=a[7],ht=s,tt=r[0],xt=r[1],Tt=r[2],$t=y,St=k,_t=S,nt=I,at=T,et=M,bt=R,Et=L,jt=J,Gt=W,ie=q,Xe=ct,Er=ht,gr=tt,vr=xt,Xr=Tt;for(let Rt=0;Rts?a.create().update(o).digest():o);for(let y=0;ynew HMAC(i,a).update(r).digest();function extract$1(i,a,r){return assert$2.hash(i),void 0===r&&(r=new Uint8Array(i.outputLen)),hmac(i,toBytes$2(r),toBytes$2(a))}hmac.create=(i,a)=>new HMAC(i,a);const HKDF_COUNTER$1=new Uint8Array([0]),EMPTY_BUFFER$1=new Uint8Array;function expand$1(i,a,r,o=32){if(assert$2.hash(i),assert$2.number(o),o>255*i.outputLen)throw new Error("Length should be <= 255*HashLen");const s=Math.ceil(o/i.outputLen);void 0===r&&(r=EMPTY_BUFFER$1);const c=new Uint8Array(s*i.outputLen),y=hmac.create(i,a),k=y._cloneInto(),S=new Uint8Array(y.outputLen);for(let I=0;Iexpand$1(i,extract$1(i,a,r),o,s);var __defProp=Object.defineProperty,__export=(i,a)=>{for(var r in a)__defProp(i,r,{get:a[r],enumerable:!0})};function generatePrivateKey(){return bytesToHex$1(schnorr.utils.randomPrivateKey())}function getPublicKey(i){return bytesToHex$1(schnorr.getPublicKey(i))}var utils_exports={};__export(utils_exports,{MessageNode:()=>MessageNode,MessageQueue:()=>MessageQueue,insertEventIntoAscendingList:()=>insertEventIntoAscendingList,insertEventIntoDescendingList:()=>insertEventIntoDescendingList,normalizeURL:()=>normalizeURL,utf8Decoder:()=>utf8Decoder,utf8Encoder:()=>utf8Encoder});var utf8Decoder=new TextDecoder("utf-8"),utf8Encoder=new TextEncoder;function normalizeURL(i){let a=new URL(i);return a.pathname=a.pathname.replace(/\/+/g,"/"),a.pathname.endsWith("/")&&(a.pathname=a.pathname.slice(0,-1)),("80"===a.port&&"ws:"===a.protocol||"443"===a.port&&"wss:"===a.protocol)&&(a.port=""),a.searchParams.sort(),a.hash="",a.toString()}function insertEventIntoDescendingList(i,a){let r,o=0,s=i.length-1,c=o;if(s<0)c=0;else if(a.created_at=i[o].created_at)c=o;else for(;;){if(s<=o+1){c=s;break}if(r=Math.floor(o+(s-o)/2),i[r].created_at>a.created_at)o=r;else{if(!(i[r].created_ati[s].created_at)c=s+1;else if(a.created_at<=i[o].created_at)c=o;else for(;;){if(s<=o+1){c=s;break}if(r=Math.floor(o+(s-o)/2),i[r].created_ata.created_at)){c=r;break}s=r}}return i[c]?.id!==a.id?[...i.slice(0,c),a,...i.slice(c)]:i}var MessageNode=class{_value;_next;get value(){return this._value}set value(i){this._value=i}get next(){return this._next}set next(i){this._next=i}constructor(i){this._value=i,this._next=null}},MessageQueue=class{_first;_last;get first(){return this._first}set first(i){this._first=i}get last(){return this._last}set last(i){this._last=i}_size;get size(){return this._size}set size(i){this._size=i}constructor(){this._first=null,this._last=null,this._size=0}enqueue(i){const a=new MessageNode(i);return 0!==this._size&&this._last?(this._last.next=a,this._last=a):(this._first=a,this._last=a),this._size++,!0}dequeue(){if(0===this._size||!this._first)return null;let i=this._first;return this._first=i.next,i.next=null,this._size--,i.value}},verifiedSymbol=Symbol("verified");function getBlankEvent(i=255){return{kind:i,content:"",tags:[],created_at:0}}function finishEvent(i,a){const r=i;return r.pubkey=getPublicKey(a),r.id=getEventHash(r),r.sig=getSignature(r,a),r[verifiedSymbol]=!0,r}function serializeEvent(i){if(!validateEvent(i))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,i.pubkey,i.created_at,i.kind,i.tags,i.content])}function getEventHash(i){return bytesToHex$1(sha256$1(utf8Encoder.encode(serializeEvent(i))))}var isRecord=i=>i instanceof Object;function validateEvent(i){if(!isRecord(i)||"number"!=typeof i.kind||"string"!=typeof i.content||"number"!=typeof i.created_at||"string"!=typeof i.pubkey||!i.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(i.tags))return!1;for(let a=0;aa.id.startsWith(r))||i.kinds&&-1===i.kinds.indexOf(a.kind)||i.authors&&-1===i.authors.indexOf(a.pubkey)&&!i.authors.some(r=>a.pubkey.startsWith(r)))return!1;for(let r in i)if("#"===r[0]){let o=i[`#${r.slice(1)}`];if(o&&!a.tags.find(([s,c])=>s===r.slice(1)&&-1!==o.indexOf(c)))return!1}return!(i.since&&a.created_ati.until)}function matchFilters(i,a){for(let r=0;rgetHex64,getInt:()=>getInt,getSubscriptionId:()=>getSubscriptionId,matchEventId:()=>matchEventId,matchEventKind:()=>matchEventKind,matchEventPubkey:()=>matchEventPubkey});var newListeners=()=>({connect:[],disconnect:[],error:[],notice:[],auth:[]});function relayInit(i,a={}){let{listTimeout:r=3e3,getTimeout:o=3e3,countTimeout:s=3e3}=a;var c,y,k={},S=newListeners(),I={},T={};function M(){return 1===c?.readyState}function R(q){return L.apply(this,arguments)}function L(){return(L=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){let ct=JSON.stringify(q);if(M()||(yield new Promise(ht=>setTimeout(ht,1e3)),M()))try{c.send(ct)}catch(ht){console.log(ht)}})).apply(this,arguments)}const J=(q,{verb:ct="REQ",skipVerification:ht=!1,alreadyHaveEvent:tt=null,id:xt=Math.random().toString().slice(2)}={})=>{let Tt=xt;k[Tt]={id:Tt,filters:q,skipVerification:ht,alreadyHaveEvent:tt},R([ct,Tt,...q]);let $t={sub:(St,_t={})=>J(St||q,{skipVerification:_t.skipVerification||ht,alreadyHaveEvent:_t.alreadyHaveEvent||tt,id:Tt}),unsub:()=>{delete k[Tt],delete I[Tt],R(["CLOSE",Tt])},on:(St,_t)=>{I[Tt]=I[Tt]||{event:[],count:[],eose:[]},I[Tt][St].push(_t)},off:(St,_t)=>{let nt=I[Tt],at=nt[St].indexOf(_t);at>=0&&nt[St].splice(at,1)},get events(){return eventsGenerator($t)}};return $t};function W(q,ct){return new Promise((ht,tt)=>{if(!q.id)return void tt(new Error(`event ${q} has no id`));let xt=q.id;R([ct,q]),T[xt]={resolve:ht,reject:tt}})}return{url:i,sub:J,on:(q,ct)=>{S[q].push(ct),"connect"===q&&1===c?.readyState&&ct()},off:(q,ct)=>{let ht=S[q].indexOf(ct);-1!==ht&&S[q].splice(ht,1)},list:(q,ct)=>new Promise(ht=>{let tt=J(q,ct),xt=[],Tt=setTimeout(()=>{tt.unsub(),ht(xt)},r);tt.on("eose",()=>{tt.unsub(),clearTimeout(Tt),ht(xt)}),tt.on("event",$t=>{xt.push($t)})}),get:(q,ct)=>new Promise(ht=>{let tt=J([q],ct),xt=setTimeout(()=>{tt.unsub(),ht(null)},o);tt.on("event",Tt=>{tt.unsub(),clearTimeout(xt),ht(Tt)})}),count:q=>new Promise(ct=>{let ht=J(q,{...J,verb:"COUNT"}),tt=setTimeout(()=>{ht.unsub(),ct(null)},s);ht.on("count",xt=>{ht.unsub(),clearTimeout(tt),ct(xt)})}),publish:q=>(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield W(q,"EVENT")})(),auth:q=>(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield W(q,"AUTH")})(),connect:(q=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){M()||(yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return y||(y=new Promise((ct,ht)=>{try{c=new WebSocket(i)}catch($t){ht($t)}c.onopen=()=>{S.connect.forEach($t=>$t()),ct()},c.onerror=()=>{y=void 0,S.error.forEach($t=>$t()),ht()},c.onclose=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){y=void 0,S.disconnect.forEach($t=>$t())});let tt,xt=new MessageQueue;function Tt(){if(0===xt.size)return clearInterval(tt),void(tt=null);var $t=xt.dequeue();if(!$t)return;let St=getSubscriptionId($t);if(St){let _t=k[St];if(_t&&_t.alreadyHaveEvent&&_t.alreadyHaveEvent(getHex64($t,"id"),i))return}try{let _t=JSON.parse($t);switch(_t[0]){case"EVENT":{let bt=_t[1],Et=_t[2];return void(validateEvent(Et)&&k[bt]&&(k[bt].skipVerification||verifySignature(Et))&&matchFilters(k[bt].filters,Et)&&(I[bt]?.event||[]).forEach(jt=>jt(Et)))}case"COUNT":let nt=_t[1],at=_t[2];return void(k[nt]&&(I[nt]?.count||[]).forEach(bt=>bt(at)));case"EOSE":{let bt=_t[1];return void(bt in I&&(I[bt].eose.forEach(Et=>Et()),I[bt].eose=[]))}case"OK":{let bt=_t[1],Et=_t[2],jt=_t[3]||"";if(bt in T){let{resolve:Gt,reject:ie}=T[bt];Et?Gt(null):ie(new Error(jt))}return}case"NOTICE":let et=_t[1];return void S.notice.forEach(bt=>bt(et));case"AUTH":{let bt=_t[1];return void S.auth?.forEach(Et=>Et(bt))}}}catch{return}}c.onmessage=$t=>{xt.enqueue($t.data),tt||(tt=setInterval(Tt,0))}}))})())}),function(){return q.apply(this,arguments)}),close(){S=newListeners(),I={},T={},c?.readyState===WebSocket.OPEN&&c.close()},get status(){return c?.readyState??3}};var q}function eventsGenerator(i){return _eventsGenerator.apply(this,arguments)}function _eventsGenerator(){return _eventsGenerator=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_wrapAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(i){let a;const r=[],o=s=>{a?(a(s),a=void 0):r.push(s)};i.on("event",o);try{for(;;)r.length>0?yield r.shift():yield yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_awaitAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_2__.A)(new Promise(c=>{a=c}))}finally{i.off("event",o)}}),_eventsGenerator.apply(this,arguments)}var nip19_exports={};__export(nip19_exports,{BECH32_REGEX:()=>BECH32_REGEX,decode:()=>decode,naddrEncode:()=>naddrEncode,neventEncode:()=>neventEncode,noteEncode:()=>noteEncode,nprofileEncode:()=>nprofileEncode,npubEncode:()=>npubEncode,nrelayEncode:()=>nrelayEncode,nsecEncode:()=>nsecEncode});var Bech32MaxSize=5e3,BECH32_REGEX=/[\x21-\x7E]{1,83}1[023456789acdefghjklmnpqrstuvwxyz]{6,}/;function integerToUint8Array(i){const a=new Uint8Array(4);return a[0]=i>>24&255,a[1]=i>>16&255,a[2]=i>>8&255,a[3]=255&i,a}function decode(i){let{prefix:a,words:r}=bech32$1.decode(i,Bech32MaxSize),o=new Uint8Array(bech32$1.fromWords(r));switch(a){case"nprofile":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==s[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:bytesToHex$1(s[0][0]),relays:s[1]?s[1].map(c=>utf8Decoder.decode(c)):[]}}}case"nevent":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==s[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(s[2]&&32!==s[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(s[3]&&4!==s[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"nevent",data:{id:bytesToHex$1(s[0][0]),relays:s[1]?s[1].map(c=>utf8Decoder.decode(c)):[],author:s[2]?.[0]?bytesToHex$1(s[2][0]):void 0,kind:s[3]?.[0]?parseInt(bytesToHex$1(s[3][0]),16):void 0}}}case"naddr":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!s[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==s[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!s[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==s[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:utf8Decoder.decode(s[0][0]),pubkey:bytesToHex$1(s[2][0]),kind:parseInt(bytesToHex$1(s[3][0]),16),relays:s[1]?s[1].map(c=>utf8Decoder.decode(c)):[]}}}case"nrelay":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for nrelay");return{type:"nrelay",data:utf8Decoder.decode(s[0][0])}}case"nsec":case"npub":case"note":return{type:a,data:bytesToHex$1(o)};default:throw new Error(`unknown prefix ${a}`)}}function parseTLV(i){let a={},r=i;for(;r.length>0;){let o=r[0],s=r[1];if(!s)throw new Error(`malformed TLV ${o}`);let c=r.slice(2,2+s);if(r=r.slice(2+s),c.lengthutf8Encoder.encode(a))}))}function neventEncode(i){let a;return null!=i.kind&&(a=integerToUint8Array(i.kind)),encodeBech32("nevent",encodeTLV({0:[hexToBytes$1(i.id)],1:(i.relays||[]).map(r=>utf8Encoder.encode(r)),2:i.author?[hexToBytes$1(i.author)]:[],3:a?[new Uint8Array(a)]:[]}))}function naddrEncode(i){let a=new ArrayBuffer(4);return new DataView(a).setUint32(0,i.kind,!1),encodeBech32("naddr",encodeTLV({0:[utf8Encoder.encode(i.identifier)],1:(i.relays||[]).map(r=>utf8Encoder.encode(r)),2:[hexToBytes$1(i.pubkey)],3:[new Uint8Array(a)]}))}function nrelayEncode(i){return encodeBech32("nrelay",encodeTLV({0:[utf8Encoder.encode(i)]}))}function encodeTLV(i){let a=[];return Object.entries(i).forEach(([r,o])=>{o.forEach(s=>{let c=new Uint8Array(s.length+2);c.set([parseInt(r)],0),c.set([s.length],1),c.set(s,2),a.push(c)})}),concatBytes$1(...a)}var nip04_exports={};function encrypt$1(i,a,r){return _encrypt$.apply(this,arguments)}function _encrypt$(){return _encrypt$=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){const o=getNormalizedX(secp256k1.getSharedSecret(i,"02"+a));let s=Uint8Array.from(randomBytes$1(16)),c=utf8Encoder.encode(r),y=yield crypto.subtle.importKey("raw",o,{name:"AES-CBC"},!1,["encrypt"]),k=yield crypto.subtle.encrypt({name:"AES-CBC",iv:s},y,c);return`${base64$1.encode(new Uint8Array(k))}?iv=${base64$1.encode(new Uint8Array(s.buffer))}`}),_encrypt$.apply(this,arguments)}function decrypt$1(i,a,r){return _decrypt$.apply(this,arguments)}function _decrypt$(){return _decrypt$=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){let[o,s]=r.split("?iv="),c=getNormalizedX(secp256k1.getSharedSecret(i,"02"+a)),y=yield crypto.subtle.importKey("raw",c,{name:"AES-CBC"},!1,["decrypt"]),k=base64$1.decode(o),S=base64$1.decode(s),I=yield crypto.subtle.decrypt({name:"AES-CBC",iv:S},y,k);return utf8Decoder.decode(I)}),_decrypt$.apply(this,arguments)}function getNormalizedX(i){return i.slice(1,33)}__export(nip04_exports,{decrypt:()=>decrypt$1,encrypt:()=>encrypt$1}),typeof crypto<"u"&&!crypto.subtle&&crypto.webcrypto&&(crypto.subtle=crypto.webcrypto.subtle);var nip05_exports={};__export(nip05_exports,{NIP05_REGEX:()=>NIP05_REGEX$1,queryProfile:()=>queryProfile,searchDomain:()=>searchDomain,useFetchImplementation:()=>useFetchImplementation});var NIP05_REGEX$1=/^(?:([\w.+-]+)@)?([\w.-]+)$/,_fetch;try{_fetch=fetch}catch{}function useFetchImplementation(i){_fetch=i}function searchDomain(i){return _searchDomain.apply(this,arguments)}function _searchDomain(){return _searchDomain=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a=""){try{return(yield(yield _fetch(`https://${i}/.well-known/nostr.json?name=${a}`)).json()).names}catch{return{}}}),_searchDomain.apply(this,arguments)}function queryProfile(i){return _queryProfile.apply(this,arguments)}function _queryProfile(){return _queryProfile=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){const a=i.match(NIP05_REGEX$1);if(!a)return null;const[r,o="_",s]=a;try{const c=yield _fetch(`https://${s}/.well-known/nostr.json?name=${o}`),{names:y,relays:k}=parseNIP05Result$1(yield c.json()),S=y[o];return S?{pubkey:S,relays:k?.[S]}:null}catch{return null}}),_queryProfile.apply(this,arguments)}function parseNIP05Result$1(i){const a={names:{}};for(const[r,o]of Object.entries(i.names))"string"==typeof r&&"string"==typeof o&&(a.names[r]=o);if(i.relays){a.relays={};for(const[r,o]of Object.entries(i.relays))"string"==typeof r&&Array.isArray(o)&&(a.relays[r]=o.filter(s=>"string"==typeof s))}return a}var nip06_exports={};function privateKeyFromSeedWords(i,a){let r=HDKey.fromMasterSeed(mnemonicToSeedSync(i,a)).derive("m/44'/1237'/0'/0/0").privateKey;if(!r)throw new Error("could not derive private key");return bytesToHex$1(r)}function generateSeedWords(){return generateMnemonic(wordlist)}function validateWords(i){return validateMnemonic(i,wordlist)}__export(nip06_exports,{generateSeedWords:()=>generateSeedWords,privateKeyFromSeedWords:()=>privateKeyFromSeedWords,validateWords:()=>validateWords});var nip10_exports={};function parse(i){const a={reply:void 0,root:void 0,mentions:[],profiles:[]},r=[];for(const o of i.tags)"e"===o[0]&&o[1]&&r.push(o),"p"===o[0]&&o[1]&&a.profiles.push({pubkey:o[1],relays:o[2]?[o[2]]:[]});for(let o=0;oparse});var nip13_exports={};function getPow(i){let a=0;for(let r=0;r=a)break}return o}__export(nip13_exports,{getPow:()=>getPow,minePow:()=>minePow});var nip18_exports={};function finishRepostEvent(i,a,r,o){return finishEvent({kind:6,tags:[...i.tags??[],["e",a.id,r],["p",a.pubkey]],content:""===i.content?"":JSON.stringify(a),created_at:i.created_at},o)}function getRepostedEventPointer(i){if(6!==i.kind)return;let a,r;for(let o=i.tags.length-1;o>=0&&(void 0===a||void 0===r);o--){const s=i.tags[o];s.length>=2&&("e"===s[0]&&void 0===a?a=s:"p"===s[0]&&void 0===r&&(r=s))}return void 0!==a?{id:a[1],relays:[a[2],r?.[2]].filter(o=>"string"==typeof o),author:r?.[1]}:void 0}function getRepostedEvent(i,{skipVerification:a}={}){const r=getRepostedEventPointer(i);if(void 0===r||""===i.content)return;let o;try{o=JSON.parse(i.content)}catch{return}return o.id===r.id&&(a||verifySignature(o))?o:void 0}__export(nip18_exports,{finishRepostEvent:()=>finishRepostEvent,getRepostedEvent:()=>getRepostedEvent,getRepostedEventPointer:()=>getRepostedEventPointer});var nip21_exports={};__export(nip21_exports,{NOSTR_URI_REGEX:()=>NOSTR_URI_REGEX,parse:()=>parse2,test:()=>test});var NOSTR_URI_REGEX=new RegExp(`nostr:(${BECH32_REGEX.source})`);function test(i){return"string"==typeof i&&new RegExp(`^${NOSTR_URI_REGEX.source}$`).test(i)}function parse2(i){const a=i.match(new RegExp(`^${NOSTR_URI_REGEX.source}$`));if(!a)throw new Error(`Invalid Nostr URI: ${i}`);return{uri:a[0],value:a[1],decoded:decode(a[1])}}var nip25_exports={};function finishReactionEvent(i,a,r){const o=a.tags.filter(s=>s.length>=2&&("e"===s[0]||"p"===s[0]));return finishEvent({...i,kind:7,tags:[...i.tags??[],...o,["e",a.id],["p",a.pubkey]],content:i.content??"+"},r)}function getReactedEventPointer(i){if(7!==i.kind)return;let a,r;for(let o=i.tags.length-1;o>=0&&(void 0===a||void 0===r);o--){const s=i.tags[o];s.length>=2&&("e"===s[0]&&void 0===a?a=s:"p"===s[0]&&void 0===r&&(r=s))}return void 0!==a&&void 0!==r?{id:a[1],relays:[a[2],r[2]].filter(o=>void 0!==o),author:r[1]}:void 0}__export(nip25_exports,{finishReactionEvent:()=>finishReactionEvent,getReactedEventPointer:()=>getReactedEventPointer});var nip26_exports={};function createDelegation(i,a){let r=[];(a.kind||-1)>=0&&r.push(`kind=${a.kind}`),a.until&&r.push(`created_at<${a.until}`),a.since&&r.push(`created_at>${a.since}`);let o=r.join("&");if(""===o)throw new Error("refusing to create a delegation without any conditions");let s=sha256$1(utf8Encoder.encode(`nostr:delegation:${a.pubkey}:${o}`)),c=bytesToHex$1(schnorr.sign(s,i));return{from:getPublicKey(i),to:a.pubkey,cond:o,sig:c}}function getDelegator(i){let a=i.tags.find(k=>"delegation"===k[0]&&k.length>=4);if(!a)return null;let r=a[1],o=a[2],s=a[3],c=o.split("&");for(let k=0;k"===I&&i.created_at>parseInt(T)))return null}let y=sha256$1(utf8Encoder.encode(`nostr:delegation:${i.pubkey}:${o}`));return schnorr.verify(s,y,r)?r:null}__export(nip26_exports,{createDelegation:()=>createDelegation,getDelegator:()=>getDelegator});var nip27_exports={};__export(nip27_exports,{matchAll:()=>matchAll,regex:()=>regex,replaceAll:()=>replaceAll});var regex=()=>new RegExp(`\\b${NOSTR_URI_REGEX.source}\\b`,"g");function*matchAll(i){const a=i.matchAll(regex());for(const r of a)try{const[o,s]=r;yield{uri:o,value:s,decoded:decode(s),start:r.index,end:r.index+o.length}}catch{}}function replaceAll(i,a){return i.replaceAll(regex(),(r,o)=>a({uri:r,value:o,decoded:decode(o)}))}var nip28_exports={};__export(nip28_exports,{channelCreateEvent:()=>channelCreateEvent,channelHideMessageEvent:()=>channelHideMessageEvent,channelMessageEvent:()=>channelMessageEvent,channelMetadataEvent:()=>channelMetadataEvent,channelMuteUserEvent:()=>channelMuteUserEvent});var channelCreateEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:40,tags:[...i.tags??[]],content:r,created_at:i.created_at},a)},channelMetadataEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:41,tags:[["e",i.channel_create_event_id],...i.tags??[]],content:r,created_at:i.created_at},a)},channelMessageEvent=(i,a)=>{const r=[["e",i.channel_create_event_id,i.relay_url,"root"]];return i.reply_to_channel_message_event_id&&r.push(["e",i.reply_to_channel_message_event_id,i.relay_url,"reply"]),finishEvent({kind:42,tags:[...r,...i.tags??[]],content:i.content,created_at:i.created_at},a)},channelHideMessageEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:43,tags:[["e",i.channel_message_event_id],...i.tags??[]],content:r,created_at:i.created_at},a)},channelMuteUserEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:44,tags:[["p",i.pubkey_to_mute],...i.tags??[]],content:r,created_at:i.created_at},a)},nip39_exports={},_fetch2;__export(nip39_exports,{useFetchImplementation:()=>useFetchImplementation2,validateGithub:()=>validateGithub});try{_fetch2=fetch}catch{}function useFetchImplementation2(i){_fetch2=i}function validateGithub(i,a,r){return _validateGithub.apply(this,arguments)}function _validateGithub(){return _validateGithub=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){try{return(yield(yield _fetch2(`https://gist.github.com/${a}/${r}/raw`)).text())===`Verifying that I control the following Nostr public key: ${i}`}catch{return!1}}),_validateGithub.apply(this,arguments)}var nip42_exports={};__export(nip42_exports,{authenticate:()=>authenticate});var authenticate=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*({challenge:a,relay:r,sign:o}){const s={kind:22242,created_at:Math.floor(Date.now()/1e3),tags:[["relay",r.url],["challenge",a]],content:""};return r.auth(yield o(s))});return function(r){return i.apply(this,arguments)}}(),nip44_exports={};__export(nip44_exports,{decrypt:()=>decrypt2,encrypt:()=>encrypt2,utils:()=>utils});var utils={v2:{maxPlaintextSize:65408,minCiphertextSize:100,maxCiphertextSize:102400,getConversationKey:(i,a)=>secp256k1.getSharedSecret(i,"02"+a).subarray(1,33),getMessageKeys(i,a){const r=hkdf(sha256$1,i,a,"nip44-v2",76);return{encryption:r.subarray(0,32),nonce:r.subarray(32,44),auth:r.subarray(44,76)}},calcPadding(i){if(!Number.isSafeInteger(i)||i<0)throw new Error("expected positive integer");if(i<=32)return 32;const a=1<=utils.v2.maxPlaintextSize)throw new Error("invalid plaintext length: must be between 1b and 64KB");const o=utils.v2.calcPadding(r),s=new Uint8Array(o-r),c=new Uint8Array(2);return new DataView(c.buffer).setUint16(0,r),concatBytes$1(c,a,s)},unpad(i){const a=new DataView(i.buffer).getUint16(0),r=i.subarray(2,2+a);if(0===a||r.length!==a||i.length!==2+utils.v2.calcPadding(a))throw new Error("invalid padding");return utf8Decoder.decode(r)}}};function encrypt2(i,a,r={}){const o=r.version??2;if(2!==o)throw new Error("unknown encryption version "+o);const s=r.salt??randomBytes$1(32);ensureBytes(s,32);const c=utils.v2.getMessageKeys(i,s),y=utils.v2.pad(a),k=chacha20(c.encryption,c.nonce,y),S=hmac(sha256$1,c.auth,k);return base64$1.encode(concatBytes$1(new Uint8Array([o]),s,k,S))}function decrypt2(i,a){const r=utils.v2;ensureBytes(i,32);const o=a.length;if(o=r.maxCiphertextSize)throw new Error("invalid ciphertext length: "+o);if("#"===a[0])throw new Error("unknown encryption version");let s;try{s=base64$1.decode(a)}catch(M){throw new Error("invalid base64: "+M.message)}const c=s.subarray(0,1)[0];if(2!==c)throw new Error("unknown encryption version "+c);const y=s.subarray(1,33),k=s.subarray(33,-32),S=s.subarray(-32),I=r.getMessageKeys(i,y);if(!equalBytes(hmac(sha256$1,I.auth,k),S))throw new Error("invalid MAC");const T=chacha20(I.encryption,I.nonce,k);return r.unpad(T)}var nip47_exports={};function parseConnectionString(i){const{pathname:a,searchParams:r}=new URL(i),o=a,s=r.get("relay"),c=r.get("secret");if(!o||!s||!c)throw new Error("invalid connection string");return{pubkey:o,relay:s,secret:c}}function makeNwcRequestEvent(i){return _makeNwcRequestEvent.apply(this,arguments)}function _makeNwcRequestEvent(){return _makeNwcRequestEvent=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*({pubkey:i,secret:a,invoice:r}){const o={method:"pay_invoice",params:{invoice:r}},s=yield encrypt$1(a,i,JSON.stringify(o));return finishEvent({kind:23194,created_at:Math.round(Date.now()/1e3),content:s,tags:[["p",i]]},a)}),_makeNwcRequestEvent.apply(this,arguments)}__export(nip47_exports,{makeNwcRequestEvent:()=>makeNwcRequestEvent,parseConnectionString:()=>parseConnectionString});var nip57_exports={},_fetch3;__export(nip57_exports,{getZapEndpoint:()=>getZapEndpoint,makeZapReceipt:()=>makeZapReceipt,makeZapRequest:()=>makeZapRequest,useFetchImplementation:()=>useFetchImplementation3,validateZapRequest:()=>validateZapRequest});try{_fetch3=fetch}catch{}function useFetchImplementation3(i){_fetch3=i}function getZapEndpoint(i){return _getZapEndpoint.apply(this,arguments)}function _getZapEndpoint(){return _getZapEndpoint=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){try{let a="",{lud06:r,lud16:o}=JSON.parse(i.content);if(r){let{words:y}=bech32$1.decode(r,1e3),k=bech32$1.fromWords(y);a=utf8Decoder.decode(k)}else{if(!o)return null;{let[y,k]=o.split("@");a=`https://${k}/.well-known/lnurlp/${y}`}}let s=yield _fetch3(a),c=yield s.json();if(c.allowsNostr&&c.nostrPubkey)return c.callback}catch{}return null}),_getZapEndpoint.apply(this,arguments)}function makeZapRequest({profile:i,event:a,amount:r,relays:o,comment:s=""}){if(!r)throw new Error("amount not given");if(!i)throw new Error("profile not given");let c={kind:9734,created_at:Math.round(Date.now()/1e3),content:s,tags:[["p",i],["amount",r.toString()],["relays",...o]]};return a&&c.tags.push(["e",a]),c}function validateZapRequest(i){let a;try{a=JSON.parse(i)}catch{return"Invalid zap request JSON."}if(!validateEvent(a))return"Zap request is not a valid Nostr event.";if(!verifySignature(a))return"Invalid signature on zap request.";let r=a.tags.find(([s,c])=>"p"===s&&c);if(!r)return"Zap request doesn't have a 'p' tag.";if(!r[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let o=a.tags.find(([s,c])=>"e"===s&&c);return o&&!o[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":a.tags.find(([s,c])=>"relays"===s&&c)?null:"Zap request doesn't have a 'relays' tag."}function makeZapReceipt({zapRequest:i,preimage:a,bolt11:r,paidAt:o}){let s=JSON.parse(i).tags.filter(([y])=>"e"===y||"p"===y||"a"===y),c={kind:9735,created_at:Math.round(o.getTime()/1e3),content:"",tags:[...s,["bolt11",r],["description",i]]};return a&&c.tags.push(["preimage",a]),c}var nip98_exports={};__export(nip98_exports,{getToken:()=>getToken,unpackEventFromToken:()=>unpackEventFromToken,validateEvent:()=>validateEvent2,validateToken:()=>validateToken});var _authorizationScheme="Nostr ";function getToken(i,a,r){return _getToken.apply(this,arguments)}function _getToken(){return _getToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r,o=!1){if(!i||!a)throw new Error("Missing loginUrl or httpMethod");const s=getBlankEvent(27235);s.tags=[["u",i],["method",a]],s.created_at=Math.round((new Date).getTime()/1e3);const c=yield r(s);return(o?_authorizationScheme:"")+base64$1.encode(utf8Encoder.encode(JSON.stringify(c)))}),_getToken.apply(this,arguments)}function validateToken(i,a,r){return _validateToken.apply(this,arguments)}function _validateToken(){return _validateToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){const o=yield unpackEventFromToken(i).catch(s=>{throw s});return yield validateEvent2(o,a,r).catch(s=>{throw s})}),_validateToken.apply(this,arguments)}function unpackEventFromToken(i){return _unpackEventFromToken.apply(this,arguments)}function _unpackEventFromToken(){return _unpackEventFromToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){if(!i)throw new Error("Missing token");i=i.replace(_authorizationScheme,"");const a=utf8Decoder.decode(base64$1.decode(i));if(!a||0===a.length||!a.startsWith("{"))throw new Error("Invalid token");return JSON.parse(a)}),_unpackEventFromToken.apply(this,arguments)}function validateEvent2(i,a,r){return _validateEvent.apply(this,arguments)}function _validateEvent(){return _validateEvent=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){if(!i)throw new Error("Invalid nostr event");if(!verifySignature(i))throw new Error("Invalid nostr event, signature invalid");if(27235!==i.kind)throw new Error("Invalid nostr event, kind invalid");if(!i.created_at)throw new Error("Invalid nostr event, created_at invalid");if(Math.round((new Date).getTime()/1e3)-i.created_at>60)throw new Error("Invalid nostr event, expired");const o=i.tags.find(c=>"u"===c[0]);if(1!==o?.length&&o?.[1]!==a)throw new Error("Invalid nostr event, url tag invalid");const s=i.tags.find(c=>"method"===c[0]);if(1!==s?.length&&s?.[1].toLowerCase()!==r.toLowerCase())throw new Error("Invalid nostr event, method tag invalid");return!0}),_validateEvent.apply(this,arguments)}var browser={exports:{}},ms,hasRequiredMs;function requireMs(){if(hasRequiredMs)return ms;hasRequiredMs=1;var i=1e3,a=60*i,r=60*a,o=24*r,s=7*o;function y(k,S,I,T){var M=S>=1.5*I;return Math.round(k/I)+" "+T+(M?"s":"")}return ms=function(k,S){S=S||{};var T,M,I=typeof k;if("string"===I&&k.length>0)return function(T){if(!((T=String(T)).length>100)){var M=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(T);if(M){var R=parseFloat(M[1]);switch((M[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*R;case"weeks":case"week":case"w":return R*s;case"days":case"day":case"d":return R*o;case"hours":case"hour":case"hrs":case"hr":case"h":return R*r;case"minutes":case"minute":case"mins":case"min":case"m":return R*a;case"seconds":case"second":case"secs":case"sec":case"s":return R*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return R;default:return}}}}(k);if("number"===I&&isFinite(k))return S.long?(T=k,(M=Math.abs(T))>=o?y(T,M,o,"day"):M>=r?y(T,M,r,"hour"):M>=a?y(T,M,a,"minute"):M>=i?y(T,M,i,"second"):T+" ms"):function(T){var M=Math.abs(T);return M>=o?Math.round(T/o)+"d":M>=r?Math.round(T/r)+"h":M>=a?Math.round(T/a)+"m":M>=i?Math.round(T/i)+"s":T+"ms"}(k);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(k))}}function setup(i){function a(s){let c,y,k,S=null;function I(...T){if(!I.enabled)return;const M=I,R=Number(new Date);M.diff=R-(c||R),M.prev=c,M.curr=R,c=R,T[0]=a.coerce(T[0]),"string"!=typeof T[0]&&T.unshift("%O");let J=0;T[0]=T[0].replace(/%([a-zA-Z%])/g,(W,q)=>{if("%%"===W)return"%";J++;const ct=a.formatters[q];return"function"==typeof ct&&(W=ct.call(M,T[J]),T.splice(J,1),J--),W}),a.formatArgs.call(M,T),(M.log||a.log).apply(M,T)}return I.namespace=s,I.useColors=a.useColors(),I.color=a.selectColor(s),I.extend=r,I.destroy=a.destroy,Object.defineProperty(I,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==S?S:(y!==a.namespaces&&(y=a.namespaces,k=a.enabled(s)),k),set:T=>{S=T}}),"function"==typeof a.init&&a.init(I),I}function r(s,c){const y=a(this.namespace+(void 0===c?":":c)+s);return y.log=this.log,y}function o(s){return s.toString().substring(2,s.toString().length-2).replace(/\.\*\?$/,"*")}return a.debug=a,a.default=a,a.coerce=function(s){return s instanceof Error?s.stack||s.message:s},a.disable=function(){const s=[...a.names.map(o),...a.skips.map(o).map(c=>"-"+c)].join(",");return a.enable(""),s},a.enable=function(s){let c;a.save(s),a.namespaces=s,a.names=[],a.skips=[];const y=("string"==typeof s?s:"").split(/[\s,]+/),k=y.length;for(c=0;c{a[s]=i[s]}),a.names=[],a.skips=[],a.formatters={},a.selectColor=function(s){let c=0;for(let y=0;y{"%%"!==k&&(c++,"%c"===k&&(y=c))}),o.splice(y,0,s)},a.save=function(o){try{o?a.storage.setItem("debug",o):a.storage.removeItem("debug")}catch{}},a.load=function(){let o;try{o=a.storage.getItem("debug")}catch{}return!o&&typeof process<"u"&&"env"in process&&(o=process.env.DEBUG),o},a.useColors=function(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},a.storage=function(){try{return localStorage}catch{}}(),a.destroy=(()=>{let o=!1;return()=>{o||(o=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],a.log=console.debug||console.log||(()=>{}),i.exports=common(a);const{formatters:r}=i.exports;r.j=function(o){try{return JSON.stringify(o)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}}(browser,browser.exports);var browserExports=browser.exports,debug3=getDefaultExportFromCjs(browserExports),dist={},LRUCache$1={},LRUCacheNode$1={};Object.defineProperty(LRUCacheNode$1,"__esModule",{value:!0}),LRUCacheNode$1.LRUCacheNode=void 0;class LRUCacheNode{constructor(a,r,o){const{entryExpirationTimeInMS:s=null,next:c=null,prev:y=null,onEntryEvicted:k,onEntryMarkedAsMostRecentlyUsed:S,clone:I,cloneFn:T}=o??{};if("number"==typeof s&&(s<=0||Number.isNaN(s)))throw new Error("entryExpirationTimeInMS must either be null (no expiry) or greater than 0");this.clone=null!=I&&I,this.cloneFn=T??this.defaultClone,this.key=a,this.internalValue=this.clone?this.cloneFn(r):r,this.created=Date.now(),this.entryExpirationTimeInMS=s,this.next=c,this.prev=y,this.onEntryEvicted=k,this.onEntryMarkedAsMostRecentlyUsed=S}get value(){return this.clone?this.cloneFn(this.internalValue):this.internalValue}get isExpired(){return"number"==typeof this.entryExpirationTimeInMS&&Date.now()-this.created>this.entryExpirationTimeInMS}invokeOnEvicted(){if(this.onEntryEvicted){const{key:a,value:r,isExpired:o}=this;this.onEntryEvicted({key:a,value:r,isExpired:o})}}invokeOnEntryMarkedAsMostRecentlyUsed(){if(this.onEntryMarkedAsMostRecentlyUsed){const{key:a,value:r}=this;this.onEntryMarkedAsMostRecentlyUsed({key:a,value:r})}}defaultClone(a){return"boolean"==typeof a||"string"==typeof a||"number"==typeof a?a:JSON.parse(JSON.stringify(a))}}LRUCacheNode$1.LRUCacheNode=LRUCacheNode,Object.defineProperty(LRUCache$1,"__esModule",{value:!0}),LRUCache$1.LRUCache=void 0;const LRUCacheNode_1=LRUCacheNode$1;class LRUCache{constructor(a){this.lookupTable=new Map,this.head=null,this.tail=null;const{maxSize:r=25,entryExpirationTimeInMS:o=null,onEntryEvicted:s,onEntryMarkedAsMostRecentlyUsed:c,cloneFn:y,clone:k}=a??{};if(Number.isNaN(r)||r<=0)throw new Error("maxSize must be greater than 0.");if("number"==typeof o&&(o<=0||Number.isNaN(o)))throw new Error("entryExpirationTimeInMS must either be null (no expiry) or greater than 0");this.maxSizeInternal=r,this.entryExpirationTimeInMS=o,this.onEntryEvicted=s,this.onEntryMarkedAsMostRecentlyUsed=c,this.clone=k,this.cloneFn=y}get size(){return this.cleanCache(),this.lookupTable.size}get remainingSize(){return this.maxSizeInternal-this.size}get newest(){return this.head?this.head.isExpired?(this.removeNodeFromListAndLookupTable(this.head),this.newest):this.mapNodeToEntry(this.head):null}get oldest(){return this.tail?this.tail.isExpired?(this.removeNodeFromListAndLookupTable(this.tail),this.oldest):this.mapNodeToEntry(this.tail):null}get maxSize(){return this.maxSizeInternal}set maxSize(a){if(Number.isNaN(a)||a<=0)throw new Error("maxSize must be greater than 0.");this.maxSizeInternal=a,this.enforceSizeLimit()}set(a,r,o){const s=this.lookupTable.get(a);s&&this.removeNodeFromListAndLookupTable(s);const c=new LRUCacheNode_1.LRUCacheNode(a,r,{entryExpirationTimeInMS:this.entryExpirationTimeInMS,onEntryEvicted:this.onEntryEvicted,onEntryMarkedAsMostRecentlyUsed:this.onEntryMarkedAsMostRecentlyUsed,clone:this.clone,cloneFn:this.cloneFn,...o});return this.setNodeAsHead(c),this.lookupTable.set(a,c),this.enforceSizeLimit(),this}get(a){const r=this.lookupTable.get(a);return r?r.isExpired?(this.removeNodeFromListAndLookupTable(r),null):(this.setNodeAsHead(r),r.value):null}peek(a){const r=this.lookupTable.get(a);return r?r.isExpired?(this.removeNodeFromListAndLookupTable(r),null):r.value:null}delete(a){const r=this.lookupTable.get(a);return!!r&&this.removeNodeFromListAndLookupTable(r)}has(a){const r=this.lookupTable.get(a);return!(!r||r.isExpired&&(this.removeNodeFromListAndLookupTable(r),1))}clear(){this.head=null,this.tail=null,this.lookupTable.clear()}find(a){let r=this.head;for(;r;){if(r.isExpired){const s=r.next;this.removeNodeFromListAndLookupTable(r),r=s;continue}const o=this.mapNodeToEntry(r);if(a(o))return this.setNodeAsHead(r),o;r=r.next}return null}forEach(a){let r=this.head,o=0;for(;r;)if(r.isExpired){const s=r.next;this.removeNodeFromListAndLookupTable(r),r=s}else a(r.value,r.key,o),r=r.next,o++}*values(){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield a.value,a=a.next}*keys(){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield a.key,a=a.next}*entries(){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield this.mapNodeToEntry(a),a=a.next}*[Symbol.iterator](){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield this.mapNodeToEntry(a),a=a.next}enforceSizeLimit(){let a=this.tail;for(;null!==a&&this.size>this.maxSizeInternal;){const r=a.prev;this.removeNodeFromListAndLookupTable(a),a=r}}mapNodeToEntry({key:a,value:r}){return{key:a,value:r}}setNodeAsHead(a){this.removeNodeFromList(a),this.head?(a.next=this.head,this.head.prev=a,this.head=a):(this.head=a,this.tail=a),a.invokeOnEntryMarkedAsMostRecentlyUsed()}removeNodeFromList(a){null!==a.prev&&(a.prev.next=a.next),null!==a.next&&(a.next.prev=a.prev),this.head===a&&(this.head=a.next),this.tail===a&&(this.tail=a.prev),a.next=null,a.prev=null}removeNodeFromListAndLookupTable(a){return a.invokeOnEvicted(),this.removeNodeFromList(a),this.lookupTable.delete(a.key)}cleanCache(){if(!this.entryExpirationTimeInMS)return;const a=[];for(const r of this.lookupTable.values())r.isExpired&&a.push(r);a.forEach(r=>this.removeNodeFromListAndLookupTable(r))}}LRUCache$1.LRUCache=LRUCache,function(i){var a=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(o,s,c,y){void 0===y&&(y=c);var k=Object.getOwnPropertyDescriptor(s,c);k&&!("get"in k?!s.__esModule:k.writable||k.configurable)||(k={enumerable:!0,get:function(){return s[c]}}),Object.defineProperty(o,y,k)}:function(o,s,c,y){void 0===y&&(y=c),o[y]=s[c]}),r=commonjsGlobal&&commonjsGlobal.__exportStar||function(o,s){for(var c in o)"default"===c||Object.prototype.hasOwnProperty.call(s,c)||a(s,o,c)};Object.defineProperty(i,"__esModule",{value:!0}),r(LRUCache$1,i)}(dist);var lib={};(function(i){function a(_t){if(!Number.isSafeInteger(_t))throw new Error(`Wrong integer: ${_t}`)}function r(..._t){const nt=(at,et)=>bt=>at(et(bt));return{encode:Array.from(_t).reverse().reduce((at,et)=>at?nt(at,et.encode):et.encode,void 0),decode:_t.reduce((at,et)=>at?nt(at,et.decode):et.decode,void 0)}}function o(_t){return{encode:nt=>{if(!Array.isArray(nt)||nt.length&&"number"!=typeof nt[0])throw new Error("alphabet.encode input should be an array of numbers");return nt.map(at=>{if(a(at),at<0||at>=_t.length)throw new Error(`Digit index outside alphabet: ${at} (alphabet: ${_t.length})`);return _t[at]})},decode:nt=>{if(!Array.isArray(nt)||nt.length&&"string"!=typeof nt[0])throw new Error("alphabet.decode input should be array of strings");return nt.map(at=>{if("string"!=typeof at)throw new Error(`alphabet.decode: not string element=${at}`);const et=_t.indexOf(at);if(-1===et)throw new Error(`Unknown letter: "${at}". Allowed: ${_t}`);return et})}}}function s(_t=""){if("string"!=typeof _t)throw new Error("join separator should be string");return{encode:nt=>{if(!Array.isArray(nt)||nt.length&&"string"!=typeof nt[0])throw new Error("join.encode input should be array of strings");for(let at of nt)if("string"!=typeof at)throw new Error(`join.encode: non-string input=${at}`);return nt.join(_t)},decode:nt=>{if("string"!=typeof nt)throw new Error("join.decode input should be string");return nt.split(_t)}}}function c(_t,nt="="){if(a(_t),"string"!=typeof nt)throw new Error("padding chr should be string");return{encode(at){if(!Array.isArray(at)||at.length&&"string"!=typeof at[0])throw new Error("padding.encode input should be array of strings");for(let et of at)if("string"!=typeof et)throw new Error(`padding.encode: non-string input=${et}`);for(;at.length*_t%8;)at.push(nt);return at},decode(at){if(!Array.isArray(at)||at.length&&"string"!=typeof at[0])throw new Error("padding.encode input should be array of strings");for(let bt of at)if("string"!=typeof bt)throw new Error(`padding.decode: non-string input=${bt}`);let et=at.length;if(et*_t%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;et>0&&at[et-1]===nt;et--)if(!((et-1)*_t%8))throw new Error("Invalid padding: string has too much padding");return at.slice(0,et)}}}function y(_t){if("function"!=typeof _t)throw new Error("normalize fn should be function");return{encode:nt=>nt,decode:nt=>_t(nt)}}function k(_t,nt,at){if(nt<2)throw new Error(`convertRadix: wrong from=${nt}, base cannot be less than 2`);if(at<2)throw new Error(`convertRadix: wrong to=${at}, base cannot be less than 2`);if(!Array.isArray(_t))throw new Error("convertRadix: data should be array");if(!_t.length)return[];let et=0;const bt=[],Et=Array.from(_t);for(Et.forEach(jt=>{if(a(jt),jt<0||jt>=nt)throw new Error(`Wrong integer: ${jt}`)});;){let jt=0,Gt=!0;for(let ie=et;ient?S(nt,_t%nt):_t,I=(_t,nt)=>_t+(nt-S(_t,nt));function T(_t,nt,at,et){if(!Array.isArray(_t))throw new Error("convertRadix2: data should be array");if(nt<=0||nt>32)throw new Error(`convertRadix2: wrong from=${nt}`);if(at<=0||at>32)throw new Error(`convertRadix2: wrong to=${at}`);if(I(nt,at)>32)throw new Error(`convertRadix2: carry overflow from=${nt} to=${at} carryBits=${I(nt,at)}`);let bt=0,Et=0;const jt=2**at-1,Gt=[];for(const ie of _t){if(a(ie),ie>=2**nt)throw new Error(`convertRadix2: invalid data word=${ie} from=${nt}`);if(bt=bt<32)throw new Error(`convertRadix2: carry overflow pos=${Et} from=${nt}`);for(Et+=nt;Et>=at;Et-=at)Gt.push((bt>>Et-at&jt)>>>0);bt&=2**Et-1}if(bt=bt<=nt)throw new Error("Excess padding");if(!et&&bt)throw new Error(`Non-zero padding: ${bt}`);return et&&Et>0&&Gt.push(bt>>>0),Gt}function M(_t){return a(_t),{encode:nt=>{if(!(nt instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return k(Array.from(nt),256,_t)},decode:nt=>{if(!Array.isArray(nt)||nt.length&&"number"!=typeof nt[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(k(nt,_t,256))}}}function R(_t,nt=!1){if(a(_t),_t<=0||_t>32)throw new Error("radix2: bits should be in (0..32]");if(I(8,_t)>32||I(_t,8)>32)throw new Error("radix2: carry overflow");return{encode:at=>{if(!(at instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return T(Array.from(at),8,_t,!nt)},decode:at=>{if(!Array.isArray(at)||at.length&&"number"!=typeof at[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(T(at,_t,8,nt))}}}function L(_t){if("function"!=typeof _t)throw new Error("unsafeWrapper fn should be function");return function(...nt){try{return _t.apply(null,nt)}catch{}}}function J(_t,nt){if(a(_t),"function"!=typeof nt)throw new Error("checksum fn should be function");return{encode(at){if(!(at instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const et=nt(at).slice(0,_t),bt=new Uint8Array(at.length+_t);return bt.set(at),bt.set(et,at.length),bt},decode(at){if(!(at instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const et=at.slice(0,-_t),bt=nt(et).slice(0,_t),Et=at.slice(-_t);for(let jt=0;jt<_t;jt++)if(bt[jt]!==Et[jt])throw new Error("Invalid checksum");return et}}}i.utils={alphabet:o,chain:r,checksum:J,radix:M,radix2:R,join:s,padding:c},i.base16=r(R(4),o("0123456789ABCDEF"),s("")),i.base32=r(R(5),o("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),c(5),s("")),i.base32hex=r(R(5),o("0123456789ABCDEFGHIJKLMNOPQRSTUV"),c(5),s("")),i.base32crockford=r(R(5),o("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),s(""),y(_t=>_t.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),i.base64=r(R(6),o("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),c(6),s("")),i.base64url=r(R(6),o("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),c(6),s(""));const W=_t=>r(M(58),o(_t),s(""));i.base58=W("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),i.base58flickr=W("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),i.base58xrp=W("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const q=[0,2,3,5,6,7,9,10,11];i.base58xmr={encode(_t){let nt="";for(let at=0;at<_t.length;at+=8){const et=_t.subarray(at,at+8);nt+=i.base58.encode(et).padStart(q[et.length],"1")}return nt},decode(_t){let nt=[];for(let at=0;at<_t.length;at+=11){const et=_t.slice(at,at+11),bt=q.indexOf(et.length),Et=i.base58.decode(et);for(let jt=0;jtr(J(4,nt=>_t(_t(nt))),i.base58);const ct=r(o("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),s("")),ht=[996825010,642813549,513874426,1027748829,705979059];function tt(_t){const nt=_t>>25;let at=(33554431&_t)<<5;for(let et=0;et>et&1)&&(at^=ht[et]);return at}function xt(_t,nt,at=1){const et=_t.length;let bt=1;for(let Et=0;Et126)throw new Error(`Invalid prefix (${_t})`);bt=tt(bt)^jt>>5}bt=tt(bt);for(let Et=0;Etie)throw new TypeError(`Wrong string length: ${Gt.length} (${Gt}). Expected (8..${ie})`);const Xe=Gt.toLowerCase();if(Gt!==Xe&&Gt!==Gt.toUpperCase())throw new Error("String must be lowercase or uppercase");const Er=(Gt=Xe).lastIndexOf("1");if(0===Er||-1===Er)throw new Error('Letter "1" must be present between prefix and data only');const gr=Gt.slice(0,Er),vr=Gt.slice(Er+1);if(vr.length<6)throw new Error("Data must be at least 6 characters long");const Xr=ct.decode(vr).slice(0,-6),ke=xt(gr,Xr,nt);if(!vr.endsWith(ke))throw new Error(`Invalid checksum in ${Gt}: expected "${ke}"`);return{prefix:gr,words:Xr}}return{encode:function(Gt,ie,Xe=90){if("string"!=typeof Gt)throw new Error("bech32.encode prefix should be string, not "+typeof Gt);if(!Array.isArray(ie)||ie.length&&"number"!=typeof ie[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof ie);const Er=Gt.length+7+ie.length;if(!1!==Xe&&Er>Xe)throw new TypeError(`Length ${Er} exceeds limit ${Xe}`);return`${Gt=Gt.toLowerCase()}1${ct.encode(ie)}${xt(Gt,ie,nt)}`},decode:jt,decodeToBytes:function(Gt){const{prefix:ie,words:Xe}=jt(Gt,!1);return{prefix:ie,words:Xe,bytes:et(Xe)}},decodeUnsafe:L(jt),fromWords:et,fromWordsUnsafe:Et,toWords:bt}}i.bech32=Tt("bech32"),i.bech32m=Tt("bech32m"),i.utf8={encode:_t=>(new TextDecoder).decode(_t),decode:_t=>(new TextEncoder).encode(_t)},i.hex=r(R(4),o("0123456789abcdef"),s(""),y(_t=>{if("string"!=typeof _t||_t.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof _t} with length ${_t.length}`);return _t.toLowerCase()}));const $t={utf8:i.utf8,hex:i.hex,base16:i.base16,base32:i.base32,base64:i.base64,base64url:i.base64url,base58:i.base58,base58xmr:i.base58xmr},St=`Invalid encoding type. Available types: ${Object.keys($t).join(", ")}`;i.bytesToString=(_t,nt)=>{if("string"!=typeof _t||!$t.hasOwnProperty(_t))throw new TypeError(St);if(!(nt instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return $t[_t].encode(nt)},i.str=i.bytesToString,i.stringToBytes=(_t,nt)=>{if(!$t.hasOwnProperty(_t))throw new TypeError(St);if("string"!=typeof nt)throw new TypeError("stringToBytes() expects string");return $t[_t].decode(nt)},i.bytes=i.stringToBytes})(lib),BigInt(1e3),BigInt(1e6),BigInt(1e9),BigInt(1e12),BigInt("2100000000000000000"),BigInt(1e11);const TAGCODES={payment_hash:1,payment_secret:16,description:13,payee:19,description_hash:23,expiry:6,min_final_cltv_expiry:24,fallback_address:9,route_hint:3,feature_bits:5,metadata:27};for(let i=0,a=Object.keys(TAGCODES);ithis.handleNotice(a))}initiateAuth(i={limit:1}){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a.debug("Initiating authentication");const r=a.relay.sub([i],{id:"auth-test"});r.on("eose",()=>{r.unsub(),a._status=1,a.ndkRelay.emit("ready"),a.debug("Authentication not required"),r.unsub()}),a.debug("Authentication request started")})()}connect(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=()=>{i.updateConnectionStats.connected(),i.ndkRelay.authRequired?(i._status=6,i.ndkRelay.emit("connect"),i.initiateAuth()):(i._status=1,i.ndkRelay.emit("connect"),i.ndkRelay.emit("ready"))},r=()=>{i.updateConnectionStats.disconnected(),1===i._status&&(i._status=3,i.handleReconnection()),i.ndkRelay.emit("disconnect")},o=function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(c){i.debug("Relay requested authentication",{havePolicy:!!i.ndkRelay.authPolicy}),i.ndkRelay.authPolicy?7!==i._status&&(i._status=7,yield i.ndkRelay.authPolicy(i.ndkRelay,c),7===i._status&&(i.debug("Authentication policy finished"),i._status=1,i.ndkRelay.emit("ready"))):yield i.ndkRelay.emit("auth",c)});return function(y){return s.apply(this,arguments)}}();try{i.updateConnectionStats.attempt(),i._status=0,i.relay.off("connect",a),i.relay.off("disconnect",r),i.relay.on("connect",a),i.relay.on("disconnect",r),i.relay.on("auth",o),yield i.relay.connect()}catch(s){throw i.debug("Failed to connect",s),i._status=3,s}})()}disconnect(){this._status=2,this.relay.close()}get status(){return this._status}isAvailable(){return 1===this._status}isFlapping(){const i=this._connectionStats.durations;if(i.length%3!=0)return!1;const a=i.reduce((o,s)=>o+s,0)/i.length,r=i.map(o=>Math.pow(o-a,2)).reduce((o,s)=>o+s,0)/i.length;return Math.sqrt(r)<1e3}handleNotice(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){(i.includes("oo many")||i.includes("aximum"))&&(a.disconnect(),setTimeout(()=>a.connect(),2e3),a.debug(a.relay.url,"Relay complaining?",i)),a.ndkRelay.emit("notice",a,i)})()}handleReconnection(i=0){if(this.isFlapping())return this.ndkRelay.emit("flapping",this,this._connectionStats),void(this._status=5);const a=this.connectedAt?Math.max(0,6e4-(Date.now()-this.connectedAt)):0;setTimeout(()=>{this._status=4,this.connect().then(()=>{this.debug("Reconnected")}).catch(r=>{this.debug("Reconnect failed",r),i<5?setTimeout(()=>{this.handleReconnection(i+1)},6e4):this.debug("Reconnect failed after 5 attempts")})},a)}updateConnectionStats={connected:()=>{this._connectionStats.success++,this._connectionStats.connectedAt=Date.now()},disconnected:()=>{this._connectionStats.connectedAt&&(this._connectionStats.durations.push(Date.now()-this._connectionStats.connectedAt),this._connectionStats.durations.length>100&&this._connectionStats.durations.shift()),this._connectionStats.connectedAt=void 0},attempt:()=>{this._connectionStats.attempts++}};get connectionStats(){return this._connectionStats}},NDKRelayPublisher=class{ndkRelay;constructor(i){this.ndkRelay=i}publish(i,a=2500){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=()=>new Promise((S,I)=>{try{r.publishEvent(i,a).then(T=>S(T)).catch(T=>I(T))}catch(T){I(T)}}),s=new Promise((S,I)=>{setTimeout(()=>I(new Error("Timeout")),a)}),c=()=>{o().then(S=>y(S)).catch(S=>k(S))};let y,k;return 1===r.ndkRelay.status?Promise.race([o(),s]):Promise.race([new Promise((S,I)=>{y=S,k=I,r.ndkRelay.once("connect",c)}),s]).finally(()=>{r.ndkRelay.removeListener("connect",c)})})()}publishEvent(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=yield i.toNostrEvent(),s=r.ndkRelay.connectivity.relay.publish(o);let c;const y=new Promise((S,I)=>{s.then(()=>{clearTimeout(c),r.ndkRelay.emit("published",i),S(!0)}).catch(T=>{clearTimeout(c),r.ndkRelay.debug("Publish failed",T,i.id),r.ndkRelay.emit("publish:failed",i,T),I(T)})});if(!a||i.isEphemeral())return y;const k=new Promise((S,I)=>{c=setTimeout(()=>{r.ndkRelay.debug("Publish timed out",i.rawEvent()),r.ndkRelay.emit("publish:failed",i,"Timeout"),I(new Error("Publish operation timed out"))},a)});return Promise.race([y,k])})()}auth(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.ndkRelay.connectivity.relay.auth(i.rawEvent())})()}};function calculateGroupableId(i){const a=[];for(const r of i){if(r.since||r.until)return null;const o=Object.keys(r||{}).sort().join("-");a.push(o)}return a.join("|")}function mergeFilters(i){const a={};return i.forEach(r=>{Object.entries(r).forEach(([o,s])=>{a[o]=Array.isArray(s)?void 0===a[o]?[...s]:Array.from(new Set([...a[o],...s])):s})}),a}var MAX_SUBID_LENGTH=20;function queryFullyFilled(i){return!(!filterIncludesIds(i.filter)||!resultHasAllRequestedIds(i))}function compareFilter(i,a){if(Object.keys(i).length!==Object.keys(a).length)return!1;for(const[r,o]of Object.entries(i)){const s=a[r];if(!s)return!1;if(Array.isArray(o)&&Array.isArray(s)){const c=o;for(const y of s)if(!c.includes(y))return!1}else if(s!==o)return!1}return!0}function filterIncludesIds(i){return!!i.ids}function resultHasAllRequestedIds(i){const a=i.filter.ids;return!!a&&a.length===i.eventFirstSeen.size}function generateSubId(i,a){const r=i.map(k=>k.subId).filter(Boolean),o=[],s=new Set,c=new Set;if(r.length>0)o.push(Array.from(new Set(r)).join(","));else{for(const k of a)for(const S of Object.keys(k))"kinds"===S?k.kinds?.forEach(I=>c.add(I)):s.add(S);c.size>0&&o.push("kinds:"+Array.from(c).join(",")),s.size>0&&o.push(Array.from(s).join(","))}let y=o.join("-");return y.length>MAX_SUBID_LENGTH&&(y=y.substring(0,MAX_SUBID_LENGTH)),1!==r.length&&(y+="-"+Math.floor(999*Math.random()).toString()),y}function filterFromId(i){let a;if(i.match(NIP33_A_REGEX)){const[r,o,s]=i.split(":"),c={authors:[o],kinds:[parseInt(r)]};return s&&(c["#d"]=[s]),c}try{switch(a=nip19_exports.decode(i),a.type){case"nevent":return{ids:[a.data.id]};case"note":return{ids:[a.data]};case"naddr":return{authors:[a.data.pubkey],"#d":[a.data.identifier],kinds:[a.data.kind]}}}catch{}return{ids:[i]}}function isNip33AValue(i){return null!==i.match(NIP33_A_REGEX)}var NIP33_A_REGEX=/^(\d+):([0-9A-Fa-f]+)(?::(.*))?$/;function relaysFromBech32(i){try{const a=nip19_exports.decode(i);if(["naddr","nevent"].includes(a?.type)){const r=a.data;if(r?.relays)return r.relays.map(o=>new NDKRelay(o))}}catch{}return[]}var NDKGroupedSubscriptions=class extends lib$1.EventEmitter{subscriptions;req;debug;constructor(i,a){super(),this.subscriptions=i,this.debug=a||this.subscriptions[0].subscription.debug.extend("grouped");for(const r of i)this.handleSubscriptionClosure(r)}addSubscription(i){this.subscriptions.push(i),this.handleSubscriptionClosure(i)}eventReceived(i){for(const a of this.subscriptions)a.eventReceived(i)}eoseReceived(i){Array.from(this.subscriptions).forEach(function(){var a=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(r){r.subscription.eoseReceived(i)});return function(r){return a.apply(this,arguments)}}())}handleSubscriptionClosure(i){i.subscription.on("close",()=>{const a=this.subscriptions.findIndex(r=>r.subscription===i.subscription);this.subscriptions.splice(a,1),this.subscriptions.length<=0&&this.emit("close")})}map(i){return this.subscriptions.map(i)}[Symbol.iterator](){let i=0;const a=this.subscriptions;return{next:()=>imatchFilter(r,a))}};function findMatchingActiveSubscriptions(i,a){if(i.length!==a.length)return!1;for(let r=0;r{this.delayedItems.get(r)&&this.delayedItems.delete(r)}));let y=this.executionTimeoutsByGroupId.get(r);y&&"at-most"!==i.opts.groupableDelayType||(y=setTimeout(()=>{this.executeGroup(r,i)},i.opts.groupableDelay),this.executionTimeoutsByGroupId.set(r,y)),this.delayedTimers.has(r)?this.delayedTimers.get(r).push(y):this.delayedTimers.set(r,[y])}executeGroup(i,a){const r=this.delayedItems.get(i);this.delayedItems.delete(i);const o=this.delayedTimers.get(i);if(this.delayedTimers.delete(i),o)for(const s of o)clearTimeout(s);if(r){const s=r.subscriptions[0].filters.length,c=[];for(let y=0;yS.filters[y]);c.push(mergeFilters(k))}this.executeSubscriptions(i,r,c)}}executeSubscriptionsWhenConnected(i,a,r){const o=()=>{this.debug("new relay coming online for active subscription",{relay:this.ndkRelay.url,mergeFilters}),this.executeSubscriptionsConnected(i,a,r)};this.ndkRelay.once("ready",o),a.once("close",()=>{this.ndkRelay.removeListener("ready",o)})}executeSubscriptions(i,a,r){this.conn.isAvailable()?this.executeSubscriptionsConnected(i,a,r):this.executeSubscriptionsWhenConnected(i,a,r)}executeSubscriptionsConnected(i,a,r){const o=[];for(const{subscription:k}of a)o.push(k);const s=generateSubId(o,r);a.req=r;const c={id:s};(this.ndkRelay.trusted||o.every(k=>k.opts.skipVerification))&&(c.skipVerification=!0);const y=this.conn.relay.sub(r,c);return this.activeSubscriptions.set(y,a),i&&this.activeSubscriptionsByGroupId.set(i,{filters:r,sub:y}),y.on("event",k=>{const S=new NDKEvent(void 0,k);S.relay=this.ndkRelay,this.activeSubscriptions.get(y)?.eventReceived(S)}),y.on("eose",()=>{this.activeSubscriptions.get(y)?.eoseReceived(this.ndkRelay)}),a.once("close",()=>{y.unsub(),this.activeSubscriptions.delete(y),i&&this.activeSubscriptionsByGroupId.delete(i)}),this.executeSubscriptionsWhenConnected(i,a,r),y}executedFilters(){const i=new Map;for(const[,a]of this.activeSubscriptions)i.set(a.req,a.map(r=>r.subscription));return i}},NDKRelay=class extends lib$1.EventEmitter{url;scores;connectivity;subs;publisher;authPolicy;authRequired=!1;trusted=!1;complaining=!1;debug;constructor(i,a){super(),this.url=i,this.scores=new Map,this.debug=debug3(`ndk:relay:${i}`),this.connectivity=new NDKRelayConnectivity(this),this.subs=new NDKRelaySubscriptions(this),this.publisher=new NDKRelayPublisher(this),this.authPolicy=a}get status(){return this.connectivity.status}get connectionStats(){return this.connectivity.connectionStats}connect(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return i.connectivity.connect()})()}disconnect(){3!==this.status&&this.connectivity.disconnect()}subscribe(i,a){this.subs.subscribe(i,a)}publish(i,a=2500){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.publisher.publish(i,a)})()}auth(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.publisher.auth(i)})()}scoreSlowerEvent(i){}tagReference(i){const a=["r",this.url];return i&&a.push(i),a}referenceTags(){return[["r",this.url]]}activeSubscriptions(){return this.subs.executedFilters()}},PublishError=class extends Error{errors;constructor(i,a){super(i),this.errors=a}},NDKRelaySet=class vE{relays;debug;ndk;constructor(a,r){this.relays=a,this.ndk=r,this.debug=r.debug.extend("relayset")}addRelay(a){this.relays.add(a)}static fromRelayUrls(a,r){const o=new Set;for(const s of a){const c=r.pool.relays.get(s);if(c)o.add(c);else{const y=new NDKRelay(s);r.pool.useTemporaryRelay(y),o.add(y)}}return new vE(new Set(o),r)}publish(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=new Set,c=new Map,y=a.isEphemeral(),k=Array.from(o.relays).map(S=>new Promise(I=>{S.publish(a,r).then(()=>{s.add(S),I()}).catch(T=>{y||(c.set(S,T),o.debug("error publishing to relay",{relay:S.url,err:T})),I()})}));if(yield Promise.all(k),0===s.size&&!y)throw new PublishError("No relay was able to receive the event",c);return s})()}size(){return this.relays.size}};function calculateRelaySetFromEvent(i,a){const r=new Set;return i.pool?.relays.forEach(o=>r.add(o)),new NDKRelaySet(r,i)}function getWriteRelaysFor(i,a){if(i.outboxTracker)return i.outboxTracker.data.get(a)?.writeRelays}function calculateRelaySetsFromFilter(i,a){const r=new Map,o=new Set;if(a.forEach(s=>{s.authors&&s.authors.forEach(c=>o.add(c))}),o.size>0){const s=new Map;for(const c of o){const y=getWriteRelaysFor(i,c);y&&y.size>0?(i.debug(`Adding ${y.size} relays for ${c}`),y.forEach(k=>{const S=s.get(k)||[];S.push(c),s.set(k,S)})):i.explicitRelayUrls?.forEach(k=>{const S=s.get(k)||[];S.push(c),s.set(k,S)})}for(const c of s.keys())r.set(c,[]);for(const c of a)if(c.authors)for(const[y,k]of s.entries()){const S=c.authors.filter(I=>k.includes(I));r.set(y,[...r.get(y),{...c,authors:S}])}else for(const y of s.keys())r.set(y,[...r.get(y),c])}else i.explicitRelayUrls?.forEach(s=>{r.set(s,a)});return r}function calculateRelaySetsFromFilters(i,a){return calculateRelaySetsFromFilter(i,a)}var DEFAULT_RELAYS=["wss://nos.lol","wss://relay.nostr.band","wss://relay.f7z.io","wss://relay.damus.io","wss://nostr.mom","wss://no.str.cr"],Zap=class extends lib$1.EventEmitter{ndk;zappedEvent;zappedUser;constructor(i){super(),this.ndk=i.ndk,this.zappedEvent=i.zappedEvent,this.zappedUser=i.zappedUser||this.ndk.getUser({hexpubkey:this.zappedEvent?.pubkey})}getZapEndpoint(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let a,r,o,s;if(i.zappedUser&&(i.zappedUser.profile||(yield i.zappedUser.fetchProfile({groupable:!1})),a=(i.zappedUser.profile||{}).lud06,r=(i.zappedUser.profile||{}).lud16),r&&!r.startsWith("LNURL")){const[c,y]=r.split("@");o=`https://${y}/.well-known/lnurlp/${c}`}else if(a){const{words:c}=bech32.decode(a,1e3),y=bech32.fromWords(c);o=new TextDecoder("utf-8").decode(y)}if(!o)throw new Error("No zap endpoint found");try{const c=i.ndk.httpFetch||fetch,y=yield c(o);if(200!==y.status){const S=yield y.text();throw new Error(`Unable to fetch zap endpoint ${o}: ${S}`)}const k=yield y.json();return k?.allowsNostr&&(k?.nostrPubkey||k?.nostrPubKey)&&(s=k.callback),s}catch(c){throw new Error(`Unable to fetch zap endpoint ${o}: ${c}`)}})()}createZapRequest(i,a,r,o,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=yield c.generateZapRequest(i,a,r,o);if(!y)return null;const{event:k,zapEndpoint:S}=y;if(!k)throw new Error("No zap request event found");let I;yield k.sign(s);try{I=yield c.getInvoice(k,i,S)}catch(T){throw new Error("Failed to get invoice: "+T)}return I})()}getInvoice(i,a,r){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return(yield(yield fetch(`${r}?`+new URLSearchParams({amount:a.toString(),nostr:JSON.stringify(i.rawEvent())}))).json()).pr})()}generateZapRequest(i,a,r,o,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=yield c.getZapEndpoint();if(!y)throw new Error("No zap endpoint found");if(!c.zappedEvent&&!c.zappedUser)throw new Error("No zapped event or user found");const k=nip57_exports.makeZapRequest({profile:c.zappedUser.pubkey,event:null,amount:i,comment:a||"",relays:o??c.relays()});if(c.zappedEvent){const I=c.zappedEvent.referenceTags();k.tags.push(...I)}k.tags.push(["lnurl",y]);const S=new NDKEvent(c.ndk,k);return r&&(S.tags=S.tags.concat(r)),{event:S,zapEndpoint:y}})()}relays(){let i=[];return this.ndk?.pool?.relays&&(i=this.ndk.pool.urls()),i.length||(i=DEFAULT_RELAYS),i}};function mergeTags(i,a){const r=new Map,o=(s,c)=>s.every((y,k)=>y===c[k]);return i.concat(a).forEach(s=>{for(let[c,y]of r)if(o(y,s)||o(s,y))return void(s.length>=y.length&&r.set(c,s));r.set(s.join(","),s)}),Array.from(r.values())}function generateContentTags(i){return _generateContentTags.apply(this,arguments)}function _generateContentTags(){return _generateContentTags=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a=[]){let r=[];const o=s=>{a.find(c=>c[0]===s[0]&&c[1]===s[1])||a.push(s)};return i=i.replace(/(@|nostr:)(npub|nprofile|note|nevent|naddr)[a-zA-Z0-9]+/g,s=>{try{const c=s.split(/(@|nostr:)/)[2],{type:y,data:k}=nip19_exports.decode(c);let S;switch(y){case"npub":S=["p",k];break;case"nprofile":S=["p",k.pubkey];break;case"note":r.push(new Promise(function(){var I=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(T){o(["e",k,yield maybeGetEventRelayUrl(c),"mention"]),T()});return function(T){return I.apply(this,arguments)}}()));break;case"nevent":r.push(new Promise(function(){var I=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(T){let{id:M,relays:R,author:L}=k;R&&0!==R.length||(R=[yield maybeGetEventRelayUrl(c)]),o(["e",M,R[0],"mention"]),L&&o(["p",L]),T()});return function(T){return I.apply(this,arguments)}}()));break;case"naddr":r.push(new Promise(function(){var I=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(T){const M=[k.kind,k.pubkey,k.identifier].join(":");let R=k.relays??[];0===R.length&&(R=[yield maybeGetEventRelayUrl(c)]),o(["a",M,R[0],"mention"]),o(["p",k.pubkey]),T()});return function(T){return I.apply(this,arguments)}}()));break;default:return s}return S&&o(S),`nostr:${c}`}catch{return s}}),yield Promise.all(r),{content:i=i.replace(/#(\w+)/g,(s,c)=>{const y=["t",c];return a.find(k=>k[0]===y[0]&&k[1]===y[1])||a.push(y),s}),tags:a}}),_generateContentTags.apply(this,arguments)}function maybeGetEventRelayUrl(i){return _maybeGetEventRelayUrl.apply(this,arguments)}function _maybeGetEventRelayUrl(){return(_maybeGetEventRelayUrl=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){return""})).apply(this,arguments)}function isReplaceable(){if(void 0===this.kind)throw new Error("Kind not set");return this.kind>=1e4&&this.kind<2e4}function isEphemeral(){if(void 0===this.kind)throw new Error("Kind not set");return this.kind>=2e4&&this.kind<3e4}function isParamReplaceable(){if(void 0===this.kind)throw new Error("Kind not set");return this.kind>=3e4&&this.kind<4e4}function encrypt(i,a){return _encrypt.apply(this,arguments)}function _encrypt(){return _encrypt=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a){if(!this.ndk)throw new Error("No NDK instance found!");if(a||(yield this.ndk.assertSigner(),a=this.ndk.signer),!i){const r=this.getMatchingTags("p");if(1!==r.length)throw new Error("No recipient could be determined and no explicit recipient was provided");i=this.ndk.getUser({hexpubkey:r[0][1]})}this.content=yield a?.encrypt(i,this.content)}),_encrypt.apply(this,arguments)}function decrypt(i,a){return _decrypt.apply(this,arguments)}function _decrypt(){return _decrypt=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a){if(!this.ndk)throw new Error("No NDK instance found!");a||(yield this.ndk.assertSigner(),a=this.ndk.signer),i||(i=this.author),this.content=yield a?.decrypt(i,this.content)}),_decrypt.apply(this,arguments)}function encode(){return this.isParamReplaceable()?nip19_exports.naddrEncode({kind:this.kind,pubkey:this.pubkey,identifier:this.replaceableDTag(),relays:this.relay?[this.relay.url]:[]}):this.relay?nip19_exports.neventEncode({id:this.tagId(),relays:[this.relay.url],author:this.pubkey}):nip19_exports.noteEncode(this.tagId())}function repost(){return _repost.apply(this,arguments)}function _repost(){return _repost=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i=!0,a){if(!a&&i){if(!this.ndk)throw new Error("No NDK instance found");this.ndk.assertSigner(),a=this.ndk.signer}const r=new NDKEvent(this.ndk,{kind:getKind(this),content:""});return r.tag(this),16===r.kind&&r.tags.push(["k",`${this.kind}`]),a&&(yield r.sign(a)),i&&(yield r.publish()),r}),_repost.apply(this,arguments)}function getKind(i){return 1===i.kind?6:16}var NDKEvent=class Pw extends lib$1.EventEmitter{ndk;created_at;content="";tags=[];kind;id="";sig;pubkey="";_author=void 0;relay;constructor(a,r){super(),this.ndk=a,this.created_at=r?.created_at,this.content=r?.content||"",this.tags=r?.tags||[],this.id=r?.id||"",this.sig=r?.sig,this.pubkey=r?.pubkey||"",this.kind=r?.kind}rawEvent(){return{created_at:this.created_at,content:this.content,tags:this.tags,kind:this.kind,pubkey:this.pubkey,id:this.id,sig:this.sig}}set author(a){this.pubkey=a.hexpubkey,this._author=void 0}get author(){if(this._author)return this._author;if(!this.ndk)throw new Error("No NDK instance found");const a=this.ndk.getUser({hexpubkey:this.pubkey});return this._author=a,a}tag(a,r){let o=[];if(a instanceof NDKUser){const s=["p",a.pubkey];r&&s.push(r),o.push(s)}else if(a instanceof Pw){const s=a;o=s.referenceTags(r,s?.pubkey===this.pubkey);for(const y of s.getMatchingTags("p"))y[1]!==this.pubkey&&(this.tags.find(k=>"p"===k[0]&&k[1]===y[1])||this.tags.push(["p",y[1]]))}else o=[a];this.tags=mergeTags(this.tags,o)}toNostrEvent(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a&&""===r.pubkey){const y=yield r.ndk?.signer?.user();r.pubkey=y?.hexpubkey||""}r.created_at||(r.created_at=Math.floor(Date.now()/1e3));const o=r.rawEvent(),{content:s,tags:c}=yield r.generateTags();o.content=s||"",o.tags=c;try{r.id=getEventHash(o)}catch{}return r.id&&(o.id=r.id),r.sig&&(o.sig=r.sig),o})()}isReplaceable=isReplaceable.bind(this);isEphemeral=isEphemeral.bind(this);isParamReplaceable=isParamReplaceable.bind(this);encode=encode.bind(this);encrypt=encrypt.bind(this);decrypt=decrypt.bind(this);getMatchingTags(a){return this.tags.filter(r=>r[0]===a)}tagValue(a){const r=this.getMatchingTags(a);if(0!==r.length)return r[0][1]}get alt(){return this.tagValue("alt")}set alt(a){this.removeTag("alt"),a&&this.tags.push(["alt",a])}removeTag(a){this.tags=this.tags.filter(r=>r[0]!==a)}sign(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a?r.author=yield a.user():(r.ndk?.assertSigner(),a=r.ndk.signer),yield r.generateTags(),r.isReplaceable()&&(r.created_at=Math.floor(Date.now()/1e3));const o=yield r.toNostrEvent();return r.sig=yield a.sign(o),r.sig})()}publish(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(o.sig||(yield o.sign()),!o.ndk)throw new Error("NDKEvent must be associated with an NDK instance to publish");return a||(a=o.ndk.devWriteRelaySet||calculateRelaySetFromEvent(o.ndk)),a.publish(o,r)})()}generateTags(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let r=[];const o=yield generateContentTags(a.content,a.tags),s=o.content;if(r=o.tags,a.kind&&a.isParamReplaceable()&&!a.getMatchingTags("d")[0]){const c=a.tagValue("title");let y=[...Array(c?6:16)].map(()=>Math.random().toString(36)[2]).join("");c&&c.length>0&&(y=c.replace(/[^a-z0-9]+/gi,"-").replace(/^-|-$/g,"")+"-"+y),r.push(["d",y])}if((a.ndk?.clientName||a.ndk?.clientNip89)&&!a.tagValue("client")){const c=["client",a.ndk.clientName??""];a.ndk.clientNip89&&c.push(a.ndk.clientNip89),r.push(c)}return{content:s||"",tags:r}})()}muted(){const a=this.ndk?.mutedIds.get(this.pubkey);if(a&&"p"===a)return"author";const r=this.tagReference(),o=this.ndk?.mutedIds.get(r[1]);return o&&o===r[0]?"event":null}replaceableDTag(){if(this.kind&&this.kind>=3e4&&this.kind<=4e4){const a=this.getMatchingTags("d")[0];return a?a[1]:""}throw new Error("Event is not a parameterized replaceable event")}deduplicationKey(){return 0===this.kind||3===this.kind||this.kind&&this.kind>=1e4&&this.kind<2e4?`${this.kind}:${this.pubkey}`:this.tagId()}tagId(){return this.isParamReplaceable()?this.tagAddress():this.id}tagAddress(){if(!this.isParamReplaceable())throw new Error("This must only be called on replaceable events");const a=this.replaceableDTag();return`${this.kind}:${this.pubkey}:${a}`}tagReference(a){let r;return r=this.isParamReplaceable()?["a",this.tagAddress()]:["e",this.tagId()],r.push(this.relay?this.relay.url:""),a&&r.push(a),r}referenceTags(a,r){let o=[];return o=this.isParamReplaceable()?[["a",this.tagAddress()],["e",this.id]]:[["e",this.id]],this.relay?.url?o=o.map(s=>(s.push(this.relay?.url),s)):a&&(o=o.map(s=>(s.push(""),s))),a&&o.forEach(s=>s.push(a)),r||o.push(...this.author.referenceTags()),o}filter(){return this.isParamReplaceable()?{"#a":[this.tagId()]}:{"#e":[this.tagId()]}}zap(a,r,o,s,c){var y=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!y.ndk)throw new Error("No NDK instance found");c||y.ndk.assertSigner();const k=new Zap({ndk:y.ndk,zappedEvent:y,zappedUser:s}),S=Array.from(y.ndk.pool.relays.keys());return yield k.createZapRequest(a,r,o,S,c)})()}delete(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.ndk)throw new Error("No NDK instance found");r.ndk.assertSigner();const o=new Pw(r.ndk,{kind:5,content:a||""});return o.tag(r),yield o.publish(),o})()}repost=repost.bind(this);react(a,r=!0){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.ndk)throw new Error("No NDK instance found");o.ndk.assertSigner();const s=new Pw(o.ndk,{kind:7,content:a});return s.tag(o),r?yield s.publish():yield s.sign(),s})()}get isValid(){return!0}},READ_MARKER="read",WRITE_MARKER="write",NDKRelayList=class xE extends NDKEvent{constructor(a,r){super(a,r),this.kind??=10002}static from(a){return new xE(a.ndk,a.rawEvent())}get readRelayUrls(){return this.getMatchingTags("r").filter(a=>!a[2]||a[2]&&a[2]===READ_MARKER).map(a=>a[1])}set readRelayUrls(a){for(const r of a)this.tags.push(["r",r,READ_MARKER])}get writeRelayUrls(){return this.getMatchingTags("r").filter(a=>!a[2]||a[2]&&a[2]===WRITE_MARKER).map(a=>a[1])}set writeRelayUrls(a){for(const r of a)this.tags.push(["r",r,WRITE_MARKER])}get bothRelayUrls(){return this.getMatchingTags("r").filter(a=>!a[2]).map(a=>a[1])}set bothRelayUrls(a){for(const r of a)this.tags.push(["r",r])}get relays(){return this.getMatchingTags("r").map(a=>a[1])}},defaultOpts={closeOnEose:!1,cacheUsage:"CACHE_FIRST",groupable:!0,groupableDelay:100,groupableDelayType:"at-most"},NDKSubscription=class extends lib$1.EventEmitter{subId;filters;opts;pool;skipVerification=!1;skipValidation=!1;relayFilters;relaySet;ndk;debug;eoseDebug;eventFirstSeen=new Map;eosesSeen=new Set;eventsPerRelay=new Map;lastEventReceivedAt;internalId;constructor(i,a,r,o,s){if(super(),this.ndk=i,this.pool=r?.pool||i.pool,this.opts={...defaultOpts,...r||{}},this.filters=a instanceof Array?a:[a],this.subId=s||r?.subId,this.internalId=Math.random().toString(36).substring(7),this.relaySet=o,this.debug=i.debug.extend(`subscription[${r?.subId??this.internalId}]`),this.eoseDebug=this.debug.extend("eose"),this.skipVerification=r?.skipVerification||!1,this.skipValidation=r?.skipValidation||!1,this.opts.closeOnEose||this.debug("Creating a permanent subscription",this.opts,JSON.stringify(this.filters)),"ONLY_CACHE"===this.opts.cacheUsage&&!this.opts.closeOnEose)throw new Error("Cannot use cache-only options with a persistent subscription")}get filter(){return this.filters[0]}isGroupable(){return this.opts?.groupable||!1}shouldQueryCache(){return"ONLY_RELAY"!==this.opts?.cacheUsage}shouldQueryRelays(){return"ONLY_CACHE"!==this.opts?.cacheUsage}shouldWaitForCache(){return this.opts.closeOnEose&&!!this.ndk.cacheAdapter?.locking&&"PARALLEL"!==this.opts.cacheUsage}start(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let a;i.shouldQueryCache()&&(a=i.startWithCache(),i.shouldWaitForCache()&&(yield a,queryFullyFilled(i)))?i.emit("eose",i):i.shouldQueryRelays()?i.startWithRelays():i.emit("eose",i)})()}stop(){this.emit("close",this),this.removeAllListeners()}hasAuthorsFilter(){return this.filters.some(i=>i.authors?.length)}startWithCache(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(i.ndk.cacheAdapter?.query){const a=i.ndk.cacheAdapter.query(i);i.ndk.cacheAdapter.locking&&(yield a)}})()}startWithRelays(){if(this.relaySet){this.relayFilters=new Map;for(const i of this.relaySet.relays)this.relayFilters.set(i.url,this.filters)}else this.relayFilters=calculateRelaySetsFromFilters(this.ndk,this.filters);if(this.relayFilters&&0!==this.relayFilters.size)for(const[i,a]of this.relayFilters)this.pool.getRelay(i).subscribe(this,a);else this.debug("No relays to subscribe to",this.ndk.explicitRelayUrls)}eventReceived(i,a,r=!1){if(a&&(i.relay=a),a||(a=i.relay),this.skipValidation||i.isValid){if(!r&&a){let o=this.eventsPerRelay.get(a);if(o||(o=new Set,this.eventsPerRelay.set(a,o)),o.add(i.id),this.eventFirstSeen.has(i.id)){const s=Date.now()-(this.eventFirstSeen.get(i.id)||0);return a.scoreSlowerEvent(s),void this.emit("event:dup",i,a,s,this)}this.ndk.cacheAdapter&&this.ndk.cacheAdapter.setEvent(i,this.filters,a),this.eventFirstSeen.set(i.id,Date.now())}else this.eventFirstSeen.set(i.id,0);i.ndk||(i.ndk=this.ndk),this.emit("event",i,a,this),this.lastEventReceivedAt=Date.now()}else this.debug("Event failed validation",i)}eoseTimeout;eoseReceived(i){this.eosesSeen.add(i),this.eoseDebug(`received from ${i.url}`);let a=this.lastEventReceivedAt?Date.now()-this.lastEventReceivedAt:void 0;const r=this.eosesSeen.size===this.relayFilters?.size;if(queryFullyFilled(this))this.emit("eose"),this.eoseDebug("Query fully filled"),this.opts?.closeOnEose&&this.stop();else if(r)this.emit("eose"),this.eoseDebug("All EOSEs seen"),this.opts?.closeOnEose&&this.stop();else{let o=1e3;const s=this.eosesSeen.size/this.relayFilters.size;if(this.eosesSeen.size>=2&&s>=.5){o*=1-s,this.eoseTimeout&&clearTimeout(this.eoseTimeout);const c=()=>{a=this.lastEventReceivedAt?Date.now()-this.lastEventReceivedAt:void 0,void 0!==a&&a<20?this.eoseTimeout=setTimeout(c,o):(this.emit("eose"),this.opts?.closeOnEose&&this.stop())};this.eoseTimeout=setTimeout(c,o)}}}};function follows(i,a){return _follows.apply(this,arguments)}function _follows(){return _follows=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r=3){if(!this.ndk)throw new Error("NDK not set");const o=Array.from(yield this.ndk.fetchEvents({kinds:[r],authors:[this.pubkey]},i||{groupable:!1}))[0];if(o){const s=new Set;return o.tags.forEach(c=>{if("p"===c[0])try{s.add(c[1]),a&&this.ndk?.outboxTracker?.trackUsers([c[1]])}catch{}}),[...s].reduce((c,y)=>{const k=new NDKUser({pubkey:y});return k.ndk=this.ndk,c.add(k),c},new Set)}return new Set}),_follows.apply(this,arguments)}function profileFromEvent(i){const a={};let r;try{r=JSON.parse(i.content)}catch(o){throw new Error(`Failed to parse profile event: ${o}`)}return Object.keys(r).forEach(o=>{switch(o){case"name":a.name=r.name;break;case"display_name":a.displayName=r.display_name;break;case"image":case"picture":a.image=r.image||r.picture;break;case"banner":a.banner=r.banner;break;case"bio":a.bio=r.bio;break;case"nip05":a.nip05=r.nip05;break;case"lud06":a.lud06=r.lud06;break;case"lud16":a.lud16=r.lud16;break;case"about":a.about=r.about;break;case"zapService":a.zapService=r.zapService;break;case"website":a.website=r.website;break;default:a[o]=r[o]}}),a}function serializeProfile(i){const a={};for(const[r,o]of Object.entries(i))switch(r){case"username":case"name":a.name=o;break;case"displayName":a.display_name=o;break;case"image":case"picture":a.picture=o;break;case"bio":case"about":a.about=o;break;default:a[r]=o}return JSON.stringify(a)}var NDKList=class _E extends NDKEvent{_encryptedTags;encryptedTagsLength;constructor(a,r){super(a,r),this.kind??=30001}static from(a){return new _E(a.ndk,a.rawEvent())}get title(){const a=this.tagValue("title")||this.tagValue("name");return 3!==this.kind||a?1e4!==this.kind||a?10001!==this.kind||a?10002!==this.kind||a?10003!==this.kind||a?10004!==this.kind||a?10005!==this.kind||a?10006!==this.kind||a?10007!==this.kind||a?10015!==this.kind||a?10030!==this.kind||a?a??this.tagValue("d"):"Emojis":"Interests":"Search Relays":"Blocked Relays":"Public Chats":"Communities":"Bookmarks":"Relay Metadata":"Pinned Notes":"Mute":"Contacts"}set title(a){if(this.removeTag("title"),this.removeTag("name"),!a)throw new Error("Title cannot be empty");this.tags.push(["title",a])}get name(){const a=this.tagValue("name");return 3!==this.kind||a?1e4!==this.kind||a?10001!==this.kind||a?10002!==this.kind||a?10003!==this.kind||a?10004!==this.kind||a?10005!==this.kind||a?10006!==this.kind||a?10007!==this.kind||a?10015!==this.kind||a?10030!==this.kind||a?a??this.tagValue("d"):"Emojis":"Interests":"Search Relays":"Blocked Relays":"Public Chats":"Communities":"Bookmarks":"Relay Metadata":"Pinned Notes":"Mute":"Contacts"}set name(a){if(this.removeTag("name"),!a)throw new Error("Name cannot be empty");this.tags.push(["title",a])}get description(){return this.tagValue("description")}set description(a){a?this.tags.push(["description",a]):this.removeTag("description")}isEncryptedTagsCacheValid(){return!(!this._encryptedTags||this.encryptedTagsLength!==this.content.length)}encryptedTags(a=!0){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(a&&r.isEncryptedTagsCacheValid())return r._encryptedTags;if(!r.ndk)throw new Error("NDK instance not set");if(!r.ndk.signer)throw new Error("NDK signer not set");const o=yield r.ndk.signer.user();try{if(r.content.length>0)try{const s=yield r.ndk.signer.decrypt(o,r.content),c=JSON.parse(s);return c&&c[0]?(r.encryptedTagsLength=r.content.length,r._encryptedTags=c):(r.encryptedTagsLength=r.content.length,r._encryptedTags=[])}catch{console.log(`error decrypting ${r.content}`)}}catch{}return[]})()}validateTag(a){return!0}get items(){return this.tags.filter(a=>!["d","L","l","title","name","description","summary","image","thumb","alt","expiration","subject"].includes(a[0]))}addItem(a,r=void 0,o=!1){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s.ndk)throw new Error("NDK instance not set");if(!s.ndk.signer)throw new Error("NDK signer not set");let c;if(a instanceof NDKEvent)c=a.referenceTags();else if(a instanceof NDKUser)c=a.referenceTags();else if(a instanceof NDKRelay)c=a.referenceTags();else{if(!Array.isArray(a))throw new Error("Invalid object type");c=[a]}if(r&&c[0].push(r),o){const y=yield s.ndk.signer.user(),k=yield s.encryptedTags();k.push(...c),s._encryptedTags=k,s.encryptedTagsLength=s.content.length,s.content=JSON.stringify(k),yield s.encrypt(y)}else s.tags.push(...c);s.created_at=Math.floor(Date.now()/1e3),s.emit("change")})()}removeItem(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.ndk)throw new Error("NDK instance not set");if(!o.ndk.signer)throw new Error("NDK signer not set");if(r){const s=yield o.ndk.signer.user(),c=yield o.encryptedTags();c.splice(a,1),o._encryptedTags=c,o.encryptedTagsLength=o.content.length,o.content=JSON.stringify(c),yield o.encrypt(s)}else o.tags.splice(a,1);return o.created_at=Math.floor(Date.now()/1e3),o.emit("change"),o})()}},lists_default=NDKList;function pin(i,a,r){return _pin.apply(this,arguments)}function _pin(){return _pin=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){if(!this.ndk)throw new Error("No NDK instance found");if(this.ndk.assertSigner(),!a){const o=yield this.ndk.fetchEvents({kinds:[10001],authors:[this.pubkey]},{cacheUsage:"ONLY_RELAY"});a=o.size>0?lists_default.from(Array.from(o)[0]):new NDKEvent(this.ndk,{kind:10001})}return a.tag(i),r&&(yield a.publish()),a}),_pin.apply(this,arguments)}var NIP05_REGEX=/^(?:([\w.+-]+)@)?([\w.-]+)$/;function getNip05For(i){return _getNip05For.apply(this,arguments)}function _getNip05For(){return _getNip05For=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a=fetch,r={}){const o=i.match(NIP05_REGEX);if(!o)return null;const[s,c="_",y]=o;try{const k=yield a(`https://${y}/.well-known/nostr.json?name=${c}`,r),{names:S,relays:I,nip46:T}=parseNIP05Result(yield k.json()),M=S[c];return M?{pubkey:M,relays:I?.[M],nip46:T?.[M]}:null}catch{return null}}),_getNip05For.apply(this,arguments)}function parseNIP05Result(i){const a={names:{}};for(const[r,o]of Object.entries(i.names))"string"==typeof r&&"string"==typeof o&&(a.names[r]=o);if(i.relays){a.relays={};for(const[r,o]of Object.entries(i.relays))"string"==typeof r&&Array.isArray(o)&&(a.relays[r]=o.filter(s=>"string"==typeof s))}if(i.nip46){a.nip46={};for(const[r,o]of Object.entries(i.relays))"string"==typeof r&&Array.isArray(o)&&(a.nip46[r]=o.filter(s=>"string"==typeof s))}return a}var NDKUser=class Kv{ndk;profile;_npub;_pubkey;relayUrls=[];nip46Urls=[];constructor(a){a.npub&&(this._npub=a.npub),a.hexpubkey&&(this._pubkey=a.hexpubkey),a.pubkey&&(this._pubkey=a.pubkey),a.relayUrls&&(this.relayUrls=a.relayUrls),a.nip46Urls&&(this.nip46Urls=a.nip46Urls)}get npub(){if(!this._npub){if(!this._pubkey)throw new Error("hexpubkey not set");this._npub=nip19_exports.npubEncode(this.pubkey)}return this._npub}set npub(a){this._npub=a}get hexpubkey(){return this.pubkey}set hexpubkey(a){this._pubkey=a}get pubkey(){if(!this._pubkey){if(!this._npub)throw new Error("npub not set");this._pubkey=nip19_exports.decode(this.npub).data}return this._pubkey}set pubkey(a){this._pubkey=a}static fromNip05(a,r,o=!1){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r?.cacheAdapter&&r.cacheAdapter.loadNip05){const y=yield r.cacheAdapter.loadNip05(a);if(y){const k=new Kv({pubkey:y.pubkey,relayUrls:y.relays,nip46Urls:y.nip46});return k.ndk=r,k}}let s={};o&&(s.cache="no-cache");const c=yield getNip05For(a,r?.httpFetch,s);if(c&&r?.cacheAdapter&&r.cacheAdapter.saveNip05&&r?.cacheAdapter.saveNip05(a,c),c){const y=new Kv({pubkey:c.pubkey,relayUrls:c.relays,nip46Urls:c.nip46});return y.ndk=r,y}})()}fetchProfile(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.ndk)throw new Error("NDK not set");r.profile||(r.profile={});let o=null;if(r.ndk.cacheAdapter&&r.ndk.cacheAdapter.fetchProfile&&"ONLY_RELAY"!==a?.cacheUsage){const c=yield r.ndk.cacheAdapter.fetchProfile(r.pubkey);if(c)return r.profile=c,c}!a&&r.ndk.cacheAdapter&&r.ndk.cacheAdapter.locking&&(o=yield r.ndk.fetchEvents({kinds:[0],authors:[r.pubkey]},{cacheUsage:"ONLY_CACHE",closeOnEose:!0,groupable:!1}),a={cacheUsage:"ONLY_RELAY",closeOnEose:!0,groupable:!0,groupableDelay:250}),o&&0!==o.size||(o=yield r.ndk.fetchEvents({kinds:[0],authors:[r.pubkey]},a));const s=Array.from(o).sort((c,y)=>c.created_at-y.created_at);return 0===s.length?null:(r.profile=profileFromEvent(s[0]),r.profile&&r.ndk.cacheAdapter&&r.ndk.cacheAdapter.saveProfile&&r.ndk.cacheAdapter.saveProfile(r.pubkey,r.profile),r.profile)})()}follows=follows.bind(this);pin=pin.bind(this);relayList(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("NDK not set");const r=a.ndk.outboxPool||a.ndk.pool,o=new Set;for(const y of r.relays.values())o.add(y);const s=new NDKRelaySet(o,a.ndk),c=yield a.ndk.fetchEvent({kinds:[10002],authors:[a.pubkey]},{closeOnEose:!0,pool:r,groupable:!0,subId:`relay-list-${a.pubkey.slice(0,6)}`},s);return c?NDKRelayList.from(c):yield a.relayListFromKind3()})()}relayListFromKind3(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("NDK not set");const r=yield a.ndk.fetchEvent({kinds:[3],authors:[a.pubkey]});if(r)try{const o=JSON.parse(r.content),s=new NDKRelayList(a.ndk),c=new Set,y=new Set;for(const[k,S]of Object.entries(o))if(S){const I=S;I.write&&y.add(k),I.read&&c.add(k)}else c.add(k),y.add(k);return s.readRelayUrls=Array.from(c),s.writeRelayUrls=Array.from(y),s}catch{}})()}tagReference(){return["p",this.pubkey]}referenceTags(a){const r=[["p",this.pubkey]];return a&&r[0].push("",a),r}publish(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("No NDK instance found");if(!a.profile)throw new Error("No profile available");a.ndk.assertSigner(),yield new NDKEvent(a.ndk,{kind:0,content:serializeProfile(a.profile)}).publish()})()}follow(a,r,o=3){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s.ndk)throw new Error("No NDK instance found");if(s.ndk.assertSigner(),r||(r=yield s.follows(void 0,void 0,o)),r.has(a))return!1;r.add(a);const c=new NDKEvent(s.ndk,{kind:o});for(const y of r)c.tag(y);return yield c.publish(),!0})()}validateNip05(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.ndk)throw new Error("No NDK instance found");const o=yield getNip05For(a);return null===o?null:o.pubkey===r.pubkey})()}zap(a,r,o,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!c.ndk)throw new Error("No NDK instance found");s||c.ndk.assertSigner();const y=new Zap({ndk:c.ndk,zappedUser:c}),k=Array.from(c.ndk.pool.relays.keys());return yield y.createZapRequest(a,r,o,k,s)})()}},NDKPrivateKeySigner=class kE{_user;privateKey;constructor(a){a&&(this.privateKey=a,this._user=new NDKUser({hexpubkey:getPublicKey(this.privateKey)}))}static generate(){const a=generatePrivateKey();return new kE(a)}blockUntilReady(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a._user)throw new Error("NDKUser not initialized");return a._user})()}user(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return yield a.blockUntilReady(),a._user})()}sign(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.privateKey)throw Error("Attempted to sign without a private key");return getSignature(a,r.privateKey)})()}encrypt(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.privateKey)throw Error("Attempted to encrypt without a private key");const s=a.hexpubkey;return yield nip04_exports.encrypt(o.privateKey,s,r)})()}decrypt(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.privateKey)throw Error("Attempted to decrypt without a private key");const s=a.hexpubkey;return yield nip04_exports.decrypt(o.privateKey,s,r)})()}},NDKNostrRpc=class extends lib$1.EventEmitter{ndk;signer;debug;constructor(i,a,r){super(),this.ndk=i,this.signer=a,this.debug=r.extend("rpc")}subscribe(i){var a=this;const r=this.ndk.subscribe(i,{closeOnEose:!1,groupable:!1});return r.on("event",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){try{const c=yield a.parseEvent(s);a.emit(c.method?"request":`response-${c.id}`,c)}catch(c){a.debug("error parsing event",c,s.rawEvent())}});return function(s){return o.apply(this,arguments)}}()),new Promise((o,s)=>{r.on("eose",()=>o(r))})}parseEvent(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const r=a.ndk.getUser({hexpubkey:i.pubkey});r.ndk=a.ndk;const o=yield a.signer.decrypt(r,i.content),s=JSON.parse(o),{id:c,method:y,params:k,result:S,error:I}=s;return y?{id:c,pubkey:i.pubkey,method:y,params:k,event:i}:{id:c,result:S,error:I,event:i}})()}sendResponse(i,a,r,o=24133,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y={id:i,result:r};s&&(y.error=s);const k=yield c.signer.user(),S=c.ndk.getUser({hexpubkey:a}),I=new NDKEvent(c.ndk,{kind:o,content:JSON.stringify(y),tags:[["p",a]],pubkey:k.hexpubkey});I.content=yield c.signer.encrypt(S,I.content),yield I.sign(c.signer),yield I.publish()})()}sendRequest(i,a,r=[],o=24133,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=Math.random().toString(36).substring(7),k=yield c.signer.user(),S=c.ndk.getUser({hexpubkey:i}),I={id:y,method:a,params:r},T=new Promise(R=>{const L=J=>{"auth_url"===J.result?(c.once(`response-${y}`,L),c.emit("authUrl",J.error)):s&&s(J)};c.once(`response-${y}`,L)}),M=new NDKEvent(c.ndk,{kind:o,content:JSON.stringify(I),tags:[["p",i]],pubkey:k.pubkey});return M.content=yield c.signer.encrypt(S,M.content),yield M.sign(c.signer),c.debug(`sending ${a} request to`,i),yield M.publish(),T})()}},NDKNip46Signer=class extends lib$1.EventEmitter{ndk;remoteUser;remotePubkey;token;localSigner;nip05;rpc;debug;relayUrls=[];constructor(i,a,r){let o,s;if(super(),a.includes("#")){const c=a.split("#");o=new NDKUser({npub:c[0]}).pubkey,s=c[1]}else a.startsWith("npub")?o=new NDKUser({npub:a}).pubkey:a.match(/\./)?this.nip05=a:o=a;this.ndk=i,o&&(this.remotePubkey=o),this.token=s,this.debug=i.debug.extend("nip46:signer"),this.remoteUser=new NDKUser({pubkey:o}),this.localSigner=r||NDKPrivateKeySigner.generate(),this.rpc=new NDKNostrRpc(i,this.localSigner,this.debug),this.rpc.on("authUrl",(...c)=>{this.emit("authUrl",...c)}),this.localSigner.user().then(c=>{this.rpc.subscribe({kinds:[24133,24134],"#p":[c.pubkey]})})}user(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return i.remoteUser})()}blockUntilReady(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=yield i.localSigner.user(),r=i.ndk.getUser({pubkey:i.remotePubkey});if(i.nip05&&!i.remotePubkey&&NDKUser.fromNip05(i.nip05).then(o=>{o&&(i.remoteUser=o,i.remotePubkey=o.pubkey,i.relayUrls=o.nip46Urls)}),!i.remotePubkey)throw new Error("Remote pubkey not set");return new Promise((o,s)=>{setTimeout(()=>{const c=[a.pubkey];i.token&&c.push(i.token),i.rpc.sendRequest(i.remotePubkey,"connect",c,24133,y=>{"ack"===y.result?o(r):s(y.error)})},100)})})()}encrypt(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.debug("asking for encryption"),new Promise((o,s)=>{r.rpc.sendRequest(r.remotePubkey,"nip04_encrypt",[i.pubkey,a],24133,c=>{c.error?s(c.error):o(c.result)})})})()}decrypt(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.debug("asking for decryption"),new Promise((o,s)=>{r.rpc.sendRequest(r.remotePubkey,"nip04_decrypt",[i.pubkey,a],24133,c=>{if(c.error)s(c.error);else{const y=JSON.parse(c.result);o(y[0])}})})})()}sign(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.debug("asking for a signature"),new Promise((r,o)=>{a.rpc.sendRequest(a.remotePubkey,"sign_event",[JSON.stringify(i)],24133,s=>{if(a.debug("got a response",s),s.error)o(s.error);else{const c=JSON.parse(s.result);r(c.sig)}})})})()}createAccount(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.debug("asking to create an account");const s=[];return i&&s.push(i),a&&s.push(a),r&&s.push(r),new Promise((c,y)=>{o.rpc.sendRequest(o.remotePubkey,"create_account",s,24134,k=>{o.debug("got a response",k),k.error?y(k.error):c(k.result)})})})()}};function dedup(i,a){return i.created_at>a.created_at?i:a}var OutboxItem=class{type;relayUrlScores;readRelays;writeRelays;constructor(i){this.type=i,this.relayUrlScores=new Map,this.readRelays=new Set,this.writeRelays=new Set}},OutboxTracker=class extends lib$1.EventEmitter{data;ndk;debug;constructor(i){super(),this.ndk=i,this.debug=i.debug.extend("outbox-tracker"),this.data=new dist.LRUCache({maxSize:1e5,entryExpirationTimeInMS:5e3})}trackUsers(i){for(const a of i){const r=getKeyFromItem(a);if(this.data.has(r))continue;const o=this.track(a,"user"),s=a instanceof NDKUser?a:new NDKUser({hexpubkey:a});s.ndk=this.ndk,s.relayList().then(c=>{if(c){o.readRelays=new Set(c.readRelayUrls),o.writeRelays=new Set(c.writeRelayUrls);for(const y of o.readRelays)this.ndk.pool.blacklistRelayUrls.has(y)&&(this.debug(`removing blacklisted relay ${y} from read relays`),o.readRelays.delete(y));for(const y of o.writeRelays)this.ndk.pool.blacklistRelayUrls.has(y)&&(this.debug(`removing blacklisted relay ${y} from write relays`),o.writeRelays.delete(y));this.data.set(r,o),this.debug(`Adding ${o.readRelays.size} read relays and ${o.writeRelays.size} write relays for ${s.hexpubkey}`)}})}}track(i,a){const r=getKeyFromItem(i);a??=getTypeFromItem(i);let o=this.data.get(r);return o||(o=new OutboxItem(a)),this.data.set(r,o),o}};function getKeyFromItem(i){return i instanceof NDKUser?i.hexpubkey:i}function getTypeFromItem(i){return i instanceof NDKUser?"user":"kind"}var NDKPool=class extends lib$1.EventEmitter{relays=new Map;blacklistRelayUrls;debug;temporaryRelayTimers=new Map;flappingRelays=new Set;backoffTimes=new Map;constructor(i=[],a=[],r,o){super(),this.debug=o??r.debug.extend("pool");for(const s of i){const c=new NDKRelay(s);this.addRelay(c,!1)}this.blacklistRelayUrls=new Set(a)}useTemporaryRelay(i,a=6e5){const r=this.relays.has(i.url);r||this.addRelay(i);const o=this.temporaryRelayTimers.get(i.url);if(o&&clearTimeout(o),!r||o){const s=setTimeout(()=>{this.removeRelay(i.url)},a);this.temporaryRelayTimers.set(i.url,s)}}addRelay(i,a=!0){var r=this;const o=i.url;this.blacklistRelayUrls?.has(o)?this.debug(`Relay ${o} is blacklisted`):(i.on("notice",function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(c,y){return r.emit("notice",c,y)});return function(c,y){return s.apply(this,arguments)}}()),i.on("connect",()=>this.handleRelayConnect(o)),i.on("ready",()=>this.handleRelayReady(i)),i.on("disconnect",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.emit("relay:disconnect",i)})),i.on("flapping",()=>this.handleFlapping(i)),i.on("auth",function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(c){return r.emit("relay:auth",i,c)});return function(c){return s.apply(this,arguments)}}()),this.relays.set(o,i),a&&i.connect().catch(s=>{this.debug(`Failed to connect to relay ${o}`,s)}))}removeRelay(i){const a=this.relays.get(i);if(a)return a.disconnect(),this.relays.delete(i),this.emit("relay:disconnect",a),!0;const r=this.temporaryRelayTimers.get(i);return r&&(clearTimeout(r),this.temporaryRelayTimers.delete(i)),!1}getRelay(i,a=!0){let r=this.relays.get(i);return r||(r=new NDKRelay(i),this.addRelay(r,a)),r}handleRelayConnect(i){this.debug(`Relay ${i} connected`),this.emit("relay:connect",this.relays.get(i)),this.stats().connected===this.relays.size&&this.emit("connect")}handleRelayReady(i){this.debug(`Relay ${i.url} ready`),this.emit("relay:ready",i)}connect(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const r=[];a.debug(`Connecting to ${a.relays.size} relays${i?`, timeout ${i}...`:""}`);for(const o of a.relays.values())if(i){const s=new Promise((c,y)=>{setTimeout(()=>y(`Timed out after ${i}ms`),i)});r.push(Promise.race([o.connect(),s]).catch(c=>{a.debug(`Failed to connect to relay ${o.url}: ${c??"No reason specified"}`)}))}else r.push(o.connect());i&&setTimeout(()=>{const o=a.stats().connected===a.relays.size,s=a.stats().connected>0;!o&&s&&a.emit("connect")},i),yield Promise.all(r)})()}checkOnFlappingRelays(){if(this.flappingRelays.size/this.relays.size>=.8)for(const i of this.flappingRelays)this.backoffTimes.set(i,0)}handleFlapping(i){this.debug(`Relay ${i.url} is flapping`);let a=this.backoffTimes.get(i.url)||5e3;a*=2,this.backoffTimes.set(i.url,a),this.debug(`Backoff time for ${i.url} is ${a}ms`),setTimeout(()=>{this.debug(`Attempting to reconnect to ${i.url}`),i.connect(),this.checkOnFlappingRelays()},a),i.disconnect(),this.emit("flapping",i)}size(){return this.relays.size}stats(){const i={total:0,connected:0,disconnected:0,connecting:0};for(const a of this.relays.values())i.total++,1===a.status?i.connected++:3===a.status?i.disconnected++:0===a.status&&i.connecting++;return i}connectedRelays(){return Array.from(this.relays.values()).filter(i=>1===i.status)}urls(){return Array.from(this.relays.keys())}};function correctRelaySet(i,a){const r=a.connectedRelays();if(!Array.from(i.relays).some(o=>r.map(s=>s.url).includes(o.url)))for(const o of r)i.addRelay(o);if(0===r.length)for(const o of a.relays.values())i.addRelay(o);return i}var SPEC_PATH="/.well-known/nostr/nip96.json",Nip96=class{ndk;spec;url;nip98Required=!1;constructor(i,a){this.url=`https://${i}${SPEC_PATH}`,this.ndk=a}prepareUpload(i,a="POST"){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r.validateHttpFetch(),r.spec||(yield r.fetchSpec()),!r.spec)throw new Error("Failed to fetch NIP96 spec");let o={};return r.nip98Required&&(o={Authorization:yield r.generateNip98Header(r.spec.api_url,a,i)}),{url:r.spec.api_url,headers:o}})()}xhrUpload(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o="POST",{url:s,headers:c}=yield r.prepareUpload(a,o);i.open(o,s,!0),c.Authorization&&i.setRequestHeader("Authorization",c.Authorization);const y=new FormData;return y.append("file",a),new Promise((k,S)=>{i.onload=function(){i.status>=200&&i.status<300?k(JSON.parse(i.responseText)):S(new Error(i.statusText))},i.onerror=function(){S(new Error("Network Error"))},i.send(y)})})()}upload(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const r="POST",{url:o,headers:s}=yield a.prepareUpload(i,r),c=new FormData;c.append("file",i);const y=yield a.ndk.httpFetch(a.spec.api_url,{method:r,headers:s,body:c});if(200!==y.status)throw new Error(`Failed to upload file to ${o}`);const k=yield y.json();if("success"!==k.status)throw new Error(k.message);return k})()}validateHttpFetch(){if(!this.ndk)throw new Error("NDK is required to fetch NIP96 spec");if(!this.ndk.httpFetch)throw new Error("NDK must have an httpFetch method to fetch NIP96 spec")}fetchSpec(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){i.validateHttpFetch();const a=yield i.ndk.httpFetch(i.url);if(200!==a.status)throw new Error(`Failed to fetch NIP96 spec from ${i.url}`);const r=yield a.json();if(!r)throw new Error(`Failed to parse NIP96 spec from ${i.url}`);i.spec=r,i.nip98Required=i.spec.plans.free.is_nip98_required})()}generateNip98Header(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=new NDKEvent(o.ndk,{kind:27235,tags:[["u",i],["method",a]]});if(["POST","PUT","PATCH"].includes(a)){const c=yield o.calculateSha256(r);s.tags.push(["payload",c])}return yield s.sign(),`Nostr ${btoa(JSON.stringify(s.rawEvent()))}`})()}calculateSha256(i){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=yield i.arrayBuffer(),r=yield crypto.subtle.digest("SHA-256",a);return Array.from(new Uint8Array(r)).map(o=>o.toString(16).padStart(2,"0")).join("")})()}},DEFAULT_OUTBOX_RELAYS=["wss://purplepag.es","wss://relay.snort.social"],DEFAULT_BLACKLISTED_RELAYS=["wss://brb.io"],NDK=class extends lib$1.EventEmitter{explicitRelayUrls;pool;outboxPool;_signer;_activeUser;cacheAdapter;debug;devWriteRelaySet;outboxTracker;mutedIds;clientName;clientNip89;relayAuthDefaultPolicy;httpFetch;autoConnectUserRelays=!0;autoFetchUserMutelist=!0;constructor(i={}){var a;super(),a=this,this.debug=i.debug||debug3("ndk"),this.explicitRelayUrls=i.explicitRelayUrls||[],this.pool=new NDKPool(i.explicitRelayUrls||[],i.blacklistRelayUrls,this),this.debug(`Starting with explicit relays: ${JSON.stringify(this.explicitRelayUrls)}`),this.pool.on("relay:auth",function(){var r=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(o,s){a.relayAuthDefaultPolicy&&(yield a.relayAuthDefaultPolicy(o,s))});return function(o,s){return r.apply(this,arguments)}}()),this.autoConnectUserRelays=i.autoConnectUserRelays??!0,this.autoFetchUserMutelist=i.autoFetchUserMutelist??!0,this.clientName=i.clientName,this.clientNip89=i.clientNip89,this.relayAuthDefaultPolicy=i.relayAuthDefaultPolicy,i.enableOutboxModel&&(this.outboxPool=new NDKPool(i.outboxRelayUrls||DEFAULT_OUTBOX_RELAYS,i.blacklistRelayUrls||DEFAULT_BLACKLISTED_RELAYS,this,this.debug.extend("outbox-pool")),this.outboxTracker=new OutboxTracker(this)),this.signer=i.signer,this.cacheAdapter=i.cacheAdapter,this.mutedIds=i.mutedIds||new Map,i.devWriteRelayUrls&&(this.devWriteRelaySet=NDKRelaySet.fromRelayUrls(i.devWriteRelayUrls,this));try{this.httpFetch=fetch}catch{}}addExplicitRelay(i,a,r=!0){let o;return o="string"==typeof i?new NDKRelay(i,a):i,this.pool.addRelay(o,r),this.explicitRelayUrls.push(o.url),o}toJSON(){return{relayCount:this.pool.relays.size}.toString()}get activeUser(){return this._activeUser}set activeUser(i){var a=this;const r=this._activeUser?.pubkey!==i?.pubkey;if(this._activeUser=i,i&&r){const o=function(){var S=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(I){const T=yield I.relayList();if(T){a.debug("Connecting to user relays",{npub:I.npub,relays:T.relays});for(const M of T.relays){let R=a.pool.relays.get(M);R||(R=new NDKRelay(M),a.pool.addRelay(R))}}else a.debug("No relay list found for user",{npub:I.npub})});return function(T){return S.apply(this,arguments)}}(),s=function(){var S=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(I){const T=yield a.fetchEvents([{kinds:[1e4],authors:[I.pubkey]},{kinds:[3e4],authors:[I.pubkey],"#d":["mute"],limit:1}]);if(T)for(const M of T){const R=lists_default.from(M);for(const L of R.items)a.mutedIds.set(L[1],L[0])}else a.debug("No mute list found for user",{npub:I.npub})});return function(T){return S.apply(this,arguments)}}(),c=[];this.autoConnectUserRelays&&c.push(o),this.autoFetchUserMutelist&&c.push(s);const y=function(){var S=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(I){for(const T of c)yield T(I)});return function(T){return S.apply(this,arguments)}}(),k=this.outboxPool||this.pool;k.connectedRelays.length>0?y(i):(this.debug("Waiting for connection to main relays"),k.once("relay:ready",S=>{this.debug("New relay ready",S?.url),y(i)}))}else i||(this.mutedIds=new Map)}get signer(){return this._signer}set signer(i){this._signer=i,this.emit("signer:ready",i),i?.user().then(a=>{a.ndk=this,this.activeUser=a})}connect(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a._signer&&a.autoConnectUserRelays&&(a.debug("Attempting to connect to user relays specified by signer"),a._signer.relays)&&(yield a._signer.relays()).forEach(o=>a.pool.addRelay(o));const r=[a.pool.connect(i)];return a.outboxPool&&r.push(a.outboxPool.connect(i)),a.debug("Connecting to relays",{timeoutMs:i}),Promise.allSettled(r).then(()=>{})})()}getUser(i){const a=new NDKUser(i);return a.ndk=this,a}getUserFromNip05(i,a=!1){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return NDKUser.fromNip05(i,r,a)})()}subscribe(i,a,r,o=!0){const s=new NDKSubscription(this,i,a,r);if(r)for(const c of r.relays)this.pool.useTemporaryRelay(c);if(this.outboxPool&&s.hasAuthorsFilter()){const c=s.filters.filter(y=>y.authors&&y.authors?.length>0).map(y=>y.authors).flat();this.outboxTracker?.trackUsers(c)}return o&&s.start(),s}publish(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.debug("Deprecated: Use `event.publish()` instead"),i.publish(a,r)})()}fetchEvent(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let s,c;if(r instanceof NDKRelay?c=new NDKRelaySet(new Set([r]),o):r instanceof NDKRelaySet&&(c=r),!r&&"string"==typeof i&&!isNip33AValue(i)){const y=relaysFromBech32(i);y.length>0&&(c=new NDKRelaySet(new Set(y),o),c=correctRelaySet(c,o.pool))}if(s="string"==typeof i?filterFromId(i):i,!s)throw new Error(`Invalid filter: ${JSON.stringify(i)}`);return new Promise(y=>{const k=o.subscribe(s,{...a||{},closeOnEose:!0},c,!1);k.on("event",S=>{S.ndk=o,y(S)}),k.on("eose",()=>{y(null)}),k.start()})})()}fetchEvents(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return new Promise(s=>{const c=new Map,y=o.subscribe(i,{...a||{},closeOnEose:!0},r,!1),k=S=>{const I=S.deduplicationKey(),T=c.get(I);T&&(S=dedup(T,S)),S.ndk=o,c.set(I,S)};y.on("event",k),y.on("event:dup",k),y.on("eose",()=>{s(new Set(c.values()))}),y.start()})})()}assertSigner(){if(!this.signer)throw this.emit("signerRequired"),new Error("Signer required")}getNip96(i){return new Nip96(i,this)}};const LOCAL_STORE_KEY="__nostrlogin_nip46",LOGGED_IN_ACCOUNTS="__nostrlogin_accounts",RECENT_ACCOUNTS="__nostrlogin_recent",OUTBOX_RELAYS$1=["wss://purplepag.es","wss://relay.nos.social","wss://user.kindpag.es","wss://relay.damus.io","wss://nos.lol"],DEFAULT_SIGNUP_RELAYS=["wss://relay.damus.io/","wss://nos.lol/","wss://relay.primal.net/"],localStorageSetItem=(i,a)=>{localStorage.setItem(i,a)},localStorageGetItem=i=>{const a=window.localStorage.getItem(i);if(a)try{return JSON.parse(a)}catch{}return null},localStorageRemoveItem=i=>{localStorage.removeItem(i)},fetchProfile=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r){const o=new NDKUser({pubkey:a.pubkey});return o.ndk=r,yield o.fetchProfile()});return function(r,o){return i.apply(this,arguments)}}(),createProfile=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r,o,s){const c={name:a.name},y=new NDKEvent(r,{kind:0,created_at:Math.floor(Date.now()/1e3),pubkey:a.pubkey,content:JSON.stringify(c),tags:[]});window.location.hostname&&y.tags.push(["client",window.location.hostname]);const k=new NDKEvent(r,{kind:10002,created_at:Math.floor(Date.now()/1e3),pubkey:a.pubkey,content:"",tags:[]}),S=(s||"").split(",").map(I=>I.trim()).filter(I=>I.startsWith("ws"));S.length||S.push(...DEFAULT_SIGNUP_RELAYS);for(const I of S)k.tags.push(["r",I]);yield y.sign(o),console.log("signed profile",y),yield k.sign(o),console.log("signed relays",k),yield y.publish(NDKRelaySet.fromRelayUrls(OUTBOX_RELAYS$1,r)),console.log("published profile",y),yield k.publish(NDKRelaySet.fromRelayUrls(OUTBOX_RELAYS$1,r)),console.log("published relays",k)});return function(r,o,s,c){return i.apply(this,arguments)}}(),bunkerUrlToInfo=(i,a="")=>{const r=new URL(i);return{pubkey:r.hostname||r.pathname.split("//")[1],sk:a||generatePrivateKey(),relays:r.searchParams.getAll("relay"),token:r.searchParams.get("secret")||"",authMethod:"connect"}},isBunkerUrl=i=>i.startsWith("bunker://"),getBunkerUrl=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r){if(!a)return"";if(isBunkerUrl(a))return a;if(a.includes("@")){const[o,s]=a.toLocaleLowerCase().split("@"),c=r.devOverrideBunkerOrigin||`https://${s}`,y=`${c}/.well-known/nostr.json?name=_`,k=`${c}/.well-known/nostr.json?name=${o}`,S=yield fetch(y),I=yield S.json(),M=I.nip46[I.names._],R=yield fetch(k),L=(yield R.json()).names[o];if(!M.length)throw new Error("Bunker relay not provided");return`bunker://${L}?relay=${M[0]}`}throw new Error("Invalid user name or bunker url")});return function(r,o){return i.apply(this,arguments)}}(),checkNip05=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){let r=!1,o="",s="";return yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a||!a.includes("@"))return;const[c,y]=a.toLocaleLowerCase().split("@");if(!c)return;if(!new RegExp(/^[\w-.]+@([\w-]+\.)+[\w-]{2,8}$/g).test(a))return void(o="Invalid name");if(!y)return void(o="Select service");const k=`https://${y}/.well-known/nostr.json?name=${c.toLowerCase()}`;try{const S=yield fetch(k),I=yield S.json();if(I.names[c])return void(s=I.names[c])}catch{}r=!0})(),{available:r,taken:""!=s,error:o,pubkey:s}});return function(r){return i.apply(this,arguments)}}(),upgradeInfo=i=>{"typeAuthMethod"in i&&delete i.typeAuthMethod,i.authMethod||(i.authMethod="extension"in i&&i.extension?"extension":"readOnly"in i&&i.readOnly?"readOnly":"connect"),i.nip05&&isBunkerUrl(i.nip05)&&(i.bunkerUrl=i.nip05,i.nip05="")},localStorageAddAccount=i=>{localStorageSetItem(LOCAL_STORE_KEY,JSON.stringify(i));const a=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[],r=localStorageGetItem(RECENT_ACCOUNTS)||[];a.forEach(y=>upgradeInfo(y)),r.forEach(y=>upgradeInfo(y));const o=a,s=a.findIndex(y=>y.pubkey===i.pubkey&&y.authMethod===i.authMethod);-1!==s?o[s]=i:o.push(i);const c=r.filter(y=>y.pubkey!==i.pubkey||y.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(c)),localStorageSetItem(LOGGED_IN_ACCOUNTS,JSON.stringify(o))},localStorageRemoveCurrentAccount=()=>{const i=localStorageGetItem(LOCAL_STORE_KEY);if(!i)return;upgradeInfo(i);const a={...i};delete a.sk,delete a.otpData;const r=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[],o=localStorageGetItem(RECENT_ACCOUNTS)||[];r.forEach(y=>upgradeInfo(y)),o.forEach(y=>upgradeInfo(y));const s=o;if("connect"===a.authMethod&&a.bunkerUrl&&a.bunkerUrl.includes("secret="))console.log("nostr login bunker conn with a secret not saved to recent");else if("local"===a.authMethod)console.log("nostr login temporary local keys not save to recent");else{const y=o.findIndex(k=>k.pubkey===a.pubkey&&k.authMethod===a.authMethod);-1!==y?s[y]=a:s.push(a)}const c=r.filter(y=>y.pubkey!==i.pubkey||y.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(s)),localStorageSetItem(LOGGED_IN_ACCOUNTS,JSON.stringify(c)),localStorageRemoveItem(LOCAL_STORE_KEY)},localStorageRemoveRecent=i=>{const a=localStorageGetItem(RECENT_ACCOUNTS)||[];a.forEach(o=>upgradeInfo(o));const r=a.filter(o=>o.pubkey!==i.pubkey||o.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(r))},localStorageGetRecents=()=>{const i=localStorageGetItem(RECENT_ACCOUNTS)||[];return i.forEach(a=>upgradeInfo(a)),i},localStorageGetAccounts=()=>{const i=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[];return i.forEach(a=>upgradeInfo(a)),i},localStorageGetCurrent=()=>{const i=localStorageGetItem(LOCAL_STORE_KEY);return i&&upgradeInfo(i),i},getDarkMode=i=>{const a=localStorage.getItem("nl-dark-mode");return a?!!JSON.parse(a):void 0!==i.darkMode?i.darkMode:!(!window.matchMedia||!window.matchMedia("(prefers-color-scheme: dark)").matches)},getIcon=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return document.location.origin+"/favicon.ico"});return function(){return i.apply(this,arguments)}}();class BannerManager extends lib$1.EventEmitter{banner=null;listNotifies=[];params;constructor(a){super(),this.params=a}onAuthUrl(a){this.banner&&(this.banner.notify={confirm:Date.now(),url:a})}onUserInfo(a){this.banner&&(this.banner.userInfo=a)}onCallTimeout(){this.banner&&(this.banner.notify={confirm:Date.now(),timeOut:{domain:this.params.userInfo?.nip05?.split("@")[1]}})}onCallStart(){this.banner&&(this.banner.isLoading=!0)}onCallEnd(){this.banner&&(this.banner.isLoading=!1)}onUpdateAccounts(a){this.banner&&(this.banner.accounts=a)}onDarkMode(a){this.banner&&(this.banner.darkMode=a)}launchAuthBanner(a){var r=this;this.banner=document.createElement("nl-banner"),this.banner.setAttribute("dark-mode",String(getDarkMode(a))),a.theme&&this.banner.setAttribute("theme",a.theme),a.noBanner&&this.banner.setAttribute("hidden-mode","true"),this.banner.addEventListener("handleLoginBanner",o=>{this.emit("launch",o.detail)}),this.banner.addEventListener("handleConfirmLogout",()=>{this.emit("onConfirmLogout")}),this.banner.addEventListener("handleLogoutBanner",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){r.emit("logout")})),this.banner.addEventListener("handleImportModal",o=>{this.emit("import")}),this.banner.addEventListener("handleNotifyConfirmBanner",o=>{this.emit("onAuthUrlClick",o.detail)}),this.banner.addEventListener("handleSetConfirmBanner",o=>{this.listNotifies.push(o.detail),this.banner&&(this.banner.listNotifies=this.listNotifies)}),this.banner.addEventListener("handleSwitchAccount",o=>{this.emit("onSwitchAccount",o.detail)}),this.banner.addEventListener("handleOpenWelcomeModal",()=>{this.emit("launch",this.params.optionsModal.startScreen),this.banner&&(this.banner.isOpen=!1)}),this.banner.addEventListener("handleRetryConfirmBanner",()=>{const o=this.listNotifies.pop();o&&(this.banner&&(this.banner.listNotifies=this.listNotifies),this.emit("onAuthUrlClick",o))}),document.body.appendChild(this.banner)}}function extract(i,a,r){return hash$1(i),void 0===r&&(r=new Uint8Array(i.outputLen)),hmac$1(i,toBytes$1(r),toBytes$1(a))}const HKDF_COUNTER=new Uint8Array([0]),EMPTY_BUFFER=new Uint8Array;function expand(i,a,r,o=32){if(hash$1(i),number$1(o),o>255*i.outputLen)throw new Error("Length should be <= 255*HashLen");const s=Math.ceil(o/i.outputLen);void 0===r&&(r=EMPTY_BUFFER);const c=new Uint8Array(s*i.outputLen),y=hmac$1.create(i,a),k=y._cloneInto(),S=new Uint8Array(y.outputLen);for(let I=0;Idecoder.decode(i),getConversationKey(i,a){const r=secp256k1.getSharedSecret(i,"02"+a).subarray(1,33);return extract(sha256,r,"nip44-v2")},getMessageKeys(i,a){const r=expand(sha256,i,a,76);return{chacha_key:r.subarray(0,32),chacha_nonce:r.subarray(32,44),hmac_key:r.subarray(44,76)}},calcPaddedLen(i){if(!Number.isSafeInteger(i)||i<1)throw new Error("expected positive integer");if(i<=32)return 32;const a=1<u.maxPlaintextSize)throw new Error("invalid plaintext size: must be between 1 and 65535 bytes");const a=new Uint8Array(2);return new DataView(a.buffer).setUint16(0,i,!1),a},pad(i){const a=u.utf8Encode(i),r=a.length;return concatBytes(u.writeU16BE(r),a,new Uint8Array(u.calcPaddedLen(r)-r))},unpad(i){const a=new DataView(i.buffer).getUint16(0),r=i.subarray(2,2+a);if(au.maxPlaintextSize||r.length!==a||i.length!==2+u.calcPaddedLen(a))throw new Error("invalid padding");return u.utf8Decode(r)},hmacAad(i,a,r){if(32!==r.length)throw new Error("AAD associated data must be 32 bytes");const o=concatBytes(r,a);return hmac$1(sha256,i,o)},decodePayload(i){if("string"!=typeof i)throw new Error("payload must be a valid string");const a=i.length;if(a<132||a>87472)throw new Error("invalid payload length: "+a);if("#"===i[0])throw new Error("unknown encryption version");let r;try{r=base64.decode(i)}catch(c){throw new Error("invalid base64: "+c.message)}const o=r.length;if(o<99||o>65603)throw new Error("invalid data length: "+o);const s=r[0];if(2!==s)throw new Error("unknown encryption version "+s);return{nonce:r.subarray(1,33),ciphertext:r.subarray(33,-32),mac:r.subarray(-32)}}};function encryptNip44(i,a,r=randomBytes(32)){const{chacha_key:o,chacha_nonce:s,hmac_key:c}=u.getMessageKeys(a,r),y=u.pad(i),k=chacha20(o,s,y),S=u.hmacAad(c,k,r);return base64.encode(concatBytes(new Uint8Array([2]),r,k,S))}function decryptNip44(i,a){const{nonce:r,ciphertext:o,mac:s}=u.decodePayload(i),{chacha_key:c,chacha_nonce:y,hmac_key:k}=u.getMessageKeys(a,r);if(!equalBytes(u.hmacAad(k,o,r),s))throw new Error("invalid MAC");const S=chacha20(c,y,o);return u.unpad(S)}class Nip44{cache=new Map;createKey(a,r){return u.getConversationKey(a,r)}getKey(a,r,o){const s=getPublicKey(a)+r;let c=this.cache.get(s);if(c)return c;const y=this.createKey(a,r);return this.cache.set(s,y),y}encrypt(a,r,o){return encryptNip44(o,this.getKey(a,r))}decrypt(a,r,o){return decryptNip44(o,this.getKey(a,r))}}const OUTBOX_RELAYS=["wss://user.kindpag.es","wss://purplepag.es","wss://relay.nos.social"],DEFAULT_NOSTRCONNECT_RELAY="wss://relay.nsec.app/",NOSTRCONNECT_APPS=[{name:"Nsec.app",domain:"nsec.app",canImport:!0,img:"https://nsec.app/assets/favicon.ico",link:"https://use.nsec.app/",relay:"wss://relay.nsec.app/"},{name:"Amber",img:"https://raw.githubusercontent.com/greenart7c3/Amber/master/app/src/main/res/mipmap-hdpi/ic_launcher.webp",link:"",relay:"wss://relay.nsec.app/"},{name:"Other key stores",img:"",link:"",relay:"wss://relay.nsec.app/"}];class AuthNostrService extends lib$1.EventEmitter{ndk;profileNdk;signer=null;localSigner=null;params;signerPromise;launcherPromise;nip44Codec=new Nip44;nostrConnectKey="";nostrConnectSecret="";nip04;nip44;constructor(a){super(),this.params=a,this.ndk=new NDK({enableOutboxModel:!1}),this.profileNdk=new NDK({enableOutboxModel:!0,explicitRelayUrls:OUTBOX_RELAYS}),this.profileNdk.connect(),this.nip04={encrypt:this.encrypt04.bind(this),decrypt:this.decrypt04.bind(this)},this.nip44={encrypt:this.encrypt44.bind(this),decrypt:this.decrypt44.bind(this)}}waitReady(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(a.signerPromise)try{yield a.signerPromise}catch{}if(a.launcherPromise)try{yield a.launcherPromise}catch{}})()}nostrConnect(a,r=!1){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s={authMethod:"connect",pubkey:"",sk:o.nostrConnectKey,relays:[a=a||DEFAULT_NOSTRCONNECT_RELAY]},c=yield o.initSigner(s,{listen:!0});if(!c)throw new Error("Bad remote pubkey");return s.pubkey=c,s.bunkerUrl=`bunker://${c}?relay=${a}`,r||o.onAuth("login",s),s})()}getNostrConnectServices(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a.nostrConnectKey=generatePrivateKey(),a.nostrConnectSecret=Math.random().toString(36).substring(7);const r=getPublicKey(a.nostrConnectKey),o={name:document.location.host,url:document.location.href,icon:yield getIcon(),perms:a.params.optionsModal.perms},s=`nostrconnect://${r}?metadata=${encodeURIComponent(JSON.stringify(o))}&secret=${a.nostrConnectSecret}`,c=a.localSigner?"#import="+nip19_exports.nsecEncode(a.localSigner.privateKey):"",y=NOSTRCONNECT_APPS.map(k=>({...k}));for(const k of y){let S=DEFAULT_NOSTRCONNECT_RELAY;if(k.link.startsWith("https://")){const T=new URL(k.link);try{const M=yield(yield fetch(`${T.origin}/.well-known/nostr.json`)).json(),L=M.nip46[M.names._];L&&L.length&&(S=L[0])}catch(M){console.log("Bad app info",M,T)}}k.link=k.link.replace("",s+"&relay="+S+c)}return[s+c,y]})()}localSignup(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=generatePrivateKey(),s={pubkey:getPublicKey(o),sk:o,name:a,authMethod:"local"};console.log(`localSignup name: ${a}`),yield r.setLocal(s,!0)})()}setLocal(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.releaseSigner(),o.localSigner=new NDKPrivateKeySigner(a.sk),r&&(yield createProfile(a,o.profileNdk,o.localSigner,o.params.optionsModal.signupRelays)),o.onAuth("login",a)})()}importAndConnect(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=yield r.nostrConnect(a,!0);yield r.logout(!0),r.localSigner=null,r.onAuth("login",o)})()}setReadOnly(a){this.onAuth("login",{pubkey:a,authMethod:"readOnly"})}setExtension(a){this.onAuth("login",{pubkey:a,authMethod:"extension"})}setOTP(a,r){this.onAuth("login",{pubkey:a,authMethod:"otp",otpData:r})}setConnect(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){r.releaseSigner(),yield r.initSigner(a),r.onAuth("login",a)})()}createAccount(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const[o,s]=a.split("@"),c=yield getBunkerUrl(`_@${s}`,r.params.optionsModal);console.log("create account bunker's url",c);const y=bunkerUrlToInfo(c),k=!!r.params.userInfo;yield r.initSigner(y,{eventToAddAccount:k});const S=[o,s,"",r.params.optionsModal.perms||""];console.log("signer",r.signer);const I=yield new Promise(T=>{r.signer.rpc.sendRequest(y.pubkey,"create_account",S,void 0,T)});if(console.log("create_account pubkey",I),"error"===I.result)throw new Error(I.error);return{bunkerUrl:`bunker://${I.result}?relay=${y.relays?.[0]}`,sk:y.sk}})()}releaseSigner(){this.signer=null,this.localSigner=null;for(const a of this.ndk.pool.relays.keys())this.ndk.pool.removeRelay(a)}logout(a=!1){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a||r.releaseSigner(),localStorageRemoveCurrentAccount(),r.onAuth("logout"),r.emit("updateAccounts")})()}setUserInfo(a){this.params.userInfo=a,this.emit("onUserInfo",a),a&&(localStorageAddAccount(a),this.emit("updateAccounts"))}exportKeys(){return this.params.userInfo?"local"!==this.params.userInfo.authMethod?"":nip19_exports.nsecEncode(this.params.userInfo.sk):""}onAuth(a,r=null){if("logout"!==a&&!r)throw new Error("No user info in onAuth");if(r&&this.params.userInfo&&(r.pubkey!==this.params.userInfo.pubkey||r.authMethod!==this.params.userInfo.authMethod)){const o=new CustomEvent("nlAuth",{detail:{type:"logout"}});console.log("nostr-login auth",o.detail),document.dispatchEvent(o)}this.setUserInfo(r),r&&fetchProfile(r,this.profileNdk).then(o=>{if(this.params.userInfo!==r)return;const s={...this.params.userInfo,picture:o?.image||o?.picture,name:o?.name||o?.displayName||o?.nip05||nip19_exports.npubEncode(r.pubkey)};this.setUserInfo(s)});try{const o=r?nip19_exports.npubEncode(r.pubkey):"",s={type:a};"logout"!==a&&(s.pubkey=r.pubkey,r.sk&&(s.localNsec=nip19_exports.nsecEncode(r.sk)),r.relays&&(s.relays=r.relays),r.otpData&&(s.otpData=r.otpData),s.method=r.authMethod||"connect");const c=new CustomEvent("nlAuth",{detail:s});console.log("nostr-login auth",s),document.dispatchEvent(c),this.params.optionsModal.onAuth&&this.params.optionsModal.onAuth(o,s)}catch(o){console.log("onAuth error",o)}}initSigner(a,{listen:r=!1,connect:o=!1,eventToAddAccount:s=!1}={}){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(c.signerPromise)try{yield c.signerPromise}catch{}return c.signerPromise=new Promise(function(){var y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(k,S){try{if(a.relays)for(const I of a.relays)c.ndk.addExplicitRelay(I,void 0);if(yield c.ndk.connect(),c.signer=new NDKNip46Signer(c.ndk,a.pubkey,new NDKPrivateKeySigner(a.sk)),r||c.signer.on("authUrl",I=>{console.log("nostr login auth url",I),c.emit("onAuthUrl",{url:I,eventToAddAccount:s})}),r){const I=getPublicKey(a.sk);console.log("nostr-login listening for conn to",I);const T=yield c.signer.rpc.subscribe({kinds:[24133],"#p":[I]});T.on("event",function(){var M=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(R){try{const L=yield c.signer.rpc.parseEvent(R);if(!L.method){const J=L;if("auth_url"===J.result)return;"ack"===J.result||J.result===c.nostrConnectSecret?(c.signer.remotePubkey=R.pubkey,c.signer.remoteUser=new NDKUser({pubkey:R.pubkey}),a.pubkey=R.pubkey,k(R.pubkey)):S(J.error)}}catch(L){console.log("error parsing event",L,R.rawEvent())}T.stop()});return function(R){return M.apply(this,arguments)}}())}else o&&(yield new Promise((I,T)=>{c.signer&&a.sk&&c.signer.rpc.sendRequest(a.pubkey,"connect",[a.pubkey,a.token||"",c.params.optionsModal.perms||""],24133,R=>{"ack"===R.result?I():T(R.error)})})),k(void 0)}catch(I){console.log("initSigner failure",I),c.signer=null,S(I)}});return function(k,S){return y.apply(this,arguments)}}()),c.signerPromise})()}authNip46(a,r,o,s=""){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{const y=bunkerUrlToInfo(o,s);if(isBunkerUrl(r)?y.bunkerUrl=r:y.nip05=r,!y.pubkey||!y.sk||!y.relays?.[0])throw new Error(`Bad bunker url ${o}`);const k=!!c.params.userInfo;yield c.initSigner(y,{connect:!0,eventToAddAccount:k}),c.onAuth(a,y)}catch(y){throw console.log("nostr login auth failed",y),y}})()}signEvent(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.localSigner?(a.pubkey=getPublicKey(r.localSigner.privateKey),a.id=getEventHash(a),a.sig=yield r.localSigner.sign(a)):(a.pubkey=r.signer?.remotePubkey,a.id=getEventHash(a),a.sig=yield r.signer?.sign(a)),console.log("signed",{event:a}),a})()}codec_call(a,r,o){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return new Promise((c,y)=>{s.signer.rpc.sendRequest(s.signer.remotePubkey,a,[r,o],24133,k=>{k.error?y(k.error):c(k.result)})})})()}encrypt04(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.localSigner.encrypt(new NDKUser({pubkey:a}),r):o.signer.encrypt(new NDKUser({pubkey:a}),r)})()}decrypt04(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.localSigner.decrypt(new NDKUser({pubkey:a}),r):o.codec_call("nip04_decrypt",a,r)})()}encrypt44(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.nip44Codec.encrypt(o.localSigner.privateKey,a,r):o.codec_call("nip44_encrypt",a,r)})()}decrypt44(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.nip44Codec.decrypt(o.localSigner.privateKey,a,r):o.codec_call("nip44_decrypt",a,r)})()}}class ModalManager extends lib$1.EventEmitter{modal=null;params;extensionService;authNostrService;launcherPromise;accounts=[];recents=[];opt;constructor(a,r,o){super(),this.params=a,this.extensionService=o,this.authNostrService=r}waitReady(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(a.launcherPromise)try{yield a.launcherPromise}catch{}})()}launch(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r.launcherPromise)try{yield r.launcherPromise}catch{}r.opt=a;const o=document.createElement("dialog");r.modal=document.createElement("nl-auth"),r.modal.accounts=r.accounts,r.modal.recents=r.recents,r.modal.setAttribute("dark-mode",String(getDarkMode(a))),a.theme&&r.modal.setAttribute("theme",a.theme),a.startScreen&&r.modal.setAttribute("start-screen",a.startScreen),r.modal.setAttribute("bunkers",a.bunkers?a.bunkers:"nsec.app,highlighter.com"),void 0!==a.methods&&(r.modal.authMethods=a.methods),void 0!==a.localSignup&&(r.modal.localSignup=a.localSignup),a.title&&(r.modal.welcomeTitle=a.title),a.description&&(r.modal.welcomeDescription=a.description),r.modal.hasExtension=r.extensionService.hasExtension(),r.modal.hasOTP=!!a.otpRequestUrl&&!!a.otpReplyUrl,r.modal.isLoadingExtension=!1,r.modal.isLoading=!1,[r.modal.connectionString,r.modal.connectionStringServices]=yield r.authNostrService.getNostrConnectServices(),o.appendChild(r.modal),document.body.appendChild(o);let s="";return r.launcherPromise=new Promise((c,y)=>{o.addEventListener("close",()=>{y(new Error("Closed")),r.modal&&(r.modal.isLoading=!1,r.modal.authUrl="",r.modal.error="",r.modal.isLoadingExtension=!1,document.body.removeChild(r.modal.parentNode),r.modal=null)});const k=W=>{r.modal&&(r.modal.isLoading=!0),getBunkerUrl(W,r.params.optionsModal).then(q=>r.authNostrService.authNip46("login",W,q)).then(()=>{r.modal&&(r.modal.isLoading=!1),o.close(),c()}).catch(q=>{console.log("error",q),r.modal&&(r.modal.isLoading=!1,r.modal.error=q.toString())})},I=function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{yield navigator.clipboard.writeText(r.authNostrService.exportKeys()),localStorageSetItem("backupKey","true")}catch(q){console.error("Failed to copy to clipboard: ",q)}});return function(){return W.apply(this,arguments)}}(),T=function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){r.modal&&(r.modal.isLoading=!0);try{yield r.authNostrService.importAndConnect(q),r.modal&&(r.modal.isLoading=!1),o.close(),c()}catch(ct){console.log("error",ct),r.modal&&(r.modal.isLoading=!1,r.modal.error=ct.toString())}});return function(ct){return W.apply(this,arguments)}}(),M=function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){q&&r.modal&&(r.modal.isLoading=!0);try{yield r.authNostrService.nostrConnect(q),r.modal&&(r.modal.isLoading=!1),o.close(),c()}catch(ct){console.log("error",ct),r.modal&&(r.modal.isLoading=!1,r.modal.error=ct.toString())}});return function(ct){return W.apply(this,arguments)}}(),R=function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){r.modal&&(r.modal.isLoading=!0);try{if(!q)throw new Error("Please enter some nickname");yield r.authNostrService.localSignup(q),r.modal&&(r.modal.isLoading=!1),o.close(),c()}catch(ct){console.log("error",ct),r.modal&&(r.modal.isLoading=!1,r.modal.error=ct.toString())}});return function(ct){return W.apply(this,arguments)}}();if(!r.modal)throw new Error("WTH?");r.modal.addEventListener("handleContinue",()=>{r.modal&&(r.modal.isLoading=!0,r.emit("onAuthUrlClick",r.modal.authUrl))}),r.modal.addEventListener("nlLogin",W=>{k(W.detail)}),r.modal.addEventListener("nlSignup",W=>{(W=>{r.modal&&(r.modal.isLoading=!0),r.authNostrService.createAccount(W).then(({bunkerUrl:q,sk:ct})=>r.authNostrService.authNip46("signup",W,q,ct)).then(()=>{r.modal&&(r.modal.isLoading=!1),o.close(),c()}).catch(q=>{console.log("error",q),r.modal&&(r.modal.isLoading=!1,r.modal.error=q.toString())})})(W.detail)}),r.modal.addEventListener("nlLocalSignup",W=>{R(W.detail)}),r.modal.addEventListener("nlImportAccount",W=>{T(W.detail)}),r.modal.addEventListener("nlExportKeys",W=>{I()}),r.modal.addEventListener("handleLogoutBanner",()=>{r.emit("onLogoutBanner")}),r.modal.addEventListener("nlNostrConnect",W=>{M(W.detail)}),r.modal.addEventListener("nlNostrConnectDefault",()=>{M()}),r.modal.addEventListener("nlSwitchAccount",W=>{r.emit("onSwitchAccount",W.detail),setTimeout(()=>o.close(),300)}),r.modal.addEventListener("nlLoginRecentAccount",function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){const ct=q.detail;if("readOnly"===ct.authMethod)r.authNostrService.setReadOnly(ct.pubkey),o.close();else if("otp"===ct.authMethod){console.log("recent otp login",ct);try{r.modal.dispatchEvent(new CustomEvent("nlLoginOTPUser",{detail:ct.nip05||ct.pubkey}))}catch(ht){console.error(ht)}}else if("extension"===ct.authMethod)yield r.extensionService.trySetExtensionForPubkey(ct.pubkey),o.close();else{const ht=ct.bunkerUrl||ct.nip05;if(!ht)throw new Error("Bad connect info");k(ht)}});return function(q){return W.apply(this,arguments)}}()),r.modal.addEventListener("nlRemoveRecent",W=>{localStorageRemoveRecent(W.detail),r.emit("updateAccounts")});const L=function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){let ct="";if(q.includes("@")){const{error:ht,pubkey:tt}=yield checkNip05(q);if(!tt)throw new Error(ht);ct=tt}else if(q.startsWith("npub")){const{type:ht,data:tt}=nip19_exports.decode(q);if("npub"!==ht)throw new Error("Bad npub");ct=tt}else 64===q.trim().length&&(ct=q.trim(),nip19_exports.npubEncode(ct));return ct});return function(ct){return W.apply(this,arguments)}}();r.modal.addEventListener("nlLoginReadOnly",function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){if(!r.modal)return;r.modal.isLoading=!0;const ct=q.detail;try{const ht=yield L(ct);r.authNostrService.setReadOnly(ht),r.modal.isLoading=!1,o.close(),c()}catch(ht){console.log("error",ht),r.modal.isLoading=!1,r.modal.error=ht.toString()||ht}});return function(q){return W.apply(this,arguments)}}()),r.modal.addEventListener("nlLoginExtension",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.extensionService.hasExtension())throw new Error("No extension");if(r.modal)try{r.modal.isLoadingExtension=!0,yield r.extensionService.setExtension(),r.modal.isLoadingExtension=!1,o.close(),c()}catch(W){console.log("extension error",W),r.modal.error=W.toString()}})),r.modal.addEventListener("nlLoginOTPUser",function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){if(!r.modal)return;r.modal.isLoading=!0;const ct=q.detail;try{const ht=yield L(ct),tt=r.opt.otpRequestUrl+(r.opt.otpRequestUrl.includes("?")?"&":"?")+"pubkey="+ht,xt=yield fetch(tt);if(200!==xt.status)throw console.warn("nostr-login: bad otp reply",xt),new Error("Failed to send DM");r.modal.isOTP=!0,s=ht,r.modal.isLoading=!1}catch(ht){console.log("error",ht),r.modal.isLoading=!1,r.modal.error=ht.toString()||ht}});return function(q){return W.apply(this,arguments)}}()),r.modal.addEventListener("nlLoginOTPCode",function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){if(!r.modal)return;r.modal.isLoading=!0;const ct=q.detail;try{const ht=r.opt.otpReplyUrl+(r.opt.otpRequestUrl.includes("?")?"&":"?")+"pubkey="+s+"&code="+ct,tt=yield fetch(ht);if(200!==tt.status)throw console.warn("nostr-login: bad otp reply",tt),new Error("Invalid code");const xt=yield tt.text();r.authNostrService.setOTP(s,xt),r.modal.isOTP=!1,r.modal.isLoading=!1,o.close(),c()}catch(ht){console.log("error",ht),r.modal.isLoading=!1,r.modal.error=ht.toString()||ht}});return function(q){return W.apply(this,arguments)}}()),r.modal.addEventListener("nlCheckSignup",function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){const{available:ct,taken:ht,error:tt}=yield checkNip05(q.detail);r.modal&&(r.modal.error=String(tt),!tt&&ht&&(r.modal.error="Already taken"),r.modal.signupNameIsAvailable=ct)});return function(q){return W.apply(this,arguments)}}()),r.modal.addEventListener("nlCheckLogin",function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){const{available:ct,taken:ht,error:tt}=yield checkNip05(q.detail);r.modal&&(r.modal.error=String(tt),ct&&(r.modal.error="Name not found"),r.modal.loginIsGood=ht)});return function(q){return W.apply(this,arguments)}}());const J=()=>{r.modal&&(r.modal.isLoading=!1),o.close(),y(new Error("Cancelled"))};r.modal.addEventListener("stopFetchHandler",J),r.modal.addEventListener("nlCloseModal",J),r.modal.addEventListener("nlChangeDarkMode",W=>{setDarkMode(W.detail),document.dispatchEvent(new CustomEvent("nlDarkMode",{detail:W.detail}))}),o.showModal()}),r.launcherPromise})()}connectModals(a){var r=this;const o=function(){var c=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(y){yield r.launch(y)});return function(k){return c.apply(this,arguments)}}(),s=document.getElementsByTagName("nl-button");for(let c=0;c{this.checkExtension(a)&&clearTimeout(r)},100)}checkExtension(a){return!(this.nostrExtension||!window.nostr||window.nostr===a||(this.initExtension(a),0))}initExtension(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.nostrExtension=window.nostr,window.nostr=a,"extension"===o.params.userInfo?.authMethod&&(yield o.trySetExtensionForPubkey(o.params.userInfo.pubkey)),r||setTimeout(()=>{window.nostr!==a&&o.nostrExtension!==window.nostr&&o.initExtension(a,!0)},300)})()}setExtensionReadPubkey(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){window.nostr=r.nostrExtension;const o=yield window.nostr.getPublicKey();a&&a!==o?r.emit("extensionLogout"):r.emit("extensionLogin",o)})()}trySetExtensionForPubkey(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r.nostrExtension)return r.setExtensionReadPubkey(a)})()}setExtension(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.setExtensionReadPubkey()})()}unsetExtension(a){window.nostr===this.nostrExtension&&(window.nostr=a)}getExtension(){return this.nostrExtension}hasExtension(){return!!this.nostrExtension}}class NostrParams{userInfo;optionsModal;constructor(){this.userInfo=null,this.optionsModal={theme:"default",startScreen:"welcome",devOverrideBunkerOrigin:""}}}class Popup{popup=null;constructor(){}ensurePopup(a){if(!this.popup||this.popup.closed){if(this.popup=window.open(a,"_blank","width=400,height=700"),console.log("popup",this.popup),!this.popup)throw new Error("Popup blocked. Try again, please!");this.popup.opener=null}}closePopup(){try{this.popup?.close(),this.popup=null}catch{}}}const CALL_TIMEOUT=5e3;class ProcessManager extends lib$1.EventEmitter{callCount=0;callTimer;constructor(){super()}onAuthUrl(){this.callTimer&&clearTimeout(this.callTimer)}wait(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let o,s;r.callTimer||(r.callTimer=setTimeout(()=>r.emit("onCallTimeout"),CALL_TIMEOUT)),r.callCount||(yield r.emit("onCallStart")),r.callCount++;try{s=yield a()}catch(c){o=c}if(r.callCount--,yield r.emit("onCallEnd"),r.callTimer&&clearTimeout(r.callTimer),r.callTimer=void 0,o)throw o;return s})()}}class NostrLoginInitializer{extensionService;params;authNostrService;nostr;processManager;popupManager;bannerManager;modalManager;constructor(){var a=this;this.params=new NostrParams,this.processManager=new ProcessManager,this.popupManager=new Popup,this.bannerManager=new BannerManager(this.params),this.authNostrService=new AuthNostrService(this.params),this.extensionService=new NostrExtensionService(this.params),this.modalManager=new ModalManager(this.params,this.authNostrService,this.extensionService);const r={waitReady:(o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield a.authNostrService.waitReady(),yield a.modalManager.waitReady()}),function(){return o.apply(this,arguments)}),getUserInfo:()=>this.params.userInfo,getSigner:()=>{if("readOnly"===this.params.userInfo.authMethod)throw new Error("Read only");return"extension"===this.params.userInfo.authMethod?this.extensionService.getExtension():this.authNostrService},launch:()=>this.launch(),wait:o=>this.processManager.wait(o)};var o;this.nostr=new Nostr(r),this.processManager.on("onCallTimeout",()=>{this.bannerManager.onCallTimeout()}),this.processManager.on("onCallEnd",()=>{this.bannerManager.onCallEnd()}),this.processManager.on("onCallStart",()=>{this.bannerManager.onCallStart()}),this.authNostrService.on("onAuthUrl",({url:o,eventToAddAccount:s})=>{this.processManager.onAuthUrl(),s?this.modalManager.onAuthUrl(o):this.params.userInfo?this.bannerManager.onAuthUrl(o):this.modalManager.onAuthUrl(o)}),this.authNostrService.on("updateAccounts",()=>{this.updateAccounts()}),this.authNostrService.on("onUserInfo",o=>{this.bannerManager.onUserInfo(o)}),this.modalManager.on("onAuthUrlClick",o=>{this.popupManager.ensurePopup(o)}),this.modalManager.on("onSwitchAccount",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){a.switchAccount(s)});return function(s){return o.apply(this,arguments)}}()),this.modalManager.on("onLogoutBanner",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){logout()});return function(s){return o.apply(this,arguments)}}()),this.bannerManager.on("onConfirmLogout",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){console.log(4),a.launch("confirm-logout")})),this.modalManager.on("updateAccounts",()=>{this.updateAccounts()}),this.bannerManager.on("logout",()=>{logout()}),this.bannerManager.on("onAuthUrlClick",o=>{this.popupManager.ensurePopup(o)}),this.bannerManager.on("onSwitchAccount",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){a.switchAccount(s)});return function(s){return o.apply(this,arguments)}}()),this.bannerManager.on("import",()=>{this.launch("import")}),this.extensionService.on("extensionLogin",o=>{this.authNostrService.setExtension(o)}),this.extensionService.on("extensionLogout",()=>{logout()}),this.bannerManager.on("launch",o=>{this.launch(o)})}switchAccount(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(console.log("nostr login switch to info",a),r.extensionService.unsetExtension(r.nostr),"readOnly"===a.authMethod)r.authNostrService.setReadOnly(a.pubkey);else if("otp"===a.authMethod)r.authNostrService.setOTP(a.pubkey,a.otpData||"");else if("local"===a.authMethod&&a.sk)r.authNostrService.setLocal(a);else if("extension"===a.authMethod)yield r.extensionService.trySetExtensionForPubkey(a.pubkey);else{if(!("connect"===a.authMethod&&a.sk&&a.relays&&a.relays[0]))throw new Error("Bad auth info");r.authNostrService.setConnect(a)}})()}updateAccounts(){const a=localStorageGetAccounts(),r=localStorageGetRecents();this.bannerManager.onUpdateAccounts(a),this.modalManager.onUpdateAccounts(a,r)}launch=a=>{const r=localStorageGetRecents(),o=localStorageGetAccounts(),s=a?{startScreen:a}:this.params.optionsModal;return a||!r?.length&&!o?.length||(s.startScreen="switch-account"),this.modalManager.launch(s).catch(()=>{})};init=(()=>{var r,a=this;return r=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(o){a.extensionService.startCheckingExtension(a.nostr),window.nostr=a.nostr,a.modalManager.connectModals(o),a.bannerManager.launchAuthBanner(o),o&&(a.params.optionsModal={...o});try{const s=localStorageGetCurrent();if(s){if(!s.pubkey)throw new Error("Bad stored info");yield a.switchAccount(s)}}catch(s){console.log("nostr login init error",s),yield logout()}a.updateAccounts()}),function(o){return r.apply(this,arguments)}})();logout=(()=>{var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a.extensionService.unsetExtension(a.nostr),yield a.authNostrService.logout()})})();setDarkMode=a=>{localStorageSetItem("nl-dark-mode",`${a}`),this.bannerManager.onDarkMode(a),this.modalManager.onDarkMode(a)}}const initializer=new NostrLoginInitializer,{init,launch,logout,setDarkMode}=initializer;document.addEventListener("nlLogout",logout),document.addEventListener("nlLaunch",i=>{launch(i.detail||"")}),document.addEventListener("nlDarkMode",i=>{setDarkMode(!!i.detail)})},5766:(i,a,r)=>{"use strict";r.d(a,{My:()=>St,aT:()=>at}),new Uint8Array(new Uint32Array([287454020]).buffer);const $t=Array.from({length:256},(wt,Ut)=>Ut.toString(16).padStart(2,"0"));function St(wt){!function y(wt,...Ut){if(!function c(wt){return wt instanceof Uint8Array||null!=wt&&"object"==typeof wt&&"Uint8Array"===wt.constructor.name}(wt))throw new Error("Uint8Array expected");if(Ut.length>0&&!Ut.includes(wt.length))throw new Error(`Uint8Array expected of length ${Ut}, not of length=${wt.length}`)}(wt);let Ut="";for(let Ae=0;Ae=_t._0&&wt<=_t._9?wt-_t._0:wt>=_t._A&&wt<=_t._F?wt-(_t._A-10):wt>=_t._a&&wt<=_t._f?wt-(_t._a-10):void 0}function at(wt){if("string"!=typeof wt)throw new Error("hex string expected, got "+typeof wt);const Ut=wt.length,Ae=Ut/2;if(Ut%2)throw new Error("padded hex string expected, got unpadded hex of length "+Ut);const Xt=new Uint8Array(Ae);for(let pe=0,te=0;pe{"use strict";function s(qt){return qt instanceof Uint8Array||null!=qt&&"object"==typeof qt&&"Uint8Array"===qt.constructor.name}function c(...qt){const Ve=Fe=>Fe,Ht=(Fe,Or)=>yo=>Fe(Or(yo));return{encode:qt.map(Fe=>Fe.encode).reduceRight(Ht,Ve),decode:qt.map(Fe=>Fe.decode).reduce(Ht,Ve)}}function y(qt){return{encode:Ve=>{if(!Array.isArray(Ve)||Ve.length&&"number"!=typeof Ve[0])throw new Error("alphabet.encode input should be an array of numbers");return Ve.map(Ht=>{if(Ht<0||Ht>=qt.length)throw new Error(`Digit index outside alphabet: ${Ht} (alphabet: ${qt.length})`);return qt[Ht]})},decode:Ve=>{if(!Array.isArray(Ve)||Ve.length&&"string"!=typeof Ve[0])throw new Error("alphabet.decode input should be array of strings");return Ve.map(Ht=>{if("string"!=typeof Ht)throw new Error(`alphabet.decode: not string element=${Ht}`);const Me=qt.indexOf(Ht);if(-1===Me)throw new Error(`Unknown letter: "${Ht}". Allowed: ${qt}`);return Me})}}}function k(qt=""){if("string"!=typeof qt)throw new Error("join separator should be string");return{encode:Ve=>{if(!Array.isArray(Ve)||Ve.length&&"string"!=typeof Ve[0])throw new Error("join.encode input should be array of strings");for(let Ht of Ve)if("string"!=typeof Ht)throw new Error(`join.encode: non-string input=${Ht}`);return Ve.join(qt)},decode:Ve=>{if("string"!=typeof Ve)throw new Error("join.decode input should be string");return Ve.split(qt)}}}function S(qt,Ve="="){if("string"!=typeof Ve)throw new Error("padding chr should be string");return{encode(Ht){if(!Array.isArray(Ht)||Ht.length&&"string"!=typeof Ht[0])throw new Error("padding.encode input should be array of strings");for(let Me of Ht)if("string"!=typeof Me)throw new Error(`padding.encode: non-string input=${Me}`);for(;Ht.length*qt%8;)Ht.push(Ve);return Ht},decode(Ht){if(!Array.isArray(Ht)||Ht.length&&"string"!=typeof Ht[0])throw new Error("padding.encode input should be array of strings");for(let Ke of Ht)if("string"!=typeof Ke)throw new Error(`padding.decode: non-string input=${Ke}`);let Me=Ht.length;if(Me*qt%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;Me>0&&Ht[Me-1]===Ve;Me--)if(!((Me-1)*qt%8))throw new Error("Invalid padding: string has too much padding");return Ht.slice(0,Me)}}}function T(qt,Ve,Ht){if(Ve<2)throw new Error(`convertRadix: wrong from=${Ve}, base cannot be less than 2`);if(Ht<2)throw new Error(`convertRadix: wrong to=${Ht}, base cannot be less than 2`);if(!Array.isArray(qt))throw new Error("convertRadix: data should be array");if(!qt.length)return[];let Me=0;const Ke=[],Fe=Array.from(qt);for(Fe.forEach(Or=>{if(Or<0||Or>=Ve)throw new Error(`Wrong integer: ${Or}`)});;){let Or=0,yo=!0;for(let dr=Me;drAe,K3:()=>nt,Tq:()=>vr,Wp:()=>ht});const M=(qt,Ve)=>Ve?M(Ve,qt%Ve):qt,R=(qt,Ve)=>qt+(Ve-M(qt,Ve));function L(qt,Ve,Ht,Me){if(!Array.isArray(qt))throw new Error("convertRadix2: data should be array");if(Ve<=0||Ve>32)throw new Error(`convertRadix2: wrong from=${Ve}`);if(Ht<=0||Ht>32)throw new Error(`convertRadix2: wrong to=${Ht}`);if(R(Ve,Ht)>32)throw new Error(`convertRadix2: carry overflow from=${Ve} to=${Ht} carryBits=${R(Ve,Ht)}`);let Ke=0,Fe=0;const Or=2**Ht-1,yo=[];for(const dr of qt){if(dr>=2**Ve)throw new Error(`convertRadix2: invalid data word=${dr} from=${Ve}`);if(Ke=Ke<32)throw new Error(`convertRadix2: carry overflow pos=${Fe} from=${Ve}`);for(Fe+=Ve;Fe>=Ht;Fe-=Ht)yo.push((Ke>>Fe-Ht&Or)>>>0);Ke&=2**Fe-1}if(Ke=Ke<=Ve)throw new Error("Excess padding");if(!Me&&Ke)throw new Error(`Non-zero padding: ${Ke}`);return Me&&Fe>0&&yo.push(Ke>>>0),yo}function J(qt){return{encode:Ve=>{if(!s(Ve))throw new Error("radix.encode input should be Uint8Array");return T(Array.from(Ve),256,qt)},decode:Ve=>{if(!Array.isArray(Ve)||Ve.length&&"number"!=typeof Ve[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(T(Ve,qt,256))}}}function W(qt,Ve=!1){if(qt<=0||qt>32)throw new Error("radix2: bits should be in (0..32]");if(R(8,qt)>32||R(qt,8)>32)throw new Error("radix2: carry overflow");return{encode:Ht=>{if(!s(Ht))throw new Error("radix2.encode input should be Uint8Array");return L(Array.from(Ht),8,qt,!Ve)},decode:Ht=>{if(!Array.isArray(Ht)||Ht.length&&"number"!=typeof Ht[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(L(Ht,qt,8,Ve))}}}function q(qt){if("function"!=typeof qt)throw new Error("unsafeWrapper fn should be function");return function(...Ve){try{return qt.apply(null,Ve)}catch{}}}function ct(qt,Ve){if("function"!=typeof Ve)throw new Error("checksum fn should be function");return{encode(Ht){if(!s(Ht))throw new Error("checksum.encode: input should be Uint8Array");const Me=Ve(Ht).slice(0,qt),Ke=new Uint8Array(Ht.length+qt);return Ke.set(Ht),Ke.set(Me,Ht.length),Ke},decode(Ht){if(!s(Ht))throw new Error("checksum.decode: input should be Uint8Array");const Me=Ht.slice(0,-qt),Ke=Ve(Me).slice(0,qt),Fe=Ht.slice(-qt);for(let Or=0;Orc(J(58),y("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),k("")))(),vr=qt=>c(ct(4,Ve=>qt(qt(Ve))),jt),Xr=c(y("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),k("")),ke=[996825010,642813549,513874426,1027748829,705979059];function Rt(qt){const Ve=qt>>25;let Ht=(33554431&qt)<<5;for(let Me=0;Me>Me&1)&&(Ht^=ke[Me]);return Ht}function wt(qt,Ve,Ht=1){const Me=qt.length;let Ke=1;for(let Fe=0;Fe126)throw new Error(`Invalid prefix (${qt})`);Ke=Rt(Ke)^Or>>5}Ke=Rt(Ke);for(let Fe=0;Febr)throw new TypeError(`Length ${gt} exceeds limit ${br}`);const $=de.toLowerCase(),Y=wt($,Ie,Ve);return`${$}1${Xr.encode(Ie)}${Y}`}function yo(de,Ie=90){if("string"!=typeof de)throw new Error("bech32.decode input should be string, not "+typeof de);if(de.length<8||!1!==Ie&&de.length>Ie)throw new TypeError(`Wrong string length: ${de.length} (${de}). Expected (8..${Ie})`);const br=de.toLowerCase();if(de!==br&&de!==de.toUpperCase())throw new Error("String must be lowercase or uppercase");const gt=br.lastIndexOf("1");if(0===gt||-1===gt)throw new Error('Letter "1" must be present between prefix and data only');const $=br.slice(0,gt),Y=br.slice(gt+1);if(Y.length<6)throw new Error("Data must be at least 6 characters long");const it=Xr.decode(Y).slice(0,-6),At=wt($,it,Ve);if(!Y.endsWith(At))throw new Error(`Invalid checksum in ${de}: expected "${At}"`);return{prefix:$,words:it}}return{encode:Or,decode:yo,encodeFromBytes:function we(de,Ie){return Or(de,Ke(Ie))},decodeToBytes:function Nt(de){const{prefix:Ie,words:br}=yo(de,!1);return{prefix:Ie,words:br,bytes:Me(br)}},decodeUnsafe:q(yo),fromWords:Me,fromWordsUnsafe:Fe,toWords:Ke}}const Ae=Ut("bech32")},9608:(i,a,r)=>{"use strict";r.d(a,{c:()=>kt});var o={};function s(x){if(!Number.isSafeInteger(x)||x<0)throw new Error(`Wrong positive integer: ${x}`)}function k(x,...C){if(!function y(x){return x instanceof Uint8Array||null!=x&&"object"==typeof x&&"Uint8Array"===x.constructor.name}(x))throw new Error("Expected Uint8Array");if(C.length>0&&!C.includes(x.length))throw new Error(`Expected Uint8Array of length ${C}, not of length=${x.length}`)}function I(x,C=!0){if(x.destroyed)throw new Error("Hash instance has been destroyed");if(C&&x.finished)throw new Error("Hash#digest() has already been called")}function W(x){return x instanceof Uint8Array||null!=x&&"object"==typeof x&&"Uint8Array"===x.constructor.name}r.r(o),r.d(o,{OG:()=>Ji,My:()=>Ti,Ph:()=>Tn,lX:()=>ua,Id:()=>Bn,fg:()=>fa,qj:()=>ei,aT:()=>Ba,lq:()=>bi,z:()=>Go,Q5:()=>fi});const q=x=>new DataView(x.buffer,x.byteOffset,x.byteLength),ct=(x,C)=>x<<32-C|x>>>C;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const tt=Array.from({length:256},(x,C)=>C.toString(16).padStart(2,"0")),Tt={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function $t(x){return x>=Tt._0&&x<=Tt._9?x-Tt._0:x>=Tt._A&&x<=Tt._F?x-(Tt._A-10):x>=Tt._a&&x<=Tt._f?x-(Tt._a-10):void 0}function et(x){if("string"!=typeof x)throw new Error("utf8ToBytes expected string, got "+typeof x);return new Uint8Array((new TextEncoder).encode(x))}function bt(x){if("string"==typeof x&&(x=et(x)),!W(x))throw new Error("expected Uint8Array, got "+typeof x);return x}function Et(...x){let C=0;for(let pt=0;ptx().update(bt(pt)).digest(),F=x();return C.outputLen=F.outputLen,C.blockLen=F.blockLen,C.create=()=>x(),C}class Xr extends jt{constructor(C,F){super(),this.finished=!1,this.destroyed=!1,function S(x){if("function"!=typeof x||"function"!=typeof x.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");s(x.outputLen),s(x.blockLen)}(C);const pt=bt(F);if(this.iHash=C.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const It=this.blockLen,ce=new Uint8Array(It);ce.set(pt.length>It?C.create().update(pt).digest():pt);for(let Be=0;Benew Xr(x,C).update(F).digest();ke.create=(x,C)=>new Xr(x,C);class wt extends jt{constructor(C,F,pt,It){super(),this.blockLen=C,this.outputLen=F,this.padOffset=pt,this.isLE=It,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(C),this.view=q(this.buffer)}update(C){I(this);const{view:F,buffer:pt,blockLen:It}=this,ce=(C=bt(C)).length;for(let Be=0;BeIt-Be&&(this.process(pt,0),Be=0);for(let ze=Be;ze>It&ce),je=Number(F&ce),sr=pt?0:4;x.setUint32(C+(pt?4:0),Be,pt),x.setUint32(C+sr,je,pt)})(pt,It-8,BigInt(8*this.length),ce),this.process(pt,0);const je=q(C),Ze=this.outputLen;if(Ze%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=Ze/4,Rr=this.get();if(sr>Rr.length)throw new Error("_sha2: outputLen bigger than state");for(let ze=0;zeC);let pe=[Ae],te=[Ae.map(x=>(9*x+5)%16)];for(let x=0;x<4;x++)for(let C of[pe,te])C.push(C[x].map(F=>Ut[F]));const Ye=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(x=>new Uint8Array(x)),We=pe.map((x,C)=>x.map(F=>Ye[C][F])),Bt=te.map((x,C)=>x.map(F=>Ye[C][F])),Zt=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Ot=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),le=(x,C)=>x<>>32-C;function qt(x,C,F,pt){return 0===x?C^F^pt:1===x?C&F|~C&pt:2===x?(C|~F)^pt:3===x?C&pt|F&~pt:C^(F|~pt)}const Ve=new Uint32Array(16);class Ht extends wt{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:C,h1:F,h2:pt,h3:It,h4:ce}=this;return[C,F,pt,It,ce]}set(C,F,pt,It,ce){this.h0=0|C,this.h1=0|F,this.h2=0|pt,this.h3=0|It,this.h4=0|ce}process(C,F){for(let _r=0;_r<16;_r++,F+=4)Ve[_r]=C.getUint32(F,!0);let pt=0|this.h0,It=pt,ce=0|this.h1,Be=ce,je=0|this.h2,Ze=je,sr=0|this.h3,Rr=sr,ze=0|this.h4,nr=ze;for(let _r=0;_r<5;_r++){const Zr=4-_r,Ir=Zt[_r],Gr=Ot[_r],Jr=pe[_r],fo=te[_r],jr=We[_r],So=Bt[_r];for(let Oo=0;Oo<16;Oo++){const Yr=le(pt+qt(_r,ce,je,sr)+Ve[Jr[Oo]]+Ir,jr[Oo])+ze|0;pt=ze,ze=sr,sr=0|le(je,10),je=ce,ce=Yr}for(let Oo=0;Oo<16;Oo++){const Yr=le(It+qt(Zr,Be,Ze,Rr)+Ve[fo[Oo]]+Gr,So[Oo])+nr|0;It=nr,nr=Rr,Rr=0|le(Ze,10),Ze=Be,Be=Yr}}this.set(this.h1+je+Rr|0,this.h2+sr+nr|0,this.h3+ze+It|0,this.h4+pt+Be|0,this.h0+ce+Ze|0)}roundClean(){Ve.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const Me=Xe(()=>new Ht),Ke=(x,C,F)=>x&C^~x&F,Fe=(x,C,F)=>x&C^x&F^C&F,Or=new Uint32Array([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]),yo=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),dr=new Uint32Array(64);class Nt extends wt{constructor(){super(64,32,8,!1),this.A=0|yo[0],this.B=0|yo[1],this.C=0|yo[2],this.D=0|yo[3],this.E=0|yo[4],this.F=0|yo[5],this.G=0|yo[6],this.H=0|yo[7]}get(){const{A:C,B:F,C:pt,D:It,E:ce,F:Be,G:je,H:Ze}=this;return[C,F,pt,It,ce,Be,je,Ze]}set(C,F,pt,It,ce,Be,je,Ze){this.A=0|C,this.B=0|F,this.C=0|pt,this.D=0|It,this.E=0|ce,this.F=0|Be,this.G=0|je,this.H=0|Ze}process(C,F){for(let ze=0;ze<16;ze++,F+=4)dr[ze]=C.getUint32(F,!1);for(let ze=16;ze<64;ze++){const nr=dr[ze-15],_r=dr[ze-2],Zr=ct(nr,7)^ct(nr,18)^nr>>>3,Ir=ct(_r,17)^ct(_r,19)^_r>>>10;dr[ze]=Ir+dr[ze-7]+Zr+dr[ze-16]|0}let{A:pt,B:It,C:ce,D:Be,E:je,F:Ze,G:sr,H:Rr}=this;for(let ze=0;ze<64;ze++){const _r=Rr+(ct(je,6)^ct(je,11)^ct(je,25))+Ke(je,Ze,sr)+Or[ze]+dr[ze]|0,Ir=(ct(pt,2)^ct(pt,13)^ct(pt,22))+Fe(pt,It,ce)|0;Rr=sr,sr=Ze,Ze=je,je=Be+_r|0,Be=ce,ce=It,It=pt,pt=_r+Ir|0}pt=pt+this.A|0,It=It+this.B|0,ce=ce+this.C|0,Be=Be+this.D|0,je=je+this.E|0,Ze=Ze+this.F|0,sr=sr+this.G|0,Rr=Rr+this.H|0,this.set(pt,It,ce,Be,je,Ze,sr,Rr)}roundClean(){dr.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const de=Xe(()=>new Nt),br=BigInt(2**32-1),gt=BigInt(32);function $(x,C=!1){return C?{h:Number(x&br),l:Number(x>>gt&br)}:{h:0|Number(x>>gt&br),l:0|Number(x&br)}}const Ue_split=function Y(x,C=!1){let F=new Uint32Array(x.length),pt=new Uint32Array(x.length);for(let It=0;Itx>>>F,Ue_shrSL=(x,C,F)=>x<<32-F|C>>>F,Ue_rotrSH=(x,C,F)=>x>>>F|C<<32-F,Ue_rotrSL=(x,C,F)=>x<<32-F|C>>>F,Ue_rotrBH=(x,C,F)=>x<<64-F|C>>>F-32,Ue_rotrBL=(x,C,F)=>x>>>F-32|C<<64-F,Ue_add=function re(x,C,F,pt){const It=(C>>>0)+(pt>>>0);return{h:x+F+(It/2**32|0)|0,l:0|It}},Ue_add3L=(x,C,F)=>(x>>>0)+(C>>>0)+(F>>>0),Ue_add3H=(x,C,F,pt)=>C+F+pt+(x/2**32|0)|0,Ue_add4L=(x,C,F,pt)=>(x>>>0)+(C>>>0)+(F>>>0)+(pt>>>0),Ue_add4H=(x,C,F,pt,It)=>C+F+pt+It+(x/2**32|0)|0,Ue_add5H=(x,C,F,pt,It,ce)=>C+F+pt+It+ce+(x/2**32|0)|0,Ue_add5L=(x,C,F,pt,It)=>(x>>>0)+(C>>>0)+(F>>>0)+(pt>>>0)+(It>>>0),[Ee,qe]=Ue_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(x=>BigInt(x))),Ce=new Uint32Array(80),be=new Uint32Array(80);class Yt extends wt{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:C,Al:F,Bh:pt,Bl:It,Ch:ce,Cl:Be,Dh:je,Dl:Ze,Eh:sr,El:Rr,Fh:ze,Fl:nr,Gh:_r,Gl:Zr,Hh:Ir,Hl:Gr}=this;return[C,F,pt,It,ce,Be,je,Ze,sr,Rr,ze,nr,_r,Zr,Ir,Gr]}set(C,F,pt,It,ce,Be,je,Ze,sr,Rr,ze,nr,_r,Zr,Ir,Gr){this.Ah=0|C,this.Al=0|F,this.Bh=0|pt,this.Bl=0|It,this.Ch=0|ce,this.Cl=0|Be,this.Dh=0|je,this.Dl=0|Ze,this.Eh=0|sr,this.El=0|Rr,this.Fh=0|ze,this.Fl=0|nr,this.Gh=0|_r,this.Gl=0|Zr,this.Hh=0|Ir,this.Hl=0|Gr}process(C,F){for(let jr=0;jr<16;jr++,F+=4)Ce[jr]=C.getUint32(F),be[jr]=C.getUint32(F+=4);for(let jr=16;jr<80;jr++){const So=0|Ce[jr-15],Oo=0|be[jr-15],Yr=Ue_rotrSH(So,Oo,1)^Ue_rotrSH(So,Oo,8)^Ue_shrSH(So,Oo,7),tn=Ue_rotrSL(So,Oo,1)^Ue_rotrSL(So,Oo,8)^Ue_shrSL(So,Oo,7),Xo=0|Ce[jr-2],Cn=0|be[jr-2],qo=Ue_rotrSH(Xo,Cn,19)^Ue_rotrBH(Xo,Cn,61)^Ue_shrSH(Xo,Cn,6),vn=Ue_rotrSL(Xo,Cn,19)^Ue_rotrBL(Xo,Cn,61)^Ue_shrSL(Xo,Cn,6),Di=Ue_add4L(tn,vn,be[jr-7],be[jr-16]),ii=Ue_add4H(Di,Yr,qo,Ce[jr-7],Ce[jr-16]);Ce[jr]=0|ii,be[jr]=0|Di}let{Ah:pt,Al:It,Bh:ce,Bl:Be,Ch:je,Cl:Ze,Dh:sr,Dl:Rr,Eh:ze,El:nr,Fh:_r,Fl:Zr,Gh:Ir,Gl:Gr,Hh:Jr,Hl:fo}=this;for(let jr=0;jr<80;jr++){const So=Ue_rotrSH(ze,nr,14)^Ue_rotrSH(ze,nr,18)^Ue_rotrBH(ze,nr,41),Oo=Ue_rotrSL(ze,nr,14)^Ue_rotrSL(ze,nr,18)^Ue_rotrBL(ze,nr,41),Yr=ze&_r^~ze&Ir,Xo=Ue_add5L(fo,Oo,nr&Zr^~nr&Gr,qe[jr],be[jr]),Cn=Ue_add5H(Xo,Jr,So,Yr,Ee[jr],Ce[jr]),qo=0|Xo,vn=Ue_rotrSH(pt,It,28)^Ue_rotrBH(pt,It,34)^Ue_rotrBH(pt,It,39),Di=Ue_rotrSL(pt,It,28)^Ue_rotrBL(pt,It,34)^Ue_rotrBL(pt,It,39),ii=pt&ce^pt&je^ce&je,Gi=It&Be^It&Ze^Be&Ze;Jr=0|Ir,fo=0|Gr,Ir=0|_r,Gr=0|Zr,_r=0|ze,Zr=0|nr,({h:ze,l:nr}=Ue_add(0|sr,0|Rr,0|Cn,0|qo)),sr=0|je,Rr=0|Ze,je=0|ce,Ze=0|Be,ce=0|pt,Be=0|It;const Mo=Ue_add3L(qo,Di,Gi);pt=Ue_add3H(Mo,Cn,vn,ii),It=0|Mo}({h:pt,l:It}=Ue_add(0|this.Ah,0|this.Al,0|pt,0|It)),({h:ce,l:Be}=Ue_add(0|this.Bh,0|this.Bl,0|ce,0|Be)),({h:je,l:Ze}=Ue_add(0|this.Ch,0|this.Cl,0|je,0|Ze)),({h:sr,l:Rr}=Ue_add(0|this.Dh,0|this.Dl,0|sr,0|Rr)),({h:ze,l:nr}=Ue_add(0|this.Eh,0|this.El,0|ze,0|nr)),({h:_r,l:Zr}=Ue_add(0|this.Fh,0|this.Fl,0|_r,0|Zr)),({h:Ir,l:Gr}=Ue_add(0|this.Gh,0|this.Gl,0|Ir,0|Gr)),({h:Jr,l:fo}=Ue_add(0|this.Hh,0|this.Hl,0|Jr,0|fo)),this.set(pt,It,ce,Be,je,Ze,sr,Rr,ze,nr,_r,Zr,Ir,Gr,Jr,fo)}roundClean(){Ce.fill(0),be.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const Co=Xe(()=>new Yt);function ai(x){if(!Number.isSafeInteger(x)||x<0)throw new Error(`Wrong positive integer: ${x}`)}function gi(x,...C){if(!(x instanceof Uint8Array))throw new Error("Expected Uint8Array");if(C.length>0&&!C.includes(x.length))throw new Error(`Expected Uint8Array of length ${C}, not of length=${x.length}`)}const Pr={number:ai,bool:function Po(x){if("boolean"!=typeof x)throw new Error(`Expected boolean, not ${x}`)},bytes:gi,hash:function ni(x){if("function"!=typeof x||"function"!=typeof x.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");ai(x.outputLen),ai(x.blockLen)},exists:function Oe(x,C=!0){if(x.destroyed)throw new Error("Hash instance has been destroyed");if(C&&x.finished)throw new Error("Hash#digest() has already been called")},output:function He(x,C){gi(x);const F=C.outputLen;if(x.lengthx instanceof Uint8Array,Do=x=>new DataView(x.buffer,x.byteOffset,x.byteLength),ro=(x,C)=>x<<32-C|x>>>C;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function De(x){if("string"==typeof x&&(x=function Re(x){if("string"!=typeof x)throw new Error("utf8ToBytes expected string, got "+typeof x);return new Uint8Array((new TextEncoder).encode(x))}(x)),!ao(x))throw new Error("expected Uint8Array, got "+typeof x);return x}Array.from({length:256},(x,C)=>C.toString(16).padStart(2,"0"));class Cr{clone(){return this._cloneInto()}}function Br(x){const C=pt=>x().update(De(pt)).digest(),F=x();return C.outputLen=F.outputLen,C.blockLen=F.blockLen,C.create=()=>x(),C}function ko(x=32){if(Ur&&"function"==typeof Ur.getRandomValues)return Ur.getRandomValues(new Uint8Array(x));throw new Error("crypto.getRandomValues must be defined")}class po extends Cr{constructor(C,F,pt,It){super(),this.blockLen=C,this.outputLen=F,this.padOffset=pt,this.isLE=It,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(C),this.view=Do(this.buffer)}update(C){Pr.exists(this);const{view:F,buffer:pt,blockLen:It}=this,ce=(C=De(C)).length;for(let Be=0;BeIt-Be&&(this.process(pt,0),Be=0);for(let ze=Be;ze>It&ce),je=Number(F&ce),sr=pt?0:4;x.setUint32(C+(pt?4:0),Be,pt),x.setUint32(C+sr,je,pt)})(pt,It-8,BigInt(8*this.length),ce),this.process(pt,0);const je=Do(C),Ze=this.outputLen;if(Ze%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=Ze/4,Rr=this.get();if(sr>Rr.length)throw new Error("_sha2: outputLen bigger than state");for(let ze=0;zex&C^~x&F,Jn=(x,C,F)=>x&C^x&F^C&F,Ai=new Uint32Array([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]),zn=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Uo=new Uint32Array(64);class jn extends po{constructor(){super(64,32,8,!1),this.A=0|zn[0],this.B=0|zn[1],this.C=0|zn[2],this.D=0|zn[3],this.E=0|zn[4],this.F=0|zn[5],this.G=0|zn[6],this.H=0|zn[7]}get(){const{A:C,B:F,C:pt,D:It,E:ce,F:Be,G:je,H:Ze}=this;return[C,F,pt,It,ce,Be,je,Ze]}set(C,F,pt,It,ce,Be,je,Ze){this.A=0|C,this.B=0|F,this.C=0|pt,this.D=0|It,this.E=0|ce,this.F=0|Be,this.G=0|je,this.H=0|Ze}process(C,F){for(let ze=0;ze<16;ze++,F+=4)Uo[ze]=C.getUint32(F,!1);for(let ze=16;ze<64;ze++){const nr=Uo[ze-15],_r=Uo[ze-2],Zr=ro(nr,7)^ro(nr,18)^nr>>>3,Ir=ro(_r,17)^ro(_r,19)^_r>>>10;Uo[ze]=Ir+Uo[ze-7]+Zr+Uo[ze-16]|0}let{A:pt,B:It,C:ce,D:Be,E:je,F:Ze,G:sr,H:Rr}=this;for(let ze=0;ze<64;ze++){const _r=Rr+(ro(je,6)^ro(je,11)^ro(je,25))+io(je,Ze,sr)+Ai[ze]+Uo[ze]|0,Ir=(ro(pt,2)^ro(pt,13)^ro(pt,22))+Jn(pt,It,ce)|0;Rr=sr,sr=Ze,Ze=je,je=Be+_r|0,Be=ce,ce=It,It=pt,pt=_r+Ir|0}pt=pt+this.A|0,It=It+this.B|0,ce=ce+this.C|0,Be=Be+this.D|0,je=je+this.E|0,Ze=Ze+this.F|0,sr=sr+this.G|0,Rr=Rr+this.H|0,this.set(pt,It,ce,Be,je,Ze,sr,Rr)}roundClean(){Uo.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class Ki extends jn{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const on=Br(()=>new jn),_i=(Br(()=>new Ki),BigInt(0),BigInt(1)),ds=BigInt(2),da=x=>x instanceof Uint8Array,va=Array.from({length:256},(x,C)=>C.toString(16).padStart(2,"0"));function Ti(x){if(!da(x))throw new Error("Uint8Array expected");let C="";for(let F=0;Fpt+It.length,0));let F=0;return x.forEach(pt=>{if(!da(pt))throw new Error("Uint8Array expected");C.set(pt,F),F+=pt.length}),C}const Ji=x=>(ds<new Uint8Array(x),us=x=>Uint8Array.from(x);function fa(x,C,F){if("number"!=typeof x||x<2)throw new Error("hashLen must be a number");if("number"!=typeof C||C<2)throw new Error("qByteLen must be a number");if("function"!=typeof F)throw new Error("hmacFn must be a function");let pt=ta(x),It=ta(x),ce=0;const Be=()=>{pt.fill(1),It.fill(0),ce=0},je=(...ze)=>F(It,pt,...ze),Ze=(ze=ta())=>{It=je(us([0]),ze),pt=je(),0!==ze.length&&(It=je(us([1]),ze),pt=je())},sr=()=>{if(ce++>=1e3)throw new Error("drbg: tried 1000 values");let ze=0;const nr=[];for(;ze{let _r;for(Be(),Ze(ze);!(_r=nr(sr()));)Ze();return Be(),_r}}const $a={bigint:x=>"bigint"==typeof x,function:x=>"function"==typeof x,boolean:x=>"boolean"==typeof x,string:x=>"string"==typeof x,isSafeInteger:x=>Number.isSafeInteger(x),array:x=>Array.isArray(x),field:(x,C)=>C.Fp.isValid(x),hash:x=>"function"==typeof x&&Number.isSafeInteger(x.outputLen)};function fi(x,C,F={}){const pt=(It,ce,Be)=>{const je=$a[ce];if("function"!=typeof je)throw new Error(`Invalid validator "${ce}", expected function`);const Ze=x[It];if(!(Be&&void 0===Ze||je(Ze,x)))throw new Error(`Invalid param ${String(It)}=${Ze} (${typeof Ze}), expected ${ce}`)};for(const[It,ce]of Object.entries(C))pt(It,ce,!1);for(const[It,ce]of Object.entries(F))pt(It,ce,!0);return x}const Jo=BigInt(0),Rn=BigInt(1),ia=BigInt(2),wi=BigInt(3),Ja=BigInt(4),Hn=BigInt(5),ki=BigInt(8);function oi(x,C){const F=x%C;return F>=Jo?F:C+F}function aa(x,C,F){if(F<=Jo||C 0");if(F===Rn)return Jo;let pt=Rn;for(;C>Jo;)C&Rn&&(pt=pt*x%F),x=x*x%F,C>>=Rn;return pt}function Fi(x,C,F){let pt=x;for(;C-- >Jo;)pt*=pt,pt%=F;return pt}function ma(x,C){if(x===Jo||C<=Jo)throw new Error(`invert: expected positive integers, got n=${x} mod=${C}`);let F=oi(x,C),pt=C,It=Jo,ce=Rn,Be=Rn,je=Jo;for(;F!==Jo;){const sr=pt/F,Rr=pt%F,ze=It-Be*sr,nr=ce-je*sr;pt=F,F=Rr,It=Be,ce=je,Be=ze,je=nr}if(pt!==Rn)throw new Error("invert: does not exist");return oi(It,C)}BigInt(9),BigInt(16);const Jt=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function co(x,C){const F=void 0!==C?C:x.toString(2).length;return{nBitLength:F,nByteLength:Math.ceil(F/8)}}const Wn=BigInt(0),Mi=BigInt(1);function si(x){return function ot(x){fi(x,Jt.reduce((pt,It)=>(pt[It]="function",pt),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}(x.Fp),fi(x,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...co(x.n,x.nBitLength),...x,p:x.Fp.ORDER})}const{Ph:In,aT:En}=o,yi={Err:class extends Error{constructor(C=""){super(C)}},_parseInt(x){const{Err:C}=yi;if(x.length<2||2!==x[0])throw new C("Invalid signature integer tag");const F=x[1],pt=x.subarray(2,F+2);if(!F||pt.length!==F)throw new C("Invalid signature integer: wrong length");if(128&pt[0])throw new C("Invalid signature integer: negative");if(0===pt[0]&&!(128&pt[1]))throw new C("Invalid signature integer: unnecessary leading zero");return{d:In(pt),l:x.subarray(F+2)}},toSig(x){const{Err:C}=yi,F="string"==typeof x?En(x):x;if(!(F instanceof Uint8Array))throw new Error("ui8a expected");let pt=F.length;if(pt<2||48!=F[0])throw new C("Invalid signature tag");if(F[1]!==pt-2)throw new C("Invalid signature: incorrect length");const{d:It,l:ce}=yi._parseInt(F.subarray(2)),{d:Be,l:je}=yi._parseInt(ce);if(je.length)throw new C("Invalid signature: left bytes after parsing");return{r:It,s:Be}},hexFromSig(x){const C=sr=>8&Number.parseInt(sr[0],16)?"00"+sr:sr,F=sr=>{const Rr=sr.toString(16);return 1&Rr.length?`0${Rr}`:Rr},pt=C(F(x.s)),It=C(F(x.r)),ce=pt.length/2,Be=It.length/2,je=F(ce),Ze=F(Be);return`30${F(Be+ce+4)}02${Ze}${It}02${je}${pt}`}},vi=BigInt(0),Kn=BigInt(1),st=(BigInt(2),BigInt(3));function $e(x){const C=function Ft(x){const C=si(x);return fi(C,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...C})}(x),{Fp:F,n:pt}=C,It=F.BYTES+1,ce=2*F.BYTES+1;function je(Mo){return oi(Mo,pt)}function Ze(Mo){return ma(Mo,pt)}const{ProjectivePoint:sr,normPrivateKeyToScalar:Rr,weierstrassEquation:ze,isWithinCurveOrder:nr}=function X(x){const C=function zi(x){const C=si(x);fi(C,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:F,Fp:pt,a:It}=C;if(F){if(!pt.eql(It,pt.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof F||"bigint"!=typeof F.beta||"function"!=typeof F.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...C})}(x),{Fp:F}=C,pt=C.toBytes||((Zr,Ir,Gr)=>{const Jr=Ir.toAffine();return Bn(Uint8Array.from([4]),F.toBytes(Jr.x),F.toBytes(Jr.y))}),It=C.fromBytes||(Zr=>{const Ir=Zr.subarray(1);return{x:F.fromBytes(Ir.subarray(0,F.BYTES)),y:F.fromBytes(Ir.subarray(F.BYTES,2*F.BYTES))}});function ce(Zr){const{a:Ir,b:Gr}=C,Jr=F.sqr(Zr),fo=F.mul(Jr,Zr);return F.add(F.add(fo,F.mul(Zr,Ir)),Gr)}if(!F.eql(F.sqr(C.Gy),ce(C.Gx)))throw new Error("bad generator point: equation left != right");function Be(Zr){return"bigint"==typeof Zr&&viF.eql(jr,F.ZERO);return fo(Gr)&&fo(Jr)?ze.ZERO:new ze(Gr,Jr,F.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Ir){const Gr=F.invertBatch(Ir.map(Jr=>Jr.pz));return Ir.map((Jr,fo)=>Jr.toAffine(Gr[fo])).map(ze.fromAffine)}static fromHex(Ir){const Gr=ze.fromAffine(It(ei("pointHex",Ir)));return Gr.assertValidity(),Gr}static fromPrivateKey(Ir){return ze.BASE.multiply(Ze(Ir))}_setWindowSize(Ir){this._WINDOW_SIZE=Ir,sr.delete(this)}assertValidity(){if(this.is0()){if(C.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:Ir,y:Gr}=this.toAffine();if(!F.isValid(Ir)||!F.isValid(Gr))throw new Error("bad point: x or y not FE");const Jr=F.sqr(Gr),fo=ce(Ir);if(!F.eql(Jr,fo))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Ir}=this.toAffine();if(F.isOdd)return!F.isOdd(Ir);throw new Error("Field doesn't support isOdd")}equals(Ir){Rr(Ir);const{px:Gr,py:Jr,pz:fo}=this,{px:jr,py:So,pz:Oo}=Ir,Yr=F.eql(F.mul(Gr,Oo),F.mul(jr,fo)),tn=F.eql(F.mul(Jr,Oo),F.mul(So,fo));return Yr&&tn}negate(){return new ze(this.px,F.neg(this.py),this.pz)}double(){const{a:Ir,b:Gr}=C,Jr=F.mul(Gr,st),{px:fo,py:jr,pz:So}=this;let Oo=F.ZERO,Yr=F.ZERO,tn=F.ZERO,Xo=F.mul(fo,fo),Cn=F.mul(jr,jr),qo=F.mul(So,So),vn=F.mul(fo,jr);return vn=F.add(vn,vn),tn=F.mul(fo,So),tn=F.add(tn,tn),Oo=F.mul(Ir,tn),Yr=F.mul(Jr,qo),Yr=F.add(Oo,Yr),Oo=F.sub(Cn,Yr),Yr=F.add(Cn,Yr),Yr=F.mul(Oo,Yr),Oo=F.mul(vn,Oo),tn=F.mul(Jr,tn),qo=F.mul(Ir,qo),vn=F.sub(Xo,qo),vn=F.mul(Ir,vn),vn=F.add(vn,tn),tn=F.add(Xo,Xo),Xo=F.add(tn,Xo),Xo=F.add(Xo,qo),Xo=F.mul(Xo,vn),Yr=F.add(Yr,Xo),qo=F.mul(jr,So),qo=F.add(qo,qo),Xo=F.mul(qo,vn),Oo=F.sub(Oo,Xo),tn=F.mul(qo,Cn),tn=F.add(tn,tn),tn=F.add(tn,tn),new ze(Oo,Yr,tn)}add(Ir){Rr(Ir);const{px:Gr,py:Jr,pz:fo}=this,{px:jr,py:So,pz:Oo}=Ir;let Yr=F.ZERO,tn=F.ZERO,Xo=F.ZERO;const Cn=C.a,qo=F.mul(C.b,st);let vn=F.mul(Gr,jr),Di=F.mul(Jr,So),ii=F.mul(fo,Oo),Gi=F.add(Gr,Jr),Mo=F.add(jr,So);Gi=F.mul(Gi,Mo),Mo=F.add(vn,Di),Gi=F.sub(Gi,Mo),Mo=F.add(Gr,fo);let lo=F.add(jr,Oo);return Mo=F.mul(Mo,lo),lo=F.add(vn,ii),Mo=F.sub(Mo,lo),lo=F.add(Jr,fo),Yr=F.add(So,Oo),lo=F.mul(lo,Yr),Yr=F.add(Di,ii),lo=F.sub(lo,Yr),Xo=F.mul(Cn,Mo),Yr=F.mul(qo,ii),Xo=F.add(Yr,Xo),Yr=F.sub(Di,Xo),Xo=F.add(Di,Xo),tn=F.mul(Yr,Xo),Di=F.add(vn,vn),Di=F.add(Di,vn),ii=F.mul(Cn,ii),Mo=F.mul(qo,Mo),Di=F.add(Di,ii),ii=F.sub(vn,ii),ii=F.mul(Cn,ii),Mo=F.add(Mo,ii),vn=F.mul(Di,Mo),tn=F.add(tn,vn),vn=F.mul(lo,Mo),Yr=F.mul(Gi,Yr),Yr=F.sub(Yr,vn),vn=F.mul(Gi,Di),Xo=F.mul(lo,Xo),Xo=F.add(Xo,vn),new ze(Yr,tn,Xo)}subtract(Ir){return this.add(Ir.negate())}is0(){return this.equals(ze.ZERO)}wNAF(Ir){return _r.wNAFCached(this,sr,Ir,Gr=>{const Jr=F.invertBatch(Gr.map(fo=>fo.pz));return Gr.map((fo,jr)=>fo.toAffine(Jr[jr])).map(ze.fromAffine)})}multiplyUnsafe(Ir){const Gr=ze.ZERO;if(Ir===vi)return Gr;if(je(Ir),Ir===Kn)return this;const{endo:Jr}=C;if(!Jr)return _r.unsafeLadder(this,Ir);let{k1neg:fo,k1:jr,k2neg:So,k2:Oo}=Jr.splitScalar(Ir),Yr=Gr,tn=Gr,Xo=this;for(;jr>vi||Oo>vi;)jr&Kn&&(Yr=Yr.add(Xo)),Oo&Kn&&(tn=tn.add(Xo)),Xo=Xo.double(),jr>>=Kn,Oo>>=Kn;return fo&&(Yr=Yr.negate()),So&&(tn=tn.negate()),tn=new ze(F.mul(tn.px,Jr.beta),tn.py,tn.pz),Yr.add(tn)}multiply(Ir){je(Ir);let Jr,fo,Gr=Ir;const{endo:jr}=C;if(jr){const{k1neg:So,k1:Oo,k2neg:Yr,k2:tn}=jr.splitScalar(Gr);let{p:Xo,f:Cn}=this.wNAF(Oo),{p:qo,f:vn}=this.wNAF(tn);Xo=_r.constTimeNegate(So,Xo),qo=_r.constTimeNegate(Yr,qo),qo=new ze(F.mul(qo.px,jr.beta),qo.py,qo.pz),Jr=Xo.add(qo),fo=Cn.add(vn)}else{const{p:So,f:Oo}=this.wNAF(Gr);Jr=So,fo=Oo}return ze.normalizeZ([Jr,fo])[0]}multiplyAndAddUnsafe(Ir,Gr,Jr){const fo=ze.BASE,jr=(Oo,Yr)=>Yr!==vi&&Yr!==Kn&&Oo.equals(fo)?Oo.multiply(Yr):Oo.multiplyUnsafe(Yr),So=jr(this,Gr).add(jr(Ir,Jr));return So.is0()?void 0:So}toAffine(Ir){const{px:Gr,py:Jr,pz:fo}=this,jr=this.is0();null==Ir&&(Ir=jr?F.ONE:F.inv(fo));const So=F.mul(Gr,Ir),Oo=F.mul(Jr,Ir),Yr=F.mul(fo,Ir);if(jr)return{x:F.ZERO,y:F.ZERO};if(!F.eql(Yr,F.ONE))throw new Error("invZ was invalid");return{x:So,y:Oo}}isTorsionFree(){const{h:Ir,isTorsionFree:Gr}=C;if(Ir===Kn)return!0;if(Gr)return Gr(ze,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Ir,clearCofactor:Gr}=C;return Ir===Kn?this:Gr?Gr(ze,this):this.multiplyUnsafe(C.h)}toRawBytes(Ir=!0){return this.assertValidity(),pt(ze,this,Ir)}toHex(Ir=!0){return Ti(this.toRawBytes(Ir))}}ze.BASE=new ze(C.Gx,C.Gy,F.ONE),ze.ZERO=new ze(F.ZERO,F.ONE,F.ZERO);const nr=C.nBitLength,_r=function kn(x,C){const F=(It,ce)=>{const Be=ce.negate();return It?Be:ce},pt=It=>({windows:Math.ceil(C/It)+1,windowSize:2**(It-1)});return{constTimeNegate:F,unsafeLadder(It,ce){let Be=x.ZERO,je=It;for(;ce>Wn;)ce&Mi&&(Be=Be.add(je)),je=je.double(),ce>>=Mi;return Be},precomputeWindow(It,ce){const{windows:Be,windowSize:je}=pt(ce),Ze=[];let sr=It,Rr=sr;for(let ze=0;ze>=_r,Gr>Ze&&(Gr-=nr,Be+=Mi);const Jr=Ir,fo=Ir+Math.abs(Gr)-1,So=Gr<0;0===Gr?Rr=Rr.add(F(Zr%2!=0,ce[Jr])):sr=sr.add(F(So,ce[fo]))}return{p:sr,f:Rr}},wNAFCached(It,ce,Be,je){const Ze=It._WINDOW_SIZE||1;let sr=ce.get(It);return sr||(sr=this.precomputeWindow(It,Ze),1!==Ze&&ce.set(It,je(sr))),this.wNAF(Ze,sr,Be)}}}(ze,C.endo?Math.ceil(nr/2):nr);return{CURVE:C,ProjectivePoint:ze,normPrivateKeyToScalar:Ze,weierstrassEquation:ce,isWithinCurveOrder:Be}}({...C,toBytes(Mo,lo,wn){const Pn=lo.toAffine(),mo=F.toBytes(Pn.x),Ii=Bn;return wn?Ii(Uint8Array.from([lo.hasEvenY()?2:3]),mo):Ii(Uint8Array.from([4]),mo,F.toBytes(Pn.y))},fromBytes(Mo){const lo=Mo.length,wn=Mo[0],Pn=Mo.subarray(1);if(lo!==It||2!==wn&&3!==wn){if(lo===ce&&4===wn)return{x:F.fromBytes(Pn.subarray(0,F.BYTES)),y:F.fromBytes(Pn.subarray(F.BYTES,2*F.BYTES))};throw new Error(`Point of length ${lo} was invalid. Expected ${It} compressed bytes or ${ce} uncompressed bytes`)}{const mo=Tn(Pn);if(!function Be(Mo){return viTi(bi(Mo,C.nByteLength));function Zr(Mo){return Mo>pt>>Kn}const Gr=(Mo,lo,wn)=>Tn(Mo.slice(lo,wn));class Jr{constructor(lo,wn,Pn){this.r=lo,this.s=wn,this.recovery=Pn,this.assertValidity()}static fromCompact(lo){const wn=C.nByteLength;return lo=ei("compactSignature",lo,2*wn),new Jr(Gr(lo,0,wn),Gr(lo,wn,2*wn))}static fromDER(lo){const{r:wn,s:Pn}=yi.toSig(ei("DER",lo));return new Jr(wn,Pn)}assertValidity(){if(!nr(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!nr(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(lo){return new Jr(this.r,this.s,lo)}recoverPublicKey(lo){const{r:wn,s:Pn,recovery:mo}=this,Ii=tn(ei("msgHash",lo));if(null==mo||![0,1,2,3].includes(mo))throw new Error("recovery id invalid");const oa=2===mo||3===mo?wn+C.n:wn;if(oa>=F.ORDER)throw new Error("recovery id 2 or 3 invalid");const bs=sr.fromHex((1&mo?"03":"02")+_r(oa)),ba=Ze(oa),xi=je(-Ii*ba),Lo=je(Pn*ba),ui=sr.BASE.multiplyAndAddUnsafe(bs,xi,Lo);if(!ui)throw new Error("point at infinify");return ui.assertValidity(),ui}hasHighS(){return Zr(this.s)}normalizeS(){return this.hasHighS()?new Jr(this.r,je(-this.s),this.recovery):this}toDERRawBytes(){return Ba(this.toDERHex())}toDERHex(){return yi.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return Ba(this.toCompactHex())}toCompactHex(){return _r(this.r)+_r(this.s)}}const fo={isValidPrivateKey(Mo){try{return Rr(Mo),!0}catch{return!1}},normPrivateKeyToScalar:Rr,randomPrivateKey:()=>{const lo=function Ln(x,C,F=!1){const pt=(x=ei("privateHash",x)).length,It=co(C).nByteLength+8;if(It<24||pt1024)throw new Error(`hashToPrivateScalar: expected ${It}-1024 bytes of input, got ${pt}`);return oi(F?ua(x):Tn(x),C-Rn)+Rn}(C.randomBytes(F.BYTES+8),pt);return bi(lo,C.nByteLength)},precompute:(Mo=8,lo=sr.BASE)=>(lo._setWindowSize(Mo),lo.multiply(BigInt(3)),lo)};function So(Mo){const lo=Mo instanceof Uint8Array,wn="string"==typeof Mo,Pn=(lo||wn)&&Mo.length;return lo?Pn===It||Pn===ce:wn?Pn===2*It||Pn===2*ce:Mo instanceof sr}const Yr=C.bits2int||function(Mo){const lo=Tn(Mo),wn=8*Mo.length-C.nBitLength;return wn>0?lo>>BigInt(wn):lo},tn=C.bits2int_modN||function(Mo){return je(Yr(Mo))},Xo=Ji(C.nBitLength);function Cn(Mo){if("bigint"!=typeof Mo)throw new Error("bigint expected");if(!(vi<=Mo&&MoWa in wn))throw new Error("sign() legacy options not supported");const{hash:Pn,randomBytes:mo}=C;let{lowS:Ii,prehash:oa,extraEntropy:Ui}=wn;null==Ii&&(Ii=!0),Mo=ei("msgHash",Mo),oa&&(Mo=ei("prehashed msgHash",Pn(Mo)));const bs=tn(Mo),ba=Rr(lo),xi=[Cn(ba),Cn(bs)];if(null!=Ui){const Wa=!0===Ui?mo(F.BYTES):Ui;xi.push(ei("extraEntropy",Wa,F.BYTES))}const Lo=Bn(...xi),ui=bs;return{seed:Lo,k2sig:function Oi(Wa){const la=Yr(Wa);if(!nr(la))return;const $o=Ze(la),Si=sr.BASE.multiply(la).toAffine(),Da=je(Si.x);if(Da===vi)return;const ws=je($o*je(ui+Da*ba));if(ws===vi)return;let El=(Si.x===Da?0:2)|Number(Si.y&Kn),Uc=ws;return Ii&&Zr(ws)&&(Uc=function Ir(Mo){return Zr(Mo)?je(-Mo):Mo}(ws),El^=1),new Jr(Da,Uc,El)}}}(Mo,lo,wn);return fa(C.hash.outputLen,C.nByteLength,C.hmac)(Pn,mo)},verify:function Gi(Mo,lo,wn,Pn=Di){const mo=Mo;if(lo=ei("msgHash",lo),wn=ei("publicKey",wn),"strict"in Pn)throw new Error("options.strict was renamed to lowS");const{lowS:Ii,prehash:oa}=Pn;let Ui,bs;try{if("string"==typeof mo||mo instanceof Uint8Array)try{Ui=Jr.fromDER(mo)}catch(Si){if(!(Si instanceof yi.Err))throw Si;Ui=Jr.fromCompact(mo)}else{if("object"!=typeof mo||"bigint"!=typeof mo.r||"bigint"!=typeof mo.s)throw new Error("PARSE");{const{r:Si,s:Da}=mo;Ui=new Jr(Si,Da)}}bs=sr.fromHex(wn)}catch(Si){if("PARSE"===Si.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(Ii&&Ui.hasHighS())return!1;oa&&(lo=C.hash(lo));const{r:ba,s:xi}=Ui,Lo=tn(lo),ui=Ze(xi),Oi=je(Lo*ui),Wa=je(ba*ui),la=sr.BASE.multiplyAndAddUnsafe(bs,Oi,Wa)?.toAffine();return!!la&&je(la.x)===ba},ProjectivePoint:sr,Signature:Jr,utils:fo}}BigInt(4);class rl extends Cr{constructor(C,F){super(),this.finished=!1,this.destroyed=!1,Pr.hash(C);const pt=De(F);if(this.iHash=C.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const It=this.blockLen,ce=new Uint8Array(It);ce.set(pt.length>It?C.create().update(pt).digest():pt);for(let Be=0;Benew rl(x,C).update(F).digest();function Bi(x){return{hash:x,hmac:(C,...F)=>sn(x,C,function or(...x){const C=new Uint8Array(x.reduce((pt,It)=>pt+It.length,0));let F=0;return x.forEach(pt=>{if(!ao(pt))throw new Error("Uint8Array expected");C.set(pt,F),F+=pt.length}),C}(...F)),randomBytes:ko}}sn.create=(x,C)=>new rl(x,C);const ea=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Hi=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Ks=BigInt(1),Ss=BigInt(2),sa=(x,C)=>(x+C/Ss)/C;const As=function wo(x,C,F=!1,pt={}){if(x<=Jo)throw new Error(`Expected Fp ORDER > 0, got ${x}`);const{nBitLength:It,nByteLength:ce}=co(x,C);if(ce>2048)throw new Error("Field lengths over 2048 bytes are not supported");const Be=function Ei(x){if(x%Ja===wi){const C=(x+Rn)/Ja;return function(pt,It){const ce=pt.pow(It,C);if(!pt.eql(pt.sqr(ce),It))throw new Error("Cannot find square root");return ce}}if(x%ki===Hn){const C=(x-Hn)/ki;return function(pt,It){const ce=pt.mul(It,ia),Be=pt.pow(ce,C),je=pt.mul(It,Be),Ze=pt.mul(pt.mul(je,ia),Be),sr=pt.mul(je,pt.sub(Ze,pt.ONE));if(!pt.eql(pt.sqr(sr),It))throw new Error("Cannot find square root");return sr}}return function ts(x){const C=(x-Rn)/ia;let F,pt,It;for(F=x-Rn,pt=0;F%ia===Jo;F/=ia,pt++);for(It=ia;Itoi(Ze,x),isValid:Ze=>{if("bigint"!=typeof Ze)throw new Error("Invalid field element: expected bigint, got "+typeof Ze);return Jo<=Ze&&ZeZe===Jo,isOdd:Ze=>(Ze&Rn)===Rn,neg:Ze=>oi(-Ze,x),eql:(Ze,sr)=>Ze===sr,sqr:Ze=>oi(Ze*Ze,x),add:(Ze,sr)=>oi(Ze+sr,x),sub:(Ze,sr)=>oi(Ze-sr,x),mul:(Ze,sr)=>oi(Ze*sr,x),pow:(Ze,sr)=>function se(x,C,F){if(F 0");if(F===Jo)return x.ONE;if(F===Rn)return C;let pt=x.ONE,It=C;for(;F>Jo;)F&Rn&&(pt=x.mul(pt,It)),It=x.sqr(It),F>>=Rn;return pt}(je,Ze,sr),div:(Ze,sr)=>oi(Ze*ma(sr,x),x),sqrN:Ze=>Ze*Ze,addN:(Ze,sr)=>Ze+sr,subN:(Ze,sr)=>Ze-sr,mulN:(Ze,sr)=>Ze*sr,inv:Ze=>ma(Ze,x),sqrt:pt.sqrt||(Ze=>Be(je,Ze)),invertBatch:Ze=>function xe(x,C){const F=new Array(C.length),pt=C.reduce((ce,Be,je)=>x.is0(Be)?ce:(F[je]=ce,x.mul(ce,Be)),x.ONE),It=x.inv(pt);return C.reduceRight((ce,Be,je)=>x.is0(Be)?ce:(F[je]=x.mul(ce,F[je]),x.mul(ce,Be)),It),F}(je,Ze),cmov:(Ze,sr,Rr)=>Rr?sr:Ze,toBytes:Ze=>F?Go(Ze,ce):bi(Ze,ce),fromBytes:Ze=>{if(Ze.length!==ce)throw new Error(`Fp.fromBytes: expected ${ce}, got ${Ze.length}`);return F?ua(Ze):Tn(Ze)}});return Object.freeze(je)}(ea,void 0,void 0,{sqrt:function xc(x){const C=ea,F=BigInt(3),pt=BigInt(6),It=BigInt(11),ce=BigInt(22),Be=BigInt(23),je=BigInt(44),Ze=BigInt(88),sr=x*x*x%C,Rr=sr*sr*x%C,ze=Fi(Rr,F,C)*Rr%C,nr=Fi(ze,F,C)*Rr%C,_r=Fi(nr,Ss,C)*sr%C,Zr=Fi(_r,It,C)*_r%C,Ir=Fi(Zr,ce,C)*Zr%C,Gr=Fi(Ir,je,C)*Ir%C,Jr=Fi(Gr,Ze,C)*Gr%C,fo=Fi(Jr,je,C)*Ir%C,jr=Fi(fo,F,C)*Rr%C,So=Fi(jr,Be,C)*Zr%C,Oo=Fi(So,pt,C)*sr%C,Yr=Fi(Oo,Ss,C);if(!As.eql(As.sqr(Yr),x))throw new Error("Cannot find square root");return Yr}}),Ri=function en(x,C){const F=pt=>$e({...x,...Bi(pt)});return Object.freeze({...F(C),create:F})}({a:BigInt(0),b:BigInt(7),Fp:As,n:Hi,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:x=>{const C=Hi,F=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),pt=-Ks*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),It=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),ce=F,Be=BigInt("0x100000000000000000000000000000000"),je=sa(ce*x,C),Ze=sa(-pt*x,C);let sr=oi(x-je*F-Ze*It,C),Rr=oi(-je*pt-Ze*ce,C);const ze=sr>Be,nr=Rr>Be;if(ze&&(sr=C-sr),nr&&(Rr=C-Rr),sr>Be||Rr>Be)throw new Error("splitScalar: Endomorphism failed, k="+x);return{k1neg:ze,k1:sr,k2neg:nr,k2:Rr}}}},on);BigInt(0);var hs=r(3813);const mi=Ri.ProjectivePoint,gs=(0,hs.Tq)(de);function lc(x){return BigInt(`0x${function xt(x){if(!W(x))throw new Error("Uint8Array expected");let C="";for(let F=0;F{if(!Number.isSafeInteger(x)||x<0||x>2**32-1)throw new Error(`Invalid number=${x}. Should be from 0 to 2 ** 32 - 1`);const C=new Uint8Array(4);return q(C).setUint32(0,x,!1),C};class kt{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return q(this.pubHash).getUint32(0,!1)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const C=this.privateKey;if(!C)throw new Error("No private key");return gs.encode(this.serialize(this.versions.private,Et(new Uint8Array([0]),C)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return gs.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(C,F=fs){if(k(C),8*C.length<128||8*C.length>512)throw new Error(`HDKey: wrong seed length=${C.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const pt=ke(Co,ca,C);return new kt({versions:F,chainCode:pt.slice(32),privateKey:pt.slice(0,32)})}static fromExtendedKey(C,F=fs){const pt=gs.decode(C),It=q(pt),ce=It.getUint32(0,!1),Be={versions:F,depth:pt[4],parentFingerprint:It.getUint32(5,!1),index:It.getUint32(9,!1),chainCode:pt.slice(13,45)},je=pt.slice(45),Ze=0===je[0];if(ce!==F[Ze?"private":"public"])throw new Error("Version mismatch");return new kt(Ze?{...Be,privateKey:je.slice(1)}:{...Be,publicKey:je})}static fromJSON(C){return kt.fromExtendedKey(C.xpriv)}constructor(C){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!C||"object"!=typeof C)throw new Error("HDKey.constructor must not be called directly");if(this.versions=C.versions||fs,this.depth=C.depth||0,this.chainCode=C.chainCode,this.index=C.index||0,this.parentFingerprint=C.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(C.publicKey&&C.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(C.privateKey){if(!Ri.utils.isValidPrivateKey(C.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof C.privateKey?C.privateKey:lc(C.privateKey),this.privKeyBytes=function Is(x){return function St(x){if("string"!=typeof x)throw new Error("hex string expected, got "+typeof x);const C=x.length,F=C/2;if(C%2)throw new Error("padded hex string expected, got unpadded hex of length "+C);const pt=new Uint8Array(F);for(let It=0,ce=0;It=hn)throw new Error("Invalid index");"'"===ce[2]&&(Be+=hn),pt=pt.deriveChild(Be)}return pt}deriveChild(C){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let F=B(C);if(C>=hn){const je=this.privateKey;if(!je)throw new Error("Could not derive hardened child key");F=Et(new Uint8Array([0]),je,F)}else F=Et(this.pubKey,F);const pt=ke(Co,this.chainCode,F),It=lc(pt.slice(0,32)),ce=pt.slice(32);if(!Ri.utils.isValidPrivateKey(It))throw new Error("Tweak bigger than curve order");const Be={versions:this.versions,chainCode:ce,depth:this.depth+1,parentFingerprint:this.fingerprint,index:C};try{if(this.privateKey){const je=oi(this.privKey+It,Ri.CURVE.n);if(!Ri.utils.isValidPrivateKey(je))throw new Error("The tweak was out of range or the resulted private key is invalid");Be.privateKey=je}else{const je=mi.fromHex(this.pubKey).add(mi.fromPrivateKey(It));if(je.equals(mi.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");Be.publicKey=je.toRawBytes(!0)}return new kt(Be)}catch{return this.deriveChild(C+1)}}sign(C){if(!this.privateKey)throw new Error("No privateKey set!");return k(C,32),Ri.sign(C,this.privKey).toCompactRawBytes()}verify(C,F){if(k(C,32),k(F,64),!this.publicKey)throw new Error("No publicKey set!");let pt;try{pt=Ri.Signature.fromCompact(F)}catch{return!1}return Ri.verify(pt,C,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(C,F){if(!this.chainCode)throw new Error("No chainCode set");return k(F,33),Et(B(C),new Uint8Array([this.depth]),B(this.parentFingerprint),B(this.index),this.chainCode,F)}}},9673:(i,a,r)=>{"use strict";function o(Oe){if(!Number.isSafeInteger(Oe)||Oe<0)throw new Error(`Wrong positive integer: ${Oe}`)}function y(Oe,...He){if(!function c(Oe){return Oe instanceof Uint8Array||null!=Oe&&"object"==typeof Oe&&"Uint8Array"===Oe.constructor.name}(Oe))throw new Error("Expected Uint8Array");if(He.length>0&&!He.includes(Oe.length))throw new Error(`Expected Uint8Array of length ${He}, not of length=${Oe.length}`)}function k(Oe){if("function"!=typeof Oe||"function"!=typeof Oe.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");o(Oe.outputLen),o(Oe.blockLen)}function S(Oe,He=!0){if(Oe.destroyed)throw new Error("Hash instance has been destroyed");if(He&&Oe.finished)throw new Error("Hash#digest() has already been called")}function I(Oe,He){y(Oe);const Dr=He.outputLen;if(Oe.lengthxr,kw:()=>ni,JB:()=>ai});const M={number:o,bool:function s(Oe){if("boolean"!=typeof Oe)throw new Error(`Expected boolean, not ${Oe}`)},bytes:y,hash:k,exists:S,output:I},R="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;const q=Oe=>new DataView(Oe.buffer,Oe.byteOffset,Oe.byteLength),ct=(Oe,He)=>Oe<<32-He|Oe>>>He;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function bt(Oe){if("string"==typeof Oe&&(Oe=function et(Oe){if("string"!=typeof Oe)throw new Error("utf8ToBytes expected string, got "+typeof Oe);return new Uint8Array((new TextEncoder).encode(Oe))}(Oe)),!function W(Oe){return Oe instanceof Uint8Array||null!=Oe&&"object"==typeof Oe&&"Uint8Array"===Oe.constructor.name}(Oe))throw new Error("expected Uint8Array, got "+typeof Oe);return Oe}class jt{clone(){return this._cloneInto()}}const Gt={}.toString;function Xe(Oe){const He=Pr=>Oe().update(bt(Pr)).digest(),Dr=Oe();return He.outputLen=Dr.outputLen,He.blockLen=Dr.blockLen,He.create=()=>Oe(),He}class Xr extends jt{constructor(He,Dr){super(),this.finished=!1,this.destroyed=!1,k(He);const Pr=bt(Dr);if(this.iHash=He.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Ur=this.blockLen,ao=new Uint8Array(Ur);ao.set(Pr.length>Ur?He.create().update(Pr).digest():Pr);for(let no=0;nonew Xr(Oe,He).update(Dr).digest();ke.create=(Oe,He)=>new Xr(Oe,He);class te extends jt{constructor(He,Dr,Pr,Ur){super(),this.blockLen=He,this.outputLen=Dr,this.padOffset=Pr,this.isLE=Ur,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(He),this.view=q(this.buffer)}update(He){S(this);const{view:Dr,buffer:Pr,blockLen:Ur}=this,ao=(He=bt(He)).length;for(let no=0;noUr-no&&(this.process(Pr,0),no=0);for(let me=no;me>Ur&ao),_o=Number(Dr&ao),ro=Pr?0:4;Oe.setUint32(He+(Pr?4:0),no,Pr),Oe.setUint32(He+ro,_o,Pr)})(Pr,Ur-8,BigInt(8*this.length),ao),this.process(Pr,0);const _o=q(He),Do=this.outputLen;if(Do%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const ro=Do/4,zt=this.get();if(ro>zt.length)throw new Error("_sha2: outputLen bigger than state");for(let me=0;meOe&He^~Oe&Dr,We=(Oe,He,Dr)=>Oe&He^Oe&Dr^He&Dr,Bt=new Uint32Array([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]),Zt=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Ot=new Uint32Array(64);class le extends te{constructor(){super(64,32,8,!1),this.A=0|Zt[0],this.B=0|Zt[1],this.C=0|Zt[2],this.D=0|Zt[3],this.E=0|Zt[4],this.F=0|Zt[5],this.G=0|Zt[6],this.H=0|Zt[7]}get(){const{A:He,B:Dr,C:Pr,D:Ur,E:ao,F:no,G:_o,H:Do}=this;return[He,Dr,Pr,Ur,ao,no,_o,Do]}set(He,Dr,Pr,Ur,ao,no,_o,Do){this.A=0|He,this.B=0|Dr,this.C=0|Pr,this.D=0|Ur,this.E=0|ao,this.F=0|no,this.G=0|_o,this.H=0|Do}process(He,Dr){for(let me=0;me<16;me++,Dr+=4)Ot[me]=He.getUint32(Dr,!1);for(let me=16;me<64;me++){const ue=Ot[me-15],dt=Ot[me-2],Kt=ct(ue,7)^ct(ue,18)^ue>>>3,Ct=ct(dt,17)^ct(dt,19)^dt>>>10;Ot[me]=Ct+Ot[me-7]+Kt+Ot[me-16]|0}let{A:Pr,B:Ur,C:ao,D:no,E:_o,F:Do,G:ro,H:zt}=this;for(let me=0;me<64;me++){const dt=zt+(ct(_o,6)^ct(_o,11)^ct(_o,25))+Ye(_o,Do,ro)+Bt[me]+Ot[me]|0,Ct=(ct(Pr,2)^ct(Pr,13)^ct(Pr,22))+We(Pr,Ur,ao)|0;zt=ro,ro=Do,Do=_o,_o=no+dt|0,no=ao,ao=Ur,Ur=Pr,Pr=dt+Ct|0}Pr=Pr+this.A|0,Ur=Ur+this.B|0,ao=ao+this.C|0,no=no+this.D|0,_o=_o+this.E|0,Do=Do+this.F|0,ro=ro+this.G|0,zt=zt+this.H|0,this.set(Pr,Ur,ao,no,_o,Do,ro,zt)}roundClean(){Ot.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Ve=Xe(()=>new le),Me=BigInt(2**32-1),Ke=BigInt(32);function Fe(Oe,He=!1){return He?{h:Number(Oe&Me),l:Number(Oe>>Ke&Me)}:{h:0|Number(Oe>>Ke&Me),l:0|Number(Oe&Me)}}const Fr_split=function Or(Oe,He=!1){let Dr=new Uint32Array(Oe.length),Pr=new Uint32Array(Oe.length);for(let Ur=0;UrOe>>>Dr,Fr_shrSL=(Oe,He,Dr)=>Oe<<32-Dr|He>>>Dr,Fr_rotrSH=(Oe,He,Dr)=>Oe>>>Dr|He<<32-Dr,Fr_rotrSL=(Oe,He,Dr)=>Oe<<32-Dr|He>>>Dr,Fr_rotrBH=(Oe,He,Dr)=>Oe<<64-Dr|He>>>Dr-32,Fr_rotrBL=(Oe,He,Dr)=>Oe>>>Dr-32|He<<64-Dr,Fr_add=function ve(Oe,He,Dr,Pr){const Ur=(He>>>0)+(Pr>>>0);return{h:Oe+Dr+(Ur/2**32|0)|0,l:0|Ur}},Fr_add3L=(Oe,He,Dr)=>(Oe>>>0)+(He>>>0)+(Dr>>>0),Fr_add3H=(Oe,He,Dr,Pr)=>He+Dr+Pr+(Oe/2**32|0)|0,Fr_add4L=(Oe,He,Dr,Pr)=>(Oe>>>0)+(He>>>0)+(Dr>>>0)+(Pr>>>0),Fr_add4H=(Oe,He,Dr,Pr,Ur)=>He+Dr+Pr+Ur+(Oe/2**32|0)|0,Fr_add5H=(Oe,He,Dr,Pr,Ur,ao)=>He+Dr+Pr+Ur+ao+(Oe/2**32|0)|0,Fr_add5L=(Oe,He,Dr,Pr,Ur)=>(Oe>>>0)+(He>>>0)+(Dr>>>0)+(Pr>>>0)+(Ur>>>0),[ne,re]=Fr_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(Oe=>BigInt(Oe))),Lt=new Uint32Array(80),he=new Uint32Array(80);class mr extends te{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:He,Al:Dr,Bh:Pr,Bl:Ur,Ch:ao,Cl:no,Dh:_o,Dl:Do,Eh:ro,El:zt,Fh:me,Fl:ue,Gh:dt,Gl:Kt,Hh:Ct,Hl:ae}=this;return[He,Dr,Pr,Ur,ao,no,_o,Do,ro,zt,me,ue,dt,Kt,Ct,ae]}set(He,Dr,Pr,Ur,ao,no,_o,Do,ro,zt,me,ue,dt,Kt,Ct,ae){this.Ah=0|He,this.Al=0|Dr,this.Bh=0|Pr,this.Bl=0|Ur,this.Ch=0|ao,this.Cl=0|no,this.Dh=0|_o,this.Dl=0|Do,this.Eh=0|ro,this.El=0|zt,this.Fh=0|me,this.Fl=0|ue,this.Gh=0|dt,this.Gl=0|Kt,this.Hh=0|Ct,this.Hl=0|ae}process(He,Dr){for(let or=0;or<16;or++,Dr+=4)Lt[or]=He.getUint32(Dr),he[or]=He.getUint32(Dr+=4);for(let or=16;or<80;or++){const Cr=0|Lt[or-15],kr=0|he[or-15],Lr=Fr_rotrSH(Cr,kr,1)^Fr_rotrSH(Cr,kr,8)^Fr_shrSH(Cr,kr,7),Br=Fr_rotrSL(Cr,kr,1)^Fr_rotrSL(Cr,kr,8)^Fr_shrSL(Cr,kr,7),qr=0|Lt[or-2],to=0|he[or-2],ko=Fr_rotrSH(qr,to,19)^Fr_rotrBH(qr,to,61)^Fr_shrSH(qr,to,6),To=Fr_rotrSL(qr,to,19)^Fr_rotrBL(qr,to,61)^Fr_shrSL(qr,to,6),po=Fr_add4L(Br,To,he[or-7],he[or-16]),io=Fr_add4H(po,Lr,ko,Lt[or-7],Lt[or-16]);Lt[or]=0|io,he[or]=0|po}let{Ah:Pr,Al:Ur,Bh:ao,Bl:no,Ch:_o,Cl:Do,Dh:ro,Dl:zt,Eh:me,El:ue,Fh:dt,Fl:Kt,Gh:Ct,Gl:ae,Hh:Re,Hl:De}=this;for(let or=0;or<80;or++){const Cr=Fr_rotrSH(me,ue,14)^Fr_rotrSH(me,ue,18)^Fr_rotrBH(me,ue,41),kr=Fr_rotrSL(me,ue,14)^Fr_rotrSL(me,ue,18)^Fr_rotrBL(me,ue,41),Lr=me&dt^~me&Ct,qr=Fr_add5L(De,kr,ue&Kt^~ue&ae,re[or],he[or]),to=Fr_add5H(qr,Re,Cr,Lr,ne[or],Lt[or]),ko=0|qr,To=Fr_rotrSH(Pr,Ur,28)^Fr_rotrBH(Pr,Ur,34)^Fr_rotrBH(Pr,Ur,39),po=Fr_rotrSL(Pr,Ur,28)^Fr_rotrBL(Pr,Ur,34)^Fr_rotrBL(Pr,Ur,39),io=Pr&ao^Pr&_o^ao&_o,Jn=Ur&no^Ur&Do^no&Do;Re=0|Ct,De=0|ae,Ct=0|dt,ae=0|Kt,dt=0|me,Kt=0|ue,({h:me,l:ue}=Fr_add(0|ro,0|zt,0|to,0|ko)),ro=0|_o,zt=0|Do,_o=0|ao,Do=0|no,ao=0|Pr,no=0|Ur;const Ai=Fr_add3L(ko,po,Jn);Pr=Fr_add3H(Ai,to,To,io),Ur=0|Ai}({h:Pr,l:Ur}=Fr_add(0|this.Ah,0|this.Al,0|Pr,0|Ur)),({h:ao,l:no}=Fr_add(0|this.Bh,0|this.Bl,0|ao,0|no)),({h:_o,l:Do}=Fr_add(0|this.Ch,0|this.Cl,0|_o,0|Do)),({h:ro,l:zt}=Fr_add(0|this.Dh,0|this.Dl,0|ro,0|zt)),({h:me,l:ue}=Fr_add(0|this.Eh,0|this.El,0|me,0|ue)),({h:dt,l:Kt}=Fr_add(0|this.Fh,0|this.Fl,0|dt,0|Kt)),({h:Ct,l:ae}=Fr_add(0|this.Gh,0|this.Gl,0|Ct,0|ae)),({h:Re,l:De}=Fr_add(0|this.Hh,0|this.Hl,0|Re,0|De)),this.set(Pr,Ur,ao,no,_o,Do,ro,zt,me,ue,dt,Kt,Ct,ae,Re,De)}roundClean(){Lt.fill(0),he.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const tr=Xe(()=>new mr);var Ce=r(3813);const be=Oe=>"\u3042\u3044\u3053\u304f\u3057\u3093"===Oe[0];function Yt(Oe){if("string"!=typeof Oe)throw new TypeError("Invalid mnemonic type: "+typeof Oe);return Oe.normalize("NFKD")}function Se(Oe){const He=Yt(Oe),Dr=He.split(" ");if(![12,15,18,21,24].includes(Dr.length))throw new Error("Invalid mnemonic");return{nfkd:He,words:Dr}}function ar(Oe){M.bytes(Oe,16,20,24,28,32)}function xr(Oe,He=128){if(M.number(He),He%32!=0||He>256)throw new TypeError("Invalid entropy");return function Yo(Oe,He){return ar(Oe),Vn(He).encode(Oe).join(be(He)?"\u3000":" ")}(function vr(Oe=32){if(R&&"function"==typeof R.getRandomValues)return R.getRandomValues(new Uint8Array(Oe));throw new Error("crypto.getRandomValues must be defined")}(He/8),Oe)}const Co=Oe=>{const He=8-Oe.length/4;return new Uint8Array([Ve(Oe)[0]>>He<{if("string"!=typeof He)throw new Error(`Wordlist: non-string element: ${He}`)}),Ce.Wp.chain(Ce.Wp.checksum(1,Co),Ce.Wp.radix2(11,!0),Ce.Wp.alphabet(Oe))}function ai(Oe,He){try{!function qn(Oe,He){const{words:Dr}=Se(Oe),Pr=Vn(He).decode(Dr);ar(Pr)}(Oe,He)}catch{return!1}return!0}const Po=Oe=>Yt(`mnemonic${Oe}`);function ni(Oe,He=""){return function Ut(Oe,He,Dr,Pr){const{c:Ur,dkLen:ao,DK:no,PRF:_o,PRFSalt:Do}=function Rt(Oe,He,Dr,Pr){k(Oe);const Ur=function ie(Oe,He){if(void 0!==He&&"[object Object]"!==Gt.call(He))throw new Error("Options should be object or undefined");return Object.assign(Oe,He)}({dkLen:32,asyncTick:10},Pr),{c:ao,dkLen:no,asyncTick:_o}=Ur;if(o(ao),o(no),o(_o),ao<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const Do=bt(He),ro=bt(Dr),zt=new Uint8Array(no),me=ke.create(Oe,Do),ue=me._cloneInto().update(ro);return{c:ao,dkLen:no,asyncTick:_o,DK:zt,PRF:me,PRFSalt:ue}}(Oe,He,Dr,Pr);let ro;const zt=new Uint8Array(4),me=q(zt),ue=new Uint8Array(_o.outputLen);for(let dt=1,Kt=0;Kt{"use strict";r.d(a,{p:()=>o});const o="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n")},6568:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var o=r(4713),s=r(1860);const y=(0,o.A)(s.A,"Map")},7730:(i,a,r)=>{"use strict";r.d(a,{A:()=>At});var c=r(1319);const k=function y(Mt,ve){for(var ir=Mt.length;ir--;)if((0,c.A)(Mt[ir][0],ve))return ir;return-1};var I=Array.prototype.splice;function ht(Mt){var ve=-1,ir=null==Mt?0:Mt.length;for(this.clear();++ve-1},ht.prototype.set=function q(Mt,ve){var ir=this.__data__,Je=k(ir,Mt);return Je<0?(++this.size,ir.push([Mt,ve])):ir[Je][1]=ve,this};const tt=ht;var bt=r(6568);const Gt=(0,r(4713).A)(Object,"create");var ke=Object.prototype.hasOwnProperty;var Ae=Object.prototype.hasOwnProperty;function Bt(Mt){var ve=-1,ir=null==Mt?0:Mt.length;for(this.clear();++ve{"use strict";r.d(a,{A:()=>c});const c=r(1860).A.Symbol},6726:(i,a,r)=>{"use strict";r.d(a,{A:()=>L});var c=r(6513),y=r(3744),k=r(9377),S=r(8606),I=r(8885),M=Object.prototype.hasOwnProperty;const L=function R(J,W){var q=(0,y.A)(J),ct=!q&&(0,c.A)(J),ht=!q&&!ct&&(0,k.A)(J),tt=!q&&!ct&&!ht&&(0,I.A)(J),xt=q||ct||ht||tt,Tt=xt?function o(J,W){for(var q=-1,ct=Array(J);++q{"use strict";r.d(a,{A:()=>S});var o=r(1827),s=r(1319),y=Object.prototype.hasOwnProperty;const S=function k(I,T,M){var R=I[T];(!y.call(I,T)||!(0,s.A)(R,M)||void 0===M&&!(T in I))&&(0,o.A)(I,T,M)}},1827:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});var o=r(4746);const c=function s(y,k,S){"__proto__"==k&&o.A?(0,o.A)(y,k,{configurable:!0,enumerable:!0,value:S,writable:!0}):y[k]=S}},5281:(i,a,r)=>{"use strict";r.d(a,{A:()=>ht});var o=r(6944),s=Object.prototype,c=s.hasOwnProperty,y=s.toString,k=o.A?o.A.toStringTag:void 0;var M=Object.prototype.toString;var q=o.A?o.A.toStringTag:void 0;const ht=function ct(tt){return null==tt?void 0===tt?"[object Undefined]":"[object Null]":q&&q in Object(tt)?function S(tt){var xt=c.call(tt,k),Tt=tt[k];try{tt[k]=void 0;var $t=!0}catch{}var St=y.call(tt);return $t&&(xt?tt[k]=Tt:delete tt[k]),St}(tt):function R(tt){return M.call(tt)}(tt)}},778:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){return function(y){return c(y)}}},9750:(i,a,r)=>{"use strict";r.d(a,{A:()=>k});const c=r(1860).A.Uint8Array,k=function y(S){var I=new S.constructor(S.byteLength);return new c(I).set(new c(S)),I}},9933:(i,a,r)=>{"use strict";r.d(a,{A:()=>T});var o=r(1860),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,c=s&&"object"==typeof module&&module&&!module.nodeType&&module,k=c&&c.exports===s?o.A.Buffer:void 0,S=k?k.allocUnsafe:void 0;const T=function I(M,R){if(R)return M.slice();var L=M.length,J=S?S(L):new M.constructor(L);return M.copy(J),J}},4314:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});var o=r(9750);const c=function s(y,k){var S=k?(0,o.A)(y.buffer):y.buffer;return new y.constructor(S,y.byteOffset,y.length)}},4528:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c,y){var k=-1,S=c.length;for(y||(y=Array(S));++k{"use strict";r.d(a,{A:()=>y});var o=r(1984),s=r(1827);const y=function c(k,S,I,T){var M=!I;I||(I={});for(var R=-1,L=S.length;++R{"use strict";r.d(a,{A:()=>c});var o=r(4713);const c=function(){try{var y=(0,o.A)(Object,"defineProperty");return y({},"",{}),y}catch{}}()},7133:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s="object"==typeof global&&global&&global.Object===Object&&global},4713:(i,a,r)=>{"use strict";r.d(a,{A:()=>_t});var nt,o=r(129),c=r(1860).A["__core-js_shared__"],k=(nt=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+nt:"";var T=r(554),M=r(8736),L=/^\[object .+?Constructor\]$/,ht=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const xt=function tt(nt){return!(!(0,T.A)(nt)||function S(nt){return!!k&&k in nt}(nt))&&((0,o.A)(nt)?ht:L).test((0,M.A)(nt))},_t=function St(nt,at){var et=function Tt(nt,at){return nt?.[at]}(nt,at);return xt(et)?et:void 0}},8010:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});const c=(0,r(8992).A)(Object.getPrototypeOf,Object)},923:(i,a,r)=>{"use strict";r.d(a,{A:()=>T});var o=r(554),s=Object.create;const y=function(){function M(){}return function(R){if(!(0,o.A)(R))return{};if(s)return s(R);M.prototype=R;var L=new M;return M.prototype=void 0,L}}();var k=r(8010),S=r(5776);const T=function I(M){return"function"!=typeof M.constructor||(0,S.A)(M)?{}:y((0,k.A)(M))}},8606:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var s=/^(?:0|[1-9]\d*)$/;const y=function c(k,S){var I=typeof k;return!!(S=S??9007199254740991)&&("number"==I||"symbol"!=I&&s.test(k))&&k>-1&&k%1==0&&k{"use strict";r.d(a,{A:()=>c});var o=Object.prototype;const c=function s(y){var k=y&&y.constructor;return y===("function"==typeof k&&k.prototype||o)}},3340:(i,a,r)=>{"use strict";r.d(a,{A:()=>I});var o=r(7133),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,c=s&&"object"==typeof module&&module&&!module.nodeType&&module,k=c&&c.exports===s&&o.A.process;const I=function(){try{return c&&c.require&&c.require("util").types||k&&k.binding&&k.binding("util")}catch{}}()},8992:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c,y){return function(k){return c(y(k))}}},1860:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var o=r(7133),s="object"==typeof self&&self&&self.Object===Object&&self;const y=o.A||s||Function("return this")()},8736:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var s=Function.prototype.toString;const y=function c(k){if(null!=k){try{return s.call(k)}catch{}try{return k+""}catch{}}return""}},1319:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c,y){return c===y||c!=c&&y!=y}},7680:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){for(var y=-1,k=null==c?0:c.length,S={};++y{"use strict";r.d(a,{A:()=>R});var o=r(5281),s=r(2661);const k=function y(L){return(0,s.A)(L)&&"[object Arguments]"==(0,o.A)(L)};var S=Object.prototype,I=S.hasOwnProperty,T=S.propertyIsEnumerable;const R=k(function(){return arguments}())?k:function(L){return(0,s.A)(L)&&I.call(L,"callee")&&!T.call(L,"callee")}},3744:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=Array.isArray},1287:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var o=r(129),s=r(5481);const y=function c(k){return null!=k&&(0,s.A)(k.length)&&!(0,o.A)(k)}},9377:(i,a,r)=>{"use strict";r.d(a,{A:()=>R});var o=r(1860),y="object"==typeof exports&&exports&&!exports.nodeType&&exports,k=y&&"object"==typeof module&&module&&!module.nodeType&&module,I=k&&k.exports===y?o.A.Buffer:void 0;const R=(I?I.isBuffer:void 0)||function s(){return!1}},129:(i,a,r)=>{"use strict";r.d(a,{A:()=>T});var o=r(5281),s=r(554);const T=function I(M){if(!(0,s.A)(M))return!1;var R=(0,o.A)(M);return"[object Function]"==R||"[object GeneratorFunction]"==R||"[object AsyncFunction]"==R||"[object Proxy]"==R}},5481:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});const c=function s(y){return"number"==typeof y&&y>-1&&y%1==0&&y<=9007199254740991}},554:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){var y=typeof c;return null!=c&&("object"==y||"function"==y)}},2661:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){return null!=c&&"object"==typeof c}},8885:(i,a,r)=>{"use strict";r.d(a,{A:()=>Xr});var o=r(5281),s=r(5481),c=r(2661),jt={};jt["[object Float32Array]"]=jt["[object Float64Array]"]=jt["[object Int8Array]"]=jt["[object Int16Array]"]=jt["[object Int32Array]"]=jt["[object Uint8Array]"]=jt["[object Uint8ClampedArray]"]=jt["[object Uint16Array]"]=jt["[object Uint32Array]"]=!0,jt["[object Arguments]"]=jt["[object Array]"]=jt["[object ArrayBuffer]"]=jt["[object Boolean]"]=jt["[object DataView]"]=jt["[object Date]"]=jt["[object Error]"]=jt["[object Function]"]=jt["[object Map]"]=jt["[object Number]"]=jt["[object Object]"]=jt["[object RegExp]"]=jt["[object Set]"]=jt["[object String]"]=jt["[object WeakMap]"]=!1;var Xe=r(778),Er=r(3340),gr=Er.A&&Er.A.isTypedArray;const Xr=gr?(0,Xe.A)(gr):function Gt(ke){return(0,c.A)(ke)&&(0,s.A)(ke.length)&&!!jt[(0,o.A)(ke)]}},133:(i,a,r)=>{"use strict";r.d(a,{A:()=>J});var o=r(6726),s=r(554),c=r(5776);var I=Object.prototype.hasOwnProperty;const M=function T(W){if(!(0,s.A)(W))return function y(W){var q=[];if(null!=W)for(var ct in Object(W))q.push(ct);return q}(W);var q=(0,c.A)(W),ct=[];for(var ht in W)"constructor"==ht&&(q||!I.call(W,ht))||ct.push(ht);return ct};var R=r(1287);const J=function L(W){return(0,R.A)(W)?(0,o.A)(W,!0):M(W)}},2401:(i,a,r)=>{"use strict";r.d(a,{A:()=>ir});var o=r(7730),s=r(1827),c=r(1319);const k=function y(Je,er,Hr){(void 0!==Hr&&!(0,c.A)(Je[er],Hr)||void 0===Hr&&!(er in Je))&&(0,s.A)(Je,er,Hr)},M=function S(Je){return function(er,Hr,eo){for(var Bo=-1,fr=Object(er),Fr=eo(er),ne=Fr.length;ne--;){var re=Fr[Je?ne:++Bo];if(!1===Hr(fr[re],re,fr))break}return er}}();var R=r(9933),L=r(4314),J=r(4528),W=r(923),q=r(6513),ct=r(3744),ht=r(1287),tt=r(2661);var $t=r(9377),St=r(129),_t=r(554),nt=r(5281),at=r(8010),jt=Function.prototype.toString,Gt=Object.prototype.hasOwnProperty,ie=jt.call(Object);var gr=r(8885);const Xr=function vr(Je,er){if(("constructor"!==er||"function"!=typeof Je[er])&&"__proto__"!=er)return Je[er]};var ke=r(7517),Rt=r(133);const Xt=function Ae(Je,er,Hr,eo,Bo,fr,Fr){var ne=Xr(Je,Hr),re=Xr(er,Hr),Lt=Fr.get(re);if(Lt)k(Je,Hr,Lt);else{var he=fr?fr(ne,re,Hr+"",Je,er,Fr):void 0,mr=void 0===he;if(mr){var Qr=(0,ct.A)(re),Ro=!Qr&&(0,$t.A)(re),Ko=!Qr&&!Ro&&(0,gr.A)(re);he=re,Qr||Ro||Ko?(0,ct.A)(ne)?he=ne:function xt(Je){return(0,tt.A)(Je)&&(0,ht.A)(Je)}(ne)?he=(0,J.A)(ne):Ro?(mr=!1,he=(0,R.A)(re,!0)):Ko?(mr=!1,he=(0,L.A)(re,!0)):he=[]:function Xe(Je){if(!(0,tt.A)(Je)||"[object Object]"!=(0,nt.A)(Je))return!1;var er=(0,at.A)(Je);if(null===er)return!0;var Hr=Gt.call(er,"constructor")&&er.constructor;return"function"==typeof Hr&&Hr instanceof Hr&&jt.call(Hr)==ie}(re)||(0,q.A)(re)?(he=ne,(0,q.A)(ne)?he=function wt(Je){return(0,ke.A)(Je,(0,Rt.A)(Je))}(ne):(!(0,_t.A)(ne)||(0,St.A)(ne))&&(he=(0,W.A)(re))):mr=!1}mr&&(Fr.set(re,he),Bo(he,re,eo,fr,Fr),Fr.delete(re)),k(Je,Hr,he)}},te=function pe(Je,er,Hr,eo,Bo){Je!==er&&M(er,function(fr,Fr){if(Bo||(Bo=new o.A),(0,_t.A)(fr))Xt(Je,er,Fr,Hr,pe,eo,Bo);else{var ne=eo?eo(Xr(Je,Fr),fr,Fr+"",Je,er,Bo):void 0;void 0===ne&&(ne=fr),k(Je,Fr,ne)}},Rt.A)},We=function Ye(Je){return Je};var Ot=Math.max;const Ht=function Ve(Je){return function(){return Je}};var Me=r(4746),dr=Date.now;const Ie=function Nt(Je){var er=0,Hr=0;return function(){var eo=dr(),Bo=16-(eo-Hr);if(Hr=eo,Bo>0){if(++er>=800)return arguments[0]}else er=0;return Je.apply(void 0,arguments)}}(Me.A?function(Je,er){return(0,Me.A)(Je,"toString",{configurable:!0,enumerable:!1,value:Ht(er),writable:!0})}:We),gt=function br(Je,er){return Ie(function le(Je,er,Hr){return er=Ot(void 0===er?Je.length-1:er,0),function(){for(var eo=arguments,Bo=-1,fr=Ot(eo.length-er,0),Fr=Array(fr);++Bo1?Hr[Bo-1]:void 0,Fr=Bo>2?Hr[2]:void 0;for(fr=Je.length>3&&"function"==typeof fr?(Bo--,fr):void 0,Fr&&function Y(Je,er,Hr){if(!(0,_t.A)(Hr))return!1;var eo=typeof er;return!!("number"==eo?(0,ht.A)(Hr)&&(0,$.A)(er,Hr.length):"string"==eo&&er in Hr)&&(0,c.A)(Hr[er],Je)}(Hr[0],Hr[1],Fr)&&(fr=Bo<3?void 0:fr,Bo=1),er=Object(er);++eo{"use strict";r.d(a,{lo:()=>Yg,pC:()=>Zs,Bq:()=>Dl,dq:()=>Gn,lG:()=>Ta,sh:()=>ph,Qe:()=>Wu});var o={};r.r(o),r.d(o,{OG:()=>Y,My:()=>qt,Ph:()=>Ke,lX:()=>Fe,Id:()=>we,fg:()=>Mt,qj:()=>Nt,aT:()=>Me,lq:()=>Or,z:()=>yo,Q5:()=>ir});var s=r(467);function c(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`Wrong positive integer: ${v}`)}function k(v,..._){if(!(v instanceof Uint8Array))throw new Error("Expected Uint8Array");if(_.length>0&&!_.includes(v.length))throw new Error(`Expected Uint8Array of length ${_}, not of length=${v.length}`)}function I(v,_=!0){if(v.destroyed)throw new Error("Hash instance has been destroyed");if(_&&v.finished)throw new Error("Hash#digest() has already been called")}const L="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,J=v=>v instanceof Uint8Array,ct=v=>new DataView(v.buffer,v.byteOffset,v.byteLength),ht=(v,_)=>v<<32-_|v>>>_;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function et(v){if("string"==typeof v&&(v=function at(v){if("string"!=typeof v)throw new Error("utf8ToBytes expected string, got "+typeof v);return new Uint8Array((new TextEncoder).encode(v))}(v)),!J(v))throw new Error("expected Uint8Array, got "+typeof v);return v}class Et{clone(){return this._cloneInto()}}function ie(v){const _=j=>v().update(et(j)).digest(),A=v();return _.outputLen=A.outputLen,_.blockLen=A.blockLen,_.create=()=>v(),_}function gr(v=32){if(L&&"function"==typeof L.getRandomValues)return L.getRandomValues(new Uint8Array(v));throw new Error("crypto.getRandomValues must be defined")}class Xr extends Et{constructor(_,A,j,Z){super(),this.blockLen=_,this.outputLen=A,this.padOffset=j,this.isLE=Z,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(_),this.view=ct(this.buffer)}update(_){I(this);const{view:A,buffer:j,blockLen:Z}=this,lt=(_=et(_)).length;for(let Dt=0;DtZ-Dt&&(this.process(j,0),Dt=0);for(let Le=Dt;Le>Z<),Pt=Number(A<),_e=j?0:4;v.setUint32(_+(j?4:0),Dt,j),v.setUint32(_+_e,Pt,j)})(j,Z-8,BigInt(8*this.length),lt),this.process(j,0);const Pt=ct(_),Qt=this.outputLen;if(Qt%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const _e=Qt/4,Ne=this.get();if(_e>Ne.length)throw new Error("_sha2: outputLen bigger than state");for(let Le=0;Le<_e;Le++)Pt.setUint32(4*Le,Ne[Le],lt)}digest(){const{buffer:_,outputLen:A}=this;this.digestInto(_);const j=_.slice(0,A);return this.destroy(),j}_cloneInto(_){_||(_=new this.constructor),_.set(...this.get());const{blockLen:A,buffer:j,length:Z,finished:lt,destroyed:Dt,pos:Pt}=this;return _.length=Z,_.pos=Pt,_.finished=lt,_.destroyed=Dt,Z%A&&_.buffer.set(j),_}}const ke=(v,_,A)=>v&_^~v&A,Rt=(v,_,A)=>v&_^v&A^_&A,wt=new Uint32Array([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]),Ut=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Ae=new Uint32Array(64);class Xt extends Xr{constructor(){super(64,32,8,!1),this.A=0|Ut[0],this.B=0|Ut[1],this.C=0|Ut[2],this.D=0|Ut[3],this.E=0|Ut[4],this.F=0|Ut[5],this.G=0|Ut[6],this.H=0|Ut[7]}get(){const{A:_,B:A,C:j,D:Z,E:lt,F:Dt,G:Pt,H:Qt}=this;return[_,A,j,Z,lt,Dt,Pt,Qt]}set(_,A,j,Z,lt,Dt,Pt,Qt){this.A=0|_,this.B=0|A,this.C=0|j,this.D=0|Z,this.E=0|lt,this.F=0|Dt,this.G=0|Pt,this.H=0|Qt}process(_,A){for(let Le=0;Le<16;Le++,A+=4)Ae[Le]=_.getUint32(A,!1);for(let Le=16;Le<64;Le++){const ur=Ae[Le-15],yr=Ae[Le-2],cr=ht(ur,7)^ht(ur,18)^ur>>>3,Qe=ht(yr,17)^ht(yr,19)^yr>>>10;Ae[Le]=Qe+Ae[Le-7]+cr+Ae[Le-16]|0}let{A:j,B:Z,C:lt,D:Dt,E:Pt,F:Qt,G:_e,H:Ne}=this;for(let Le=0;Le<64;Le++){const yr=Ne+(ht(Pt,6)^ht(Pt,11)^ht(Pt,25))+ke(Pt,Qt,_e)+wt[Le]+Ae[Le]|0,Qe=(ht(j,2)^ht(j,13)^ht(j,22))+Rt(j,Z,lt)|0;Ne=_e,_e=Qt,Qt=Pt,Pt=Dt+yr|0,Dt=lt,lt=Z,Z=j,j=yr+Qe|0}j=j+this.A|0,Z=Z+this.B|0,lt=lt+this.C|0,Dt=Dt+this.D|0,Pt=Pt+this.E|0,Qt=Qt+this.F|0,_e=_e+this.G|0,Ne=Ne+this.H|0,this.set(j,Z,lt,Dt,Pt,Qt,_e,Ne)}roundClean(){Ae.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const te=ie(()=>new Xt),Bt=(BigInt(0),BigInt(1)),Zt=BigInt(2),Ot=v=>v instanceof Uint8Array,le=Array.from({length:256},(v,_)=>_.toString(16).padStart(2,"0"));function qt(v){if(!Ot(v))throw new Error("Uint8Array expected");let _="";for(let A=0;Aj+Z.length,0));let A=0;return v.forEach(j=>{if(!Ot(j))throw new Error("Uint8Array expected");_.set(j,A),A+=j.length}),_}const Y=v=>(Zt<new Uint8Array(v),At=v=>Uint8Array.from(v);function Mt(v,_,A){if("number"!=typeof v||v<2)throw new Error("hashLen must be a number");if("number"!=typeof _||_<2)throw new Error("qByteLen must be a number");if("function"!=typeof A)throw new Error("hmacFn must be a function");let j=it(v),Z=it(v),lt=0;const Dt=()=>{j.fill(1),Z.fill(0),lt=0},Pt=(...Le)=>A(Z,j,...Le),Qt=(Le=it())=>{Z=Pt(At([0]),Le),j=Pt(),0!==Le.length&&(Z=Pt(At([1]),Le),j=Pt())},_e=()=>{if(lt++>=1e3)throw new Error("drbg: tried 1000 values");let Le=0;const ur=[];for(;Le<_;){j=Pt();const yr=j.slice();ur.push(yr),Le+=j.length}return we(...ur)};return(Le,ur)=>{let yr;for(Dt(),Qt(Le);!(yr=ur(_e()));)Qt();return Dt(),yr}}const ve={bigint:v=>"bigint"==typeof v,function:v=>"function"==typeof v,boolean:v=>"boolean"==typeof v,string:v=>"string"==typeof v,stringOrUint8Array:v=>"string"==typeof v||v instanceof Uint8Array,isSafeInteger:v=>Number.isSafeInteger(v),array:v=>Array.isArray(v),field:(v,_)=>_.Fp.isValid(v),hash:v=>"function"==typeof v&&Number.isSafeInteger(v.outputLen)};function ir(v,_,A={}){const j=(Z,lt,Dt)=>{const Pt=ve[lt];if("function"!=typeof Pt)throw new Error(`Invalid validator "${lt}", expected function`);const Qt=v[Z];if(!(Dt&&void 0===Qt||Pt(Qt,v)))throw new Error(`Invalid param ${String(Z)}=${Qt} (${typeof Qt}), expected ${lt}`)};for(const[Z,lt]of Object.entries(_))j(Z,lt,!1);for(const[Z,lt]of Object.entries(A))j(Z,lt,!0);return v}const Je=BigInt(0),er=BigInt(1),Hr=BigInt(2),eo=BigInt(3),Bo=BigInt(4),fr=BigInt(5),Fr=BigInt(8);function Lt(v,_){const A=v%_;return A>=Je?A:_+A}function he(v,_,A){if(A<=Je||_ 0");if(A===er)return Je;let j=er;for(;_>Je;)_&er&&(j=j*v%A),v=v*v%A,_>>=er;return j}function mr(v,_,A){let j=v;for(;_-- >Je;)j*=j,j%=A;return j}function Qr(v,_){if(v===Je||_<=Je)throw new Error(`invert: expected positive integers, got n=${v} mod=${_}`);let A=Lt(v,_),j=_,Z=Je,lt=er,Dt=er,Pt=Je;for(;A!==Je;){const _e=j/A,Ne=j%A,Le=Z-Dt*_e,ur=lt-Pt*_e;j=A,A=Ne,Z=Dt,lt=Pt,Dt=Le,Pt=ur}if(j!==er)throw new Error("invert: does not exist");return Lt(Z,_)}BigInt(9),BigInt(16);const Ue=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Se(v,_){const A=void 0!==_?_:v.toString(2).length;return{nBitLength:A,nByteLength:Math.ceil(A/8)}}function qn(v){if("bigint"!=typeof v)throw new Error("field order must be bigint");const _=v.toString(2).length;return Math.ceil(_/8)}function Yo(v){const _=qn(v);return _+Math.ceil(_/2)}class Po extends Et{constructor(_,A){super(),this.finished=!1,this.destroyed=!1,function S(v){if("function"!=typeof v||"function"!=typeof v.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");c(v.outputLen),c(v.blockLen)}(_);const j=et(A);if(this.iHash=_.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Z=this.blockLen,lt=new Uint8Array(Z);lt.set(j.length>Z?_.create().update(j).digest():j);for(let Dt=0;Dtnew Po(v,_).update(A).digest();gi.create=(v,_)=>new Po(v,_);const ni=BigInt(0),Oe=BigInt(1);function Dr(v){return function Ee(v){ir(v,Ue.reduce((j,Z)=>(j[Z]="function",j),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}(v.Fp),ir(v,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Se(v.n,v.nBitLength),...v,p:v.Fp.ORDER})}const{Ph:Ur,aT:ao}=o,no={Err:class extends Error{constructor(_=""){super(_)}},_parseInt(v){const{Err:_}=no;if(v.length<2||2!==v[0])throw new _("Invalid signature integer tag");const A=v[1],j=v.subarray(2,A+2);if(!A||j.length!==A)throw new _("Invalid signature integer: wrong length");if(128&j[0])throw new _("Invalid signature integer: negative");if(0===j[0]&&!(128&j[1]))throw new _("Invalid signature integer: unnecessary leading zero");return{d:Ur(j),l:v.subarray(A+2)}},toSig(v){const{Err:_}=no,A="string"==typeof v?ao(v):v;if(!(A instanceof Uint8Array))throw new Error("ui8a expected");let j=A.length;if(j<2||48!=A[0])throw new _("Invalid signature tag");if(A[1]!==j-2)throw new _("Invalid signature: incorrect length");const{d:Z,l:lt}=no._parseInt(A.subarray(2)),{d:Dt,l:Pt}=no._parseInt(lt);if(Pt.length)throw new _("Invalid signature: left bytes after parsing");return{r:Z,s:Dt}},hexFromSig(v){const _=_e=>8&Number.parseInt(_e[0],16)?"00"+_e:_e,A=_e=>{const Ne=_e.toString(16);return 1&Ne.length?`0${Ne}`:Ne},j=_(A(v.s)),Z=_(A(v.r)),lt=j.length/2,Dt=Z.length/2,Pt=A(lt),Qt=A(Dt);return`30${A(Dt+lt+4)}02${Qt}${Z}02${Pt}${j}`}},_o=BigInt(0),Do=BigInt(1),zt=(BigInt(2),BigInt(3));function Kt(v){const _=function dt(v){const _=Dr(v);return ir(_,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,..._})}(v),{Fp:A,n:j}=_,Z=A.BYTES+1,lt=2*A.BYTES+1;function Pt(so){return Lt(so,j)}function Qt(so){return Qr(so,j)}const{ProjectivePoint:_e,normPrivateKeyToScalar:Ne,weierstrassEquation:Le,isWithinCurveOrder:ur}=function ue(v){const _=function Pr(v){const _=Dr(v);ir(_,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:A,Fp:j,a:Z}=_;if(A){if(!j.eql(Z,j.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof A||"bigint"!=typeof A.beta||"function"!=typeof A.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({..._})}(v),{Fp:A}=_,j=_.toBytes||((cr,Qe,rr)=>{const Mr=Qe.toAffine();return we(Uint8Array.from([4]),A.toBytes(Mr.x),A.toBytes(Mr.y))}),Z=_.fromBytes||(cr=>{const Qe=cr.subarray(1);return{x:A.fromBytes(Qe.subarray(0,A.BYTES)),y:A.fromBytes(Qe.subarray(A.BYTES,2*A.BYTES))}});function lt(cr){const{a:Qe,b:rr}=_,Mr=A.sqr(cr),Tr=A.mul(Mr,cr);return A.add(A.add(Tr,A.mul(cr,Qe)),rr)}if(!A.eql(A.sqr(_.Gy),lt(_.Gx)))throw new Error("bad generator point: equation left != right");function Dt(cr){return"bigint"==typeof cr&&_oA.eql(oo,A.ZERO);return Tr(rr)&&Tr(Mr)?Le.ZERO:new Le(rr,Mr,A.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Qe){const rr=A.invertBatch(Qe.map(Mr=>Mr.pz));return Qe.map((Mr,Tr)=>Mr.toAffine(rr[Tr])).map(Le.fromAffine)}static fromHex(Qe){const rr=Le.fromAffine(Z(Nt("pointHex",Qe)));return rr.assertValidity(),rr}static fromPrivateKey(Qe){return Le.BASE.multiply(Qt(Qe))}_setWindowSize(Qe){this._WINDOW_SIZE=Qe,_e.delete(this)}assertValidity(){if(this.is0()){if(_.allowInfinityPoint&&!A.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:Qe,y:rr}=this.toAffine();if(!A.isValid(Qe)||!A.isValid(rr))throw new Error("bad point: x or y not FE");const Mr=A.sqr(rr),Tr=lt(Qe);if(!A.eql(Mr,Tr))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Qe}=this.toAffine();if(A.isOdd)return!A.isOdd(Qe);throw new Error("Field doesn't support isOdd")}equals(Qe){Ne(Qe);const{px:rr,py:Mr,pz:Tr}=this,{px:oo,py:uo,pz:Vo}=Qe,Eo=A.eql(A.mul(rr,Vo),A.mul(oo,Tr)),Fo=A.eql(A.mul(Mr,Vo),A.mul(uo,Tr));return Eo&&Fo}negate(){return new Le(this.px,A.neg(this.py),this.pz)}double(){const{a:Qe,b:rr}=_,Mr=A.mul(rr,zt),{px:Tr,py:oo,pz:uo}=this;let Vo=A.ZERO,Eo=A.ZERO,Fo=A.ZERO,Wo=A.mul(Tr,Tr),yn=A.mul(oo,oo),ln=A.mul(uo,uo),an=A.mul(Tr,oo);return an=A.add(an,an),Fo=A.mul(Tr,uo),Fo=A.add(Fo,Fo),Vo=A.mul(Qe,Fo),Eo=A.mul(Mr,ln),Eo=A.add(Vo,Eo),Vo=A.sub(yn,Eo),Eo=A.add(yn,Eo),Eo=A.mul(Vo,Eo),Vo=A.mul(an,Vo),Fo=A.mul(Mr,Fo),ln=A.mul(Qe,ln),an=A.sub(Wo,ln),an=A.mul(Qe,an),an=A.add(an,Fo),Fo=A.add(Wo,Wo),Wo=A.add(Fo,Wo),Wo=A.add(Wo,ln),Wo=A.mul(Wo,an),Eo=A.add(Eo,Wo),ln=A.mul(oo,uo),ln=A.add(ln,ln),Wo=A.mul(ln,an),Vo=A.sub(Vo,Wo),Fo=A.mul(ln,yn),Fo=A.add(Fo,Fo),Fo=A.add(Fo,Fo),new Le(Vo,Eo,Fo)}add(Qe){Ne(Qe);const{px:rr,py:Mr,pz:Tr}=this,{px:oo,py:uo,pz:Vo}=Qe;let Eo=A.ZERO,Fo=A.ZERO,Wo=A.ZERO;const yn=_.a,ln=A.mul(_.b,zt);let an=A.mul(rr,oo),Yn=A.mul(Mr,uo),Zn=A.mul(Tr,Vo),Qn=A.add(rr,Mr),so=A.add(oo,uo);Qn=A.mul(Qn,so),so=A.add(an,Yn),Qn=A.sub(Qn,so),so=A.add(rr,Tr);let xo=A.add(oo,Vo);return so=A.mul(so,xo),xo=A.add(an,Zn),so=A.sub(so,xo),xo=A.add(Mr,Tr),Eo=A.add(uo,Vo),xo=A.mul(xo,Eo),Eo=A.add(Yn,Zn),xo=A.sub(xo,Eo),Wo=A.mul(yn,so),Eo=A.mul(ln,Zn),Wo=A.add(Eo,Wo),Eo=A.sub(Yn,Wo),Wo=A.add(Yn,Wo),Fo=A.mul(Eo,Wo),Yn=A.add(an,an),Yn=A.add(Yn,an),Zn=A.mul(yn,Zn),so=A.mul(ln,so),Yn=A.add(Yn,Zn),Zn=A.sub(an,Zn),Zn=A.mul(yn,Zn),so=A.add(so,Zn),an=A.mul(Yn,so),Fo=A.add(Fo,an),an=A.mul(xo,so),Eo=A.mul(Qn,Eo),Eo=A.sub(Eo,an),an=A.mul(Qn,Yn),Wo=A.mul(xo,Wo),Wo=A.add(Wo,an),new Le(Eo,Fo,Wo)}subtract(Qe){return this.add(Qe.negate())}is0(){return this.equals(Le.ZERO)}wNAF(Qe){return yr.wNAFCached(this,_e,Qe,rr=>{const Mr=A.invertBatch(rr.map(Tr=>Tr.pz));return rr.map((Tr,oo)=>Tr.toAffine(Mr[oo])).map(Le.fromAffine)})}multiplyUnsafe(Qe){const rr=Le.ZERO;if(Qe===_o)return rr;if(Pt(Qe),Qe===Do)return this;const{endo:Mr}=_;if(!Mr)return yr.unsafeLadder(this,Qe);let{k1neg:Tr,k1:oo,k2neg:uo,k2:Vo}=Mr.splitScalar(Qe),Eo=rr,Fo=rr,Wo=this;for(;oo>_o||Vo>_o;)oo&Do&&(Eo=Eo.add(Wo)),Vo&Do&&(Fo=Fo.add(Wo)),Wo=Wo.double(),oo>>=Do,Vo>>=Do;return Tr&&(Eo=Eo.negate()),uo&&(Fo=Fo.negate()),Fo=new Le(A.mul(Fo.px,Mr.beta),Fo.py,Fo.pz),Eo.add(Fo)}multiply(Qe){Pt(Qe);let Mr,Tr,rr=Qe;const{endo:oo}=_;if(oo){const{k1neg:uo,k1:Vo,k2neg:Eo,k2:Fo}=oo.splitScalar(rr);let{p:Wo,f:yn}=this.wNAF(Vo),{p:ln,f:an}=this.wNAF(Fo);Wo=yr.constTimeNegate(uo,Wo),ln=yr.constTimeNegate(Eo,ln),ln=new Le(A.mul(ln.px,oo.beta),ln.py,ln.pz),Mr=Wo.add(ln),Tr=yn.add(an)}else{const{p:uo,f:Vo}=this.wNAF(rr);Mr=uo,Tr=Vo}return Le.normalizeZ([Mr,Tr])[0]}multiplyAndAddUnsafe(Qe,rr,Mr){const Tr=Le.BASE,oo=(Vo,Eo)=>Eo!==_o&&Eo!==Do&&Vo.equals(Tr)?Vo.multiply(Eo):Vo.multiplyUnsafe(Eo),uo=oo(this,rr).add(oo(Qe,Mr));return uo.is0()?void 0:uo}toAffine(Qe){const{px:rr,py:Mr,pz:Tr}=this,oo=this.is0();null==Qe&&(Qe=oo?A.ONE:A.inv(Tr));const uo=A.mul(rr,Qe),Vo=A.mul(Mr,Qe),Eo=A.mul(Tr,Qe);if(oo)return{x:A.ZERO,y:A.ZERO};if(!A.eql(Eo,A.ONE))throw new Error("invZ was invalid");return{x:uo,y:Vo}}isTorsionFree(){const{h:Qe,isTorsionFree:rr}=_;if(Qe===Do)return!0;if(rr)return rr(Le,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Qe,clearCofactor:rr}=_;return Qe===Do?this:rr?rr(Le,this):this.multiplyUnsafe(_.h)}toRawBytes(Qe=!0){return this.assertValidity(),j(Le,this,Qe)}toHex(Qe=!0){return qt(this.toRawBytes(Qe))}}Le.BASE=new Le(_.Gx,_.Gy,A.ONE),Le.ZERO=new Le(A.ZERO,A.ONE,A.ZERO);const ur=_.nBitLength,yr=function He(v,_){const A=(Z,lt)=>{const Dt=lt.negate();return Z?Dt:lt},j=Z=>({windows:Math.ceil(_/Z)+1,windowSize:2**(Z-1)});return{constTimeNegate:A,unsafeLadder(Z,lt){let Dt=v.ZERO,Pt=Z;for(;lt>ni;)lt&Oe&&(Dt=Dt.add(Pt)),Pt=Pt.double(),lt>>=Oe;return Dt},precomputeWindow(Z,lt){const{windows:Dt,windowSize:Pt}=j(lt),Qt=[];let _e=Z,Ne=_e;for(let Le=0;Le>=yr,rr>Qt&&(rr-=ur,Dt+=Oe);const Mr=Qe,Tr=Qe+Math.abs(rr)-1,uo=rr<0;0===rr?Ne=Ne.add(A(cr%2!=0,lt[Mr])):_e=_e.add(A(uo,lt[Tr]))}return{p:_e,f:Ne}},wNAFCached(Z,lt,Dt,Pt){const Qt=Z._WINDOW_SIZE||1;let _e=lt.get(Z);return _e||(_e=this.precomputeWindow(Z,Qt),1!==Qt&<.set(Z,Pt(_e))),this.wNAF(Qt,_e,Dt)}}}(Le,_.endo?Math.ceil(ur/2):ur);return{CURVE:_,ProjectivePoint:Le,normPrivateKeyToScalar:Qt,weierstrassEquation:lt,isWithinCurveOrder:Dt}}({..._,toBytes(so,xo,Zo){const nn=xo.toAffine(),Ao=A.toBytes(nn.x),Sn=we;return Zo?Sn(Uint8Array.from([xo.hasEvenY()?2:3]),Ao):Sn(Uint8Array.from([4]),Ao,A.toBytes(nn.y))},fromBytes(so){const xo=so.length,Zo=so[0],nn=so.subarray(1);if(xo!==Z||2!==Zo&&3!==Zo){if(xo===lt&&4===Zo)return{x:A.fromBytes(nn.subarray(0,A.BYTES)),y:A.fromBytes(nn.subarray(A.BYTES,2*A.BYTES))};throw new Error(`Point of length ${xo} was invalid. Expected ${Z} compressed bytes or ${lt} uncompressed bytes`)}{const Ao=Ke(nn);if(!function Dt(so){return _oqt(Or(so,_.nByteLength));function cr(so){return so>j>>Do}const rr=(so,xo,Zo)=>Ke(so.slice(xo,Zo));class Mr{constructor(xo,Zo,nn){this.r=xo,this.s=Zo,this.recovery=nn,this.assertValidity()}static fromCompact(xo){const Zo=_.nByteLength;return xo=Nt("compactSignature",xo,2*Zo),new Mr(rr(xo,0,Zo),rr(xo,Zo,2*Zo))}static fromDER(xo){const{r:Zo,s:nn}=no.toSig(Nt("DER",xo));return new Mr(Zo,nn)}assertValidity(){if(!ur(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!ur(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(xo){return new Mr(this.r,this.s,xo)}recoverPublicKey(xo){const{r:Zo,s:nn,recovery:Ao}=this,Sn=Fo(Nt("msgHash",xo));if(null==Ao||![0,1,2,3].includes(Ao))throw new Error("recovery id invalid");const $n=2===Ao||3===Ao?Zo+_.n:Zo;if($n>=A.ORDER)throw new Error("recovery id 2 or 3 invalid");const Zi=_e.fromHex((1&Ao?"03":"02")+yr($n)),Ya=Qt($n),ns=Pt(-Sn*Ya),is=Pt(nn*Ya),Za=_e.BASE.multiplyAndAddUnsafe(Zi,ns,is);if(!Za)throw new Error("point at infinify");return Za.assertValidity(),Za}hasHighS(){return cr(this.s)}normalizeS(){return this.hasHighS()?new Mr(this.r,Pt(-this.s),this.recovery):this}toDERRawBytes(){return Me(this.toDERHex())}toDERHex(){return no.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return Me(this.toCompactHex())}toCompactHex(){return yr(this.r)+yr(this.s)}}const Tr={isValidPrivateKey(so){try{return Ne(so),!0}catch{return!1}},normPrivateKeyToScalar:Ne,randomPrivateKey:()=>{const so=Yo(_.n);return function ai(v,_,A=!1){const j=v.length,Z=qn(_),lt=Yo(_);if(j<16||j1024)throw new Error(`expected ${lt}-1024 bytes of input, got ${j}`);const Pt=Lt(A?Ke(v):Fe(v),_-er)+er;return A?yo(Pt,Z):Or(Pt,Z)}(_.randomBytes(so),_.n)},precompute:(so=8,xo=_e.BASE)=>(xo._setWindowSize(so),xo.multiply(BigInt(3)),xo)};function uo(so){const xo=so instanceof Uint8Array,Zo="string"==typeof so,nn=(xo||Zo)&&so.length;return xo?nn===Z||nn===lt:Zo?nn===2*Z||nn===2*lt:so instanceof _e}const Eo=_.bits2int||function(so){const xo=Ke(so),Zo=8*so.length-_.nBitLength;return Zo>0?xo>>BigInt(Zo):xo},Fo=_.bits2int_modN||function(so){return Pt(Eo(so))},Wo=Y(_.nBitLength);function yn(so){if("bigint"!=typeof so)throw new Error("bigint expected");if(!(_o<=so&&soas in Zo))throw new Error("sign() legacy options not supported");const{hash:nn,randomBytes:Ao}=_;let{lowS:Sn,prehash:$n,extraEntropy:Fn}=Zo;null==Sn&&(Sn=!0),so=Nt("msgHash",so),$n&&(so=Nt("prehashed msgHash",nn(so)));const Zi=Fo(so),Ya=Ne(xo),ns=[yn(Ya),yn(Zi)];if(null!=Fn){const as=!0===Fn?Ao(A.BYTES):Fn;ns.push(Nt("extraEntropy",as))}const is=we(...ns),Za=Zi;return{seed:is,k2sig:function Zc(as){const bc=Eo(as);if(!ur(bc))return;const Bh=Qt(bc),Rs=_e.BASE.multiply(bc).toAffine(),Gl=Pt(Rs.x);if(Gl===_o)return;const bu=Pt(Bh*Pt(Za+Gl*Ya));if(bu===_o)return;let wu=(Rs.x===Gl?0:2)|Number(Rs.y&Do),_d=bu;return Sn&&cr(bu)&&(_d=function Qe(so){return cr(so)?Pt(-so):so}(bu),wu^=1),new Mr(Gl,_d,wu)}}}(so,xo,Zo);return Mt(_.hash.outputLen,_.nByteLength,_.hmac)(nn,Ao)},verify:function Qn(so,xo,Zo,nn=Yn){const Ao=so;if(xo=Nt("msgHash",xo),Zo=Nt("publicKey",Zo),"strict"in nn)throw new Error("options.strict was renamed to lowS");const{lowS:Sn,prehash:$n}=nn;let Fn,Zi;try{if("string"==typeof Ao||Ao instanceof Uint8Array)try{Fn=Mr.fromDER(Ao)}catch(Rs){if(!(Rs instanceof no.Err))throw Rs;Fn=Mr.fromCompact(Ao)}else{if("object"!=typeof Ao||"bigint"!=typeof Ao.r||"bigint"!=typeof Ao.s)throw new Error("PARSE");{const{r:Rs,s:Gl}=Ao;Fn=new Mr(Rs,Gl)}}Zi=_e.fromHex(Zo)}catch(Rs){if("PARSE"===Rs.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(Sn&&Fn.hasHighS())return!1;$n&&(xo=_.hash(xo));const{r:Ya,s:ns}=Fn,is=Fo(xo),Za=Qt(ns),Zc=Pt(is*Za),as=Pt(Ya*Za),bc=_e.BASE.multiplyAndAddUnsafe(Zi,Zc,as)?.toAffine();return!!bc&&Pt(bc.x)===Ya},ProjectivePoint:_e,Signature:Mr,utils:Tr}}function Re(v){return{hash:v,hmac:(_,...A)=>gi(v,_,function bt(...v){const _=new Uint8Array(v.reduce((j,Z)=>j+Z.length,0));let A=0;return v.forEach(j=>{if(!J(j))throw new Error("Uint8Array expected");_.set(j,A),A+=j.length}),_}(...A)),randomBytes:gr}}BigInt(4);const or=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Cr=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),kr=BigInt(1),Lr=BigInt(2),Br=(v,_)=>(v+_/Lr)/_;function qr(v){const _=or,A=BigInt(3),j=BigInt(6),Z=BigInt(11),lt=BigInt(22),Dt=BigInt(23),Pt=BigInt(44),Qt=BigInt(88),_e=v*v*v%_,Ne=_e*_e*v%_,Le=mr(Ne,A,_)*Ne%_,ur=mr(Le,A,_)*Ne%_,yr=mr(ur,Lr,_)*_e%_,cr=mr(yr,Z,_)*yr%_,Qe=mr(cr,lt,_)*cr%_,rr=mr(Qe,Pt,_)*Qe%_,Mr=mr(rr,Qt,_)*rr%_,Tr=mr(Mr,Pt,_)*Qe%_,oo=mr(Tr,A,_)*Ne%_,uo=mr(oo,Dt,_)*cr%_,Vo=mr(uo,j,_)*_e%_,Eo=mr(Vo,Lr,_);if(!to.eql(to.sqr(Eo),v))throw new Error("Cannot find square root");return Eo}const to=function ar(v,_,A=!1,j={}){if(v<=Je)throw new Error(`Expected Field ORDER > 0, got ${v}`);const{nBitLength:Z,nByteLength:lt}=Se(v,_);if(lt>2048)throw new Error("Field lengths over 2048 bytes are not supported");const Dt=function Ko(v){if(v%Bo===eo){const _=(v+er)/Bo;return function(j,Z){const lt=j.pow(Z,_);if(!j.eql(j.sqr(lt),Z))throw new Error("Cannot find square root");return lt}}if(v%Fr===fr){const _=(v-fr)/Fr;return function(j,Z){const lt=j.mul(Z,Hr),Dt=j.pow(lt,_),Pt=j.mul(Z,Dt),Qt=j.mul(j.mul(Pt,Hr),Dt),_e=j.mul(Pt,j.sub(Qt,j.ONE));if(!j.eql(j.sqr(_e),Z))throw new Error("Cannot find square root");return _e}}return function Ro(v){const _=(v-er)/Hr;let A,j,Z;for(A=v-er,j=0;A%Hr===Je;A/=Hr,j++);for(Z=Hr;ZLt(Qt,v),isValid:Qt=>{if("bigint"!=typeof Qt)throw new Error("Invalid field element: expected bigint, got "+typeof Qt);return Je<=Qt&&QtQt===Je,isOdd:Qt=>(Qt&er)===er,neg:Qt=>Lt(-Qt,v),eql:(Qt,_e)=>Qt===_e,sqr:Qt=>Lt(Qt*Qt,v),add:(Qt,_e)=>Lt(Qt+_e,v),sub:(Qt,_e)=>Lt(Qt-_e,v),mul:(Qt,_e)=>Lt(Qt*_e,v),pow:(Qt,_e)=>function qe(v,_,A){if(A 0");if(A===Je)return v.ONE;if(A===er)return _;let j=v.ONE,Z=_;for(;A>Je;)A&er&&(j=v.mul(j,Z)),Z=v.sqr(Z),A>>=er;return j}(Pt,Qt,_e),div:(Qt,_e)=>Lt(Qt*Qr(_e,v),v),sqrN:Qt=>Qt*Qt,addN:(Qt,_e)=>Qt+_e,subN:(Qt,_e)=>Qt-_e,mulN:(Qt,_e)=>Qt*_e,inv:Qt=>Qr(Qt,v),sqrt:j.sqrt||(Qt=>Dt(Pt,Qt)),invertBatch:Qt=>function Ce(v,_){const A=new Array(_.length),j=_.reduce((lt,Dt,Pt)=>v.is0(Dt)?lt:(A[Pt]=lt,v.mul(lt,Dt)),v.ONE),Z=v.inv(j);return _.reduceRight((lt,Dt,Pt)=>v.is0(Dt)?lt:(A[Pt]=v.mul(lt,A[Pt]),v.mul(lt,Dt)),Z),A}(Pt,Qt),cmov:(Qt,_e,Ne)=>Ne?_e:Qt,toBytes:Qt=>A?yo(Qt,lt):Or(Qt,lt),fromBytes:Qt=>{if(Qt.length!==lt)throw new Error(`Fp.fromBytes: expected ${lt}, got ${Qt.length}`);return A?Fe(Qt):Ke(Qt)}});return Object.freeze(Pt)}(or,void 0,void 0,{sqrt:qr}),ko=function De(v,_){const A=j=>Kt({...v,...Re(j)});return Object.freeze({...A(_),create:A})}({a:BigInt(0),b:BigInt(7),Fp:to,n:Cr,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:v=>{const _=Cr,A=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),j=-kr*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),Z=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),lt=A,Dt=BigInt("0x100000000000000000000000000000000"),Pt=Br(lt*v,_),Qt=Br(-j*v,_);let _e=Lt(v-Pt*A-Qt*Z,_),Ne=Lt(-Pt*j-Qt*lt,_);const Le=_e>Dt,ur=Ne>Dt;if(Le&&(_e=_-_e),ur&&(Ne=_-Ne),_e>Dt||Ne>Dt)throw new Error("splitScalar: Endomorphism failed, k="+v);return{k1neg:Le,k1:_e,k2neg:ur,k2:Ne}}}},te),To=BigInt(0),po=v=>"bigint"==typeof v&&ToZ.charCodeAt(0)));A=we(j,j),Jn[v]=A}return te(we(A,..._))}const zn=v=>v.toRawBytes(!0).slice(1),Uo=v=>Or(v,32),jn=v=>Lt(v,or),Ki=v=>Lt(v,Cr),on=ko.ProjectivePoint;function Mn(v){let _=ko.utils.normPrivateKeyToScalar(v),A=on.fromPrivateKey(_);return{scalar:A.hasEvenY()?_:Ki(-_),bytes:zn(A)}}function _i(v){if(!po(v))throw new Error("bad x: need 0 < x < p");const _=jn(v*v);let j=qr(jn(_*v+BigInt(7)));j%Lr!==To&&(j=jn(-j));const Z=new on(v,j,kr);return Z.assertValidity(),Z}function ds(...v){return Ki(Ke(Ai("BIP0340/challenge",...v)))}function Ti(v,_,A){const j=Nt("signature",v,64),Z=Nt("message",_),lt=Nt("publicKey",A,32);try{const Dt=_i(Ke(lt)),Pt=Ke(j.subarray(0,32));if(!po(Pt))return!1;const Qt=Ke(j.subarray(32,64));if(!(v=>"bigint"==typeof v&&Toon.BASE.multiplyAndAddUnsafe(v,_,A))(Dt,Qt,Ki(-_e));return!(!Ne||!Ne.hasEvenY()||Ne.toAffine().x!==Pt)}catch{return!1}}const qi={getPublicKey:function da(v){return Mn(v).bytes},sign:function va(v,_,A=gr(32)){const j=Nt("message",v),{bytes:Z,scalar:lt}=Mn(_),Dt=Nt("auxRand",A,32),Pt=Uo(lt^Ke(Ai("BIP0340/aux",Dt))),Qt=Ai("BIP0340/nonce",Pt,Z,j),_e=Ki(Ke(Qt));if(_e===To)throw new Error("sign failed: k is zero");const{bytes:Ne,scalar:Le}=Mn(_e),ur=ds(Ne,Z,j),yr=new Uint8Array(64);if(yr.set(Ne,0),yr.set(Uo(Ki(Le+ur*lt)),32),!Ti(yr,j,Z))throw new Error("sign: Invalid signature produced");return yr},verify:Ti,utils:{randomPrivateKey:ko.utils.randomPrivateKey,lift_x:_i,pointToBytes:zn,numberToBytesBE:Or,bytesToNumberBE:Ke,taggedHash:Ai,mod:Lt}};var Go=r(6391);function pa(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`Wrong positive integer: ${v}`)}function Bn(v,..._){if(!(v instanceof Uint8Array))throw new Error("Expected Uint8Array");if(_.length>0&&!_.includes(v.length))throw new Error(`Expected Uint8Array of length ${_}, not of length=${v.length}`)}const On={number:pa,bool:function ei(v){if("boolean"!=typeof v)throw new Error(`Expected boolean, not ${v}`)},bytes:Bn,hash:function ri(v){if("function"!=typeof v||"function"!=typeof v.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");pa(v.outputLen),pa(v.blockLen)},exists:function Ua(v,_=!0){if(v.destroyed)throw new Error("Hash instance has been destroyed");if(_&&v.finished)throw new Error("Hash#digest() has already been called")},output:function zo(v,_){Bn(v);const A=_.outputLen;if(v.lengthZ-Dt&&(this.process(j,0),Dt=0);for(let Le=Dt;Le>Z<),Pt=Number(A<),_e=j?0:4;v.setUint32(_+(j?4:0),Dt,j),v.setUint32(_+_e,Pt,j)})(j,Z-8,BigInt(8*this.length),lt),this.process(j,0);const Pt=(0,Go.O8)(_),Qt=this.outputLen;if(Qt%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const _e=Qt/4,Ne=this.get();if(_e>Ne.length)throw new Error("_sha2: outputLen bigger than state");for(let Le=0;Le<_e;Le++)Pt.setUint32(4*Le,Ne[Le],lt)}digest(){const{buffer:_,outputLen:A}=this;this.digestInto(_);const j=_.slice(0,A);return this.destroy(),j}_cloneInto(_){_||(_=new this.constructor),_.set(...this.get());const{blockLen:A,buffer:j,length:Z,finished:lt,destroyed:Dt,pos:Pt}=this;return _.length=Z,_.pos=Pt,_.finished=lt,_.destroyed=Dt,Z%A&&_.buffer.set(j),_}}const us=(v,_,A)=>v&_^~v&A,fa=(v,_,A)=>v&_^v&A^_&A,$a=new Uint32Array([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]),fi=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Jo=new Uint32Array(64);class Rn extends ta{constructor(){super(64,32,8,!1),this.A=0|fi[0],this.B=0|fi[1],this.C=0|fi[2],this.D=0|fi[3],this.E=0|fi[4],this.F=0|fi[5],this.G=0|fi[6],this.H=0|fi[7]}get(){const{A:_,B:A,C:j,D:Z,E:lt,F:Dt,G:Pt,H:Qt}=this;return[_,A,j,Z,lt,Dt,Pt,Qt]}set(_,A,j,Z,lt,Dt,Pt,Qt){this.A=0|_,this.B=0|A,this.C=0|j,this.D=0|Z,this.E=0|lt,this.F=0|Dt,this.G=0|Pt,this.H=0|Qt}process(_,A){for(let Le=0;Le<16;Le++,A+=4)Jo[Le]=_.getUint32(A,!1);for(let Le=16;Le<64;Le++){const ur=Jo[Le-15],yr=Jo[Le-2],cr=(0,Go.Ow)(ur,7)^(0,Go.Ow)(ur,18)^ur>>>3,Qe=(0,Go.Ow)(yr,17)^(0,Go.Ow)(yr,19)^yr>>>10;Jo[Le]=Qe+Jo[Le-7]+cr+Jo[Le-16]|0}let{A:j,B:Z,C:lt,D:Dt,E:Pt,F:Qt,G:_e,H:Ne}=this;for(let Le=0;Le<64;Le++){const yr=Ne+((0,Go.Ow)(Pt,6)^(0,Go.Ow)(Pt,11)^(0,Go.Ow)(Pt,25))+us(Pt,Qt,_e)+$a[Le]+Jo[Le]|0,Qe=((0,Go.Ow)(j,2)^(0,Go.Ow)(j,13)^(0,Go.Ow)(j,22))+fa(j,Z,lt)|0;Ne=_e,_e=Qt,Qt=Pt,Pt=Dt+yr|0,Dt=lt,lt=Z,Z=j,j=yr+Qe|0}j=j+this.A|0,Z=Z+this.B|0,lt=lt+this.C|0,Dt=Dt+this.D|0,Pt=Pt+this.E|0,Qt=Qt+this.F|0,_e=_e+this.G|0,Ne=Ne+this.H|0,this.set(j,Z,lt,Dt,Pt,Qt,_e,Ne)}roundClean(){Jo.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class ia extends Rn{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const wi=(0,Go.ld)(()=>new Rn);function Hn(v){if(!Number.isSafeInteger(v))throw new Error(`Wrong integer: ${v}`)}function ki(...v){const _=(Z,lt)=>Dt=>Z(lt(Dt));return{encode:Array.from(v).reverse().reduce((Z,lt)=>Z?_(Z,lt.encode):lt.encode,void 0),decode:v.reduce((Z,lt)=>Z?_(Z,lt.decode):lt.decode,void 0)}}function di(v){return{encode:_=>{if(!Array.isArray(_)||_.length&&"number"!=typeof _[0])throw new Error("alphabet.encode input should be an array of numbers");return _.map(A=>{if(Hn(A),A<0||A>=v.length)throw new Error(`Digit index outside alphabet: ${A} (alphabet: ${v.length})`);return v[A]})},decode:_=>{if(!Array.isArray(_)||_.length&&"string"!=typeof _[0])throw new Error("alphabet.decode input should be array of strings");return _.map(A=>{if("string"!=typeof A)throw new Error(`alphabet.decode: not string element=${A}`);const j=v.indexOf(A);if(-1===j)throw new Error(`Unknown letter: "${A}". Allowed: ${v}`);return j})}}}function Vi(v=""){if("string"!=typeof v)throw new Error("join separator should be string");return{encode:_=>{if(!Array.isArray(_)||_.length&&"string"!=typeof _[0])throw new Error("join.encode input should be array of strings");for(let A of _)if("string"!=typeof A)throw new Error(`join.encode: non-string input=${A}`);return _.join(v)},decode:_=>{if("string"!=typeof _)throw new Error("join.decode input should be string");return _.split(v)}}}function oi(v,_="="){if(Hn(v),"string"!=typeof _)throw new Error("padding chr should be string");return{encode(A){if(!Array.isArray(A)||A.length&&"string"!=typeof A[0])throw new Error("padding.encode input should be array of strings");for(let j of A)if("string"!=typeof j)throw new Error(`padding.encode: non-string input=${j}`);for(;A.length*v%8;)A.push(_);return A},decode(A){if(!Array.isArray(A)||A.length&&"string"!=typeof A[0])throw new Error("padding.encode input should be array of strings");for(let Z of A)if("string"!=typeof Z)throw new Error(`padding.decode: non-string input=${Z}`);let j=A.length;if(j*v%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;j>0&&A[j-1]===_;j--)if(!((j-1)*v%8))throw new Error("Invalid padding: string has too much padding");return A.slice(0,j)}}}function aa(v){if("function"!=typeof v)throw new Error("normalize fn should be function");return{encode:_=>_,decode:_=>v(_)}}function Fi(v,_,A){if(_<2)throw new Error(`convertRadix: wrong from=${_}, base cannot be less than 2`);if(A<2)throw new Error(`convertRadix: wrong to=${A}, base cannot be less than 2`);if(!Array.isArray(v))throw new Error("convertRadix: data should be array");if(!v.length)return[];let j=0;const Z=[],lt=Array.from(v);for(lt.forEach(Dt=>{if(Hn(Dt),Dt<0||Dt>=_)throw new Error(`Wrong integer: ${Dt}`)});;){let Dt=0,Pt=!0;for(let Qt=j;Qtnew ia);const ma=(v,_)=>_?ma(_,v%_):v,ts=(v,_)=>v+(_-ma(v,_));function Ei(v,_,A,j){if(!Array.isArray(v))throw new Error("convertRadix2: data should be array");if(_<=0||_>32)throw new Error(`convertRadix2: wrong from=${_}`);if(A<=0||A>32)throw new Error(`convertRadix2: wrong to=${A}`);if(ts(_,A)>32)throw new Error(`convertRadix2: carry overflow from=${_} to=${A} carryBits=${ts(_,A)}`);let Z=0,lt=0;const Dt=2**A-1,Pt=[];for(const Qt of v){if(Hn(Qt),Qt>=2**_)throw new Error(`convertRadix2: invalid data word=${Qt} from=${_}`);if(Z=Z<<_|Qt,lt+_>32)throw new Error(`convertRadix2: carry overflow pos=${lt} from=${_}`);for(lt+=_;lt>=A;lt-=A)Pt.push((Z>>lt-A&Dt)>>>0);Z&=2**lt-1}if(Z=Z<=_)throw new Error("Excess padding");if(!j&&Z)throw new Error(`Non-zero padding: ${Z}`);return j&<>0&&Pt.push(Z>>>0),Pt}function Jt(v,_=!1){if(Hn(v),v<=0||v>32)throw new Error("radix2: bits should be in (0..32]");if(ts(8,v)>32||ts(v,8)>32)throw new Error("radix2: carry overflow");return{encode:A=>{if(!(A instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return Ei(Array.from(A),8,v,!_)},decode:A=>{if(!Array.isArray(A)||A.length&&"number"!=typeof A[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(Ei(A,v,8,_))}}}function ot(v){if("function"!=typeof v)throw new Error("unsafeWrapper fn should be function");return function(..._){try{return v.apply(null,_)}catch{}}}ki(Jt(4),di("0123456789ABCDEF"),Vi("")),ki(Jt(5),di("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),oi(5),Vi(""));const jo=(ki(Jt(5),di("0123456789ABCDEFGHIJKLMNOPQRSTUV"),oi(5),Vi("")),ki(Jt(5),di("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),Vi(""),aa(v=>v.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),ki(Jt(6),di("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),oi(6),Vi(""))),Ln=(ki(Jt(6),di("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),oi(6),Vi("")),v=>ki(function G(v){return Hn(v),{encode:_=>{if(!(_ instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return Fi(Array.from(_),256,v)},decode:_=>{if(!Array.isArray(_)||_.length&&"number"!=typeof _[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(Fi(_,v,256))}}}(58),di(v),Vi(""))),En=(Ln("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),Ln("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),Ln("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"),ki(di("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),Vi(""))),yi=[996825010,642813549,513874426,1027748829,705979059];function vi(v){const _=v>>25;let A=(33554431&v)<<5;for(let j=0;j>j&1)&&(A^=yi[j]);return A}function Kn(v,_,A=1){const j=v.length;let Z=1;for(let lt=0;lt126)throw new Error(`Invalid prefix (${v})`);Z=vi(Z)^Dt>>5}Z=vi(Z);for(let lt=0;ltLe)throw new TypeError(`Wrong string length: ${Ne.length} (${Ne}). Expected (8..${Le})`);const ur=Ne.toLowerCase();if(Ne!==ur&&Ne!==Ne.toUpperCase())throw new Error("String must be lowercase or uppercase");const yr=(Ne=ur).lastIndexOf("1");if(0===yr||-1===yr)throw new Error('Letter "1" must be present between prefix and data only');const cr=Ne.slice(0,yr),Qe=Ne.slice(yr+1);if(Qe.length<6)throw new Error("Data must be at least 6 characters long");const rr=En.decode(Qe).slice(0,-6),Mr=Kn(cr,rr,_);if(!Qe.endsWith(Mr))throw new Error(`Invalid checksum in ${Ne}: expected "${Mr}"`);return{prefix:cr,words:rr}}return{encode:function Dt(Ne,Le,ur=90){if("string"!=typeof Ne)throw new Error("bech32.encode prefix should be string, not "+typeof Ne);if(!Array.isArray(Le)||Le.length&&"number"!=typeof Le[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof Le);const yr=Ne.length+7+Le.length;if(!1!==ur&&yr>ur)throw new TypeError(`Length ${yr} exceeds limit ${ur}`);return`${Ne=Ne.toLowerCase()}1${En.encode(Le)}${Kn(Ne,Le,_)}`},decode:Pt,decodeToBytes:function _e(Ne){const{prefix:Le,words:ur}=Pt(Ne,!1);return{prefix:Le,words:ur,bytes:j(ur)}},decodeUnsafe:ot(Pt),fromWords:j,fromWordsUnsafe:lt,toWords:Z}}const st=Xi("bech32");function Ps(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`positive integer expected, not ${v}`)}function Fs(v){if("boolean"!=typeof v)throw new Error(`boolean expected, not ${v}`)}function Va(v){return v instanceof Uint8Array||null!=v&&"object"==typeof v&&"Uint8Array"===v.constructor.name}function bn(v,..._){if(!Va(v))throw new Error("Uint8Array expected");if(_.length>0&&!_.includes(v.length))throw new Error(`Uint8Array expected of length ${_}, not of length=${v.length}`)}function ka(v,_=!0){if(v.destroyed)throw new Error("Hash instance has been destroyed");if(_&&v.finished)throw new Error("Hash#digest() has already been called")}function ps(v,_){bn(v);const A=_.outputLen;if(v.length{if("string"!=typeof v||v.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof v} with length ${v.length}`);return v.toLowerCase()}));const en=v=>new Uint32Array(v.buffer,v.byteOffset,Math.floor(v.byteLength/4)),ea=v=>new DataView(v.buffer,v.byteOffset,v.byteLength);if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function za(v){if("string"==typeof v)v=function Cc(v){if("string"!=typeof v)throw new Error("string expected, got "+typeof v);return new Uint8Array((new TextEncoder).encode(v))}(v);else{if(!Va(v))throw new Error("Uint8Array expected, got "+typeof v);v=v.slice()}return v}function Ea(v,_){if(v.length!==_.length)return!1;let A=0;for(let j=0;j(Object.assign(_,v),_);function ra(v,_,A,j){if("function"==typeof v.setBigUint64)return v.setBigUint64(_,A,j);const Z=BigInt(32),lt=BigInt(4294967295),Dt=Number(A>>Z<),Pt=Number(A<),_e=j?0:4;v.setUint32(_+(j?4:0),Dt,j),v.setUint32(_+_e,Pt,j)}const Ts=new Uint8Array(16),ci=en(Ts),Ms=(v,_,A,j)=>({s3:A<<31|j>>>1,s2:_<<31|A>>>1,s1:v<<31|_>>>1,s0:v>>>1^225<<24&-(1&j)}),Ca=v=>(v>>>0&255)<<24|(v>>>8&255)<<16|(v>>>16&255)<<8|v>>>24&255;class hs{constructor(_,A){this.blockLen=16,this.outputLen=16,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,bn(_=za(_),16);const j=ea(_);let Z=j.getUint32(0,!1),lt=j.getUint32(4,!1),Dt=j.getUint32(8,!1),Pt=j.getUint32(12,!1);const Qt=[];for(let cr=0;cr<128;cr++)Qt.push({s0:Ca(Z),s1:Ca(lt),s2:Ca(Dt),s3:Ca(Pt)}),({s0:Z,s1:lt,s2:Dt,s3:Pt}=Ms(Z,lt,Dt,Pt));const _e=(v=A||1024)>65536?8:v>1024?4:2;var v;if(![1,2,4,8].includes(_e))throw new Error(`ghash: wrong window size=${_e}, should be 2, 4 or 8`);this.W=_e;const Le=128/_e,ur=this.windowSize=2**_e,yr=[];for(let cr=0;cr>>_e-uo-1&1))continue;const{s0:Eo,s1:Fo,s2:Wo,s3:yn}=Qt[_e*cr+uo];rr^=Eo,Mr^=Fo,Tr^=Wo,oo^=yn}yr.push({s0:rr,s1:Mr,s2:Tr,s3:oo})}this.t=yr}_updateBlock(_,A,j,Z){_^=this.s0,A^=this.s1,j^=this.s2,Z^=this.s3;const{W:lt,t:Dt,windowSize:Pt}=this;let Qt=0,_e=0,Ne=0,Le=0;const ur=(1<>>8*Qe&255;for(let Mr=8/lt-1;Mr>=0;Mr--){const Tr=rr>>>lt*Mr&ur,{s0:oo,s1:uo,s2:Vo,s3:Eo}=Dt[yr*Pt+Tr];Qt^=oo,_e^=uo,Ne^=Vo,Le^=Eo,yr+=1}}this.s0=Qt,this.s1=_e,this.s2=Ne,this.s3=Le}update(_){_=za(_),ka(this);const A=en(_),j=Math.floor(_.length/16),Z=_.length%16;for(let lt=0;lt>>1|A,A=(1&Z)<<7}return v[0]^=225&-_,v}((_=za(_)).slice());super(j,A),j.fill(0)}update(_){_=za(_),ka(this);const A=en(_),j=_.length%16,Z=Math.floor(_.length/16);for(let lt=0;ltv(Z,j.length).update(za(j)).digest(),A=v(new Uint8Array(16),0);return _.outputLen=A.outputLen,_.blockLen=A.blockLen,_.create=(j,Z)=>v(j,Z),_}gs((v,_)=>new hs(v,_)),gs((v,_)=>new mi(v,_)),new Uint8Array(16);const dc=283;function Dc(v){return v<<1^dc&-(v>>7)}function B(v,_){let A=0;for(;_>0;_>>=1)A^=v&-(1&_),v=Dc(v);return A}const kt=(()=>{let v=new Uint8Array(256);for(let A=0,j=1;A<256;A++,j^=Dc(j))v[A]=j;const _=new Uint8Array(256);_[0]=99;for(let A=0;A<255;A++){let j=v[255-A];j|=j<<8,_[v[A]]=255&(j^j>>4^j>>5^j>>6^j>>7^99)}return _})(),x=kt.map((v,_)=>kt.indexOf(_)),C=v=>v<<24|v>>>8,F=v=>v<<8|v>>>24;function pt(v,_){if(256!==v.length)throw new Error("Wrong sbox length");const A=new Uint32Array(256).map((_e,Ne)=>_(v[Ne])),j=A.map(F),Z=j.map(F),lt=Z.map(F),Dt=new Uint32Array(65536),Pt=new Uint32Array(65536),Qt=new Uint16Array(65536);for(let _e=0;_e<256;_e++)for(let Ne=0;Ne<256;Ne++){const Le=256*_e+Ne;Dt[Le]=A[_e]^j[Ne],Pt[Le]=Z[_e]^lt[Ne],Qt[Le]=v[_e]<<8|v[Ne]}return{sbox:v,sbox2:Qt,T0:A,T1:j,T2:Z,T3:lt,T01:Dt,T23:Pt}}const It=pt(kt,v=>B(v,3)<<24|v<<16|v<<8|B(v,2)),ce=pt(x,v=>B(v,11)<<24|B(v,13)<<16|B(v,9)<<8|B(v,14)),Be=(()=>{const v=new Uint8Array(16);for(let _=0,A=1;_<16;_++,A=Dc(A))v[_]=A;return v})();function je(v){bn(v);const _=v.length;if(![16,24,32].includes(_))throw new Error(`aes: wrong key size: should be 16, 24 or 32, got: ${_}`);const{sbox2:A}=It,j=en(v),Z=j.length,lt=Pt=>Rr(A,Pt,Pt,Pt,Pt),Dt=new Uint32Array(_+28);Dt.set(j);for(let Pt=Z;Pt6&&Pt%Z==4&&(Qt=lt(Qt)),Dt[Pt]=Dt[Pt-Z]^Qt}return Dt}function sr(v,_,A,j,Z,lt){return v[A<<8&65280|j>>>8&255]^_[Z>>>8&65280|lt>>>24&255]}function Rr(v,_,A,j,Z){return v[255&_|65280&A]|v[j>>>16&255|Z>>>16&65280]<<16}function ze(v,_,A,j,Z){const{sbox2:lt,T01:Dt,T23:Pt}=It;let Qt=0;_^=v[Qt++],A^=v[Qt++],j^=v[Qt++],Z^=v[Qt++];const _e=v.length/4-2;for(let cr=0;cr<_e;cr++){const Qe=v[Qt++]^sr(Dt,Pt,_,A,j,Z),rr=v[Qt++]^sr(Dt,Pt,A,j,Z,_),Mr=v[Qt++]^sr(Dt,Pt,j,Z,_,A),Tr=v[Qt++]^sr(Dt,Pt,Z,_,A,j);_=Qe,A=rr,j=Mr,Z=Tr}return{s0:v[Qt++]^Rr(lt,_,A,j,Z),s1:v[Qt++]^Rr(lt,A,j,Z,_),s2:v[Qt++]^Rr(lt,j,Z,_,A),s3:v[Qt++]^Rr(lt,Z,_,A,j)}}function nr(v,_,A,j,Z){const{sbox2:lt,T01:Dt,T23:Pt}=ce;let Qt=0;_^=v[Qt++],A^=v[Qt++],j^=v[Qt++],Z^=v[Qt++];const _e=v.length/4-2;for(let cr=0;cr<_e;cr++){const Qe=v[Qt++]^sr(Dt,Pt,_,Z,j,A),rr=v[Qt++]^sr(Dt,Pt,A,_,Z,j),Mr=v[Qt++]^sr(Dt,Pt,j,A,_,Z),Tr=v[Qt++]^sr(Dt,Pt,Z,j,A,_);_=Qe,A=rr,j=Mr,Z=Tr}return{s0:v[Qt++]^Rr(lt,_,Z,j,A),s1:v[Qt++]^Rr(lt,A,_,Z,j),s2:v[Qt++]^Rr(lt,j,A,_,Z),s3:v[Qt++]^Rr(lt,Z,j,A,_)}}function _r(v,_){if(!_)return new Uint8Array(v);if(bn(_),_.length{const Pt=je(_),{b:Qt,o:_e,out:Ne}=function fo(v,_,A){let j=v.length;const Z=j%16;if(!_&&0!==Z)throw new Error("aec/(cbc-ecb): unpadded plaintext with disabled padding");const lt=en(v);if(_){let Qt=16-Z;Qt||(Qt=16),j+=Qt}const Dt=_r(j,A);return{b:lt,o:en(Dt),out:Dt}}(lt,Z,Dt),Le=en(A);let ur=Le[0],yr=Le[1],cr=Le[2],Qe=Le[3],rr=0;for(;rr+4<=Qt.length;)ur^=Qt[rr+0],yr^=Qt[rr+1],cr^=Qt[rr+2],Qe^=Qt[rr+3],({s0:ur,s1:yr,s2:cr,s3:Qe}=ze(Pt,ur,yr,cr,Qe)),_e[rr++]=ur,_e[rr++]=yr,_e[rr++]=cr,_e[rr++]=Qe;if(Z){const Mr=function So(v){const _=new Uint8Array(16),A=en(_);_.set(v);const j=16-v.length;for(let Z=16-j;Z<16;Z++)_[Z]=j;return A}(lt.subarray(4*rr));ur^=Mr[0],yr^=Mr[1],cr^=Mr[2],Qe^=Mr[3],({s0:ur,s1:yr,s2:cr,s3:Qe}=ze(Pt,ur,yr,cr,Qe)),_e[rr++]=ur,_e[rr++]=yr,_e[rr++]=cr,_e[rr++]=Qe}return Pt.fill(0),Ne},decrypt:(lt,Dt)=>{!function Jr(v){if(bn(v),v.length%16!=0)throw new Error("aes/(cbc-ecb).decrypt ciphertext should consist of blocks with size 16")}(lt);const Pt=function Ze(v){const _=je(v),A=_.slice(),j=_.length,{sbox2:Z}=It,{T0:lt,T1:Dt,T2:Pt,T3:Qt}=ce;for(let _e=0;_e>>8&255]^Pt[Le>>>16&255]^Qt[Le>>>24]}return A}(_),Qt=en(A),_e=_r(lt.length,Dt),Ne=en(lt),Le=en(_e);let ur=Qt[0],yr=Qt[1],cr=Qt[2],Qe=Qt[3];for(let rr=0;rr+4<=Ne.length;){const Mr=ur,Tr=yr,oo=cr,uo=Qe;ur=Ne[rr+0],yr=Ne[rr+1],cr=Ne[rr+2],Qe=Ne[rr+3];const{s0:Vo,s1:Eo,s2:Fo,s3:Wo}=nr(Pt,ur,yr,cr,Qe);Le[rr++]=Vo^Mr,Le[rr++]=Eo^Tr,Le[rr++]=Fo^oo,Le[rr++]=Wo^uo}return Pt.fill(0),function jr(v,_){if(!_)return v;const A=v.length;if(!A)throw new Error("aes/pcks5: empty ciphertext not allowed");const j=v[A-1];if(j<=0||j>16)throw new Error(`aes/pcks5: wrong padding byte: ${j}`);const Z=v.subarray(0,-j);for(let lt=0;lt255&v[_++]|(255&v[_++])<<8;class wn{constructor(_){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,bn(_=za(_),32);const A=lo(_,0),j=lo(_,2),Z=lo(_,4),lt=lo(_,6),Dt=lo(_,8),Pt=lo(_,10),Qt=lo(_,12),_e=lo(_,14);this.r[0]=8191&A,this.r[1]=8191&(A>>>13|j<<3),this.r[2]=7939&(j>>>10|Z<<6),this.r[3]=8191&(Z>>>7|lt<<9),this.r[4]=255&(lt>>>4|Dt<<12),this.r[5]=Dt>>>1&8190,this.r[6]=8191&(Dt>>>14|Pt<<2),this.r[7]=8065&(Pt>>>11|Qt<<5),this.r[8]=8191&(Qt>>>8|_e<<8),this.r[9]=_e>>>5&127;for(let Ne=0;Ne<8;Ne++)this.pad[Ne]=lo(_,16+2*Ne)}process(_,A,j=!1){const Z=j?0:2048,{h:lt,r:Dt}=this,Pt=Dt[0],Qt=Dt[1],_e=Dt[2],Ne=Dt[3],Le=Dt[4],ur=Dt[5],yr=Dt[6],cr=Dt[7],Qe=Dt[8],rr=Dt[9],Mr=lo(_,A+0),Tr=lo(_,A+2),oo=lo(_,A+4),uo=lo(_,A+6),Vo=lo(_,A+8),Eo=lo(_,A+10),Fo=lo(_,A+12),Wo=lo(_,A+14);let yn=lt[0]+(8191&Mr),ln=lt[1]+(8191&(Mr>>>13|Tr<<3)),an=lt[2]+(8191&(Tr>>>10|oo<<6)),Yn=lt[3]+(8191&(oo>>>7|uo<<9)),Zn=lt[4]+(8191&(uo>>>4|Vo<<12)),Qn=lt[5]+(Vo>>>1&8191),so=lt[6]+(8191&(Vo>>>14|Eo<<2)),xo=lt[7]+(8191&(Eo>>>11|Fo<<5)),Zo=lt[8]+(8191&(Fo>>>8|Wo<<8)),nn=lt[9]+(Wo>>>5|Z),Ao=0,Sn=Ao+yn*Pt+ln*(5*rr)+an*(5*Qe)+Yn*(5*cr)+Zn*(5*yr);Ao=Sn>>>13,Sn&=8191,Sn+=Qn*(5*ur)+so*(5*Le)+xo*(5*Ne)+Zo*(5*_e)+nn*(5*Qt),Ao+=Sn>>>13,Sn&=8191;let $n=Ao+yn*Qt+ln*Pt+an*(5*rr)+Yn*(5*Qe)+Zn*(5*cr);Ao=$n>>>13,$n&=8191,$n+=Qn*(5*yr)+so*(5*ur)+xo*(5*Le)+Zo*(5*Ne)+nn*(5*_e),Ao+=$n>>>13,$n&=8191;let Fn=Ao+yn*_e+ln*Qt+an*Pt+Yn*(5*rr)+Zn*(5*Qe);Ao=Fn>>>13,Fn&=8191,Fn+=Qn*(5*cr)+so*(5*yr)+xo*(5*ur)+Zo*(5*Le)+nn*(5*Ne),Ao+=Fn>>>13,Fn&=8191;let Zi=Ao+yn*Ne+ln*_e+an*Qt+Yn*Pt+Zn*(5*rr);Ao=Zi>>>13,Zi&=8191,Zi+=Qn*(5*Qe)+so*(5*cr)+xo*(5*yr)+Zo*(5*ur)+nn*(5*Le),Ao+=Zi>>>13,Zi&=8191;let Ya=Ao+yn*Le+ln*Ne+an*_e+Yn*Qt+Zn*Pt;Ao=Ya>>>13,Ya&=8191,Ya+=Qn*(5*rr)+so*(5*Qe)+xo*(5*cr)+Zo*(5*yr)+nn*(5*ur),Ao+=Ya>>>13,Ya&=8191;let ns=Ao+yn*ur+ln*Le+an*Ne+Yn*_e+Zn*Qt;Ao=ns>>>13,ns&=8191,ns+=Qn*Pt+so*(5*rr)+xo*(5*Qe)+Zo*(5*cr)+nn*(5*yr),Ao+=ns>>>13,ns&=8191;let is=Ao+yn*yr+ln*ur+an*Le+Yn*Ne+Zn*_e;Ao=is>>>13,is&=8191,is+=Qn*Qt+so*Pt+xo*(5*rr)+Zo*(5*Qe)+nn*(5*cr),Ao+=is>>>13,is&=8191;let Za=Ao+yn*cr+ln*yr+an*ur+Yn*Le+Zn*Ne;Ao=Za>>>13,Za&=8191,Za+=Qn*_e+so*Qt+xo*Pt+Zo*(5*rr)+nn*(5*Qe),Ao+=Za>>>13,Za&=8191;let Zc=Ao+yn*Qe+ln*cr+an*yr+Yn*ur+Zn*Le;Ao=Zc>>>13,Zc&=8191,Zc+=Qn*Ne+so*_e+xo*Qt+Zo*Pt+nn*(5*rr),Ao+=Zc>>>13,Zc&=8191;let as=Ao+yn*rr+ln*Qe+an*cr+Yn*yr+Zn*ur;Ao=as>>>13,as&=8191,as+=Qn*Le+so*Ne+xo*_e+Zo*Qt+nn*Pt,Ao+=as>>>13,as&=8191,Ao=(Ao<<2)+Ao|0,Ao=Ao+Sn|0,Sn=8191&Ao,Ao>>>=13,$n+=Ao,lt[0]=Sn,lt[1]=$n,lt[2]=Fn,lt[3]=Zi,lt[4]=Ya,lt[5]=ns,lt[6]=is,lt[7]=Za,lt[8]=Zc,lt[9]=as}finalize(){const{h:_,pad:A}=this,j=new Uint16Array(10);let Z=_[1]>>>13;_[1]&=8191;for(let Pt=2;Pt<10;Pt++)_[Pt]+=Z,Z=_[Pt]>>>13,_[Pt]&=8191;_[0]+=5*Z,Z=_[0]>>>13,_[0]&=8191,_[1]+=Z,Z=_[1]>>>13,_[1]&=8191,_[2]+=Z,j[0]=_[0]+5,Z=j[0]>>>13,j[0]&=8191;for(let Pt=1;Pt<10;Pt++)j[Pt]=_[Pt]+Z,Z=j[Pt]>>>13,j[Pt]&=8191;j[9]-=8192;let lt=(1^Z)-1;for(let Pt=0;Pt<10;Pt++)j[Pt]&=lt;lt=~lt;for(let Pt=0;Pt<10;Pt++)_[Pt]=_[Pt]<|j[Pt];_[0]=65535&(_[0]|_[1]<<13),_[1]=65535&(_[1]>>>3|_[2]<<10),_[2]=65535&(_[2]>>>6|_[3]<<7),_[3]=65535&(_[3]>>>9|_[4]<<4),_[4]=65535&(_[4]>>>12|_[5]<<1|_[6]<<14),_[5]=65535&(_[6]>>>2|_[7]<<11),_[6]=65535&(_[7]>>>5|_[8]<<8),_[7]=65535&(_[8]>>>8|_[9]<<5);let Dt=_[0]+A[0];_[0]=65535&Dt;for(let Pt=1;Pt<8;Pt++)Dt=(_[Pt]+A[Pt]|0)+(Dt>>>16)|0,_[Pt]=65535&Dt}update(_){ka(this);const{buffer:A,blockLen:j}=this,Z=(_=za(_)).length;for(let lt=0;lt>>0,_[lt++]=j[Dt]>>>8;return _}digest(){const{buffer:_,outputLen:A}=this;this.digestInto(_);const j=_.slice(0,A);return this.destroy(),j}}const mo=function Pn(v){const _=(j,Z)=>v(Z).update(za(j)).digest(),A=v(new Uint8Array(32));return _.outputLen=A.outputLen,_.blockLen=A.blockLen,_.create=j=>v(j),_}(v=>new wn(v)),Ii=v=>Uint8Array.from(v.split("").map(_=>_.charCodeAt(0))),oa=Ii("expand 16-byte k"),Ui=Ii("expand 32-byte k"),bs=en(oa),ba=en(Ui);function Lo(v,_){return v<<_|v>>>32-_}function ui(v){return v.byteOffset%4==0}ba.slice();const la=2**32-1,$o=new Uint32Array;function Da(v,_){const{allowShortKeys:A,extendNonceFn:j,counterLength:Z,counterRight:lt,rounds:Dt}=function $s(v,_){if(null==_||"object"!=typeof _)throw new Error("options must be defined");return Object.assign(v,_)}({allowShortKeys:!1,counterLength:8,counterRight:!1,rounds:20},_);if("function"!=typeof v)throw new Error("core must be a function");return Ps(Z),Ps(Dt),Fs(lt),Fs(A),(Pt,Qt,_e,Ne,Le=0)=>{bn(Pt),bn(Qt),bn(_e);const ur=_e.length;if(Ne||(Ne=new Uint8Array(ur)),bn(Ne),Ps(Le),Le<0||Le>=la)throw new Error("arx: counter overflow");if(Ne.length=la)throw new Error("arx: counter overflow");const Qe=Math.min(64,Qt-cr);if(Le&&64===Qe){const rr=cr/4;if(cr%4!=0)throw new Error("arx: invalid block position");for(let Tr,Mr=0;Mr<16;Mr++)Tr=rr+Mr,yr[Tr]=ur[Tr]^Ne[Mr];cr+=64}else{for(let Mr,rr=0;rr0;)yr.pop().fill(0);return Ne}}function ws(v,_,A,j,Z,lt=20){let Dt=v[0],Pt=v[1],Qt=v[2],_e=v[3],Ne=_[0],Le=_[1],ur=_[2],yr=_[3],cr=_[4],Qe=_[5],rr=_[6],Mr=_[7],Tr=Z,oo=A[0],uo=A[1],Vo=A[2],Eo=Dt,Fo=Pt,Wo=Qt,yn=_e,ln=Ne,an=Le,Yn=ur,Zn=yr,Qn=cr,so=Qe,xo=rr,Zo=Mr,nn=Tr,Ao=oo,Sn=uo,$n=Vo;for(let Zi=0;Zi{v.update(_);const A=_.length%16;A&&v.update(xm.subarray(A))},_m=new Uint8Array(32);function N(v,_,A,j,Z){const lt=v(_,A,_m),Dt=mo.create(lt);Z&&Ho(Dt,Z),Ho(Dt,j);const Pt=new Uint8Array(16),Qt=ea(Pt);ra(Qt,0,BigInt(Z?Z.length:0),!0),ra(Qt,8,BigInt(j.length),!0),Dt.update(Pt);const _e=Dt.digest();return lt.fill(0),_e}const z=v=>(_,A,j)=>(bn(_,32),bn(A),{encrypt:(lt,Dt)=>{const Pt=lt.length,Qt=Pt+16;Dt?bn(Dt,Qt):Dt=new Uint8Array(Qt),v(_,A,lt,Dt,1);const _e=N(v,_,A,Dt.subarray(0,-16),j);return Dt.set(_e,Pt),Dt},decrypt:(lt,Dt)=>{const Pt=lt.length,Qt=Pt-16;if(Pt<16)throw new Error("encrypted data must be at least 16 bytes");Dt?bn(Dt,Qt):Dt=new Uint8Array(Qt);const _e=lt.subarray(0,-16);if(!Ea(lt.subarray(-16),N(v,_,A,_e,j)))throw new Error("invalid tag");return v(_,A,_e,Dt,1),Dt}});z(il),z(Pp);class mt extends Go.Vw{constructor(_,A){super(),this.finished=!1,this.destroyed=!1,On.hash(_);const j=(0,Go.ZJ)(A);if(this.iHash=_.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Z=this.blockLen,lt=new Uint8Array(Z);lt.set(j.length>Z?_.create().update(j).digest():j);for(let Dt=0;Dtnew mt(v,_).update(A).digest();Wt.create=(v,_)=>new mt(v,_);const Sr=new Uint8Array([0]),pr=new Uint8Array;var xn=Object.defineProperty,fn=(v,_)=>{for(var A in _)xn(v,A,{get:_[A],enumerable:!0})},Sa=Symbol("verified"),Aa=v=>v instanceof Object;function Os(v){if(!Aa(v)||"number"!=typeof v.kind||"string"!=typeof v.content||"number"!=typeof v.created_at||"string"!=typeof v.pubkey||!v.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(v.tags))return!1;for(let _=0;_Ys,QueueNode:()=>$p,binarySearch:()=>nd,insertEventIntoAscendingList:()=>jg,insertEventIntoDescendingList:()=>Up,normalizeURL:()=>al,utf8Decoder:()=>Xs,utf8Encoder:()=>Ka});var Xs=new TextDecoder("utf-8"),Ka=new TextEncoder;function al(v){-1===v.indexOf("://")&&(v="wss://"+v);let _=new URL(v);return _.pathname=_.pathname.replace(/\/+/g,"/"),_.pathname.endsWith("/")&&(_.pathname=_.pathname.slice(0,-1)),("80"===_.port&&"ws:"===_.protocol||"443"===_.port&&"wss:"===_.protocol)&&(_.port=""),_.searchParams.sort(),_.hash="",_.toString()}function Up(v,_){const[A,j]=nd(v,Z=>_.id===Z.id?0:_.created_at===Z.created_at?-1:Z.created_at-_.created_at);return j||v.splice(A,0,_),v}function jg(v,_){const[A,j]=nd(v,Z=>_.id===Z.id?0:_.created_at===Z.created_at?-1:_.created_at-Z.created_at);return j||v.splice(A,0,_),v}function nd(v,_){let A=0,j=v.length-1;for(;A<=j;){const Z=Math.floor((A+j)/2),lt=_(v[Z]);if(0===lt)return[Z,!0];lt<0?j=Z-1:A=Z+1}return[A,!1]}var $p=class{value;next=null;prev=null;constructor(v){this.value=v}},Ys=class{first;last;constructor(){this.first=null,this.last=null}enqueue(v){const _=new $p(v);return this.last?this.last===this.first?(this.last=_,this.last.prev=this.first,this.first.next=_):(_.prev=this.last,this.last.next=_,this.last=_):(this.first=_,this.last=_),!0}dequeue(){if(!this.first)return null;if(this.first===this.last){const _=this.first;return this.first=null,this.last=null,_.value}const v=this.first;return this.first=v.next,v.value}};function Gn(v){let _=wi(Ka.encode(function Vp(v){if(!Os(v))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,v.pubkey,v.created_at,v.kind,v.tags,v.content])}(v)));return(0,Go.My)(_)}var Cl=new class{generateSecretKey(){return qi.utils.randomPrivateKey()}getPublicKey(v){return(0,Go.My)(qi.getPublicKey(v))}finalizeEvent(v,_){const A=v;return A.pubkey=(0,Go.My)(qi.getPublicKey(_)),A.id=Gn(A),A.sig=(0,Go.My)(qi.sign(Gn(A),_)),A[Sa]=!0,A}verifyEvent(v){if("boolean"==typeof v[Sa])return v[Sa];const _=Gn(v);if(_!==v.id)return v[Sa]=!1,!1;try{const A=qi.verify(v.sig,_,v.pubkey);return v[Sa]=A,A}catch{return v[Sa]=!1,!1}}},Dl=Cl.generateSecretKey,Ta=Cl.getPublicKey,Zs=Cl.finalizeEvent,Sc=Cl.verifyEvent;function vs(v){return 1e3<=v&&v<1e4||[1,2,4,5,6,7,8,16,40,41,42,43,44].includes(v)}function Nu(v){return[0,3].includes(v)||1e4<=v&&v<2e4}function Qs(v){return 2e4<=v&&v<3e4}function Md(v){return 3e4<=v&&v<4e4}function xs(v){return vs(v)?"regular":Nu(v)?"replaceable":Qs(v)?"ephemeral":Md(v)?"parameterized":"unknown"}function Od(v,_){const A=_ instanceof Array?_:[_];return Os(v)&&A.includes(v.kind)||!1}fn({},{Application:()=>th,BadgeAward:()=>gn,BadgeDefinition:()=>Jp,BlockedRelaysList:()=>ga,BookmarkList:()=>Kp,Bookmarksets:()=>ld,Calendar:()=>cl,CalendarEventRSVP:()=>Il,ChannelCreation:()=>zp,ChannelHideMessage:()=>Fd,ChannelMessage:()=>Pd,ChannelMetadata:()=>Vg,ChannelMuteUser:()=>ad,ClassifiedListing:()=>rh,ClientAuth:()=>Gp,CommunitiesList:()=>zd,CommunityDefinition:()=>zu,CommunityPostApproval:()=>Uu,Contacts:()=>Lu,CreateOrUpdateProduct:()=>wa,CreateOrUpdateStall:()=>Wd,Curationsets:()=>Qp,Date:()=>dd,DirectMessageRelaysList:()=>Tc,DraftClassifiedListing:()=>oh,DraftLong:()=>Ni,Emojisets:()=>Kd,EncryptedDirectMessage:()=>Al,EventDeletion:()=>Nd,FileMetadata:()=>Wp,FileServerPreference:()=>Hg,Followsets:()=>km,GenericRepost:()=>Fu,Genericlists:()=>Wg,GiftWrap:()=>Hp,HTTPAuth:()=>cd,Handlerinformation:()=>ll,Handlerrecommendation:()=>Ol,Highlights:()=>jd,InterestsList:()=>Hd,Interestsets:()=>Ml,JobFeedback:()=>$d,JobRequest:()=>Ud,JobResult:()=>Xn,Label:()=>Dn,LightningPubRPC:()=>Vu,LiveChatMessage:()=>zg,LiveEvent:()=>eh,LongFormArticle:()=>Vc,Metadata:()=>Rd,Mutelist:()=>tc,NWCWalletInfo:()=>ks,NWCWalletRequest:()=>sd,NWCWalletResponse:()=>Xp,NostrConnect:()=>Yp,OpenTimestamps:()=>sl,Pinlist:()=>Tl,PrivateDirectMessage:()=>Pu,ProblemTracker:()=>Bu,ProfileBadges:()=>qp,PublicChatsList:()=>ju,Reaction:()=>js,RecommendRelay:()=>id,RelayList:()=>Vd,Relaysets:()=>Zp,Report:()=>Bd,Reporting:()=>Nr,Repost:()=>qs,Seal:()=>Ld,SearchRelaysList:()=>Ac,ShortTextNote:()=>_s,Time:()=>pc,UserEmojiList:()=>uc,UserStatuses:()=>Kg,Zap:()=>$u,ZapGoal:()=>jc,ZapRequest:()=>Js,classifyKind:()=>xs,isEphemeralKind:()=>Qs,isKind:()=>Od,isParameterizedReplaceableKind:()=>Md,isRegularKind:()=>vs,isReplaceableKind:()=>Nu});var Rd=0,_s=1,id=2,Lu=3,Al=4,Nd=5,qs=6,js=7,gn=8,Ld=13,Pu=14,Fu=16,zp=40,Vg=41,Pd=42,Fd=43,ad=44,sl=1040,Hp=1059,Wp=1063,zg=1311,Bu=1971,Bd=1984,Nr=1984,Dn=1985,Uu=4550,Ud=5999,Xn=6999,$d=7e3,jc=9041,Js=9734,$u=9735,jd=9802,tc=1e4,Tl=10001,Vd=10002,Kp=10003,zd=10004,ju=10005,ga=10006,Ac=10007,Hd=10015,uc=10030,Tc=10050,Hg=10096,ks=13194,Vu=21e3,Gp=22242,sd=23194,Xp=23195,Yp=24133,cd=27235,km=3e4,Wg=30001,Zp=30002,ld=30003,Qp=30004,qp=30008,Jp=30009,Ml=30015,Wd=30017,wa=30018,Vc=30023,Ni=30024,Kd=30030,th=30078,eh=30311,Kg=30315,rh=30402,oh=30403,dd=31922,pc=31923,cl=31924,Il=31925,Ol=31989,ll=31990,zu=34550;function nh(v,_){if(v.ids&&-1===v.ids.indexOf(_.id)||v.kinds&&-1===v.kinds.indexOf(_.kind)||v.authors&&-1===v.authors.indexOf(_.pubkey))return!1;for(let A in v)if("#"===A[0]){let Z=v[`#${A.slice(1)}`];if(Z&&!_.tags.find(([lt,Dt])=>lt===A.slice(1)&&-1!==Z.indexOf(Dt)))return!1}return!(v.since&&_.created_atv.until)}function Gd(v,_){let A=_.length+3,j=v.indexOf(`"${_}":`)+A,Z=v.slice(j).indexOf('"')+j+1;return v.slice(Z,Z+64)}function ul(v,_){let A=_.length,j=v.indexOf(`"${_}":`)+A+3,Z=v.slice(j),lt=Math.min(Z.indexOf(","),Z.indexOf("}"));return parseInt(Z.slice(0,lt),10)}function pd(v){let _=v.slice(0,22).indexOf('"EVENT"');if(-1===_)return null;let A=v.slice(_+7+1).indexOf('"');if(-1===A)return null;let j=_+7+1+A,Z=v.slice(j+1,80).indexOf('"');return-1===Z?null:v.slice(j+1,j+1+Z)}function Xd(v,_){return _===Gd(v,"id")}function Gg(v,_){return _===Gd(v,"pubkey")}function ah(v,_){return _===ul(v,"kind")}function sh(v,_){return{kind:Gp,created_at:Math.floor(Date.now()/1e3),tags:[["relay",v],["challenge",_]],content:""}}function hd(){return hc.apply(this,arguments)}function hc(){return(hc=(0,s.A)(function*(){return new Promise(v=>{const _=new MessageChannel,A=()=>{_.port1.removeEventListener("message",A),v()};_.port1.addEventListener("message",A),_.port2.postMessage(0),_.port1.start()})})).apply(this,arguments)}fn({},{getHex64:()=>Gd,getInt:()=>ul,getSubscriptionId:()=>pd,matchEventId:()=>Xd,matchEventKind:()=>ah,matchEventPubkey:()=>Gg}),fn({},{makeAuthEvent:()=>sh});var ch=v=>(v[Sa]=!0,!0),pl=class{url;_connected=!1;onclose=null;onnotice=v=>console.debug(`NOTICE from ${this.url}: ${v}`);_onauth=null;baseEoseTimeout=4400;connectionTimeout=4400;openSubs=new Map;connectionTimeoutHandle;connectionPromise;openCountRequests=new Map;openEventPublishes=new Map;ws;incomingMessageQueue=new Ys;queueRunning=!1;challenge;serial=0;verifyEvent;_WebSocket;constructor(v,_){this.url=al(v),this.verifyEvent=_.verifyEvent,this._WebSocket=_.websocketImplementation||WebSocket}static connect(v,_){return(0,s.A)(function*(){const A=new pl(v,_);return yield A.connect(),A})()}closeAllSubscriptions(v){for(let[_,A]of this.openSubs)A.close(v);this.openSubs.clear();for(let[_,A]of this.openEventPublishes)A.reject(new Error(v));this.openEventPublishes.clear();for(let[_,A]of this.openCountRequests)A.reject(new Error(v));this.openCountRequests.clear()}get connected(){return this._connected}connect(){var v=this;return(0,s.A)(function*(){return v.connectionPromise||(v.challenge=void 0,v.connectionPromise=new Promise((_,A)=>{v.connectionTimeoutHandle=setTimeout(()=>{A("connection timed out"),v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection timed out")},v.connectionTimeout);try{v.ws=new v._WebSocket(v.url)}catch(j){return void A(j)}v.ws.onopen=()=>{clearTimeout(v.connectionTimeoutHandle),v._connected=!0,_()},v.ws.onerror=j=>{A(j.message||"websocket error"),v._connected&&(v._connected=!1,v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection errored"))},v.ws.onclose=(0,s.A)(function*(){v._connected&&(v._connected=!1,v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection closed"))}),v.ws.onmessage=v._onmessage.bind(v)})),v.connectionPromise})()}runQueue(){var v=this;return(0,s.A)(function*(){for(v.queueRunning=!0;!1!==v.handleNext();)yield hd();v.queueRunning=!1})()}handleNext(){const v=this.incomingMessageQueue.dequeue();if(!v)return!1;const _=pd(v);if(_){const A=this.openSubs.get(_);if(!A)return;const j=Gd(v,"id"),Z=A.alreadyHaveEvent?.(j);if(A.receivedEvent?.(this,j),Z)return}try{let A=JSON.parse(v);switch(A[0]){case"EVENT":{const j=this.openSubs.get(A[1]),Z=A[2];return void(this.verifyEvent(Z)&&function ih(v,_){for(let A=0;A{_.ws?.send(v)})})()}auth(v){var _=this;return(0,s.A)(function*(){if(!_.challenge)throw new Error("can't perform auth, no challenge was received");const A=yield v(sh(_.url,_.challenge)),j=new Promise((Z,lt)=>{_.openEventPublishes.set(A.id,{resolve:Z,reject:lt})});return _.send('["AUTH",'+JSON.stringify(A)+"]"),j})()}publish(v){var _=this;return(0,s.A)(function*(){const A=new Promise((j,Z)=>{_.openEventPublishes.set(v.id,{resolve:j,reject:Z})});return _.send('["EVENT",'+JSON.stringify(v)+"]"),A})()}count(v,_){var A=this;return(0,s.A)(function*(){A.serial++;const j=_?.id||"count:"+A.serial,Z=new Promise((lt,Dt)=>{A.openCountRequests.set(j,{resolve:lt,reject:Dt})});return A.send('["COUNT","'+j+'",'+JSON.stringify(v).substring(1)),Z})()}subscribe(v,_){const A=this.prepareSubscription(v,_);return A.fire(),A}prepareSubscription(v,_){this.serial++;const A=_.id||"sub:"+this.serial,j=new lh(this,A,v,_);return this.openSubs.set(A,j),j}close(){this.closeAllSubscriptions("relay connection closed by us"),this._connected=!1,this.ws?.close()}_onmessage(v){this.incomingMessageQueue.enqueue(v.data),this.queueRunning||this.runQueue()}},lh=class{relay;id;closed=!1;eosed=!1;filters;alreadyHaveEvent;receivedEvent;onevent;oneose;onclose;eoseTimeout;eoseTimeoutHandle;constructor(v,_,A,j){this.relay=v,this.filters=A,this.id=_,this.alreadyHaveEvent=j.alreadyHaveEvent,this.receivedEvent=j.receivedEvent,this.eoseTimeout=j.eoseTimeout||v.baseEoseTimeout,this.oneose=j.oneose,this.onclose=j.onclose,this.onevent=j.onevent||(Z=>{console.warn(`onevent() callback not defined for subscription '${this.id}' in relay ${this.relay.url}. event received:`,Z)})}fire(){this.relay.send('["REQ","'+this.id+'",'+JSON.stringify(this.filters).substring(1)),this.eoseTimeoutHandle=setTimeout(this.receivedEose.bind(this),this.eoseTimeout)}receivedEose(){this.eosed||(clearTimeout(this.eoseTimeoutHandle),this.eosed=!0,this.oneose?.())}close(v="closed by caller"){!this.closed&&this.relay.connected&&(this.relay.send('["CLOSE",'+JSON.stringify(this.id)+"]"),this.closed=!0),this.relay.openSubs.delete(this.id),this.onclose?.(v)}};try{WebSocket}catch{}var gd,Hu=class{relays=new Map;seenOn=new Map;trackRelays=!1;verifyEvent;trustedRelayURLs=new Set;_WebSocket;constructor(v){this.verifyEvent=v.verifyEvent,this._WebSocket=v.websocketImplementation}ensureRelay(v,_){var A=this;return(0,s.A)(function*(){v=al(v);let j=A.relays.get(v);return j||(j=new pl(v,{verifyEvent:A.trustedRelayURLs.has(v)?ch:A.verifyEvent,websocketImplementation:A._WebSocket}),_?.connectionTimeout&&(j.connectionTimeout=_.connectionTimeout),A.relays.set(v,j)),yield j.connect(),j})()}close(v){v.map(al).forEach(_=>{this.relays.get(_)?.close()})}subscribeMany(v,_,A){return this.subscribeManyMap(Object.fromEntries(v.map(j=>[j,_])),A)}subscribeManyMap(v,_){var A=this;this.trackRelays&&(_.receivedEvent=(ur,yr)=>{let cr=this.seenOn.get(yr);cr||(cr=new Set,this.seenOn.set(yr,cr)),cr.add(ur)});const j=new Set,Z=[],lt=Object.keys(v).length,Dt=[];let Pt=ur=>{Dt[ur]=!0,Dt.filter(yr=>yr).length===lt&&(_.oneose?.(),Pt=()=>{})};const Qt=[];let _e=(ur,yr)=>{Pt(ur),Qt[ur]=yr,Qt.filter(cr=>cr).length===lt&&(_.onclose?.(Qt),_e=()=>{})};const Ne=ur=>{if(_.alreadyHaveEvent?.(ur))return!0;const yr=j.has(ur);return j.add(ur),yr},Le=Promise.all(Object.entries(v).map(function(){var ur=(0,s.A)(function*(yr,cr,Qe){if(Qe.indexOf(yr)!==cr)return void _e(cr,"duplicate url");let Tr,[rr,Mr]=yr;rr=al(rr);try{Tr=yield A.ensureRelay(rr,{connectionTimeout:_.maxWait?Math.max(.8*_.maxWait,_.maxWait-1e3):void 0})}catch(uo){return void _e(cr,uo?.message||String(uo))}let oo=Tr.subscribe(Mr,{..._,oneose:()=>Pt(cr),onclose:uo=>_e(cr,uo),alreadyHaveEvent:Ne,eoseTimeout:_.maxWait});Z.push(oo)});return function(yr,cr,Qe){return ur.apply(this,arguments)}}()));return{close:()=>(0,s.A)(function*(){yield Le,Z.forEach(ur=>{ur.close()})})()}}subscribeManyEose(v,_,A){const j=this.subscribeMany(v,_,{...A,oneose(){j.close()}});return j}querySync(v,_,A){var j=this;return(0,s.A)(function*(){return new Promise(function(){var Z=(0,s.A)(function*(lt){const Dt=[];j.subscribeManyEose(v,[_],{...A,onevent(Pt){Dt.push(Pt)},onclose(Pt){lt(Dt)}})});return function(lt){return Z.apply(this,arguments)}}())})()}get(v,_,A){var j=this;return(0,s.A)(function*(){_.limit=1;const Z=yield j.querySync(v,_,A);return Z.sort((lt,Dt)=>Dt.created_at-lt.created_at),Z[0]||null})()}publish(v,_){var A=this;return v.map(al).map(function(){var j=(0,s.A)(function*(Z,lt,Dt){if(Dt.indexOf(Z)!==lt)return Promise.reject("duplicate url");let Pt=yield A.ensureRelay(Z);return Pt.publish(_).then(Qt=>{if(A.trackRelays){let _e=A.seenOn.get(_.id);_e||(_e=new Set,A.seenOn.set(_.id,_e)),_e.add(Pt)}return Qt})});return function(Z,lt,Dt){return j.apply(this,arguments)}}())}listConnectionStatus(){const v=new Map;return this.relays.forEach((_,A)=>v.set(A,_.connected)),v}destroy(){this.relays.forEach(v=>v.close()),this.relays=new Map}};try{gd=WebSocket}catch{}var Yg=class extends Hu{constructor(){super({verifyEvent:Sc,websocketImplementation:gd})}},Wu={};fn(Wu,{BECH32_REGEX:()=>ec,Bech32MaxSize:()=>Yd,NostrTypeGuard:()=>dh,decode:()=>zc,encodeBytes:()=>es,naddrEncode:()=>tu,neventEncode:()=>Nl,noteEncode:()=>Qd,nprofileEncode:()=>Jd,npubEncode:()=>Zd,nsecEncode:()=>uh});var dh={isNProfile:v=>/^nprofile1[a-z\d]+$/.test(v||""),isNEvent:v=>/^nevent1[a-z\d]+$/.test(v||""),isNAddr:v=>/^naddr1[a-z\d]+$/.test(v||""),isNSec:v=>/^nsec1[a-z\d]{58}$/.test(v||""),isNPub:v=>/^npub1[a-z\d]{58}$/.test(v||""),isNote:v=>/^note1[a-z\d]+$/.test(v||""),isNcryptsec:v=>/^ncryptsec1[a-z\d]+$/.test(v||"")},Yd=5e3,ec=/[\x21-\x7E]{1,83}1[023456789acdefghjklmnpqrstuvwxyz]{6,}/;function zc(v){let{prefix:_,words:A}=st.decode(v,Yd),j=new Uint8Array(st.fromWords(A));switch(_){case"nprofile":{let Z=fd(j);if(!Z[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==Z[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:(0,Go.My)(Z[0][0]),relays:Z[1]?Z[1].map(lt=>Xs.decode(lt)):[]}}}case"nevent":{let Z=fd(j);if(!Z[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==Z[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(Z[2]&&32!==Z[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(Z[3]&&4!==Z[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"nevent",data:{id:(0,Go.My)(Z[0][0]),relays:Z[1]?Z[1].map(lt=>Xs.decode(lt)):[],author:Z[2]?.[0]?(0,Go.My)(Z[2][0]):void 0,kind:Z[3]?.[0]?parseInt((0,Go.My)(Z[3][0]),16):void 0}}}case"naddr":{let Z=fd(j);if(!Z[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!Z[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==Z[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!Z[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==Z[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:Xs.decode(Z[0][0]),pubkey:(0,Go.My)(Z[2][0]),kind:parseInt((0,Go.My)(Z[3][0]),16),relays:Z[1]?Z[1].map(lt=>Xs.decode(lt)):[]}}}case"nsec":return{type:_,data:j};case"npub":case"note":return{type:_,data:(0,Go.My)(j)};default:throw new Error(`unknown prefix ${_}`)}}function fd(v){let _={},A=v;for(;A.length>0;){let j=A[0],Z=A[1],lt=A.slice(2,2+Z);if(A=A.slice(2+Z),lt.lengthKa.encode(A))}))}function Nl(v){let _;return void 0!==v.kind&&(_=function Ku(v){const _=new Uint8Array(4);return _[0]=v>>24&255,_[1]=v>>16&255,_[2]=v>>8&255,_[3]=255&v,_}(v.kind)),qd("nevent",Gu({0:[(0,Go.aT)(v.id)],1:(v.relays||[]).map(j=>Ka.encode(j)),2:v.author?[(0,Go.aT)(v.author)]:[],3:_?[new Uint8Array(_)]:[]}))}function tu(v){let _=new ArrayBuffer(4);return new DataView(_).setUint32(0,v.kind,!1),qd("naddr",Gu({0:[Ka.encode(v.identifier)],1:(v.relays||[]).map(j=>Ka.encode(j)),2:[(0,Go.aT)(v.pubkey)],3:[new Uint8Array(_)]}))}function Gu(v){let _=[];return Object.entries(v).reverse().forEach(([A,j])=>{j.forEach(Z=>{let lt=new Uint8Array(Z.length+2);lt.set([parseInt(A)],0),lt.set([Z.length],1),lt.set(Z,2),_.push(lt)})}),(0,Go.Id)(..._)}var ph={};function Xu(v,_,A){return hl.apply(this,arguments)}function hl(){return(hl=(0,s.A)(function*(v,_,A){const j=v instanceof Uint8Array?(0,Go.My)(v):v,lt=na(ko.getSharedSecret(j,"02"+_));let Dt=Uint8Array.from((0,Go.po)(16)),Pt=Ka.encode(A),Qt=Yr(lt,Dt).encrypt(Pt);return`${jo.encode(new Uint8Array(Qt))}?iv=${jo.encode(new Uint8Array(Dt.buffer))}`})).apply(this,arguments)}function Ll(v,_,A){return Mc.apply(this,arguments)}function Mc(){return(Mc=(0,s.A)(function*(v,_,A){const j=v instanceof Uint8Array?(0,Go.My)(v):v;let[Z,lt]=A.split("?iv="),Pt=na(ko.getSharedSecret(j,"02"+_)),Qt=jo.decode(lt),_e=jo.decode(Z),Ne=Yr(Pt,Qt).decrypt(_e);return Xs.decode(Ne)})).apply(this,arguments)}function na(v){return v.slice(1,33)}fn(ph,{decrypt:()=>Ll,encrypt:()=>Xu}),fn({},{NIP05_REGEX:()=>rs,isNip05:()=>Wc,isValid:()=>nu,queryProfile:()=>ou,searchDomain:()=>md,useFetchImplementation:()=>gh});var ru,rs=/^(?:([\w.+-]+)@)?([\w_-]+(\.[\w_-]+)+)$/,Wc=v=>rs.test(v||"");try{ru=fetch}catch{}function gh(v){ru=v}function md(v){return Yu.apply(this,arguments)}function Yu(){return(Yu=(0,s.A)(function*(v,_=""){try{const A=`https://${v}/.well-known/nostr.json?name=${_}`;return(yield(yield ru(A,{redirect:"error"})).json()).names}catch{return{}}})).apply(this,arguments)}function ou(v){return Ic.apply(this,arguments)}function Ic(){return(Ic=(0,s.A)(function*(v){const _=v.match(rs);if(!_)return null;const[A,j="_",Z]=_;try{const lt=`https://${Z}/.well-known/nostr.json?name=${j}`,Dt=yield(yield ru(lt,{redirect:"error"})).json();let Pt=Dt.names[j];return Pt?{pubkey:Pt,relays:Dt.relays?.[Pt]}:null}catch{return null}})).apply(this,arguments)}function nu(v,_){return Kc.apply(this,arguments)}function Kc(){return(Kc=(0,s.A)(function*(v,_){let A=yield ou(_);return!!A&&A.pubkey===v})).apply(this,arguments)}function Zg(v){const _={reply:void 0,root:void 0,mentions:[],profiles:[]},A=[];for(const j of v.tags)"e"===j[0]&&j[1]&&A.push(j),"p"===j[0]&&j[1]&&_.profiles.push({pubkey:j[1],relays:j[2]?[j[2]]:[]});for(let j=0;jZg}),fn({},{fetchRelayInformation:()=>Qg,useFetchImplementation:()=>Dm});try{fetch}catch{}function Dm(v){}function Qg(v){return Pl.apply(this,arguments)}function Pl(){return(Pl=(0,s.A)(function*(v){return yield(yield fetch(v.replace("ws://","http://").replace("wss://","https://"),{headers:{Accept:"application/nostr+json"}})).json()})).apply(this,arguments)}function bh(v){let _=0;for(let A=0;A<64;A+=8){const j=parseInt(v.substring(A,A+8),16);if(0!==j){_+=Math.clz32(j);break}_+=32}return _}function wh(v,_){let A=0;const j=v,Z=["nonce",A.toString(),_.toString()];for(j.tags.push(Z);;){const lt=Math.floor((new Date).getTime()/1e3);if(lt!==j.created_at&&(A=0,j.created_at=lt),Z[1]=(++A).toString(),j.id=Qu(j),bh(j.id)>=_)break}return j}function Qu(v){return(0,Go.My)(wi(Ka.encode(JSON.stringify([0,v.pubkey,v.created_at,v.kind,v.tags,v.content]))))}function Sm(v,_,A,j){return Zs({kind:qs,tags:[...v.tags??[],["e",_.id,A],["p",_.pubkey]],content:""===v.content?"":JSON.stringify(_),created_at:v.created_at},j)}function yh(v){if(v.kind!==qs)return;let _,A;for(let j=v.tags.length-1;j>=0&&(void 0===_||void 0===A);j--){const Z=v.tags[j];Z.length>=2&&("e"===Z[0]&&void 0===_?_=Z:"p"===Z[0]&&void 0===A&&(A=Z))}return void 0!==_?{id:_[1],relays:[_[2],A?.[2]].filter(j=>"string"==typeof j),author:A?.[1]}:void 0}function Am(v,{skipVerification:_}={}){const A=yh(v);if(void 0===A||""===v.content)return;let j;try{j=JSON.parse(v.content)}catch{return}return j.id===A.id&&(_||Sc(j))?j:void 0}fn({},{fastEventHash:()=>Qu,getPow:()=>bh,minePow:()=>wh}),fn({},{finishRepostEvent:()=>Sm,getRepostedEvent:()=>Am,getRepostedEventPointer:()=>yh}),fn({},{NOSTR_URI_REGEX:()=>au,parse:()=>xh,test:()=>qu});var au=new RegExp(`nostr:(${ec.source})`);function qu(v){return"string"==typeof v&&new RegExp(`^${au.source}$`).test(v)}function xh(v){const _=v.match(new RegExp(`^${au.source}$`));if(!_)throw new Error(`Invalid Nostr URI: ${v}`);return{uri:_[0],value:_[1],decoded:zc(_[1])}}function qg(v,_,A){const j=_.tags.filter(Z=>Z.length>=2&&("e"===Z[0]||"p"===Z[0]));return Zs({...v,kind:js,tags:[...v.tags??[],...j,["e",_.id],["p",_.pubkey]],content:v.content??"+"},A)}function Tm(v){if(v.kind!==js)return;let _,A;for(let j=v.tags.length-1;j>=0&&(void 0===_||void 0===A);j--){const Z=v.tags[j];Z.length>=2&&("e"===Z[0]&&void 0===_?_=Z:"p"===Z[0]&&void 0===A&&(A=Z))}return void 0!==_&&void 0!==A?{id:_[1],relays:[_[2],A[2]].filter(j=>void 0!==j),author:A[1]}:void 0}fn({},{finishReactionEvent:()=>qg,getReactedEventPointer:()=>Tm}),fn({},{matchAll:()=>bd,regex:()=>cu,replaceAll:()=>gc});var cu=()=>new RegExp(`\\b${au.source}\\b`,"g");function*bd(v){const _=v.matchAll(cu());for(const A of _)try{const[j,Z]=A;yield{uri:j,value:Z,decoded:zc(Z),start:A.index,end:A.index+j.length}}catch{}}function gc(v,_){return v.replaceAll(cu(),(A,j)=>_({uri:A,value:j,decoded:zc(j)}))}fn({},{channelCreateEvent:()=>_h,channelHideMessageEvent:()=>Gc,channelMessageEvent:()=>Bw,channelMetadataEvent:()=>gl,channelMuteUserEvent:()=>Bl});var _h=(v,_)=>{let A;if("object"==typeof v.content)A=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;A=v.content}return Zs({kind:zp,tags:[...v.tags??[]],content:A,created_at:v.created_at},_)},gl=(v,_)=>{let A;if("object"==typeof v.content)A=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;A=v.content}return Zs({kind:Vg,tags:[["e",v.channel_create_event_id],...v.tags??[]],content:A,created_at:v.created_at},_)},Bw=(v,_)=>{const A=[["e",v.channel_create_event_id,v.relay_url,"root"]];return v.reply_to_channel_message_event_id&&A.push(["e",v.reply_to_channel_message_event_id,v.relay_url,"reply"]),Zs({kind:Pd,tags:[...A,...v.tags??[]],content:v.content,created_at:v.created_at},_)},Gc=(v,_)=>{let A;if("object"==typeof v.content)A=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;A=v.content}return Zs({kind:Fd,tags:[["e",v.channel_message_event_id],...v.tags??[]],content:A,created_at:v.created_at},_)},Bl=(v,_)=>{let A;if("object"==typeof v.content)A=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;A=v.content}return Zs({kind:ad,tags:[["p",v.pubkey_to_mute],...v.tags??[]],content:A,created_at:v.created_at},_)};fn({},{EMOJI_SHORTCODE_REGEX:()=>$i,matchAll:()=>du,regex:()=>lu,replaceAll:()=>kh});var wd,$i=/:(\w+):/,lu=()=>new RegExp(`\\B${$i.source}\\B`,"g");function*du(v){const _=v.matchAll(lu());for(const A of _)try{const[j,Z]=A;yield{shortcode:j,name:Z,start:A.index,end:A.index+j.length}}catch{}}function kh(v,_){return v.replaceAll(lu(),(A,j)=>_({shortcode:A,name:j}))}fn({},{useFetchImplementation:()=>Ju,validateGithub:()=>Eh});try{wd=fetch}catch{}function Ju(v){wd=v}function Eh(v,_,A){return yd.apply(this,arguments)}function yd(){return(yd=(0,s.A)(function*(v,_,A){try{return(yield(yield wd(`https://gist.github.com/${_}/${A}/raw`)).text())===`Verifying that I control the following Nostr public key: ${v}`}catch{return!1}})).apply(this,arguments)}fn({},{decrypt:()=>Sh,encrypt:()=>Dh,getConversationKey:()=>$l,v2:()=>Oc});var Ul=1,tp=65535;function $l(v,_){const A=ko.getSharedSecret(v,"02"+_).subarray(1,33);return function Te(v,_,A){return On.hash(v),void 0===A&&(A=new Uint8Array(v.outputLen)),Wt(v,(0,Go.ZJ)(A),(0,Go.ZJ)(_))}(wi,A,"nip44-v2")}function fc(v,_){const A=function vo(v,_,A,j=32){if(On.hash(v),On.number(j),j>255*v.outputLen)throw new Error("Length should be <= 255*HashLen");const Z=Math.ceil(j/v.outputLen);void 0===A&&(A=pr);const lt=new Uint8Array(Z*v.outputLen),Dt=Wt.create(v,_),Pt=Dt._cloneInto(),Qt=new Uint8Array(Dt.outputLen);for(let _e=0;_etp)throw new Error("invalid plaintext size: must be between 1 and 65535 bytes");const _=new Uint8Array(2);return new DataView(_.buffer).setUint16(0,v,!1),_}(A),Z=new Uint8Array(uu(A)-A);return(0,Go.Id)(j,_,Z)}(v),Pt=il(j,Z,Dt),Qt=ef(lt,Pt,A);return jo.encode((0,Go.Id)(new Uint8Array([2]),A,Pt,Qt))}function Sh(v,_){const{nonce:A,ciphertext:j,mac:Z}=function Ch(v){if("string"!=typeof v)throw new Error("payload must be a valid string");const _=v.length;if(_<132||_>87472)throw new Error("invalid payload length: "+_);if("#"===v[0])throw new Error("unknown encryption version");let A;try{A=jo.decode(v)}catch(lt){throw new Error("invalid base64: "+lt.message)}const j=A.length;if(j<99||j>65603)throw new Error("invalid data length: "+j);const Z=A[0];if(2!==Z)throw new Error("unknown encryption version "+Z);return{nonce:A.subarray(1,33),ciphertext:A.subarray(33,-32),mac:A.subarray(-32)}}(v),{chacha_key:lt,chacha_nonce:Dt,hmac_key:Pt}=fc(_,A);if(!Ea(ef(Pt,j,A),Z))throw new Error("invalid MAC");return function tf(v){const _=new DataView(v.buffer).getUint16(0),A=v.subarray(2,2+_);if(_tp||A.length!==_||v.length!==2+uu(_))throw new Error("invalid padding");return Xs.decode(A)}(il(lt,Dt,j))}var rp,Oc={utils:{getConversationKey:$l,calcPaddedLen:uu},encrypt:Dh,decrypt:Sh};function Ah(v){const{pathname:_,searchParams:A}=new URL(v),j=_,Z=A.get("relay"),lt=A.get("secret");if(!j||!Z||!lt)throw new Error("invalid connection string");return{pubkey:j,relay:Z,secret:lt}}function Th(v,_,A){return Vl.apply(this,arguments)}function Vl(){return(Vl=(0,s.A)(function*(v,_,A){const Z=yield Xu(_,v,JSON.stringify({method:"pay_invoice",params:{invoice:A}})),lt={kind:sd,created_at:Math.round(Date.now()/1e3),content:Z,tags:[["p",v]]};return Zs(lt,_)})).apply(this,arguments)}fn({},{makeNwcRequestEvent:()=>Th,parseConnectionString:()=>Ah}),fn({},{getZapEndpoint:()=>Mh,makeZapReceipt:()=>hu,makeZapRequest:()=>Hl,useFetchImplementation:()=>pu,validateZapRequest:()=>op});try{rp=fetch}catch{}function pu(v){rp=v}function Mh(v){return Xc.apply(this,arguments)}function Xc(){return(Xc=(0,s.A)(function*(v){try{let _="",{lud06:A,lud16:j}=JSON.parse(v.content);if(A){let{words:Dt}=st.decode(A,1e3),Pt=st.fromWords(Dt);_=Xs.decode(Pt)}else{if(!j)return null;{let[Dt,Pt]=j.split("@");_=new URL(`/.well-known/lnurlp/${Dt}`,`https://${Pt}`).toString()}}let lt=yield(yield rp(_)).json();if(lt.allowsNostr&<.nostrPubkey)return lt.callback}catch{}return null})).apply(this,arguments)}function Hl({profile:v,event:_,amount:A,relays:j,comment:Z=""}){if(!A)throw new Error("amount not given");if(!v)throw new Error("profile not given");let lt={kind:9734,created_at:Math.round(Date.now()/1e3),content:Z,tags:[["p",v],["amount",A.toString()],["relays",...j]]};return _&<.tags.push(["e",_]),lt}function op(v){let _;try{_=JSON.parse(v)}catch{return"Invalid zap request JSON."}if(!Os(_))return"Zap request is not a valid Nostr event.";if(!Sc(_))return"Invalid signature on zap request.";let A=_.tags.find(([lt,Dt])=>"p"===lt&&Dt);if(!A)return"Zap request doesn't have a 'p' tag.";if(!A[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let j=_.tags.find(([lt,Dt])=>"e"===lt&&Dt);return j&&!j[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":_.tags.find(([lt,Dt])=>"relays"===lt&&Dt)?null:"Zap request doesn't have a 'relays' tag."}function hu({zapRequest:v,preimage:_,bolt11:A,paidAt:j}){let Z=JSON.parse(v),lt=Z.tags.filter(([Pt])=>"e"===Pt||"p"===Pt||"a"===Pt),Dt={kind:9735,created_at:Math.round(j.getTime()/1e3),content:"",tags:[...lt,["P",Z.pubkey],["bolt11",A],["description",v]]};return _&&Dt.tags.push(["preimage",_]),Dt}fn({},{createRumor:()=>mc,createSeal:()=>ap,createWrap:()=>fl,unwrapEvent:()=>ya,unwrapManyEvents:()=>Yc,wrapEvent:()=>nf,wrapManyEvents:()=>af});var np=()=>Math.round(Date.now()/1e3),ip=()=>Math.round(np()-172800*Math.random()),xd=(v,_)=>$l(v,_),Oh=(v,_,A)=>Dh(JSON.stringify(v),xd(_,A)),os=(v,_)=>JSON.parse(Sh(v.content,xd(_,v.pubkey)));function mc(v,_){const A={created_at:np(),content:"",tags:[],...v,pubkey:Ta(_)};return A.id=Gn(A),A}function ap(v,_,A){return Zs({kind:Ld,content:Oh(v,_,A),created_at:ip(),tags:[]},_)}function fl(v,_){const A=Dl();return Zs({kind:Hp,content:Oh(v,A,_),created_at:ip(),tags:[["p",_]]},A)}function nf(v,_,A){return fl(ap(mc(v,_),_,A),A)}function af(v,_,A){if(!A||0===A.length)throw new Error("At least one recipient is required.");const j=Ta(_),Z=[nf(v,_,j)];return A.forEach(lt=>{Z.push(nf(v,_,lt))}),Z}function ya(v,_){const A=os(v,_);return os(A,_)}function Yc(v,_){let A=[];return v.forEach(j=>{A.push(ya(j,_))}),A.sort((j,Z)=>j.created_at-Z.created_at),A}fn({},{getToken:()=>cp,hashPayload:()=>mu,unpackEventFromToken:()=>lp,validateEvent:()=>Fh,validateEventKind:()=>Nh,validateEventMethodTag:()=>Lh,validateEventPayloadTag:()=>Ph,validateEventTimestamp:()=>Wl,validateEventUrlTag:()=>dp,validateToken:()=>sf});var Rh="Nostr ";function cp(v,_,A){return gu.apply(this,arguments)}function gu(){return(gu=(0,s.A)(function*(v,_,A,j=!1,Z){const lt={kind:cd,tags:[["u",v],["method",_]],created_at:Math.round((new Date).getTime()/1e3),content:""};Z&<.tags.push(["payload",mu(Z)]);const Dt=yield A(lt);return(j?Rh:"")+jo.encode(Ka.encode(JSON.stringify(Dt)))})).apply(this,arguments)}function sf(v,_,A){return fu.apply(this,arguments)}function fu(){return(fu=(0,s.A)(function*(v,_,A){const j=yield lp(v).catch(lt=>{throw lt});return yield Fh(j,_,A).catch(lt=>{throw lt})})).apply(this,arguments)}function lp(v){return Rc.apply(this,arguments)}function Rc(){return(Rc=(0,s.A)(function*(v){if(!v)throw new Error("Missing token");v=v.replace(Rh,"");const _=Xs.decode(jo.decode(v));if(!_||0===_.length||!_.startsWith("{"))throw new Error("Invalid token");return JSON.parse(_)})).apply(this,arguments)}function Wl(v){return!!v.created_at&&Math.round((new Date).getTime()/1e3)-v.created_at<60}function Nh(v){return v.kind===cd}function dp(v,_){const A=v.tags.find(j=>"u"===j[0]);return!!A&&A.length>0&&A[1]===_}function Lh(v,_){const A=v.tags.find(j=>"method"===j[0]);return!!A&&A.length>0&&A[1].toLowerCase()===_.toLowerCase()}function mu(v){const _=wi(Ka.encode(JSON.stringify(v)));return(0,Go.My)(_)}function Ph(v,_){const A=v.tags.find(Z=>"payload"===Z[0]);if(!A)return!1;const j=mu(_);return A.length>0&&A[1]===j}function Fh(v,_,A,j){return ml.apply(this,arguments)}function ml(){return(ml=(0,s.A)(function*(v,_,A,j){if(!Sc(v))throw new Error("Invalid nostr event, signature invalid");if(!Nh(v))throw new Error("Invalid nostr event, kind invalid");if(!Wl(v))throw new Error("Invalid nostr event, created_at timestamp invalid");if(!dp(v,_))throw new Error("Invalid nostr event, url tag invalid");if(!Lh(v,A))throw new Error("Invalid nostr event, method tag invalid");if(j&&"object"==typeof j&&Object.keys(j).length>0&&!Ph(v,j))throw new Error("Invalid nostr event, payload tag does not match request body hash");return!0})).apply(this,arguments)}},8418:(i,a,r)=>{"use strict";r.d(a,{In:()=>W,rV:()=>q}),Symbol("verified");var W=3,q=4},6391:(i,a,r)=>{"use strict";r.d(a,{Vw:()=>tt,My:()=>M,Id:()=>ht,O8:()=>k,aT:()=>R,po:()=>nt,Ow:()=>S,ZJ:()=>ct,ld:()=>$t});const o="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,s=at=>at instanceof Uint8Array,k=at=>new DataView(at.buffer,at.byteOffset,at.byteLength),S=(at,et)=>at<<32-et|at>>>et;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const T=Array.from({length:256},(at,et)=>et.toString(16).padStart(2,"0"));function M(at){if(!s(at))throw new Error("Uint8Array expected");let et="";for(let bt=0;btEt+jt.length,0));let bt=0;return at.forEach(Et=>{if(!s(Et))throw new Error("Uint8Array expected");et.set(Et,bt),bt+=Et.length}),et}class tt{clone(){return this._cloneInto()}}function $t(at){const et=Et=>at().update(ct(Et)).digest(),bt=at();return et.outputLen=bt.outputLen,et.blockLen=bt.blockLen,et.create=()=>at(),et}function nt(at=32){if(o&&"function"==typeof o.getRandomValues)return o.getRandomValues(new Uint8Array(at));throw new Error("crypto.getRandomValues must be defined")}},7106:(i,a,r)=>{"use strict";function o(s,c){this.v=s,this.k=c}r.d(a,{A:()=>o})},467:(i,a,r)=>{"use strict";function o(c,y,k,S,I,T,M){try{var R=c[T](M),L=R.value}catch(J){return void k(J)}R.done?y(L):Promise.resolve(L).then(S,I)}function s(c){return function(){var y=this,k=arguments;return new Promise(function(S,I){var T=c.apply(y,k);function M(L){o(T,S,I,M,R,"next",L)}function R(L){o(T,S,I,M,R,"throw",L)}M(void 0)})}}r.d(a,{A:()=>s})},6218:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});var o=r(7106);function s(c){return new o.A(c,0)}},600:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});var o=r(7106);function s(y){return function(){return new c(y.apply(this,arguments))}}function c(y){var k,S;function I(M,R){try{var L=y[M](R),J=L.value,W=J instanceof o.A;Promise.resolve(W?J.v:J).then(function(q){if(W){var ct="return"===M?"return":"next";if(!J.k||q.done)return I(ct,q);q=y[ct](q).value}T(L.done?"return":"normal",q)},function(q){I("throw",q)})}catch(q){T("throw",q)}}function T(M,R){switch(M){case"return":k.resolve({value:R,done:!0});break;case"throw":k.reject(R);break;default:k.resolve({value:R,done:!1})}(k=k.next)?I(k.key,k.arg):S=null}this._invoke=function(M,R){return new Promise(function(L,J){var W={key:M,arg:R,resolve:L,reject:J,next:null};S?S=S.next=W:(k=S=W,I(M,R))})},"function"!=typeof y.return&&(this.return=void 0)}c.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},c.prototype.next=function(y){return this._invoke("next",y)},c.prototype.throw=function(y){return this._invoke("throw",y)},c.prototype.return=function(y){return this._invoke("return",y)}},1635:(i,a,r)=>{"use strict";function J(Rt,wt,Ut,Ae){return new(Ut||(Ut=Promise))(function(pe,te){function Ye(Zt){try{Bt(Ae.next(Zt))}catch(Ot){te(Ot)}}function We(Zt){try{Bt(Ae.throw(Zt))}catch(Ot){te(Ot)}}function Bt(Zt){Zt.done?pe(Zt.value):function Xt(pe){return pe instanceof Ut?pe:new Ut(function(te){te(pe)})}(Zt.value).then(Ye,We)}Bt((Ae=Ae.apply(Rt,wt||[])).next())})}function St(Rt){return this instanceof St?(this.v=Rt,this):new St(Rt)}function _t(Rt,wt,Ut){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Xt,Ae=Ut.apply(Rt,wt||[]),pe=[];return Xt=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Ye("next"),Ye("throw"),Ye("return",function te(qt){return function(Ve){return Promise.resolve(Ve).then(qt,Ot)}}),Xt[Symbol.asyncIterator]=function(){return this},Xt;function Ye(qt,Ve){Ae[qt]&&(Xt[qt]=function(Ht){return new Promise(function(Me,Ke){pe.push([qt,Ht,Me,Ke])>1||We(qt,Ht)})},Ve&&(Xt[qt]=Ve(Xt[qt])))}function We(qt,Ve){try{!function Bt(qt){qt.value instanceof St?Promise.resolve(qt.value.v).then(Zt,Ot):le(pe[0][2],qt)}(Ae[qt](Ve))}catch(Ht){le(pe[0][3],Ht)}}function Zt(qt){We("next",qt)}function Ot(qt){We("throw",qt)}function le(qt,Ve){qt(Ve),pe.shift(),pe.length&&We(pe[0][0],pe[0][1])}}function at(Rt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ut,wt=Rt[Symbol.asyncIterator];return wt?wt.call(Rt):(Rt=function ht(Rt){var wt="function"==typeof Symbol&&Symbol.iterator,Ut=wt&&Rt[wt],Ae=0;if(Ut)return Ut.call(Rt);if(Rt&&"number"==typeof Rt.length)return{next:function(){return Rt&&Ae>=Rt.length&&(Rt=void 0),{value:Rt&&Rt[Ae++],done:!Rt}}};throw new TypeError(wt?"Object is not iterable.":"Symbol.iterator is not defined.")}(Rt),Ut={},Ae("next"),Ae("throw"),Ae("return"),Ut[Symbol.asyncIterator]=function(){return this},Ut);function Ae(pe){Ut[pe]=Rt[pe]&&function(te){return new Promise(function(Ye,We){!function Xt(pe,te,Ye,We){Promise.resolve(We).then(function(Bt){pe({value:Bt,done:Ye})},te)}(Ye,We,(te=Rt[pe](te)).done,te.value)})}}}r.d(a,{AQ:()=>_t,N3:()=>St,sH:()=>J,xN:()=>at}),"function"==typeof SuppressedError&&SuppressedError}},i=>{i(i.s=4248)}]); \ No newline at end of file diff --git a/main.e34ce80075089ecb.js b/main.e34ce80075089ecb.js new file mode 100644 index 0000000..75381ac --- /dev/null +++ b/main.e34ce80075089ecb.js @@ -0,0 +1 @@ +(self.webpackChunkangor=self.webpackChunkangor||[]).push([[792],{1648:(i,a,r)=>{"use strict";r.d(a,{F:()=>o.F});var o=r(5888)},5888:(i,a,r)=>{"use strict";r.d(a,{F:()=>Ct});let o=(()=>{class Vt{static{this.standard="cubic-bezier(0.4, 0.0, 0.2, 1)"}static{this.deceleration="cubic-bezier(0.0, 0.0, 0.2, 1)"}static{this.acceleration="cubic-bezier(0.4, 0.0, 1, 1)"}static{this.sharp="cubic-bezier(0.4, 0.0, 0.6, 1)"}}return Vt})(),s=(()=>{class Vt{static{this.complex="375ms"}static{this.entering="225ms"}static{this.exiting="195ms"}}return Vt})();var c=r(9969);const at=(Vt,Xt,oe,Xe,kr=`${s.entering} ${o.deceleration}`,gr=`${s.exiting} ${o.acceleration}`)=>(0,c.hZ)(Vt,[(0,c.wk)("void",(0,c.iF)(Xt)),(0,c.wk)("*",(0,c.iF)(oe)),(0,c.kY)("void => false, * => false",[]),(0,c.kY)("void => *",(0,c.i0)(Xe||kr),{params:{timings:kr}}),(0,c.kY)("* => void",(0,c.i0)(Xe||gr),{params:{timings:gr}})]),Ct=[(0,c.hZ)("expandCollapse",[(0,c.wk)("void, collapsed",(0,c.iF)({height:"0"})),(0,c.wk)("*, expanded",(0,c.iF)("*")),(0,c.kY)("void <=> false, collapsed <=> false, expanded <=> false",[]),(0,c.kY)("void <=> *, collapsed <=> expanded",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeIn",[(0,c.wk)("void",(0,c.iF)({opacity:0})),(0,c.wk)("*",(0,c.iF)({opacity:1})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInTop",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, -100%, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInBottom",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, 100%, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInLeft",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(-100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInRight",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeOut",[(0,c.wk)("*",(0,c.iF)({opacity:1})),(0,c.wk)("void",(0,c.iF)({opacity:0})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutTop",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, -100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutBottom",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, 100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutLeft",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(-100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutRight",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("shake",[(0,c.kY)("void => false",[]),(0,c.kY)("void => *, * => true",[(0,c.i0)("{{timings}}",(0,c.i7)([(0,c.iF)({transform:"translate3d(0, 0, 0)",offset:0}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.1}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.2}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.3}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.4}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.5}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.6}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.7}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.8}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.9}),(0,c.iF)({transform:"translate3d(0, 0, 0)",offset:1})]))],{params:{timings:"0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955)"}})]),(0,c.hZ)("slideInTop",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, -100%, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideInBottom",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, 100%, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideInLeft",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(-100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideInRight",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideOutTop",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, -100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("slideOutBottom",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, 100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("slideOutLeft",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(-100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("slideOutRight",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),at("zoomIn",{opacity:0,transform:"scale(0.5)"},{opacity:1,transform:"scale(1)"},""),at("zoomOut",{opacity:1,transform:"scale(1)"},{opacity:0,transform:"scale(0.5)"},"")]},7857:(i,a,r)=>{"use strict";r.d(a,{$w:()=>dr,lX:()=>c,Tv:()=>ts});var o=r(1648),s=r(4438);let c=(()=>{class G{constructor(){this._componentRegistry=new Map,this._navigationStore=new Map}registerComponent(et,te){this._componentRegistry.set(et,te)}deregisterComponent(et){this._componentRegistry.delete(et)}getComponent(et){return this._componentRegistry.get(et)}storeNavigation(et,te){this._navigationStore.set(et,te)}getNavigation(et){return this._navigationStore.get(et)??[]}deleteNavigation(et){this._navigationStore.has(et)||console.warn(`Navigation with the key '${et}' does not exist.`),this._navigationStore.delete(et)}getFlatNavigation(et,te=[]){for(const le of et)"basic"===le.type?te.push(le):le.children&&this.getFlatNavigation(le.children,te);return te}getItem(et,te){for(const le of te){if(le.id===et)return le;if(le.children){const Br=this.getItem(et,le.children);if(Br)return Br}}return null}getItemParent(et,te,le){for(const Br of te){if(Br.id===et)return le;if(Br.children){const jr=this.getItemParent(et,Br.children,Br);if(jr)return jr}}return null}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275prov=s.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}}return G})();var y=r(7209),k=r(2771),S=r(1413),I=r(177),T=r(9213),M=r(9115),R=r(4823),L=r(5245),J=r(6977);const W=G=>({"angor-horizontal-navigation-item-active-forced":G}),q=G=>[G];function ct(G,Qt){1&G&&s.eu8(0)}function ht(G,Qt){if(1&G&&(s.j41(0,"div",2),s.DNE(1,ct,1,0,"ng-container",7),s.k0s()),2&G){let et,te,le,Br;const jr=s.XpG(),Oo=s.sdS(9);s.Y8G("ngClass",s.eq3(10,W,jr.item.active))("routerLink",s.eq3(12,q,jr.item.link))("fragment",null!==(et=jr.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(te=jr.item.preserveFragment)&&void 0!==te&&te)("queryParams",null!==(le=jr.item.queryParams)&&void 0!==le?le:null)("queryParamsHandling",null!==(Br=jr.item.queryParamsHandling)&&void 0!==Br?Br:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",jr.isActiveMatchOptions)("matTooltip",jr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",Oo)}}function tt(G,Qt){1&G&&s.eu8(0)}function _t(G,Qt){if(1&G&&(s.j41(0,"a",3),s.DNE(1,tt,1,0,"ng-container",7),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("href",et.item.link,s.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function Mt(G,Qt){1&G&&s.eu8(0)}function $t(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"div",8),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,Mt,1,0,"ng-container",7),s.k0s()}if(2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("ngClass",s.eq3(3,W,et.item.active))("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function At(G,Qt){1&G&&s.eu8(0)}function kt(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"div",9),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,At,1,0,"ng-container",7),s.k0s()}if(2&G){let et,te,le,Br;const jr=s.XpG(),Oo=s.sdS(9);s.Y8G("ngClass",s.eq3(10,W,jr.item.active))("routerLink",s.eq3(12,q,jr.item.link))("fragment",null!==(et=jr.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(te=jr.item.preserveFragment)&&void 0!==te&&te)("queryParams",null!==(le=jr.item.queryParams)&&void 0!==le?le:null)("queryParamsHandling",null!==(Br=jr.item.queryParamsHandling)&&void 0!==Br?Br:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",jr.isActiveMatchOptions)("matTooltip",jr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",Oo)}}function nt(G,Qt){1&G&&s.eu8(0)}function at(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"a",10),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,nt,1,0,"ng-container",7),s.k0s()}if(2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("href",et.item.link,s.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function rt(G,Qt){1&G&&s.eu8(0)}function yt(G,Qt){if(1&G&&(s.j41(0,"div",4),s.DNE(1,rt,1,0,"ng-container",7),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("ngClass",s.eq3(3,W,et.item.active))("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function Ct(G,Qt){1&G&&s.eu8(0)}function Vt(G,Qt){if(1&G&&(s.j41(0,"div",6),s.DNE(1,Ct,1,0,"ng-container",7),s.k0s()),2&G){s.XpG();const et=s.sdS(9);s.R7$(),s.Y8G("ngTemplateOutlet",et)}}function Xt(G,Qt){if(1&G&&s.nrm(0,"mat-icon",11),2&G){const et=s.XpG(2);s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function oe(G,Qt){if(1&G&&(s.j41(0,"div",15)(1,"span",14),s.EFF(2),s.k0s()()),2&G){const et=s.XpG(2);s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function Xe(G,Qt){if(1&G&&(s.j41(0,"div",16)(1,"div",17),s.EFF(2),s.k0s()()),2&G){const et=s.XpG(2);s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function kr(G,Qt){if(1&G&&(s.DNE(0,Xt,1,2,"mat-icon",11),s.j41(1,"div",12)(2,"div",13)(3,"span",14),s.EFF(4),s.k0s()(),s.DNE(5,oe,3,2,"div",15),s.k0s(),s.DNE(6,Xe,3,2,"div",16)),2&G){const et=s.XpG();s.vxM(et.item.icon?0:-1),s.R7$(3),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.title),s.R7$(),s.SpI(" ",et.item.title," "),s.R7$(),s.vxM(et.item.subtitle?5:-1),s.R7$(),s.vxM(et.item.badge?6:-1)}}let gr=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new S.B}ngOnInit(){this.isActiveMatchOptions=this.item.isActiveMatchOptions??this.item.exactMatch?this._angorUtilsService.exactMatchOptions:this._angorUtilsService.subsetMatchOptions,this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._changeDetectorRef.markForCheck(),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-basic-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:10,vars:10,consts:[["itemTemplate",""],[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"],[1,"angor-horizontal-navigation-item",3,"ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-horizontal-navigation-item",3,"href","target","matTooltip"],[1,"angor-horizontal-navigation-item",3,"ngClass","matTooltip"],["mat-menu-item","",1,"angor-horizontal-navigation-item",3,"href","target","matTooltip"],[1,"angor-horizontal-navigation-item","angor-horizontal-navigation-item-disabled"],[4,"ngTemplateOutlet"],[1,"angor-horizontal-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-horizontal-navigation-item",3,"click","ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],["mat-menu-item","",1,"angor-horizontal-navigation-item",3,"click","href","target","matTooltip"],[1,"angor-horizontal-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-horizontal-navigation-item-title-wrapper"],[1,"angor-horizontal-navigation-item-title"],[3,"ngClass"],[1,"angor-horizontal-navigation-item-subtitle","text-hint"],[1,"angor-horizontal-navigation-item-badge"],[1,"angor-horizontal-navigation-item-badge-content",3,"ngClass"]],template:function(te,le){1&te&&(s.j41(0,"div",1),s.DNE(1,ht,2,14,"div",2)(2,_t,2,4,"a",3)(3,$t,2,5,"div",4)(4,kt,2,14,"div",2)(5,at,2,4,"a",5)(6,yt,2,5,"div",4)(7,Vt,2,1,"div",6),s.k0s(),s.DNE(8,kr,7,5,"ng-template",null,0,s.C5r)),2&te&&(s.AVh("angor-horizontal-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(),s.vxM(!le.item.link||le.item.externalLink||le.item.function||le.item.disabled?-1:1),s.R7$(),s.vxM(le.item.link&&le.item.externalLink&&!le.item.function&&!le.item.disabled?2:-1),s.R7$(),s.vxM(le.item.link||!le.item.function||le.item.disabled?-1:3),s.R7$(),s.vxM(le.item.link&&!le.item.externalLink&&le.item.function&&!le.item.disabled?4:-1),s.R7$(),s.vxM(le.item.link&&le.item.externalLink&&le.item.function&&!le.item.disabled?5:-1),s.R7$(),s.vxM(le.item.link||le.item.function||le.item.disabled?-1:6),s.R7$(),s.vxM(le.item.disabled?7:-1))},dependencies:[I.YU,L.Wk,L.wQ,R.uc,R.oV,I.T3,M.Cn,M.fb,T.m_,T.An],encapsulation:2,changeDetection:0})}}return G})(),vr=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new S.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-divider-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper","divider",3,"ngClass"]],template:function(te,le){1&te&&s.nrm(0,"div",0),2&te&&s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})();const Gr=["matMenu"],xe=(G,Qt)=>({"angor-horizontal-navigation-menu-active":G,"angor-horizontal-navigation-menu-active-forced":Qt}),Le=G=>({$implicit:G}),gt=(G,Qt)=>({"angor-horizontal-navigation-item-disabled":G,"angor-horizontal-navigation-item-active-forced":Qt});function Nt(G,Qt){1&G&&s.eu8(0)}function Ae(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"div",6,2),s.bIt("onMenuOpen",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.triggerChangeDetection())})("onMenuClose",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.triggerChangeDetection())}),s.DNE(2,Nt,1,0,"ng-container",7),s.k0s()}if(2&G){const et=s.sdS(1),te=s.XpG(),le=s.sdS(2),Br=s.sdS(6);s.Y8G("ngClass",s.l_i(4,xe,et.menuOpen,te.item.active))("matMenuTriggerFor",le),s.R7$(2),s.Y8G("ngTemplateOutlet",Br)("ngTemplateOutletContext",s.eq3(7,Le,te.item))}}function Rt(G,Qt){if(1&G&&(s.j41(0,"div",8),s.nrm(1,"angor-horizontal-navigation-basic-item",11),s.k0s()),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("disabled",et.disabled),s.R7$(),s.Y8G("item",et)("name",te.name)}}function de(G,Qt){1&G&&s.eu8(0)}function jt(G,Qt){if(1&G&&(s.j41(0,"div",9),s.DNE(1,de,1,0,"ng-container",7),s.nrm(2,"angor-horizontal-navigation-branch-item",12,3),s.k0s()),2&G){const et=s.sdS(3),te=s.XpG(2).$implicit,le=s.XpG(),Br=s.sdS(6);s.Y8G("disabled",te.disabled)("matMenuTriggerFor",et.matMenu),s.R7$(),s.Y8G("ngTemplateOutlet",Br)("ngTemplateOutletContext",s.eq3(7,Le,te)),s.R7$(),s.Y8G("child",!0)("item",te)("name",le.name)}}function De(G,Qt){if(1&G&&(s.j41(0,"div",10),s.nrm(1,"angor-horizontal-navigation-divider-item",11),s.k0s()),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.R7$(),s.Y8G("item",et)("name",te.name)}}function Ye(G,Qt){if(1&G&&s.DNE(0,Rt,2,3,"div",8)(1,jt,4,9,"div",9)(2,De,2,2,"div",10),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("aside"===et.type||"collapsable"===et.type||"group"===et.type?1:-1),s.R7$(),s.vxM("divider"===et.type?2:-1)}}function ft(G,Qt){if(1&G&&s.DNE(0,Ye,3,3),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function pe(G,Qt){if(1&G&&s.nrm(0,"mat-icon",15),2&G){const et=s.XpG().$implicit;s.Y8G("ngClass",null==et.classes?null:et.classes.icon)("svgIcon",et.icon)}}function Ut(G,Qt){if(1&G&&(s.j41(0,"div",19)(1,"span",18),s.EFF(2),s.k0s()()),2&G){const et=s.XpG().$implicit;s.R7$(),s.Y8G("ngClass",null==et.classes?null:et.classes.subtitle),s.R7$(),s.SpI(" ",et.subtitle," ")}}function Ee(G,Qt){if(1&G&&(s.j41(0,"div",20)(1,"div",21),s.EFF(2),s.k0s()()),2&G){const et=s.XpG().$implicit;s.R7$(),s.Y8G("ngClass",et.badge.classes),s.R7$(),s.SpI(" ",et.badge.title," ")}}function ie(G,Qt){if(1&G&&(s.j41(0,"div",13)(1,"div",14),s.DNE(2,pe,1,2,"mat-icon",15),s.j41(3,"div",16)(4,"div",17)(5,"span",18),s.EFF(6),s.k0s()(),s.DNE(7,Ut,3,2,"div",19),s.k0s(),s.DNE(8,Ee,3,2,"div",20),s.k0s()()),2&G){const et=Qt.$implicit;s.AVh("angor-horizontal-navigation-item-has-subtitle",!!et.subtitle),s.Y8G("ngClass",null==et.classes?null:et.classes.wrapper),s.R7$(),s.Y8G("ngClass",s.l_i(10,gt,et.disabled,et.active))("matTooltip",et.tooltip||""),s.R7$(),s.vxM(et.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==et.classes?null:et.classes.title),s.R7$(),s.SpI(" ",et.title," "),s.R7$(),s.vxM(et.subtitle?7:-1),s.R7$(),s.vxM(et.badge?8:-1)}}let He=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this.child=!1,this._unsubscribeAll=new S.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}triggerChangeDetection(){this._changeDetectorRef.markForCheck()}trackByFn(et,te){return te.id||et}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-branch-item"]],viewQuery:function(te,le){if(1&te&&s.GBs(Gr,7),2&te){let Br;s.mGM(Br=s.lsd())&&(le.matMenu=Br.first)}},inputs:{child:"child",item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:7,vars:2,consts:[["matMenu","matMenu"],["itemTemplate",""],["trigger","matMenuTrigger"],["branch",""],[3,"ngClass","matMenuTriggerFor"],[1,"angor-horizontal-navigation-menu-panel",3,"overlapTrigger"],[3,"onMenuOpen","onMenuClose","ngClass","matMenuTriggerFor"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item",3,"disabled"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item"],[3,"item","name"],[3,"child","item","name"],[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"],[1,"angor-horizontal-navigation-item",3,"ngClass","matTooltip"],[1,"angor-horizontal-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-horizontal-navigation-item-title-wrapper"],[1,"angor-horizontal-navigation-item-title"],[3,"ngClass"],[1,"angor-horizontal-navigation-item-subtitle","text-hint"],[1,"angor-horizontal-navigation-item-badge"],[1,"angor-horizontal-navigation-item-badge-content",3,"ngClass"]],template:function(te,le){1&te&&(s.DNE(0,Ae,3,9,"div",4),s.j41(1,"mat-menu",5,0),s.Z7z(3,ft,1,1,null,null,le.trackByFn,!0),s.k0s(),s.DNE(5,ie,9,13,"ng-template",null,1,s.C5r)),2&te&&(s.vxM(le.child?-1:0),s.R7$(),s.Y8G("overlapTrigger",!1),s.R7$(2),s.Dyx(le.item.children))},dependencies:()=>[G,I.YU,M.Cn,M.kk,M.fb,M.Cp,I.T3,gr,vr,R.uc,R.oV,T.m_,T.An],encapsulation:2,changeDetection:0})}}return G})(),Wt=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new S.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-spacer-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"]],template:function(te,le){1&te&&s.nrm(0,"div",0),2&te&&s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})();function Me(G,Qt){if(1&G&&s.nrm(0,"angor-horizontal-navigation-basic-item",1),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Fe(G,Qt){if(1&G&&s.nrm(0,"angor-horizontal-navigation-branch-item",1),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function We(G,Qt){if(1&G&&s.nrm(0,"angor-horizontal-navigation-spacer-item",1),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Or(G,Qt){if(1&G&&s.DNE(0,Me,1,2,"angor-horizontal-navigation-basic-item",1)(1,Fe,1,2,"angor-horizontal-navigation-branch-item",1)(2,We,1,2,"angor-horizontal-navigation-spacer-item",1),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("aside"===et.type||"collapsable"===et.type||"group"===et.type?1:-1),s.R7$(),s.vxM("spacer"===et.type?2:-1)}}function ko(G,Qt){if(1&G&&s.DNE(0,Or,3,3),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}let dr=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.name=this._angorUtilsService.randomId(),this.onRefreshed=new k.m(1),this._unsubscribeAll=new S.B}ngOnChanges(et){"navigation"in et&&this._changeDetectorRef.markForCheck()}ngOnInit(){""===this.name&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this)}ngOnDestroy(){this._angorNavigationService.deregisterComponent(this.name),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}refresh(){this._changeDetectorRef.markForCheck(),this.onRefreshed.next(!0)}trackByFn(et,te){return te.id||et}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation"]],inputs:{name:"name",navigation:"navigation"},exportAs:["angorHorizontalNavigation"],standalone:!0,features:[s.OA$,s.aNF],decls:3,vars:0,consts:[[1,"angor-horizontal-navigation-wrapper"],[1,"angor-horizontal-navigation-menu-item",3,"item","name"]],template:function(te,le){1&te&&(s.j41(0,"div",0),s.Z7z(1,ko,1,1,null,null,le.trackByFn,!0),s.k0s()),2&te&&(s.R7$(),s.Dyx(le.navigation))},dependencies:[gr,He,Wt],styles:["angor-horizontal-navigation .angor-horizontal-navigation-wrapper{display:flex;align-items:center}@media (min-width: 600px){angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item:hover .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item:hover .angor-horizontal-navigation-item-wrapper{background-color:var(--angor-bg-hover)}}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper{border-radius:4px;overflow:hidden}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item{padding:0 16px;cursor:pointer;-webkit-user-select:none;user-select:none}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-icon,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-icon{margin-right:12px}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-title,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-title{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))!important}.dark angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.dark angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-icon,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-icon{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-menu-active .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-menu-active-forced .angor-horizontal-navigation-item-wrapper{background-color:var(--angor-bg-hover)}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-spacer-item{margin:12px 0}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item{height:auto;min-height:0;line-height:normal;white-space:normal}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item,.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-branch-item,.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item{display:flex;flex:1 1 auto}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item{margin:8px -16px}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item .angor-horizontal-navigation-item-wrapper{height:1px;box-shadow:0 1px}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-title,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-title{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))!important}.dark .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.dark .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-icon,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-icon{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper{width:100%}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper.angor-horizontal-navigation-item-has-subtitle .angor-horizontal-navigation-item{min-height:56px}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item{position:relative;display:flex;align-items:center;justify-content:flex-start;min-height:48px;width:100%;font-size:13px;font-weight:500;text-decoration:none}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-title-wrapper .angor-horizontal-navigation-item-subtitle{font-size:12px}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-badge{margin-left:auto}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-badge .angor-horizontal-navigation-item-badge-content{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;white-space:nowrap;height:20px}\n"],encapsulation:2,data:{animation:o.F},changeDetection:0})}}return G})();const Lt=G=>({"angor-vertical-navigation-item-active-forced":G}),be=G=>[G];function se(G,Qt){1&G&&s.eu8(0)}function Ie(G,Qt){if(1&G&&(s.j41(0,"a",2),s.DNE(1,se,1,0,"ng-container",6),s.k0s()),2&G){let et,te,le,Br;const jr=s.XpG(),Oo=s.sdS(9);s.Y8G("ngClass",s.eq3(10,Lt,jr.item.active))("routerLink",s.eq3(12,be,jr.item.link))("fragment",null!==(et=jr.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(te=jr.item.preserveFragment)&&void 0!==te&&te)("queryParams",null!==(le=jr.item.queryParams)&&void 0!==le?le:null)("queryParamsHandling",null!==(Br=jr.item.queryParamsHandling)&&void 0!==Br?Br:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",jr.isActiveMatchOptions)("matTooltip",jr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",Oo)}}function br(G,Qt){1&G&&s.eu8(0)}function mt(G,Qt){if(1&G&&(s.j41(0,"a",3),s.DNE(1,br,1,0,"ng-container",6),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("href",et.item.link,s.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function $(G,Qt){1&G&&s.eu8(0)}function Y(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"div",7),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,$,1,0,"ng-container",6),s.k0s()}if(2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("ngClass",s.eq3(3,Lt,et.item.active))("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function it(G,Qt){1&G&&s.eu8(0)}function Tt(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"a",8),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,it,1,0,"ng-container",6),s.k0s()}if(2&G){let et,te,le,Br;const jr=s.XpG(),Oo=s.sdS(9);s.Y8G("ngClass",s.eq3(10,Lt,jr.item.active))("routerLink",s.eq3(12,be,jr.item.link))("fragment",null!==(et=jr.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(te=jr.item.preserveFragment)&&void 0!==te&&te)("queryParams",null!==(le=jr.item.queryParams)&&void 0!==le?le:null)("queryParamsHandling",null!==(Br=jr.item.queryParamsHandling)&&void 0!==Br?Br:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",jr.isActiveMatchOptions)("matTooltip",jr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",Oo)}}function It(G,Qt){1&G&&s.eu8(0)}function ye(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"a",9),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,It,1,0,"ng-container",6),s.k0s()}if(2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("href",et.item.link,s.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function ir(G,Qt){1&G&&s.eu8(0)}function Je(G,Qt){if(1&G&&(s.j41(0,"div",4),s.DNE(1,ir,1,0,"ng-container",6),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("ngClass",s.eq3(3,Lt,et.item.active))("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function er(G,Qt){1&G&&s.eu8(0)}function Wr(G,Qt){if(1&G&&(s.j41(0,"div",5),s.DNE(1,er,1,0,"ng-container",6),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function eo(G,Qt){if(1&G&&s.nrm(0,"mat-icon",10),2&G){const et=s.XpG(2);s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function Uo(G,Qt){if(1&G&&(s.j41(0,"div",14)(1,"span",13),s.EFF(2),s.k0s()()),2&G){const et=s.XpG(2);s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function fr(G,Qt){if(1&G&&(s.j41(0,"div",15)(1,"div",16),s.EFF(2),s.k0s()()),2&G){const et=s.XpG(2);s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function Pr(G,Qt){if(1&G&&(s.DNE(0,eo,1,2,"mat-icon",10),s.j41(1,"div",11)(2,"div",12)(3,"span",13),s.EFF(4),s.k0s()(),s.DNE(5,Uo,3,2,"div",14),s.k0s(),s.DNE(6,fr,3,2,"div",15)),2&G){const et=s.XpG();s.vxM(et.item.icon?0:-1),s.R7$(3),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.title),s.R7$(),s.SpI(" ",et.item.title," "),s.R7$(),s.vxM(et.item.subtitle?5:-1),s.R7$(),s.vxM(et.item.badge?6:-1)}}let re=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new S.B}ngOnInit(){this.isActiveMatchOptions=this.item.isActiveMatchOptions??this.item.exactMatch?this._angorUtilsService.exactMatchOptions:this._angorUtilsService.subsetMatchOptions,this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-basic-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:10,vars:10,consts:[["itemTemplate",""],[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-vertical-navigation-item",3,"href","target","matTooltip"],[1,"angor-vertical-navigation-item",3,"ngClass","matTooltip"],[1,"angor-vertical-navigation-item","angor-vertical-navigation-item-disabled",3,"matTooltip"],[4,"ngTemplateOutlet"],[1,"angor-vertical-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-vertical-navigation-item",3,"click","ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-vertical-navigation-item",3,"click","href","target","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"]],template:function(te,le){1&te&&(s.j41(0,"div",1),s.DNE(1,Ie,2,14,"a",2)(2,mt,2,4,"a",3)(3,Y,2,5,"div",4)(4,Tt,2,14,"a",2)(5,ye,2,4,"a",3)(6,Je,2,5,"div",4)(7,Wr,2,2,"div",5),s.k0s(),s.DNE(8,Pr,7,5,"ng-template",null,0,s.C5r)),2&te&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(),s.vxM(!le.item.link||le.item.externalLink||le.item.function||le.item.disabled?-1:1),s.R7$(),s.vxM(le.item.link&&le.item.externalLink&&!le.item.function&&!le.item.disabled?2:-1),s.R7$(),s.vxM(le.item.link||!le.item.function||le.item.disabled?-1:3),s.R7$(),s.vxM(le.item.link&&!le.item.externalLink&&le.item.function&&!le.item.disabled?4:-1),s.R7$(),s.vxM(le.item.link&&le.item.externalLink&&le.item.function&&!le.item.disabled?5:-1),s.R7$(),s.vxM(le.item.link||le.item.function||le.item.disabled?-1:6),s.R7$(),s.vxM(le.item.disabled?7:-1))},dependencies:[I.YU,L.Wk,L.wQ,R.uc,R.oV,I.T3,T.m_,T.An],encapsulation:2,changeDetection:0})}}return G})(),qt=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new S.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-divider-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper","divider",3,"ngClass"]],template:function(te,le){1&te&&s.nrm(0,"div",0),2&te&&s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})(),Pt=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new S.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-spacer-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"]],template:function(te,le){1&te&&s.nrm(0,"div",0),2&te&&s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})();function ue(G,Qt){if(1&G&&s.nrm(0,"mat-icon",2),2&G){const et=s.XpG();s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function mr(G,Qt){if(1&G&&(s.j41(0,"div",6)(1,"span",5),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function Qr(G,Qt){if(1&G&&(s.j41(0,"div",7)(1,"div",8),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function Ro(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Ko(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function tr(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function $e(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function _e(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function qe(G,Qt){if(1&G&&s.DNE(0,Ro,1,2,"angor-vertical-navigation-basic-item",9)(1,Ko,1,3,"angor-vertical-navigation-collapsable-item",10)(2,tr,1,2,"angor-vertical-navigation-divider-item",9)(3,$e,1,2,"angor-vertical-navigation-group-item",9)(4,_e,1,2,"angor-vertical-navigation-spacer-item",9),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("collapsable"===et.type?1:-1),s.R7$(),s.vxM("divider"===et.type?2:-1),s.R7$(),s.vxM("group"===et.type?3:-1),s.R7$(),s.vxM("spacer"===et.type?4:-1)}}function ke(G,Qt){if(1&G&&s.DNE(0,qe,5,5),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}let me=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new S.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(et,te){return te.id||et}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-group-item"]],inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:11,vars:8,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(te,le){1&te&&(s.j41(0,"div",0)(1,"div",1),s.DNE(2,ue,1,2,"mat-icon",2),s.j41(3,"div",3)(4,"div",4)(5,"span",5),s.EFF(6),s.k0s()(),s.DNE(7,mr,3,2,"div",6),s.k0s(),s.DNE(8,Qr,3,2,"div",7),s.k0s()(),s.Z7z(9,ke,1,1,null,null,le.trackByFn,!0)),2&te&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(2),s.vxM(le.item.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.title),s.R7$(),s.SpI(" ",le.item.title," "),s.R7$(),s.vxM(le.item.subtitle?7:-1),s.R7$(),s.vxM(le.item.badge?8:-1),s.R7$(),s.Dyx(le.item.children))},dependencies:()=>[G,I.YU,T.m_,T.An,re,Ke,qt,Pt],encapsulation:2,changeDetection:0})}}return G})();var Yt=r(5964);const Se=G=>({"angor-vertical-navigation-item-disabled":G});function ar(G,Qt){if(1&G&&s.nrm(0,"mat-icon",2),2&G){const et=s.XpG();s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function xr(G,Qt){if(1&G&&(s.j41(0,"div",6)(1,"span",5),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function Eo(G,Qt){if(1&G&&(s.j41(0,"div",7)(1,"div",10),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function $n(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function Yn(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",12),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function Yo(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function ni(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function Fo(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function pi(G,Qt){if(1&G&&s.DNE(0,$n,1,2,"angor-vertical-navigation-basic-item",11)(1,Yn,1,3,"angor-vertical-navigation-collapsable-item",12)(2,Yo,1,2,"angor-vertical-navigation-divider-item",11)(3,ni,1,2,"angor-vertical-navigation-group-item",11)(4,Fo,1,2,"angor-vertical-navigation-spacer-item",11),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("collapsable"===et.type?1:-1),s.R7$(),s.vxM("divider"===et.type?2:-1),s.R7$(),s.vxM("group"===et.type?3:-1),s.R7$(),s.vxM("spacer"===et.type?4:-1)}}function ei(G,Qt){if(1&G&&s.DNE(0,pi,5,5),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function Oe(G,Qt){if(1&G&&(s.j41(0,"div",9),s.Z7z(1,ei,1,1,null,null,s.BUC().trackByFn,!0),s.k0s()),2&G){const et=s.XpG();s.Y8G("@expandCollapse",void 0),s.R7$(),s.Dyx(et.item.children)}}let Ke=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._router=(0,s.WQX)(L.Ix),this._angorNavigationService=(0,s.WQX)(c),this.isCollapsed=!0,this.isExpanded=!1,this._unsubscribeAll=new S.B}get classList(){return{"angor-vertical-navigation-item-collapsed":this.isCollapsed,"angor-vertical-navigation-item-expanded":this.isExpanded}}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._hasActiveChild(this.item,this._router.url)?this.expand():this.autoCollapse&&this.collapse(),this._angorVerticalNavigationComponent.onCollapsableItemCollapsed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(et=>{null!==et&&this._isChildrenOf(et,this.item)&&this.collapse()}),this.autoCollapse&&this._angorVerticalNavigationComponent.onCollapsableItemExpanded.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(et=>{null!==et&&(this._isChildrenOf(this.item,et)||this._hasActiveChild(this.item,this._router.url)||this.item!==et&&this.collapse())}),this._router.events.pipe((0,Yt.p)(et=>et instanceof L.wF),(0,J.Q)(this._unsubscribeAll)).subscribe(et=>{this._hasActiveChild(this.item,et.urlAfterRedirects)?this.expand():this.autoCollapse&&this.collapse()}),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}collapse(){this.item.disabled||this.isCollapsed||(this.isCollapsed=!0,this.isExpanded=!this.isCollapsed,this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onCollapsableItemCollapsed.next(this.item))}expand(){this.item.disabled||this.isCollapsed&&(this.isCollapsed=!1,this.isExpanded=!this.isCollapsed,this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onCollapsableItemExpanded.next(this.item))}toggleCollapsable(){this.isCollapsed?this.expand():this.collapse()}trackByFn(et,te){return te.id||et}_hasActiveChild(et,te){const le=et.children;if(!le)return!1;for(const Br of le)if(Br.children&&this._hasActiveChild(Br,te)||Br.link&&this._router.isActive(Br.link,Br.exactMatch||!1))return!0;return!1}_isChildrenOf(et,te){const le=et.children;if(!le)return!1;if(le.indexOf(te)>-1)return!0;for(const Br of le)if(Br.children&&this._isChildrenOf(Br,te))return!0;return!1}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-collapsable-item"]],hostVars:2,hostBindings:function(te,le){2&te&&s.HbH(le.classList)},inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:11,vars:14,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-arrow","icon-size-4",3,"svgIcon"],[1,"angor-vertical-navigation-item-children"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(te,le){1&te&&(s.j41(0,"div",0)(1,"div",1),s.bIt("click",function(){return le.toggleCollapsable()}),s.DNE(2,ar,1,2,"mat-icon",2),s.j41(3,"div",3)(4,"div",4)(5,"span",5),s.EFF(6),s.k0s()(),s.DNE(7,xr,3,2,"div",6),s.k0s(),s.DNE(8,Eo,3,2,"div",7),s.nrm(9,"mat-icon",8),s.k0s()(),s.DNE(10,Oe,3,1,"div",9)),2&te&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(),s.Y8G("ngClass",s.eq3(12,Se,le.item.disabled))("matTooltip",le.item.tooltip||""),s.R7$(),s.vxM(le.item.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.title),s.R7$(),s.SpI(" ",le.item.title," "),s.R7$(),s.vxM(le.item.subtitle?7:-1),s.R7$(),s.vxM(le.item.badge?8:-1),s.R7$(),s.Y8G("svgIcon","heroicons_solid:chevron-right"),s.R7$(),s.vxM(le.isCollapsed?-1:10))},dependencies:()=>[G,I.YU,R.uc,R.oV,T.m_,T.An,re,qt,me,Pt],encapsulation:2,data:{animation:o.F},changeDetection:0})}}return G})();const Dr=(G,Qt,et)=>({"angor-vertical-navigation-item-active":G,"angor-vertical-navigation-item-disabled":Qt,"angor-vertical-navigation-item-active-forced":et});function Lr(G,Qt){if(1&G&&s.nrm(0,"mat-icon",2),2&G){const et=s.XpG();s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function Ur(G,Qt){if(1&G&&(s.j41(0,"div",6)(1,"span",5),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function ao(G,Qt){if(1&G&&(s.j41(0,"div",7)(1,"div",9),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function no(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function vo(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function Co(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function ro(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function Ht(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function he(G,Qt){if(1&G&&s.DNE(0,no,1,2,"angor-vertical-navigation-basic-item",10)(1,vo,1,3,"angor-vertical-navigation-collapsable-item",11)(2,Co,1,2,"angor-vertical-navigation-divider-item",10)(3,ro,1,2,"angor-vertical-navigation-group-item",10)(4,Ht,1,2,"angor-vertical-navigation-spacer-item",10),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("collapsable"===et.type?1:-1),s.R7$(),s.vxM("divider"===et.type?2:-1),s.R7$(),s.vxM("group"===et.type?3:-1),s.R7$(),s.vxM("spacer"===et.type?4:-1)}}function ce(G,Qt){if(1&G&&s.DNE(0,he,5,5),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function dt(G,Qt){if(1&G&&(s.j41(0,"div",8),s.Z7z(1,ce,1,1,null,null,s.BUC().trackByFn,!0),s.k0s()),2&G){const et=s.XpG();s.R7$(),s.Dyx(et.item.children)}}let Gt=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._router=(0,s.WQX)(L.Ix),this._angorNavigationService=(0,s.WQX)(c),this.active=!1,this._unsubscribeAll=new S.B}ngOnChanges(et){"activeItemId"in et&&this._markIfActive(this._router.url)}ngOnInit(){this._markIfActive(this._router.url),this._router.events.pipe((0,Yt.p)(et=>et instanceof L.wF),(0,J.Q)(this._unsubscribeAll)).subscribe(et=>{this._markIfActive(et.urlAfterRedirects)}),this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,J.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(et,te){return te.id||et}_hasActiveChild(et,te){const le=et.children;if(!le)return!1;for(const Br of le){if(Br.children&&this._hasActiveChild(Br,te))return!0;if("basic"===Br.type&&Br.link&&this._router.isActive(Br.link,Br.exactMatch||!1))return!0}return!1}_markIfActive(et){this.active=this.activeItemId===this.item.id,this._hasActiveChild(this.item,et)&&(this.active=!0),this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-aside-item"]],inputs:{activeItemId:"activeItemId",autoCollapse:"autoCollapse",item:"item",name:"name",skipChildren:"skipChildren"},standalone:!0,features:[s.OA$,s.aNF],decls:10,vars:15,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"ngClass","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-children"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(te,le){1&te&&(s.j41(0,"div",0)(1,"div",1),s.DNE(2,Lr,1,2,"mat-icon",2),s.j41(3,"div",3)(4,"div",4)(5,"span",5),s.EFF(6),s.k0s()(),s.DNE(7,Ur,3,2,"div",6),s.k0s(),s.DNE(8,ao,3,2,"div",7),s.k0s()(),s.DNE(9,dt,3,0,"div",8)),2&te&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(),s.Y8G("ngClass",s.sMw(11,Dr,le.active,le.item.disabled,le.item.active))("matTooltip",le.item.tooltip||""),s.R7$(),s.vxM(le.item.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.title),s.R7$(),s.SpI(" ",le.item.title," "),s.R7$(),s.vxM(le.item.subtitle?7:-1),s.R7$(),s.vxM(le.item.badge?8:-1),s.R7$(),s.vxM(le.skipChildren?-1:9))},dependencies:[I.YU,R.uc,R.oV,T.m_,T.An,re,Ke,qt,me,Pt],encapsulation:2,changeDetection:0})}}return G})();class Dt{constructor(Qt,et,te,le){this.x=Qt,this.y=et,this.w=te,this.h=le}}class ne{constructor(Qt,et){this.x=Qt,this.y=et}}var Re=r(4085),Ce=r(6860),or=r(2401);function Cr(G){return getComputedStyle(G)}function Er(G,Qt){for(var et in Qt){var te=Qt[et];"number"==typeof te&&(te+="px"),G.style[et]=te}return G}function Nr(G){var Qt=document.createElement("div");return Qt.className=G,Qt}var Fr=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function qr(G,Qt){if(!Fr)throw new Error("No element matching method supported");return Fr.call(G,Qt)}function to(G){G.remove?G.remove():G.parentNode&&G.parentNode.removeChild(G)}function xo(G,Qt){return Array.prototype.filter.call(G.children,function(et){return qr(et,Qt)})}var Ao={main:"ps",rtl:"ps__rtl",element:{thumb:function(G){return"ps__thumb-"+G},rail:function(G){return"ps__rail-"+G},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(G){return"ps--active-"+G},scrolling:function(G){return"ps--scrolling-"+G}}},po={x:null,y:null};function io(G,Qt){var et=G.element.classList,te=Ao.state.scrolling(Qt);et.contains(te)?clearTimeout(po[Qt]):et.add(te)}function Zn(G,Qt){po[Qt]=setTimeout(function(){return G.isAlive&&G.element.classList.remove(Ao.state.scrolling(Qt))},G.settings.scrollingThreshold)}var jn=function(Qt){this.element=Qt,this.handlers={}},$o={isEmpty:{configurable:!0}};jn.prototype.bind=function(Qt,et){typeof this.handlers[Qt]>"u"&&(this.handlers[Qt]=[]),this.handlers[Qt].push(et),this.element.addEventListener(Qt,et,!1)},jn.prototype.unbind=function(Qt,et){var te=this;this.handlers[Qt]=this.handlers[Qt].filter(function(le){return!(!et||le===et)||(te.element.removeEventListener(Qt,le,!1),!1)})},jn.prototype.unbindAll=function(){for(var Qt in this.handlers)this.unbind(Qt)},$o.isEmpty.get=function(){var G=this;return Object.keys(this.handlers).every(function(Qt){return 0===G.handlers[Qt].length})},Object.defineProperties(jn.prototype,$o);var Bn=function(){this.eventElements=[]};function Hi(G){if("function"==typeof window.CustomEvent)return new CustomEvent(G);var Qt=document.createEvent("CustomEvent");return Qt.initCustomEvent(G,!1,!1,void 0),Qt}function nn(G,Qt,et,te,le){var Br;if(void 0===te&&(te=!0),void 0===le&&(le=!1),"top"===Qt)Br=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==Qt)throw new Error("A proper axis should be provided");Br=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function Pa(G,Qt,et,te,le){var Br=et[0],jr=et[1],Oo=et[2],co=et[3],en=et[4],mn=et[5];void 0===te&&(te=!0),void 0===le&&(le=!1);var Lo=G.element;G.reach[co]=null,Lo[Oo]<1&&(G.reach[co]="start"),Lo[Oo]>G[Br]-G[jr]-1&&(G.reach[co]="end"),Qt&&(Lo.dispatchEvent(Hi("ps-scroll-"+co)),Qt<0?Lo.dispatchEvent(Hi("ps-scroll-"+en)):Qt>0&&Lo.dispatchEvent(Hi("ps-scroll-"+mn)),te&&function Di(G,Qt){io(G,Qt),Zn(G,Qt)}(G,co)),G.reach[co]&&(Qt||le)&&Lo.dispatchEvent(Hi("ps-"+co+"-reach-"+G.reach[co]))}(G,et,Br,te,le)}function Tn(G){return parseInt(G,10)||0}Bn.prototype.eventElement=function(Qt){var et=this.eventElements.filter(function(te){return te.element===Qt})[0];return et||(et=new jn(Qt),this.eventElements.push(et)),et},Bn.prototype.bind=function(Qt,et,te){this.eventElement(Qt).bind(et,te)},Bn.prototype.unbind=function(Qt,et,te){var le=this.eventElement(Qt);le.unbind(et,te),le.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(le),1)},Bn.prototype.unbindAll=function(){this.eventElements.forEach(function(Qt){return Qt.unbindAll()}),this.eventElements=[]},Bn.prototype.once=function(Qt,et,te){var le=this.eventElement(Qt),Br=function(jr){le.unbind(et,Br),te(jr)};le.bind(et,Br)};var da={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function va(G){var Qt=G.element,et=Math.floor(Qt.scrollTop),te=Qt.getBoundingClientRect();G.containerWidth=Math.floor(te.width),G.containerHeight=Math.floor(te.height),G.contentWidth=Qt.scrollWidth,G.contentHeight=Qt.scrollHeight,Qt.contains(G.scrollbarXRail)||(xo(Qt,Ao.element.rail("x")).forEach(function(le){return to(le)}),Qt.appendChild(G.scrollbarXRail)),Qt.contains(G.scrollbarYRail)||(xo(Qt,Ao.element.rail("y")).forEach(function(le){return to(le)}),Qt.appendChild(G.scrollbarYRail)),!G.settings.suppressScrollX&&G.containerWidth+G.settings.scrollXMarginOffset=G.railXWidth-G.scrollbarXWidth&&(G.scrollbarXLeft=G.railXWidth-G.scrollbarXWidth),G.scrollbarYTop>=G.railYHeight-G.scrollbarYHeight&&(G.scrollbarYTop=G.railYHeight-G.scrollbarYHeight),function Qi(G,Qt){var et={width:Qt.railXWidth},te=Math.floor(G.scrollTop);et.left=Qt.isRtl?Qt.negativeScrollAdjustment+G.scrollLeft+Qt.containerWidth-Qt.contentWidth:G.scrollLeft,Qt.isScrollbarXUsingBottom?et.bottom=Qt.scrollbarXBottom-te:et.top=Qt.scrollbarXTop+te,Er(Qt.scrollbarXRail,et);var le={top:te,height:Qt.railYHeight};Qt.isScrollbarYUsingRight?le.right=Qt.isRtl?Qt.contentWidth-(Qt.negativeScrollAdjustment+G.scrollLeft)-Qt.scrollbarYRight-Qt.scrollbarYOuterWidth-9:Qt.scrollbarYRight-G.scrollLeft:le.left=Qt.isRtl?Qt.negativeScrollAdjustment+G.scrollLeft+2*Qt.containerWidth-Qt.contentWidth-Qt.scrollbarYLeft-Qt.scrollbarYOuterWidth:Qt.scrollbarYLeft+G.scrollLeft,Er(Qt.scrollbarYRail,le),Er(Qt.scrollbarX,{left:Qt.scrollbarXLeft,width:Qt.scrollbarXWidth-Qt.railBorderXWidth}),Er(Qt.scrollbarY,{top:Qt.scrollbarYTop,height:Qt.scrollbarYHeight-Qt.railBorderYWidth})}(Qt,G),G.scrollbarXActive?Qt.classList.add(Ao.state.active("x")):(Qt.classList.remove(Ao.state.active("x")),G.scrollbarXWidth=0,G.scrollbarXLeft=0,Qt.scrollLeft=!0===G.isRtl?G.contentWidth:0),G.scrollbarYActive?Qt.classList.add(Ao.state.active("y")):(Qt.classList.remove(Ao.state.active("y")),G.scrollbarYHeight=0,G.scrollbarYTop=0,Qt.scrollTop=0)}function Si(G,Qt){return G.settings.minScrollbarLength&&(Qt=Math.max(Qt,G.settings.minScrollbarLength)),G.settings.maxScrollbarLength&&(Qt=Math.min(Qt,G.settings.maxScrollbarLength)),Qt}var ua=null;function na(G,Qt){var et=Qt[0],te=Qt[1],le=Qt[2],Br=Qt[3],jr=Qt[4],Oo=Qt[5],co=Qt[6],en=Qt[7],mn=Qt[8],Lo=G.element,In=null,Ai=null,Un=null;function Ti(ri){ri.touches&&ri.touches[0]&&(ri[le]=ri.touches[0]["page"+en.toUpperCase()]),ua===jr&&(Lo[co]=In+Un*(ri[le]-Ai),io(G,en),va(G),ri.stopPropagation(),ri.preventDefault())}function wi(){Zn(G,en),G[mn].classList.remove(Ao.state.clicking),document.removeEventListener("mousemove",Ti),document.removeEventListener("mouseup",wi),document.removeEventListener("touchmove",Ti),document.removeEventListener("touchend",wi),ua=null}function Ji(ri){null===ua&&(ua=jr,In=Lo[co],ri.touches&&(ri[le]=ri.touches[0]["page"+en.toUpperCase()]),Ai=ri[le],Un=(G[te]-G[et])/(G[Br]-G[Oo]),ri.touches?(document.addEventListener("touchmove",Ti,{passive:!1}),document.addEventListener("touchend",wi)):(document.addEventListener("mousemove",Ti),document.addEventListener("mouseup",wi)),G[mn].classList.add(Ao.state.clicking)),ri.stopPropagation(),ri.cancelable&&ri.preventDefault()}G[jr].addEventListener("mousedown",Ji),G[jr].addEventListener("touchstart",Ji)}var Jn={"click-rail":function Qn(G){G.event.bind(G.scrollbarY,"mousedown",function(Qt){return Qt.stopPropagation()}),G.event.bind(G.scrollbarYRail,"mousedown",function(Qt){var et=Qt.pageY-window.pageYOffset-G.scrollbarYRail.getBoundingClientRect().top;G.element.scrollTop+=(et>G.scrollbarYTop?1:-1)*G.containerHeight,va(G),Qt.stopPropagation()}),G.event.bind(G.scrollbarX,"mousedown",function(Qt){return Qt.stopPropagation()}),G.event.bind(G.scrollbarXRail,"mousedown",function(Qt){var et=Qt.pageX-window.pageXOffset-G.scrollbarXRail.getBoundingClientRect().left;G.element.scrollLeft+=(et>G.scrollbarXLeft?1:-1)*G.containerWidth,va(G),Qt.stopPropagation()})},"drag-thumb":function Mn(G){na(G,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"]),na(G,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"])},keyboard:function fi(G){var Qt=G.element;G.event.bind(G.ownerDocument,"keydown",function(Br){if(!(Br.isDefaultPrevented&&Br.isDefaultPrevented()||Br.defaultPrevented)&&(qr(Qt,":hover")||qr(G.scrollbarX,":focus")||qr(G.scrollbarY,":focus"))){var jr=document.activeElement?document.activeElement:G.ownerDocument.activeElement;if(jr){if("IFRAME"===jr.tagName)jr=jr.contentDocument.activeElement;else for(;jr.shadowRoot;)jr=jr.shadowRoot.activeElement;if(function vi(G){return qr(G,"input,[contenteditable]")||qr(G,"select,[contenteditable]")||qr(G,"textarea,[contenteditable]")||qr(G,"button,[contenteditable]")}(jr))return}var Oo=0,co=0;switch(Br.which){case 37:Oo=Br.metaKey?-G.contentWidth:Br.altKey?-G.containerWidth:-30;break;case 38:co=Br.metaKey?G.contentHeight:Br.altKey?G.containerHeight:30;break;case 39:Oo=Br.metaKey?G.contentWidth:Br.altKey?G.containerWidth:30;break;case 40:co=Br.metaKey?-G.contentHeight:Br.altKey?-G.containerHeight:-30;break;case 32:co=Br.shiftKey?G.containerHeight:-G.containerHeight;break;case 33:co=G.containerHeight;break;case 34:co=-G.containerHeight;break;case 36:co=G.contentHeight;break;case 35:co=-G.contentHeight;break;default:return}G.settings.suppressScrollX&&0!==Oo||G.settings.suppressScrollY&&0!==co||(Qt.scrollTop-=co,Qt.scrollLeft+=Oo,va(G),function le(Br,jr){var Oo=Math.floor(Qt.scrollTop);if(0===Br){if(!G.scrollbarYActive)return!1;if(0===Oo&&jr>0||Oo>=G.contentHeight-G.containerHeight&&jr<0)return!G.settings.wheelPropagation}var co=Qt.scrollLeft;if(0===jr){if(!G.scrollbarXActive)return!1;if(0===co&&Br<0||co>=G.contentWidth-G.containerWidth&&Br>0)return!G.settings.wheelPropagation}return!0}(Oo,co)&&Br.preventDefault())}})},wheel:function Go(G){var Qt=G.element;function Br(jr){var Oo=function te(jr){var Oo=jr.deltaX,co=-1*jr.deltaY;return(typeof Oo>"u"||typeof co>"u")&&(Oo=-1*jr.wheelDeltaX/6,co=jr.wheelDeltaY/6),jr.deltaMode&&1===jr.deltaMode&&(Oo*=10,co*=10),Oo!=Oo&&co!=co&&(Oo=0,co=jr.wheelDelta),jr.shiftKey?[-co,-Oo]:[Oo,co]}(jr),co=Oo[0],en=Oo[1];if(!function le(jr,Oo,co){if(!da.isWebKit&&Qt.querySelector("select:focus"))return!0;if(!Qt.contains(jr))return!1;for(var en=jr;en&&en!==Qt;){if(en.classList.contains(Ao.element.consuming))return!0;var mn=Cr(en);if(co&&mn.overflowY.match(/(scroll|auto)/)){var Lo=en.scrollHeight-en.clientHeight;if(Lo>0&&(en.scrollTop>0&&co<0||en.scrollTop0))return!0}if(Oo&&mn.overflowX.match(/(scroll|auto)/)){var In=en.scrollWidth-en.clientWidth;if(In>0&&(en.scrollLeft>0&&Oo<0||en.scrollLeft0))return!0}en=en.parentNode}return!1}(jr.target,co,en)){var mn=!1;G.settings.useBothWheelAxes?G.scrollbarYActive&&!G.scrollbarXActive?(en?Qt.scrollTop-=en*G.settings.wheelSpeed:Qt.scrollTop+=co*G.settings.wheelSpeed,mn=!0):G.scrollbarXActive&&!G.scrollbarYActive&&(co?Qt.scrollLeft+=co*G.settings.wheelSpeed:Qt.scrollLeft-=en*G.settings.wheelSpeed,mn=!0):(Qt.scrollTop-=en*G.settings.wheelSpeed,Qt.scrollLeft+=co*G.settings.wheelSpeed),va(G),mn=mn||function et(jr,Oo){var co=Math.floor(Qt.scrollTop),en=0===Qt.scrollTop,mn=co+Qt.offsetHeight===Qt.scrollHeight,Lo=0===Qt.scrollLeft,In=Qt.scrollLeft+Qt.offsetWidth===Qt.scrollWidth;return!(Math.abs(Oo)>Math.abs(jr)?en||mn:Lo||In)||!G.settings.wheelPropagation}(co,en),mn&&!jr.ctrlKey&&(jr.stopPropagation(),jr.preventDefault())}}typeof window.onwheel<"u"?G.event.bind(Qt,"wheel",Br):typeof window.onmousewheel<"u"&&G.event.bind(Qt,"mousewheel",Br)},touch:function pa(G){if(da.supportsTouch||da.supportsIePointer){var Qt=G.element,et={startOffset:{},startTime:0,speed:{},easingLoop:null};da.supportsTouch?(G.event.bind(Qt,"touchstart",Oo),G.event.bind(Qt,"touchmove",en),G.event.bind(Qt,"touchend",mn)):da.supportsIePointer&&(window.PointerEvent?(G.event.bind(Qt,"pointerdown",Oo),G.event.bind(Qt,"pointermove",en),G.event.bind(Qt,"pointerup",mn)):window.MSPointerEvent&&(G.event.bind(Qt,"MSPointerDown",Oo),G.event.bind(Qt,"MSPointerMove",en),G.event.bind(Qt,"MSPointerUp",mn)))}function le(Lo,In){Qt.scrollTop-=In,Qt.scrollLeft-=Lo,va(G)}function Br(Lo){return Lo.targetTouches?Lo.targetTouches[0]:Lo}function jr(Lo){return!(Lo.target===G.scrollbarX||Lo.target===G.scrollbarY||Lo.pointerType&&"pen"===Lo.pointerType&&0===Lo.buttons||!(Lo.targetTouches&&1===Lo.targetTouches.length||Lo.pointerType&&"mouse"!==Lo.pointerType&&Lo.pointerType!==Lo.MSPOINTER_TYPE_MOUSE))}function Oo(Lo){if(jr(Lo)){var In=Br(Lo);et.startOffset.pageX=In.pageX,et.startOffset.pageY=In.pageY,et.startTime=(new Date).getTime(),null!==et.easingLoop&&clearInterval(et.easingLoop)}}function en(Lo){if(jr(Lo)){var In=Br(Lo),Ai={pageX:In.pageX,pageY:In.pageY},Un=Ai.pageX-et.startOffset.pageX,Ti=Ai.pageY-et.startOffset.pageY;if(function co(Lo,In,Ai){if(!Qt.contains(Lo))return!1;for(var Un=Lo;Un&&Un!==Qt;){if(Un.classList.contains(Ao.element.consuming))return!0;var Ti=Cr(Un);if(Ai&&Ti.overflowY.match(/(scroll|auto)/)){var wi=Un.scrollHeight-Un.clientHeight;if(wi>0&&(Un.scrollTop>0&&Ai<0||Un.scrollTop0))return!0}if(In&&Ti.overflowX.match(/(scroll|auto)/)){var Ji=Un.scrollWidth-Un.clientWidth;if(Ji>0&&(Un.scrollLeft>0&&In<0||Un.scrollLeft0))return!0}Un=Un.parentNode}return!1}(Lo.target,Un,Ti))return;le(Un,Ti),et.startOffset=Ai;var wi=(new Date).getTime(),Ji=wi-et.startTime;Ji>0&&(et.speed.x=Un/Ji,et.speed.y=Ti/Ji,et.startTime=wi),function te(Lo,In){var Ai=Math.floor(Qt.scrollTop),Un=Qt.scrollLeft,Ti=Math.abs(Lo),wi=Math.abs(In);if(wi>Ti){if(In<0&&Ai===G.contentHeight-G.containerHeight||In>0&&0===Ai)return 0===window.scrollY&&In>0&&da.isChrome}else if(Ti>wi&&(Lo<0&&Un===G.contentWidth-G.containerWidth||Lo>0&&0===Un))return!0;return!0}(Un,Ti)&&Lo.cancelable&&Lo.preventDefault()}}function mn(){G.settings.swipeEasing&&(clearInterval(et.easingLoop),et.easingLoop=setInterval(function(){G.isInitialized?clearInterval(et.easingLoop):et.speed.x||et.speed.y?Math.abs(et.speed.x)<.01&&Math.abs(et.speed.y)<.01?clearInterval(et.easingLoop):(le(30*et.speed.x,30*et.speed.y),et.speed.x*=.8,et.speed.y*=.8):clearInterval(et.easingLoop)},10))}}},Ln=function(Qt,et){var te=this;if(void 0===et&&(et={}),"string"==typeof Qt&&(Qt=document.querySelector(Qt)),!Qt||!Qt.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var le in this.element=Qt,Qt.classList.add(Ao.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},et)this.settings[le]=et[le];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var mn,en,Br=function(){return Qt.classList.add(Ao.state.focus)},jr=function(){return Qt.classList.remove(Ao.state.focus)};this.isRtl="rtl"===Cr(Qt).direction,!0===this.isRtl&&Qt.classList.add(Ao.rtl),this.isNegativeScroll=(en=Qt.scrollLeft,Qt.scrollLeft=-1,mn=Qt.scrollLeft<0,Qt.scrollLeft=en,mn),this.negativeScrollAdjustment=this.isNegativeScroll?Qt.scrollWidth-Qt.clientWidth:0,this.event=new Bn,this.ownerDocument=Qt.ownerDocument||document,this.scrollbarXRail=Nr(Ao.element.rail("x")),Qt.appendChild(this.scrollbarXRail),this.scrollbarX=Nr(Ao.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Br),this.event.bind(this.scrollbarX,"blur",jr),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Oo=Cr(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Oo.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Tn(Oo.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Tn(Oo.borderLeftWidth)+Tn(Oo.borderRightWidth),Er(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Tn(Oo.marginLeft)+Tn(Oo.marginRight),Er(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=Nr(Ao.element.rail("y")),Qt.appendChild(this.scrollbarYRail),this.scrollbarY=Nr(Ao.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Br),this.event.bind(this.scrollbarY,"blur",jr),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var co=Cr(this.scrollbarYRail);this.scrollbarYRight=parseInt(co.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Tn(co.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function ds(G){var Qt=Cr(G);return Tn(Qt.width)+Tn(Qt.paddingLeft)+Tn(Qt.paddingRight)+Tn(Qt.borderLeftWidth)+Tn(Qt.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Tn(co.borderTopWidth)+Tn(co.borderBottomWidth),Er(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Tn(co.marginTop)+Tn(co.marginBottom),Er(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:Qt.scrollLeft<=0?"start":Qt.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:Qt.scrollTop<=0?"start":Qt.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(en){return Jn[en](te)}),this.lastScrollTop=Math.floor(Qt.scrollTop),this.lastScrollLeft=Qt.scrollLeft,this.event.bind(this.element,"scroll",function(en){return te.onScroll(en)}),va(this)};Ln.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Er(this.scrollbarXRail,{display:"block"}),Er(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Tn(Cr(this.scrollbarXRail).marginLeft)+Tn(Cr(this.scrollbarXRail).marginRight),this.railYMarginHeight=Tn(Cr(this.scrollbarYRail).marginTop)+Tn(Cr(this.scrollbarYRail).marginBottom),Er(this.scrollbarXRail,{display:"none"}),Er(this.scrollbarYRail,{display:"none"}),va(this),nn(this,"top",0,!1,!0),nn(this,"left",0,!1,!0),Er(this.scrollbarXRail,{display:""}),Er(this.scrollbarYRail,{display:""}))},Ln.prototype.onScroll=function(Qt){this.isAlive&&(va(this),nn(this,"top",this.element.scrollTop-this.lastScrollTop),nn(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Ln.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),to(this.scrollbarX),to(this.scrollbarY),to(this.scrollbarXRail),to(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Ln.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(Qt){return!Qt.match(/^ps([-_].+|)$/)}).join(" ")};const Fa=Ln;var zo=r(3726),Ba=r(152);let ii=(()=>{class G{constructor(){this._elementRef=(0,s.WQX)(s.aKT),this._platform=(0,s.WQX)(Ce.OD),this.angorScrollbar=!0,this._ps=null,this._unsubscribeAll=new S.B}get elementRef(){return this._elementRef}get ps(){return this._ps}ngOnChanges(et){"angorScrollbar"in et&&(this.angorScrollbar=(0,Re.he)(et.angorScrollbar.currentValue),this.angorScrollbar?this._initScrollbar():this._destroyScrollbar()),"angorScrollbarOptions"in et&&(this._options=(0,or.A)({},this._options,et.angorScrollbarOptions.currentValue),this._reinitializeScrollbar())}ngOnInit(){(0,zo.R)(window,"resize").pipe((0,J.Q)(this._unsubscribeAll),(0,Ba.B)(150)).subscribe(()=>this.update())}ngOnDestroy(){this._destroyScrollbar(),this._unsubscribeAll.next(),this._unsubscribeAll.complete()}isEnabled(){return this.angorScrollbar}update(){this._ps?.update()}destroy(){this.ngOnDestroy()}geometry(et="scroll"){return new Dt(this._elementRef.nativeElement[`${et}Left`],this._elementRef.nativeElement[`${et}Top`],this._elementRef.nativeElement[`${et}Width`],this._elementRef.nativeElement[`${et}Height`])}position(et=!1){return!et&&this._ps?new ne(this._ps.reach.x||0,this._ps.reach.y||0):new ne(this._elementRef.nativeElement.scrollLeft,this._elementRef.nativeElement.scrollTop)}scrollTo(et,te,le){null==te&&null==le?this.animateScrolling("scrollTop",et,le):(null!=et&&this.scrollToX(et,le),null!=te&&this.scrollToY(te,le))}scrollToX(et,te){this.animateScrolling("scrollLeft",et,te)}scrollToY(et,te){this.animateScrolling("scrollTop",et,te)}scrollToTop(et=0,te){this.animateScrolling("scrollTop",et,te)}scrollToBottom(et=0,te){this.animateScrolling("scrollTop",this._elementRef.nativeElement.scrollHeight-this._elementRef.nativeElement.clientHeight-et,te)}scrollToLeft(et=0,te){this.animateScrolling("scrollLeft",et,te)}scrollToRight(et=0,te){this.animateScrolling("scrollLeft",this._elementRef.nativeElement.scrollWidth-this._elementRef.nativeElement.clientWidth-et,te)}scrollToElement(et,te=0,le=!1,Br){const jr=this._elementRef.nativeElement.querySelector(et);if(!jr)return;const Oo=jr.getBoundingClientRect(),co=this._elementRef.nativeElement.getBoundingClientRect();this._elementRef.nativeElement.classList.contains("ps--active-x")&&this._scrollToInAxis(Oo.left,co.left,"scrollLeft",te,le,Br),this._elementRef.nativeElement.classList.contains("ps--active-y")&&this._scrollToInAxis(Oo.top,co.top,"scrollTop",te,le,Br)}animateScrolling(et,te,le){this._animation&&window.cancelAnimationFrame(this._animation),!le||typeof window>"u"?this._elementRef.nativeElement[et]=te:te!==this._elementRef.nativeElement[et]&&this._smoothScroll(et,te,le)}_initScrollbar(){this._ps||this._platform.ANDROID||this._platform.IOS||!this._platform.isBrowser||(this._ps=new Fa(this._elementRef.nativeElement,{...this._options}))}_destroyScrollbar(){this._ps?.destroy(),this._ps=null}_reinitializeScrollbar(){setTimeout(()=>this._destroyScrollbar()),setTimeout(()=>this._initScrollbar())}_scrollToInAxis(et,te,le,Br,jr,Oo){jr&&et<=te-Math.abs(Br)||this.animateScrolling(le,et-te+this._elementRef.nativeElement[le]+Br,Oo)}_smoothScroll(et,te,le){let Br=0,jr=this._elementRef.nativeElement[et];const Oo=(jr-te)/2;let co=performance.now();const en=mn=>{Br+=Math.PI/(le/(mn-co));const Lo=Math.round(te+Oo+Oo*Math.cos(Br));this._elementRef.nativeElement[et]===jr&&(Br>=Math.PI?this.animateScrolling(et,te,0):(this._elementRef.nativeElement[et]=Lo,jr=this._elementRef.nativeElement[et],co=mn,this._animation=window.requestAnimationFrame(en)))};window.requestAnimationFrame(en)}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275dir=s.FsC({type:G,selectors:[["","angorScrollbar",""]],inputs:{angorScrollbar:"angorScrollbar",angorScrollbarOptions:"angorScrollbarOptions"},exportAs:["angorScrollbar"],standalone:!0,features:[s.OA$]})}}return G})();var mi=r(9969),qi=r(7987),us=r(7786),fa=r(1986);const Ua=["navigationContent"],hi=[[["","angorVerticalNavigationHeader",""]],[["","angorVerticalNavigationContentHeader",""]],[["","angorVerticalNavigationFooter",""]]],Jo=["[angorVerticalNavigationHeader]","[angorVerticalNavigationContentHeader]","[angorVerticalNavigationFooter]"],On=G=>({wheelPropagation:G,suppressScrollX:!0}),ia=()=>({wheelPropagation:!1,suppressScrollX:!0});function bi(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"angor-vertical-navigation-aside-item",10),s.bIt("click",function(){s.eBV(et);const le=s.XpG(2).$implicit,Br=s.XpG();return s.Njj(Br.toggleAside(le))}),s.k0s()}if(2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)("activeItemId",te.activeAsideItemId)("autoCollapse",te.autoCollapse)("skipChildren",!0)}}function qa(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",8),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Vn(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function xi(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",8),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function ci(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function ji(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",8),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function ti(G,Qt){if(1&G&&s.DNE(0,bi,1,5,"angor-vertical-navigation-aside-item",7)(1,qa,1,2,"angor-vertical-navigation-basic-item",8)(2,Vn,1,3,"angor-vertical-navigation-collapsable-item",9)(3,xi,1,2,"angor-vertical-navigation-divider-item",8)(4,ci,1,3,"angor-vertical-navigation-group-item",9)(5,ji,1,2,"angor-vertical-navigation-spacer-item",8),2&G){const et=s.XpG().$implicit;s.vxM("aside"===et.type?0:-1),s.R7$(),s.vxM("basic"===et.type?1:-1),s.R7$(),s.vxM("collapsable"===et.type?2:-1),s.R7$(),s.vxM("divider"===et.type?3:-1),s.R7$(),s.vxM("group"===et.type?4:-1),s.R7$(),s.vxM("spacer"===et.type?5:-1)}}function aa(G,Qt){if(1&G&&s.DNE(0,ti,6,6),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function Li(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-aside-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function ma(G,Qt){if(1&G&&s.DNE(0,Li,1,3,"angor-vertical-navigation-aside-item",9),2&G){const et=s.XpG().$implicit,te=s.XpG(2);s.vxM("aside"===et.type&&et.id===te.activeAsideItemId?0:-1)}}function Ja(G,Qt){if(1&G&&s.DNE(0,ma,1,1),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function _i(G,Qt){if(1&G&&(s.j41(0,"div",6),s.Z7z(1,Ja,1,1,null,null,s.BUC().trackByFn,!0),s.k0s()),2&G){const et=s.XpG();s.Y8G("angorScrollbarOptions",s.lJ4(5,ia))("@fadeInLeft","left"===et.position)("@fadeInRight","right"===et.position)("@fadeOutLeft","left"===et.position)("@fadeOutRight","right"===et.position),s.R7$(),s.Dyx(et.navigation)}}let ts=(()=>{class G{constructor(){this._animationBuilder=(0,s.WQX)(mi.S6),this._changeDetectorRef=(0,s.WQX)(s.gRc),this._document=(0,s.WQX)(I.qQ),this._elementRef=(0,s.WQX)(s.aKT),this._renderer2=(0,s.WQX)(s.sFG),this._router=(0,s.WQX)(L.Ix),this._scrollStrategyOptions=(0,s.WQX)(qi.Tv),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.appearance="default",this.autoCollapse=!0,this.inner=!1,this.mode="side",this.name=this._angorUtilsService.randomId(),this.opened=!0,this.position="left",this.transparentOverlay=!1,this.appearanceChanged=new s.bkB,this.modeChanged=new s.bkB,this.openedChanged=new s.bkB,this.positionChanged=new s.bkB,this.activeAsideItemId=null,this.onCollapsableItemCollapsed=new k.m(1),this.onCollapsableItemExpanded=new k.m(1),this.onRefreshed=new k.m(1),this._animationsEnabled=!1,this._hovered=!1,this._scrollStrategy=this._scrollStrategyOptions.block(),this._unsubscribeAll=new S.B,this._handleAsideOverlayClick=()=>{this.closeAside()},this._handleOverlayClick=()=>{this.close()}}get classList(){return{"angor-vertical-navigation-animations-enabled":this._animationsEnabled,[`angor-vertical-navigation-appearance-${this.appearance}`]:!0,"angor-vertical-navigation-hover":this._hovered,"angor-vertical-navigation-inner":this.inner,"angor-vertical-navigation-mode-over":"over"===this.mode,"angor-vertical-navigation-mode-side":"side"===this.mode,"angor-vertical-navigation-opened":this.opened,"angor-vertical-navigation-position-left":"left"===this.position,"angor-vertical-navigation-position-right":"right"===this.position}}get styleList(){return{visibility:this.opened?"visible":"hidden"}}set angorScrollbarDirectives(et){this._angorScrollbarDirectives=et,0!==et.length&&(this._angorScrollbarDirectivesSubscription&&this._angorScrollbarDirectivesSubscription.unsubscribe(),this._angorScrollbarDirectivesSubscription=(0,us.h)(this.onCollapsableItemCollapsed,this.onCollapsableItemExpanded).pipe((0,J.Q)(this._unsubscribeAll),(0,fa.c)(250)).subscribe(()=>{et.forEach(te=>{te.update()})}))}_onMouseenter(){this._enableAnimations(),this._hovered=!0}_onMouseleave(){this._enableAnimations(),this._hovered=!1}ngOnChanges(et){if("appearance"in et&&this.appearanceChanged.next(et.appearance.currentValue),"inner"in et&&(this.inner=(0,Re.he)(et.inner.currentValue)),"mode"in et){const te=et.mode.currentValue,le=et.mode.previousValue;this._disableAnimations(),"over"===le&&"side"===te&&this._hideOverlay(),"side"===le&&"over"===te&&(this.closeAside(),this.opened&&this._showOverlay()),this.modeChanged.next(te),setTimeout(()=>{this._enableAnimations()},500)}"navigation"in et&&this._changeDetectorRef.markForCheck(),"opened"in et&&(this.opened=(0,Re.he)(et.opened.currentValue),this._toggleOpened(this.opened)),"position"in et&&this.positionChanged.next(et.position.currentValue),"transparentOverlay"in et&&(this.transparentOverlay=(0,Re.he)(et.transparentOverlay.currentValue))}ngOnInit(){""===this.name&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this),this._router.events.pipe((0,Yt.p)(et=>et instanceof L.wF),(0,J.Q)(this._unsubscribeAll)).subscribe(()=>{"over"===this.mode&&this.opened&&this.close(),"side"===this.mode&&this.activeAsideItemId&&this.closeAside()})}ngAfterViewInit(){this._mutationObserver=new MutationObserver(et=>{et.forEach(te=>{const le=te.target;if("class"===te.attributeName)if(le.classList.contains("cdk-global-scrollblock")){const Br=parseInt(le.style.top,10);this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",`${Math.abs(Br)}px`)}else this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",null)})}),this._mutationObserver.observe(this._document.documentElement,{attributes:!0,attributeFilter:["class"]}),setTimeout(()=>{if(this._navigationContentEl)if(this._navigationContentEl.nativeElement.classList.contains("ps"))this._angorScrollbarDirectives.forEach(et=>{et.isEnabled()&&et.scrollToElement(".angor-vertical-navigation-item-active",-120,!0)});else{const et=this._navigationContentEl.nativeElement.querySelector(".angor-vertical-navigation-item-active");et&&et.scrollIntoView()}})}ngOnDestroy(){this._mutationObserver.disconnect(),this.close(),this.closeAside(),this._angorNavigationService.deregisterComponent(this.name),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}refresh(){this._changeDetectorRef.markForCheck(),this.onRefreshed.next(!0)}open(){this.opened||this._toggleOpened(!0)}close(){this.opened&&(this.closeAside(),this._toggleOpened(!1))}toggle(){this.opened?this.close():this.open()}openAside(et){et.disabled||!et.id||(this.activeAsideItemId=et.id,this._showAsideOverlay(),this._changeDetectorRef.markForCheck())}closeAside(){this.activeAsideItemId=null,this._hideAsideOverlay(),this._changeDetectorRef.markForCheck()}toggleAside(et){this.activeAsideItemId===et.id?this.closeAside():this.openAside(et)}trackByFn(et,te){return te.id||et}_enableAnimations(){this._animationsEnabled||(this._animationsEnabled=!0)}_disableAnimations(){this._animationsEnabled&&(this._animationsEnabled=!1)}_showOverlay(){this._asideOverlay||(this._overlay=this._renderer2.createElement("div"),this._overlay.classList.add("angor-vertical-navigation-overlay"),this.transparentOverlay&&this._overlay.classList.add("angor-vertical-navigation-overlay-transparent"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._overlay),this._scrollStrategy.enable(),this._player=this._animationBuilder.build([(0,mi.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,mi.iF)({opacity:1}))]).create(this._overlay),this._player.play(),this._overlay.addEventListener("click",this._handleOverlayClick))}_hideOverlay(){this._overlay&&(this._player=this._animationBuilder.build([(0,mi.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,mi.iF)({opacity:0}))]).create(this._overlay),this._player.play(),this._player.onDone(()=>{this._overlay&&(this._overlay.removeEventListener("click",this._handleOverlayClick),this._overlay.parentNode.removeChild(this._overlay),this._overlay=null),this._scrollStrategy.disable()}))}_showAsideOverlay(){this._asideOverlay||(this._asideOverlay=this._renderer2.createElement("div"),this._asideOverlay.classList.add("angor-vertical-navigation-aside-overlay"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._asideOverlay),this._player=this._animationBuilder.build([(0,mi.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,mi.iF)({opacity:1}))]).create(this._asideOverlay),this._player.play(),this._asideOverlay.addEventListener("click",this._handleAsideOverlayClick))}_hideAsideOverlay(){this._asideOverlay&&(this._player=this._animationBuilder.build([(0,mi.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,mi.iF)({opacity:0}))]).create(this._asideOverlay),this._player.play(),this._player.onDone(()=>{this._asideOverlay&&(this._asideOverlay.removeEventListener("click",this._handleAsideOverlayClick),this._asideOverlay.parentNode.removeChild(this._asideOverlay),this._asideOverlay=null)}))}_toggleOpened(et){this.opened=et,this._enableAnimations(),"over"===this.mode&&(this.opened?this._showOverlay():this._hideOverlay()),this.openedChanged.next(et)}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation"]],viewQuery:function(te,le){if(1&te&&(s.GBs(Ua,5),s.GBs(ii,5)),2&te){let Br;s.mGM(Br=s.lsd())&&(le._navigationContentEl=Br.first),s.mGM(Br=s.lsd())&&(le.angorScrollbarDirectives=Br)}},hostVars:4,hostBindings:function(te,le){1&te&&s.bIt("mouseenter",function(){return le._onMouseenter()})("mouseleave",function(){return le._onMouseleave()}),2&te&&(s.Aen(le.styleList),s.HbH(le.classList))},inputs:{appearance:"appearance",autoCollapse:"autoCollapse",inner:"inner",mode:"mode",name:"name",navigation:"navigation",opened:"opened",position:"position",transparentOverlay:"transparentOverlay"},outputs:{appearanceChanged:"appearanceChanged",modeChanged:"modeChanged",openedChanged:"openedChanged",positionChanged:"positionChanged"},exportAs:["angorVerticalNavigation"],standalone:!0,features:[s.OA$,s.aNF],ngContentSelectors:Jo,decls:12,vars:4,consts:[["navigationContent",""],[1,"angor-vertical-navigation-wrapper"],[1,"angor-vertical-navigation-header"],["angorScrollbar","",1,"angor-vertical-navigation-content",3,"angorScrollbarOptions"],[1,"angor-vertical-navigation-content-header"],[1,"angor-vertical-navigation-footer"],["angorScrollbar","",1,"angor-vertical-navigation-aside-wrapper",3,"angorScrollbarOptions"],[3,"item","name","activeItemId","autoCollapse","skipChildren"],[3,"item","name"],[3,"item","name","autoCollapse"],[3,"click","item","name","activeItemId","autoCollapse","skipChildren"]],template:function(te,le){1&te&&(s.NAR(hi),s.j41(0,"div",1)(1,"div",2),s.SdG(2),s.k0s(),s.j41(3,"div",3,0)(5,"div",4),s.SdG(6,1),s.k0s(),s.Z7z(7,aa,1,1,null,null,le.trackByFn,!0),s.k0s(),s.j41(9,"div",5),s.SdG(10,2),s.k0s()(),s.DNE(11,_i,3,6,"div",6)),2&te&&(s.R7$(3),s.Y8G("angorScrollbarOptions",s.eq3(2,On,le.inner)),s.R7$(4),s.Dyx(le.navigation),s.R7$(4),s.vxM(le.activeAsideItemId?11:-1))},dependencies:[ii,Gt,re,Ke,qt,me,Pt],styles:[':root{--angor-vertical-navigation-width: 280px}angor-vertical-navigation{position:sticky;display:flex;flex-direction:column;flex:1 0 auto;top:0;width:var(--angor-vertical-navigation-width);min-width:var(--angor-vertical-navigation-width);max-width:var(--angor-vertical-navigation-width);height:100vh;min-height:100vh;max-height:100vh;z-index:200}angor-vertical-navigation.angor-vertical-navigation-animations-enabled{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:visibility,margin-left,margin-right,transform,width,max-width,min-width}angor-vertical-navigation.angor-vertical-navigation-animations-enabled .angor-vertical-navigation-wrapper{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:width,max-width,min-width}angor-vertical-navigation.angor-vertical-navigation-mode-over{position:fixed;top:0;bottom:0}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-over{left:0;transform:translate3d(-100%,0,0)}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-over.angor-vertical-navigation-opened{transform:translateZ(0)}angor-vertical-navigation.angor-vertical-navigation-position-left .angor-vertical-navigation-wrapper{left:0}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-over{right:0;transform:translate3d(100%,0,0)}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-over.angor-vertical-navigation-opened{transform:translateZ(0)}angor-vertical-navigation.angor-vertical-navigation-position-right .angor-vertical-navigation-wrapper{right:0}angor-vertical-navigation.angor-vertical-navigation-inner{position:relative;width:auto;min-width:0;max-width:none;height:auto;min-height:0;max-height:none;box-shadow:none}angor-vertical-navigation.angor-vertical-navigation-inner .angor-vertical-navigation-wrapper{position:relative;overflow:visible;height:auto}angor-vertical-navigation.angor-vertical-navigation-inner .angor-vertical-navigation-wrapper .angor-vertical-navigation-content{overflow:visible!important}angor-vertical-navigation .angor-vertical-navigation-wrapper{position:absolute;display:flex;flex:1 1 auto;flex-direction:column;top:0;bottom:0;width:100%;height:100%;overflow:hidden;z-index:10;background:inherit;box-shadow:inset -1px 0 0 var(--angor-border)}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content{flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-divider-item{margin:24px 0}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-group-item{margin-top:24px}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper{position:absolute;display:flex;flex:1 1 auto;flex-direction:column;top:0;bottom:0;left:var(--angor-vertical-navigation-width);width:var(--angor-vertical-navigation-width);height:100%;z-index:5;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;transition-duration:.4s;transition-property:left,right;transition-timing-function:cubic-bezier(.25,.8,.25,1);background:inherit}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper>angor-vertical-navigation-aside-item{padding:24px 0}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper>angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper{display:none!important}angor-vertical-navigation.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-width)}angor-vertical-navigation angor-vertical-navigation-aside-item,angor-vertical-navigation angor-vertical-navigation-basic-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item,angor-vertical-navigation angor-vertical-navigation-divider-item,angor-vertical-navigation angor-vertical-navigation-group-item,angor-vertical-navigation angor-vertical-navigation-spacer-item{display:flex;flex-direction:column;flex:1 0 auto;-webkit-user-select:none;user-select:none}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{position:relative;display:flex;align-items:center;justify-content:flex-start;padding:10px 16px;font-size:13px;font-weight:500;line-height:20px;text-decoration:none;border-radius:6px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled{cursor:default;opacity:.4}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin-right:16px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{font-size:11px;line-height:1.5}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge{margin-left:auto}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;white-space:nowrap;height:20px}angor-vertical-navigation angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{margin:0 12px}angor-vertical-navigation angor-vertical-navigation-aside-item,angor-vertical-navigation angor-vertical-navigation-basic-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item{margin-bottom:4px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item{cursor:pointer}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge+.angor-vertical-navigation-item-arrow{margin-left:8px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{height:20px;line-height:20px;margin-left:auto;transition:transform .3s cubic-bezier(.25,.8,.25,1),color 375ms cubic-bezier(.25,.8,.25,1)}angor-vertical-navigation angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{transform:rotate(90deg)}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:first-child{margin-top:6px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:last-child{padding-bottom:6px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:last-child>.angor-vertical-navigation-item-children>*:last-child{padding-bottom:0}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding:10px 16px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children{overflow:hidden}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:56px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:72px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:88px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:104px}angor-vertical-navigation angor-vertical-navigation-divider-item{margin:12px 0}angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper{height:1px;box-shadow:0 1px}angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{display:none!important}angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}angor-vertical-navigation angor-vertical-navigation-spacer-item{margin:6px 0}.angor-vertical-navigation-overlay{position:absolute;inset:0;z-index:170;opacity:0;background-color:#0009}.angor-vertical-navigation-overlay+.angor-vertical-navigation-aside-overlay{background-color:transparent}.angor-vertical-navigation-aside-overlay{position:absolute;inset:0;z-index:169;opacity:0;background-color:#0000004d}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{color:currentColor}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{color:currentColor;opacity:.6}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{color:currentColor;opacity:.8}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{color:currentColor;opacity:.5}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced{background-color:rgb(3 33 40 / var(--tw-bg-opacity));--tw-bg-opacity: .05}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *){background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-bg-opacity: .12}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover{background-color:rgb(3 33 40 / var(--tw-bg-opacity));--tw-bg-opacity: .05}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *){background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-bg-opacity: .12}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{--tw-text-opacity: 1;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity));opacity:1}angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title:is(.dark *){--tw-text-opacity: 1;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))}:root{--angor-vertical-navigation-compact-width: 112px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact{width:var(--angor-vertical-navigation-compact-width);min-width:var(--angor-vertical-navigation-compact-width);max-width:var(--angor-vertical-navigation-compact-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-compact-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-compact-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-compact-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper{margin:4px 8px 0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{flex-direction:column;justify-content:center;padding:12px;border-radius:6px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{margin-top:8px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{font-size:12px;font-weight:500;text-align:center;line-height:16px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{display:none!important}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge{position:absolute;top:12px;left:64px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item>angor-vertical-navigation-collapsable-item,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item>angor-vertical-navigation-collapsable-item{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-compact-width)}:root{--angor-vertical-navigation-width: 280px;--angor-vertical-navigation-dense-width: 80px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over){width:var(--angor-vertical-navigation-dense-width);min-width:var(--angor-vertical-navigation-dense-width);max-width:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-dense-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-dense-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-hover .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{width:calc(var(--angor-vertical-navigation-dense-width) - 24px);min-width:calc(var(--angor-vertical-navigation-dense-width) - 24px);max-width:calc(var(--angor-vertical-navigation-dense-width) - 24px)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{transition:opacity .4s cubic-bezier(.25,.8,.25,1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item:first-of-type{margin-top:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{padding:10px 16px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{white-space:nowrap;opacity:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:before{content:"";position:absolute;top:20px;width:23px;border-top-width:2px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper{width:var(--angor-vertical-navigation-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{width:calc(var(--angor-vertical-navigation-width) - 24px);min-width:calc(var(--angor-vertical-navigation-width) - 24px);max-width:calc(var(--angor-vertical-navigation-width) - 24px)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{white-space:nowrap;animation:removeWhiteSpaceNoWrap 1ms linear .35s;animation-fill-mode:forwards}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-width)}@keyframes removeWhiteSpaceNoWrap{0%{white-space:nowrap}99%{white-space:nowrap}to{white-space:normal}}:root{--angor-vertical-navigation-thin-width: 80px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin{width:var(--angor-vertical-navigation-thin-width);min-width:var(--angor-vertical-navigation-thin-width);max-width:var(--angor-vertical-navigation-thin-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-thin-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-thin-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-thin-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item{flex-direction:column;justify-content:center;height:64px;min-height:64px;max-height:64px;padding:0 16px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper{display:flex;align-items:center;justify-content:center}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{justify-content:center;padding:12px;border-radius:4px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge-content,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge-content,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-collapsable-item{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-thin-width)}\n'],encapsulation:2,data:{animation:o.F},changeDetection:0})}}return G})()},9097:(i,a,r)=>{"use strict";r.d(a,{t:()=>s});const s=new(r(4438).nKC)("ANGOR_APP_CONFIG")},881:(i,a,r)=>{"use strict";r.d(a,{P:()=>k});var o=r(9097),s=r(4438),c=r(2401),y=r(4412);let k=(()=>{class S{constructor(){this._defaultConfig=(0,s.WQX)(o.t),this._configSubject=new y.t(this._defaultConfig)}get config$(){return this._configSubject.asObservable()}set config(T){const M=(0,c.A)({},this._configSubject.getValue(),T);this._configSubject.next(M)}reset(){this._configSubject.next(this._defaultConfig)}static{this.\u0275fac=function(M){return new(M||S)}}static{this.\u0275prov=s.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})()},9979:(i,a,r)=>{"use strict";r.d(a,{m:()=>tt});var o=r(177),s=r(4438),c=r(8834),y=r(5351),k=r(9213);const S=(_t,Mt,$t,At,kt,nt,at,rt)=>({"bg-primary-100 text-primary-600 dark:bg-primary-600 dark:text-primary-50":_t,"bg-accent-100 text-accent-600 dark:bg-accent-600 dark:text-accent-50":Mt,"bg-warn-100 text-warn-600 dark:bg-warn-600 dark:text-warn-50":$t,"bg-gray-100 text-gray-600 dark:bg-gray-600 dark:text-gray-50":At,"bg-blue-100 text-blue-600 dark:bg-blue-600 dark:text-blue-50":kt,"bg-green-100 text-green-500 dark:bg-green-500 dark:text-green-50":nt,"bg-amber-100 text-amber-500 dark:bg-amber-500 dark:text-amber-50":at,"bg-red-100 text-red-600 dark:bg-red-600 dark:text-red-50":rt});function I(_t,Mt){1&_t&&(s.j41(0,"div",1)(1,"button",6),s.nrm(2,"mat-icon",7),s.k0s()()),2&_t&&(s.R7$(),s.Y8G("matDialogClose",void 0),s.R7$(),s.Y8G("svgIcon","heroicons_outline:x-mark"))}function T(_t,Mt){if(1&_t&&(s.j41(0,"div",3),s.nrm(1,"mat-icon",8),s.k0s()),2&_t){const $t=s.XpG();s.Y8G("ngClass",s.lV(2,S,"primary"===$t.data.icon.color,"accent"===$t.data.icon.color,"warn"===$t.data.icon.color,"basic"===$t.data.icon.color,"info"===$t.data.icon.color,"success"===$t.data.icon.color,"warning"===$t.data.icon.color,"error"===$t.data.icon.color)),s.R7$(),s.Y8G("svgIcon",$t.data.icon.name)}}function M(_t,Mt){if(1&_t&&s.nrm(0,"div",9),2&_t){const $t=s.XpG(2);s.Y8G("innerHTML",$t.data.title,s.npT)}}function R(_t,Mt){if(1&_t&&s.nrm(0,"div",10),2&_t){const $t=s.XpG(2);s.Y8G("innerHTML",$t.data.message,s.npT)}}function L(_t,Mt){if(1&_t&&(s.j41(0,"div",4),s.DNE(1,M,1,1,"div",9)(2,R,1,1,"div",10),s.k0s()),2&_t){const $t=s.XpG();s.R7$(),s.vxM($t.data.title?1:-1),s.R7$(),s.vxM($t.data.message?2:-1)}}function J(_t,Mt){if(1&_t&&(s.j41(0,"button",11),s.EFF(1),s.k0s()),2&_t){const $t=s.XpG(2);s.Y8G("matDialogClose","cancelled"),s.R7$(),s.SpI(" ",$t.data.actions.cancel.label," ")}}function W(_t,Mt){if(1&_t&&(s.j41(0,"button",12),s.EFF(1),s.k0s()),2&_t){const $t=s.XpG(2);s.Y8G("color",$t.data.actions.confirm.color)("matDialogClose","confirmed"),s.R7$(),s.SpI(" ",$t.data.actions.confirm.label," ")}}function q(_t,Mt){if(1&_t&&(s.j41(0,"div",5),s.DNE(1,J,2,2,"button",11)(2,W,2,3,"button",12),s.k0s()),2&_t){const $t=s.XpG();s.R7$(),s.vxM($t.data.actions.cancel.show?1:-1),s.R7$(),s.vxM($t.data.actions.confirm.show?2:-1)}}let ct=(()=>{class _t{constructor(){this.data=(0,s.WQX)(y.Vh)}static{this.\u0275fac=function(At){return new(At||_t)}}static{this.\u0275cmp=s.VBU({type:_t,selectors:[["angor-confirmation-dialog"]],standalone:!0,features:[s.aNF],decls:6,vars:4,consts:[[1,"relative","flex","h-full","w-full","flex-col"],[1,"absolute","right-0","top-0","pr-4","pt-4"],[1,"flex","flex-auto","flex-col","items-center","p-8","pb-6","sm:flex-row","sm:items-start","sm:pb-8"],[1,"flex","h-10","w-10","flex-0","items-center","justify-center","rounded-full","sm:mr-4",3,"ngClass"],[1,"mt-4","flex","flex-col","items-center","space-y-1","text-center","sm:mt-0","sm:items-start","sm:pr-8","sm:text-left"],[1,"flex","items-center","justify-center","space-x-3","bg-gray-50","px-6","py-4","dark:bg-black","dark:bg-opacity-10","sm:justify-end"],["mat-icon-button","",3,"matDialogClose"],[1,"text-secondary",3,"svgIcon"],[1,"text-current",3,"svgIcon"],[1,"text-xl","font-medium","leading-6",3,"innerHTML"],[1,"text-secondary",3,"innerHTML"],["mat-stroked-button","",3,"matDialogClose"],["mat-flat-button","",3,"color","matDialogClose"]],template:function(At,kt){1&At&&(s.j41(0,"div",0),s.DNE(1,I,3,2,"div",1),s.j41(2,"div",2),s.DNE(3,T,2,11,"div",3)(4,L,3,2,"div",4),s.k0s(),s.DNE(5,q,3,2,"div",5),s.k0s()),2&At&&(s.R7$(),s.vxM(kt.data.dismissible?1:-1),s.R7$(2),s.vxM(kt.data.icon.show?3:-1),s.R7$(),s.vxM(kt.data.title||kt.data.message?4:-1),s.R7$(),s.vxM(kt.data.actions.confirm.show||kt.data.actions.cancel.show?5:-1))},dependencies:[c.Hl,c.$z,c.iY,y.hM,y.tx,k.m_,k.An,o.YU],styles:["@media (min-width: 960px){.angor-confirmation-dialog-panel{width:32rem}}.angor-confirmation-dialog-panel .mat-mdc-dialog-container .mat-mdc-dialog-surface{padding:0!important}\n"],encapsulation:2})}}return _t})();var ht=r(2401);let tt=(()=>{class _t{constructor(){this._matDialog=(0,s.WQX)(y.bZ),this._defaultConfig={title:"Confirm action",message:"Are you sure you want to confirm this action?",icon:{show:!0,name:"heroicons_outline:exclamation-triangle",color:"warn"},actions:{confirm:{show:!0,label:"Confirm",color:"warn"},cancel:{show:!0,label:"Cancel"}},dismissible:!1}}open($t={}){const At=(0,ht.A)({},this._defaultConfig,$t);return this._matDialog.open(ct,{autoFocus:!1,disableClose:!At.dismissible,data:At,panelClass:"angor-confirmation-dialog-panel"})}static{this.\u0275fac=function(At){return new(At||_t)}}static{this.\u0275prov=s.jDH({token:_t,factory:_t.\u0275fac,providedIn:"root"})}}return _t})()},4977:(i,a,r)=>{"use strict";r.d(a,{l:()=>T});var o=r(881),s=r(9327),c=r(4438),y=r(7680),k=r(2771),S=r(6354),I=r(5558);let T=(()=>{class M{constructor(){this._breakpointObserver=(0,c.WQX)(s.QP),this._angorConfigService=(0,c.WQX)(o.P),this._onMediaChange=new k.m(1),this._angorConfigService.config$.pipe((0,S.T)(L=>(0,y.A)(Object.entries(L.screens).map(([J,W])=>[J,`(min-width: ${W})`]))),(0,I.n)(L=>this._breakpointObserver.observe(Object.values(L)).pipe((0,S.T)(J=>{const W=[],q={},ct=Object.entries(J.breakpoints).filter(([ht,tt])=>tt)??[];for(const[ht]of ct){const tt=Object.entries(L).find(([_t,Mt])=>Mt===ht)[0];tt&&(W.push(tt),q[tt]=ht)}this._onMediaChange.next({matchingAliases:W,matchingQueries:q})})))).subscribe()}get onMediaChange$(){return this._onMediaChange.asObservable()}onMediaQueryChange$(L){return this._breakpointObserver.observe(L)}static{this.\u0275fac=function(J){return new(J||M)}}static{this.\u0275prov=c.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},7209:(i,a,r)=>{"use strict";r.d(a,{Q:()=>s});var o=r(4438);let s=(()=>{class c{get exactMatchOptions(){return{paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"}}get subsetMatchOptions(){return{paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"}}randomId(k=10){let I="";for(let T=0;T<10;T++)I+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return I}static{this.\u0275fac=function(S){return new(S||c)}}static{this.\u0275prov=o.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})()},2332:(i,a,r)=>{"use strict";r.d(a,{v:()=>y});var o=r(6616),s=r(1413),c=r(4438);let y=(()=>{class k{constructor(){this.publicKeySubject=new s.B,this.previousPublicKey=null,this.initializeNostrLogin(),this.setupEventListeners()}initializeNostrLogin(){(0,o.Ts)({theme:"ocean",noBanner:!0,title:"Angor Hub",onAuth:(I,T)=>{this.handleAuthSuccess(I,T)}})}setupEventListeners(){document.addEventListener("nlAuth",this.handleNlAuthEvent.bind(this)),document.addEventListener("nlLogout",this.handleNlLogoutEvent.bind(this)),document.addEventListener("nlDarkMode",this.handleNlDarkModeEvent.bind(this)),document.addEventListener("nlLaunch",this.handleNlLaunchEvent.bind(this))}handleNlLogoutEvent(){console.log("Logout event detected"),this.handleLogout()}handleNlAuthEvent(I){const{type:T,pubkey:M,options:R}=I.detail;switch(T){case"login":console.log("User logged in:",M),this.handleAuthSuccess(M,R);break;case"signup":console.log("User signed up:",M),this.handleSignupSuccess(M,R);break;case"logout":console.log("User logged out"),this.handleLogout();break;case"switch-account":console.log("User switched account:",M),this.handleAccountSwitch(M,R);break;default:console.warn("Unknown nlAuth event type:",T)}this.previousPublicKey&&this.previousPublicKey!==M&&(console.log("Account switched to:",M),this.handleAccountSwitch(M,R)),this.previousPublicKey=M}handleAuthSuccess(I,T){console.log("Authenticated successfully with public key:",I),this.publicKeySubject.next(I)}handleSignupSuccess(I,T){console.log("Signup successful with public key:",I),this.publicKeySubject.next(I)}handleAccountSwitch(I,T){console.log("Account switched to:",I),this.publicKeySubject.next(I),window.location.reload()}handleLogout(){console.log("Logged out"),this.publicKeySubject.next("")}handleNlDarkModeEvent(I){const T=I.detail;console.log("Dark mode changed to:",T?"enabled":"disabled"),this.updateDarkMode(T)}handleNlLaunchEvent(I){const T=I.detail||"welcome";console.log(`Launching Nostr login screen: ${T}`),this.launchScreen(T)}launchScreen(I){(0,o.ql)(I)}updateDarkMode(I){document.body.classList.toggle("dark-mode",I),console.log("Dark mode is now "+(I?"enabled":"disabled"))}getPublicKeyObservable(){return this.publicKeySubject.asObservable()}launchWelcomeScreen(){(0,o.ql)("welcome")}launchSignupScreen(){(0,o.ql)("welcome-signup")}launchLoginScreen(){(0,o.ql)("welcome-login")}switchAccount(){document.dispatchEvent(new CustomEvent("nlLaunch",{detail:"switch-account"}))}logout(){document.dispatchEvent(new Event("nlLogout"))}toggleDarkMode(I){document.dispatchEvent(new CustomEvent("nlDarkMode",{detail:I}))}static{this.\u0275fac=function(T){return new(T||k)}}static{this.\u0275prov=c.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},6231:(i,a,r)=>{"use strict";r.d(a,{b:()=>k});var o=r(467),s=r(719),c=r(4412),y=r(4438);let k=(()=>{class S{constructor(){this.pool=new s.lo,this.relays=[],this.maxRetries=10,this.retryDelay=15e3,this.eventSubject=new c.t(null),this.relaysSubject=new c.t([]),this.relays=this.loadRelaysFromLocalStorage(),this.connectToRelays(),this.setupVisibilityHandling(),this.relaysSubject.next(this.relays)}loadRelaysFromLocalStorage(){const T=JSON.parse(localStorage.getItem("nostrRelays")||"[]");return T.length>0?T.map(R=>({...R,connected:!1,retries:0,retryTimeout:null,ws:void 0})):[{url:"wss://relay.primal.net",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"},{url:"wss://relay.damus.io",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"},{url:"wss://relay.angor.io",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"},{url:"wss://relay2.angor.io",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"}]}saveRelaysToLocalStorage(){const T=this.relays.map(({url:M,accessType:R,connected:L,retries:J,retryTimeout:W})=>({url:M,accessType:R,connected:L,retries:J,retryTimeout:W}));localStorage.setItem("nostrRelays",JSON.stringify(T)),this.relaysSubject.next(this.relays)}connectToRelay(T){T.connected||(T.ws=new WebSocket(T.url),T.ws.onopen=()=>{T.connected=!0,T.retries=0,clearTimeout(T.retryTimeout),this.saveRelaysToLocalStorage()},T.ws.onerror=()=>this.handleRelayError(T),T.ws.onclose=()=>{T.connected=!1,this.handleRelayError(T)},T.ws.onmessage=({data:M})=>{try{const R=JSON.parse("string"==typeof M?M:M.toString("utf-8"));this.eventSubject.next(R)}catch(R){console.error("Error parsing WebSocket message:",R)}})}handleRelayError(T){T.retries>=this.maxRetries?console.error(`Max retries reached for relay: ${T.url}. No further attempts will be made.`):(T.retries++,T.retryTimeout=setTimeout(()=>this.connectToRelay(T),this.retryDelay*T.retries))}connectToRelays(){this.relays.forEach(T=>!T.connected&&this.connectToRelay(T))}ensureConnectedRelays(){var T=this;return(0,o.A)(function*(){return T.connectToRelays(),new Promise(M=>{const R=()=>{T.getConnectedRelays().length>0?M():setTimeout(R,1e3)};R()})})()}setupVisibilityHandling(){document.addEventListener("visibilitychange",()=>{"visible"===document.visibilityState&&this.connectToRelays()}),window.addEventListener("beforeunload",()=>{this.relays.forEach(T=>T.ws?.close())})}getConnectedRelays(){return this.relays.filter(T=>T.connected).map(T=>T.url)}getRelays(){return this.relaysSubject.asObservable()}publishEventToWriteRelays(T){var M=this;return(0,o.A)(function*(){const R=M.relays.filter(L=>["write","read-write"].includes(L.accessType)&&L.connected);if(!R.length)throw new Error("No connected write relays available");try{return yield Promise.any(R.map(L=>M.pool.publish([L.url],T))),M.eventSubject.next(T),T}catch(L){throw console.error("Failed to publish event to relays:",L),L}})()}addRelay(T,M="read-write"){if(!this.relays.some(R=>R.url===T)){const R={url:T,connected:!1,retries:0,retryTimeout:null,accessType:M};this.relays.push(R),this.connectToRelay(R),this.saveRelaysToLocalStorage()}}removeRelay(T){this.relays=this.relays.filter(M=>M.url!==T),this.saveRelaysToLocalStorage()}removeAllCustomRelays(){const T=["wss://relay.angor.io","wss://relay2.angor.io"];this.relays=this.relays.filter(M=>T.includes(M.url)),this.saveRelaysToLocalStorage()}updateRelayAccessType(T,M){const R=this.relays.find(L=>L.url===T);R&&(R.accessType=M,this.saveRelaysToLocalStorage())}getPool(){return this.pool}getEventStream(){return this.eventSubject.asObservable()}static{this.\u0275fac=function(M){return new(M||S)}}static{this.\u0275prov=y.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})()},4930:(i,a,r)=>{"use strict";r.d(a,{A:()=>kt});var o=r(467),s=r(5766),c=r(7292),y=r(3838),k=r(719),T=(r(6391),r(5693),r(9673)),M=r(9608),tt=r(4438),_t=r(3813);let Mt=(()=>{class nt{constructor(){this.encoder=new TextEncoder,this.decoder=new TextDecoder}getPasswordKey(rt){var yt=this;return(0,o.A)(function*(){return window.crypto.subtle.importKey("raw",yt.encoder.encode(rt),"PBKDF2",!1,["deriveKey"])})()}deriveKey(rt,yt,Ct){return(0,o.A)(function*(){return window.crypto.subtle.deriveKey({name:"PBKDF2",salt:yt,iterations:25e4,hash:"SHA-256"},rt,{name:"AES-GCM",length:256},!1,Ct)})()}encryptData(rt,yt){var Ct=this;return(0,o.A)(function*(){try{const Vt=window.crypto.getRandomValues(new Uint8Array(16)),Xt=window.crypto.getRandomValues(new Uint8Array(12)),oe=yield Ct.getPasswordKey(yt),Xe=yield Ct.deriveKey(oe,Vt,["encrypt"]),kr=new Uint8Array(yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:Xt},Xe,Ct.encoder.encode(rt))),gr=new Uint8Array(Vt.length+Xt.length+kr.length);return gr.set(Vt,0),gr.set(Xt,Vt.length),gr.set(kr,Vt.length+Xt.length),_t.K3.encode(gr)}catch(Vt){throw console.error("Encryption failed:",Vt),new Error("Failed to encrypt data.")}})()}decryptData(rt,yt){var Ct=this;return(0,o.A)(function*(){try{const Vt=_t.K3.decode(rt),Xt=Vt.slice(0,16),oe=Vt.slice(16,28),Xe=Vt.slice(28),kr=yield Ct.getPasswordKey(yt),gr=yield Ct.deriveKey(kr,Xt,["decrypt"]),vr=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:oe},gr,Xe);return Ct.decoder.decode(vr)}catch(Vt){throw console.error("Decryption failed:",Vt),new Error("Failed to decrypt data.")}})()}static{this.\u0275fac=function(yt){return new(yt||nt)}}static{this.\u0275prov=tt.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();var $t=r(5351),At=r(2332);let kt=(()=>{class nt{constructor(rt,yt,Ct){this.securityService=rt,this.dialog=yt,this._nostrLoginService=Ct,this.localStorageSecretKeyName="secretKey",this.localStoragePublicKeyName="publicKey",this.localStorageNpubName="npub",this.localStorageNsecName="nsec",this.storageKey="userPassword"}savePassword(rt,yt){const Ct=Date.now()+60*yt*1e3;sessionStorage.setItem(this.storageKey,JSON.stringify({password:rt,expirationTime:Ct}))}getPassword(){const rt=sessionStorage.getItem(this.storageKey);if(!rt)return null;const{password:yt,expirationTime:Ct}=JSON.parse(rt);return Date.now()>Ct?(this.clearPassword(),null):yt}clearPassword(){sessionStorage.removeItem(this.storageKey)}changePassword(rt,yt,Ct){var Vt=this;return(0,o.A)(function*(){try{const Xt=yield Vt.getSecretKey(rt);if(!Xt)throw new Error("Incorrect current password.");yield Vt.setSecretKey(Xt,yt);const oe=yield Vt.getNsec(rt);return oe&&(yield Vt.setNsec(oe,yt)),Vt.clearPassword(),Ct&&Vt.savePassword(yt,60),!0}catch(Xt){return console.error("Failed to change password: ",Xt),!1}})()}getUsername(rt){return rt.startsWith("npub")&&(rt=k.Qe.decode(rt).data.toString()),`@${localStorage.getItem(`${rt}`)||k.Qe.npubEncode(rt)}`}npub(){let rt=this.getPublicKey();return k.Qe.npubEncode(rt)}requestPassword(){var rt=this;return(0,o.A)(function*(){return rt.dialog.open(c.b,{width:"300px",disableClose:!0}).afterClosed().toPromise()})()}nsec(rt){var yt=this;return(0,o.A)(function*(){if(yt.usingSecretKey()){let Ct=yield yt.getSecretKey(rt);const Vt=Uint8Array.from(y.hp.from(Ct,"hex"));return k.Qe.nsecEncode(Vt)}return""})()}pubkey(rt){return k.Qe.decode(rt).data.toString()}setPublicKey(rt){const yt=k.Qe.npubEncode(rt);window.localStorage.setItem(this.localStoragePublicKeyName,rt),window.localStorage.setItem(this.localStorageNpubName,yt)}getPublicKey(){const rt=localStorage.getItem("__nostrlogin_nip46");if(rt)try{return JSON.parse(rt).pubkey||""}catch(yt){console.error("Error parsing nostr login data:",yt)}return localStorage.getItem(this.localStoragePublicKeyName)||""}setNpub(rt){localStorage.setItem(this.localStorageNpubName,rt)}getNpub(){return window.localStorage.getItem(this.localStorageNpubName)||""}setSecretKey(rt,yt=""){var Ct=this;return(0,o.A)(function*(){if(""===yt)localStorage.setItem(Ct.localStorageSecretKeyName,rt),localStorage.setItem("usePassword","false");else{const Vt=yield Ct.securityService.encryptData(rt,yt);localStorage.setItem(Ct.localStorageSecretKeyName,Vt),localStorage.setItem("usePassword","true")}})()}getSecretKey(rt=""){var yt=this;return(0,o.A)(function*(){const Ct=localStorage.getItem(yt.localStorageSecretKeyName),Vt="true"===localStorage.getItem("usePassword");return Ct?Vt?yield yt.securityService.decryptData(Ct,rt):Ct:null})()}getDecryptedSecretKey(){var rt=this;return(0,o.A)(function*(){try{if("true"!==localStorage.getItem("usePassword"))return rt.getSecretKey();const Ct=rt.getPassword();if(Ct)return yield rt.getSecretKey(Ct);const Vt=yield rt.requestPassword();if(Vt?.password){const Xt=yield rt.getSecretKey(Vt.password);return 0!==Vt.duration&&rt.savePassword(Vt.password,Vt.duration),Xt}return console.error("Password not provided"),null}catch(yt){return console.error("Error decrypting private key:",yt),null}})()}setNsec(rt,yt=""){var Ct=this;return(0,o.A)(function*(){if(""===yt)localStorage.setItem(Ct.localStorageNsecName,rt),localStorage.setItem("usePassword","false");else{const Vt=yield Ct.securityService.encryptData(rt,yt);localStorage.setItem(Ct.localStorageNsecName,Vt),localStorage.setItem("usePassword","true")}})()}getNsec(rt=""){var yt=this;return(0,o.A)(function*(){const Ct=localStorage.getItem(yt.localStorageNsecName),Vt="true"===localStorage.getItem("usePassword");return Ct?Vt?yield yt.securityService.decryptData(Ct,rt):Ct:null})()}setPublicKeyFromExtension(rt){this.setPublicKey(rt)}handleLoginWithKey(rt,yt=""){let Ct,Vt,Xt,oe;try{if(rt.startsWith(this.localStorageNsecName)){const kr=k.Qe.decode(rt);if(kr.type!==this.localStorageNsecName)throw new Error("Invalid nsec key.");Ct=y.hp.from(kr.data).toString("hex")}else{if(!/^[0-9a-fA-F]{64}$/.test(rt))throw new Error("Invalid key format. Must be either nsec or hex.");Ct=rt}const Xe=new Uint8Array(y.hp.from(Ct,"hex"));return Vt=(0,k.lG)(Xe),oe=k.Qe.npubEncode(Vt),Xt=k.Qe.nsecEncode(Xe),this.setSecretKey(Ct,yt),this.setNsec(oe,yt),this.setPublicKey(Vt),this.setNpub(oe),!0}catch(Xe){return console.error("Error during key handling: ",Xe),!1}}handleLoginWithMnemonic(rt,yt="",Ct=""){try{const Xt=function L(nt,at,rt=0){let Ct=M.c.fromMasterSeed((0,T.kw)(nt,at)).derive(`m/44'/1237'/${rt}'/0/0`).privateKey;if(!Ct)throw new Error("could not derive private key");return Ct}(rt,yt,0),oe=(0,s.My)(Xt),Xe=(0,k.lG)(Xt),kr=k.Qe.npubEncode(Xe),gr=k.Qe.nsecEncode(Xt);return this.setSecretKey(oe,Ct),this.setNsec(gr,Ct),this.setPublicKey(Xe),this.setNpub(kr),window.localStorage.setItem(this.localStorageNsecName,gr),!0}catch(Vt){return console.error("Error during login with mnemonic:",Vt),!1}}logout(){window.localStorage.removeItem(this.localStorageSecretKeyName),window.localStorage.removeItem(this.localStoragePublicKeyName),window.localStorage.removeItem(this.localStorageNpubName),window.localStorage.removeItem(this.localStorageNsecName),this._nostrLoginService.logout()}usingNostrBrowserExtension(){return!this.usingSecretKey()&&!!globalThis.nostr}usingSecretKey(){return!!localStorage.getItem(this.localStorageSecretKeyName)}generateAndStoreKeys(rt=""){try{const yt=(0,k.Bq)(),Ct=y.hp.from(yt).toString("hex"),Vt=(0,k.lG)(yt),Xt=k.Qe.npubEncode(Vt),oe=k.Qe.nsecEncode(yt);return this.setSecretKey(Ct,rt),this.setNsec(oe,rt),this.setPublicKey(Vt),this.setNpub(Xt),{secretKey:Ct,pubkey:Vt,npub:Xt,nsec:oe}}catch(yt){return console.error("Error during key generation:",yt),null}}handleLoginWithExtension(){var rt=this;return(0,o.A)(function*(){const yt=globalThis;if(!yt.nostr)return!1;try{const Ct=yield yt.nostr.getPublicKey();if(!Ct)throw new Error("Public key not available from Nostr extension.");return rt.setPublicKeyFromExtension(Ct),!0}catch(Ct){return console.error("Failed to connect to Nostr extension:",Ct),!1}})()}encryptMessage(rt,yt,Ct){return(0,o.A)(function*(){console.log(Ct);try{return yield k.sh.encrypt(rt,yt,Ct)}catch(Vt){throw console.error("Error encrypting message:",Vt),Vt}})()}encryptMessageWithExtension(rt,yt){return(0,o.A)(function*(){return yield globalThis.nostr.nip04.encrypt(yt,rt)})()}decryptMessageWithExtension(rt,yt){return(0,o.A)(function*(){const Ct=globalThis;if(Ct.nostr&&"function"==typeof Ct.nostr.nip04?.decrypt)try{return yield Ct.nostr.nip04.decrypt(rt,yt)}catch(Vt){return console.error("Decryption failed:",Vt),"*Failed to decrypt content: "+Vt.message+"*"}return console.warn("Nostr extension or decrypt method is unavailable"),"Attempted Nostr Window decryption and failed."})()}decryptMessage(rt,yt,Ct){return(0,o.A)(function*(){try{if(!rt||!yt||!Ct)throw new Error("Private key, public key, or encrypted message is missing or undefined.");const Vt=yield k.sh.decrypt(rt,yt,Ct);if(!Vt)throw new Error("Decryption returned an empty message.");return Vt}catch(Vt){throw Vt}})()}getUnsignedEvent(rt,yt,Ct){return{kind:rt,pubkey:this.getPublicKey(),tags:yt,content:Ct,created_at:Math.floor(Date.now()/1e3)}}getSignedEvent(rt,yt){const Ct=(0,s.aT)(yt);return(0,k.pC)(rt,Ct)}getMuteList(){return(localStorage.getItem("muteList")||"").split(",")}setMuteListFromTags(rt){let yt=[];rt.forEach(Ct=>{yt.push(Ct[1])}),this.setMuteList(yt)}setMuteList(rt){if(0===rt.length)localStorage.setItem("muteList","");else{let yt=Array.from(new Set(rt));localStorage.setItem("muteList",yt.filter(Ct=>Ct).join(","))}}signEventWithExtension(rt){return(0,o.A)(function*(){const yt=globalThis;if(yt.nostr)return yield yt.nostr.signEvent(rt);throw new Error("Tried to sign event with extension but failed")})()}signDMWithExtension(rt,yt){return(0,o.A)(function*(){const Ct=globalThis;if(Ct.nostr&&Ct.nostr.nip04?.encrypt)return yield Ct.nostr.nip04.encrypt(rt,yt);throw new Error("Failed to Sign with extension")})()}isUsingExtension(){var rt=this;return(0,o.A)(function*(){const yt=globalThis;if(yt.nostr&&yt.nostr.getPublicKey)try{return!localStorage.getItem(rt.localStorageSecretKeyName)}catch(Ct){return console.error("Failed to check Nostr extension:",Ct),!1}return!1})()}isUsingSecretKey(){return!!localStorage.getItem(this.localStorageSecretKeyName)}getNpubFromPubkey(rt){try{return k.Qe.npubEncode(rt)}catch(yt){return console.error("Error converting hex to npub:",yt),""}}getNsecFromSeckey(rt){try{const yt=Uint8Array.from(y.hp.from(rt,"hex"));return k.Qe.nsecEncode(yt)}catch(yt){return console.error("Error converting hex to nsec:",yt),""}}static{this.\u0275fac=function(yt){return new(yt||nt)(tt.KVO(Mt),tt.KVO($t.bZ),tt.KVO(At.v))}}static{this.\u0275prov=tt.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})()},2083:(i,a,r)=>{"use strict";r.d(a,{d:()=>S});var o=r(467),s=r(8418),c=r(4438),y=r(5645),k=r(7291);let S=(()=>{class I{constructor(M,R){this.subscriptionService=M,this.storageService=R,this.isProfileLoaded=!1}loadUserProfile(M){var R=this;return(0,o.A)(function*(){console.log(`Loading user profile for pubkey: ${M}`),R.isProfileLoaded?console.log("Profile already loaded, skipping."):(yield R.subscribeToUserProfile(M),yield R.subscribeToUserContacts(M),yield R.subscribeToUserChats(M),yield R.subscribeToUserPosts(M),R.isProfileLoaded=!0)})()}subscribeToUserProfile(M){var R=this;return(0,o.A)(function*(){console.log(`Subscribing to user profile for pubkey: ${M}`);const L=yield R.storageService.getLastUpdateDate("users"),J={kinds:[0],authors:[M],limit:1};L&&(J.since=parseInt(L,10)),R.subscriptionService.addSubscriptions([J],W=>{const q=R.parseMetadataEvent(W);R.storageService.saveProfile(M,q)})})()}subscribeToUserContacts(M){var R=this;return(0,o.A)(function*(){console.log(`Subscribing to contacts for pubkey: ${M}`);const L=yield R.storageService.getLastUpdateDate("contacts"),J=[{kinds:[s.In],authors:[M]},{kinds:[s.In],"#p":[M]}];if(L){const W=parseInt(L,10);J.forEach(q=>q.since=W)}R.subscriptionService.addSubscriptions(J,W=>{R.storageService.saveContacts(M,[{id:W.id,pubkey:W.pubkey,created_at:W.created_at,tags:W.tags,isFollower:W.pubkey===M}])})})()}subscribeToUserChats(M){var R=this;return(0,o.A)(function*(){console.log(`Subscribing to chats for pubkey: ${M}`);const L=yield R.storageService.getLastUpdateDate("chats"),J=[{kinds:[s.rV],authors:[M],limit:300},{kinds:[s.rV],"#p":[M],limit:300}];if(L){const W=parseInt(L,10);J.forEach(q=>q.since=W)}else R.storageService.removeAllChats();R.subscriptionService.addSubscriptions(J,W=>{const q=R.parseChatEvent(W);R.storageService.saveChatEvent(q)})})()}subscribeToUserPosts(M){var R=this;return(0,o.A)(function*(){console.log(`Subscribing to posts (event type 1) for pubkey: ${M}`);const L=yield R.storageService.getLastUpdateDate("posts"),J={kinds:[1],authors:[M],limit:100};L&&(J.since=parseInt(L,10)),R.subscriptionService.addSubscriptions([J],W=>{R.storageService.savePostForPubKey(W)})})()}parseMetadataEvent(M){try{return JSON.parse(M.content)}catch(R){return console.error("Error parsing metadata event:",R),null}}parseChatEvent(M){try{const R=M.content.split("?iv=");return{id:M.id,kind:M.kind,pubkey:M.pubkey,created_at:M.created_at,tags:M.tags,content:R[0],iv:R[1],IsRead:!1}}catch(R){return console.error("Error parsing chat event:",R),null}}static{this.\u0275fac=function(R){return new(R||I)(c.KVO(y.n),c.KVO(k.n))}}static{this.\u0275prov=c.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},7291:(i,a,r)=>{"use strict";r.d(a,{n:()=>S});var o=r(467),s=r(119),c=r.n(s),y=r(4412),k=r(4438);let S=(()=>{class I{constructor(){this.profileSubject=new y.t(null),this.projectsSubject=new y.t([]),this.projectStatsSubject=new y.t({}),this.chatEventsSubject=new y.t([]),this.unreadChatCountSubject=new y.t(0),this.contactsSubject=new y.t({pubKey:"",contacts:[]}),this.postsSubject=new y.t(null),this.myLikesSubject=new y.t([]),this.notificationsSubject=new y.t([]),this.contactStatsSubject=new y.t({totalContacts:0,followersCount:0,followingCount:0}),this.contactStatsMap={},this.profileStore=this.createStore("profiles"),this.updateHistoryStore=this.createStore("updateHistory"),this.contactsStore=this.createStore("contacts"),this.chatsStore=this.createStore("chats"),this.postsStore=this.createStore("posts"),this.myLikesStore=this.createStore("myLikes"),this.notificationsStore=this.createStore("notifications"),this.projectsStore=this.createStore("projects"),this.projectStatsStore=this.createStore("projectStats"),this.loadAllProjectsFromDB(),this.loadAllProjectStatsFromDB(),this.loadAllContactsFromDB(),this.loadAllChatEventsFromDB(),this.loadAllPostsFromDB(),this.loadAllMyLikesFromDB(),this.loadAllNotificationsFromDB(),this.loadContactStatsFromDB(),this.calculateAndStoreAllContactStats()}createStore(M){return c().createInstance({driver:c().INDEXEDDB,name:"angor-hub",version:1,storeName:M})}get profile$(){return this.profileSubject.asObservable()}get projects$(){return this.projectsSubject.asObservable()}get projectStats$(){return this.projectStatsSubject.asObservable()}get chatEvents$(){return this.chatEventsSubject.asObservable()}get unreadChatCount$(){return this.unreadChatCountSubject.asObservable()}get contacts$(){return this.contactsSubject.asObservable()}get posts$(){return this.postsSubject.asObservable()}get contactStats$(){return this.contactStatsSubject.asObservable()}get myLikes$(){return this.myLikesSubject.asObservable()}get notifications$(){return this.notificationsSubject.asObservable()}saveContacts(M,R){var L=this;return(0,o.A)(function*(){try{const J=[];for(const W of R){const q=`${M}:${W.id}`;yield L.contactsStore.setItem(q,W),J.push(W)}L.contactsSubject.next({pubKey:M,contacts:J}),yield L.calculateAndStoreAllContactStats(),yield L.setUpdateHistory("contacts")}catch(J){console.error("Error saving contacts:",J)}})()}calculateAndStoreAllContactStats(){var M=this;return(0,o.A)(function*(){try{const R={};yield M.contactsStore.iterate((L,J)=>{const[W]=J.split(":");R[W]||(R[W]={totalContacts:0,followersCount:0,followingCount:0}),R[W].totalContacts++,L.isFollower?R[W].followersCount++:R[W].followingCount++});for(const L in R)M.contactStatsMap[L]||(M.contactStatsMap[L]=new y.t({pubKey:L,totalContacts:0,followersCount:0,followingCount:0})),M.contactStatsMap[L].next({pubKey:L,totalContacts:R[L].totalContacts,followersCount:R[L].followersCount,followingCount:R[L].followingCount})}catch(R){console.error("Error calculating and storing contact stats:",R)}})()}getContactStats$(M){return this.contactStatsMap[M]||(this.contactStatsMap[M]=new y.t({pubKey:M,totalContacts:0,followersCount:0,followingCount:0}),this.calculateAndStoreAllContactStats()),this.contactStatsMap[M].asObservable()}getAllContactsPaginated(M,R,L){var J=this;return(0,o.A)(function*(){try{const W=[];yield J.contactsStore.iterate((tt,_t)=>{const[Mt]=_t.split(":");Mt===M&&W.push(tt)});const q=W.length,ct=(R-1)*L;return{contacts:W.slice(ct,ct+L),totalCount:q}}catch(W){return console.error("Error retrieving paginated contacts for pubKey:",W),{contacts:[],totalCount:0}}})()}getAllContacts(M=""){var R=this;return(0,o.A)(function*(){try{const L=[];return yield R.contactsStore.iterate((J,W)=>{const[q,ct]=W.split(":");(""===M||q===M)&&L.push({pubKey:q,contact:J})}),L}catch(L){return console.error("Error retrieving contacts:",L),[]}})()}getContactStats(M){var R=this;return(0,o.A)(function*(){try{let L=0,J=0,W=0;return yield R.contactsStore.iterate((q,ct)=>{const[ht,tt]=ct.split(":");ht===M&&(L++,q.isFollower?J++:W++)}),{totalContacts:L,followersCount:J,followingCount:W}}catch(L){return console.error("Error retrieving contact stats for pubKey:",L),{totalContacts:0,followersCount:0,followingCount:0}}})()}removeAllContacts(M){var R=this;return(0,o.A)(function*(){try{const L=[];yield R.contactsStore.iterate((J,W)=>{const[q]=W.split(":");q===M&&L.push(W)});for(const J of L)yield R.contactsStore.removeItem(J);yield R.contactsStore.clear(),R.contactStatsSubject.next({totalContacts:0,followersCount:0,followingCount:0}),R.contactsSubject.next({pubKey:M,contacts:[]}),yield R.setUpdateHistory("contacts")}catch(L){console.error("Error removing all contacts for pubKey:",L)}})()}saveProfile(M,R){var L=this;return(0,o.A)(function*(){try{if(!M||!R)return void console.error("Invalid pubKey or metadata:",M,R);R.pubKey=M,yield L.profileStore.setItem(M,R),L.profileSubject.next({pubKey:M,metadata:R}),yield L.setUpdateHistory("profiles")}catch(J){console.error("Error saving profile",J)}})()}getProfile(M){var R=this;return(0,o.A)(function*(){try{return(yield R.profileStore.getItem(M))||null}catch(L){return console.error("Error retrieving profile metadata:",L),null}})()}getAllProfiles(){var M=this;return(0,o.A)(function*(){try{const R=[];return yield M.profileStore.iterate(L=>{R.push(L)}),R}catch(R){return console.error("Error retrieving all Profile:",R),[]}})()}searchProfile(M){var R=this;return(0,o.A)(function*(){try{const L=[],J=M.toLowerCase();return yield R.profileStore.iterate((W,q)=>{JSON.stringify(W).toLowerCase().includes(J)&&L.push({pubKey:q,profile:W})}),L}catch(L){return console.error("Error searching profiles by metadata:",L),[]}})()}getLastUpdateDate(M){var R=this;return(0,o.A)(function*(){try{return(yield R.updateHistoryStore.getItem(M))||null}catch(L){return console.error("Error retrieving last update date:",L),null}})()}saveProject(M){var R=this;return(0,o.A)(function*(){try{yield R.projectsStore.setItem(M.projectIdentifier,M);const L=yield R.getAllProjects();R.projectsSubject.next(L),yield R.setUpdateHistory("projects")}catch(L){console.error("Error saving project:",L)}})()}getProjectsByIds(M){var R=this;return(0,o.A)(function*(){if(!M||0===M.length)return[];const L=[];for(const J of M){const W=yield R.projectsStore.getItem(J);W&&L.push(W)}return L})()}getAllProjects(){var M=this;return(0,o.A)(function*(){try{const R=[];return yield M.projectsStore.iterate(L=>{R.push(L)}),R}catch(R){return console.error("Error retrieving all projects:",R),[]}})()}getProjectStats(M){var R=this;return(0,o.A)(function*(){try{return(yield R.projectStatsStore.getItem(M))||null}catch(L){return console.error("Error retrieving project stats:",L),null}})()}saveProjectStats(M,R){var L=this;return(0,o.A)(function*(){try{yield L.projectStatsStore.setItem(M,R);const J=yield L.getAllProjectStats();L.projectStatsSubject.next(J),yield L.setUpdateHistory("projectStats")}catch(J){console.error("Error saving project stats:",J)}})()}getAllProjectStats(){var M=this;return(0,o.A)(function*(){try{const R={};return yield M.projectStatsStore.iterate((L,J)=>{R[J]=L}),R}catch(R){return console.error("Error retrieving all project stats:",R),{}}})()}savePostForPubKey(M){var R=this;return(0,o.A)(function*(){try{yield R.postsStore.setItem(M.id,M),yield R.setUpdateHistory("posts"),R.postsSubject.next(M)}catch(L){console.error("Error saving event type 1 and sending it to clients:",L)}})()}getPostsByPubKey(M){var R=this;return(0,o.A)(function*(){try{const L=[];return yield R.postsStore.iterate(J=>{J.pubkey===M&&1===J.kind&&L.push(J)}),L}catch(L){return console.error("Error retrieving events for pubKey:",L),[]}})()}getAllPostsForAllPubKeys(){var M=this;return(0,o.A)(function*(){try{const R=[];return yield M.postsStore.iterate(L=>{R.push(L)}),R}catch(R){return console.error("Error retrieving all events:",R),[]}})()}saveLike(M){var R=this;return(0,o.A)(function*(){try{yield R.myLikesStore.setItem(M.id,M);const L=yield R.getAllMyLikes();R.myLikesSubject.next(L),yield R.setUpdateHistory("myLikes")}catch(L){console.error("Error saving like:",L)}})()}getAllMyLikes(){var M=this;return(0,o.A)(function*(){try{const R=[];return yield M.myLikesStore.iterate(L=>{R.push(L)}),R}catch(R){return console.error("Error retrieving all likes:",R),[]}})()}saveNotification(M){var R=this;return(0,o.A)(function*(){try{yield R.notificationsStore.setItem(M.id,M);const L=yield R.getAllNotifications();R.notificationsSubject.next(L),yield R.setUpdateHistory("notifications")}catch(L){console.error("Error saving notification:",L)}})()}getAllNotifications(){var M=this;return(0,o.A)(function*(){try{const R=[];return yield M.notificationsStore.iterate(L=>{R.push(L)}),R}catch(R){return console.error("Error retrieving all notifications:",R),[]}})()}saveChatEvent(M){var R=this;return(0,o.A)(function*(){try{yield R.chatsStore.setItem(M.id,M),yield R.setUpdateHistory("chats");const L=yield R.getAllChatEvents();R.chatEventsSubject.next(L),R.updateUnreadChatCount(L)}catch(L){console.error("Error saving chat event:",L)}})()}getAllChatEvents(){var M=this;return(0,o.A)(function*(){try{const R=[];return yield M.chatsStore.iterate(L=>{R.push(L)}),R}catch(R){return console.error("Error retrieving all chat events:",R),[]}})()}getChatEventsByPubKey(M){var R=this;return(0,o.A)(function*(){try{const L=[];return yield R.chatsStore.iterate(J=>{const W=R.getReceiverPubKeyFromTags(J.tags);(J.pubkey===M||W===M)&&L.push(J)}),L}catch(L){return console.error("Error retrieving chat events by pubkey:",L),[]}})()}updateChatEventReadStatus(M,R){var L=this;return(0,o.A)(function*(){try{const J=yield L.chatsStore.getItem(M);if(J){J.IsRead=R,yield L.chatsStore.setItem(M,J);const W=yield L.getAllChatEvents();L.chatEventsSubject.next(W),L.updateUnreadChatCount(W)}}catch(J){console.error("Error updating chat event read status:",J)}})()}markAllChatEventsAsRead(M){var R=this;return(0,o.A)(function*(){try{yield R.chatsStore.iterate(function(){var J=(0,o.A)(function*(W,q){const ct=R.getReceiverPubKeyFromTags(W.tags);(W.pubkey===M||ct===M)&&!W.IsRead&&(W.IsRead=!0,yield R.chatsStore.setItem(q,W))});return function(W,q){return J.apply(this,arguments)}}());const L=yield R.getAllChatEvents();R.chatEventsSubject.next(L),R.updateUnreadChatCount(L)}catch(L){console.error("Error marking all chat events as read:",L)}})()}getReceiverPubKeyFromTags(M){for(const R of M)if("p"===R[0]&&R[1])return R[1];return null}updateUnreadChatCount(M){const R=M.filter(L=>!L.IsRead).length;this.unreadChatCountSubject.next(R)}removeAllChats(){var M=this;return(0,o.A)(function*(){try{yield M.chatsStore.clear(),M.chatEventsSubject.next([]),M.unreadChatCountSubject.next(0),console.log("All chat events have been removed successfully.")}catch(R){console.error("Error removing all chat events:",R)}})()}setUpdateHistory(M){var R=this;return(0,o.A)(function*(){try{const L=Math.floor(Date.now()/1e3);yield R.updateHistoryStore.setItem(M,L)}catch(L){console.error("Error updating history:",L)}})()}loadAllProjectsFromDB(){var M=this;return(0,o.A)(function*(){try{const R=yield M.getAllProjects();M.projectsSubject.next(R)}catch(R){console.error("Error loading projects from DB:",R)}})()}loadAllProjectStatsFromDB(){var M=this;return(0,o.A)(function*(){try{const R=yield M.getAllProjectStats();M.projectStatsSubject.next(R)}catch(R){console.error("Error loading project stats from DB:",R)}})()}loadAllContactsFromDB(M=""){var R=this;return(0,o.A)(function*(){try{const L=yield R.getAllContacts(M);if(L.length>0){const J={};for(const W of L)J[W.pubKey]||(J[W.pubKey]=[]),J[W.pubKey].push(W.contact);for(const W in J)R.contactsSubject.next({pubKey:W,contacts:J[W]})}}catch(L){console.error("Error loading contacts from DB:",L)}})()}loadAllChatEventsFromDB(){var M=this;return(0,o.A)(function*(){try{const R=yield M.getAllChatEvents();M.chatEventsSubject.next(R)}catch(R){console.error("Error loading chat events from DB:",R)}})()}loadAllPostsFromDB(){var M=this;return(0,o.A)(function*(){try{const R=yield M.getAllPostsForAllPubKeys();M.postsSubject.next(R)}catch(R){console.error("Error loading posts from DB:",R)}})()}loadAllMyLikesFromDB(){var M=this;return(0,o.A)(function*(){try{const R=yield M.getAllMyLikes();M.myLikesSubject.next(R)}catch(R){console.error("Error loading likes from DB:",R)}})()}loadAllNotificationsFromDB(){var M=this;return(0,o.A)(function*(){try{const R=yield M.getAllNotifications();M.notificationsSubject.next(R)}catch(R){console.error("Error loading notifications from DB:",R)}})()}loadContactStatsFromDB(){var M=this;return(0,o.A)(function*(){try{let R=0,L=0,J=0;yield M.contactsStore.iterate((W,q)=>{const[ct]=q.split(":");R++,W.isFollower?L++:J++}),M.contactStatsSubject.next({totalContacts:R,followersCount:L,followingCount:J})}catch(R){console.error("Error loading contact stats from DB:",R)}})()}static{this.\u0275fac=function(R){return new(R||I)}}static{this.\u0275prov=k.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},5645:(i,a,r)=>{"use strict";r.d(a,{n:()=>ht});var s,o=r(4412),c=new Uint8Array(16);function y(){if(!s&&!(s=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(c)}const k=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var T=[],M=0;M<256;++M)T.push((M+256).toString(16).substr(1));const L=function R(tt){var _t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,Mt=(T[tt[_t+0]]+T[tt[_t+1]]+T[tt[_t+2]]+T[tt[_t+3]]+"-"+T[tt[_t+4]]+T[tt[_t+5]]+"-"+T[tt[_t+6]]+T[tt[_t+7]]+"-"+T[tt[_t+8]]+T[tt[_t+9]]+"-"+T[tt[_t+10]]+T[tt[_t+11]]+T[tt[_t+12]]+T[tt[_t+13]]+T[tt[_t+14]]+T[tt[_t+15]]).toLowerCase();if(!function S(tt){return"string"==typeof tt&&k.test(tt)}(Mt))throw TypeError("Stringified UUID is invalid");return Mt},W=function J(tt,_t,Mt){var $t=(tt=tt||{}).random||(tt.rng||y)();if($t[6]=15&$t[6]|64,$t[8]=63&$t[8]|128,_t){Mt=Mt||0;for(var At=0;At<16;++At)_t[Mt+At]=$t[At];return _t}return L($t)};var q=r(4438),ct=r(6231);let ht=(()=>{class tt{constructor(Mt){this.relayService=Mt,this.subscriptions=new Map,this.activeRelays=[],this.pendingSubscriptions=new Map,this.subscriptionsSubject=new o.t(new Map),this.subscriptions$=this.subscriptionsSubject.asObservable(),this.subscriptionQueue=[],this.isProcessingQueue=!1,this.queueInterval=3e3,this.maxSubscriptionsPerBatch=5,this.debounceInterval=5e3,this.lastActionTimestamp=new Map,this.connectToAllRelays(),this.processSubscriptionQueue()}addSubscriptions(Mt,$t){const At=this.findExistingSubscription(Mt);if(At)return console.log("Existing subscription found:",At),At.callbacks.push($t),At.id;const kt=W(),nt=Date.now();this.lastActionTimestamp.set(kt,nt);const at={filter:Mt,callbacks:[$t],id:kt};return this.subscriptions.set(at.id,at),this.subscriptionsSubject.next(this.subscriptions),this.addToQueue(at),at.id}findExistingSubscription(Mt){for(let $t of this.subscriptions.values())if(JSON.stringify($t.filter)===JSON.stringify(Mt))return $t}removeSubscriptionById(Mt){const $t=Date.now(),At=this.lastActionTimestamp.get(Mt);At&&$t-At{this.subscriptionQueue.length>0&&this.subscriptionQueue.splice(0,this.maxSubscriptionsPerBatch).forEach(At=>{try{this.subscribeToRelays(At.filter,At)}catch(kt){console.error("Failed to subscribe:",kt)}})},this.queueInterval))}subscribeToRelays(Mt,$t){0!==this.activeRelays.length?this.relayService.ensureConnectedRelays().then(()=>{const At=this.relayService.getConnectedRelays();this.relayService.getPool().subscribeMany(At,Mt,{onevent:kt=>{$t.callbacks.forEach(nt=>nt(kt))},onclose:()=>{console.log("Subscription closed")}})}).catch(At=>{console.error("Error subscribing to relays:",At)}):this.pendingSubscriptions.set($t.id,$t)}subscribeToAllRelays(){this.pendingSubscriptions.forEach(Mt=>{this.subscribeToRelays(Mt.filter,Mt)}),this.pendingSubscriptions.clear()}connectToAllRelays(){this.relayService.ensureConnectedRelays().then(()=>{this.activeRelays=this.relayService.getConnectedRelays(),this.subscribeToAllRelays()}).catch(Mt=>{console.error("Error connecting to relays:",Mt)})}clearAllSubscriptions(){this.subscriptions.clear(),this.pendingSubscriptions.clear(),this.subscriptionsSubject.next(new Map)}getSubscriptions(){return Array.from(this.subscriptions.values())}static{this.\u0275fac=function($t){return new($t||tt)(q.KVO(ct.b))}}static{this.\u0275prov=q.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"})}}return tt})()},7292:(i,a,r)=>{"use strict";r.d(a,{b:()=>W});var o=r(177),s=r(9417),c=r(8834),y=r(6600),k=r(5351),S=r(2102),I=r(9213),T=r(9042),M=r(2798),R=r(882),L=r(4438);function J(q,ct){1&q&&(L.j41(0,"mat-error"),L.EFF(1," Password is required "),L.k0s())}let W=(()=>{class q{constructor(ht,tt,_t){this.fb=ht,this.dialogRef=tt,this.data=_t,this.passwordForm=this.fb.group({password:["",s.k0.required],duration:["0",s.k0.required]})}onCancel(){this.dialogRef.close()}onSubmit(){this.dialogRef.close(this.passwordForm.value)}static{this.\u0275fac=function(tt){return new(tt||q)(L.rXU(s.ok),L.rXU(k.CP),L.rXU(k.Vh))}}static{this.\u0275cmp=L.VBU({type:q,selectors:[["password-dialog"]],standalone:!0,features:[L.aNF],decls:30,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"formGroup"],[1,"w-full",3,"subscriptSizing"],["matPrefix",""],["matInput","","type","password",3,"formControlName"],[4,"ngIf"],[1,"mt-5","w-full"],["formControlName","duration"],["value","0"],["value","1"],["value","5"],["value","10"],["value","60"],["mat-dialog-actions",""],["mat-button","",3,"click"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(tt,_t){1&tt&&(L.j41(0,"h1",0),L.EFF(1,"Enter Password"),L.k0s(),L.j41(2,"div",1)(3,"form",2)(4,"mat-form-field",3)(5,"mat-label"),L.EFF(6,"Password"),L.k0s(),L.j41(7,"mat-icon",4),L.EFF(8,"lock"),L.k0s(),L.nrm(9,"input",5),L.DNE(10,J,2,0,"mat-error",6),L.k0s(),L.j41(11,"mat-form-field",7)(12,"mat-label"),L.EFF(13,"Duration"),L.k0s(),L.j41(14,"mat-select",8)(15,"mat-option",9),L.EFF(16,"0 Minute"),L.k0s(),L.j41(17,"mat-option",10),L.EFF(18,"1 Minute"),L.k0s(),L.j41(19,"mat-option",11),L.EFF(20,"5 Minutes"),L.k0s(),L.j41(21,"mat-option",12),L.EFF(22,"10 Minutes"),L.k0s(),L.j41(23,"mat-option",13),L.EFF(24,"1 Hour"),L.k0s()()()()(),L.j41(25,"div",14)(26,"button",15),L.bIt("click",function(){return _t.onCancel()}),L.EFF(27,"Cancel"),L.k0s(),L.j41(28,"button",16),L.bIt("click",function(){return _t.onSubmit()}),L.EFF(29," Submit "),L.k0s()()),2&tt&&(L.R7$(3),L.Y8G("formGroup",_t.passwordForm),L.R7$(),L.Y8G("subscriptSizing","dynamic"),L.R7$(5),L.Y8G("formControlName","password"),L.R7$(),L.Y8G("ngIf",_t.passwordForm.get("password").hasError("required")),L.R7$(18),L.Y8G("disabled",_t.passwordForm.invalid))},dependencies:[R.vg,c.Hl,c.$z,I.m_,I.An,s.YN,s.qT,s.me,s.BC,s.cb,y.wT,S.nJ,S.rl,s.X1,s.j4,s.JD,o.MD,o.bT,M.Ve,S.TL,S.JW,M.VO,S.RG,T.fS,T.fg],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return q})()},4248:(i,a,r)=>{"use strict";var o=r(345),s=r(5245),c=r(4438);let y=(()=>{class b{constructor(){}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["app-root"]],standalone:!0,features:[c.aNF],decls:1,vars:0,template:function(m,D){1&m&&c.nrm(0,"router-outlet")},dependencies:[s.n3],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto;width:100%;height:100%}"]})}}return b})();var k=r(467);const S=new c.nKC("ANGOR_MOCK_API_DEFAULT_DELAY");var I=r(8810),T=r(1985),M=r(6697),R=r(7673);class L{constructor(p,d){this.url=p,this.delay=d,this._replyCount=0,this._replied=0}get response(){if(this._replyCount>0&&this._replyCount<=this._replied)return(0,I.$)(()=>new Error("Execution limit has been reached!"));if(!this._reply)return(0,I.$)(()=>new Error("Response callback function does not exist!"));if(!this.request)return(0,I.$)(()=>new Error("Request does not exist!"));this._replied++;const p=this._reply({request:this.request,urlParams:this.urlParams});return p instanceof T.c?p.pipe((0,M.s)(1)):(0,R.of)(p).pipe((0,M.s)(1))}reply(p){this._reply=p}replyCount(p){this._replyCount=p}}var J=r(7680);let W=(()=>{class b{constructor(){this._handlers={get:new Map,post:new Map,patch:new Map,delete:new Map,put:new Map,head:new Map,jsonp:new Map,options:new Map}}findHandler(d,m){const D={handler:void 0,urlParams:{}},V=m.split("/"),Q=this._handlers[d.toLowerCase()];for(const[vt,zt]of Q){const we=vt.split("/");if(V.length===we.length&&we.every((wr,bo)=>wr.startsWith(":")||wr===V[bo])){D.handler=zt,D.urlParams=(0,J.A)(we.map((wr,bo)=>wr.startsWith(":")?[wr.substring(1),V[bo]]:void 0).filter(Boolean));break}}return D}onGet(d,m){return this._registerHandler("get",d,m)}onPost(d,m){return this._registerHandler("post",d,m)}onPatch(d,m){return this._registerHandler("patch",d,m)}onDelete(d,m){return this._registerHandler("delete",d,m)}onPut(d,m){return this._registerHandler("put",d,m)}onHead(d,m){return this._registerHandler("head",d,m)}onJsonp(d,m){return this._registerHandler("jsonp",d,m)}onOptions(d,m){return this._registerHandler("options",d,m)}_registerHandler(d,m,D){const V=new L(m,D);return this._handlers[d].set(m,V),V}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var q=r(1626),ct=r(1986),ht=r(5558);const tt=(b,p)=>{const d=(0,c.WQX)(S),m=(0,c.WQX)(W),{handler:D,urlParams:V}=m.findHandler(b.method.toUpperCase(),b.url);return D?(D.request=b,D.urlParams=V,D.response.pipe((0,ct.c)(D.delay??d??0),(0,ht.n)(Q=>{if(!Q)return(0,I.$)(()=>new q.yz({error:"NOT FOUND",status:404,statusText:"NOT FOUND"}));const vt={status:Q[0],body:Q[1]};return vt.status>=200&&vt.status<300?(0,R.of)(new q.cS({body:vt.body,status:vt.status,statusText:"OK"})):(0,I.$)(()=>new q.yz({error:vt.body?.error,status:vt.status,statusText:"ERROR"}))}))):p(b)};var _t=r(9097),Mt=r(9979),$t=r(4412);let At=(()=>{class b{constructor(){this._auto$=new $t.t(!0),this._mode$=new $t.t("indeterminate"),this._progress$=new $t.t(0),this._show$=new $t.t(!1),this._urlMap=new Map}get auto$(){return this._auto$.asObservable()}get mode$(){return this._mode$.asObservable()}get progress$(){return this._progress$.asObservable()}get show$(){return this._show$.asObservable()}show(){this._show$.next(!0)}hide(){this._show$.next(!1)}setAutoMode(d){this._auto$.next(d)}setMode(d){this._mode$.next(d)}setProgress(d){d<0||d>100?console.error("Progress value must be between 0 and 100!"):this._progress$.next(d)}_setLoadingStatus(d,m){m?(!0===d?(this._urlMap.set(m,d),this._show$.next(!0)):!1===d&&this._urlMap.has(m)&&this._urlMap.delete(m),0===this._urlMap.size&&this._show$.next(!1)):console.error("The request URL must be provided!")}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var kt=r(980);const nt=(b,p)=>{const d=(0,c.WQX)(At);let m=!1;return d.auto$.pipe((0,M.s)(1)).subscribe(D=>{m=D}),m?(d._setLoadingStatus(!0,b.url),p(b).pipe((0,kt.j)(()=>{d._setLoadingStatus(!1,b.url)}))):p(b)};var at=r(4977),rt=r(6860);let yt=(()=>{class b{constructor(){this._platform=(0,c.WQX)(rt.OD),this.osName="os-unknown",this._platform.isBrowser&&(navigator.userAgent.includes("Win")&&(this.osName="os-windows"),navigator.userAgent.includes("Mac")&&(this.osName="os-mac"),navigator.userAgent.includes("X11")&&(this.osName="os-unix"),navigator.userAgent.includes("Linux")&&(this.osName="os-linux"),this._platform.IOS&&(this.osName="os-ios"),this._platform.ANDROID&&(this.osName="os-android"))}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var Ct=r(177),Vt=r(5964);let Xt=(()=>{class b{constructor(){this._document=(0,c.WQX)(Ct.qQ),this._router=(0,c.WQX)(s.Ix),this._router.events.pipe((0,Vt.p)(d=>d instanceof s.wF),(0,M.s)(1)).subscribe(()=>{this.hide()})}show(){this._document.body.classList.remove("angor-splash-screen-hidden")}hide(){this._document.body.classList.add("angor-splash-screen-hidden")}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var oe=r(7209),Xe=r(6600),kr=r(5351),gr=r(2102);class Gr extends Error{}class xe extends Gr{constructor(p){super(`Invalid DateTime: ${p.toMessage()}`)}}class Le extends Gr{constructor(p){super(`Invalid Interval: ${p.toMessage()}`)}}class gt extends Gr{constructor(p){super(`Invalid Duration: ${p.toMessage()}`)}}class Nt extends Gr{}class Ae extends Gr{constructor(p){super(`Invalid unit ${p}`)}}class Rt extends Gr{}class de extends Gr{constructor(){super("Zone is an abstract class")}}const jt="numeric",De="short",Ye="long",ft={year:jt,month:jt,day:jt},pe={year:jt,month:De,day:jt},Ut={year:jt,month:De,day:jt,weekday:De},Ee={year:jt,month:Ye,day:jt},ie={year:jt,month:Ye,day:jt,weekday:Ye},He={hour:jt,minute:jt},Wt={hour:jt,minute:jt,second:jt},Me={hour:jt,minute:jt,second:jt,timeZoneName:De},Fe={hour:jt,minute:jt,second:jt,timeZoneName:Ye},We={hour:jt,minute:jt,hourCycle:"h23"},Or={hour:jt,minute:jt,second:jt,hourCycle:"h23"},ko={hour:jt,minute:jt,second:jt,hourCycle:"h23",timeZoneName:De},dr={hour:jt,minute:jt,second:jt,hourCycle:"h23",timeZoneName:Ye},Lt={year:jt,month:jt,day:jt,hour:jt,minute:jt},be={year:jt,month:jt,day:jt,hour:jt,minute:jt,second:jt},se={year:jt,month:De,day:jt,hour:jt,minute:jt},Ie={year:jt,month:De,day:jt,hour:jt,minute:jt,second:jt},br={year:jt,month:De,day:jt,weekday:De,hour:jt,minute:jt},mt={year:jt,month:Ye,day:jt,hour:jt,minute:jt,timeZoneName:De},$={year:jt,month:Ye,day:jt,hour:jt,minute:jt,second:jt,timeZoneName:De},Y={year:jt,month:Ye,day:jt,weekday:Ye,hour:jt,minute:jt,timeZoneName:Ye},it={year:jt,month:Ye,day:jt,weekday:Ye,hour:jt,minute:jt,second:jt,timeZoneName:Ye};class Tt{get type(){throw new de}get name(){throw new de}get ianaName(){return this.name}get isUniversal(){throw new de}offsetName(p,d){throw new de}formatOffset(p,d){throw new de}offset(p){throw new de}equals(p){throw new de}get isValid(){throw new de}}let It=null;class ye extends Tt{static get instance(){return null===It&&(It=new ye),It}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(p,{format:d,locale:m}){return mi(p,d,m)}formatOffset(p,d){return Ua(this.offset(p),d)}offset(p){return-new Date(p).getTimezoneOffset()}equals(p){return"system"===p.type}get isValid(){return!0}}let ir={};const er={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Uo={};class fr extends Tt{static create(p){return Uo[p]||(Uo[p]=new fr(p)),Uo[p]}static resetCache(){Uo={},ir={}}static isValidSpecifier(p){return this.isValidZone(p)}static isValidZone(p){if(!p)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:p}).format(),!0}catch{return!1}}constructor(p){super(),this.zoneName=p,this.valid=fr.isValidZone(p)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(p,{format:d,locale:m}){return mi(p,d,m,this.name)}formatOffset(p,d){return Ua(this.offset(p),d)}offset(p){const d=new Date(p);if(isNaN(d))return NaN;const m=function Je(b){return ir[b]||(ir[b]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:b,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),ir[b]}(this.name);let[D,V,Q,vt,zt,we,lr]=m.formatToParts?function eo(b,p){const d=b.formatToParts(p),m=[];for(let D=0;D=0?ho:1e3+ho,(Fa({year:D,month:V,day:Q,hour:24===zt?0:zt,minute:we,second:lr,millisecond:0})-zr)/6e4}equals(p){return"iana"===p.type&&p.name===this.name}get isValid(){return this.valid}}let Pr={},qt={};function Pt(b,p={}){const d=JSON.stringify([b,p]);let m=qt[d];return m||(m=new Intl.DateTimeFormat(b,p),qt[d]=m),m}let ue={},Qr={},Ko=null,$e={};function Se(b,p,d,m){const D=b.listingMode();return"error"===D?null:"en"===D?d(p):m(p)}class xr{constructor(p,d,m){this.padTo=m.padTo||0,this.floor=m.floor||!1;const{padTo:D,floor:V,...Q}=m;if(!d||Object.keys(Q).length>0){const vt={useGrouping:!1,...m};m.padTo>0&&(vt.minimumIntegerDigits=m.padTo),this.inf=function mr(b,p={}){const d=JSON.stringify([b,p]);let m=ue[d];return m||(m=new Intl.NumberFormat(b,p),ue[d]=m),m}(p,vt)}}format(p){if(this.inf){const d=this.floor?Math.floor(p):p;return this.inf.format(d)}return Mn(this.floor?Math.floor(p):pa(p,3),this.padTo)}}class Eo{constructor(p,d,m){let D;if(this.opts=m,this.originalZone=void 0,this.opts.timeZone)this.dt=p;else if("fixed"===p.zone.type){const Q=p.offset/60*-1,vt=Q>=0?`Etc/GMT+${Q}`:`Etc/GMT${Q}`;0!==p.offset&&fr.create(vt).valid?(D=vt,this.dt=p):(D="UTC",this.dt=0===p.offset?p:p.setZone("UTC").plus({minutes:p.offset}),this.originalZone=p.zone)}else"system"===p.zone.type?this.dt=p:"iana"===p.zone.type?(this.dt=p,D=p.zone.name):(D="UTC",this.dt=p.setZone("UTC").plus({minutes:p.offset}),this.originalZone=p.zone);const V={...this.opts};V.timeZone=V.timeZone||D,this.dtf=Pt(d,V)}format(){return this.originalZone?this.formatToParts().map(({value:p})=>p).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const p=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?p.map(d=>{if("timeZoneName"===d.type){const m=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...d,value:m}}return d}):p}resolvedOptions(){return this.dtf.resolvedOptions()}}class $n{constructor(p,d,m){this.opts={style:"long",...m},!d&&Tn()&&(this.rtf=function Ro(b,p={}){const{base:d,...m}=p,D=JSON.stringify([b,m]);let V=Qr[D];return V||(V=new Intl.RelativeTimeFormat(b,p),Qr[D]=V),V}(p,m))}format(p,d){return this.rtf?this.rtf.format(p,d):function et(b,p,d="always",m=!1){const D={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},V=-1===["hours","minutes","seconds"].indexOf(b);if("auto"===d&&V){const wr="days"===b;switch(p){case 1:return wr?"tomorrow":`next ${D[b][0]}`;case-1:return wr?"yesterday":`last ${D[b][0]}`;case 0:return wr?"today":`this ${D[b][0]}`}}const Q=Object.is(p,-0)||p<0,vt=Math.abs(p),zt=1===vt,we=D[b],lr=m?zt?we[1]:we[2]||we[1]:zt?D[b][0]:b;return Q?`${vt} ${lr} ago`:`in ${vt} ${lr}`}(d,p,this.opts.numeric,"long"!==this.opts.style)}formatToParts(p,d){return this.rtf?this.rtf.formatToParts(p,d):[]}}const Yn={firstDay:1,minimalDays:4,weekend:[6,7]};class Yo{static fromOpts(p){return Yo.create(p.locale,p.numberingSystem,p.outputCalendar,p.weekSettings,p.defaultToEN)}static create(p,d,m,D,V=!1){const Q=p||Dt.defaultLocale,vt=Q||(V?"en-US":function tr(){return Ko||(Ko=(new Intl.DateTimeFormat).resolvedOptions().locale,Ko)}()),zt=d||Dt.defaultNumberingSystem,we=m||Dt.defaultOutputCalendar,lr=Qi(D)||Dt.defaultWeekSettings;return new Yo(vt,zt,we,lr,Q)}static resetCache(){Ko=null,qt={},ue={},Qr={}}static fromObject({locale:p,numberingSystem:d,outputCalendar:m,weekSettings:D}={}){return Yo.create(p,d,m,D)}constructor(p,d,m,D,V){const[Q,vt,zt]=function qe(b){const p=b.indexOf("-x-");-1!==p&&(b=b.substring(0,p));const d=b.indexOf("-u-");if(-1===d)return[b];{let m,D;try{m=Pt(b).resolvedOptions(),D=b}catch{const zt=b.substring(0,d);m=Pt(zt).resolvedOptions(),D=zt}const{numberingSystem:V,calendar:Q}=m;return[D,V,Q]}}(p);this.locale=Q,this.numberingSystem=d||vt||null,this.outputCalendar=m||zt||null,this.weekSettings=D,this.intl=function ke(b,p,d){return(d||p)&&(b.includes("-u-")||(b+="-u"),d&&(b+=`-ca-${d}`),p&&(b+=`-nu-${p}`)),b}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=V,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=function ar(b){return(!b.numberingSystem||"latn"===b.numberingSystem)&&("latn"===b.numberingSystem||!b.locale||b.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(b.intl).resolvedOptions().numberingSystem)}(this)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(p){return p&&0!==Object.getOwnPropertyNames(p).length?Yo.create(p.locale||this.specifiedLocale,p.numberingSystem||this.numberingSystem,p.outputCalendar||this.outputCalendar,Qi(p.weekSettings)||this.weekSettings,p.defaultToEN||!1):this}redefaultToEN(p={}){return this.clone({...p,defaultToEN:!0})}redefaultToSystem(p={}){return this.clone({...p,defaultToEN:!1})}months(p,d=!1){return Se(this,p,qa,()=>{const m=d?{month:p,day:"numeric"}:{month:p},D=d?"format":"standalone";return this.monthsCache[D][p]||(this.monthsCache[D][p]=function me(b){const p=[];for(let d=1;d<=12;d++){const m=jo.utc(2009,d,1);p.push(b(m))}return p}(V=>this.extract(V,m,"month"))),this.monthsCache[D][p]})}weekdays(p,d=!1){return Se(this,p,ji,()=>{const m=d?{weekday:p,year:"numeric",month:"long",day:"numeric"}:{weekday:p},D=d?"format":"standalone";return this.weekdaysCache[D][p]||(this.weekdaysCache[D][p]=function Yt(b){const p=[];for(let d=1;d<=7;d++){const m=jo.utc(2016,11,13+d);p.push(b(m))}return p}(V=>this.extract(V,m,"weekday"))),this.weekdaysCache[D][p]})}meridiems(){return Se(this,void 0,()=>ti,()=>{if(!this.meridiemCache){const p={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[jo.utc(2016,11,13,9),jo.utc(2016,11,13,19)].map(d=>this.extract(d,p,"dayperiod"))}return this.meridiemCache})}eras(p){return Se(this,p,Ja,()=>{const d={era:p};return this.eraCache[p]||(this.eraCache[p]=[jo.utc(-40,1,1),jo.utc(2017,1,1)].map(m=>this.extract(m,d,"era"))),this.eraCache[p]})}extract(p,d,m){const Q=this.dtFormatter(p,d).formatToParts().find(vt=>vt.type.toLowerCase()===m);return Q?Q.value:null}numberFormatter(p={}){return new xr(this.intl,p.forceSimple||this.fastNumbers,p)}dtFormatter(p,d={}){return new Eo(p,this.intl,d)}relFormatter(p={}){return new $n(this.intl,this.isEnglish(),p)}listFormatter(p={}){return function re(b,p={}){const d=JSON.stringify([b,p]);let m=Pr[d];return m||(m=new Intl.ListFormat(b,p),Pr[d]=m),m}(this.intl,p)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:vi()?function _e(b){let p=$e[b];if(!p){const d=new Intl.Locale(b);p="getWeekInfo"in d?d.getWeekInfo():d.weekInfo,$e[b]=p}return p}(this.locale):Yn}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(p){return this.locale===p.locale&&this.numberingSystem===p.numberingSystem&&this.outputCalendar===p.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let ni=null;class Fo extends Tt{static get utcInstance(){return null===ni&&(ni=new Fo(0)),ni}static instance(p){return 0===p?Fo.utcInstance:new Fo(p)}static parseSpecifier(p){if(p){const d=p.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(d)return new Fo(qi(d[1],d[2]))}return null}constructor(p){super(),this.fixed=p}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Ua(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Ua(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(p,d){return Ua(this.fixed,d)}get isUniversal(){return!0}offset(){return this.fixed}equals(p){return"fixed"===p.type&&p.fixed===this.fixed}get isValid(){return!0}}class pi extends Tt{constructor(p){super(),this.zoneName=p}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ei(b,p){if($o(b)||null===b)return p;if(b instanceof Tt)return b;if(function nn(b){return"string"==typeof b}(b)){const m=b.toLowerCase();return"default"===m?p:"local"===m||"system"===m?ye.instance:"utc"===m||"gmt"===m?Fo.utcInstance:Fo.parseSpecifier(m)||fr.create(b)}return Bn(b)?Fo.instance(b):"object"==typeof b&&"offset"in b&&"function"==typeof b.offset?b:new pi(b)}const Oe={arab:"[\u0660-\u0669]",arabext:"[\u06f0-\u06f9]",bali:"[\u1b50-\u1b59]",beng:"[\u09e6-\u09ef]",deva:"[\u0966-\u096f]",fullwide:"[\uff10-\uff19]",gujr:"[\u0ae6-\u0aef]",hanidec:"[\u3007|\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d]",khmr:"[\u17e0-\u17e9]",knda:"[\u0ce6-\u0cef]",laoo:"[\u0ed0-\u0ed9]",limb:"[\u1946-\u194f]",mlym:"[\u0d66-\u0d6f]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0b66-\u0b6f]",tamldec:"[\u0be6-\u0bef]",telu:"[\u0c66-\u0c6f]",thai:"[\u0e50-\u0e59]",tibt:"[\u0f20-\u0f29]",latn:"\\d"},Ke={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Dr=Oe.hanidec.replace(/[\[|\]]/g,"").split("");let Ur={};function no({numberingSystem:b},p=""){const d=b||"latn";return Ur[d]||(Ur[d]={}),Ur[d][p]||(Ur[d][p]=new RegExp(`${Oe[d]}${p}`)),Ur[d][p]}let dt,vo=()=>Date.now(),Co="system",ro=null,Ht=null,he=null,ce=60,Gt=null;class Dt{static get now(){return vo}static set now(p){vo=p}static set defaultZone(p){Co=p}static get defaultZone(){return ei(Co,ye.instance)}static get defaultLocale(){return ro}static set defaultLocale(p){ro=p}static get defaultNumberingSystem(){return Ht}static set defaultNumberingSystem(p){Ht=p}static get defaultOutputCalendar(){return he}static set defaultOutputCalendar(p){he=p}static get defaultWeekSettings(){return Gt}static set defaultWeekSettings(p){Gt=Qi(p)}static get twoDigitCutoffYear(){return ce}static set twoDigitCutoffYear(p){ce=p%100}static get throwOnInvalid(){return dt}static set throwOnInvalid(p){dt=p}static resetCaches(){Yo.resetCache(),fr.resetCache(),jo.resetCache(),function ao(){Ur={}}()}}class ne{constructor(p,d){this.reason=p,this.explanation=d}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Re=[0,31,59,90,120,151,181,212,243,273,304,334],Ce=[0,31,60,91,121,152,182,213,244,274,305,335];function or(b,p){return new ne("unit out of range",`you specified ${p} (of type ${typeof p}) as a ${b}, which is invalid`)}function Cr(b,p,d){const m=new Date(Date.UTC(b,p-1,d));b<100&&b>=0&&m.setUTCFullYear(m.getUTCFullYear()-1900);const D=m.getUTCDay();return 0===D?7:D}function Er(b,p,d){return d+(qn(b)?Ce:Re)[p-1]}function Nr(b,p){const d=qn(b)?Ce:Re,m=d.findIndex(V=>VBa(m,p,d)?(we=m+1,zt=1):we=m,{weekYear:we,weekNumber:zt,weekday:vt,...hi(b)}}function to(b,p=4,d=1){const{weekYear:m,weekNumber:D,weekday:V}=b,Q=Fr(Cr(m,1,p),d),vt=Jn(m);let we,zt=7*D+V-Q-7+p;zt<1?(we=m-1,zt+=Jn(we)):zt>vt?(we=m+1,zt-=Jn(m)):we=m;const{month:lr,day:wr}=Nr(we,zt);return{year:we,month:lr,day:wr,...hi(b)}}function xo(b){const{year:p,month:d,day:m}=b;return{year:p,ordinal:Er(p,d,m),...hi(b)}}function Ao(b){const{year:p,ordinal:d}=b,{month:m,day:D}=Nr(p,d);return{year:p,month:m,day:D,...hi(b)}}function po(b,p){if($o(b.localWeekday)&&$o(b.localWeekNumber)&&$o(b.localWeekYear))return{minDaysInFirstWeek:4,startOfWeek:1};if(!$o(b.weekday)||!$o(b.weekNumber)||!$o(b.weekYear))throw new Nt("Cannot mix locale-based week fields with ISO-based week fields");return $o(b.localWeekday)||(b.weekday=b.localWeekday),$o(b.localWeekNumber)||(b.weekNumber=b.localWeekNumber),$o(b.localWeekYear)||(b.weekYear=b.localWeekYear),delete b.localWeekday,delete b.localWeekNumber,delete b.localWeekYear,{minDaysInFirstWeek:p.getMinDaysInFirstWeek(),startOfWeek:p.getStartOfWeek()}}function Di(b){const p=Hi(b.year),d=Qn(b.month,1,12),m=Qn(b.day,1,Ln(b.year,b.month));return p?d?!m&&or("day",b.day):or("month",b.month):or("year",b.year)}function jn(b){const{hour:p,minute:d,second:m,millisecond:D}=b,V=Qn(p,0,23)||24===p&&0===d&&0===m&&0===D,Q=Qn(d,0,59),vt=Qn(m,0,59),zt=Qn(D,0,999);return V?Q?vt?!zt&&or("millisecond",D):or("second",m):or("minute",d):or("hour",p)}function $o(b){return typeof b>"u"}function Bn(b){return"number"==typeof b}function Hi(b){return"number"==typeof b&&b%1==0}function Tn(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function vi(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function da(b,p,d){if(0!==b.length)return b.reduce((m,D)=>{const V=[p(D),D];return m&&d(m[0],V[0])===m[0]?m:V},null)[1]}function Si(b,p){return Object.prototype.hasOwnProperty.call(b,p)}function Qi(b){if(null==b)return null;if("object"!=typeof b)throw new Rt("Week settings must be an object");if(!Qn(b.firstDay,1,7)||!Qn(b.minimalDays,1,7)||!Array.isArray(b.weekend)||b.weekend.some(p=>!Qn(p,1,7)))throw new Rt("Invalid week settings");return{firstDay:b.firstDay,minimalDays:b.minimalDays,weekend:Array.from(b.weekend)}}function Qn(b,p,d){return Hi(b)&&b>=p&&b<=d}function Mn(b,p=2){let m;return m=b<0?"-"+(""+-b).padStart(p,"0"):(""+b).padStart(p,"0"),m}function na(b){if(!$o(b)&&null!==b&&""!==b)return parseInt(b,10)}function fi(b){if(!$o(b)&&null!==b&&""!==b)return parseFloat(b)}function Go(b){if(!$o(b)&&null!==b&&""!==b){const p=1e3*parseFloat("0."+b);return Math.floor(p)}}function pa(b,p,d=!1){const m=10**p;return(d?Math.trunc:Math.round)(b*m)/m}function qn(b){return b%4==0&&(b%100!=0||b%400==0)}function Jn(b){return qn(b)?366:365}function Ln(b,p){const d=function ua(b,p){return b-p*Math.floor(b/p)}(p-1,12)+1;return 2===d?qn(b+(p-d)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][d-1]}function Fa(b){let p=Date.UTC(b.year,b.month-1,b.day,b.hour,b.minute,b.second,b.millisecond);return b.year<100&&b.year>=0&&(p=new Date(p),p.setUTCFullYear(b.year,b.month-1,b.day)),+p}function zo(b,p,d){return-Fr(Cr(b,1,p),d)+p-1}function Ba(b,p=4,d=1){const m=zo(b,p,d),D=zo(b+1,p,d);return(Jn(b)-m+D)/7}function ii(b){return b>99?b:b>Dt.twoDigitCutoffYear?1900+b:2e3+b}function mi(b,p,d,m=null){const D=new Date(b),V={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};m&&(V.timeZone=m);const Q={timeZoneName:p,...V},vt=new Intl.DateTimeFormat(d,Q).formatToParts(D).find(zt=>"timezonename"===zt.type.toLowerCase());return vt?vt.value:null}function qi(b,p){let d=parseInt(b,10);Number.isNaN(d)&&(d=0);const m=parseInt(p,10)||0;return 60*d+(d<0||Object.is(d,-0)?-m:m)}function us(b){const p=Number(b);if("boolean"==typeof b||""===b||Number.isNaN(p))throw new Rt(`Invalid unit value ${b}`);return p}function fa(b,p){const d={};for(const m in b)if(Si(b,m)){const D=b[m];if(null==D)continue;d[p(m)]=us(D)}return d}function Ua(b,p){const d=Math.trunc(Math.abs(b/60)),m=Math.trunc(Math.abs(b%60)),D=b>=0?"+":"-";switch(p){case"short":return`${D}${Mn(d,2)}:${Mn(m,2)}`;case"narrow":return`${D}${d}${m>0?`:${m}`:""}`;case"techie":return`${D}${Mn(d,2)}${Mn(m,2)}`;default:throw new RangeError(`Value format ${p} is out of range for property format`)}}function hi(b){return function va(b,p){return p.reduce((d,m)=>(d[m]=b[m],d),{})}(b,["hour","minute","second","millisecond"])}const On=["January","February","March","April","May","June","July","August","September","October","November","December"],ia=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],bi=["J","F","M","A","M","J","J","A","S","O","N","D"];function qa(b){switch(b){case"narrow":return[...bi];case"short":return[...ia];case"long":return[...On];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Vn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],xi=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ci=["M","T","W","T","F","S","S"];function ji(b){switch(b){case"narrow":return[...ci];case"short":return[...xi];case"long":return[...Vn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ti=["AM","PM"],aa=["Before Christ","Anno Domini"],Li=["BC","AD"],ma=["B","A"];function Ja(b){switch(b){case"narrow":return[...ma];case"short":return[...Li];case"long":return[...aa];default:return null}}function le(b,p){let d="";for(const m of b)d+=m.literal?m.val:p(m.val);return d}const Br={D:ft,DD:pe,DDD:Ee,DDDD:ie,t:He,tt:Wt,ttt:Me,tttt:Fe,T:We,TT:Or,TTT:ko,TTTT:dr,f:Lt,ff:se,fff:mt,ffff:Y,F:be,FF:Ie,FFF:$,FFFF:it};class jr{static create(p,d={}){return new jr(p,d)}static parseFormat(p){let d=null,m="",D=!1;const V=[];for(let Q=0;Q0&&V.push({literal:D||/^\s+$/.test(m),val:m}),d=null,m="",D=!D):D||vt===d?m+=vt:(m.length>0&&V.push({literal:/^\s+$/.test(m),val:m}),m=vt,d=vt)}return m.length>0&&V.push({literal:D||/^\s+$/.test(m),val:m}),V}static macroTokenToFormatOpts(p){return Br[p]}constructor(p,d){this.opts=d,this.loc=p,this.systemLoc=null}formatWithSystemDefault(p,d){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(p,{...this.opts,...d}).format()}dtFormatter(p,d={}){return this.loc.dtFormatter(p,{...this.opts,...d})}formatDateTime(p,d){return this.dtFormatter(p,d).format()}formatDateTimeParts(p,d){return this.dtFormatter(p,d).formatToParts()}formatInterval(p,d){return this.dtFormatter(p.start,d).dtf.formatRange(p.start.toJSDate(),p.end.toJSDate())}resolvedOptions(p,d){return this.dtFormatter(p,d).resolvedOptions()}num(p,d=0){if(this.opts.forceSimple)return Mn(p,d);const m={...this.opts};return d>0&&(m.padTo=d),this.loc.numberFormatter(m).format(p)}formatDateTimeFromString(p,d){const m="en"===this.loc.listingMode(),D=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,V=(zr,ho)=>this.loc.extract(p,zr,ho),Q=zr=>p.isOffsetFixed&&0===p.offset&&zr.allowZ?"Z":p.isValid?p.zone.formatOffset(p.ts,zr.format):"",zt=(zr,ho)=>m?function G(b,p){return qa(p)[b.month-1]}(p,zr):V(ho?{month:zr}:{month:zr,day:"numeric"},"month"),we=(zr,ho)=>m?function ts(b,p){return ji(p)[b.weekday-1]}(p,zr):V(ho?{weekday:zr}:{weekday:zr,month:"long",day:"numeric"},"weekday"),lr=zr=>{const ho=jr.macroTokenToFormatOpts(zr);return ho?this.formatWithSystemDefault(p,ho):zr},wr=zr=>m?function Qt(b,p){return Ja(p)[b.year<0?0:1]}(p,zr):V({era:zr},"era");return le(jr.parseFormat(d),zr=>{switch(zr){case"S":return this.num(p.millisecond);case"u":case"SSS":return this.num(p.millisecond,3);case"s":return this.num(p.second);case"ss":return this.num(p.second,2);case"uu":return this.num(Math.floor(p.millisecond/10),2);case"uuu":return this.num(Math.floor(p.millisecond/100));case"m":return this.num(p.minute);case"mm":return this.num(p.minute,2);case"h":return this.num(p.hour%12==0?12:p.hour%12);case"hh":return this.num(p.hour%12==0?12:p.hour%12,2);case"H":return this.num(p.hour);case"HH":return this.num(p.hour,2);case"Z":return Q({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return Q({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return Q({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return p.zone.offsetName(p.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return p.zone.offsetName(p.ts,{format:"long",locale:this.loc.locale});case"z":return p.zoneName;case"a":return m?function _i(b){return ti[b.hour<12?0:1]}(p):V({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return D?V({day:"numeric"},"day"):this.num(p.day);case"dd":return D?V({day:"2-digit"},"day"):this.num(p.day,2);case"c":case"E":return this.num(p.weekday);case"ccc":return we("short",!0);case"cccc":return we("long",!0);case"ccccc":return we("narrow",!0);case"EEE":return we("short",!1);case"EEEE":return we("long",!1);case"EEEEE":return we("narrow",!1);case"L":return D?V({month:"numeric",day:"numeric"},"month"):this.num(p.month);case"LL":return D?V({month:"2-digit",day:"numeric"},"month"):this.num(p.month,2);case"LLL":return zt("short",!0);case"LLLL":return zt("long",!0);case"LLLLL":return zt("narrow",!0);case"M":return D?V({month:"numeric"},"month"):this.num(p.month);case"MM":return D?V({month:"2-digit"},"month"):this.num(p.month,2);case"MMM":return zt("short",!1);case"MMMM":return zt("long",!1);case"MMMMM":return zt("narrow",!1);case"y":return D?V({year:"numeric"},"year"):this.num(p.year);case"yy":return D?V({year:"2-digit"},"year"):this.num(p.year.toString().slice(-2),2);case"yyyy":return D?V({year:"numeric"},"year"):this.num(p.year,4);case"yyyyyy":return D?V({year:"numeric"},"year"):this.num(p.year,6);case"G":return wr("short");case"GG":return wr("long");case"GGGGG":return wr("narrow");case"kk":return this.num(p.weekYear.toString().slice(-2),2);case"kkkk":return this.num(p.weekYear,4);case"W":return this.num(p.weekNumber);case"WW":return this.num(p.weekNumber,2);case"n":return this.num(p.localWeekNumber);case"nn":return this.num(p.localWeekNumber,2);case"ii":return this.num(p.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(p.localWeekYear,4);case"o":return this.num(p.ordinal);case"ooo":return this.num(p.ordinal,3);case"q":return this.num(p.quarter);case"qq":return this.num(p.quarter,2);case"X":return this.num(Math.floor(p.ts/1e3));case"x":return this.num(p.ts);default:return lr(zr)}})}formatDurationFromString(p,d){const m=zt=>{switch(zt[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},V=jr.parseFormat(d),Q=V.reduce((zt,{literal:we,val:lr})=>we?zt:zt.concat(lr),[]);return le(V,(zt=>we=>{const lr=m(we);return lr?this.num(zt.get(lr),we.length):we})(p.shiftTo(...Q.map(m).filter(zt=>zt))))}}const Oo=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function co(...b){const p=b.reduce((d,m)=>d+m.source,"");return RegExp(`^${p}$`)}function en(...b){return p=>b.reduce(([d,m,D],V)=>{const[Q,vt,zt]=V(p,D);return[{...d,...Q},vt||m,zt]},[{},null,1]).slice(0,2)}function mn(b,...p){if(null==b)return[null,null];for(const[d,m]of p){const D=d.exec(b);if(D)return m(D)}return[null,null]}function Lo(...b){return(p,d)=>{const m={};let D;for(D=0;Dvoid 0!==zr&&(ho||zr&&lr)?-zr:zr;return[{years:bo(fi(d)),months:bo(fi(m)),weeks:bo(fi(D)),days:bo(fi(V)),hours:bo(fi(Q)),minutes:bo(fi(vt)),seconds:bo(fi(zt),"-0"===zt),milliseconds:bo(Go(we),wr)}]}const Fs={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ja(b,p,d,m,D,V,Q){const vt={year:2===p.length?ii(na(p)):na(p),month:ia.indexOf(d)+1,day:na(m),hour:na(D),minute:na(V)};return Q&&(vt.second=na(Q)),b&&(vt.weekday=b.length>3?Vn.indexOf(b)+1:xi.indexOf(b)+1),vt}const yn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Bs(b){const[,p,d,m,D,V,Q,vt,zt,we,lr,wr]=b,bo=ja(p,D,m,d,V,Q,vt);let zr;return zr=zt?Fs[zt]:we?0:qi(lr,wr),[bo,new Fo(zr)]}const ps=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rd=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,rl=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function cn(b){const[,p,d,m,D,V,Q,vt]=b;return[ja(p,D,m,d,V,Q,vt),Fo.utcInstance]}function Fi(b){const[,p,d,m,D,V,Q,vt]=b;return[ja(p,vt,d,m,D,V,Q),Fo.utcInstance]}const rn=co(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,wi),ta=co(/(\d{4})-?W(\d\d)(?:-?(\d))?/,wi),Vi=co(/(\d{4})-?(\d{3})/,wi),Ks=co(Ti),Ss=en(function je(b,p){return[{year:Bt(b,p),month:Bt(b,p+1,1),day:Bt(b,p+2,1)},null,p+3]},No,hn,ha),sa=en(zn,No,hn,ha),xc=en(Gi,No,hn,ha),As=en(No,hn,ha),kc=en(No),Cc=co(/(\d{4})-(\d\d)-(\d\d)/,X),Bc=co(bt),Va=en(No,hn,ha),$s="Invalid Duration",ka={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},nl={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...ka},ki=365.2425,ea=30.436875,od={years:{quarters:4,months:12,weeks:ki/7,days:ki,hours:24*ki,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:ki/28,days:ki/4,hours:24*ki/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:ea/7,days:ea,hours:24*ea,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ka},Xi=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Ts=Xi.slice(0).reverse();function ai(b,p,d=!1){const m={values:d?p.values:{...b.values,...p.values||{}},loc:b.loc.clone(p.loc),conversionAccuracy:p.conversionAccuracy||b.conversionAccuracy,matrix:p.matrix||b.matrix};return new Pn(m)}function Gs(b,p){let d=p.milliseconds??0;for(const m of Ts.slice(1))p[m]&&(d+=p[m]*b[m].milliseconds);return d}function Ms(b,p){const d=Gs(b,p)<0?-1:1;Xi.reduceRight((m,D)=>{if($o(p[D]))return m;if(m){const Q=b[D][m],vt=Math.floor(p[m]*d/Q);p[D]+=vt*d,p[m]-=vt*Q*d}return D},null),Xi.reduce((m,D)=>{if($o(p[D]))return m;if(m){const V=p[m]%1;p[m]-=V,p[D]+=V*b[m][D]}return D},null)}class Pn{constructor(p){const d="longterm"===p.conversionAccuracy||!1;let m=d?od:nl;p.matrix&&(m=p.matrix),this.values=p.values,this.loc=p.loc||Yo.create(),this.conversionAccuracy=d?"longterm":"casual",this.invalid=p.invalid||null,this.matrix=m,this.isLuxonDuration=!0}static fromMillis(p,d){return Pn.fromObject({milliseconds:p},d)}static fromObject(p,d={}){if(null==p||"object"!=typeof p)throw new Rt("Duration.fromObject: argument expected to be an object, got "+(null===p?"null":typeof p));return new Pn({values:fa(p,Pn.normalizeUnit),loc:Yo.fromObject(d),conversionAccuracy:d.conversionAccuracy,matrix:d.matrix})}static fromDurationLike(p){if(Bn(p))return Pn.fromMillis(p);if(Pn.isDuration(p))return p;if("object"==typeof p)return Pn.fromObject(p);throw new Rt(`Unknown duration argument ${p} of type ${typeof p}`)}static fromISO(p,d){const[m]=function ol(b){return mn(b,[$a,Ps])}(p);return m?Pn.fromObject(m,d):Pn.invalid("unparsable",`the input "${p}" can't be parsed as ISO 8601`)}static fromISOTime(p,d){const[m]=function Ec(b){return mn(b,[Ls,kc])}(p);return m?Pn.fromObject(m,d):Pn.invalid("unparsable",`the input "${p}" can't be parsed as ISO 8601`)}static invalid(p,d=null){if(!p)throw new Rt("need to specify a reason the Duration is invalid");const m=p instanceof ne?p:new ne(p,d);if(Dt.throwOnInvalid)throw new gt(m);return new Pn({invalid:m})}static normalizeUnit(p){const d={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[p&&p.toLowerCase()];if(!d)throw new Ae(p);return d}static isDuration(p){return p&&p.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(p,d={}){const m={...d,floor:!1!==d.round&&!1!==d.floor};return this.isValid?jr.create(this.loc,m).formatDurationFromString(this,p):$s}toHuman(p={}){if(!this.isValid)return $s;const d=Xi.map(m=>{const D=this.values[m];return $o(D)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...p,unit:m.slice(0,-1)}).format(D)}).filter(m=>m);return this.loc.listFormatter({type:"conjunction",style:p.listStyle||"narrow",...p}).format(d)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let p="P";return 0!==this.years&&(p+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(p+=this.months+3*this.quarters+"M"),0!==this.weeks&&(p+=this.weeks+"W"),0!==this.days&&(p+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(p+="T"),0!==this.hours&&(p+=this.hours+"H"),0!==this.minutes&&(p+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(p+=pa(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===p&&(p+="T0S"),p}toISOTime(p={}){if(!this.isValid)return null;const d=this.toMillis();return d<0||d>=864e5?null:(p={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...p,includeOffset:!1},jo.fromMillis(d,{zone:"UTC"}).toISOTime(p))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Gs(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(p){if(!this.isValid)return this;const d=Pn.fromDurationLike(p),m={};for(const D of Xi)(Si(d.values,D)||Si(this.values,D))&&(m[D]=d.get(D)+this.get(D));return ai(this,{values:m},!0)}minus(p){if(!this.isValid)return this;const d=Pn.fromDurationLike(p);return this.plus(d.negate())}mapUnits(p){if(!this.isValid)return this;const d={};for(const m of Object.keys(this.values))d[m]=us(p(this.values[m],m));return ai(this,{values:d},!0)}get(p){return this[Pn.normalizeUnit(p)]}set(p){return this.isValid?ai(this,{values:{...this.values,...fa(p,Pn.normalizeUnit)}}):this}reconfigure({locale:p,numberingSystem:d,conversionAccuracy:m,matrix:D}={}){return ai(this,{loc:this.loc.clone({locale:p,numberingSystem:d}),matrix:D,conversionAccuracy:m})}as(p){return this.isValid?this.shiftTo(p).get(p):NaN}normalize(){if(!this.isValid)return this;const p=this.toObject();return Ms(this.matrix,p),ai(this,{values:p},!0)}rescale(){return this.isValid?ai(this,{values:function Ea(b){const p={};for(const[d,m]of Object.entries(b))0!==m&&(p[d]=m);return p}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...p){if(!this.isValid)return this;if(0===p.length)return this;p=p.map(Q=>Pn.normalizeUnit(Q));const d={},m={},D=this.toObject();let V;for(const Q of Xi)if(p.indexOf(Q)>=0){V=Q;let vt=0;for(const we in m)vt+=this.matrix[we][Q]*m[we],m[we]=0;Bn(D[Q])&&(vt+=D[Q]);const zt=Math.trunc(vt);d[Q]=zt,m[Q]=(1e3*vt-1e3*zt)/1e3}else Bn(D[Q])&&(m[Q]=D[Q]);for(const Q in m)0!==m[Q]&&(d[V]+=Q===V?m[Q]:m[Q]/this.matrix[V][Q]);return Ms(this.matrix,d),ai(this,{values:d},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const p={};for(const d of Object.keys(this.values))p[d]=0===this.values[d]?0:-this.values[d];return ai(this,{values:p},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(p){if(!this.isValid||!p.isValid||!this.loc.equals(p.loc))return!1;function d(m,D){return void 0===m||0===m?void 0===D||0===D:m===D}for(const m of Xi)if(!d(this.values[m],p.values[m]))return!1;return!0}}const za="Invalid Interval";class gi{constructor(p){this.s=p.start,this.e=p.end,this.invalid=p.invalid||null,this.isLuxonInterval=!0}static invalid(p,d=null){if(!p)throw new Rt("need to specify a reason the Interval is invalid");const m=p instanceof ne?p:new ne(p,d);if(Dt.throwOnInvalid)throw new Le(m);return new gi({invalid:m})}static fromDateTimes(p,d){const m=Ci(p),D=Ci(d),V=function hs(b,p){return b&&b.isValid?p&&p.isValid?pp}isBefore(p){return!!this.isValid&&this.e<=p}contains(p){return!!this.isValid&&this.s<=p&&this.e>p}set({start:p,end:d}={}){return this.isValid?gi.fromDateTimes(p||this.s,d||this.e):this}splitAt(...p){if(!this.isValid)return[];const d=p.map(Ci).filter(Q=>this.contains(Q)).sort((Q,vt)=>Q.toMillis()-vt.toMillis()),m=[];let{s:D}=this,V=0;for(;D+this.e?this.e:Q;m.push(gi.fromDateTimes(D,vt)),D=vt,V+=1}return m}splitBy(p){const d=Pn.fromDurationLike(p);if(!this.isValid||!d.isValid||0===d.as("milliseconds"))return[];let V,{s:m}=this,D=1;const Q=[];for(;mzt*D));V=+vt>+this.e?this.e:vt,Q.push(gi.fromDateTimes(m,V)),m=V,D+=1}return Q}divideEqually(p){return this.isValid?this.splitBy(this.length()/p).slice(0,p):[]}overlaps(p){return this.e>p.s&&this.s=p.e}equals(p){return!(!this.isValid||!p.isValid)&&this.s.equals(p.s)&&this.e.equals(p.e)}intersection(p){if(!this.isValid)return this;const d=this.s>p.s?this.s:p.s,m=this.e=m?null:gi.fromDateTimes(d,m)}union(p){return this.isValid?gi.fromDateTimes(this.sp.e?this.e:p.e):this}static merge(p){const[d,m]=p.sort((D,V)=>D.s-V.s).reduce(([D,V],Q)=>V?V.overlaps(Q)||V.abutsStart(Q)?[D,V.union(Q)]:[D.concat([V]),Q]:[D,Q],[[],null]);return m&&d.push(m),d}static xor(p){let d=null,m=0;const D=[],V=p.map(zt=>[{time:zt.s,type:"s"},{time:zt.e,type:"e"}]),vt=Array.prototype.concat(...V).sort((zt,we)=>zt.time-we.time);for(const zt of vt)m+="s"===zt.type?1:-1,1===m?d=zt.time:(d&&+d!=+zt.time&&D.push(gi.fromDateTimes(d,zt.time)),d=null);return gi.merge(D)}difference(...p){return gi.xor([this].concat(p)).map(d=>this.intersection(d)).filter(d=>d&&!d.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:za}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(p=ft,d={}){return this.isValid?jr.create(this.s.loc.clone(d),p).formatInterval(this):za}toISO(p){return this.isValid?`${this.s.toISO(p)}/${this.e.toISO(p)}`:za}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:za}toISOTime(p){return this.isValid?`${this.s.toISOTime(p)}/${this.e.toISOTime(p)}`:za}toFormat(p,{separator:d=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(p)}${d}${this.e.toFormat(p)}`:za}toDuration(p,d){return this.isValid?this.e.diff(this.s,p,d):Pn.invalid(this.invalidReason)}mapEndpoints(p){return gi.fromDateTimes(p(this.s),p(this.e))}}class gs{static hasDST(p=Dt.defaultZone){const d=jo.now().setZone(p).set({month:12});return!p.isUniversal&&d.offset!==d.set({month:6}).offset}static isValidIANAZone(p){return fr.isValidZone(p)}static normalizeZone(p){return ei(p,Dt.defaultZone)}static getStartOfWeek({locale:p=null,locObj:d=null}={}){return(d||Yo.create(p)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:p=null,locObj:d=null}={}){return(d||Yo.create(p)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:p=null,locObj:d=null}={}){return(d||Yo.create(p)).getWeekendDays().slice()}static months(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null,outputCalendar:V="gregory"}={}){return(D||Yo.create(d,m,V)).months(p)}static monthsFormat(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null,outputCalendar:V="gregory"}={}){return(D||Yo.create(d,m,V)).months(p,!0)}static weekdays(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null}={}){return(D||Yo.create(d,m,null)).weekdays(p)}static weekdaysFormat(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null}={}){return(D||Yo.create(d,m,null)).weekdays(p,!0)}static meridiems({locale:p=null}={}){return Yo.create(p).meridiems()}static eras(p="short",{locale:d=null}={}){return Yo.create(d,null,"gregory").eras(p)}static features(){return{relative:Tn(),localeWeek:vi()}}}function lc(b,p){const d=D=>D.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),m=d(p)-d(b);return Math.floor(Pn.fromMillis(m).as("days"))}function gn(b,p=d=>d){return{regex:b,deser:([d])=>p(function Lr(b){let p=parseInt(b,10);if(isNaN(p)){p="";for(let d=0;d=V&&m<=Q&&(p+=m-V)}}return parseInt(p,10)}return p}(d))}}const Dc="[ \xa0]",B=new RegExp(Dc,"g");function Et(b){return b.replace(/\./g,"\\.?").replace(B,Dc)}function x(b){return b.replace(/\./g,"").replace(B," ").toLowerCase()}function C(b,p){return null===b?null:{regex:RegExp(b.map(Et).join("|")),deser:([d])=>b.findIndex(m=>x(d)===x(m))+p}}function F(b,p){return{regex:b,deser:([,d,m])=>qi(d,m),groups:p}}function pt(b){return{regex:b,deser:([p])=>p}}function Ot(b){return b.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}const Ue={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let ze=null;function Zr(b,p){return Array.prototype.concat(...b.map(d=>function _r(b,p){if(b.literal)return b;const m=fo(jr.macroTokenToFormatOpts(b.val),p);return null==m||m.includes(void 0)?b:m}(d,p)))}class Mr{constructor(p,d){if(this.locale=p,this.format=d,this.tokens=Zr(jr.parseFormat(d),p),this.units=this.tokens.map(m=>function ae(b,p){const d=no(p),m=no(p,"{2}"),D=no(p,"{3}"),V=no(p,"{4}"),Q=no(p,"{6}"),vt=no(p,"{1,2}"),zt=no(p,"{1,3}"),we=no(p,"{1,6}"),lr=no(p,"{1,9}"),wr=no(p,"{2,4}"),bo=no(p,"{4,6}"),zr=pn=>({regex:RegExp(Ot(pn.val)),deser:([si])=>si,literal:!0}),on=(pn=>{if(b.literal)return zr(pn);switch(pn.val){case"G":return C(p.eras("short"),0);case"GG":return C(p.eras("long"),0);case"y":return gn(we);case"yy":case"kk":return gn(wr,ii);case"yyyy":case"kkkk":return gn(V);case"yyyyy":return gn(bo);case"yyyyyy":return gn(Q);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return gn(vt);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return gn(m);case"MMM":return C(p.months("short",!0),1);case"MMMM":return C(p.months("long",!0),1);case"LLL":return C(p.months("short",!1),1);case"LLLL":return C(p.months("long",!1),1);case"o":case"S":return gn(zt);case"ooo":case"SSS":return gn(D);case"u":return pt(lr);case"uu":return pt(vt);case"uuu":case"E":case"c":return gn(d);case"a":return C(p.meridiems(),0);case"EEE":return C(p.weekdays("short",!1),1);case"EEEE":return C(p.weekdays("long",!1),1);case"ccc":return C(p.weekdays("short",!0),1);case"cccc":return C(p.weekdays("long",!0),1);case"Z":case"ZZ":return F(new RegExp(`([+-]${vt.source})(?::(${m.source}))?`),2);case"ZZZ":return F(new RegExp(`([+-]${vt.source})(${m.source})?`),2);case"z":return pt(/[a-z_+-/]{1,256}?/i);case" ":return pt(/[^\S\n\r]/);default:return zr(pn)}})(b)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return on.token=b,on}(m,p)),this.disqualifyingUnit=this.units.find(m=>m.invalidReason),!this.disqualifyingUnit){const[m,D]=function Ze(b){return[`^${b.map(d=>d.regex).reduce((d,m)=>`${d}(${m.source})`,"")}$`,b]}(this.units);this.regex=RegExp(m,"i"),this.handlers=D}}explainFromTokens(p){if(this.isValid){const[d,m]=function sr(b,p,d){const m=b.match(p);if(m){const D={};let V=1;for(const Q in d)if(Si(d,Q)){const vt=d[Q],zt=vt.groups?vt.groups+1:1;!vt.literal&&vt.token&&(D[vt.token.val[0]]=vt.deser(m.slice(V,V+zt))),V+=zt}return[m,D]}return[m,{}]}(p,this.regex,this.handlers),[D,V,Q]=m?function Ir(b){let m,d=null;return $o(b.z)||(d=fr.create(b.z)),$o(b.Z)||(d||(d=new Fo(b.Z)),m=b.Z),$o(b.q)||(b.M=3*(b.q-1)+1),$o(b.h)||(b.h<12&&1===b.a?b.h+=12:12===b.h&&0===b.a&&(b.h=0)),0===b.G&&b.y&&(b.y=-b.y),$o(b.u)||(b.S=Go(b.u)),[Object.keys(b).reduce((V,Q)=>{const vt=(V=>{switch(V){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(Q);return vt&&(V[vt]=b[Q]),V},{}),d,m]}(m):[null,null,void 0];if(Si(m,"a")&&Si(m,"H"))throw new Nt("Can't include meridiem when specifying 24-hour format");return{input:p,tokens:this.tokens,regex:this.regex,rawMatches:d,matches:m,result:D,zone:V,specificOffset:Q}}return{input:p,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Xr(b,p,d){return new Mr(b,d).explainFromTokens(p)}function fo(b,p){if(!b)return null;const m=jr.create(p,b).dtFormatter(function nr(){return ze||(ze=jo.fromMillis(1555555555555)),ze}()),D=m.formatToParts(),V=m.resolvedOptions();return D.map(Q=>function Ve(b,p,d){const{type:m,value:D}=b;if("literal"===m){const zt=/^\s+$/.test(D);return{literal:!zt,val:zt?" ":D}}let Q=m;"hour"===m&&(Q=null!=p.hour12?p.hour12?"hour12":"hour24":null!=p.hourCycle?"h11"===p.hourCycle||"h12"===p.hourCycle?"hour12":"hour24":d.hour12?"hour12":"hour24");let vt=Ue[Q];if("object"==typeof vt&&(vt=vt[p[m]]),vt)return{literal:!1,val:vt}}(Q,b,V))}const Vr="Invalid DateTime",Do=864e13;function Io(b){return new ne("unsupported zone",`the zone "${b.name}" is not supported`)}function Yr(b){return null===b.weekData&&(b.weekData=qr(b.c)),b.weekData}function tn(b){return null===b.localWeekData&&(b.localWeekData=qr(b.c,b.loc.getMinDaysInFirstWeek(),b.loc.getStartOfWeek())),b.localWeekData}function Xo(b,p){const d={ts:b.ts,zone:b.zone,c:b.c,o:b.o,loc:b.loc,invalid:b.invalid};return new jo({...d,...p,old:d})}function Cn(b,p,d){let m=b-60*p*1e3;const D=d.offset(m);if(p===D)return[m,p];m-=60*(D-p)*1e3;const V=d.offset(m);return D===V?[m,D]:[b-60*Math.min(D,V)*1e3,Math.max(D,V)]}function qo(b,p){const d=new Date(b+=60*p*1e3);return{year:d.getUTCFullYear(),month:d.getUTCMonth()+1,day:d.getUTCDate(),hour:d.getUTCHours(),minute:d.getUTCMinutes(),second:d.getUTCSeconds(),millisecond:d.getUTCMilliseconds()}}function _n(b,p,d){return Cn(Fa(b),p,d)}function Ei(b,p){const d=b.o,m=b.c.year+Math.trunc(p.years),D=b.c.month+Math.trunc(p.months)+3*Math.trunc(p.quarters),V={...b.c,year:m,month:D,day:Math.min(b.c.day,Ln(m,D))+Math.trunc(p.days)+7*Math.trunc(p.weeks)},Q=Pn.fromObject({years:p.years-Math.trunc(p.years),quarters:p.quarters-Math.trunc(p.quarters),months:p.months-Math.trunc(p.months),weeks:p.weeks-Math.trunc(p.weeks),days:p.days-Math.trunc(p.days),hours:p.hours,minutes:p.minutes,seconds:p.seconds,milliseconds:p.milliseconds}).as("milliseconds"),vt=Fa(V);let[zt,we]=Cn(vt,d,b.zone);return 0!==Q&&(zt+=Q,we=b.zone.offset(zt)),{ts:zt,o:we}}function oi(b,p,d,m,D,V){const{setZone:Q,zone:vt}=d;if(b&&0!==Object.keys(b).length||p){const zt=p||vt,we=jo.fromObject(b,{...d,zone:zt,specificOffset:V});return Q?we:we.setZone(vt)}return jo.invalid(new ne("unparsable",`the input "${D}" can't be parsed as ${m}`))}function Wi(b,p,d=!0){return b.isValid?jr.create(Yo.create("en-US"),{allowZ:d,forceSimple:!0}).formatDateTimeFromString(b,p):null}function To(b,p){const d=b.c.year>9999||b.c.year<0;let m="";return d&&b.c.year>=0&&(m+="+"),m+=Mn(b.c.year,d?6:4),p?(m+="-",m+=Mn(b.c.month),m+="-",m+=Mn(b.c.day)):(m+=Mn(b.c.month),m+=Mn(b.c.day)),m}function lo(b,p,d,m,D,V){let Q=Mn(b.c.hour);return p?(Q+=":",Q+=Mn(b.c.minute),(0!==b.c.millisecond||0!==b.c.second||!d)&&(Q+=":")):Q+=Mn(b.c.minute),(0!==b.c.millisecond||0!==b.c.second||!d)&&(Q+=Mn(b.c.second),(0!==b.c.millisecond||!m)&&(Q+=".",Q+=Mn(b.c.millisecond,3))),D&&(b.isOffsetFixed&&0===b.offset&&!V?Q+="Z":b.o<0?(Q+="-",Q+=Mn(Math.trunc(-b.o/60)),Q+=":",Q+=Mn(Math.trunc(-b.o%60))):(Q+="+",Q+=Mn(Math.trunc(b.o/60)),Q+=":",Q+=Mn(Math.trunc(b.o%60)))),V&&(Q+="["+b.zone.ianaName+"]"),Q}const vn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Rn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},mo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Mi=["year","month","day","hour","minute","second","millisecond"],ra=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Bi=["year","ordinal","hour","minute","second","millisecond"];function ba(b){switch(b.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function bs(b){const p={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[b.toLowerCase()];if(!p)throw new Ae(b);return p}(b)}}function Po(b,p){const d=ei(p.zone,Dt.defaultZone);if(!d.isValid)return jo.invalid(Io(d));const m=Yo.fromObject(p);let D,V;if($o(b.year))D=Dt.now();else{for(const zt of Mi)$o(b[zt])&&(b[zt]=vn[zt]);const Q=Di(b)||jn(b);if(Q)return jo.invalid(Q);const vt=function yi(b){return la[b]||(void 0===Ha&&(Ha=Dt.now()),la[b]=b.offset(Ha)),la[b]}(d);[D,V]=_n(b,vt,d)}return new jo({ts:D,zone:d,loc:m,o:V})}function li(b,p,d){const m=!!$o(d.round)||d.round,D=(Q,vt)=>(Q=pa(Q,m||d.calendary?0:2,!0),p.loc.clone(d).relFormatter(d).format(Q,vt)),V=Q=>d.calendary?p.hasSame(b,Q)?0:p.startOf(Q).diff(b.startOf(Q),Q).get(Q):p.diff(b,Q).get(Q);if(d.unit)return D(V(d.unit),d.unit);for(const Q of d.units){const vt=V(Q);if(Math.abs(vt)>=1)return D(vt,Q)}return D(b>p?-0:0,d.units[d.units.length-1])}function Ii(b){let d,p={};return b.length>0&&"object"==typeof b[b.length-1]?(p=b[b.length-1],d=Array.from(b).slice(0,b.length-1)):d=Array.from(b),[p,d]}let Ha,la={};class jo{constructor(p){const d=p.zone||Dt.defaultZone;let m=p.invalid||(Number.isNaN(p.ts)?new ne("invalid input"):null)||(d.isValid?null:Io(d));this.ts=$o(p.ts)?Dt.now():p.ts;let D=null,V=null;if(!m)if(p.old&&p.old.ts===this.ts&&p.old.zone.equals(d))[D,V]=[p.old.c,p.old.o];else{const vt=Bn(p.o)&&!p.old?p.o:d.offset(this.ts);D=qo(this.ts,vt),m=Number.isNaN(D.year)?new ne("invalid input"):null,D=m?null:D,V=m?null:vt}this._zone=d,this.loc=p.loc||Yo.create(),this.invalid=m,this.weekData=null,this.localWeekData=null,this.c=D,this.o=V,this.isLuxonDateTime=!0}static now(){return new jo({})}static local(){const[p,d]=Ii(arguments),[m,D,V,Q,vt,zt,we]=d;return Po({year:m,month:D,day:V,hour:Q,minute:vt,second:zt,millisecond:we},p)}static utc(){const[p,d]=Ii(arguments),[m,D,V,Q,vt,zt,we]=d;return p.zone=Fo.utcInstance,Po({year:m,month:D,day:V,hour:Q,minute:vt,second:zt,millisecond:we},p)}static fromJSDate(p,d={}){const m=function Pa(b){return"[object Date]"===Object.prototype.toString.call(b)}(p)?p.valueOf():NaN;if(Number.isNaN(m))return jo.invalid("invalid input");const D=ei(d.zone,Dt.defaultZone);return D.isValid?new jo({ts:m,zone:D,loc:Yo.fromObject(d)}):jo.invalid(Io(D))}static fromMillis(p,d={}){if(Bn(p))return p<-Do||p>Do?jo.invalid("Timestamp out of range"):new jo({ts:p,zone:ei(d.zone,Dt.defaultZone),loc:Yo.fromObject(d)});throw new Rt(`fromMillis requires a numerical input, but received a ${typeof p} with value ${p}`)}static fromSeconds(p,d={}){if(Bn(p))return new jo({ts:1e3*p,zone:ei(d.zone,Dt.defaultZone),loc:Yo.fromObject(d)});throw new Rt("fromSeconds requires a numerical input")}static fromObject(p,d={}){p=p||{};const m=ei(d.zone,Dt.defaultZone);if(!m.isValid)return jo.invalid(Io(m));const D=Yo.fromObject(d),V=fa(p,ba),{minDaysInFirstWeek:Q,startOfWeek:vt}=po(V,D),zt=Dt.now(),we=$o(d.specificOffset)?m.offset(zt):d.specificOffset,lr=!$o(V.ordinal),wr=!$o(V.year),bo=!$o(V.month)||!$o(V.day),zr=wr||bo,ho=V.weekYear||V.weekNumber;if((zr||lr)&&ho)throw new Nt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(bo&&lr)throw new Nt("Can't mix ordinal dates with month/day");const on=ho||V.weekday&&!zr;let pn,si,Zi=qo(zt,we);on?(pn=ra,si=Rn,Zi=qr(Zi,Q,vt)):lr?(pn=Bi,si=mo,Zi=xo(Zi)):(pn=Mi,si=vn);let Za=!1;for(const ac of pn)$o(V[ac])?V[ac]=Za?si[ac]:Zi[ac]:Za=!0;const Ia=on?function io(b,p=4,d=1){const m=Hi(b.weekYear),D=Qn(b.weekNumber,1,Ba(b.weekYear,p,d)),V=Qn(b.weekday,1,7);return m?D?!V&&or("weekday",b.weekday):or("week",b.weekNumber):or("weekYear",b.weekYear)}(V,Q,vt):lr?function Zn(b){const p=Hi(b.year),d=Qn(b.ordinal,1,Jn(b.year));return p?!d&&or("ordinal",b.ordinal):or("year",b.year)}(V):Di(V),ic=Ia||jn(V);if(ic)return jo.invalid(ic);const wc=on?to(V,Q,vt):lr?Ao(V):V,[ss,Es]=_n(wc,we,m),Cs=new jo({ts:ss,zone:m,o:Es,loc:D});return V.weekday&&zr&&p.weekday!==Cs.weekday?jo.invalid("mismatched weekday",`you can't specify both a weekday of ${V.weekday} and a date of ${Cs.toISO()}`):Cs.isValid?Cs:jo.invalid(Cs.invalid)}static fromISO(p,d={}){const[m,D]=function Oi(b){return mn(b,[rn,Ss],[ta,sa],[Vi,xc],[Ks,As])}(p);return oi(m,D,d,"ISO 8601",p)}static fromRFC2822(p,d={}){const[m,D]=function _c(b){return mn(function xa(b){return b.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(b),[yn,Bs])}(p);return oi(m,D,d,"RFC 2822",p)}static fromHTTP(p,d={}){const[m,D]=function Fc(b){return mn(b,[ps,cn],[rd,cn],[rl,Fi])}(p);return oi(m,D,d,"HTTP",d)}static fromFormat(p,d,m={}){if($o(p)||$o(d))throw new Rt("fromFormat requires an input string and a format");const{locale:D=null,numberingSystem:V=null}=m,Q=Yo.fromOpts({locale:D,numberingSystem:V,defaultToEN:!0}),[vt,zt,we,lr]=function Jr(b,p,d){const{result:m,zone:D,specificOffset:V,invalidReason:Q}=Xr(b,p,d);return[m,D,V,Q]}(Q,p,d);return lr?jo.invalid(lr):oi(vt,zt,m,`format ${d}`,p,we)}static fromString(p,d,m={}){return jo.fromFormat(p,d,m)}static fromSQL(p,d={}){const[m,D]=function Us(b){return mn(b,[Cc,Ss],[Bc,Va])}(p);return oi(m,D,d,"SQL",p)}static invalid(p,d=null){if(!p)throw new Rt("need to specify a reason the DateTime is invalid");const m=p instanceof ne?p:new ne(p,d);if(Dt.throwOnInvalid)throw new xe(m);return new jo({invalid:m})}static isDateTime(p){return p&&p.isLuxonDateTime||!1}static parseFormatForOpts(p,d={}){const m=fo(p,Yo.fromObject(d));return m?m.map(D=>D?D.val:null).join(""):null}static expandFormat(p,d={}){return Zr(jr.parseFormat(p),Yo.fromObject(d)).map(D=>D.val).join("")}static resetCache(){Ha=void 0,la={}}get(p){return this[p]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Yr(this).weekYear:NaN}get weekNumber(){return this.isValid?Yr(this).weekNumber:NaN}get weekday(){return this.isValid?Yr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?tn(this).weekday:NaN}get localWeekNumber(){return this.isValid?tn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?tn(this).weekYear:NaN}get ordinal(){return this.isValid?xo(this.c).ordinal:NaN}get monthShort(){return this.isValid?gs.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?gs.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?gs.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?gs.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const p=864e5,d=6e4,m=Fa(this.c),D=this.zone.offset(m-p),V=this.zone.offset(m+p),Q=this.zone.offset(m-D*d),vt=this.zone.offset(m-V*d);if(Q===vt)return[this];const zt=m-Q*d,we=m-vt*d,lr=qo(zt,Q),wr=qo(we,vt);return lr.hour===wr.hour&&lr.minute===wr.minute&&lr.second===wr.second&&lr.millisecond===wr.millisecond?[Xo(this,{ts:zt}),Xo(this,{ts:we})]:[this]}get isInLeapYear(){return qn(this.year)}get daysInMonth(){return Ln(this.year,this.month)}get daysInYear(){return this.isValid?Jn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ba(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ba(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(p={}){const{locale:d,numberingSystem:m,calendar:D}=jr.create(this.loc.clone(p),p).resolvedOptions(this);return{locale:d,numberingSystem:m,outputCalendar:D}}toUTC(p=0,d={}){return this.setZone(Fo.instance(p),d)}toLocal(){return this.setZone(Dt.defaultZone)}setZone(p,{keepLocalTime:d=!1,keepCalendarTime:m=!1}={}){if((p=ei(p,Dt.defaultZone)).equals(this.zone))return this;if(p.isValid){let D=this.ts;if(d||m){const V=p.offset(this.ts),Q=this.toObject();[D]=_n(Q,V,p)}return Xo(this,{ts:D,zone:p})}return jo.invalid(Io(p))}reconfigure({locale:p,numberingSystem:d,outputCalendar:m}={}){return Xo(this,{loc:this.loc.clone({locale:p,numberingSystem:d,outputCalendar:m})})}setLocale(p){return this.reconfigure({locale:p})}set(p){if(!this.isValid)return this;const d=fa(p,ba),{minDaysInFirstWeek:m,startOfWeek:D}=po(d,this.loc),V=!$o(d.weekYear)||!$o(d.weekNumber)||!$o(d.weekday),Q=!$o(d.ordinal),vt=!$o(d.year),zt=!$o(d.month)||!$o(d.day);if((vt||zt||Q)&&(d.weekYear||d.weekNumber))throw new Nt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(zt&&Q)throw new Nt("Can't mix ordinal dates with month/day");let wr;V?wr=to({...qr(this.c,m,D),...d},m,D):$o(d.ordinal)?(wr={...this.toObject(),...d},$o(d.day)&&(wr.day=Math.min(Ln(wr.year,wr.month),wr.day))):wr=Ao({...xo(this.c),...d});const[bo,zr]=_n(wr,this.o,this.zone);return Xo(this,{ts:bo,o:zr})}plus(p){return this.isValid?Xo(this,Ei(this,Pn.fromDurationLike(p))):this}minus(p){return this.isValid?Xo(this,Ei(this,Pn.fromDurationLike(p).negate())):this}startOf(p,{useLocaleWeeks:d=!1}={}){if(!this.isValid)return this;const m={},D=Pn.normalizeUnit(p);switch(D){case"years":m.month=1;case"quarters":case"months":m.day=1;case"weeks":case"days":m.hour=0;case"hours":m.minute=0;case"minutes":m.second=0;case"seconds":m.millisecond=0}if("weeks"===D)if(d){const V=this.loc.getStartOfWeek(),{weekday:Q}=this;Qthis.valueOf(),we=function ca(b,p,d,m){let[D,V,Q,vt]=function Is(b,p,d){const m=[["years",(zt,we)=>we.year-zt.year],["quarters",(zt,we)=>we.quarter-zt.quarter+4*(we.year-zt.year)],["months",(zt,we)=>we.month-zt.month+12*(we.year-zt.year)],["weeks",(zt,we)=>{const lr=lc(zt,we);return(lr-lr%7)/7}],["days",lc]],D={},V=b;let Q,vt;for(const[zt,we]of m)d.indexOf(zt)>=0&&(Q=zt,D[zt]=we(b,p),vt=V.plus(D),vt>p?(D[zt]--,(b=V.plus(D))>p&&(vt=b,D[zt]--,b=V.plus(D))):b=vt);return[b,D,vt,Q]}(b,p,d);const zt=p-D,we=d.filter(wr=>["hours","minutes","seconds","milliseconds"].indexOf(wr)>=0);0===we.length&&(Q0?Pn.fromMillis(zt,m).shiftTo(...we).plus(lr):lr}(Q?this:p,Q?p:this,V,D);return Q?we.negate():we}diffNow(p="milliseconds",d={}){return this.diff(jo.now(),p,d)}until(p){return this.isValid?gi.fromDateTimes(this,p):this}hasSame(p,d,m){if(!this.isValid)return!1;const D=p.valueOf(),V=this.setZone(p.zone,{keepLocalTime:!0});return V.startOf(d,m)<=D&&D<=V.endOf(d,m)}equals(p){return this.isValid&&p.isValid&&this.valueOf()===p.valueOf()&&this.zone.equals(p.zone)&&this.loc.equals(p.loc)}toRelative(p={}){if(!this.isValid)return null;const d=p.base||jo.fromObject({},{zone:this.zone}),m=p.padding?thisd.valueOf(),Math.min)}static max(...p){if(!p.every(jo.isDateTime))throw new Rt("max requires all arguments be DateTimes");return da(p,d=>d.valueOf(),Math.max)}static fromFormatExplain(p,d,m={}){const{locale:D=null,numberingSystem:V=null}=m;return Xr(Yo.fromOpts({locale:D,numberingSystem:V,defaultToEN:!0}),p,d)}static fromStringExplain(p,d,m={}){return jo.fromFormatExplain(p,d,m)}static buildFormatParser(p,d={}){const{locale:m=null,numberingSystem:D=null}=d,V=Yo.fromOpts({locale:m,numberingSystem:D,defaultToEN:!0});return new Mr(V,p)}static fromFormatParser(p,d,m={}){if($o(p)||$o(d))throw new Rt("fromFormatParser requires an input string and a format parser");const{locale:D=null,numberingSystem:V=null}=m,Q=Yo.fromOpts({locale:D,numberingSystem:V,defaultToEN:!0});if(!Q.equals(d.locale))throw new Rt(`fromFormatParser called with a locale of ${Q}, but the format parser was created for ${d.locale}`);const{result:vt,zone:zt,specificOffset:we,invalidReason:lr}=d.explainFromTokens(p);return lr?jo.invalid(lr):oi(vt,zt,m,`format ${d.format}`,p,we)}static get DATE_SHORT(){return ft}static get DATE_MED(){return pe}static get DATE_MED_WITH_WEEKDAY(){return Ut}static get DATE_FULL(){return Ee}static get DATE_HUGE(){return ie}static get TIME_SIMPLE(){return He}static get TIME_WITH_SECONDS(){return Wt}static get TIME_WITH_SHORT_OFFSET(){return Me}static get TIME_WITH_LONG_OFFSET(){return Fe}static get TIME_24_SIMPLE(){return We}static get TIME_24_WITH_SECONDS(){return Or}static get TIME_24_WITH_SHORT_OFFSET(){return ko}static get TIME_24_WITH_LONG_OFFSET(){return dr}static get DATETIME_SHORT(){return Lt}static get DATETIME_SHORT_WITH_SECONDS(){return be}static get DATETIME_MED(){return se}static get DATETIME_MED_WITH_SECONDS(){return Ie}static get DATETIME_MED_WITH_WEEKDAY(){return br}static get DATETIME_FULL(){return mt}static get DATETIME_FULL_WITH_SECONDS(){return $}static get DATETIME_HUGE(){return Y}static get DATETIME_HUGE_WITH_SECONDS(){return it}}function Ci(b){if(jo.isDateTime(b))return b;if(b&&b.valueOf&&Bn(b.valueOf()))return jo.fromJSDate(b);if(b&&"object"==typeof b)return jo.fromObject(b);throw new Rt(`Unknown datetime argument: ${b}, of type ${typeof b}`)}const ws=new c.nKC("MAT_LUXON_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function El(){return{useUtc:!1,firstDayOfWeek:0,defaultOutputCalendar:"gregory"}}});let il=(()=>{class b extends Xe.MJ{constructor(d,m){super(),this._useUTC=!!m?.useUtc,this._firstDayOfWeek=m?.firstDayOfWeek||0,this._defaultOutputCalendar=m?.defaultOutputCalendar||"gregory",this.setLocale(d||jo.local().locale)}getYear(d){return d.year}getMonth(d){return d.month-1}getDate(d){return d.day}getDayOfWeek(d){return d.weekday}getMonthNames(d){return gs.months(d,{locale:this.locale,outputCalendar:this._defaultOutputCalendar})}getDateNames(){const d=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return function Uc(b,p){const d=Array(b);for(let m=0;md.format(jo.utc(2017,1,m+1).toJSDate()))}getDayOfWeekNames(d){const m=gs.weekdays(d,{locale:this.locale});return m.unshift(m.pop()),m}getYearName(d){return d.toFormat("yyyy",this._getOptions())}getFirstDayOfWeek(){return this._firstDayOfWeek}getNumDaysInMonth(d){return d.daysInMonth}clone(d){return jo.fromObject(d.toObject(),this._getOptions())}createDate(d,m,D){const V=this._getOptions();if(m<0||m>11)throw Error(`Invalid month index "${m}". Month index has to be between 0 and 11.`);if(D<1)throw Error(`Invalid date "${D}". Date has to be greater than 0.`);const Q=this._useUTC?jo.utc(d,m+1,D,V):jo.local(d,m+1,D,V);if(!this.isValid(Q))throw Error(`Invalid date "${D}". Reason: "${Q.invalidReason}".`);return Q}today(){const d=this._getOptions();return this._useUTC?jo.utc(d):jo.local(d)}parse(d,m){const D=this._getOptions();if("string"==typeof d&&d.length>0){const V=jo.fromISO(d,D);if(this.isValid(V))return V;const Q=Array.isArray(m)?m:[m];if(!m.length)throw Error("Formats array must not be empty.");for(const vt of Q){const zt=jo.fromFormat(d,vt,D);if(this.isValid(zt))return zt}return this.invalid()}return"number"==typeof d?jo.fromMillis(d,D):d instanceof Date?jo.fromJSDate(d,D):d instanceof jo?jo.fromMillis(d.toMillis(),D):null}format(d,m){if(!this.isValid(d))throw Error("LuxonDateAdapter: Cannot format invalid date.");return this._useUTC?d.setLocale(this.locale).setZone("utc").toFormat(m):d.setLocale(this.locale).toFormat(m)}addCalendarYears(d,m){return d.reconfigure(this._getOptions()).plus({years:m})}addCalendarMonths(d,m){return d.reconfigure(this._getOptions()).plus({months:m})}addCalendarDays(d,m){return d.reconfigure(this._getOptions()).plus({days:m})}toIso8601(d){return d.toISO()}deserialize(d){const m=this._getOptions();let D;if(d instanceof Date&&(D=jo.fromJSDate(d,m)),"string"==typeof d){if(!d)return null;D=jo.fromISO(d,m)}return D&&this.isValid(D)?D:super.deserialize(d)}isDateInstance(d){return d instanceof jo}isValid(d){return d.isValid}invalid(){return jo.invalid("Invalid Luxon DateTime object.")}_getOptions(){return{zone:this._useUTC?"utc":void 0,locale:this.locale,outputCalendar:this._defaultOutputCalendar}}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Xe.Ju,8),c.KVO(ws,8))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})();var Ho=r(9969);function N(b){return new c.wOt(3e3,!1)}function Qs(b){switch(b.length){case 0:return new Ho.sf;case 1:return b[0];default:return new Ho.ui(b)}}function Md(b,p,d=new Map,m=new Map){const D=[],V=[];let Q=-1,vt=null;if(p.forEach(zt=>{const we=zt.get("offset"),lr=we==Q,wr=lr&&vt||new Map;zt.forEach((bo,zr)=>{let ho=zr,on=bo;if("offset"!==zr)switch(ho=b.normalizePropertyName(ho,D),on){case Ho.FX:on=d.get(zr);break;case Ho.kp:on=m.get(zr);break;default:on=b.normalizeStyleValue(zr,ho,on,D)}wr.set(ho,on)}),lr||V.push(wr),vt=wr,Q=we}),D.length)throw function $p(){return new c.wOt(3502,!1)}();return V}function xs(b,p,d,m){switch(p){case"start":b.onStart(()=>m(d&&Od(d,"start",b)));break;case"done":b.onDone(()=>m(d&&Od(d,"done",b)));break;case"destroy":b.onDestroy(()=>m(d&&Od(d,"destroy",b)))}}function Od(b,p,d){const V=Rd(b.element,b.triggerName,b.fromState,b.toState,p||b.phaseName,d.totalTime??b.totalTime,!!d.disabled),Q=b._data;return null!=Q&&(V._data=Q),V}function Rd(b,p,d,m,D="",V=0,Q){return{element:b,triggerName:p,fromState:d,toState:m,phaseName:D,totalTime:V,disabled:!!Q}}function _s(b,p,d){let m=b.get(p);return m||b.set(p,m=d),m}function id(b){const p=b.indexOf(":");return[b.substring(1,p),b.slice(p+1)]}const Lu=typeof document>"u"?null:document.documentElement;function Al(b){const p=b.parentNode||b.host||null;return p===Lu?null:p}let qs=null,js=!1;function Fu(b,p){for(;p;){if(p===b)return!0;p=Al(p)}return!1}function zp(b,p,d){if(d)return Array.from(b.querySelectorAll(p));const m=b.querySelector(p);return m?[m]:[]}let Pd=(()=>{class b{validateStyleProperty(d){return function fn(b){qs||(qs=function Pu(){return typeof document<"u"?document.body:null}()||{},js=!!qs.style&&"WebkitAppearance"in qs.style);let p=!0;return qs.style&&!function Nd(b){return"ebkit"==b.substring(1,6)}(b)&&(p=b in qs.style,!p&&js&&(p="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in qs.style)),p}(d)}containsElement(d,m){return Fu(d,m)}getParentElement(d){return Al(d)}query(d,m,D){return zp(d,m,D)}computeStyle(d,m,D){return D||""}animate(d,m,D,V,Q,vt=[],zt){return new Ho.sf(D,V)}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})();class Fd{static{this.NOOP=new Pd}}class ad{}const Hp=1e3,Bu="ng-enter",Bd="ng-leave",Rr="ng-trigger",Dn=".ng-trigger",Uu="ng-animating",Ud=".ng-animating";function Wn(b){if("number"==typeof b)return b;const p=b.match(/^(-?[\.\d]+)(m?s)/);return!p||p.length<2?0:$d(parseFloat(p[1]),p[2])}function $d(b,p){return"s"===p?b*Hp:b}function jc(b,p,d){return b.hasOwnProperty("duration")?b:function Js(b,p,d){let D,V=0,Q="";if("string"==typeof b){const vt=b.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===vt)return p.push(N()),{duration:0,delay:0,easing:""};D=$d(parseFloat(vt[1]),vt[2]);const zt=vt[3];null!=zt&&(V=$d(parseFloat(zt),vt[4]));const we=vt[5];we&&(Q=we)}else D=b;if(!d){let vt=!1,zt=p.length;D<0&&(p.push(function z(){return new c.wOt(3100,!1)}()),vt=!0),V<0&&(p.push(function P(){return new c.wOt(3101,!1)}()),vt=!0),vt&&p.splice(zt,0,N())}return{duration:D,delay:V,easing:Q}}(b,p,d)}function tc(b,p,d){p.forEach((m,D)=>{const V=Hd(D);d&&!d.has(D)&&d.set(D,b.style[V]),b.style[V]=m})}function Tl(b,p){p.forEach((d,m)=>{const D=Hd(m);b.style[D]=""})}function Vd(b){return Array.isArray(b)?1==b.length?b[0]:(0,Ho.K2)(b):b}const zd=new RegExp("{{\\s*(.+?)\\s*}}","g");function ju(b){let p=[];if("string"==typeof b){let d;for(;d=zd.exec(b);)p.push(d[1]);zd.lastIndex=0}return p}function ga(b,p,d){const m=`${b}`,D=m.replace(zd,(V,Q)=>{let vt=p[Q];return null==vt&&(d.push(function wt(){return new c.wOt(3003,!1)}()),vt=""),vt.toString()});return D==m?b:D}const Ac=/-+([a-z0-9])/g;function Hd(b){return b.replace(Ac,(...p)=>p[1].toUpperCase())}function ks(b,p,d){switch(p.type){case Ho.If.Trigger:return b.visitTrigger(p,d);case Ho.If.State:return b.visitState(p,d);case Ho.If.Transition:return b.visitTransition(p,d);case Ho.If.Sequence:return b.visitSequence(p,d);case Ho.If.Group:return b.visitGroup(p,d);case Ho.If.Animate:return b.visitAnimate(p,d);case Ho.If.Keyframes:return b.visitKeyframes(p,d);case Ho.If.Style:return b.visitStyle(p,d);case Ho.If.Reference:return b.visitReference(p,d);case Ho.If.AnimateChild:return b.visitAnimateChild(p,d);case Ho.If.AnimateRef:return b.visitAnimateRef(p,d);case Ho.If.Query:return b.visitQuery(p,d);case Ho.If.Stagger:return b.visitStagger(p,d);default:throw function Kt(){return new c.wOt(3004,!1)}()}}function Vu(b,p){return window.getComputedStyle(b)[p]}const Gp=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class sd extends ad{normalizePropertyName(p,d){return Hd(p)}normalizeStyleValue(p,d,m,D){let V="";const Q=m.toString().trim();if(Gp.has(d)&&0!==m&&"0"!==m)if("number"==typeof m)V="px";else{const vt=m.match(/^[+-]?[\d\.]+([a-z]*)$/);vt&&0==vt[1].length&&D.push(function Te(){return new c.wOt(3005,!1)}())}return Q+V}}const ld="*";const Ml=new Set(["true","1"]),Wd=new Set(["false","0"]);function wa(b,p){const d=Ml.has(b)||Wd.has(b),m=Ml.has(p)||Wd.has(p);return(D,V)=>{let Q=b==ld||b==D,vt=p==ld||p==V;return!Q&&d&&"boolean"==typeof D&&(Q=D?Ml.has(b):Wd.has(b)),!vt&&m&&"boolean"==typeof V&&(vt=V?Ml.has(p):Wd.has(p)),Q&&vt}}const Ri=new RegExp("s*:selfs*,?","g");function Kd(b,p,d,m){return new eh(b).build(p,d,m)}class eh{constructor(p){this._driver=p}build(p,d,m){const D=new oh(d);return this._resetContextStyleTimingState(D),ks(this,Vd(p),D)}_resetContextStyleTimingState(p){p.currentQuerySelector="",p.collectedStyles=new Map,p.collectedStyles.set("",new Map),p.currentTime=0}visitTrigger(p,d){let m=d.queryCount=0,D=d.depCount=0;const V=[],Q=[];return"@"==p.name.charAt(0)&&d.errors.push(function Sr(){return new c.wOt(3006,!1)}()),p.definitions.forEach(vt=>{if(this._resetContextStyleTimingState(d),vt.type==Ho.If.State){const zt=vt,we=zt.name;we.toString().split(/\s*,\s*/).forEach(lr=>{zt.name=lr,V.push(this.visitState(zt,d))}),zt.name=we}else if(vt.type==Ho.If.Transition){const zt=this.visitTransition(vt,d);m+=zt.queryCount,D+=zt.depCount,Q.push(zt)}else d.errors.push(function pr(){return new c.wOt(3007,!1)}())}),{type:Ho.If.Trigger,name:p.name,states:V,transitions:Q,queryCount:m,depCount:D,options:null}}visitState(p,d){const m=this.visitStyle(p.styles,d),D=p.options&&p.options.params||null;if(m.containsDynamicStyles){const V=new Set,Q=D||{};m.styles.forEach(vt=>{vt instanceof Map&&vt.forEach(zt=>{ju(zt).forEach(we=>{Q.hasOwnProperty(we)||V.add(we)})})}),V.size&&d.errors.push(function wo(){return new c.wOt(3008,!1)}(0,V.values()))}return{type:Ho.If.State,name:p.name,style:m,options:D?{params:D}:null}}visitTransition(p,d){d.queryCount=0,d.depCount=0;const m=ks(this,Vd(p.animation),d),D=function Qp(b,p){const d=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(m=>function qp(b,p,d){if(":"==b[0]){const zt=function Jp(b,p){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,m)=>parseFloat(m)>parseFloat(d);case":decrement":return(d,m)=>parseFloat(m) *"}}(b,d);if("function"==typeof zt)return void p.push(zt);b=zt}const m=b.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==m||m.length<4)return d.push(function Wa(){return new c.wOt(3015,!1)}()),p;const D=m[1],V=m[2],Q=m[3];p.push(wa(D,Q)),"<"==V[0]&&(D!=ld||Q!=ld)&&p.push(wa(Q,D))}(m,d,p)):d.push(b),d}(p.expr,d.errors);return{type:Ho.If.Transition,matchers:D,animation:m,queryCount:d.queryCount,depCount:d.depCount,options:cl(p.options)}}visitSequence(p,d){return{type:Ho.If.Sequence,steps:p.steps.map(m=>ks(this,m,d)),options:cl(p.options)}}visitGroup(p,d){const m=d.currentTime;let D=0;const V=p.steps.map(Q=>{d.currentTime=m;const vt=ks(this,Q,d);return D=Math.max(D,d.currentTime),vt});return d.currentTime=D,{type:Ho.If.Group,steps:V,options:cl(p.options)}}visitAnimate(p,d){const m=function pc(b,p){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return Il(jc(b,p).duration,0,"");const d=b;if(d.split(/\s+/).some(V=>"{"==V.charAt(0)&&"{"==V.charAt(1))){const V=Il(0,0,"");return V.dynamic=!0,V.strValue=d,V}const D=jc(d,p);return Il(D.duration,D.delay,D.easing)}(p.timings,d.errors);d.currentAnimateTimings=m;let D,V=p.styles?p.styles:(0,Ho.iF)({});if(V.type==Ho.If.Keyframes)D=this.visitKeyframes(V,d);else{let Q=p.styles,vt=!1;if(!Q){vt=!0;const we={};m.easing&&(we.easing=m.easing),Q=(0,Ho.iF)(we)}d.currentTime+=m.duration+m.delay;const zt=this.visitStyle(Q,d);zt.isEmptyStep=vt,D=zt}return d.currentAnimateTimings=null,{type:Ho.If.Animate,timings:m,style:D,options:null}}visitStyle(p,d){const m=this._makeStyleAst(p,d);return this._validateStyleAst(m,d),m}_makeStyleAst(p,d){const m=[],D=Array.isArray(p.styles)?p.styles:[p.styles];for(let vt of D)"string"==typeof vt?vt===Ho.kp?m.push(vt):d.errors.push(new c.wOt(3002,!1)):m.push(new Map(Object.entries(vt)));let V=!1,Q=null;return m.forEach(vt=>{if(vt instanceof Map&&(vt.has("easing")&&(Q=vt.get("easing"),vt.delete("easing")),!V))for(let zt of vt.values())if(zt.toString().indexOf("{{")>=0){V=!0;break}}),{type:Ho.If.Style,styles:m,easing:Q,offset:p.offset,containsDynamicStyles:V,options:null}}_validateStyleAst(p,d){const m=d.currentAnimateTimings;let D=d.currentTime,V=d.currentTime;m&&V>0&&(V-=m.duration+m.delay),p.styles.forEach(Q=>{"string"!=typeof Q&&Q.forEach((vt,zt)=>{const we=d.collectedStyles.get(d.currentQuerySelector),lr=we.get(zt);let wr=!0;lr&&(V!=D&&V>=lr.startTime&&D<=lr.endTime&&(d.errors.push(function bn(){return new c.wOt(3010,!1)}()),wr=!1),V=lr.startTime),wr&&we.set(zt,{startTime:V,endTime:D}),d.options&&function Kp(b,p,d){const m=p.params||{},D=ju(b);D.length&&D.forEach(V=>{m.hasOwnProperty(V)||d.push(function K(){return new c.wOt(3001,!1)}())})}(vt,d.options,d.errors)})})}visitKeyframes(p,d){const m={type:Ho.If.Keyframes,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push(function Da(){return new c.wOt(3011,!1)}()),m;let V=0;const Q=[];let vt=!1,zt=!1,we=0;const lr=p.steps.map(si=>{const Zi=this._makeStyleAst(si,d);let Za=null!=Zi.offset?Zi.offset:function dd(b){if("string"==typeof b)return null;let p=null;if(Array.isArray(b))b.forEach(d=>{if(d instanceof Map&&d.has("offset")){const m=d;p=parseFloat(m.get("offset")),m.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const d=b;p=parseFloat(d.get("offset")),d.delete("offset")}return p}(Zi.styles),Ia=0;return null!=Za&&(V++,Ia=Zi.offset=Za),zt=zt||Ia<0||Ia>1,vt=vt||Ia0&&V{const Za=bo>0?Zi==zr?1:bo*Zi:Q[Zi],Ia=Za*pn;d.currentTime=ho+on.delay+Ia,on.duration=Ia,this._validateStyleAst(si,d),si.offset=Za,m.styles.push(si)}),m}visitReference(p,d){return{type:Ho.If.Reference,animation:ks(this,Vd(p.animation),d),options:cl(p.options)}}visitAnimateChild(p,d){return d.depCount++,{type:Ho.If.AnimateChild,options:cl(p.options)}}visitAnimateRef(p,d){return{type:Ho.If.AnimateRef,animation:this.visitReference(p.animation,d),options:cl(p.options)}}visitQuery(p,d){const m=d.currentQuerySelector,D=p.options||{};d.queryCount++,d.currentQuery=p;const[V,Q]=function Kg(b){const p=!!b.split(/\s*,\s*/).find(d=>":self"==d);return p&&(b=b.replace(Ri,"")),b=b.replace(/@\*/g,Dn).replace(/@\w+/g,d=>Dn+"-"+d.slice(1)).replace(/:animating/g,Ud),[b,p]}(p.selector);d.currentQuerySelector=m.length?m+" "+V:V,_s(d.collectedStyles,d.currentQuerySelector,new Map);const vt=ks(this,Vd(p.animation),d);return d.currentQuery=null,d.currentQuerySelector=m,{type:Ho.If.Query,selector:V,limit:D.limit||0,optional:!!D.optional,includeSelf:Q,animation:vt,originalSelector:p.selector,options:cl(p.options)}}visitStagger(p,d){d.currentQuery||d.errors.push(function $c(){return new c.wOt(3013,!1)}());const m="full"===p.timings?{duration:0,delay:0,easing:"full"}:jc(p.timings,d.errors,!0);return{type:Ho.If.Stagger,animation:ks(this,Vd(p.animation),d),timings:m,options:null}}}class oh{constructor(p){this.errors=p,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function cl(b){return b?(b={...b}).params&&(b.params=function rh(b){return b?{...b}:null}(b.params)):b={},b}function Il(b,p,d){return{duration:b,delay:p,easing:d}}function Ol(b,p,d,m,D,V,Q=null,vt=!1){return{type:1,element:b,keyframes:p,preStyleProps:d,postStyleProps:m,duration:D,delay:V,totalTime:D+V,easing:Q,subTimeline:vt}}class ll{constructor(){this._map=new Map}get(p){return this._map.get(p)||[]}append(p,d){let m=this._map.get(p);m||this._map.set(p,m=[]),m.push(...d)}has(p){return this._map.has(p)}clear(){this._map.clear()}}const ih=new RegExp(":enter","g"),ud=new RegExp(":leave","g");function dl(b,p,d,m,D,V=new Map,Q=new Map,vt,zt,we=[]){return(new Gd).buildKeyframes(b,p,d,m,D,V,Q,vt,zt,we)}class Gd{buildKeyframes(p,d,m,D,V,Q,vt,zt,we,lr=[]){we=we||new ll;const wr=new pd(p,d,we,D,V,lr,[]);wr.options=zt;const bo=zt.delay?Wn(zt.delay):0;wr.currentTimeline.delayNextStep(bo),wr.currentTimeline.setStyles([Q],null,wr.errors,zt),ks(this,m,wr);const zr=wr.timelines.filter(ho=>ho.containsAnimation());if(zr.length&&vt.size){let ho;for(let on=zr.length-1;on>=0;on--){const pn=zr[on];if(pn.element===d){ho=pn;break}}ho&&!ho.allowOnlyTimelineStyles()&&ho.setStyles([vt],null,wr.errors,zt)}return zr.length?zr.map(ho=>ho.buildKeyframes()):[Ol(d,[],[],[],0,bo,"",!1)]}visitTrigger(p,d){}visitState(p,d){}visitTransition(p,d){}visitAnimateChild(p,d){const m=d.subInstructions.get(d.element);if(m){const D=d.createSubContext(p.options),V=d.currentTimeline.currentTime,Q=this._visitSubInstructions(m,D,D.options);V!=Q&&d.transformIntoNewTimeline(Q)}d.previousNode=p}visitAnimateRef(p,d){const m=d.createSubContext(p.options);m.transformIntoNewTimeline(),this._applyAnimationRefDelays([p.options,p.animation.options],d,m),this.visitReference(p.animation,m),d.transformIntoNewTimeline(m.currentTimeline.currentTime),d.previousNode=p}_applyAnimationRefDelays(p,d,m){for(const D of p){const V=D?.delay;if(V){const Q="number"==typeof V?V:Wn(ga(V,D?.params??{},d.errors));m.delayNextStep(Q)}}}_visitSubInstructions(p,d,m){let V=d.currentTimeline.currentTime;const Q=null!=m.duration?Wn(m.duration):null,vt=null!=m.delay?Wn(m.delay):null;return 0!==Q&&p.forEach(zt=>{const we=d.appendInstructionToTimeline(zt,Q,vt);V=Math.max(V,we.duration+we.delay)}),V}visitReference(p,d){d.updateOptions(p.options,!0),ks(this,p.animation,d),d.previousNode=p}visitSequence(p,d){const m=d.subContextCount;let D=d;const V=p.options;if(V&&(V.params||V.delay)&&(D=d.createSubContext(V),D.transformIntoNewTimeline(),null!=V.delay)){D.previousNode.type==Ho.If.Style&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=ul);const Q=Wn(V.delay);D.delayNextStep(Q)}p.steps.length&&(p.steps.forEach(Q=>ks(this,Q,D)),D.currentTimeline.applyStylesToKeyframe(),D.subContextCount>m&&D.transformIntoNewTimeline()),d.previousNode=p}visitGroup(p,d){const m=[];let D=d.currentTimeline.currentTime;const V=p.options&&p.options.delay?Wn(p.options.delay):0;p.steps.forEach(Q=>{const vt=d.createSubContext(p.options);V&&vt.delayNextStep(V),ks(this,Q,vt),D=Math.max(D,vt.currentTimeline.currentTime),m.push(vt.currentTimeline)}),m.forEach(Q=>d.currentTimeline.mergeTimelineCollectedStyles(Q)),d.transformIntoNewTimeline(D),d.previousNode=p}_visitTiming(p,d){if(p.dynamic){const m=p.strValue;return jc(d.params?ga(m,d.params,d.errors):m,d.errors)}return{duration:p.duration,delay:p.delay,easing:p.easing}}visitAnimate(p,d){const m=d.currentAnimateTimings=this._visitTiming(p.timings,d),D=d.currentTimeline;m.delay&&(d.incrementTime(m.delay),D.snapshotCurrentStyles());const V=p.style;V.type==Ho.If.Keyframes?this.visitKeyframes(V,d):(d.incrementTime(m.duration),this.visitStyle(V,d),D.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=p}visitStyle(p,d){const m=d.currentTimeline,D=d.currentAnimateTimings;!D&&m.hasCurrentStyleProperties()&&m.forwardFrame();const V=D&&D.easing||p.easing;p.isEmptyStep?m.applyEmptyStep(V):m.setStyles(p.styles,V,d.errors,d.options),d.previousNode=p}visitKeyframes(p,d){const m=d.currentAnimateTimings,D=d.currentTimeline.duration,V=m.duration,vt=d.createSubContext().currentTimeline;vt.easing=m.easing,p.styles.forEach(zt=>{vt.forwardTime((zt.offset||0)*V),vt.setStyles(zt.styles,zt.easing,d.errors,d.options),vt.applyStylesToKeyframe()}),d.currentTimeline.mergeTimelineCollectedStyles(vt),d.transformIntoNewTimeline(D+V),d.previousNode=p}visitQuery(p,d){const m=d.currentTimeline.currentTime,D=p.options||{},V=D.delay?Wn(D.delay):0;V&&(d.previousNode.type===Ho.If.Style||0==m&&d.currentTimeline.hasCurrentStyleProperties())&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=ul);let Q=m;const vt=d.invokeQuery(p.selector,p.originalSelector,p.limit,p.includeSelf,!!D.optional,d.errors);d.currentQueryTotal=vt.length;let zt=null;vt.forEach((we,lr)=>{d.currentQueryIndex=lr;const wr=d.createSubContext(p.options,we);V&&wr.delayNextStep(V),we===d.element&&(zt=wr.currentTimeline),ks(this,p.animation,wr),wr.currentTimeline.applyStylesToKeyframe(),Q=Math.max(Q,wr.currentTimeline.currentTime)}),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline(Q),zt&&(d.currentTimeline.mergeTimelineCollectedStyles(zt),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=p}visitStagger(p,d){const m=d.parentContext,D=d.currentTimeline,V=p.timings,Q=Math.abs(V.duration),vt=Q*(d.currentQueryTotal-1);let zt=Q*d.currentQueryIndex;switch(V.duration<0?"reverse":V.easing){case"reverse":zt=vt-zt;break;case"full":zt=m.currentStaggerTime}const lr=d.currentTimeline;zt&&lr.delayNextStep(zt);const wr=lr.currentTime;ks(this,p.animation,d),d.previousNode=p,m.currentStaggerTime=D.currentTime-wr+(D.startTime-m.currentTimeline.startTime)}}const ul={};class pd{constructor(p,d,m,D,V,Q,vt,zt){this._driver=p,this.element=d,this.subInstructions=m,this._enterClassName=D,this._leaveClassName=V,this.errors=Q,this.timelines=vt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ul,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=zt||new Xd(this._driver,d,0),vt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(p,d){if(!p)return;const m=p;let D=this.options;null!=m.duration&&(D.duration=Wn(m.duration)),null!=m.delay&&(D.delay=Wn(m.delay));const V=m.params;if(V){let Q=D.params;Q||(Q=this.options.params={}),Object.keys(V).forEach(vt=>{(!d||!Q.hasOwnProperty(vt))&&(Q[vt]=ga(V[vt],Q,this.errors))})}}_copyOptions(){const p={};if(this.options){const d=this.options.params;if(d){const m=p.params={};Object.keys(d).forEach(D=>{m[D]=d[D]})}}return p}createSubContext(p=null,d,m){const D=d||this.element,V=new pd(this._driver,D,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(D,m||0));return V.previousNode=this.previousNode,V.currentAnimateTimings=this.currentAnimateTimings,V.options=this._copyOptions(),V.updateOptions(p),V.currentQueryIndex=this.currentQueryIndex,V.currentQueryTotal=this.currentQueryTotal,V.parentContext=this,this.subContextCount++,V}transformIntoNewTimeline(p){return this.previousNode=ul,this.currentTimeline=this.currentTimeline.fork(this.element,p),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(p,d,m){const D={duration:d??p.duration,delay:this.currentTimeline.currentTime+(m??0)+p.delay,easing:""},V=new Gg(this._driver,p.element,p.keyframes,p.preStyleProps,p.postStyleProps,D,p.stretchStartingKeyframe);return this.timelines.push(V),D}incrementTime(p){this.currentTimeline.forwardTime(this.currentTimeline.duration+p)}delayNextStep(p){p>0&&this.currentTimeline.delayNextStep(p)}invokeQuery(p,d,m,D,V,Q){let vt=[];if(D&&vt.push(this.element),p.length>0){p=(p=p.replace(ih,"."+this._enterClassName)).replace(ud,"."+this._leaveClassName);let we=this._driver.query(this.element,p,1!=m);0!==m&&(we=m<0?we.slice(we.length+m,we.length):we.slice(0,m)),vt.push(...we)}return!V&&0==vt.length&&Q.push(function Xs(){return new c.wOt(3014,!1)}()),vt}}class Xd{constructor(p,d,m,D){this._driver=p,this.element=d,this.startTime=m,this._elementTimelineStylesLookup=D,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(d),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(d,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(p){const d=1===this._keyframes.size&&this._pendingStyles.size;this.duration||d?(this.forwardTime(this.currentTime+p),d&&this.snapshotCurrentStyles()):this.startTime+=p}fork(p,d){return this.applyStylesToKeyframe(),new Xd(this._driver,p,d||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(p){this.applyStylesToKeyframe(),this.duration=p,this._loadKeyframe()}_updateStyle(p,d){this._localTimelineStyles.set(p,d),this._globalTimelineStyles.set(p,d),this._styleSummary.set(p,{time:this.currentTime,value:d})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(p){p&&this._previousKeyframe.set("easing",p);for(let[d,m]of this._globalTimelineStyles)this._backFill.set(d,m||Ho.kp),this._currentKeyframe.set(d,Ho.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(p,d,m,D){d&&this._previousKeyframe.set("easing",d);const V=D&&D.params||{},Q=function Cm(b,p){const d=new Map;let m;return b.forEach(D=>{if("*"===D){m??=p.keys();for(let V of m)d.set(V,Ho.kp)}else for(let[V,Q]of D)d.set(V,Q)}),d}(p,this._globalTimelineStyles);for(let[vt,zt]of Q){const we=ga(zt,V,m);this._pendingStyles.set(vt,we),this._localTimelineStyles.has(vt)||this._backFill.set(vt,this._globalTimelineStyles.get(vt)??Ho.kp),this._updateStyle(vt,we)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((p,d)=>{this._currentKeyframe.set(d,p)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((p,d)=>{this._currentKeyframe.has(d)||this._currentKeyframe.set(d,p)}))}snapshotCurrentStyles(){for(let[p,d]of this._localTimelineStyles)this._pendingStyles.set(p,d),this._updateStyle(p,d)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const p=[];for(let d in this._currentKeyframe)p.push(d);return p}mergeTimelineCollectedStyles(p){p._styleSummary.forEach((d,m)=>{const D=this._styleSummary.get(m);(!D||d.time>D.time)&&this._updateStyle(m,d.value)})}buildKeyframes(){this.applyStylesToKeyframe();const p=new Set,d=new Set,m=1===this._keyframes.size&&0===this.duration;let D=[];this._keyframes.forEach((vt,zt)=>{const we=new Map([...this._backFill,...vt]);we.forEach((lr,wr)=>{lr===Ho.FX?p.add(wr):lr===Ho.kp&&d.add(wr)}),m||we.set("offset",zt/this.duration),D.push(we)});const V=[...p.values()],Q=[...d.values()];if(m){const vt=D[0],zt=new Map(vt);vt.set("offset",0),zt.set("offset",1),D=[vt,zt]}return Ol(this.element,D,V,Q,this.duration,this.startTime,this.easing,!1)}}class Gg extends Xd{constructor(p,d,m,D,V,Q,vt=!1){super(p,d,Q.delay),this.keyframes=m,this.preStyleProps=D,this.postStyleProps=V,this._stretchStartingKeyframe=vt,this.timings={duration:Q.duration,delay:Q.delay,easing:Q.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let p=this.keyframes,{delay:d,duration:m,easing:D}=this.timings;if(this._stretchStartingKeyframe&&d){const V=[],Q=m+d,vt=d/Q,zt=new Map(p[0]);zt.set("offset",0),V.push(zt);const we=new Map(p[0]);we.set("offset",ah(vt)),V.push(we);const lr=p.length-1;for(let wr=1;wr<=lr;wr++){let bo=new Map(p[wr]);const zr=bo.get("offset");bo.set("offset",ah((d+zr*m)/Q)),V.push(bo)}m=Q,d=0,D="",p=V}return Ol(this.element,p,this.preStyleProps,this.postStyleProps,m,d,D,!0)}}function ah(b,p=3){const d=Math.pow(10,p-1);return Math.round(b*d)/d}function sh(b,p,d,m,D,V,Q,vt,zt,we,lr,wr,bo){return{type:0,element:b,triggerName:p,isRemovalTransition:D,fromState:d,fromStyles:V,toState:m,toStyles:Q,timelines:vt,queriedElements:zt,preStyleProps:we,postStyleProps:lr,totalTime:wr,errors:bo}}const hd={};class hc{constructor(p,d,m){this._triggerName=p,this.ast=d,this._stateStyles=m}match(p,d,m,D){return function pl(b,p,d,m,D){return b.some(V=>V(p,d,m,D))}(this.ast.matchers,p,d,m,D)}buildStyles(p,d,m){let D=this._stateStyles.get("*");return void 0!==p&&(D=this._stateStyles.get(p?.toString())||D),D?D.buildStyles(d,m):new Map}build(p,d,m,D,V,Q,vt,zt,we,lr){const wr=[],bo=this.ast.options&&this.ast.options.params||hd,ho=this.buildStyles(m,vt&&vt.params||hd,wr),on=zt&&zt.params||hd,pn=this.buildStyles(D,on,wr),si=new Set,Zi=new Map,Za=new Map,Ia="void"===D,ic={params:lh(on,bo),delay:this.ast.options?.delay},wc=lr?[]:dl(p,d,this.ast.animation,V,Q,ho,pn,ic,we,wr);let ss=0;return wc.forEach(Es=>{ss=Math.max(Es.duration+Es.delay,ss)}),wr.length?sh(d,this._triggerName,m,D,Ia,ho,pn,[],[],Zi,Za,ss,wr):(wc.forEach(Es=>{const Cs=Es.element,ac=_s(Zi,Cs,new Set);Es.preStyleProps.forEach(ql=>ac.add(ql));const Dp=_s(Za,Cs,new Set);Es.postStyleProps.forEach(ql=>Dp.add(ql)),Cs!==d&&si.add(Cs)}),sh(d,this._triggerName,m,D,Ia,ho,pn,wc,[...si.values()],Zi,Za,ss))}}function lh(b,p){const d={...p};return Object.entries(b).forEach(([m,D])=>{null!=D&&(d[m]=D)}),d}class Rl{constructor(p,d,m){this.styles=p,this.defaultParams=d,this.normalizer=m}buildStyles(p,d){const m=new Map,D=lh(p,this.defaultParams);return this.styles.styles.forEach(V=>{"string"!=typeof V&&V.forEach((Q,vt)=>{Q&&(Q=ga(Q,D,d));const zt=this.normalizer.normalizePropertyName(vt,d);Q=this.normalizer.normalizeStyleValue(vt,zt,Q,d),m.set(vt,Q)})}),m}}class Hu{constructor(p,d,m){this.name=p,this.ast=d,this._normalizer=m,this.transitionFactories=[],this.states=new Map,d.states.forEach(D=>{this.states.set(D.name,new Rl(D.style,D.options&&D.options.params||{},m))}),Yg(this.states,"true","1"),Yg(this.states,"false","0"),d.transitions.forEach(D=>{this.transitionFactories.push(new hc(p,D,this.states))}),this.fallbackTransition=function gd(b,p){return new hc(b,{type:Ho.If.Transition,animation:{type:Ho.If.Sequence,steps:[],options:null},matchers:[(Q,vt)=>!0],options:null,queryCount:0,depCount:0},p)}(p,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(p,d,m,D){return this.transitionFactories.find(Q=>Q.match(p,d,m,D))||null}matchStyles(p,d,m){return this.fallbackTransition.buildStyles(p,d,m)}}function Yg(b,p,d){b.has(p)?b.has(d)||b.set(d,b.get(p)):b.has(d)&&b.set(p,b.get(d))}const Wu=new ll;class dh{constructor(p,d,m){this.bodyNode=p,this._driver=d,this._normalizer=m,this._animations=new Map,this._playersById=new Map,this.players=[]}register(p,d){const m=[],V=Kd(this._driver,d,m,[]);if(m.length)throw function Ys(){return new c.wOt(3503,!1)}();this._animations.set(p,V)}_buildPlayer(p,d,m){const D=p.element,V=Md(this._normalizer,p.keyframes,d,m);return this._driver.animate(D,V,p.duration,p.delay,p.easing,[],!0)}create(p,d,m={}){const D=[],V=this._animations.get(p);let Q;const vt=new Map;if(V?(Q=dl(this._driver,d,V,Bu,Bd,new Map,new Map,m,Wu,D),Q.forEach(lr=>{const wr=_s(vt,lr.element,new Map);lr.postStyleProps.forEach(bo=>wr.set(bo,null))})):(D.push(function jp(){return new c.wOt(3300,!1)}()),Q=[]),D.length)throw function Vp(){return new c.wOt(3504,!1)}();vt.forEach((lr,wr)=>{lr.forEach((bo,zr)=>{lr.set(zr,this._driver.computeStyle(wr,zr,Ho.kp))})});const we=Qs(Q.map(lr=>{const wr=vt.get(lr.element);return this._buildPlayer(lr,new Map,wr)}));return this._playersById.set(p,we),we.onDestroy(()=>this.destroy(p)),this.players.push(we),we}destroy(p){const d=this._getPlayer(p);d.destroy(),this._playersById.delete(p);const m=this.players.indexOf(d);m>=0&&this.players.splice(m,1)}_getPlayer(p){const d=this._playersById.get(p);if(!d)throw function Hn(){return new c.wOt(3301,!1)}();return d}listen(p,d,m,D){const V=Rd(d,"","","");return xs(this._getPlayer(p),m,V,D),()=>{}}command(p,d,m,D){if("register"==m)return void this.register(p,D[0]);if("create"==m)return void this.create(p,d,D[0]||{});const V=this._getPlayer(p);switch(m){case"play":V.play();break;case"pause":V.pause();break;case"reset":V.reset();break;case"restart":V.restart();break;case"finish":V.finish();break;case"init":V.init();break;case"setPosition":V.setPosition(parseFloat(D[0]));break;case"destroy":this.destroy(p)}}}const Yd="ng-animate-queued",Ku="ng-animate-disabled",Zd=[],Qd={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qd={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},es="__ng_removed";class Jd{get params(){return this.options.params}constructor(p,d=""){this.namespaceId=d;const m=p&&p.hasOwnProperty("value");if(this.value=function Xu(b){return b??null}(m?p.value:p),m){const{value:V,...Q}=p;this.options=Q}else this.options={};this.options.params||(this.options.params={})}absorbOptions(p){const d=p.params;if(d){const m=this.options.params;Object.keys(d).forEach(D=>{null==m[D]&&(m[D]=d[D])})}}}const Nl="void",tu=new Jd(Nl);class Gu{constructor(p,d,m){this.id=p,this.hostElement=d,this._engine=m,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+p,rs(d,this._hostClassName)}listen(p,d,m,D){if(!this._triggers.has(d))throw function Cl(){return new c.wOt(3302,!1)}();if(null==m||0==m.length)throw function Dl(){return new c.wOt(3303,!1)}();if(!function Ll(b){return"start"==b||"done"==b}(m))throw function Aa(){return new c.wOt(3400,!1)}();const V=_s(this._elementListeners,p,[]),Q={name:d,phase:m,callback:D};V.push(Q);const vt=_s(this._engine.statesByElement,p,new Map);return vt.has(d)||(rs(p,Rr),rs(p,Rr+"-"+d),vt.set(d,tu)),()=>{this._engine.afterFlush(()=>{const zt=V.indexOf(Q);zt>=0&&V.splice(zt,1),this._triggers.has(d)||vt.delete(d)})}}register(p,d){return!this._triggers.has(p)&&(this._triggers.set(p,d),!0)}_getTrigger(p){const d=this._triggers.get(p);if(!d)throw function Zs(){return new c.wOt(3401,!1)}();return d}trigger(p,d,m,D=!0){const V=this._getTrigger(d),Q=new Hc(this.id,d,p);let vt=this._engine.statesByElement.get(p);vt||(rs(p,Rr),rs(p,Rr+"-"+d),this._engine.statesByElement.set(p,vt=new Map));let zt=vt.get(d);const we=new Jd(m,this.id);if(!(m&&m.hasOwnProperty("value"))&&zt&&we.absorbOptions(zt.options),vt.set(d,we),zt||(zt=tu),we.value!==Nl&&zt.value===we.value){if(!function Yu(b,p){const d=Object.keys(b),m=Object.keys(p);if(d.length!=m.length)return!1;for(let D=0;D{Tl(p,pn),tc(p,si)})}return}const bo=_s(this._engine.playersByElement,p,[]);bo.forEach(on=>{on.namespaceId==this.id&&on.triggerName==d&&on.queued&&on.destroy()});let zr=V.matchTransition(zt.value,we.value,p,we.params),ho=!1;if(!zr){if(!D)return;zr=V.fallbackTransition,ho=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:d,transition:zr,fromState:zt,toState:we,player:Q,isFallbackTransition:ho}),ho||(rs(p,Yd),Q.onStart(()=>{Wc(p,Yd)})),Q.onDone(()=>{let on=this.players.indexOf(Q);on>=0&&this.players.splice(on,1);const pn=this._engine.playersByElement.get(p);if(pn){let si=pn.indexOf(Q);si>=0&&pn.splice(si,1)}}),this.players.push(Q),bo.push(Q),Q}deregister(p){this._triggers.delete(p),this._engine.statesByElement.forEach(d=>d.delete(p)),this._elementListeners.forEach((d,m)=>{this._elementListeners.set(m,d.filter(D=>D.name!=p))})}clearElementCache(p){this._engine.statesByElement.delete(p),this._elementListeners.delete(p);const d=this._engine.playersByElement.get(p);d&&(d.forEach(m=>m.destroy()),this._engine.playersByElement.delete(p))}_signalRemovalForInnerTriggers(p,d){const m=this._engine.driver.query(p,Dn,!0);m.forEach(D=>{if(D[es])return;const V=this._engine.fetchNamespacesByElement(D);V.size?V.forEach(Q=>Q.triggerLeaveAnimation(D,d,!1,!0)):this.clearElementCache(D)}),this._engine.afterFlushAnimationsDone(()=>m.forEach(D=>this.clearElementCache(D)))}triggerLeaveAnimation(p,d,m,D){const V=this._engine.statesByElement.get(p),Q=new Map;if(V){const vt=[];if(V.forEach((zt,we)=>{if(Q.set(we,zt.value),this._triggers.has(we)){const lr=this.trigger(p,we,Nl,D);lr&&vt.push(lr)}}),vt.length)return this._engine.markElementAsRemoved(this.id,p,!0,d,Q),m&&Qs(vt).onDone(()=>this._engine.processLeaveNode(p)),!0}return!1}prepareLeaveAnimationListeners(p){const d=this._elementListeners.get(p),m=this._engine.statesByElement.get(p);if(d&&m){const D=new Set;d.forEach(V=>{const Q=V.name;if(D.has(Q))return;D.add(Q);const zt=this._triggers.get(Q).fallbackTransition,we=m.get(Q)||tu,lr=new Jd(Nl),wr=new Hc(this.id,Q,p);this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:Q,transition:zt,fromState:we,toState:lr,player:wr,isFallbackTransition:!0})})}}removeNode(p,d){const m=this._engine;if(p.childElementCount&&this._signalRemovalForInnerTriggers(p,d),this.triggerLeaveAnimation(p,d,!0))return;let D=!1;if(m.totalAnimations){const V=m.players.length?m.playersByQueriedElement.get(p):[];if(V&&V.length)D=!0;else{let Q=p;for(;Q=Q.parentNode;)if(m.statesByElement.get(Q)){D=!0;break}}}if(this.prepareLeaveAnimationListeners(p),D)m.markElementAsRemoved(this.id,p,!1,d);else{const V=p[es];(!V||V===Qd)&&(m.afterFlush(()=>this.clearElementCache(p)),m.destroyInnerAnimations(p),m._onRemovalComplete(p,d))}}insertNode(p,d){rs(p,this._hostClassName)}drainQueuedTransitions(p){const d=[];return this._queue.forEach(m=>{const D=m.player;if(D.destroyed)return;const V=m.element,Q=this._elementListeners.get(V);Q&&Q.forEach(vt=>{if(vt.name==m.triggerName){const zt=Rd(V,m.triggerName,m.fromState.value,m.toState.value);zt._data=p,xs(m.player,vt.phase,zt,vt.callback)}}),D.markedForDestroy?this._engine.afterFlush(()=>{D.destroy()}):d.push(m)}),this._queue=[],d.sort((m,D)=>{const V=m.transition.ast.depCount,Q=D.transition.ast.depCount;return 0==V||0==Q?V-Q:this._engine.driver.containsElement(m.element,D.element)?1:-1})}destroy(p){this.players.forEach(d=>d.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,p)}}class eu{_onRemovalComplete(p,d){this.onRemovalComplete(p,d)}constructor(p,d,m){this.bodyNode=p,this.driver=d,this._normalizer=m,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(D,V)=>{}}get queuedPlayers(){const p=[];return this._namespaceList.forEach(d=>{d.players.forEach(m=>{m.queued&&p.push(m)})}),p}createNamespace(p,d){const m=new Gu(p,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(m,d):(this.newHostElements.set(d,m),this.collectEnterElement(d)),this._namespaceLookup[p]=m}_balanceNamespaceList(p,d){const m=this._namespaceList,D=this.namespacesByHostElement;if(m.length-1>=0){let Q=!1,vt=this.driver.getParentElement(d);for(;vt;){const zt=D.get(vt);if(zt){const we=m.indexOf(zt);m.splice(we+1,0,p),Q=!0;break}vt=this.driver.getParentElement(vt)}Q||m.unshift(p)}else m.push(p);return D.set(d,p),p}register(p,d){let m=this._namespaceLookup[p];return m||(m=this.createNamespace(p,d)),m}registerTrigger(p,d,m){let D=this._namespaceLookup[p];D&&D.register(d,m)&&this.totalAnimations++}destroy(p,d){p&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const m=this._fetchNamespace(p);this.namespacesByHostElement.delete(m.hostElement);const D=this._namespaceList.indexOf(m);D>=0&&this._namespaceList.splice(D,1),m.destroy(d),delete this._namespaceLookup[p]}))}_fetchNamespace(p){return this._namespaceLookup[p]}fetchNamespacesByElement(p){const d=new Set,m=this.statesByElement.get(p);if(m)for(let D of m.values())if(D.namespaceId){const V=this._fetchNamespace(D.namespaceId);V&&d.add(V)}return d}trigger(p,d,m,D){if(hl(d)){const V=this._fetchNamespace(p);if(V)return V.trigger(d,m,D),!0}return!1}insertNode(p,d,m,D){if(!hl(d))return;const V=d[es];if(V&&V.setForRemoval){V.setForRemoval=!1,V.setForMove=!0;const Q=this.collectedLeaveElements.indexOf(d);Q>=0&&this.collectedLeaveElements.splice(Q,1)}if(p){const Q=this._fetchNamespace(p);Q&&Q.insertNode(d,m)}D&&this.collectEnterElement(d)}collectEnterElement(p){this.collectedEnterElements.push(p)}markElementAsDisabled(p,d){d?this.disabledNodes.has(p)||(this.disabledNodes.add(p),rs(p,Ku)):this.disabledNodes.has(p)&&(this.disabledNodes.delete(p),Wc(p,Ku))}removeNode(p,d,m){if(hl(d)){const D=p?this._fetchNamespace(p):null;D?D.removeNode(d,m):this.markElementAsRemoved(p,d,!1,m);const V=this.namespacesByHostElement.get(d);V&&V.id!==p&&V.removeNode(d,m)}else this._onRemovalComplete(d,m)}markElementAsRemoved(p,d,m,D,V){this.collectedLeaveElements.push(d),d[es]={namespaceId:p,setForRemoval:D,hasAnimation:m,removedBeforeQueried:!1,previousTriggersValues:V}}listen(p,d,m,D,V){return hl(d)?this._fetchNamespace(p).listen(d,m,D,V):()=>{}}_buildInstruction(p,d,m,D,V){return p.transition.build(this.driver,p.element,p.fromState.value,p.toState.value,m,D,p.fromState.options,p.toState.options,d,V)}destroyInnerAnimations(p){let d=this.driver.query(p,Dn,!0);d.forEach(m=>this.destroyActiveAnimationsForElement(m)),0!=this.playersByQueriedElement.size&&(d=this.driver.query(p,Ud,!0),d.forEach(m=>this.finishActiveQueriedAnimationOnElement(m)))}destroyActiveAnimationsForElement(p){const d=this.playersByElement.get(p);d&&d.forEach(m=>{m.queued?m.markedForDestroy=!0:m.destroy()})}finishActiveQueriedAnimationOnElement(p){const d=this.playersByQueriedElement.get(p);d&&d.forEach(m=>m.finish())}whenRenderingDone(){return new Promise(p=>{if(this.players.length)return Qs(this.players).onDone(()=>p());p()})}processLeaveNode(p){const d=p[es];if(d&&d.setForRemoval){if(p[es]=Qd,d.namespaceId){this.destroyInnerAnimations(p);const m=this._fetchNamespace(d.namespaceId);m&&m.clearElementCache(p)}this._onRemovalComplete(p,d.setForRemoval)}p.classList?.contains(Ku)&&this.markElementAsDisabled(p,!1),this.driver.query(p,".ng-animate-disabled",!0).forEach(m=>{this.markElementAsDisabled(m,!1)})}flush(p=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach((m,D)=>this._balanceNamespaceList(m,D)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let m=0;mm()),this._flushFns=[],this._whenQuietFns.length){const m=this._whenQuietFns;this._whenQuietFns=[],d.length?Qs(d).onDone(()=>{m.forEach(D=>D())}):m.forEach(D=>D())}}reportError(p){throw function Sc(){return new c.wOt(3402,!1)}()}_flushAnimations(p,d){const m=new ll,D=[],V=new Map,Q=[],vt=new Map,zt=new Map,we=new Map,lr=new Set;this.disabledNodes.forEach(Qo=>{lr.add(Qo);const ln=this.driver.query(Qo,".ng-animate-queued",!0);for(let wn=0;wn{const wn=Bu+on++;ho.set(ln,wn),Qo.forEach(ui=>rs(ui,wn))});const pn=[],si=new Set,Zi=new Set;for(let Qo=0;Qosi.add(ui)):Zi.add(ln))}const Za=new Map,Ia=hh(bo,Array.from(si));Ia.forEach((Qo,ln)=>{const wn=Bd+on++;Za.set(ln,wn),Qo.forEach(ui=>rs(ui,wn))}),p.push(()=>{zr.forEach((Qo,ln)=>{const wn=ho.get(ln);Qo.forEach(ui=>Wc(ui,wn))}),Ia.forEach((Qo,ln)=>{const wn=Za.get(ln);Qo.forEach(ui=>Wc(ui,wn))}),pn.forEach(Qo=>{this.processLeaveNode(Qo)})});const ic=[],wc=[];for(let Qo=this._namespaceList.length-1;Qo>=0;Qo--)this._namespaceList[Qo].drainQueuedTransitions(d).forEach(wn=>{const ui=wn.player,Qa=wn.element;if(ic.push(ui),this.collectedEnterElements.length){const Ds=Qa[es];if(Ds&&Ds.setForMove){if(Ds.previousTriggersValues&&Ds.previousTriggersValues.has(wn.triggerName)){const Lc=Ds.previousTriggersValues.get(wn.triggerName),Ns=this.statesByElement.get(wn.element);if(Ns&&Ns.has(wn.triggerName)){const Kf=Ns.get(wn.triggerName);Kf.value=Lc,Ns.set(wn.triggerName,Kf)}}return void ui.destroy()}}const Jc=!wr||!this.driver.containsElement(wr,Qa),sc=Za.get(Qa),tl=ho.get(Qa),$i=this._buildInstruction(wn,m,tl,sc,Jc);if($i.errors&&$i.errors.length)return void wc.push($i);if(Jc)return ui.onStart(()=>Tl(Qa,$i.fromStyles)),ui.onDestroy(()=>tc(Qa,$i.toStyles)),void D.push(ui);if(wn.isFallbackTransition)return ui.onStart(()=>Tl(Qa,$i.fromStyles)),ui.onDestroy(()=>tc(Qa,$i.toStyles)),void D.push(ui);const Wf=[];$i.timelines.forEach(Ds=>{Ds.stretchStartingKeyframe=!0,this.disabledNodes.has(Ds.element)||Wf.push(Ds)}),$i.timelines=Wf,m.append(Qa,$i.timelines),Q.push({instruction:$i,player:ui,element:Qa}),$i.queriedElements.forEach(Ds=>_s(vt,Ds,[]).push(ui)),$i.preStyleProps.forEach((Ds,Lc)=>{if(Ds.size){let Ns=zt.get(Lc);Ns||zt.set(Lc,Ns=new Set),Ds.forEach((Kf,Gf)=>Ns.add(Gf))}}),$i.postStyleProps.forEach((Ds,Lc)=>{let Ns=we.get(Lc);Ns||we.set(Lc,Ns=new Set),Ds.forEach((Kf,Gf)=>Ns.add(Gf))})});if(wc.length){const Qo=[];wc.forEach(ln=>{Qo.push(function vs(){return new c.wOt(3505,!1)}())}),ic.forEach(ln=>ln.destroy()),this.reportError(Qo)}const ss=new Map,Es=new Map;Q.forEach(Qo=>{const ln=Qo.element;m.has(ln)&&(Es.set(ln,ln),this._beforeAnimationBuild(Qo.player.namespaceId,Qo.instruction,ss))}),D.forEach(Qo=>{const ln=Qo.element;this._getPreviousPlayers(ln,!1,Qo.namespaceId,Qo.triggerName,null).forEach(ui=>{_s(ss,ln,[]).push(ui),ui.destroy()})});const Cs=pn.filter(Qo=>ou(Qo,zt,we)),ac=new Map;oa(ac,this.driver,Zi,we,Ho.kp).forEach(Qo=>{ou(Qo,zt,we)&&Cs.push(Qo)});const ql=new Map;zr.forEach((Qo,ln)=>{oa(ql,this.driver,new Set(Qo),zt,Ho.FX)}),Cs.forEach(Qo=>{const ln=ac.get(Qo),wn=ql.get(Qo);ac.set(Qo,new Map([...ln?.entries()??[],...wn?.entries()??[]]))});const zf=[],Hf=[],fg={};Q.forEach(Qo=>{const{element:ln,player:wn,instruction:ui}=Qo;if(m.has(ln)){if(lr.has(ln))return wn.onDestroy(()=>tc(ln,ui.toStyles)),wn.disabled=!0,wn.overrideTotalTime(ui.totalTime),void D.push(wn);let Qa=fg;if(Es.size>1){let sc=ln;const tl=[];for(;sc=sc.parentNode;){const $i=Es.get(sc);if($i){Qa=$i;break}tl.push(sc)}tl.forEach($i=>Es.set($i,Qa))}const Jc=this._buildAnimation(wn.namespaceId,ui,ss,V,ql,ac);if(wn.setRealPlayer(Jc),Qa===fg)zf.push(wn);else{const sc=this.playersByElement.get(Qa);sc&&sc.length&&(wn.parentPlayer=Qs(sc)),D.push(wn)}}else Tl(ln,ui.fromStyles),wn.onDestroy(()=>tc(ln,ui.toStyles)),Hf.push(wn),lr.has(ln)&&D.push(wn)}),Hf.forEach(Qo=>{const ln=V.get(Qo.element);if(ln&&ln.length){const wn=Qs(ln);Qo.setRealPlayer(wn)}}),D.forEach(Qo=>{Qo.parentPlayer?Qo.syncPlayerEvents(Qo.parentPlayer):Qo.destroy()});for(let Qo=0;Qo!Jc.destroyed);Qa.length?ru(this,ln,Qa):this.processLeaveNode(ln)}return pn.length=0,zf.forEach(Qo=>{this.players.push(Qo),Qo.onDone(()=>{Qo.destroy();const ln=this.players.indexOf(Qo);this.players.splice(ln,1)}),Qo.play()}),zf}afterFlush(p){this._flushFns.push(p)}afterFlushAnimationsDone(p){this._whenQuietFns.push(p)}_getPreviousPlayers(p,d,m,D,V){let Q=[];if(d){const vt=this.playersByQueriedElement.get(p);vt&&(Q=vt)}else{const vt=this.playersByElement.get(p);if(vt){const zt=!V||V==Nl;vt.forEach(we=>{we.queued||!zt&&we.triggerName!=D||Q.push(we)})}}return(m||D)&&(Q=Q.filter(vt=>!(m&&m!=vt.namespaceId||D&&D!=vt.triggerName))),Q}_beforeAnimationBuild(p,d,m){const V=d.element,Q=d.isRemovalTransition?void 0:p,vt=d.isRemovalTransition?void 0:d.triggerName;for(const zt of d.timelines){const we=zt.element,lr=we!==V,wr=_s(m,we,[]);this._getPreviousPlayers(we,lr,Q,vt,d.toState).forEach(zr=>{const ho=zr.getRealPlayer();ho.beforeDestroy&&ho.beforeDestroy(),zr.destroy(),wr.push(zr)})}Tl(V,d.fromStyles)}_buildAnimation(p,d,m,D,V,Q){const vt=d.triggerName,zt=d.element,we=[],lr=new Set,wr=new Set,bo=d.timelines.map(ho=>{const on=ho.element;lr.add(on);const pn=on[es];if(pn&&pn.removedBeforeQueried)return new Ho.sf(ho.duration,ho.delay);const si=on!==zt,Zi=function gh(b){const p=[];return md(b,p),p}((m.get(on)||Zd).map(ss=>ss.getRealPlayer())).filter(ss=>!!ss.element&&ss.element===on),Za=V.get(on),Ia=Q.get(on),ic=Md(this._normalizer,ho.keyframes,Za,Ia),wc=this._buildPlayer(ho,ic,Zi);if(ho.subTimeline&&D&&wr.add(on),si){const ss=new Hc(p,vt,on);ss.setRealPlayer(wc),we.push(ss)}return wc});we.forEach(ho=>{_s(this.playersByQueriedElement,ho.element,[]).push(ho),ho.onDone(()=>function ph(b,p,d){let m=b.get(p);if(m){if(m.length){const D=m.indexOf(d);m.splice(D,1)}0==m.length&&b.delete(p)}return m}(this.playersByQueriedElement,ho.element,ho))}),lr.forEach(ho=>rs(ho,Uu));const zr=Qs(bo);return zr.onDestroy(()=>{lr.forEach(ho=>Wc(ho,Uu)),tc(zt,d.toStyles)}),wr.forEach(ho=>{_s(D,ho,[]).push(zr)}),zr}_buildPlayer(p,d,m){return d.length>0?this.driver.animate(p.element,d,p.duration,p.delay,p.easing,m):new Ho.sf(p.duration,p.delay)}}class Hc{constructor(p,d,m){this.namespaceId=p,this.triggerName=d,this.element=m,this._player=new Ho.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(p){this._containsRealPlayer||(this._player=p,this._queuedCallbacks.forEach((d,m)=>{d.forEach(D=>xs(p,m,void 0,D))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(p.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(p){this.totalTime=p}syncPlayerEvents(p){const d=this._player;d.triggerCallback&&p.onStart(()=>d.triggerCallback("start")),p.onDone(()=>this.finish()),p.onDestroy(()=>this.destroy())}_queueEvent(p,d){_s(this._queuedCallbacks,p,[]).push(d)}onDone(p){this.queued&&this._queueEvent("done",p),this._player.onDone(p)}onStart(p){this.queued&&this._queueEvent("start",p),this._player.onStart(p)}onDestroy(p){this.queued&&this._queueEvent("destroy",p),this._player.onDestroy(p)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(p){this.queued||this._player.setPosition(p)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(p){const d=this._player;d.triggerCallback&&d.triggerCallback(p)}}function hl(b){return b&&1===b.nodeType}function Mc(b,p){const d=b.style.display;return b.style.display=p??"none",d}function oa(b,p,d,m,D){const V=[];d.forEach(zt=>V.push(Mc(zt)));const Q=[];m.forEach((zt,we)=>{const lr=new Map;zt.forEach(wr=>{const bo=p.computeStyle(we,wr,D);lr.set(wr,bo),(!bo||0==bo.length)&&(we[es]=qd,Q.push(we))}),b.set(we,lr)});let vt=0;return d.forEach(zt=>Mc(zt,V[vt++])),Q}function hh(b,p){const d=new Map;if(b.forEach(vt=>d.set(vt,[])),0==p.length)return d;const D=new Set(p),V=new Map;function Q(vt){if(!vt)return 1;let zt=V.get(vt);if(zt)return zt;const we=vt.parentNode;return zt=d.has(we)?we:D.has(we)?1:Q(we),V.set(vt,zt),zt}return p.forEach(vt=>{const zt=Q(vt);1!==zt&&d.get(zt).push(vt)}),d}function rs(b,p){b.classList?.add(p)}function Wc(b,p){b.classList?.remove(p)}function ru(b,p,d){Qs(d).onDone(()=>b.processLeaveNode(p))}function md(b,p){for(let d=0;dD.add(V)):p.set(b,m),d.delete(b),!0}class Ic{constructor(p,d,m){this._driver=d,this._normalizer=m,this._triggerCache={},this.onRemovalComplete=(D,V)=>{},this._transitionEngine=new eu(p.body,d,m),this._timelineEngine=new dh(p.body,d,m),this._transitionEngine.onRemovalComplete=(D,V)=>this.onRemovalComplete(D,V)}registerTrigger(p,d,m,D,V){const Q=p+"-"+D;let vt=this._triggerCache[Q];if(!vt){const zt=[],lr=Kd(this._driver,V,zt,[]);if(zt.length)throw function nd(){return new c.wOt(3404,!1)}();vt=function Xg(b,p,d){return new Hu(b,p,d)}(D,lr,this._normalizer),this._triggerCache[Q]=vt}this._transitionEngine.registerTrigger(d,D,vt)}register(p,d){this._transitionEngine.register(p,d)}destroy(p,d){this._transitionEngine.destroy(p,d)}onInsert(p,d,m,D){this._transitionEngine.insertNode(p,d,m,D)}onRemove(p,d,m){this._transitionEngine.removeNode(p,d,m)}disableAnimations(p,d){this._transitionEngine.markElementAsDisabled(p,d)}process(p,d,m,D){if("@"==m.charAt(0)){const[V,Q]=id(m);this._timelineEngine.command(V,d,Q,D)}else this._transitionEngine.trigger(p,d,m,D)}listen(p,d,m,D,V){if("@"==m.charAt(0)){const[Q,vt]=id(m);return this._timelineEngine.listen(Q,d,vt,V)}return this._transitionEngine.listen(p,d,m,D,V)}flush(p=-1){this._transitionEngine.flush(p)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(p){this._transitionEngine.afterFlushAnimationsDone(p)}}class Kc{static{this.initialStylesByElement=new WeakMap}constructor(p,d,m){this._element=p,this._startStyles=d,this._endStyles=m,this._state=0;let D=Kc.initialStylesByElement.get(p);D||Kc.initialStylesByElement.set(p,D=new Map),this._initialStyles=D}start(){this._state<1&&(this._startStyles&&tc(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tc(this._element,this._initialStyles),this._endStyles&&(tc(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Kc.initialStylesByElement.delete(this._element),this._startStyles&&(Tl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Tl(this._element,this._endStyles),this._endStyles=null),tc(this._element,this._initialStyles),this._state=3)}}function Zu(b){let p=null;return b.forEach((d,m)=>{(function Zg(b){return"display"===b||"position"===b})(m)&&(p=p||new Map,p.set(m,d))}),p}class fh{constructor(p,d,m,D){this.element=p,this.keyframes=d,this.options=m,this._specialStyles=D,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=m.duration,this._delay=m.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(p=>p()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const p=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,p,this.options),this._finalKeyframe=p.length?p[p.length-1]:new Map;const d=()=>this._onFinish();this.domPlayer.addEventListener("finish",d),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",d)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(p){const d=[];return p.forEach(m=>{d.push(Object.fromEntries(m))}),d}_triggerWebAnimation(p,d,m){return p.animate(this._convertKeyframesToObject(d),m)}onStart(p){this._originalOnStartFns.push(p),this._onStartFns.push(p)}onDone(p){this._originalOnDoneFns.push(p),this._onDoneFns.push(p)}onDestroy(p){this._onDestroyFns.push(p)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(p=>p()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(p=>p()),this._onDestroyFns=[])}setPosition(p){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=p*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const p=new Map;this.hasStarted()&&this._finalKeyframe.forEach((m,D)=>{"offset"!==D&&p.set(D,this._finished?m:Vu(this.element,D))}),this.currentSnapshot=p}triggerCallback(p){const d="start"===p?this._onStartFns:this._onDoneFns;d.forEach(m=>m()),d.length=0}}class iu{validateStyleProperty(p){return!0}validateAnimatableStyleProperty(p){return!0}containsElement(p,d){return Fu(p,d)}getParentElement(p){return Al(p)}query(p,d,m){return zp(p,d,m)}computeStyle(p,d,m){return Vu(p,d)}animate(p,d,m,D,V,Q=[]){const zt={duration:m,delay:D,fill:0==D?"both":"forwards"};V&&(zt.easing=V);const we=new Map,lr=Q.filter(zr=>zr instanceof fh);(function Tc(b,p){return 0===b||0===p})(m,D)&&lr.forEach(zr=>{zr.currentSnapshot.forEach((ho,on)=>we.set(on,ho))});let wr=function $u(b){return b.length?b[0]instanceof Map?b:b.map(p=>new Map(Object.entries(p))):[]}(d).map(zr=>new Map(zr));wr=function Hg(b,p,d){if(d.size&&p.length){let m=p[0],D=[];if(d.forEach((V,Q)=>{m.has(Q)||D.push(Q),m.set(Q,V)}),D.length)for(let V=1;VQ.set(vt,Vu(b,vt)))}}return p}(p,wr,we);const bo=function nu(b,p){let d=null,m=null;return Array.isArray(p)&&p.length?(d=Zu(p[0]),p.length>1&&(m=Zu(p[p.length-1]))):p instanceof Map&&(d=Zu(p)),d||m?new Kc(b,d,m):null}(p,wr);return new fh(p,wr,zt,bo)}}const mh="@.disabled";class bh{constructor(p,d,m,D){this.namespaceId=p,this.delegate=d,this.engine=m,this._onDestroy=D,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(p){this.delegate.destroyNode?.(p)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(p,d){return this.delegate.createElement(p,d)}createComment(p){return this.delegate.createComment(p)}createText(p){return this.delegate.createText(p)}appendChild(p,d){this.delegate.appendChild(p,d),this.engine.onInsert(this.namespaceId,d,p,!1)}insertBefore(p,d,m,D=!0){this.delegate.insertBefore(p,d,m),this.engine.onInsert(this.namespaceId,d,p,D)}removeChild(p,d,m){this.parentNode(d)&&this.engine.onRemove(this.namespaceId,d,this.delegate)}selectRootElement(p,d){return this.delegate.selectRootElement(p,d)}parentNode(p){return this.delegate.parentNode(p)}nextSibling(p){return this.delegate.nextSibling(p)}setAttribute(p,d,m,D){this.delegate.setAttribute(p,d,m,D)}removeAttribute(p,d,m){this.delegate.removeAttribute(p,d,m)}addClass(p,d){this.delegate.addClass(p,d)}removeClass(p,d){this.delegate.removeClass(p,d)}setStyle(p,d,m,D){this.delegate.setStyle(p,d,m,D)}removeStyle(p,d,m){this.delegate.removeStyle(p,d,m)}setProperty(p,d,m){"@"==d.charAt(0)&&d==mh?this.disableAnimations(p,!!m):this.delegate.setProperty(p,d,m)}setValue(p,d){this.delegate.setValue(p,d)}listen(p,d,m){return this.delegate.listen(p,d,m)}disableAnimations(p,d){this.engine.disableAnimations(p,d)}}class wh extends bh{constructor(p,d,m,D,V){super(d,m,D,V),this.factory=p,this.namespaceId=d}setProperty(p,d,m){"@"==d.charAt(0)?"."==d.charAt(1)&&d==mh?this.disableAnimations(p,m=void 0===m||!!m):this.engine.process(this.namespaceId,p,d.slice(1),m):this.delegate.setProperty(p,d,m)}listen(p,d,m){if("@"==d.charAt(0)){const D=function Qu(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(p);let V=d.slice(1),Q="";return"@"!=V.charAt(0)&&([V,Q]=function Ka(b){const p=b.indexOf(".");return[b.substring(0,p),b.slice(p+1)]}(V)),this.engine.listen(this.namespaceId,D,V,Q,vt=>{this.factory.scheduleListenerCallback(vt._data||-1,m,vt)})}return this.delegate.listen(p,d,m)}}class Sm{constructor(p,d,m){this.delegate=p,this.engine=d,this._zone=m,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,d.onRemovalComplete=(D,V)=>{V?.removeChild(null,D)}}createRenderer(p,d){const D=this.delegate.createRenderer(p,d);if(!p||!d?.data?.animation){const we=this._rendererCache;let lr=we.get(D);return lr||(lr=new bh("",D,this.engine,()=>we.delete(D)),we.set(D,lr)),lr}const V=d.id,Q=d.id+"-"+this._currentId;this._currentId++,this.engine.register(Q,p);const vt=we=>{Array.isArray(we)?we.forEach(vt):this.engine.registerTrigger(V,Q,p,we.name,we)};return d.data.animation.forEach(vt),new wh(this,Q,D,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(p,d,m){if(p>=0&&pd(m));const D=this._animationCallbacksBuffer;0==D.length&&queueMicrotask(()=>{this._zone.run(()=>{D.forEach(V=>{const[Q,vt]=V;Q(vt)}),this._animationCallbacksBuffer=[]})}),D.push([d,m])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const au=[{provide:ad,useFactory:function Am(){return new sd}},{provide:Ic,useClass:(()=>{class b extends Ic{constructor(d,m,D){super(d,m,D)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Ct.qQ),c.KVO(Fd),c.KVO(ad))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})()},{provide:c._9s,useFactory:function vh(b,p,d){return new Sm(b,p,d)},deps:[o.B7,Ic,c.SKi]}],qu=[{provide:Fd,useFactory:()=>new iu},{provide:c.bc$,useValue:"BrowserAnimations"},...au];var cu=r(9030),bd=r(3726),gc=r(8793),Ta=r(1413),_h=r(5343);const gl=new T.c(_h.l);var Gc=r(7786),Bl=r(6648),Ga=r(6354),Ui=r(17),lu=r(8071),du=r(8750),kh=r(9974);const wd={connector:()=>new Ta.B};function Ju(b,p=wd){const{connector:d}=p;return(0,kh.N)((m,D)=>{const V=d();(0,du.Tg)(b(function Jg(b){return new T.c(p=>b.subscribe(p))}(V))).subscribe(D),D.add(m.subscribe(V))})}var vd=r(8141);const Ul="Service workers are disabled or not supported by this browser";class $l{constructor(p){if(this.serviceWorker=p,p){const m=(0,bd.R)(p,"controllerchange").pipe((0,Ga.T)(()=>p.controller)),D=(0,cu.v)(()=>(0,R.of)(p.controller)),V=(0,gc.x)(D,m);this.worker=V.pipe((0,Vt.p)(lr=>!!lr)),this.registration=this.worker.pipe((0,ht.n)(()=>p.getRegistration()));const we=(0,bd.R)(p,"message").pipe((0,Ga.T)(lr=>lr.data)).pipe((0,Vt.p)(lr=>lr&&lr.type)).pipe(function yd(b){return b?p=>Ju(b)(p):p=>function Eh(b,p){const d=(0,lu.T)(b)?b:()=>b;return(0,lu.T)(p)?Ju(p,{connector:d}):m=>new Ui.G(m,d)}(new Ta.B)(p)}());we.connect(),this.events=we}else this.worker=this.events=this.registration=function tp(b){return(0,cu.v)(()=>(0,I.$)(new Error(b)))}(Ul)}postMessage(p,d){return this.worker.pipe((0,M.s)(1),(0,vd.M)(m=>{m.postMessage({action:p,...d})})).toPromise().then(()=>{})}postMessageWithOperation(p,d,m){const D=this.waitForOperationCompleted(m),V=this.postMessage(p,d);return Promise.all([V,D]).then(([,Q])=>Q)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(p){let d;return d="string"==typeof p?m=>m.type===p:m=>p.includes(m.type),this.events.pipe((0,Vt.p)(d))}nextEventOfType(p){return this.eventsOfType(p).pipe((0,M.s)(1))}waitForOperationCompleted(p){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Vt.p)(d=>d.nonce===p),(0,M.s)(1),(0,Ga.T)(d=>{if(void 0!==d.result)return d.result;throw new Error(d.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let fc=(()=>{class b{get isEnabled(){return this.sw.isEnabled}constructor(d){if(this.sw=d,this.pushManager=null,this.subscriptionChanges=new Ta.B,!d.isEnabled)return this.messages=gl,this.notificationClicks=gl,void(this.subscription=gl);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Ga.T)(D=>D.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Ga.T)(D=>D.data)),this.pushManager=this.sw.registration.pipe((0,Ga.T)(D=>D.pushManager));const m=this.pushManager.pipe((0,ht.n)(D=>D.getSubscription()));this.subscription=(0,Gc.h)(m,this.subscriptionChanges)}requestSubscription(d){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Ul));const m={userVisibleOnly:!0};let D=this.decodeBase64(d.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),V=new Uint8Array(new ArrayBuffer(D.length));for(let Q=0;QQ.subscribe(m)),(0,M.s)(1)).toPromise().then(Q=>(this.subscriptionChanges.next(Q),Q))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,M.s)(1),(0,ht.n)(m=>{if(null===m)throw new Error("Not subscribed to push notifications.");return m.unsubscribe().then(D=>{if(!D)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Ul))}decodeBase64(d){return atob(d)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO($l))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})(),uu=(()=>{class b{get isEnabled(){return this.sw.isEnabled}constructor(d){if(this.sw=d,!d.isEnabled)return this.versionUpdates=gl,void(this.unrecoverable=gl);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(Ul));const d=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:d},d)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ul));const d=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:d},d)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO($l))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})();const ep=new c.nKC("");function Mm(b,p,d,m){return()=>{if(!(0,Ct.UE)(m)||!("serviceWorker"in navigator)||!1===d.enabled)return;const D=b.get(c.SKi),V=b.get(c.o8S);let Q;if(D.runOutsideAngular(()=>{const vt=navigator.serviceWorker,zt=()=>vt.controller?.postMessage({action:"INITIALIZE"});vt.addEventListener("controllerchange",zt),V.onDestroy(()=>{vt.removeEventListener("controllerchange",zt)})}),"function"==typeof d.registrationStrategy)Q=d.registrationStrategy();else{const[vt,...zt]=(d.registrationStrategy||"registerWhenStable:30000").split(":");switch(vt){case"registerImmediately":Q=(0,R.of)(null);break;case"registerWithDelay":Q=tf(+zt[0]||0);break;case"registerWhenStable":const we=(0,Bl.H)(b.get(c.o8S).whenStable());Q=zt[0]?(0,Gc.h)(we,tf(+zt[0])):we;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${d.registrationStrategy}`)}}D.runOutsideAngular(()=>Q.pipe((0,M.s)(1)).subscribe(()=>navigator.serviceWorker.register(p,{scope:d.scope}).catch(vt=>console.error("Service worker registration failed with:",vt))))}}function tf(b){return(0,R.of)(null).pipe((0,ct.c)(b))}function ef(b,p){return new $l((0,Ct.UE)(p)&&!1!==b.enabled?navigator.serviceWorker:void 0)}class Ch{}var Oc=r(7468),jl=r(4360),Ah=r(3669),Th=r(1584),zl=r(9437),rp=r(4668),pu=r(4572),Mh=r(983);function Xc(b){return b&&b.constructor&&"function"==typeof b.constructor.isBuffer&&b.constructor.isBuffer(b)}function Hl(b){return b}function op(b,p){const d=(p=p||{}).delimiter||".",m=p.maxDepth,D=p.transformKey||Hl,V={};return function Q(vt,zt,we){we=we||1,Object.keys(vt).forEach(function(lr){const wr=vt[lr],bo=p.safe&&Array.isArray(wr),zr=Object.prototype.toString.call(wr),ho=Xc(wr),on="[object Object]"===zr||"[object Array]"===zr,pn=zt?zt+d+D(lr):D(lr);if(!bo&&!ho&&on&&Object.keys(wr).length&&(!p.maxDepth||we0&&(bo=vt(wr.shift()),zr=vt(wr[0]))}ho[bo]=hu(b[lr],p)}),V}class rf{translations;constructor(p){this.translations=p}getTranslation(p){return(0,R.of)(this.translations.get(p)||{})}}const Ih=new c.nKC("TRANSLOCO_LOADER");function np(b,p){return b&&(Object.prototype.hasOwnProperty.call(b,p)?b[p]:p.split(".").reduce((d,m)=>d?.[m],b))}function xd(b){return b?Array.isArray(b)?b.length:fl(b)?Object.keys(b).length:b?b.length:0:0}function mc(b){return"string"==typeof b}function fl(b){return!!b&&"object"==typeof b&&!Array.isArray(b)}function Yc(b){return null==b}function sp(b){return!1===Yc(b)}function cp(b){return b&&"string"==typeof b.scope}function lp(b){return op(b,{safe:!0})}const Rc=new c.nKC("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Wl}),Wl={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function Nh(b={}){return{...Wl,...b,missingHandler:{...Wl.missingHandler,...b.missingHandler},flatten:{...Wl.flatten,...b.flatten}}}const dp=new c.nKC("TRANSLOCO_TRANSPILER");let Lh=(()=>{class b{interpolationMatcher;constructor(d){this.interpolationMatcher=function mu(b){const[p,d]=b.interpolation;return new RegExp(`${p}(.*?)${d}`,"g")}(d??Wl)}transpile(d,m={},D,V){return mc(d)?d.replace(this.interpolationMatcher,(Q,vt)=>(vt=vt.trim(),sp(m[vt])?m[vt]:sp(D[vt])?this.transpile(D[vt],m,D,V):"")):(m&&(fl(d)?d=this.handleObject(d,m,D,V):Array.isArray(d)&&(d=this.handleArray(d,m,D,V))),d)}handleObject(d,m={},D,V){let Q=d;return Object.keys(m).forEach(vt=>{const zt=np(Q,vt),we=np(m,vt),lr=this.transpile(zt,we,D,V);Q=function ip(b,p,d){b={...b};const m=p.split("."),D=m.length-1;return m.reduce((V,Q,vt)=>(V[Q]=vt===D?d:Array.isArray(V[Q])?V[Q].slice():{...V[Q]},V&&V[Q]),b),b}(Q,vt,lr)}),Q}handleArray(d,m={},D,V){return d.map(Q=>this.transpile(Q,m,D,V))}static \u0275fac=function(m){return new(m||b)(c.KVO(Rc,8))};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();const ml=new c.nKC("TRANSLOCO_MISSING_HANDLER");let v=(()=>{class b{handle(d,m){return m.missingHandler.logMissingKey&&!m.prodMode&&console.warn(`%c Missing translation for '${d}'`,"font-size: 12px; color: red"),d}static \u0275fac=function(m){return new(m||b)};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();const _=new c.nKC("TRANSLOCO_INTERCEPTOR");let A=(()=>{class b{preSaveTranslation(d){return d}preSaveTranslationKey(d,m){return m}static \u0275fac=function(m){return new(m||b)};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();const j=new c.nKC("TRANSLOCO_FALLBACK_STRATEGY");let Qe,Z=(()=>{class b{userConfig;constructor(d){this.userConfig=d}getNextLangs(){const d=this.userConfig.fallbackLang;if(!d)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(d)?d:[d]}static \u0275fac=function(m){return new(m||b)(c.KVO(Rc))};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();function lt(b){if(!b)return"";const p=b.split("/");return p.pop(),p.join("/")}function St(b){return b?b.split("/").pop():""}function ur(b){return{scope:lt(b)||null,langName:St(b)}}function yr(b){const{path:p,inlineLoader:d,mainLoader:m,data:D}=b;if(d){if(!1===function os(b){return"function"==typeof b}(d[p]))throw`You're using an inline loader but didn't provide a loader for ${p}`;return d[p]().then(Q=>Q.default?Q.default:Q)}return m.getTranslation(p,D)}let Ar=(()=>{class b{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;subscription=null;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new Ta.B;events$=this.events.asObservable();config;constructor(d,m,D,V,Q,vt){this.loader=d,this.parser=m,this.missingHandler=D,this.interceptor=V,this.fallbackStrategy=vt,this.loader||(this.loader=new rf(this.translations)),Qe=this,this.config=JSON.parse(JSON.stringify(Q)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new $t.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(zt=>{"translationLoadSuccess"===zt.type&&zt.wasFailure&&this.setActiveLang(zt.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(d){this.defaultLang=d}getActiveLang(){return this.lang.getValue()}setActiveLang(d){return this.parser.onLangChanged?.(d),this.lang.next(d),this.events.next({type:"langChanged",payload:ur(d)}),this}setAvailableLangs(d){this.availableLangs=d}getAvailableLangs(){return this.availableLangs}load(d,m={}){const D=this.cache.get(d);if(D)return D;let V;const Q=this._isLangScoped(d);let vt;Q&&(vt=lt(d));const zt={path:d,mainLoader:this.loader,inlineLoader:m.inlineLoader,data:Q?{scope:vt}:void 0};if(this.useFallbackTranslation(d)){const lr=Q?`${vt}/${this.firstFallbackLang}`:this.firstFallbackLang,wr=function cr({mainLoader:b,path:p,data:d,fallbackPath:m,inlineLoader:D}){return(m?[p,m]:[p]).map(Q=>{const vt=yr({path:Q,mainLoader:b,inlineLoader:D,data:d});return(0,Bl.H)(vt).pipe((0,Ga.T)(zt=>({translation:zt,lang:Q})))})}({...zt,fallbackPath:lr});V=(0,Oc.p)(wr)}else{const lr=yr(zt);V=(0,Bl.H)(lr)}const we=V.pipe(function Vl(b=1/0){let p;p=b&&"object"==typeof b?b:{count:b};const{count:d=1/0,delay:m,resetOnSuccess:D=!1}=p;return d<=0?Ah.D:(0,kh.N)((V,Q)=>{let zt,vt=0;const we=()=>{let lr=!1;zt=V.subscribe((0,jl._)(Q,wr=>{D&&(vt=0),Q.next(wr)},void 0,wr=>{if(vt++{zt?(zt.unsubscribe(),zt=null,we()):lr=!0};if(null!=m){const zr="number"==typeof m?(0,Th.O)(m):(0,du.Tg)(m(wr,vt)),ho=(0,jl._)(Q,()=>{ho.unsubscribe(),bo()},()=>{Q.complete()});zr.subscribe(ho)}else bo()}else Q.error(wr)})),lr&&(zt.unsubscribe(),zt=null,we())};we()})}(this.config.failedRetries),(0,vd.M)(lr=>{Array.isArray(lr)?lr.forEach(wr=>{this.handleSuccess(wr.lang,wr.translation),wr.lang!==d&&this.cache.set(wr.lang,(0,R.of)({}))}):this.handleSuccess(d,lr)}),(0,zl.W)(lr=>(this.config.prodMode||console.error(`Error while trying to load "${d}"`,lr),this.handleFailure(d,m))),(0,rp.t)(1));return this.cache.set(d,we),we}translate(d,m={},D=this.getActiveLang()){if(!d)return d;const{scope:V,resolveLang:Q}=this.resolveLangAndScope(D);if(Array.isArray(d))return d.map(we=>this.translate(V?`${V}.${we}`:we,m,Q));d=V?`${V}.${d}`:d;const vt=this.getTranslation(Q),zt=vt[d];return zt?this.parser.transpile(zt,m,vt,d):this._handleMissingKey(d,zt,m)}selectTranslate(d,m,D,V=!1){let Q;const vt=(we,lr)=>this.load(we,lr).pipe((0,Ga.T)(()=>V?this.translateObject(d,m,we):this.translate(d,m,we)));if(Yc(D))return this.langChanges$.pipe((0,ht.n)(we=>vt(we)));if(function gu(b){return Array.isArray(b)&&b.every(cp)}(D)||cp(D)){const we=Array.isArray(D)?D[0]:D;D=we.scope,Q=function Pe(b,p){return function sf(b){return b&&fl(b.loader)}(b)?function Ne(b,p){return Object.keys(b).reduce((d,m)=>(d[`${p}/${m}`]=b[m],d),{})}(b.loader,p):void 0}(we,we.scope)}if(this.isLang(D)||this.isScopeWithLang(D))return vt(D);const zt=D;return this.langChanges$.pipe((0,ht.n)(we=>vt(`${zt}/${we}`,{inlineLoader:Q})))}isScopeWithLang(d){return this.isLang(St(d))}translateObject(d,m={},D=this.getActiveLang()){if(mc(d)||Array.isArray(d)){const{resolveLang:Q,scope:vt}=this.resolveLangAndScope(D);if(Array.isArray(d))return d.map(lr=>this.translateObject(vt?`${vt}.${lr}`:lr,m,Q));const zt=this.getTranslation(Q),we=function fu(b){return hu(b)}(this.getObjectByKey(zt,d=vt?`${vt}.${d}`:d));return function Oh(b){return 0===xd(b)}(we)?this.translate(d,m,D):this.parser.transpile(we,m,zt,d)}const V=[];for(const[Q,vt]of this.getEntries(d))V.push(this.translateObject(Q,vt,D));return V}selectTranslateObject(d,m,D){if(mc(d)||Array.isArray(d))return this.selectTranslate(d,m,D,!0);const[[V,Q],...vt]=this.getEntries(d);return this.selectTranslateObject(V,Q,D).pipe((0,Ga.T)(zt=>{const we=[zt];for(const[lr,wr]of vt)we.push(this.translateObject(lr,wr,D));return we}))}getTranslation(d){if(d){if(this.isLang(d))return this.translations.get(d)||{};{const{scope:m,resolveLang:D}=this.resolveLangAndScope(d),V=this.translations.get(D)||{};return this.getObjectByKey(V,m)}}return this.translations}selectTranslation(d){let m=this.langChanges$;if(d){const D=St(d)!==d;m=this.isLang(d)||D?(0,R.of)(d):this.langChanges$.pipe((0,Ga.T)(V=>`${d}/${V}`))}return m.pipe((0,ht.n)(D=>this.load(D).pipe((0,Ga.T)(()=>this.getTranslation(D)))))}setTranslation(d,m=this.getActiveLang(),D={}){const Q={merge:!0,emitChange:!0,...D},vt=lt(m);let zt=d;if(vt){const zr=this.getMappedScope(vt);zt=lp({[zr]:d})}const we=vt?St(m):m,lr={...Q.merge&&this.getTranslation(we),...zt},wr=this.config.flatten.aot?lr:lp(lr),bo=this.interceptor.preSaveTranslation(wr,we);this.translations.set(we,bo),Q.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(d,m,D=this.getActiveLang(),V={}){const Q=this.interceptor.preSaveTranslationKey(d,m,D);this.setTranslation({[d]:Q},D,{...V,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:d}){const m=Array.isArray(d)?d[0]:d;d&&this.useFallbackTranslation(m)&&(this.firstFallbackLang=m)}_handleMissingKey(d,m,D){if(this.config.missingHandler.allowEmpty&&""===m)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const V=this.translate(d,D,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,V}return this.missingHandler.handle(d,this.getMissingHandlerData(),D)}_isLangScoped(d){return-1===this.getAvailableLangsIds().indexOf(d)}isLang(d){return-1!==this.getAvailableLangsIds().indexOf(d)}_loadDependencies(d,m){const D=St(d);return this._isLangScoped(d)&&!this.isLoadedTranslation(D)?(0,pu.z)([this.load(D),this.load(d,{inlineLoader:m})]):this.load(d,{inlineLoader:m})}_completeScopeWithLang(d){return this._isLangScoped(d)&&!this.isLang(St(d))?`${d}/${this.getActiveLang()}`:d}_setScopeAlias(d,m){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[d]=m}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation(d){return xd(this.getTranslation(d))}getAvailableLangsIds(){return mc(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(m=>m.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(d){return this.config.missingHandler.useFallbackTranslation&&d!==this.firstFallbackLang}handleSuccess(d,m){this.setTranslation(m,d,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:ur(d)}),this.failedLangs.forEach(D=>this.cache.delete(D)),this.failedLangs.clear()}handleFailure(d,m){Yc(m.failedCounter)&&(m.failedCounter=0,m.fallbackLangs||(m.fallbackLangs=this.fallbackStrategy.getNextLangs(d)));const D=d.split("/"),Q=m.fallbackLangs[m.failedCounter];if(this.failedLangs.add(d),this.cache.has(Q))return this.handleSuccess(Q,this.getTranslation(Q)),Mh.w;if(!Q||Q===D[D.length-1]){let we="Unable to load translation and all the fallback languages";throw D.length>1&&(we+=", did you misspelled the scope name?"),new Error(we)}let zt=Q;return D.length>1&&(D[D.length-1]=Q,zt=D.join("/")),m.failedCounter++,this.events.next({type:"translationLoadFailure",payload:ur(d)}),this.load(zt,m)}getMappedScope(d){const{scopeMapping:m={}}=this.config;return m[d]||function af(b){return b.replace(/(?:^\w|[A-Z]|\b\w)/g,(p,d)=>0==d?p.toLowerCase():p.toUpperCase()).replace(/\s+|_|-|\//g,"")}(d)}resolveLangAndScope(d){let D,m=d;if(this._isLangScoped(d)){const V=St(d),Q=this.isLang(V);m=Q?V:this.getActiveLang(),D=this.getMappedScope(Q?lt(d):d)}return{scope:D,resolveLang:m}}getObjectByKey(d,m){const D={},V=`${m}.`;for(const Q in d)Q.startsWith(V)&&(D[Q.replace(V,"")]=d[Q]);return D}getEntries(d){return d instanceof Map?d.entries():Object.entries(d)}static \u0275fac=function(m){return new(m||b)(c.KVO(Ih,8),c.KVO(dp),c.KVO(ml),c.KVO(_),c.KVO(Rc),c.KVO(j))};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();function So(b){return(0,c.EmA)([{provide:dp,useClass:b,deps:[Rc]}])}function Sn(b){return(0,c.EmA)([{provide:j,useClass:b,deps:[Rc]}])}function Fn(b){return(0,c.EmA)([{provide:ml,useClass:b}])}function Nn(b){return(0,c.EmA)([{provide:_,useClass:b}])}new c.nKC("TRANSLOCO_LANG"),new c.nKC("TRANSLOCO_LOADING_TEMPLATE"),new c.nKC("TRANSLOCO_SCOPE"),new c.nKC("TRANSLOCO_TEST_LANGS - Available testing languages"),new c.nKC("TRANSLOCO_TEST_OPTIONS - Testing options");var Bh=r(2771);let Rs=(()=>{class b{constructor(){this._httpClient=(0,c.WQX)(q.Qq),this._navigation=new Bh.m(1)}get navigation$(){return this._navigation.asObservable()}get(){return this._httpClient.get("api/navigation").pipe((0,vd.M)(d=>{this._navigation.next(d)}))}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})(),Gl=(()=>{class b{constructor(d){this._httpClient=d,this._chat=new $t.t(null),this._chats=new $t.t(null)}get chat$(){return this._chat.asObservable()}get chats$(){return this._chats.asObservable()}getChats(){return this._httpClient.get("api/apps/chat/chats").pipe((0,vd.M)(d=>{this._chats.next(d)}))}getChatById(d){return this._httpClient.get("api/apps/chat/chat",{params:{id:d}}).pipe((0,Ga.T)(m=>(this._chat.next(m),m)),(0,ht.n)(m=>m?(0,R.of)(m):(0,I.$)("Could not found chat with id of "+d+"!")))}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(q.Qq))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();const _d=new class wu{constructor(p){this.version=p,this.full=p,this.major=p.split(".")[0],this.minor=p.split(".")[1],this.patch=p.split(".").slice(2).join(".")}}("0.0.9").full;var Vs=r(6977),Uw=r(4085),yu=r(7575);function Im(b,p){if(1&b&&c.nrm(0,"mat-progress-bar",0),2&b){const d=c.XpG();c.Y8G("mode",d.mode)("value",d.progress)}}let up=(()=>{class b{constructor(){this._angorLoadingService=(0,c.WQX)(At),this.autoMode=!0,this.progress=0,this.show=!1,this._unsubscribeAll=new Ta.B}ngOnChanges(d){"autoMode"in d&&this._angorLoadingService.setAutoMode((0,Uw.he)(d.autoMode.currentValue))}ngOnInit(){this._angorLoadingService.mode$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{this.mode=d}),this._angorLoadingService.progress$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{this.progress=d}),this._angorLoadingService.show$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{this.show=d})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["angor-loading-bar"]],inputs:{autoMode:"autoMode"},exportAs:["angorLoadingBar"],standalone:!0,features:[c.OA$,c.aNF],decls:1,vars:1,consts:[[3,"mode","value"]],template:function(m,D){1&m&&c.DNE(0,Im,1,2,"mat-progress-bar",0),2&m&&c.vxM(D.show?0:-1)},dependencies:[yu.PO,yu.HM],styles:["angor-loading-bar{position:fixed;top:0;z-index:999;width:100%;height:6px}\n"],encapsulation:2})}}return b})();function $w(b,p){1&b&&c.nrm(0,"router-outlet")}let Gv=(()=>{class b{constructor(){this._unsubscribeAll=new Ta.B}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["empty-layout"]],standalone:!0,features:[c.aNF],decls:4,vars:1,consts:[[1,"flex","w-full","flex-auto","flex-col"],[1,"flex","flex-auto","flex-col"]],template:function(m,D){1&m&&(c.nrm(0,"angor-loading-bar"),c.j41(1,"div",0)(2,"div",1),c.DNE(3,$w,1,0,"router-outlet"),c.k0s()()),2&m&&(c.R7$(3),c.vxM(3))},dependencies:[up,s.n3],encapsulation:2})}}return b})();var rc=r(8834),Ma=r(9213),vu=r(4823);function Uh(b,p){1&b&&c.nrm(0,"mat-icon",3)}let $h=(()=>{class b{constructor(){this._document=(0,c.WQX)(Ct.qQ)}toggleFullscreen(){this._document.fullscreenEnabled?this._document.fullscreenElement?this._document.exitFullscreen():this._document.documentElement.requestFullscreen().catch(()=>{console.error("Entering fullscreen mode failed.")}):console.log("Fullscreen is not available in this browser.")}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["angor-fullscreen"]],inputs:{iconTpl:"iconTpl",tooltip:"tooltip"},exportAs:["angorFullscreen"],standalone:!0,features:[c.aNF],decls:4,vars:2,consts:[["defaultIconTpl",""],["mat-icon-button","",3,"click","matTooltip"],[3,"ngTemplateOutlet"],["svgIcon","heroicons_outline:arrows-pointing-out"]],template:function(m,D){if(1&m){const V=c.RV6();c.j41(0,"button",1),c.bIt("click",function(){return c.eBV(V),c.Njj(D.toggleFullscreen())}),c.eu8(1,2),c.k0s(),c.DNE(2,Uh,1,0,"ng-template",null,0,c.C5r)}if(2&m){const V=c.sdS(3);c.Y8G("matTooltip",D.tooltip||"Toggle Fullscreen"),c.R7$(),c.Y8G("ngTemplateOutlet",D.iconTpl||V)}},dependencies:[rc.Hl,rc.iY,vu.uc,vu.oV,Ct.T3,Ma.m_,Ma.An],encapsulation:2,changeDetection:0})}}return b})();var xu=r(7857),Om=r(6939),Rm=r(6231);let cf=(()=>{class b{constructor(d){this.relayService=d,this.notificationSubject=new $t.t([]),this.notificationCount=new $t.t(0),this.lastNotificationTimestamp=null,this.initializeNotificationData()}initializeNotificationData(){this.notificationCount.next(this.loadCountFromLocalStorage()),this.lastNotificationTimestamp=this.loadTimestampFromLocalStorage()}loadCountFromLocalStorage(){const d=localStorage.getItem("notificationCount");return d?parseInt(d,10):0}loadTimestampFromLocalStorage(){const d=localStorage.getItem("lastNotificationTimestamp");return d?parseInt(d,10):null}saveNotificationData(d,m){localStorage.setItem("notificationCount",d.toString()),localStorage.setItem("lastNotificationTimestamp",m.toString())}getNotificationObservable(){return this.notificationSubject.asObservable()}getNotificationCount(){return this.notificationCount.asObservable()}loadFilterPreferences(){const d=localStorage.getItem("notificationSettings");return d?JSON.parse(d):[1,3,4,7,9735]}subscribeToNotifications(d){var m=this;return(0,k.A)(function*(){yield m.relayService.ensureConnectedRelays();const D=m.relayService.getPool(),V=m.relayService.getConnectedRelays();if(0===V.length)throw new Error("No connected relays");const Q=m.loadTimestampFromLocalStorage(),vt=m.loadFilterPreferences();0===vt.length&&vt.push(1,3,4,7,9735);const zt={kinds:vt,"#p":[d],limit:50,since:Q||void 0};return new Promise(we=>{D.subscribeMany(V,[zt],{onevent:wr=>m.handleNotificationEvent(wr,d),oneose(){we()}})})})()}handleNotificationEvent(d,m){if(this.isNotificationEvent(d,m)){const V=new Date(1e3*d.created_at);let Q="",vt="",zt="";switch(d.kind){case 1:Q="Mention",vt="Mentioned you in an event.",zt="heroicons_outline:at-symbol";break;case 4:Q="Private Message",vt="Sent a private message.",zt="heroicons_outline:envelope-open";break;case 9735:Q="Zap",vt="Received a zap event.",zt="feather:zap";break;case 3:Q="New Follower",vt="You have a new follower.",zt="heroicons_outline:user-plus";break;case 7:Q="New Like",vt="You have a new Like.",zt="heroicons_outline:hand-thumb-up";break;default:Q="Notification",zt="heroicons_outline:bell"}const wr=[{id:d.id,icon:zt,title:Q,description:vt,time:V,kind:d.kind,read:!1},...this.notificationSubject.value].slice(0,50);this.notificationSubject.next(wr),this.incrementNotificationCount(d.created_at)}}incrementNotificationCount(d){const m=this.notificationCount.value+1;this.notificationCount.next(m),this.saveNotificationData(m,d)}markAllAsRead(){const d=this.notificationSubject.value.map(D=>({...D,read:!0}));this.notificationSubject.next(d),this.notificationCount.next(0);const m=Math.floor(Date.now()/1e3);this.saveNotificationData(0,m)}isNotificationEvent(d,m){return d.tags.some(D=>"p"===D[0]&&D[1]===m)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Rm.b))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var Xl=r(7987),Nc=r(4930);const Nm=["notificationsOrigin"],jh=["notificationsPanel"],Lm=b=>({unread:b}),Pm=(b,p)=>({"bg-gray-400 dark:bg-gray-500 sm:opacity-0 sm:group-hover:opacity-100":b,"bg-primary":p});function Fm(b,p){if(1&b&&(c.j41(0,"span",4)(1,"span",6),c.EFF(2),c.k0s()()),2&b){const d=c.XpG();c.R7$(2),c.SpI(" ",d.unreadCount," ")}}function lf(b,p){1&b&&c.eu8(0)}function Bm(b,p){if(1&b&&(c.j41(0,"a",23),c.DNE(1,lf,1,0,"ng-container",25),c.k0s()),2&b){const d=c.XpG(2).$implicit,m=c.sdS(9);c.Y8G("href",d.link,c.B4B),c.R7$(),c.Y8G("ngTemplateOutlet",m)}}function Vh(b,p){1&b&&c.eu8(0)}function df(b,p){if(1&b&&(c.j41(0,"a",24),c.DNE(1,Vh,1,0,"ng-container",25),c.k0s()),2&b){const d=c.XpG(2).$implicit,m=c.sdS(9);c.Y8G("routerLink",d.link),c.R7$(),c.Y8G("ngTemplateOutlet",m)}}function _u(b,p){if(1&b&&c.DNE(0,Bm,2,2,"a",23)(1,df,2,2,"a",24),2&b){const d=c.XpG().$implicit;c.vxM(d.useRouter?-1:0),c.R7$(),c.vxM(d.useRouter?1:-1)}}function jw(b,p){1&b&&c.eu8(0)}function Vw(b,p){if(1&b&&(c.j41(0,"div",17),c.DNE(1,jw,1,0,"ng-container",25),c.k0s()),2&b){c.XpG();const d=c.sdS(9);c.R7$(),c.Y8G("ngTemplateOutlet",d)}}function Xv(b,p){if(1&b&&(c.j41(0,"div",26),c.nrm(1,"mat-icon",32),c.k0s()),2&b){const d=c.XpG(2).$implicit;c.R7$(),c.Y8G("svgIcon",d.icon)}}function zh(b,p){if(1&b&&c.nrm(0,"img",27),2&b){const d=c.XpG(2).$implicit;c.Y8G("src",d.image,c.B4B)("alt","Notification image")}}function uf(b,p){if(1&b&&c.nrm(0,"div",29),2&b){const d=c.XpG(2).$implicit;c.Y8G("innerHTML",d.title,c.npT)}}function Um(b,p){if(1&b&&c.nrm(0,"div",30),2&b){const d=c.XpG(2).$implicit;c.Y8G("innerHTML",d.description,c.npT)}}function $m(b,p){if(1&b&&(c.DNE(0,Xv,2,1,"div",26)(1,zh,1,2,"img",27),c.j41(2,"div",28),c.DNE(3,uf,1,1,"div",29)(4,Um,1,1,"div",30),c.j41(5,"div",31),c.EFF(6),c.nI1(7,"date"),c.k0s()()),2&b){const d=c.XpG().$implicit;c.vxM(d.icon&&!d.image?0:-1),c.R7$(),c.vxM(d.image?1:-1),c.R7$(2),c.vxM(d.title?3:-1),c.R7$(),c.vxM(d.description?4:-1),c.R7$(2),c.SpI(" ",c.i5U(7,5,d.time,"MMM dd, h:mm a")," ")}}function jm(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",16),c.DNE(1,_u,2,2)(2,Vw,2,1,"div",17),c.j41(3,"div",18)(4,"button",19),c.bIt("click",function(){const D=c.eBV(d).$implicit,V=c.XpG(2);return c.Njj(V.toggleRead(D))}),c.nrm(5,"span",20),c.k0s(),c.j41(6,"button",21),c.bIt("click",function(){const D=c.eBV(d).$implicit,V=c.XpG(2);return c.Njj(V.delete(D))}),c.nrm(7,"mat-icon",22),c.k0s()()(),c.DNE(8,$m,8,8,"ng-template",null,2,c.C5r)}if(2&b){const d=p.$implicit;c.Y8G("ngClass",c.eq3(7,Lm,!d.read)),c.R7$(),c.vxM(d.link?1:-1),c.R7$(),c.vxM(d.link?-1:2),c.R7$(2),c.Y8G("matTooltip",d.read?"Mark as unread":"Mark as read"),c.R7$(),c.Y8G("ngClass",c.l_i(9,Pm,d.read,!d.read)),c.R7$(),c.Y8G("matTooltip","Remove"),c.R7$(),c.Y8G("svgIcon","heroicons_solid:x-mark")}}function kd(b,p){1&b&&(c.j41(0,"div",15)(1,"div",33),c.nrm(2,"mat-icon",34),c.k0s(),c.j41(3,"div",35),c.EFF(4," No notifications "),c.k0s(),c.j41(5,"div",36),c.EFF(6," When you have notifications, they will appear here. "),c.k0s()()),2&b&&(c.R7$(2),c.Y8G("svgIcon","heroicons_outline:bell"))}function zw(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",7)(1,"div",8)(2,"div",9)(3,"button",3),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.closePanel())}),c.nrm(4,"mat-icon",10),c.k0s()(),c.j41(5,"div",11),c.EFF(6,"Notifications"),c.k0s(),c.j41(7,"div",12)(8,"button",13),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.markAllAsRead())}),c.nrm(9,"mat-icon",10),c.k0s()()(),c.j41(10,"div",14),c.Z7z(11,jm,10,12,null,null,c.BUC().trackByFn,!0),c.DNE(13,kd,7,1,"div",15),c.k0s()()}if(2&b){const d=c.XpG();c.R7$(4),c.Y8G("svgIcon","heroicons_solid:x-mark"),c.R7$(4),c.Y8G("matTooltip","Mark all as read")("disabled",0===d.unreadCount),c.R7$(),c.Y8G("svgIcon","heroicons_solid:envelope-open"),c.R7$(2),c.Dyx(d.notifications),c.R7$(2),c.vxM(d.notifications&&d.notifications.length?-1:13)}}let Vm=(()=>{class b{constructor(d,m,D,V,Q){this._notificationService=d,this._changeDetectorRef=m,this._overlay=D,this._viewContainerRef=V,this._signerService=Q,this.notifications=[],this.unreadCount=0,this._unsubscribeAll=new Ta.B}ngOnInit(){const d=this._signerService.getPublicKey();this._notificationService.subscribeToNotifications(d).then(()=>{this._notificationService.getNotificationObservable().pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(m=>{this.notifications=m,this._changeDetectorRef.markForCheck()}),this._notificationService.getNotificationCount().pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(m=>{this.unreadCount=m,this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}openPanel(){!this._notificationsPanel||!this._notificationsOrigin||(this._overlayRef||this._createOverlay(),this._overlayRef.attach(new Om.VA(this._notificationsPanel,this._viewContainerRef)))}closePanel(){this._overlayRef&&this._overlayRef.detach()}markAllAsRead(){this._notificationService.markAllAsRead()}toggleRead(d){d.read=!d.read}trackByFn(d,m){return m.id}_createOverlay(){this._overlayRef=this._overlay.create({hasBackdrop:!0,backdropClass:"angor-backdrop-on-mobile",scrollStrategy:this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().flexibleConnectedTo(this._notificationsOrigin._elementRef.nativeElement).withLockedPosition(!0).withPush(!0).withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"}])}),this._overlayRef.backdropClick().subscribe(()=>{this._overlayRef.detach()})}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(cf),c.rXU(c.gRc),c.rXU(Xl.hJ),c.rXU(c.c1b),c.rXU(Nc.A))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["notifications"]],viewQuery:function(m,D){if(1&m&&(c.GBs(Nm,5),c.GBs(jh,5)),2&m){let V;c.mGM(V=c.lsd())&&(D._notificationsOrigin=V.first),c.mGM(V=c.lsd())&&(D._notificationsPanel=V.first)}},exportAs:["notifications"],standalone:!0,features:[c.aNF],decls:6,vars:2,consts:[["notificationsOrigin",""],["notificationsPanel",""],["notificationContent",""],["mat-icon-button","",3,"click"],[1,"absolute","left-0","right-0","top-0","flex","h-3","items-center","justify-center"],[3,"svgIcon"],[1,"ml-4","mt-2.5","flex","h-4","min-w-4","shrink-0","items-center","justify-center","rounded-full","bg-teal-600","px-1","text-xs","font-medium","text-indigo-50"],[1,"fixed","inset-0","flex","flex-col","overflow-hidden","shadow-lg","sm:static","sm:inset-auto","sm:w-90","sm:min-w-90","sm:rounded-2xl"],[1,"flex","shrink-0","items-center","bg-primary","py-4","pl-6","pr-4","text-on-primary"],[1,"-ml-1","mr-3","sm:hidden"],[1,"text-current","icon-size-5",3,"svgIcon"],[1,"text-lg","font-medium","leading-10"],[1,"ml-auto"],["mat-icon-button","",1,"dark:text-white",3,"click","matTooltip","disabled"],[1,"bg-card","relative","flex","flex-auto","flex-col","divide-y","overflow-y-auto","sm:max-h-120"],[1,"flex","flex-auto","flex-col","items-center","justify-center","px-8","py-12","sm:justify-start"],[1,"group","flex","hover:bg-gray-50","dark:hover:bg-black","dark:hover:bg-opacity-5",3,"ngClass"],[1,"flex","flex-auto","py-5","pl-6"],[1,"relative","my-5","ml-2","mr-6","flex","flex-col"],["mat-icon-button","",1,"h-6","min-h-6","w-6",3,"click","matTooltip"],[1,"h-2","w-2","rounded-full",3,"ngClass"],["mat-icon-button","",1,"h-6","min-h-6","w-6","sm:opacity-0","sm:group-hover:opacity-100",3,"click","matTooltip"],[1,"icon-size-4",3,"svgIcon"],[1,"flex","flex-auto","cursor-pointer","py-5","pl-6",3,"href"],[1,"flex","flex-auto","cursor-pointer","py-5","pl-6",3,"routerLink"],[4,"ngTemplateOutlet"],[1,"mr-4","flex","h-8","w-8","shrink-0","items-center","justify-center","rounded-full","bg-gray-100","dark:bg-gray-700"],[1,"mr-4","h-8","w-8","shrink-0","overflow-hidden","rounded-full","object-cover","object-center",3,"src","alt"],[1,"flex","flex-auto","flex-col"],[1,"line-clamp-1","font-semibold",3,"innerHTML"],[1,"line-clamp-2",3,"innerHTML"],[1,"text-secondary","mt-2","text-sm","leading-none"],[1,"icon-size-5",3,"svgIcon"],[1,"flex","h-14","w-14","flex-0","items-center","justify-center","rounded-full","bg-primary-100","dark:bg-primary-600"],[1,"text-primary-700","dark:text-primary-50",3,"svgIcon"],[1,"mt-5","text-2xl","font-semibold","tracking-tight"],[1,"text-secondary","mt-1","w-full","max-w-60","text-center","text-md"]],template:function(m,D){if(1&m){const V=c.RV6();c.j41(0,"button",3,0),c.bIt("click",function(){return c.eBV(V),c.Njj(D.openPanel())}),c.DNE(2,Fm,3,1,"span",4),c.nrm(3,"mat-icon",5),c.k0s(),c.DNE(4,zw,14,5,"ng-template",null,1,c.C5r)}2&m&&(c.R7$(2),c.vxM(D.unreadCount>0?2:-1),c.R7$(),c.Y8G("svgIcon","heroicons_outline:bell"))},dependencies:[rc.Hl,rc.iY,Ma.m_,Ma.An,vu.uc,vu.oV,Ct.YU,Ct.T3,s.Wk,Ct.vh],encapsulation:2,changeDetection:0})}}return b})();var Hw=r(5888),Ed=r(9417),zm=r(5542),zs=r(9888),Yl=r(8359),Qc=r(7336),Hm=r(9327),Ww=r(9172),Kw=r(8203);const Gw=["panel"],Xw=["*"];function Wm(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",1,0),c.bIt("@panelAnimation.done",function(D){c.eBV(d);const V=c.XpG();return c.Njj(V._animationDone.next(D))}),c.SdG(2),c.k0s()}if(2&b){const d=p.id,m=c.XpG();c.HbH(m._classList),c.AVh("mat-mdc-autocomplete-visible",m.showPanel)("mat-mdc-autocomplete-hidden",!m.showPanel)("mat-primary","primary"===m._color)("mat-accent","accent"===m._color)("mat-warn","warn"===m._color),c.Y8G("id",m.id)("@panelAnimation",m.isOpen?"visible":"hidden"),c.BMQ("aria-label",m.ariaLabel||null)("aria-labelledby",m._getPanelAriaLabelledby(d))}}const Yw=(0,Ho.hZ)("panelAnimation",[(0,Ho.wk)("void, hidden",(0,Ho.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,Ho.kY)(":enter, hidden => visible",[(0,Ho.Os)([(0,Ho.i0)("0.03s linear",(0,Ho.iF)({opacity:1})),(0,Ho.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,Ho.iF)({transform:"scaleY(1)"}))])]),(0,Ho.kY)(":leave, visible => hidden",[(0,Ho.i0)("0.075s linear",(0,Ho.iF)({opacity:0}))])]);let Zw=0;class Qw{constructor(p,d){this.source=p,this.option=d}}const Km=new c.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function Hh(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let bl=(()=>{class b{get isOpen(){return this._isOpen&&this.showPanel}_setColor(d){this._color=d,this._changeDetectorRef.markForCheck()}set classList(d){this._classList=d,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(d){this._hideSingleSelectionIndicator=d,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const d of this.options)d._changeDetectorRef.markForCheck()}constructor(d,m,D,V){this._changeDetectorRef=d,this._elementRef=m,this._defaults=D,this._activeOptionChanges=Yl.yU.EMPTY,this._animationDone=new c.bkB,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new c.bkB,this.opened=new c.bkB,this.closed=new c.bkB,this.optionActivated=new c.bkB,this.id="mat-autocomplete-"+Zw++,this.inertGroups=V?.SAFARI||!1,this.autoActiveFirstOption=!!D.autoActiveFirstOption,this.autoSelectActiveOption=!!D.autoSelectActiveOption,this.requireSelection=!!D.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new zs.Au(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(d=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[d]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(d){this.panel&&(this.panel.nativeElement.scrollTop=d)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(d){const m=new Qw(this,d);this.optionSelected.emit(m)}_getPanelAriaLabelledby(d){return this.ariaLabel?null:this.ariaLabelledby?(d?d+" ":"")+this.ariaLabelledby:d}_skipPredicate(){return!1}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(c.gRc),c.rXU(c.aKT),c.rXU(Km),c.rXU(rt.OD))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["mat-autocomplete"]],contentQueries:function(m,D,V){if(1&m&&(c.wni(V,Xe.wT,5),c.wni(V,Xe.QC,5)),2&m){let Q;c.mGM(Q=c.lsd())&&(D.options=Q),c.mGM(Q=c.lsd())&&(D.optionGroups=Q)}},viewQuery:function(m,D){if(1&m&&(c.GBs(c.C4Q,7),c.GBs(Gw,5)),2&m){let V;c.mGM(V=c.lsd())&&(D.template=V.first),c.mGM(V=c.lsd())&&(D.panel=V.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",c.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",c.L39],requireSelection:[2,"requireSelection","requireSelection",c.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",c.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",c.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[c.Jv_([{provide:Xe.is,useExisting:b}]),c.GFd,c.aNF],ngContentSelectors:Xw,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(m,D){1&m&&(c.NAR(),c.DNE(0,Wm,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Yw]},changeDetection:0})}}return b})();const Gm={provide:Ed.kq,useExisting:(0,c.Rfq)(()=>Jw),multi:!0},Kh=new c.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const b=(0,c.WQX)(Xl.hJ);return()=>b.scrollStrategies.reposition()}}),Zv={provide:Kh,deps:[Xl.hJ],useFactory:function Yv(b){return()=>b.scrollStrategies.reposition()}};let Jw=(()=>{class b{constructor(d,m,D,V,Q,vt,zt,we,lr,wr,bo){this._element=d,this._overlay=m,this._viewContainerRef=D,this._zone=V,this._changeDetectorRef=Q,this._dir=zt,this._formField=we,this._document=lr,this._viewportRuler=wr,this._defaults=bo,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Yl.yU.EMPTY,this._breakpointObserver=(0,c.WQX)(Hm.QP),this._handsetLandscapeSubscription=Yl.yU.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ta.B,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new Ta.B,this._injector=(0,c.WQX)(c.zZn),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,cu.v)(()=>{const zr=this.autocomplete?this.autocomplete.options:null;return zr?zr.changes.pipe((0,Ww.Z)(zr),(0,ht.n)(()=>(0,Gc.h)(...zr.map(ho=>ho.onSelectionChange)))):this._initialized.pipe((0,ht.n)(()=>this.optionSelections))}),this._handlePanelKeydown=zr=>{(zr.keyCode===Qc._f&&!(0,Qc.rp)(zr)||zr.keyCode===Qc.i7&&(0,Qc.rp)(zr,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),zr.stopPropagation(),zr.preventDefault())},this._trackedModal=null,this._scrollStrategy=vt}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();const d=this._getWindow();typeof d<"u"&&this._zone.runOutsideAngular(()=>d.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(d){d.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const d=this._getWindow();typeof d<"u"&&d.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&(0,zs.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,Gc.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Vt.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Vt.p)(()=>this._overlayAttached)):(0,R.of)()).pipe((0,Ga.T)(d=>d instanceof Xe.MI?d:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Gc.h)((0,bd.R)(this._document,"click"),(0,bd.R)(this._document,"auxclick"),(0,bd.R)(this._document,"touchend")).pipe((0,Vt.p)(d=>{const m=(0,rt.Fb)(d),D=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,V=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&m!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!D||!D.contains(m))&&(!V||!V.contains(m))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(m)}))}writeValue(d){Promise.resolve(null).then(()=>this._assignOptionValue(d))}registerOnChange(d){this._onChange=d}registerOnTouched(d){this._onTouched=d}setDisabledState(d){this._element.nativeElement.disabled=d}_handleKeydown(d){const m=d.keyCode,D=(0,Qc.rp)(d);if(m===Qc._f&&!D&&d.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&m===Qc.Fm&&this.panelOpen&&!D)this.activeOption._selectViaInteraction(),this._resetActiveItem(),d.preventDefault();else if(this.autocomplete){const V=this.autocomplete._keyManager.activeItem,Q=m===Qc.i7||m===Qc.n6;m===Qc.wn||Q&&!D&&this.panelOpen?this.autocomplete._keyManager.onKeydown(d):Q&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(Q||this.autocomplete._keyManager.activeItem!==V)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(d){let m=d.target,D=m.value;if("number"===m.type&&(D=""==D?null:parseFloat(D)),this._previousValue!==D){if(this._previousValue=D,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(D),D){if(this.panelOpen&&!this.autocomplete.requireSelection){const V=this.autocomplete.options?.find(Q=>Q.selected);V&&D!==this._getDisplayValue(V.value)&&V.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._document.activeElement===d.target){const V=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(V)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(d=!1){this._formField&&"auto"===this._formField.floatLabel&&(d?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const d=new T.c(D=>{(0,c.mal)(()=>{D.next()},{injector:this._injector})}),m=this.autocomplete.options.changes.pipe((0,vd.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,ct.c)(0));return(0,Gc.h)(d,m).pipe((0,ht.n)(()=>this._zone.run(()=>{const D=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),D!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,M.s)(1)).subscribe(D=>this._setValueAndClose(D))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(d){const m=this.autocomplete;return m&&m.displayWith?m.displayWith(d):d}_assignOptionValue(d){const m=this._getDisplayValue(d);null==d&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(m??"")}_updateNativeInputValue(d){this._formField?this._formField._control.value=d:this._element.nativeElement.value=d,this._previousValue=d}_setValueAndClose(d){const m=this.autocomplete,D=d?d.source:this._pendingAutoselectedOption;D?(this._clearPreviousSelectedOption(D),this._assignOptionValue(D.value),this._onChange(D.value),m._emitSelectEvent(D),this._element.nativeElement.focus()):m.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),m._animationDone?m._animationDone.pipe((0,M.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(d,m){this.autocomplete?.options?.forEach(D=>{D!==d&&D.selected&&D.deselect(m)})}_openPanelInternal(d=this._element.nativeElement.value){this._attachOverlay(d),this._floatLabel(),this._trackedModal&&(0,zs.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(d){let m=this._overlayRef;m?(this._positionStrategy.setOrigin(this._getConnectedElement()),m.updateSize({width:this._getPanelWidth()})):(this._portal=new Om.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),m=this._overlay.create(this._getOverlayConfig()),this._overlayRef=m,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&m&&m.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Hm.Rp.HandsetLandscape).subscribe(V=>{V.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),m&&!m.hasAttached()&&(m.attach(this._portal),this._valueOnAttach=d,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const D=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&D!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const d=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=d.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=d.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Xl.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const d=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(d),this._positionStrategy=d,d}_setStrategyPositions(d){const m=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],D=this._aboveClass,V=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:D},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:D}];let Q;Q="above"===this.position?V:"below"===this.position?m:[...m,...V],d.withPositions(Q)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const d=this.autocomplete;if(d.autoActiveFirstOption){let m=-1;for(let D=0;D .cdk-overlay-container [aria-modal="true"]');if(!d)return;const m=this.autocomplete.id;this._trackedModal&&(0,zs.Ae)(this._trackedModal,"aria-owns",m),(0,zs.px)(d,"aria-owns",m),this._trackedModal=d}_clearFromModal(){this._trackedModal&&((0,zs.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(c.aKT),c.rXU(Xl.hJ),c.rXU(c.c1b),c.rXU(c.SKi),c.rXU(c.gRc),c.rXU(Kh),c.rXU(Kw.dS,8),c.rXU(gr.xb,9),c.rXU(Ct.qQ,8),c.rXU(zm.Xj),c.rXU(Km,8))}}static{this.\u0275dir=c.FsC({type:b,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(m,D){1&m&&c.bIt("focusin",function(){return D._handleFocus()})("blur",function(){return D._onTouched()})("input",function(Q){return D._handleInput(Q)})("keydown",function(Q){return D._handleKeydown(Q)})("click",function(){return D._handleClick()}),2&m&&c.BMQ("autocomplete",D.autocompleteAttribute)("role",D.autocompleteDisabled?null:"combobox")("aria-autocomplete",D.autocompleteDisabled?null:"list")("aria-activedescendant",D.panelOpen&&D.activeOption?D.activeOption.id:null)("aria-expanded",D.autocompleteDisabled?null:D.panelOpen.toString())("aria-controls",D.autocompleteDisabled||!D.panelOpen||null==D.autocomplete?null:D.autocomplete.id)("aria-haspopup",D.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",c.L39]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[c.Jv_([Gm]),c.GFd,c.OA$]})}}return b})(),pf=(()=>{class b{static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275mod=c.$C({type:b})}static{this.\u0275inj=c.G2t({providers:[Zv],imports:[Xl.z_,Xe.Sy,Xe.yE,Ct.MD,zm.Gj,Xe.Sy,Xe.yE]})}}return b})();var hf=r(9042),Qv=r(152),t0=r(7291);const Xm=["barSearchInput"],e0=["matAutocomplete"];function r0(b,p){if(1&b){const d=c.RV6();c.j41(0,"button",5),c.bIt("click",function(){c.eBV(d);const D=c.XpG(2);return c.Njj(D.open())}),c.nrm(1,"mat-icon",6),c.k0s()}2&b&&(c.R7$(),c.Y8G("svgIcon","heroicons_outline:magnifying-glass"))}function o0(b,p){1&b&&(c.j41(0,"mat-option",14),c.EFF(1," No results found! "),c.k0s())}function n0(b,p){if(1&b){const d=c.RV6();c.j41(0,"img",22),c.bIt("error",function(D){c.eBV(d);const V=c.XpG(5);return c.Njj(V.handleImageError(D))}),c.k0s()}if(2&b){const d=c.XpG().$implicit;c.Mz_("alt","",d.name,"'s avatar"),c.Y8G("src",d.avatar,c.B4B)}}function a0(b,p){1&b&&(c.qex(0),c.nrm(1,"mat-icon",23),c.bVm()),2&b&&(c.R7$(),c.Y8G("svgIcon","heroicons_outline:user-circle"))}function Ym(b,p){if(1&b&&(c.j41(0,"div",24),c.EFF(1),c.k0s()),2&b){const d=c.XpG().$implicit;c.R7$(),c.SpI(" ",d.about," ")}}function Zm(b,p){if(1&b&&(c.qex(0),c.j41(1,"mat-option",15)(2,"div",16)(3,"div",17),c.DNE(4,n0,1,3,"img",18)(5,a0,2,1,"ng-container",2),c.k0s(),c.j41(6,"div",19)(7,"span",20),c.EFF(8),c.k0s(),c.DNE(9,Ym,2,1,"div",21),c.k0s()()(),c.bVm()),2&b){const d=p.$implicit;c.R7$(),c.Y8G("routerLink",d.link)("value",d.name),c.R7$(3),c.Y8G("ngIf",d.avatar),c.R7$(),c.Y8G("ngIf",!d.avatar),c.R7$(3),c.JRh(d.name),c.R7$(),c.Y8G("ngIf",d.about)}}function s0(b,p){if(1&b&&(c.qex(0),c.DNE(1,Zm,10,6,"ng-container",12),c.bVm()),2&b){const d=p.$implicit,m=c.XpG(3);c.R7$(),c.Y8G("ngForOf",d.results)("ngForTrackBy",m.trackByFn)}}function c0(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",7),c.nrm(1,"mat-icon",8),c.j41(2,"input",9,0),c.bIt("keydown",function(D){c.eBV(d);const V=c.XpG(2);return c.Njj(V.onKeydown(D))}),c.k0s(),c.j41(4,"mat-autocomplete",10,1),c.DNE(6,o0,2,0,"mat-option",11)(7,s0,2,2,"ng-container",12),c.k0s(),c.j41(8,"button",13),c.bIt("click",function(){c.eBV(d);const D=c.XpG(2);return c.Njj(D.close())}),c.nrm(9,"mat-icon",6),c.k0s()()}if(2&b){const d=c.sdS(5),m=c.XpG(2);c.Y8G("@slideInTop",void 0)("@slideOutTop",void 0),c.R7$(),c.Y8G("svgIcon","heroicons_outline:magnifying-glass"),c.R7$(),c.Y8G("formControl",m.searchControl)("matAutocomplete",d)("placeholder","Search..."),c.R7$(2),c.Y8G("autoSelectActiveOption",!0)("disableRipple",!0),c.R7$(2),c.Y8G("ngIf",m.resultSets&&!m.resultSets.length),c.R7$(),c.Y8G("ngForOf",m.resultSets)("ngForTrackBy",m.trackByFn),c.R7$(2),c.Y8G("svgIcon","heroicons_outline:x-mark")}}function Qm(b,p){if(1&b&&(c.j41(0,"div"),c.DNE(1,r0,2,1,"button",3)(2,c0,10,12,"div",4),c.k0s()),2&b){const d=c.XpG();c.R7$(),c.Y8G("ngIf",!d.opened),c.R7$(),c.Y8G("ngIf",d.opened)}}let pp=(()=>{class b{constructor(d,m){this._storageService=d,this._sanitizer=m,this.appearance="basic",this.debounce=300,this.minLength=2,this.search=new c.bkB,this.opened=!1,this.searchControl=new Ed.hs,this._unsubscribeAll=new Ta.B}set barSearchInput(d){d&&setTimeout(()=>{d.nativeElement.focus()})}set matAutocomplete(d){this._matAutocomplete=d}ngOnChanges(d){"appearance"in d&&this.close()}ngOnInit(){var d=this;this.searchControl.valueChanges.pipe((0,Qv.B)(this.debounce),(0,Vs.Q)(this._unsubscribeAll),(0,Ga.T)(m=>((!m||m.lengthm&&m.length>=this.minLength)).subscribe(function(){var m=(0,k.A)(function*(D){const V=yield d._storageService.searchProfile(D);d.resultSets=V.map(Q=>({label:"Project",results:[{name:Q.profile.name||Q.profile.displayName||Q.pubKey,pubkey:Q.pubKey,username:Q.profile.username||"",website:Q.profile.website||"",about:Q.profile.about?Q.profile.about.replace(/<\/?[^>]+(>|$)/g,""):"",avatar:Q.profile.picture||null,banner:Q.profile.banner||null,link:`/profile/${Q.pubKey}`}]})),d.search.next(d.resultSets)});return function(D){return m.apply(this,arguments)}}())}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}onKeydown(d){"Escape"===d.code&&"bar"===this.appearance&&!this._matAutocomplete.isOpen&&this.close()}open(){this.opened||(this.opened=!0)}close(){this.opened&&(this.searchControl.setValue(""),this.opened=!1)}trackByFn(d,m){return m.id||d}handleImageError(d){const m=d.target;m.onerror=null,m.src="images/avatars/avatar-placeholder.png"}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(t0.n),c.rXU(o.up))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["search"]],viewQuery:function(m,D){if(1&m&&(c.GBs(Xm,5),c.GBs(e0,5)),2&m){let V;c.mGM(V=c.lsd())&&(D.barSearchInput=V.first),c.mGM(V=c.lsd())&&(D.matAutocomplete=V.first)}},inputs:{appearance:"appearance",debounce:"debounce",minLength:"minLength"},outputs:{search:"search"},exportAs:["angorSearch"],standalone:!0,features:[c.Jv_([{provide:Kh,useFactory:()=>{const d=(0,c.WQX)(Xl.hJ);return()=>d.scrollStrategies.block()}}]),c.OA$,c.aNF],decls:1,vars:1,consts:[["barSearchInput",""],["matAutocomplete","matAutocomplete"],[4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],["class","bg-card absolute inset-0 z-99 flex shrink-0 items-center",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"svgIcon"],[1,"bg-card","absolute","inset-0","z-99","flex","shrink-0","items-center"],[1,"absolute","ml-6","sm:ml-8",3,"svgIcon"],[1,"h-full","w-full","px-16","sm:px-18",3,"keydown","formControl","matAutocomplete","placeholder"],[1,"max-h-128","rounded-b","border-t","shadow-md","sm:px-2",3,"autoSelectActiveOption","disableRipple"],["class","text-secondary pointer-events-none bg-transparent px-6 py-0 text-md",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-icon-button","",1,"absolute","right-5","top-1/2","-mt-5","h-10","w-10","shrink-0","sm:right-7",3,"click"],[1,"text-secondary","pointer-events-none","bg-transparent","px-6","py-0","text-md"],[1,"group","relative","mb-1","rounded-md","px-6","py-0","text-md","dark:hover:bg-hover","hover:bg-gray-100",3,"routerLink","value"],[1,"flex","items-center"],[1,"flex","h-8","w-8","shrink-0","items-center","justify-center","overflow-hidden","rounded-full","bg-primary-100","dark:bg-primary-800"],["class","h-full w-full object-cover",3,"src","alt","error",4,"ngIf"],[1,"ml-3","truncate"],[1,"font-semibold"],["class","text-sm text-gray-500",4,"ngIf"],[1,"h-full","w-full","object-cover",3,"error","src","alt"],[1,"m-0","text-primary","icon-size-5","dark:text-primary-400",3,"svgIcon"],[1,"text-sm","text-gray-500"]],template:function(m,D){1&m&&c.DNE(0,Qm,3,2,"div",2),2&m&&c.Y8G("ngIf","bar"===D.appearance)},dependencies:[rc.Hl,rc.iY,Ma.m_,Ma.An,Ed.YN,Ed.me,Ed.BC,pf,bl,Xe.wT,Jw,Ed.X1,Ed.l_,Xe.Sy,s.Wk,gr.RG,hf.fS,Ct.MD,Ct.Sq,Ct.bT],encapsulation:2,data:{animation:Hw.F}})}}return b})();var gf=r(1997),ku=r(9115),qm=r(881),Cd=r(2332);function Jm(b,p){if(1&b&&(c.qex(0),c.nrm(1,"img",14),c.bVm()),2&b){const d=c.XpG();c.R7$(),c.Y8G("src",d.getSafeUrl(null==d.user?null:d.user.picture),c.B4B)}}function l0(b,p){1&b&&c.nrm(0,"mat-icon",12),2&b&&c.Y8G("svgIcon","heroicons_outline:user-circle")}let Gh=(()=>{class b{constructor(d,m,D,V,Q,vt,zt,we){this._changeDetectorRef=d,this._router=m,this._angorConfigService=D,this._signerService=V,this._storageService=Q,this.sanitizer=vt,this._changeDetectorRefef=zt,this._nostrLoginService=we,this.isLoading=!0,this.errorMessage=null,this._unsubscribeAll=new Ta.B}ngOnInit(){this.userPubKey=this._signerService.getPublicKey(),this._angorConfigService.config$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{localStorage.setItem("angorConfig",JSON.stringify(d)),this.config=d,this._changeDetectorRef.detectChanges()}),this._storageService.profile$.subscribe(d=>{d&&d.pubKey===this.userPubKey&&(this.user=d.metadata,this._changeDetectorRefef.detectChanges())}),this.loadUserProfile()}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}loadUserProfile(){var d=this;return(0,k.A)(function*(){d._storageService.getProfile(d.userPubKey).then(m=>{d.user=m,d._changeDetectorRefef.detectChanges()})})()}logout(){this._router.navigate(["/logout"])}profile(){this._router.navigate(["/profile"])}setLayout(d){this._angorConfigService.config={layout:d},this._changeDetectorRef.detectChanges()}setScheme(d){this._angorConfigService.config={scheme:d},this._changeDetectorRef.detectChanges()}setTheme(d){this._angorConfigService.config={theme:d},this._changeDetectorRef.detectChanges()}getSafeUrl(d){return this.sanitizer.bypassSecurityTrustUrl(d)}Switch(){this._nostrLoginService.switchAccount()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(c.gRc),c.rXU(s.Ix),c.rXU(qm.P),c.rXU(Nc.A),c.rXU(t0.n),c.rXU(o.up),c.rXU(c.gRc),c.rXU(Cd.v))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["user"]],standalone:!0,features:[c.aNF],decls:52,vars:13,consts:[["defaultAvatar",""],["userActions","matMenu"],["settingsMenu","matMenu"],["mat-icon-button","",3,"matMenuTriggerFor"],[1,"relative"],[4,"ngIf","ngIfElse"],[3,"xPosition"],["mat-menu-item",""],[1,"flex","flex-col","leading-none"],[1,"mt-1.5","text-md","font-medium"],[1,"my-2"],["mat-menu-item","",3,"click"],[3,"svgIcon"],["mat-menu-item","",3,"matMenuTriggerFor"],["alt","","onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"h-7","w-7","rounded-full","object-cover",3,"src"]],template:function(m,D){if(1&m){const V=c.RV6();c.j41(0,"button",3)(1,"span",4),c.DNE(2,Jm,2,1,"ng-container",5)(3,l0,1,1,"ng-template",null,0,c.C5r),c.k0s()(),c.j41(5,"mat-menu",6,1)(7,"button",7)(8,"span",8)(9,"span"),c.EFF(10,"Logged in as"),c.k0s(),c.j41(11,"span",9),c.EFF(12),c.k0s()()(),c.nrm(13,"mat-divider",10),c.j41(14,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.Switch())}),c.nrm(15,"mat-icon",12),c.j41(16,"span"),c.EFF(17,"Switch account"),c.k0s()(),c.j41(18,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.profile())}),c.nrm(19,"mat-icon",12),c.j41(20,"span"),c.EFF(21,"Profile"),c.k0s()(),c.j41(22,"button",13),c.nrm(23,"mat-icon",12),c.j41(24,"span"),c.EFF(25,"Settings"),c.k0s()(),c.nrm(26,"mat-divider",10),c.j41(27,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.logout())}),c.nrm(28,"mat-icon",12),c.j41(29,"span"),c.EFF(30,"logout"),c.k0s()()(),c.j41(31,"mat-menu",null,2)(33,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setScheme("auto"))}),c.nrm(34,"mat-icon",12),c.j41(35,"span"),c.EFF(36,"Auto Theme"),c.k0s()(),c.j41(37,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setScheme("light"))}),c.nrm(38,"mat-icon",12),c.j41(39,"span"),c.EFF(40,"Light Theme"),c.k0s()(),c.j41(41,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setScheme("dark"))}),c.nrm(42,"mat-icon",12),c.j41(43,"span"),c.EFF(44,"Dark Theme"),c.k0s()(),c.nrm(45,"mat-divider"),c.j41(46,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setLayout("classic"))}),c.j41(47,"span"),c.EFF(48,"Classic Layout"),c.k0s()(),c.j41(49,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setLayout("modern"))}),c.j41(50,"span"),c.EFF(51,"Modern Layout"),c.k0s()()()}if(2&m){const V=c.sdS(4),Q=c.sdS(6),vt=c.sdS(32);c.Y8G("matMenuTriggerFor",Q),c.R7$(2),c.Y8G("ngIf",null==D.user?null:D.user.picture)("ngIfElse",V),c.R7$(3),c.Y8G("xPosition","before"),c.R7$(7),c.JRh((null==D.user?null:D.user.display_name)||(null==D.user?null:D.user.name)||"Unknown User"),c.R7$(3),c.Y8G("svgIcon","heroicons_outline:user-circle"),c.R7$(4),c.Y8G("svgIcon","heroicons_outline:user-circle"),c.R7$(3),c.Y8G("matMenuTriggerFor",vt),c.R7$(),c.Y8G("svgIcon","heroicons_outline:cog-8-tooth"),c.R7$(5),c.Y8G("svgIcon","heroicons_outline:arrow-right-on-rectangle"),c.R7$(6),c.Y8G("svgIcon","heroicons_solid:bolt"),c.R7$(4),c.Y8G("svgIcon","heroicons_solid:sun"),c.R7$(4),c.Y8G("svgIcon","heroicons_solid:moon")}},dependencies:[rc.Hl,rc.iY,ku.Cn,ku.kk,ku.fb,ku.Cp,Ma.m_,Ma.An,gf.w,gf.q,Ct.MD,Ct.bT],encapsulation:2,changeDetection:0})}}return b})();var ff=r(3236);let u0=(()=>{class b{constructor(d,m){this.swUpdate=d,this.zone=m,this.newVersionAvailableSubject=new $t.t(!1),this.isNewVersionAvailable$=this.newVersionAvailableSubject.asObservable(),this.intervalSource=function d0(b=0,p=ff.E){return b<0&&(b=0),(0,Th.O)(b,b,p)}(9e5),this.checkForUpdateOnLoad(),this.checkForUpdateOnInterval()}applyUpdate(){this.swUpdate.activateUpdate().then(()=>document.location.reload()).catch(d=>console.error("Failed to apply updates:",d))}checkForUpdateOnInterval(){var d=this;this.unsubscribeInterval(),this.swUpdate.isEnabled&&this.zone.runOutsideAngular(()=>{this.intervalSubscription=this.intervalSource.subscribe((0,k.A)(function*(){try{(yield d.swUpdate.checkForUpdate())&&d.newVersionAvailableSubject.next(!0)}catch(m){console.error("Failed to check for updates:",m)}}))})}checkForUpdateOnLoad(){this.unsubscribeNewVersion(),this.swUpdate.isEnabled&&(this.newVersionSubscription=this.swUpdate.versionUpdates.subscribe(d=>{switch(d.type){case"VERSION_DETECTED":break;case"VERSION_READY":this.newVersionAvailableSubject.next(!0);break;case"VERSION_INSTALLATION_FAILED":console.error(`Failed to install app version '${d.version.hash}': ${d.error}`)}}))}unsubscribeInterval(){this.intervalSubscription&&this.intervalSubscription.unsubscribe()}unsubscribeNewVersion(){this.newVersionSubscription&&this.newVersionSubscription.unsubscribe()}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(uu),c.KVO(c.SKi))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();function p0(b,p){if(1&b){const d=c.RV6();c.j41(0,"button",1),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.applyUpdate())}),c.nrm(1,"mat-icon",2),c.k0s()}if(2&b){const d=c.XpG();c.Y8G("matTooltip",d.tooltip||"Update App"),c.R7$(),c.Y8G("svgIcon","heroicons_outline:cloud-arrow-down")}}let tb=(()=>{class b{constructor(d,m){this.updateService=d,this._changeDetectorRef=m,this.updateService.isNewVersionAvailable$.subscribe(D=>{D&&this._changeDetectorRef.detectChanges()})}applyUpdate(){this.updateService.applyUpdate()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(u0),c.rXU(c.gRc))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["update"]],inputs:{tooltip:"tooltip"},exportAs:["update"],standalone:!0,features:[c.aNF],decls:2,vars:3,consts:[["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"click","matTooltip"],[3,"svgIcon"]],template:function(m,D){1&m&&(c.DNE(0,p0,2,2,"button",0),c.nI1(1,"async")),2&m&&c.Y8G("ngIf",c.bMT(1,1,D.updateService.isNewVersionAvailable$))},dependencies:[rc.Hl,rc.iY,Ma.m_,Ma.An,vu.uc,vu.oV,Ct.MD,Ct.bT,Ct.Jj],encapsulation:2,changeDetection:0})}}return b})();function eb(b,p){if(1&b&&(c.j41(0,"angor-vertical-navigation",0),c.qex(1,10),c.j41(2,"div",11),c.nrm(3,"img",12),c.k0s(),c.bVm(),c.k0s()),2&b){const d=c.XpG();c.Y8G("mode","over")("name","mainNavigation")("navigation",d.navigation.default)("opened",!1)}}function qv(b,p){if(1&b&&(c.j41(0,"div",13)(1,"div",14),c.nrm(2,"img",15)(3,"img",16),c.k0s(),c.nrm(4,"img",17),c.k0s(),c.nrm(5,"angor-horizontal-navigation",18)),2&b){const d=c.XpG();c.R7$(5),c.Y8G("name","mainNavigation")("navigation",d.navigation.horizontal)}}function Jv(b,p){if(1&b){const d=c.RV6();c.j41(0,"button",19),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.toggleNavigation("mainNavigation"))}),c.nrm(1,"mat-icon",20),c.k0s()}2&b&&(c.R7$(),c.Y8G("svgIcon","heroicons_outline:bars-3"))}function hp(b,p){1&b&&c.nrm(0,"router-outlet")}let h0=(()=>{class b{constructor(d,m,D,V,Q){this._activatedRoute=d,this._router=m,this._navigationService=D,this._angorMediaWatcherService=V,this._angorNavigationService=Q,this._unsubscribeAll=new Ta.B,this.version=_d}get currentYear(){return(new Date).getFullYear()}ngOnInit(){this._navigationService.navigation$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{this.navigation=d}),this._angorMediaWatcherService.onMediaChange$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(({matchingAliases:d})=>{this.isScreenSmall=!d.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(d){const m=this._angorNavigationService.getComponent(d);m&&m.toggle()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(s.nX),c.rXU(s.Ix),c.rXU(Rs),c.rXU(at.l),c.rXU(xu.lX))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["modern-layout"]],standalone:!0,features:[c.aNF],decls:17,vars:7,consts:[[1,"dark","bg-gray-900","print:hidden",3,"mode","name","navigation","opened"],[1,"flex","w-full","min-w-0","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-16","w-full","flex-0","items-center","px-4","shadow","dark:border-b","dark:bg-transparent","dark:shadow-none","sm:h-20","md:px-6","print:hidden"],["mat-icon-button",""],[1,"ml-auto","flex","items-center","space-x-0.5","pl-2","sm:space-x-2"],[1,"hidden","md:block"],[3,"appearance"],[1,"flex","w-full","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-14","w-full","flex-0","items-center","border-t","px-4","dark:bg-transparent","sm:h-20","md:px-6","print:hidden"],[1,"text-secondary","font-medium"],["angorVerticalNavigationContentHeader",""],[1,"flex","h-20","items-center","px-8","pt-6"],["src","images/logo/logo-text-on-dark.svg","alt","Angor Hub",1,"h-10","w-24"],[1,"mx-2","flex","items-center","lg:mr-8"],[1,"hidden","lg:flex"],["src","images/logo/logo-text.svg",1,"h-10","w-24","dark:hidden"],["src","images/logo/logo-text-on-dark.svg",1,"hidden","h-10","w-24","dark:flex"],["src","images/logo/logo.svg",1,"flex","w-8","lg:hidden"],[1,"mr-2",3,"name","navigation"],["mat-icon-button","",3,"click"],[3,"svgIcon"]],template:function(m,D){1&m&&(c.nrm(0,"angor-loading-bar"),c.DNE(1,eb,4,4,"angor-vertical-navigation",0),c.j41(2,"div",1)(3,"div",2),c.DNE(4,qv,6,2)(5,Jv,2,1,"button",3),c.j41(6,"div",4),c.nrm(7,"update")(8,"angor-fullscreen",5)(9,"search",6)(10,"notifications")(11,"user"),c.k0s()(),c.j41(12,"div",7),c.DNE(13,hp,1,0,"router-outlet"),c.k0s(),c.j41(14,"div",8)(15,"span",9),c.EFF(16),c.k0s()()()),2&m&&(c.R7$(),c.vxM(D.isScreenSmall?1:-1),c.R7$(3),c.vxM(D.isScreenSmall?-1:4),c.R7$(),c.vxM(D.isScreenSmall?5:-1),c.R7$(4),c.Y8G("appearance","bar"),c.R7$(4),c.vxM(13),c.R7$(3),c.Lme("Angor Hub \xa9 ",D.currentYear," - version ",D.version,""))},dependencies:[up,xu.Tv,xu.$w,rc.Hl,rc.iY,Ma.m_,Ma.An,$h,pp,Vm,Gh,s.n3,tb],encapsulation:2})}}return b})();function g0(b,p){1&b&&c.nrm(0,"router-outlet")}let f0=(()=>{class b{constructor(d,m,D,V,Q){this._activatedRoute=d,this._router=m,this._navigationService=D,this._angorMediaWatcherService=V,this._angorNavigationService=Q,this._unsubscribeAll=new Ta.B,this.version=_d}get currentYear(){return(new Date).getFullYear()}ngOnInit(){this._navigationService.navigation$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{this.navigation=d}),this._angorMediaWatcherService.onMediaChange$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(({matchingAliases:d})=>{this.isScreenSmall=!d.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(d){const m=this._angorNavigationService.getComponent(d);m&&m.toggle()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(s.nX),c.rXU(s.Ix),c.rXU(Rs),c.rXU(at.l),c.rXU(xu.lX))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["classic-layout"]],standalone:!0,features:[c.aNF],decls:21,vars:9,consts:[[1,"dark","bg-gray-900","print:hidden",3,"mode","name","navigation","opened"],["angorVerticalNavigationContentHeader",""],[1,"flex","h-20","items-center","p-6"],["src","images/logo/logo-text.svg","alt","Angor Hub",1,"w-30","dark:hidden"],["src","images/logo/logo-text-on-dark.svg","alt","Angor Hub",1,"hidden","w-30","dark:flex"],[1,"flex","w-full","min-w-0","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-16","w-full","flex-0","items-center","px-4","shadow","dark:border-b","dark:bg-transparent","dark:shadow-none","md:px-6","print:hidden"],["mat-icon-button","",3,"click"],[3,"svgIcon"],[1,"ml-auto","flex","items-center","space-x-0.5","pl-2","sm:space-x-2"],[1,"hidden","md:block"],[3,"appearance"],[1,"flex","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-14","w-full","flex-0","items-center","justify-start","border-t","px-4","dark:bg-transparent","md:px-6","print:hidden"],[1,"text-secondary","font-medium"]],template:function(m,D){1&m&&(c.nrm(0,"angor-loading-bar"),c.j41(1,"angor-vertical-navigation",0),c.qex(2,1),c.j41(3,"div",2),c.nrm(4,"img",3)(5,"img",4),c.k0s(),c.bVm(),c.k0s(),c.j41(6,"div",5)(7,"div",6)(8,"button",7),c.bIt("click",function(){return D.toggleNavigation("mainNavigation")}),c.nrm(9,"mat-icon",8),c.k0s(),c.j41(10,"div",9),c.nrm(11,"update")(12,"angor-fullscreen",10)(13,"search",11)(14,"notifications")(15,"user"),c.k0s()(),c.j41(16,"div",12),c.DNE(17,g0,1,0,"router-outlet"),c.k0s(),c.j41(18,"div",13)(19,"span",14),c.EFF(20),c.k0s()()()),2&m&&(c.R7$(),c.Y8G("mode",D.isScreenSmall?"over":"side")("name","mainNavigation")("navigation",D.navigation.default)("opened",!D.isScreenSmall),c.R7$(8),c.Y8G("svgIcon","heroicons_outline:bars-3"),c.R7$(4),c.Y8G("appearance","bar"),c.R7$(4),c.vxM(17),c.R7$(3),c.Lme("Angor Hub \xa9 ",D.currentYear," - version ",D.version,""))},dependencies:[up,xu.Tv,rc.Hl,rc.iY,Ma.m_,Ma.An,$h,pp,Vm,Gh,s.n3,tb],encapsulation:2})}}return b})();function rb(b,p){1&b&&c.nrm(0,"empty-layout")}function m0(b,p){1&b&&c.nrm(0,"modern-layout")}function b0(b,p){1&b&&c.nrm(0,"classic-layout")}let mf=(()=>{class b{constructor(d,m,D,V,Q,vt,zt){this._activatedRoute=d,this._document=m,this._renderer2=D,this._router=V,this._angorConfigService=Q,this._angorMediaWatcherService=vt,this._angorPlatformService=zt,this._unsubscribeAll=new Ta.B}ngOnInit(){(0,pu.z)([this._angorConfigService.config$,this._angorMediaWatcherService.onMediaQueryChange$(["(prefers-color-scheme: dark)","(prefers-color-scheme: light)"])]).pipe((0,Vs.Q)(this._unsubscribeAll),(0,Ga.T)(([d,m])=>{const D={scheme:d.scheme,theme:d.theme};return"auto"===d.scheme&&(D.scheme=m.breakpoints["(prefers-color-scheme: dark)"]?"dark":"light"),D})).subscribe(d=>{this.scheme=d.scheme,this.theme=d.theme,this._updateScheme(),this._updateTheme()}),this._angorConfigService.config$.pipe((0,Vs.Q)(this._unsubscribeAll)).subscribe(d=>{this.config=d,this._updateLayout()}),this._router.events.pipe((0,Vt.p)(d=>d instanceof s.wF),(0,Vs.Q)(this._unsubscribeAll)).subscribe(()=>{this._updateLayout()}),this._renderer2.setAttribute(this._document.querySelector("[ng-version]"),"angor-version",_d),this._renderer2.addClass(this._document.body,this._angorPlatformService.osName)}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}_updateLayout(){let d=this._activatedRoute;for(;d.firstChild;)d=d.firstChild;this.layout=this.config.layout;const m=d.snapshot.queryParamMap.get("layout");m&&(this.layout=m,this.config&&(this.config.layout=m)),d.pathFromRoot.forEach(V=>{V.routeConfig&&V.routeConfig.data&&V.routeConfig.data.layout&&(this.layout=V.routeConfig.data.layout)})}_updateScheme(){this._document.body.classList.remove("light","dark"),this._document.body.classList.add(this.scheme)}_updateTheme(){this._document.body.classList.forEach(d=>{d.startsWith("theme-")&&this._document.body.classList.remove(d,d.split("-")[1])}),this._document.body.classList.add(this.theme)}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(s.nX),c.rXU(Ct.qQ),c.rXU(c.sFG),c.rXU(s.Ix),c.rXU(qm.P),c.rXU(at.l),c.rXU(yt))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["layout"]],standalone:!0,features:[c.aNF],decls:3,vars:3,template:function(m,D){1&m&&c.DNE(0,rb,1,0,"empty-layout")(1,m0,1,0,"modern-layout")(2,b0,1,0,"classic-layout"),2&m&&(c.vxM("empty"===D.layout?0:-1),c.R7$(),c.vxM("modern"===D.layout?1:-1),c.R7$(),c.vxM("classic"===D.layout?2:-1))},dependencies:[Gv,h0,f0],styles:["layout{display:flex;flex:1 1 auto;width:100%;max-width:100%;min-width:0}layout>*{position:relative;display:flex;flex:1 1 auto;width:100%}layout router-outlet+*{position:relative;display:flex;flex:1 1 auto;width:100%}\n"],encapsulation:2})}}return b})();const Xh=()=>{const b=(0,c.WQX)(Nc.A),p=(0,c.WQX)(s.Ix);return""!==b.getPublicKey()||p.parseUrl("/login")},w0=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"project/:pubkey",pathMatch:"full",redirectTo:"explore"},{path:"login-redirect",pathMatch:"full",redirectTo:"explore"},{path:"",component:mf,data:{layout:"empty"},children:[{path:"login",loadChildren:()=>Promise.all([r.e(588),r.e(770)]).then(r.bind(r,770))},{path:"create",loadChildren:()=>Promise.all([r.e(588),r.e(408)]).then(r.bind(r,1408))}]},{path:"",canActivate:[Xh],canActivateChild:[Xh],component:mf,data:{layout:"empty"},children:[{path:"logout",loadChildren:()=>r.e(514).then(r.bind(r,1514))}]},{path:"",canActivate:[Xh],canActivateChild:[Xh],component:mf,resolve:{initialData:()=>{const b=(0,c.WQX)(Rs);return(0,c.WQX)(Gl),(0,Oc.p)([b.get()])}},children:[{path:"home",loadChildren:()=>Promise.all([r.e(130),r.e(541)]).then(r.bind(r,5541))},{path:"explore",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(632)]).then(r.bind(r,6632))},{path:"bookmark",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(364)]).then(r.bind(r,8364))},{path:"profile",loadChildren:()=>Promise.all([r.e(450),r.e(606),r.e(130),r.e(347)]).then(r.bind(r,6347))},{path:"profile/:pubkey",loadChildren:()=>Promise.all([r.e(450),r.e(606),r.e(130),r.e(347)]).then(r.bind(r,6347))},{path:"settings",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(19)]).then(r.bind(r,2019))},{path:"settings/:id",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(19)]).then(r.bind(r,2019))},{path:"chat",loadChildren:()=>Promise.all([r.e(606),r.e(260)]).then(r.bind(r,260))},{path:"404-not-found",pathMatch:"full",loadChildren:()=>r.e(258).then(r.bind(r,5258))},{path:"**",redirectTo:"404-not-found"}]}];let y0=(()=>{class b{constructor(){const d=(0,c.WQX)(o.up),m=(0,c.WQX)(Ma.tp);m.addSvgIconSet(d.bypassSecurityTrustResourceUrl("icons/material-twotone.svg")),m.addSvgIconSetInNamespace("mat_outline",d.bypassSecurityTrustResourceUrl("icons/material-outline.svg")),m.addSvgIconSetInNamespace("mat_solid",d.bypassSecurityTrustResourceUrl("icons/material-solid.svg")),m.addSvgIconSetInNamespace("feather",d.bypassSecurityTrustResourceUrl("icons/feather.svg")),m.addSvgIconSetInNamespace("heroicons_outline",d.bypassSecurityTrustResourceUrl("icons/heroicons-outline.svg")),m.addSvgIconSetInNamespace("heroicons_solid",d.bypassSecurityTrustResourceUrl("icons/heroicons-solid.svg")),m.addSvgIconSetInNamespace("heroicons_mini",d.bypassSecurityTrustResourceUrl("icons/heroicons-mini.svg"))}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var t1=r(9350),e1=r(7707);let r1=(()=>{class b{constructor(d){this.httpClient=d}getTranslation(d){return this.httpClient.get(`./i18n/${d}.json`)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(q.Qq))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();const o1=[{id:"home",title:"Home",type:"basic",icon:"heroicons_outline:home",link:"/home"},{id:"explore",title:"Explore",type:"basic",icon:"heroicons_outline:magnifying-glass",link:"/explore"},{id:"bookmark",title:"Bookmark",type:"basic",icon:"heroicons_outline:bookmark",link:"/bookmark"},{id:"chat",title:"Chat",type:"basic",icon:"heroicons_outline:chat-bubble-left-right",link:"/chat",badge:{title:"27",classes:"px-2 bg-[#086c81] text-white rounded-full"}},{id:"profile",title:"Profile",type:"basic",icon:"heroicons_outline:user",link:"/profile"},{id:"settings",title:"Settings",type:"basic",icon:"heroicons_outline:cog-6-tooth",link:"/settings"}],n1=[{id:"home",title:"Home",type:"basic",icon:"heroicons_outline:home",link:"/home"},{id:"explore",title:"Explore",type:"basic",icon:"heroicons_outline:magnifying-glass",link:"/explore"},{id:"bookmark",title:"Bookmark",type:"basic",icon:"heroicons_outline:bookmark",link:"/bookmark"},{id:"chat",title:"Chat",type:"basic",icon:"heroicons_outline:chat-bubble-left-right",link:"/chat",badge:{title:"27",classes:"px-2 bg-[#086c81] text-white rounded-full"}},{id:"profile",title:"Profile",type:"basic",icon:"heroicons_outline:user",link:"/profile"},{id:"settings",title:"Settings",type:"basic",icon:"heroicons_outline:cog-6-tooth",link:"/settings"}];var a1=r(7730);var Yh=r(1984),Dd=r(7517),ob=r(6726),nb=r(5776);const _0=(0,r(8992).A)(Object.keys,Object);var Eu=Object.prototype.hasOwnProperty;var sb=r(1287);const yf=function c1(b){return(0,sb.A)(b)?(0,ob.A)(b):function oc(b){if(!(0,nb.A)(b))return _0(b);var p=[];for(var d in Object(b))Eu.call(b,d)&&"constructor"!=d&&p.push(d);return p}(b)};var Zh=r(133);var Qh=r(9933),vf=r(4528);const qh=function Cu(){return[]};var _f=Object.prototype.propertyIsEnumerable,gp=Object.getOwnPropertySymbols;const kf=gp?function(b){return null==b?[]:(b=Object(b),function xf(b,p){for(var d=-1,m=null==b?0:b.length,D=0,V=[];++d{class b{constructor(d){this._angorMockApiService=d,this._defaultNavigation=o1,this._horizontalNavigation=n1,this.registerHandlers()}registerHandlers(){this._angorMockApiService.onGet("api/navigation").reply(()=>(this._horizontalNavigation.forEach(d=>{this._defaultNavigation.forEach(m=>{m.id===d.id&&(d.children=jf(m.children))})}),[200,{default:jf(this._defaultNavigation),horizontal:jf(this._horizontalNavigation)}]))}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(W))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()];let Vf=(()=>{class b{constructor(d){this.http=d,this.timestamp=null,this.ngswFilePath="/ngsw.json"}load(){var d=this;return(0,k.A)(function*(){try{const m=yield d.http.get(d.ngswFilePath).toPromise();m&&m.timestamp?(d.timestamp=m.timestamp,console.log("Timestamp successfully loaded:",d.timestamp)):console.error("Invalid data format in ngsw.json")}catch(m){console.error("Error loading ngsw.json:",m)}})()}getTimestamp(){return this.timestamp}loadHash(){return this.http.get(this.ngswFilePath).pipe((0,Ga.T)(d=>d.timestamp||null),(0,zl.W)(d=>(console.error("Error fetching ngsw.json hash:",d),(0,I.$)(()=>new Error("Failed to load hash.")))))}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(q.Qq))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var Hb=r(2083),f1=r(6616);const b1={providers:[function qg(){return(0,c.ngT)("NgEagerAnimations"),[...qu]}(),(0,q.$R)(),function Dh(b,p={}){return(0,c.EmA)([fc,uu,{provide:ep,useValue:b},{provide:Ch,useValue:p},{provide:$l,useFactory:ef,deps:[Ch,c.Agw]},{provide:c.hnV,useFactory:Mm,deps:[c.zZn,ep,Ch,c.Agw],multi:!0}])}("ngsw-worker.js",{enabled:!(0,c.naY)(),registrationStrategy:"registerWhenStable:30000"}),{provide:c.hnV,useFactory:function uy(b){return()=>b.load()},deps:[Vf,Nc.A,Hb.d],multi:!0},{provide:c.hnV,useFactory:function m1(b,p){return(0,k.A)(function*(){const d=b.getPublicKey();console.log("publicKey : "+d),d&&(yield p.loadUserProfile(d))})},deps:[Nc.A,Hb.d],multi:!0},{provide:c.hnV,useFactory:function dy(){return()=>{(0,f1.Ts)({theme:"ocean",noBanner:!0,title:"Angor Hub",onAuth:(b,p)=>{console.log("Nostr Login successful:",b,p)}})}},multi:!0},(0,s.lh)(w0,(0,s.oH)({scrollPositionRestoration:"enabled"})),{provide:Xe.MJ,useClass:il},{provide:Xe.de,useValue:{parse:{dateInput:"D"},display:{dateInput:"DDD",monthYearLabel:"LLL yyyy",dateA11yLabel:"DD",monthYearA11yLabel:"LLLL yyyy"}}},function Xn(b){const p=[So(Lh),Fn(v),Nn(A),Sn(Z)];return b.config&&p.push(function so(b){return(0,c.EmA)([{provide:Rc,useValue:Nh(b)}])}(b.config)),b.loader&&p.push(function yo(b){return(0,c.EmA)([{provide:Ih,useClass:b}])}(b.loader)),p}({config:{availableLangs:[{id:"en",label:"English"}],defaultLang:"en",fallbackLang:"en",reRenderOnLangChange:!0,prodMode:!0},loader:r1}),{provide:c.hnV,useFactory:()=>{const b=(0,c.WQX)(Ar),p=b.getDefaultLang();return b.setActiveLang(p),()=>function wf(b,p){const d="object"==typeof p;return new Promise((m,D)=>{const V=new e1.Ms({next:Q=>{m(Q),V.unsubscribe()},error:D,complete:()=>{d?m(p.defaultValue):D(new t1.G)}});b.subscribe(V)})}(b.load(p))},multi:!0},[{provide:c.Z63,useValue:()=>(0,c.WQX)(y0),multi:!0}],(b=>{const p=[{provide:Xe.N,useValue:{doctype:!0,theme:!1,version:!0}},{provide:gr.U$,useValue:{appearance:"fill"}},{provide:S,useValue:b?.mockApi?.delay??0},{provide:_t.t,useValue:b?.angor??{}},(0,c.oKB)(kr.hM),{provide:c.Z63,useValue:()=>(0,c.WQX)(Mt.m),multi:!0},(0,q.$R)((0,q.b$)([nt])),{provide:c.Z63,useValue:()=>(0,c.WQX)(At),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(at.l),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(yt),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(Xt),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(oe.Q),multi:!0}];return b?.mockApi?.services&&p.push((0,q.$R)((0,q.b$)([tt])),{provide:c.hnV,deps:[...b.mockApi.services],useFactory:()=>()=>null,multi:!0}),p})({mockApi:{delay:0,services:gg},angor:JSON.parse(localStorage.getItem("angorConfig"))??{layout:"classic",scheme:"light",screens:{sm:"600px",md:"960px",lg:"1280px",xl:"1440px"},theme:"theme-brand",themes:[{id:"theme-brand",name:"Brand"},{id:"theme-default",name:"Default"},{id:"theme-teal",name:"Teal"},{id:"theme-rose",name:"Rose"},{id:"theme-purple",name:"Purple"},{id:"theme-amber",name:"Amber"}]}})]};(0,o.B8)(y,b1).catch(b=>console.error(b))},3981:(i,a)=>{"use strict";a.byteLength=function I(W){var q=S(W),ht=q[1];return 3*(q[0]+ht)/4-ht},a.toByteArray=function M(W){var q,At,ct=S(W),ht=ct[0],tt=ct[1],_t=new s(function T(W,q,ct){return 3*(q+ct)/4-ct}(0,ht,tt)),Mt=0,$t=tt>0?ht-4:ht;for(At=0;At<$t;At+=4)q=o[W.charCodeAt(At)]<<18|o[W.charCodeAt(At+1)]<<12|o[W.charCodeAt(At+2)]<<6|o[W.charCodeAt(At+3)],_t[Mt++]=q>>16&255,_t[Mt++]=q>>8&255,_t[Mt++]=255&q;return 2===tt&&(q=o[W.charCodeAt(At)]<<2|o[W.charCodeAt(At+1)]>>4,_t[Mt++]=255&q),1===tt&&(q=o[W.charCodeAt(At)]<<10|o[W.charCodeAt(At+1)]<<4|o[W.charCodeAt(At+2)]>>2,_t[Mt++]=q>>8&255,_t[Mt++]=255&q),_t},a.fromByteArray=function J(W){for(var q,ct=W.length,ht=ct%3,tt=[],Mt=0,$t=ct-ht;Mt<$t;Mt+=16383)tt.push(L(W,Mt,Mt+16383>$t?$t:Mt+16383));return 1===ht?tt.push(r[(q=W[ct-1])>>2]+r[q<<4&63]+"=="):2===ht&&tt.push(r[(q=(W[ct-2]<<8)+W[ct-1])>>10]+r[q>>4&63]+r[q<<2&63]+"="),tt.join("")};for(var r=[],o=[],s=typeof Uint8Array<"u"?Uint8Array:Array,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)r[y]=c[y],o[c.charCodeAt(y)]=y;function S(W){var q=W.length;if(q%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ct=W.indexOf("=");return-1===ct&&(ct=q),[ct,ct===q?0:4-ct%4]}function R(W){return r[W>>18&63]+r[W>>12&63]+r[W>>6&63]+r[63&W]}function L(W,q,ct){for(var tt=[],_t=q;_t{"use strict";const s=r(3981),c=r(2020),y="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;a.hp=T,a.IS=50;const k=2147483647;function I(mt){if(mt>k)throw new RangeError('The value "'+mt+'" is invalid for option "size"');const $=new Uint8Array(mt);return Object.setPrototypeOf($,T.prototype),$}function T(mt,$,Y){if("number"==typeof mt){if("string"==typeof $)throw new TypeError('The "string" argument must be of type string. Received type number');return J(mt)}return M(mt,$,Y)}function M(mt,$,Y){if("string"==typeof mt)return function W(mt,$){if(("string"!=typeof $||""===$)&&($="utf8"),!T.isEncoding($))throw new TypeError("Unknown encoding: "+$);const Y=0|$t(mt,$);let it=I(Y);const Tt=it.write(mt,$);return Tt!==Y&&(it=it.slice(0,Tt)),it}(mt,$);if(ArrayBuffer.isView(mt))return function ct(mt){if(Lt(mt,Uint8Array)){const $=new Uint8Array(mt);return ht($.buffer,$.byteOffset,$.byteLength)}return q(mt)}(mt);if(null==mt)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof mt);if(Lt(mt,ArrayBuffer)||mt&&Lt(mt.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Lt(mt,SharedArrayBuffer)||mt&&Lt(mt.buffer,SharedArrayBuffer)))return ht(mt,$,Y);if("number"==typeof mt)throw new TypeError('The "value" argument must not be of type number. Received type number');const it=mt.valueOf&&mt.valueOf();if(null!=it&&it!==mt)return T.from(it,$,Y);const Tt=function tt(mt){if(T.isBuffer(mt)){const $=0|_t(mt.length),Y=I($);return 0===Y.length||mt.copy(Y,0,0,$),Y}return void 0!==mt.length?"number"!=typeof mt.length||be(mt.length)?I(0):q(mt):"Buffer"===mt.type&&Array.isArray(mt.data)?q(mt.data):void 0}(mt);if(Tt)return Tt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof mt[Symbol.toPrimitive])return T.from(mt[Symbol.toPrimitive]("string"),$,Y);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof mt)}function R(mt){if("number"!=typeof mt)throw new TypeError('"size" argument must be of type number');if(mt<0)throw new RangeError('The value "'+mt+'" is invalid for option "size"')}function J(mt){return R(mt),I(mt<0?0:0|_t(mt))}function q(mt){const $=mt.length<0?0:0|_t(mt.length),Y=I($);for(let it=0;it<$;it+=1)Y[it]=255&mt[it];return Y}function ht(mt,$,Y){if($<0||mt.byteLength<$)throw new RangeError('"offset" is outside of buffer bounds');if(mt.byteLength<$+(Y||0))throw new RangeError('"length" is outside of buffer bounds');let it;return it=void 0===$&&void 0===Y?new Uint8Array(mt):void 0===Y?new Uint8Array(mt,$):new Uint8Array(mt,$,Y),Object.setPrototypeOf(it,T.prototype),it}function _t(mt){if(mt>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|mt}function $t(mt,$){if(T.isBuffer(mt))return mt.length;if(ArrayBuffer.isView(mt)||Lt(mt,ArrayBuffer))return mt.byteLength;if("string"!=typeof mt)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof mt);const Y=mt.length,it=arguments.length>2&&!0===arguments[2];if(!it&&0===Y)return 0;let Tt=!1;for(;;)switch($){case"ascii":case"latin1":case"binary":return Y;case"utf8":case"utf-8":return Fe(mt).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Y;case"hex":return Y>>>1;case"base64":return ko(mt).length;default:if(Tt)return it?-1:Fe(mt).length;$=(""+$).toLowerCase(),Tt=!0}}function At(mt,$,Y){let it=!1;if((void 0===$||$<0)&&($=0),$>this.length||((void 0===Y||Y>this.length)&&(Y=this.length),Y<=0)||(Y>>>=0)<=($>>>=0))return"";for(mt||(mt="utf8");;)switch(mt){case"hex":return xe(this,$,Y);case"utf8":case"utf-8":return Xe(this,$,Y);case"ascii":return vr(this,$,Y);case"latin1":case"binary":return Gr(this,$,Y);case"base64":return oe(this,$,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Le(this,$,Y);default:if(it)throw new TypeError("Unknown encoding: "+mt);mt=(mt+"").toLowerCase(),it=!0}}function kt(mt,$,Y){const it=mt[$];mt[$]=mt[Y],mt[Y]=it}function nt(mt,$,Y,it,Tt){if(0===mt.length)return-1;if("string"==typeof Y?(it=Y,Y=0):Y>2147483647?Y=2147483647:Y<-2147483648&&(Y=-2147483648),be(Y=+Y)&&(Y=Tt?0:mt.length-1),Y<0&&(Y=mt.length+Y),Y>=mt.length){if(Tt)return-1;Y=mt.length-1}else if(Y<0){if(!Tt)return-1;Y=0}if("string"==typeof $&&($=T.from($,it)),T.isBuffer($))return 0===$.length?-1:at(mt,$,Y,it,Tt);if("number"==typeof $)return $&=255,"function"==typeof Uint8Array.prototype.indexOf?Tt?Uint8Array.prototype.indexOf.call(mt,$,Y):Uint8Array.prototype.lastIndexOf.call(mt,$,Y):at(mt,[$],Y,it,Tt);throw new TypeError("val must be string, number or Buffer")}function at(mt,$,Y,it,Tt){let er,It=1,ye=mt.length,ir=$.length;if(void 0!==it&&("ucs2"===(it=String(it).toLowerCase())||"ucs-2"===it||"utf16le"===it||"utf-16le"===it)){if(mt.length<2||$.length<2)return-1;It=2,ye/=2,ir/=2,Y/=2}function Je(Wr,eo){return 1===It?Wr[eo]:Wr.readUInt16BE(eo*It)}if(Tt){let Wr=-1;for(er=Y;erye&&(Y=ye-ir),er=Y;er>=0;er--){let Wr=!0;for(let eo=0;eoTt&&(it=Tt):it=Tt;const It=$.length;let ye;for(it>It/2&&(it=It/2),ye=0;ye>8,Tt=Y%256,It.push(Tt),It.push(it);return It}($,mt.length-Y),mt,Y,it)}function oe(mt,$,Y){return s.fromByteArray(0===$&&Y===mt.length?mt:mt.slice($,Y))}function Xe(mt,$,Y){Y=Math.min(mt.length,Y);const it=[];let Tt=$;for(;Tt239?4:It>223?3:It>191?2:1;if(Tt+ir<=Y){let Je,er,Wr,eo;switch(ir){case 1:It<128&&(ye=It);break;case 2:Je=mt[Tt+1],128==(192&Je)&&(eo=(31&It)<<6|63&Je,eo>127&&(ye=eo));break;case 3:Je=mt[Tt+1],er=mt[Tt+2],128==(192&Je)&&128==(192&er)&&(eo=(15&It)<<12|(63&Je)<<6|63&er,eo>2047&&(eo<55296||eo>57343)&&(ye=eo));break;case 4:Je=mt[Tt+1],er=mt[Tt+2],Wr=mt[Tt+3],128==(192&Je)&&128==(192&er)&&128==(192&Wr)&&(eo=(15&It)<<18|(63&Je)<<12|(63&er)<<6|63&Wr,eo>65535&&eo<1114112&&(ye=eo))}}null===ye?(ye=65533,ir=1):ye>65535&&(ye-=65536,it.push(ye>>>10&1023|55296),ye=56320|1023&ye),it.push(ye),Tt+=ir}return function gr(mt){const $=mt.length;if($<=kr)return String.fromCharCode.apply(String,mt);let Y="",it=0;for(;it<$;)Y+=String.fromCharCode.apply(String,mt.slice(it,it+=kr));return Y}(it)}!(T.TYPED_ARRAY_SUPPORT=function S(){try{const mt=new Uint8Array(1),$={foo:function(){return 42}};return Object.setPrototypeOf($,Uint8Array.prototype),Object.setPrototypeOf(mt,$),42===mt.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(T.prototype,"parent",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.buffer}}),Object.defineProperty(T.prototype,"offset",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.byteOffset}}),T.poolSize=8192,T.from=function(mt,$,Y){return M(mt,$,Y)},Object.setPrototypeOf(T.prototype,Uint8Array.prototype),Object.setPrototypeOf(T,Uint8Array),T.alloc=function(mt,$,Y){return function L(mt,$,Y){return R(mt),mt<=0?I(mt):void 0!==$?"string"==typeof Y?I(mt).fill($,Y):I(mt).fill($):I(mt)}(mt,$,Y)},T.allocUnsafe=function(mt){return J(mt)},T.allocUnsafeSlow=function(mt){return J(mt)},T.isBuffer=function($){return null!=$&&!0===$._isBuffer&&$!==T.prototype},T.compare=function($,Y){if(Lt($,Uint8Array)&&($=T.from($,$.offset,$.byteLength)),Lt(Y,Uint8Array)&&(Y=T.from(Y,Y.offset,Y.byteLength)),!T.isBuffer($)||!T.isBuffer(Y))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if($===Y)return 0;let it=$.length,Tt=Y.length;for(let It=0,ye=Math.min(it,Tt);ItTt.length?(T.isBuffer(ye)||(ye=T.from(ye)),ye.copy(Tt,It)):Uint8Array.prototype.set.call(Tt,ye,It);else{if(!T.isBuffer(ye))throw new TypeError('"list" argument must be an Array of Buffers');ye.copy(Tt,It)}It+=ye.length}return Tt},T.byteLength=$t,T.prototype._isBuffer=!0,T.prototype.swap16=function(){const $=this.length;if($%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Y=0;Y<$;Y+=2)kt(this,Y,Y+1);return this},T.prototype.swap32=function(){const $=this.length;if($%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let Y=0;Y<$;Y+=4)kt(this,Y,Y+3),kt(this,Y+1,Y+2);return this},T.prototype.swap64=function(){const $=this.length;if($%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let Y=0;Y<$;Y+=8)kt(this,Y,Y+7),kt(this,Y+1,Y+6),kt(this,Y+2,Y+5),kt(this,Y+3,Y+4);return this},T.prototype.toLocaleString=T.prototype.toString=function(){const $=this.length;return 0===$?"":0===arguments.length?Xe(this,0,$):At.apply(this,arguments)},T.prototype.equals=function($){if(!T.isBuffer($))throw new TypeError("Argument must be a Buffer");return this===$||0===T.compare(this,$)},T.prototype.inspect=function(){let $="";const Y=a.IS;return $=this.toString("hex",0,Y).replace(/(.{2})/g,"$1 ").trim(),this.length>Y&&($+=" ... "),""},y&&(T.prototype[y]=T.prototype.inspect),T.prototype.compare=function($,Y,it,Tt,It){if(Lt($,Uint8Array)&&($=T.from($,$.offset,$.byteLength)),!T.isBuffer($))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof $);if(void 0===Y&&(Y=0),void 0===it&&(it=$?$.length:0),void 0===Tt&&(Tt=0),void 0===It&&(It=this.length),Y<0||it>$.length||Tt<0||It>this.length)throw new RangeError("out of range index");if(Tt>=It&&Y>=it)return 0;if(Tt>=It)return-1;if(Y>=it)return 1;if(this===$)return 0;let ye=(It>>>=0)-(Tt>>>=0),ir=(it>>>=0)-(Y>>>=0);const Je=Math.min(ye,ir),er=this.slice(Tt,It),Wr=$.slice(Y,it);for(let eo=0;eo>>=0,isFinite(it)?(it>>>=0,void 0===Tt&&(Tt="utf8")):(Tt=it,it=void 0)}const It=this.length-Y;if((void 0===it||it>It)&&(it=It),$.length>0&&(it<0||Y<0)||Y>this.length)throw new RangeError("Attempt to write outside buffer bounds");Tt||(Tt="utf8");let ye=!1;for(;;)switch(Tt){case"hex":return rt(this,$,Y,it);case"utf8":case"utf-8":return yt(this,$,Y,it);case"ascii":case"latin1":case"binary":return Ct(this,$,Y,it);case"base64":return Vt(this,$,Y,it);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xt(this,$,Y,it);default:if(ye)throw new TypeError("Unknown encoding: "+Tt);Tt=(""+Tt).toLowerCase(),ye=!0}},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const kr=4096;function vr(mt,$,Y){let it="";Y=Math.min(mt.length,Y);for(let Tt=$;Ttit)&&(Y=it);let Tt="";for(let It=$;ItY)throw new RangeError("Trying to access beyond buffer length")}function Nt(mt,$,Y,it,Tt,It){if(!T.isBuffer(mt))throw new TypeError('"buffer" argument must be a Buffer instance');if($>Tt||$mt.length)throw new RangeError("Index out of range")}function Ae(mt,$,Y,it,Tt){Ee($,it,Tt,mt,Y,7);let It=Number($&BigInt(4294967295));mt[Y++]=It,It>>=8,mt[Y++]=It,It>>=8,mt[Y++]=It,It>>=8,mt[Y++]=It;let ye=Number($>>BigInt(32)&BigInt(4294967295));return mt[Y++]=ye,ye>>=8,mt[Y++]=ye,ye>>=8,mt[Y++]=ye,ye>>=8,mt[Y++]=ye,Y}function Rt(mt,$,Y,it,Tt){Ee($,it,Tt,mt,Y,7);let It=Number($&BigInt(4294967295));mt[Y+7]=It,It>>=8,mt[Y+6]=It,It>>=8,mt[Y+5]=It,It>>=8,mt[Y+4]=It;let ye=Number($>>BigInt(32)&BigInt(4294967295));return mt[Y+3]=ye,ye>>=8,mt[Y+2]=ye,ye>>=8,mt[Y+1]=ye,ye>>=8,mt[Y]=ye,Y+8}function de(mt,$,Y,it,Tt,It){if(Y+it>mt.length)throw new RangeError("Index out of range");if(Y<0)throw new RangeError("Index out of range")}function jt(mt,$,Y,it,Tt){return $=+$,Y>>>=0,Tt||de(mt,0,Y,4),c.write(mt,$,Y,it,23,4),Y+4}function De(mt,$,Y,it,Tt){return $=+$,Y>>>=0,Tt||de(mt,0,Y,8),c.write(mt,$,Y,it,52,8),Y+8}T.prototype.slice=function($,Y){const it=this.length;($=~~$)<0?($+=it)<0&&($=0):$>it&&($=it),(Y=void 0===Y?it:~~Y)<0?(Y+=it)<0&&(Y=0):Y>it&&(Y=it),Y<$&&(Y=$);const Tt=this.subarray($,Y);return Object.setPrototypeOf(Tt,T.prototype),Tt},T.prototype.readUintLE=T.prototype.readUIntLE=function($,Y,it){$>>>=0,Y>>>=0,it||gt($,Y,this.length);let Tt=this[$],It=1,ye=0;for(;++ye>>=0,Y>>>=0,it||gt($,Y,this.length);let Tt=this[$+--Y],It=1;for(;Y>0&&(It*=256);)Tt+=this[$+--Y]*It;return Tt},T.prototype.readUint8=T.prototype.readUInt8=function($,Y){return $>>>=0,Y||gt($,1,this.length),this[$]},T.prototype.readUint16LE=T.prototype.readUInt16LE=function($,Y){return $>>>=0,Y||gt($,2,this.length),this[$]|this[$+1]<<8},T.prototype.readUint16BE=T.prototype.readUInt16BE=function($,Y){return $>>>=0,Y||gt($,2,this.length),this[$]<<8|this[$+1]},T.prototype.readUint32LE=T.prototype.readUInt32LE=function($,Y){return $>>>=0,Y||gt($,4,this.length),(this[$]|this[$+1]<<8|this[$+2]<<16)+16777216*this[$+3]},T.prototype.readUint32BE=T.prototype.readUInt32BE=function($,Y){return $>>>=0,Y||gt($,4,this.length),16777216*this[$]+(this[$+1]<<16|this[$+2]<<8|this[$+3])},T.prototype.readBigUInt64LE=Ie(function($){ie($>>>=0,"offset");const Y=this[$],it=this[$+7];(void 0===Y||void 0===it)&&He($,this.length-8);const Tt=Y+256*this[++$]+65536*this[++$]+this[++$]*2**24,It=this[++$]+256*this[++$]+65536*this[++$]+it*2**24;return BigInt(Tt)+(BigInt(It)<>>=0,"offset");const Y=this[$],it=this[$+7];(void 0===Y||void 0===it)&&He($,this.length-8);const Tt=Y*2**24+65536*this[++$]+256*this[++$]+this[++$],It=this[++$]*2**24+65536*this[++$]+256*this[++$]+it;return(BigInt(Tt)<>>=0,Y>>>=0,it||gt($,Y,this.length);let Tt=this[$],It=1,ye=0;for(;++ye=It&&(Tt-=Math.pow(2,8*Y)),Tt},T.prototype.readIntBE=function($,Y,it){$>>>=0,Y>>>=0,it||gt($,Y,this.length);let Tt=Y,It=1,ye=this[$+--Tt];for(;Tt>0&&(It*=256);)ye+=this[$+--Tt]*It;return It*=128,ye>=It&&(ye-=Math.pow(2,8*Y)),ye},T.prototype.readInt8=function($,Y){return $>>>=0,Y||gt($,1,this.length),128&this[$]?-1*(255-this[$]+1):this[$]},T.prototype.readInt16LE=function($,Y){$>>>=0,Y||gt($,2,this.length);const it=this[$]|this[$+1]<<8;return 32768&it?4294901760|it:it},T.prototype.readInt16BE=function($,Y){$>>>=0,Y||gt($,2,this.length);const it=this[$+1]|this[$]<<8;return 32768&it?4294901760|it:it},T.prototype.readInt32LE=function($,Y){return $>>>=0,Y||gt($,4,this.length),this[$]|this[$+1]<<8|this[$+2]<<16|this[$+3]<<24},T.prototype.readInt32BE=function($,Y){return $>>>=0,Y||gt($,4,this.length),this[$]<<24|this[$+1]<<16|this[$+2]<<8|this[$+3]},T.prototype.readBigInt64LE=Ie(function($){ie($>>>=0,"offset");const Y=this[$],it=this[$+7];return(void 0===Y||void 0===it)&&He($,this.length-8),(BigInt(this[$+4]+256*this[$+5]+65536*this[$+6]+(it<<24))<>>=0,"offset");const Y=this[$],it=this[$+7];(void 0===Y||void 0===it)&&He($,this.length-8);const Tt=(Y<<24)+65536*this[++$]+256*this[++$]+this[++$];return(BigInt(Tt)<>>=0,Y||gt($,4,this.length),c.read(this,$,!0,23,4)},T.prototype.readFloatBE=function($,Y){return $>>>=0,Y||gt($,4,this.length),c.read(this,$,!1,23,4)},T.prototype.readDoubleLE=function($,Y){return $>>>=0,Y||gt($,8,this.length),c.read(this,$,!0,52,8)},T.prototype.readDoubleBE=function($,Y){return $>>>=0,Y||gt($,8,this.length),c.read(this,$,!1,52,8)},T.prototype.writeUintLE=T.prototype.writeUIntLE=function($,Y,it,Tt){$=+$,Y>>>=0,it>>>=0,Tt||Nt(this,$,Y,it,Math.pow(2,8*it)-1,0);let It=1,ye=0;for(this[Y]=255&$;++ye>>=0,it>>>=0,Tt||Nt(this,$,Y,it,Math.pow(2,8*it)-1,0);let It=it-1,ye=1;for(this[Y+It]=255&$;--It>=0&&(ye*=256);)this[Y+It]=$/ye&255;return Y+it},T.prototype.writeUint8=T.prototype.writeUInt8=function($,Y,it){return $=+$,Y>>>=0,it||Nt(this,$,Y,1,255,0),this[Y]=255&$,Y+1},T.prototype.writeUint16LE=T.prototype.writeUInt16LE=function($,Y,it){return $=+$,Y>>>=0,it||Nt(this,$,Y,2,65535,0),this[Y]=255&$,this[Y+1]=$>>>8,Y+2},T.prototype.writeUint16BE=T.prototype.writeUInt16BE=function($,Y,it){return $=+$,Y>>>=0,it||Nt(this,$,Y,2,65535,0),this[Y]=$>>>8,this[Y+1]=255&$,Y+2},T.prototype.writeUint32LE=T.prototype.writeUInt32LE=function($,Y,it){return $=+$,Y>>>=0,it||Nt(this,$,Y,4,4294967295,0),this[Y+3]=$>>>24,this[Y+2]=$>>>16,this[Y+1]=$>>>8,this[Y]=255&$,Y+4},T.prototype.writeUint32BE=T.prototype.writeUInt32BE=function($,Y,it){return $=+$,Y>>>=0,it||Nt(this,$,Y,4,4294967295,0),this[Y]=$>>>24,this[Y+1]=$>>>16,this[Y+2]=$>>>8,this[Y+3]=255&$,Y+4},T.prototype.writeBigUInt64LE=Ie(function($,Y=0){return Ae(this,$,Y,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeBigUInt64BE=Ie(function($,Y=0){return Rt(this,$,Y,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeIntLE=function($,Y,it,Tt){if($=+$,Y>>>=0,!Tt){const Je=Math.pow(2,8*it-1);Nt(this,$,Y,it,Je-1,-Je)}let It=0,ye=1,ir=0;for(this[Y]=255&$;++It>>=0,!Tt){const Je=Math.pow(2,8*it-1);Nt(this,$,Y,it,Je-1,-Je)}let It=it-1,ye=1,ir=0;for(this[Y+It]=255&$;--It>=0&&(ye*=256);)$<0&&0===ir&&0!==this[Y+It+1]&&(ir=1),this[Y+It]=($/ye|0)-ir&255;return Y+it},T.prototype.writeInt8=function($,Y,it){return $=+$,Y>>>=0,it||Nt(this,$,Y,1,127,-128),$<0&&($=255+$+1),this[Y]=255&$,Y+1},T.prototype.writeInt16LE=function($,Y,it){return $=+$,Y>>>=0,it||Nt(this,$,Y,2,32767,-32768),this[Y]=255&$,this[Y+1]=$>>>8,Y+2},T.prototype.writeInt16BE=function($,Y,it){return $=+$,Y>>>=0,it||Nt(this,$,Y,2,32767,-32768),this[Y]=$>>>8,this[Y+1]=255&$,Y+2},T.prototype.writeInt32LE=function($,Y,it){return $=+$,Y>>>=0,it||Nt(this,$,Y,4,2147483647,-2147483648),this[Y]=255&$,this[Y+1]=$>>>8,this[Y+2]=$>>>16,this[Y+3]=$>>>24,Y+4},T.prototype.writeInt32BE=function($,Y,it){return $=+$,Y>>>=0,it||Nt(this,$,Y,4,2147483647,-2147483648),$<0&&($=4294967295+$+1),this[Y]=$>>>24,this[Y+1]=$>>>16,this[Y+2]=$>>>8,this[Y+3]=255&$,Y+4},T.prototype.writeBigInt64LE=Ie(function($,Y=0){return Ae(this,$,Y,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeBigInt64BE=Ie(function($,Y=0){return Rt(this,$,Y,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeFloatLE=function($,Y,it){return jt(this,$,Y,!0,it)},T.prototype.writeFloatBE=function($,Y,it){return jt(this,$,Y,!1,it)},T.prototype.writeDoubleLE=function($,Y,it){return De(this,$,Y,!0,it)},T.prototype.writeDoubleBE=function($,Y,it){return De(this,$,Y,!1,it)},T.prototype.copy=function($,Y,it,Tt){if(!T.isBuffer($))throw new TypeError("argument should be a Buffer");if(it||(it=0),!Tt&&0!==Tt&&(Tt=this.length),Y>=$.length&&(Y=$.length),Y||(Y=0),Tt>0&&Tt=this.length)throw new RangeError("Index out of range");if(Tt<0)throw new RangeError("sourceEnd out of bounds");Tt>this.length&&(Tt=this.length),$.length-Y>>=0,it=void 0===it?this.length:it>>>0,$||($=0),"number"==typeof $)for(It=Y;It=it+4;Y-=3)$=`_${mt.slice(Y-3,Y)}${$}`;return`${mt.slice(0,Y)}${$}`}function Ee(mt,$,Y,it,Tt,It){if(mt>Y||mt<$){const ye="bigint"==typeof $?"n":"";let ir;throw ir=It>3?0===$||$===BigInt(0)?`>= 0${ye} and < 2${ye} ** ${8*(It+1)}${ye}`:`>= -(2${ye} ** ${8*(It+1)-1}${ye}) and < 2 ** ${8*(It+1)-1}${ye}`:`>= ${$}${ye} and <= ${Y}${ye}`,new Ye.ERR_OUT_OF_RANGE("value",ir,mt)}!function Ut(mt,$,Y){ie($,"offset"),(void 0===mt[$]||void 0===mt[$+Y])&&He($,mt.length-(Y+1))}(it,Tt,It)}function ie(mt,$){if("number"!=typeof mt)throw new Ye.ERR_INVALID_ARG_TYPE($,"number",mt)}function He(mt,$,Y){throw Math.floor(mt)!==mt?(ie(mt,Y),new Ye.ERR_OUT_OF_RANGE(Y||"offset","an integer",mt)):$<0?new Ye.ERR_BUFFER_OUT_OF_BOUNDS:new Ye.ERR_OUT_OF_RANGE(Y||"offset",`>= ${Y?1:0} and <= ${$}`,mt)}ft("ERR_BUFFER_OUT_OF_BOUNDS",function(mt){return mt?`${mt} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ft("ERR_INVALID_ARG_TYPE",function(mt,$){return`The "${mt}" argument must be of type number. Received type ${typeof $}`},TypeError),ft("ERR_OUT_OF_RANGE",function(mt,$,Y){let it=`The value of "${mt}" is out of range.`,Tt=Y;return Number.isInteger(Y)&&Math.abs(Y)>2**32?Tt=pe(String(Y)):"bigint"==typeof Y&&(Tt=String(Y),(Y>BigInt(2)**BigInt(32)||Y<-(BigInt(2)**BigInt(32)))&&(Tt=pe(Tt)),Tt+="n"),it+=` It must be ${$}. Received ${Tt}`,it},RangeError);const Wt=/[^+/0-9A-Za-z-_]/g;function Fe(mt,$){let Y;$=$||1/0;const it=mt.length;let Tt=null;const It=[];for(let ye=0;ye55295&&Y<57344){if(!Tt){if(Y>56319){($-=3)>-1&&It.push(239,191,189);continue}if(ye+1===it){($-=3)>-1&&It.push(239,191,189);continue}Tt=Y;continue}if(Y<56320){($-=3)>-1&&It.push(239,191,189),Tt=Y;continue}Y=65536+(Tt-55296<<10|Y-56320)}else Tt&&($-=3)>-1&&It.push(239,191,189);if(Tt=null,Y<128){if(($-=1)<0)break;It.push(Y)}else if(Y<2048){if(($-=2)<0)break;It.push(Y>>6|192,63&Y|128)}else if(Y<65536){if(($-=3)<0)break;It.push(Y>>12|224,Y>>6&63|128,63&Y|128)}else{if(!(Y<1114112))throw new Error("Invalid code point");if(($-=4)<0)break;It.push(Y>>18|240,Y>>12&63|128,Y>>6&63|128,63&Y|128)}}return It}function ko(mt){return s.toByteArray(function Me(mt){if((mt=(mt=mt.split("=")[0]).trim().replace(Wt,"")).length<2)return"";for(;mt.length%4!=0;)mt+="=";return mt}(mt))}function dr(mt,$,Y,it){let Tt;for(Tt=0;Tt=$.length||Tt>=mt.length);++Tt)$[Tt+Y]=mt[Tt];return Tt}function Lt(mt,$){return mt instanceof $||null!=mt&&null!=mt.constructor&&null!=mt.constructor.name&&mt.constructor.name===$.name}function be(mt){return mt!=mt}const se=function(){const mt="0123456789abcdef",$=new Array(256);for(let Y=0;Y<16;++Y){const it=16*Y;for(let Tt=0;Tt<16;++Tt)$[it+Tt]=mt[Y]+mt[Tt]}return $}();function Ie(mt){return typeof BigInt>"u"?br:mt}function br(){throw new Error("BigInt not supported")}},2020:(i,a)=>{a.read=function(r,o,s,c,y){var k,S,I=8*y-c-1,T=(1<>1,R=-7,L=s?y-1:0,J=s?-1:1,W=r[o+L];for(L+=J,k=W&(1<<-R)-1,W>>=-R,R+=I;R>0;k=256*k+r[o+L],L+=J,R-=8);for(S=k&(1<<-R)-1,k>>=-R,R+=c;R>0;S=256*S+r[o+L],L+=J,R-=8);if(0===k)k=1-M;else{if(k===T)return S?NaN:1/0*(W?-1:1);S+=Math.pow(2,c),k-=M}return(W?-1:1)*S*Math.pow(2,k-c)},a.write=function(r,o,s,c,y,k){var S,I,T,M=8*k-y-1,R=(1<>1,J=23===y?Math.pow(2,-24)-Math.pow(2,-77):0,W=c?0:k-1,q=c?1:-1,ct=o<0||0===o&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(I=isNaN(o)?1:0,S=R):(S=Math.floor(Math.log(o)/Math.LN2),o*(T=Math.pow(2,-S))<1&&(S--,T*=2),(o+=S+L>=1?J/T:J*Math.pow(2,1-L))*T>=2&&(S++,T/=2),S+L>=R?(I=0,S=R):S+L>=1?(I=(o*T-1)*Math.pow(2,y),S+=L):(I=o*Math.pow(2,L-1)*Math.pow(2,y),S=0));y>=8;r[s+W]=255&I,W+=q,I/=256,y-=8);for(S=S<0;r[s+W]=255&S,W+=q,S/=256,M-=8);r[s+W-q]|=128*ct}},119:i=>{i.exports=function s(c,y,k){function S(M,R){if(!y[M]){if(!c[M]){if(I)return I(M,!0);var J=new Error("Cannot find module '"+M+"'");throw J.code="MODULE_NOT_FOUND",J}var W=y[M]={exports:{}};c[M][0].call(W.exports,function(q){return S(c[M][1][q]||q)},W,W.exports,s,c,y,k)}return y[M].exports}for(var I=void 0,T=0;T"u"&&s(3);var L=Promise;function J(dt,Gt){Gt&&dt.then(function(Dt){Gt(null,Dt)},function(Dt){Gt(Dt)})}function W(dt,Gt,Dt){"function"==typeof Gt&&dt.then(Gt),"function"==typeof Dt&&dt.catch(Dt)}function q(dt){return"string"!=typeof dt&&(console.warn(dt+" used as a key, but it is not a string."),dt=String(dt)),dt}function ct(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var ht="local-forage-detect-blob-support",tt=void 0,_t={},Mt=Object.prototype.toString,$t="readonly",At="readwrite";function kt(dt){for(var Gt=dt.length,Dt=new ArrayBuffer(Gt),ne=new Uint8Array(Dt),Re=0;Re=43)}}).catch(function(){return!1})}(dt).then(function(Gt){return tt=Gt})}function rt(dt){var Gt=_t[dt.name],Dt={};Dt.promise=new L(function(ne,Re){Dt.resolve=ne,Dt.reject=Re}),Gt.deferredOperations.push(Dt),Gt.dbReady=Gt.dbReady?Gt.dbReady.then(function(){return Dt.promise}):Dt.promise}function yt(dt){var Dt=_t[dt.name].deferredOperations.pop();if(Dt)return Dt.resolve(),Dt.promise}function Ct(dt,Gt){var ne=_t[dt.name].deferredOperations.pop();if(ne)return ne.reject(Gt),ne.promise}function Vt(dt,Gt){return new L(function(Dt,ne){if(_t[dt.name]=_t[dt.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},dt.db){if(!Gt)return Dt(dt.db);rt(dt),dt.db.close()}var Re=[dt.name];Gt&&Re.push(dt.version);var Ce=T.open.apply(T,Re);Gt&&(Ce.onupgradeneeded=function(or){var Cr=Ce.result;try{Cr.createObjectStore(dt.storeName),or.oldVersion<=1&&Cr.createObjectStore(ht)}catch(Er){if("ConstraintError"!==Er.name)throw Er;console.warn('The database "'+dt.name+'" has been upgraded from version '+or.oldVersion+" to version "+or.newVersion+', but the storage "'+dt.storeName+'" already exists.')}}),Ce.onerror=function(or){or.preventDefault(),ne(Ce.error)},Ce.onsuccess=function(){var or=Ce.result;or.onversionchange=function(Cr){Cr.target.close()},Dt(or),yt(dt)}})}function Xt(dt){return Vt(dt,!1)}function oe(dt){return Vt(dt,!0)}function Xe(dt,Gt){if(!dt.db)return!0;var Dt=!dt.db.objectStoreNames.contains(dt.storeName),Re=dt.version>dt.db.version;if(dt.versiondt.version&&(dt.version=Ce)}return!0}return!1}function gr(dt){return R([kt(atob(dt.data))],{type:dt.type})}function vr(dt){return dt&&dt.__local_forage_encoded_blob}function Gr(dt){var Gt=this,Dt=Gt._initReady().then(function(){var ne=_t[Gt._dbInfo.name];if(ne&&ne.dbReady)return ne.dbReady});return W(Dt,dt,dt),Dt}function Le(dt,Gt,Dt,ne){void 0===ne&&(ne=1);try{var Re=dt.db.transaction(dt.storeName,Gt);Dt(null,Re)}catch(Ce){if(ne>0&&(!dt.db||"InvalidStateError"===Ce.name||"NotFoundError"===Ce.name))return L.resolve().then(function(){if(!dt.db||"NotFoundError"===Ce.name&&!dt.db.objectStoreNames.contains(dt.storeName)&&dt.version<=dt.db.version)return dt.db&&(dt.version=dt.db.version+1),oe(dt)}).then(function(){return function xe(dt){rt(dt);for(var Gt=_t[dt.name],Dt=Gt.forages,ne=0;ne>4,Fr[Re++]=(15&or)<<4|Cr>>2,Fr[Re++]=(3&Cr)<<6|63&Er;return Nr}function ye(dt){var ne,Gt=new Uint8Array(dt),Dt="";for(ne=0;ne>2],Dt+=He[(3&Gt[ne])<<4|Gt[ne+1]>>4],Dt+=He[(15&Gt[ne+1])<<2|Gt[ne+2]>>6],Dt+=He[63&Gt[ne+2]];return Gt.length%3==2?Dt=Dt.substring(0,Dt.length-1)+"=":Gt.length%3==1&&(Dt=Dt.substring(0,Dt.length-2)+"=="),Dt}var er={serialize:function ir(dt,Gt){var Dt="";if(dt&&(Dt=Tt.call(dt)),dt&&("[object ArrayBuffer]"===Dt||dt.buffer&&"[object ArrayBuffer]"===Tt.call(dt.buffer))){var ne,Re=Fe;dt instanceof ArrayBuffer?(ne=dt,Re+=Or):(ne=dt.buffer,"[object Int8Array]"===Dt?Re+="si08":"[object Uint8Array]"===Dt?Re+="ui08":"[object Uint8ClampedArray]"===Dt?Re+="uic8":"[object Int16Array]"===Dt?Re+="si16":"[object Uint16Array]"===Dt?Re+="ur16":"[object Int32Array]"===Dt?Re+="si32":"[object Uint32Array]"===Dt?Re+="ui32":"[object Float32Array]"===Dt?Re+=$:"[object Float64Array]"===Dt?Re+=Y:Gt(new Error("Failed to get type for BinaryArray"))),Gt(Re+ye(ne))}else if("[object Blob]"===Dt){var Ce=new FileReader;Ce.onload=function(){var or="~~local_forage_type~"+dt.type+"~"+ye(this.result);Gt(Fe+ko+or)},Ce.readAsArrayBuffer(dt)}else try{Gt(JSON.stringify(dt))}catch(or){console.error("Couldn't convert value into a JSON string: ",dt),Gt(null,or)}},deserialize:function Je(dt){if(dt.substring(0,9)!==Fe)return JSON.parse(dt);var ne,Gt=dt.substring(13),Dt=dt.substring(9,13);if(Dt===ko&&Me.test(Gt)){var Re=Gt.match(Me);ne=Re[1],Gt=Gt.substring(Re[0].length)}var Ce=It(Gt);switch(Dt){case Or:return Ce;case ko:return R([Ce],{type:ne});case"si08":return new Int8Array(Ce);case"ui08":return new Uint8Array(Ce);case"uic8":return new Uint8ClampedArray(Ce);case"si16":return new Int16Array(Ce);case"ur16":return new Uint16Array(Ce);case"si32":return new Int32Array(Ce);case"ui32":return new Uint32Array(Ce);case $:return new Float32Array(Ce);case Y:return new Float64Array(Ce);default:throw new Error("Unkown type: "+Dt)}},stringToBuffer:It,bufferToString:ye};function Wr(dt,Gt,Dt,ne){dt.executeSql("CREATE TABLE IF NOT EXISTS "+Gt.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],Dt,ne)}function Uo(dt,Gt,Dt,ne,Re,Ce){dt.executeSql(Dt,ne,Re,function(or,Cr){Cr.code===Cr.SYNTAX_ERR?or.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[Gt.storeName],function(Er,Nr){Nr.rows.length?Ce(Er,Cr):Wr(Er,Gt,function(){Er.executeSql(Dt,ne,Re,Ce)},Ce)},Ce):Ce(or,Cr)},Ce)}function re(dt,Gt,Dt,ne){var Re=this;dt=q(dt);var Ce=new L(function(or,Cr){Re.ready().then(function(){void 0===Gt&&(Gt=null);var Er=Gt,Nr=Re._dbInfo;Nr.serializer.serialize(Gt,function(Fr,qr){qr?Cr(qr):Nr.db.transaction(function(to){Uo(to,Nr,"INSERT OR REPLACE INTO "+Nr.storeName+" (key, value) VALUES (?, ?)",[dt,Fr],function(){or(Er)},function(xo,Ao){Cr(Ao)})},function(to){if(to.code===to.QUOTA_ERR){if(ne>0)return void or(re.apply(Re,[dt,Er,Dt,ne-1]));Cr(to)}})})}).catch(Cr)});return J(Ce,Dt),Ce}var $e={_driver:"webSQLStorage",_initStorage:function eo(dt){var Gt=this,Dt={db:null};if(dt)for(var ne in dt)Dt[ne]="string"!=typeof dt[ne]?dt[ne].toString():dt[ne];var Re=new L(function(Ce,or){try{Dt.db=openDatabase(Dt.name,String(Dt.version),Dt.description,Dt.size)}catch(Cr){return or(Cr)}Dt.db.transaction(function(Cr){Wr(Cr,Dt,function(){Gt._dbInfo=Dt,Ce()},function(Er,Nr){or(Nr)})},or)});return Dt.serializer=er,Re},_support:function ie(){return"function"==typeof openDatabase}(),iterate:function Pr(dt,Gt){var Dt=this,ne=new L(function(Re,Ce){Dt.ready().then(function(){var or=Dt._dbInfo;or.db.transaction(function(Cr){Uo(Cr,or,"SELECT * FROM "+or.storeName,[],function(Er,Nr){for(var Fr=Nr.rows,qr=Fr.length,to=0;to '__WebKitDatabaseInfoTable__'",[],function(Re,Ce){for(var or=[],Cr=0;Cr0}var pi={_driver:"localStorageWrapper",_initStorage:function Yt(dt){var Dt={};if(dt)for(var ne in dt)Dt[ne]=dt[ne];return Dt.keyPrefix=qe(dt,this._defaultConfig),me()?(this._dbInfo=Dt,Dt.serializer=er,L.resolve()):L.reject()},_support:function _e(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function xr(dt,Gt){var Dt=this,ne=Dt.ready().then(function(){for(var Re=Dt._dbInfo,Ce=Re.keyPrefix,or=Ce.length,Cr=localStorage.length,Er=1,Nr=0;Nr=0;Re--){var Ce=localStorage.key(Re);0===Ce.indexOf(ne)&&localStorage.removeItem(Ce)}});return J(Dt,dt),Dt},length:function Yn(dt){var Dt=this.keys().then(function(ne){return ne.length});return J(Dt,dt),Dt},key:function Eo(dt,Gt){var Dt=this,ne=Dt.ready().then(function(){var Ce,Re=Dt._dbInfo;try{Ce=localStorage.key(dt)}catch{Ce=null}return Ce&&(Ce=Ce.substring(Re.keyPrefix.length)),Ce});return J(ne,Gt),ne},keys:function $n(dt){var Gt=this,Dt=Gt.ready().then(function(){for(var ne=Gt._dbInfo,Re=localStorage.length,Ce=[],or=0;or=0;or--){var Cr=localStorage.key(or);0===Cr.indexOf(Ce)&&localStorage.removeItem(Cr)}}):L.reject("Invalid arguments"),Gt),Re}},ei=function(Gt,Dt){return Gt===Dt||"number"==typeof Gt&&"number"==typeof Dt&&isNaN(Gt)&&isNaN(Dt)},Oe=function(Gt,Dt){for(var ne=Gt.length,Re=0;Re"u"?"undefined":k(Dt))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var ne in Dt){if("storeName"===ne&&(Dt[ne]=Dt[ne].replace(/\W/g,"_")),"version"===ne&&"number"!=typeof Dt[ne])return new Error("Database version must be a number.");this._config[ne]=Dt[ne]}return!("driver"in Dt)||!Dt.driver||this.setDriver(this._config.driver)}return"string"==typeof Dt?this._config[Dt]:this._config},dt.prototype.defineDriver=function(Dt,ne,Re){var Ce=new L(function(or,Cr){try{var Er=Dt._driver,Nr=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!Dt._driver)return void Cr(Nr);for(var Fr=vo.concat("_initStorage"),qr=0,to=Fr.length;qr{"use strict";r.d(a,{t:()=>s});var o=r(1413);class s extends o.B{constructor(y){super(),this._value=y}get value(){return this.getValue()}_subscribe(y){const k=super._subscribe(y);return!k.closed&&y.next(this._value),k}getValue(){const{hasError:y,thrownError:k,_value:S}=this;if(y)throw k;return this._throwIfClosed(),S}next(y){super.next(this._value=y)}}},1985:(i,a,r)=>{"use strict";r.d(a,{c:()=>T});var o=r(7707),s=r(8359),c=r(3494),y=r(1203),k=r(1026),S=r(8071),I=r(9786);let T=(()=>{class J{constructor(q){q&&(this._subscribe=q)}lift(q){const ct=new J;return ct.source=this,ct.operator=q,ct}subscribe(q,ct,ht){const tt=function L(J){return J&&J instanceof o.vU||function R(J){return J&&(0,S.T)(J.next)&&(0,S.T)(J.error)&&(0,S.T)(J.complete)}(J)&&(0,s.Uv)(J)}(q)?q:new o.Ms(q,ct,ht);return(0,I.Y)(()=>{const{operator:_t,source:Mt}=this;tt.add(_t?_t.call(tt,Mt):Mt?this._subscribe(tt):this._trySubscribe(tt))}),tt}_trySubscribe(q){try{return this._subscribe(q)}catch(ct){q.error(ct)}}forEach(q,ct){return new(ct=M(ct))((ht,tt)=>{const _t=new o.Ms({next:Mt=>{try{q(Mt)}catch($t){tt($t),_t.unsubscribe()}},error:tt,complete:ht});this.subscribe(_t)})}_subscribe(q){var ct;return null===(ct=this.source)||void 0===ct?void 0:ct.subscribe(q)}[c.s](){return this}pipe(...q){return(0,y.m)(q)(this)}toPromise(q){return new(q=M(q))((ct,ht)=>{let tt;this.subscribe(_t=>tt=_t,_t=>ht(_t),()=>ct(tt))})}}return J.create=W=>new J(W),J})();function M(J){var W;return null!==(W=J??k.$.Promise)&&void 0!==W?W:Promise}},2771:(i,a,r)=>{"use strict";r.d(a,{m:()=>c});var o=r(1413),s=r(6129);class c extends o.B{constructor(k=1/0,S=1/0,I=s.U){super(),this._bufferSize=k,this._windowTime=S,this._timestampProvider=I,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=S===1/0,this._bufferSize=Math.max(1,k),this._windowTime=Math.max(1,S)}next(k){const{isStopped:S,_buffer:I,_infiniteTimeWindow:T,_timestampProvider:M,_windowTime:R}=this;S||(I.push(k),!T&&I.push(M.now()+R)),this._trimBuffer(),super.next(k)}_subscribe(k){this._throwIfClosed(),this._trimBuffer();const S=this._innerSubscribe(k),{_infiniteTimeWindow:I,_buffer:T}=this,M=T.slice();for(let R=0;R{"use strict";r.d(a,{B:()=>I});var o=r(1985),s=r(8359);const y=(0,r(1853).L)(M=>function(){M(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var k=r(7908),S=r(9786);let I=(()=>{class M extends o.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(L){const J=new T(this,this);return J.operator=L,J}_throwIfClosed(){if(this.closed)throw new y}next(L){(0,S.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const J of this.currentObservers)J.next(L)}})}error(L){(0,S.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=L;const{observers:J}=this;for(;J.length;)J.shift().error(L)}})}complete(){(0,S.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:L}=this;for(;L.length;)L.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var L;return(null===(L=this.observers)||void 0===L?void 0:L.length)>0}_trySubscribe(L){return this._throwIfClosed(),super._trySubscribe(L)}_subscribe(L){return this._throwIfClosed(),this._checkFinalizedStatuses(L),this._innerSubscribe(L)}_innerSubscribe(L){const{hasError:J,isStopped:W,observers:q}=this;return J||W?s.Kn:(this.currentObservers=null,q.push(L),new s.yU(()=>{this.currentObservers=null,(0,k.o)(q,L)}))}_checkFinalizedStatuses(L){const{hasError:J,thrownError:W,isStopped:q}=this;J?L.error(W):q&&L.complete()}asObservable(){const L=new o.c;return L.source=this,L}}return M.create=(R,L)=>new T(R,L),M})();class T extends I{constructor(R,L){super(),this.destination=R,this.source=L}next(R){var L,J;null===(J=null===(L=this.destination)||void 0===L?void 0:L.next)||void 0===J||J.call(L,R)}error(R){var L,J;null===(J=null===(L=this.destination)||void 0===L?void 0:L.error)||void 0===J||J.call(L,R)}complete(){var R,L;null===(L=null===(R=this.destination)||void 0===R?void 0:R.complete)||void 0===L||L.call(R)}_subscribe(R){var L,J;return null!==(J=null===(L=this.source)||void 0===L?void 0:L.subscribe(R))&&void 0!==J?J:s.Kn}}},7707:(i,a,r)=>{"use strict";r.d(a,{Ms:()=>ht,vU:()=>J});var o=r(8071),s=r(8359),c=r(1026),y=r(5334),k=r(5343);const S=M("C",void 0,void 0);function M(At,kt,nt){return{kind:At,value:kt,error:nt}}var R=r(9270),L=r(9786);class J extends s.yU{constructor(kt){super(),this.isStopped=!1,kt?(this.destination=kt,(0,s.Uv)(kt)&&kt.add(this)):this.destination=$t}static create(kt,nt,at){return new ht(kt,nt,at)}next(kt){this.isStopped?Mt(function T(At){return M("N",At,void 0)}(kt),this):this._next(kt)}error(kt){this.isStopped?Mt(function I(At){return M("E",void 0,At)}(kt),this):(this.isStopped=!0,this._error(kt))}complete(){this.isStopped?Mt(S,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(kt){this.destination.next(kt)}_error(kt){try{this.destination.error(kt)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const W=Function.prototype.bind;function q(At,kt){return W.call(At,kt)}class ct{constructor(kt){this.partialObserver=kt}next(kt){const{partialObserver:nt}=this;if(nt.next)try{nt.next(kt)}catch(at){tt(at)}}error(kt){const{partialObserver:nt}=this;if(nt.error)try{nt.error(kt)}catch(at){tt(at)}else tt(kt)}complete(){const{partialObserver:kt}=this;if(kt.complete)try{kt.complete()}catch(nt){tt(nt)}}}class ht extends J{constructor(kt,nt,at){let rt;if(super(),(0,o.T)(kt)||!kt)rt={next:kt??void 0,error:nt??void 0,complete:at??void 0};else{let yt;this&&c.$.useDeprecatedNextContext?(yt=Object.create(kt),yt.unsubscribe=()=>this.unsubscribe(),rt={next:kt.next&&q(kt.next,yt),error:kt.error&&q(kt.error,yt),complete:kt.complete&&q(kt.complete,yt)}):rt=kt}this.destination=new ct(rt)}}function tt(At){c.$.useDeprecatedSynchronousErrorHandling?(0,L.l)(At):(0,y.m)(At)}function Mt(At,kt){const{onStoppedNotification:nt}=c.$;nt&&R.f.setTimeout(()=>nt(At,kt))}const $t={closed:!0,next:k.l,error:function _t(At){throw At},complete:k.l}},8359:(i,a,r)=>{"use strict";r.d(a,{Kn:()=>S,yU:()=>k,Uv:()=>I});var o=r(8071);const c=(0,r(1853).L)(M=>function(L){M(this),this.message=L?`${L.length} errors occurred during unsubscription:\n${L.map((J,W)=>`${W+1}) ${J.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=L});var y=r(7908);class k{constructor(R){this.initialTeardown=R,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let R;if(!this.closed){this.closed=!0;const{_parentage:L}=this;if(L)if(this._parentage=null,Array.isArray(L))for(const q of L)q.remove(this);else L.remove(this);const{initialTeardown:J}=this;if((0,o.T)(J))try{J()}catch(q){R=q instanceof c?q.errors:[q]}const{_finalizers:W}=this;if(W){this._finalizers=null;for(const q of W)try{T(q)}catch(ct){R=R??[],ct instanceof c?R=[...R,...ct.errors]:R.push(ct)}}if(R)throw new c(R)}}add(R){var L;if(R&&R!==this)if(this.closed)T(R);else{if(R instanceof k){if(R.closed||R._hasParent(this))return;R._addParent(this)}(this._finalizers=null!==(L=this._finalizers)&&void 0!==L?L:[]).push(R)}}_hasParent(R){const{_parentage:L}=this;return L===R||Array.isArray(L)&&L.includes(R)}_addParent(R){const{_parentage:L}=this;this._parentage=Array.isArray(L)?(L.push(R),L):L?[L,R]:R}_removeParent(R){const{_parentage:L}=this;L===R?this._parentage=null:Array.isArray(L)&&(0,y.o)(L,R)}remove(R){const{_finalizers:L}=this;L&&(0,y.o)(L,R),R instanceof k&&R._removeParent(this)}}k.EMPTY=(()=>{const M=new k;return M.closed=!0,M})();const S=k.EMPTY;function I(M){return M instanceof k||M&&"closed"in M&&(0,o.T)(M.remove)&&(0,o.T)(M.add)&&(0,o.T)(M.unsubscribe)}function T(M){(0,o.T)(M)?M():M.unsubscribe()}},1026:(i,a,r)=>{"use strict";r.d(a,{$:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17:(i,a,r)=>{"use strict";r.d(a,{G:()=>S});var o=r(1985),s=r(8359),c=r(9898),y=r(4360),k=r(9974);class S extends o.c{constructor(T,M){super(),this.source=T,this.subjectFactory=M,this._subject=null,this._refCount=0,this._connection=null,(0,k.S)(T)&&(this.lift=T.lift)}_subscribe(T){return this.getSubject().subscribe(T)}getSubject(){const T=this._subject;return(!T||T.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:T}=this;this._subject=this._connection=null,T?.unsubscribe()}connect(){let T=this._connection;if(!T){T=this._connection=new s.yU;const M=this.getSubject();T.add(this.source.subscribe((0,y._)(M,void 0,()=>{this._teardown(),M.complete()},R=>{this._teardown(),M.error(R)},()=>this._teardown()))),T.closed&&(this._connection=null,T=s.yU.EMPTY)}return T}refCount(){return(0,c.B)()(this)}}},4572:(i,a,r)=>{"use strict";r.d(a,{z:()=>R});var o=r(1985),s=r(3073),c=r(6648),y=r(3669),k=r(6450),S=r(9326),I=r(8496),T=r(4360),M=r(5225);function R(...W){const q=(0,S.lI)(W),ct=(0,S.ms)(W),{args:ht,keys:tt}=(0,s.D)(W);if(0===ht.length)return(0,c.H)([],q);const _t=new o.c(function L(W,q,ct=y.D){return ht=>{J(q,()=>{const{length:tt}=W,_t=new Array(tt);let Mt=tt,$t=tt;for(let At=0;At{const kt=(0,c.H)(W[At],q);let nt=!1;kt.subscribe((0,T._)(ht,at=>{_t[At]=at,nt||(nt=!0,$t--),$t||ht.next(ct(_t.slice()))},()=>{--Mt||ht.complete()}))},ht)},ht)}}(ht,q,tt?Mt=>(0,I.e)(tt,Mt):y.D));return ct?_t.pipe((0,k.I)(ct)):_t}function J(W,q,ct){W?(0,M.N)(ct,W,q):q()}},8793:(i,a,r)=>{"use strict";r.d(a,{x:()=>k});var o=r(6365),c=r(9326),y=r(6648);function k(...S){return function s(){return(0,o.U)(1)}()((0,y.H)(S,(0,c.lI)(S)))}},9030:(i,a,r)=>{"use strict";r.d(a,{v:()=>c});var o=r(1985),s=r(8750);function c(y){return new o.c(k=>{(0,s.Tg)(y()).subscribe(k)})}},983:(i,a,r)=>{"use strict";r.d(a,{w:()=>s});const s=new(r(1985).c)(k=>k.complete())},7468:(i,a,r)=>{"use strict";r.d(a,{p:()=>T});var o=r(1985),s=r(3073),c=r(8750),y=r(9326),k=r(4360),S=r(6450),I=r(8496);function T(...M){const R=(0,y.ms)(M),{args:L,keys:J}=(0,s.D)(M),W=new o.c(q=>{const{length:ct}=L;if(!ct)return void q.complete();const ht=new Array(ct);let tt=ct,_t=ct;for(let Mt=0;Mt{$t||($t=!0,_t--),ht[Mt]=At},()=>tt--,void 0,()=>{(!tt||!$t)&&(_t||q.next(J?(0,I.e)(J,ht):ht),q.complete())}))}});return R?W.pipe((0,S.I)(R)):W}},6648:(i,a,r)=>{"use strict";r.d(a,{H:()=>at});var o=r(8750),s=r(5225),c=r(9974),y=r(4360);function k(rt,yt=0){return(0,c.N)((Ct,Vt)=>{Ct.subscribe((0,y._)(Vt,Xt=>(0,s.N)(Vt,rt,()=>Vt.next(Xt),yt),()=>(0,s.N)(Vt,rt,()=>Vt.complete(),yt),Xt=>(0,s.N)(Vt,rt,()=>Vt.error(Xt),yt)))})}function S(rt,yt=0){return(0,c.N)((Ct,Vt)=>{Vt.add(rt.schedule(()=>Ct.subscribe(Vt),yt))})}var M=r(1985),L=r(4761),J=r(8071);function q(rt,yt){if(!rt)throw new Error("Iterable cannot be null");return new M.c(Ct=>{(0,s.N)(Ct,yt,()=>{const Vt=rt[Symbol.asyncIterator]();(0,s.N)(Ct,yt,()=>{Vt.next().then(Xt=>{Xt.done?Ct.complete():Ct.next(Xt.value)})},0,!0)})})}var ct=r(5055),ht=r(9858),tt=r(7441),_t=r(5397),Mt=r(7953),$t=r(591),At=r(5196);function at(rt,yt){return yt?function nt(rt,yt){if(null!=rt){if((0,ct.l)(rt))return function I(rt,yt){return(0,o.Tg)(rt).pipe(S(yt),k(yt))}(rt,yt);if((0,tt.X)(rt))return function R(rt,yt){return new M.c(Ct=>{let Vt=0;return yt.schedule(function(){Vt===rt.length?Ct.complete():(Ct.next(rt[Vt++]),Ct.closed||this.schedule())})})}(rt,yt);if((0,ht.y)(rt))return function T(rt,yt){return(0,o.Tg)(rt).pipe(S(yt),k(yt))}(rt,yt);if((0,Mt.T)(rt))return q(rt,yt);if((0,_t.x)(rt))return function W(rt,yt){return new M.c(Ct=>{let Vt;return(0,s.N)(Ct,yt,()=>{Vt=rt[L.l](),(0,s.N)(Ct,yt,()=>{let Xt,oe;try{({value:Xt,done:oe}=Vt.next())}catch(Xe){return void Ct.error(Xe)}oe?Ct.complete():Ct.next(Xt)},0,!0)}),()=>(0,J.T)(Vt?.return)&&Vt.return()})}(rt,yt);if((0,At.U)(rt))return function kt(rt,yt){return q((0,At.C)(rt),yt)}(rt,yt)}throw(0,$t.L)(rt)}(rt,yt):(0,o.Tg)(rt)}},3726:(i,a,r)=>{"use strict";r.d(a,{R:()=>R});var o=r(8750),s=r(1985),c=r(1397),y=r(7441),k=r(8071),S=r(6450);const I=["addListener","removeListener"],T=["addEventListener","removeEventListener"],M=["on","off"];function R(ct,ht,tt,_t){if((0,k.T)(tt)&&(_t=tt,tt=void 0),_t)return R(ct,ht,tt).pipe((0,S.I)(_t));const[Mt,$t]=function q(ct){return(0,k.T)(ct.addEventListener)&&(0,k.T)(ct.removeEventListener)}(ct)?T.map(At=>kt=>ct[At](ht,kt,tt)):function J(ct){return(0,k.T)(ct.addListener)&&(0,k.T)(ct.removeListener)}(ct)?I.map(L(ct,ht)):function W(ct){return(0,k.T)(ct.on)&&(0,k.T)(ct.off)}(ct)?M.map(L(ct,ht)):[];if(!Mt&&(0,y.X)(ct))return(0,c.Z)(At=>R(At,ht,tt))((0,o.Tg)(ct));if(!Mt)throw new TypeError("Invalid event target");return new s.c(At=>{const kt=(...nt)=>At.next(1$t(kt)})}function L(ct,ht){return tt=>_t=>ct[tt](ht,_t)}},8750:(i,a,r)=>{"use strict";r.d(a,{Tg:()=>W});var o=r(1635),s=r(7441),c=r(9858),y=r(1985),k=r(5055),S=r(7953),I=r(591),T=r(5397),M=r(5196),R=r(8071),L=r(5334),J=r(3494);function W(At){if(At instanceof y.c)return At;if(null!=At){if((0,k.l)(At))return function q(At){return new y.c(kt=>{const nt=At[J.s]();if((0,R.T)(nt.subscribe))return nt.subscribe(kt);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(At);if((0,s.X)(At))return function ct(At){return new y.c(kt=>{for(let nt=0;nt{At.then(nt=>{kt.closed||(kt.next(nt),kt.complete())},nt=>kt.error(nt)).then(null,L.m)})}(At);if((0,S.T)(At))return _t(At);if((0,T.x)(At))return function tt(At){return new y.c(kt=>{for(const nt of At)if(kt.next(nt),kt.closed)return;kt.complete()})}(At);if((0,M.U)(At))return function Mt(At){return _t((0,M.C)(At))}(At)}throw(0,I.L)(At)}function _t(At){return new y.c(kt=>{(function $t(At,kt){var nt,at,rt,yt;return(0,o.sH)(this,void 0,void 0,function*(){try{for(nt=(0,o.xN)(At);!(at=yield nt.next()).done;)if(kt.next(at.value),kt.closed)return}catch(Ct){rt={error:Ct}}finally{try{at&&!at.done&&(yt=nt.return)&&(yield yt.call(nt))}finally{if(rt)throw rt.error}}kt.complete()})})(At,kt).catch(nt=>kt.error(nt))})}},7786:(i,a,r)=>{"use strict";r.d(a,{h:()=>S});var o=r(6365),s=r(8750),c=r(983),y=r(9326),k=r(6648);function S(...I){const T=(0,y.lI)(I),M=(0,y.R0)(I,1/0),R=I;return R.length?1===R.length?(0,s.Tg)(R[0]):(0,o.U)(M)((0,k.H)(R,T)):c.w}},7673:(i,a,r)=>{"use strict";r.d(a,{of:()=>c});var o=r(9326),s=r(6648);function c(...y){const k=(0,o.lI)(y);return(0,s.H)(y,k)}},8810:(i,a,r)=>{"use strict";r.d(a,{$:()=>c});var o=r(1985),s=r(8071);function c(y,k){const S=(0,s.T)(y)?y:()=>y,I=T=>T.error(S());return new o.c(k?T=>k.schedule(I,0,T):I)}},1584:(i,a,r)=>{"use strict";r.d(a,{O:()=>k});var o=r(1985),s=r(3236),c=r(9470);function k(S=0,I,T=s.b){let M=-1;return null!=I&&((0,c.m)(I)?T=I:M=I),new o.c(R=>{let L=function y(S){return S instanceof Date&&!isNaN(S)}(S)?+S-T.now():S;L<0&&(L=0);let J=0;return T.schedule(function(){R.closed||(R.next(J++),0<=M?this.schedule(void 0,M):R.complete())},L)})}},4360:(i,a,r)=>{"use strict";r.d(a,{_:()=>s});var o=r(7707);function s(y,k,S,I,T){return new c(y,k,S,I,T)}class c extends o.vU{constructor(k,S,I,T,M,R){super(k),this.onFinalize=M,this.shouldUnsubscribe=R,this._next=S?function(L){try{S(L)}catch(J){k.error(J)}}:super._next,this._error=T?function(L){try{T(L)}catch(J){k.error(J)}finally{this.unsubscribe()}}:super._error,this._complete=I?function(){try{I()}catch(L){k.error(L)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:S}=this;super.unsubscribe(),!S&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}},3798:(i,a,r)=>{"use strict";r.d(a,{Z:()=>I});var o=r(3236),s=r(9974),c=r(8750),y=r(4360),S=r(1584);function I(T,M=o.E){return function k(T){return(0,s.N)((M,R)=>{let L=!1,J=null,W=null,q=!1;const ct=()=>{if(W?.unsubscribe(),W=null,L){L=!1;const tt=J;J=null,R.next(tt)}q&&R.complete()},ht=()=>{W=null,q&&R.complete()};M.subscribe((0,y._)(R,tt=>{L=!0,J=tt,W||(0,c.Tg)(T(tt)).subscribe(W=(0,y._)(R,ct,ht))},()=>{q=!0,(!L||!W||W.closed)&&R.complete()}))})}(()=>(0,S.O)(T,M))}},9437:(i,a,r)=>{"use strict";r.d(a,{W:()=>y});var o=r(8750),s=r(4360),c=r(9974);function y(k){return(0,c.N)((S,I)=>{let R,T=null,M=!1;T=S.subscribe((0,s._)(I,void 0,void 0,L=>{R=(0,o.Tg)(k(L,y(k)(S))),T?(T.unsubscribe(),T=null,R.subscribe(I)):M=!0})),M&&(T.unsubscribe(),T=null,R.subscribe(I))})}},274:(i,a,r)=>{"use strict";r.d(a,{H:()=>c});var o=r(1397),s=r(8071);function c(y,k){return(0,s.T)(k)?(0,o.Z)(y,k,1):(0,o.Z)(y,1)}},152:(i,a,r)=>{"use strict";r.d(a,{B:()=>y});var o=r(3236),s=r(9974),c=r(4360);function y(k,S=o.E){return(0,s.N)((I,T)=>{let M=null,R=null,L=null;const J=()=>{if(M){M.unsubscribe(),M=null;const q=R;R=null,T.next(q)}};function W(){const q=L+k,ct=S.now();if(ct{R=q,L=S.now(),M||(M=S.schedule(W,k),T.add(M))},()=>{J(),T.complete()},void 0,()=>{R=M=null}))})}},1986:(i,a,r)=>{"use strict";r.d(a,{c:()=>W});var o=r(3236),s=r(8793),c=r(6697),y=r(9974),k=r(4360),S=r(5343),T=r(3703),M=r(1397),R=r(8750);function L(q,ct){return ct?ht=>(0,s.x)(ct.pipe((0,c.s)(1),function I(){return(0,y.N)((q,ct)=>{q.subscribe((0,k._)(ct,S.l))})}()),ht.pipe(L(q))):(0,M.Z)((ht,tt)=>(0,R.Tg)(q(ht,tt)).pipe((0,c.s)(1),(0,T.u)(ht)))}var J=r(1584);function W(q,ct=o.E){const ht=(0,J.O)(q,ct);return L(()=>ht)}},3294:(i,a,r)=>{"use strict";r.d(a,{F:()=>y});var o=r(3669),s=r(9974),c=r(4360);function y(S,I=o.D){return S=S??k,(0,s.N)((T,M)=>{let R,L=!0;T.subscribe((0,c._)(M,J=>{const W=I(J);(L||!S(R,W))&&(L=!1,R=W,M.next(J))}))})}function k(S,I){return S===I}},5964:(i,a,r)=>{"use strict";r.d(a,{p:()=>c});var o=r(9974),s=r(4360);function c(y,k){return(0,o.N)((S,I)=>{let T=0;S.subscribe((0,s._)(I,M=>y.call(k,M,T++)&&I.next(M)))})}},980:(i,a,r)=>{"use strict";r.d(a,{j:()=>s});var o=r(9974);function s(c){return(0,o.N)((y,k)=>{try{y.subscribe(k)}finally{k.add(c)}})}},6354:(i,a,r)=>{"use strict";r.d(a,{T:()=>c});var o=r(9974),s=r(4360);function c(y,k){return(0,o.N)((S,I)=>{let T=0;S.subscribe((0,s._)(I,M=>{I.next(y.call(k,M,T++))}))})}},3703:(i,a,r)=>{"use strict";r.d(a,{u:()=>s});var o=r(6354);function s(c){return(0,o.T)(()=>c)}},6365:(i,a,r)=>{"use strict";r.d(a,{U:()=>c});var o=r(1397),s=r(3669);function c(y=1/0){return(0,o.Z)(s.D,y)}},1397:(i,a,r)=>{"use strict";r.d(a,{Z:()=>T});var o=r(6354),s=r(8750),c=r(9974),y=r(5225),k=r(4360),I=r(8071);function T(M,R,L=1/0){return(0,I.T)(R)?T((J,W)=>(0,o.T)((q,ct)=>R(J,q,W,ct))((0,s.Tg)(M(J,W))),L):("number"==typeof R&&(L=R),(0,c.N)((J,W)=>function S(M,R,L,J,W,q,ct,ht){const tt=[];let _t=0,Mt=0,$t=!1;const At=()=>{$t&&!tt.length&&!_t&&R.complete()},kt=at=>_t{q&&R.next(at),_t++;let rt=!1;(0,s.Tg)(L(at,Mt++)).subscribe((0,k._)(R,yt=>{W?.(yt),q?kt(yt):R.next(yt)},()=>{rt=!0},void 0,()=>{if(rt)try{for(_t--;tt.length&&_tnt(yt)):nt(yt)}At()}catch(yt){R.error(yt)}}))};return M.subscribe((0,k._)(R,kt,()=>{$t=!0,At()})),()=>{ht?.()}}(J,W,M,L)))}},9898:(i,a,r)=>{"use strict";r.d(a,{B:()=>c});var o=r(9974),s=r(4360);function c(){return(0,o.N)((y,k)=>{let S=null;y._refCount++;const I=(0,s._)(k,void 0,void 0,void 0,()=>{if(!y||y._refCount<=0||0<--y._refCount)return void(S=null);const T=y._connection,M=S;S=null,T&&(!M||T===M)&&T.unsubscribe(),k.unsubscribe()});y.subscribe(I),I.closed||(S=y.connect())})}},6649:(i,a,r)=>{"use strict";r.d(a,{S:()=>s});var o=r(4360);function s(c,y,k,S,I){return(T,M)=>{let R=k,L=y,J=0;T.subscribe((0,o._)(M,W=>{const q=J++;L=R?c(L,W,q):(R=!0,W),S&&M.next(L)},I&&(()=>{R&&M.next(L),M.complete()})))}}},7647:(i,a,r)=>{"use strict";r.d(a,{u:()=>k});var o=r(8750),s=r(1413),c=r(7707),y=r(9974);function k(I={}){const{connector:T=()=>new s.B,resetOnError:M=!0,resetOnComplete:R=!0,resetOnRefCountZero:L=!0}=I;return J=>{let W,q,ct,ht=0,tt=!1,_t=!1;const Mt=()=>{q?.unsubscribe(),q=void 0},$t=()=>{Mt(),W=ct=void 0,tt=_t=!1},At=()=>{const kt=W;$t(),kt?.unsubscribe()};return(0,y.N)((kt,nt)=>{ht++,!_t&&!tt&&Mt();const at=ct=ct??T();nt.add(()=>{ht--,0===ht&&!_t&&!tt&&(q=S(At,L))}),at.subscribe(nt),!W&&ht>0&&(W=new c.Ms({next:rt=>at.next(rt),error:rt=>{_t=!0,Mt(),q=S($t,M,rt),at.error(rt)},complete:()=>{tt=!0,Mt(),q=S($t,R),at.complete()}}),(0,o.Tg)(kt).subscribe(W))})(J)}}function S(I,T,...M){if(!0===T)return void I();if(!1===T)return;const R=new c.Ms({next:()=>{R.unsubscribe(),I()}});return(0,o.Tg)(T(...M)).subscribe(R)}},4668:(i,a,r)=>{"use strict";r.d(a,{t:()=>c});var o=r(2771),s=r(7647);function c(y,k,S){let I,T=!1;return y&&"object"==typeof y?({bufferSize:I=1/0,windowTime:k=1/0,refCount:T=!1,scheduler:S}=y):I=y??1/0,(0,s.u)({connector:()=>new o.m(I,k,S),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:T})}},7626:(i,a,r)=>{"use strict";r.d(a,{i:()=>s});var o=r(5964);function s(c){return(0,o.p)((y,k)=>c<=k)}},9172:(i,a,r)=>{"use strict";r.d(a,{Z:()=>y});var o=r(8793),s=r(9326),c=r(9974);function y(...k){const S=(0,s.lI)(k);return(0,c.N)((I,T)=>{(S?(0,o.x)(k,I,S):(0,o.x)(k,I)).subscribe(T)})}},5558:(i,a,r)=>{"use strict";r.d(a,{n:()=>y});var o=r(8750),s=r(9974),c=r(4360);function y(k,S){return(0,s.N)((I,T)=>{let M=null,R=0,L=!1;const J=()=>L&&!M&&T.complete();I.subscribe((0,c._)(T,W=>{M?.unsubscribe();let q=0;const ct=R++;(0,o.Tg)(k(W,ct)).subscribe(M=(0,c._)(T,ht=>T.next(S?S(W,ht,ct,q++):ht),()=>{M=null,J()}))},()=>{L=!0,J()}))})}},6697:(i,a,r)=>{"use strict";r.d(a,{s:()=>y});var o=r(983),s=r(9974),c=r(4360);function y(k){return k<=0?()=>o.w:(0,s.N)((S,I)=>{let T=0;S.subscribe((0,c._)(I,M=>{++T<=k&&(I.next(M),k<=T&&I.complete())}))})}},6977:(i,a,r)=>{"use strict";r.d(a,{Q:()=>k});var o=r(9974),s=r(4360),c=r(8750),y=r(5343);function k(S){return(0,o.N)((I,T)=>{(0,c.Tg)(S).subscribe((0,s._)(T,()=>T.complete(),y.l)),!T.closed&&I.subscribe(T)})}},7048:(i,a,r)=>{"use strict";r.d(a,{v:()=>c});var o=r(9974),s=r(4360);function c(y,k=!1){return(0,o.N)((S,I)=>{let T=0;S.subscribe((0,s._)(I,M=>{const R=y(M,T++);(R||k)&&I.next(M),!R&&I.complete()}))})}},8141:(i,a,r)=>{"use strict";r.d(a,{M:()=>k});var o=r(8071),s=r(9974),c=r(4360),y=r(3669);function k(S,I,T){const M=(0,o.T)(S)||I||T?{next:S,error:I,complete:T}:S;return M?(0,s.N)((R,L)=>{var J;null===(J=M.subscribe)||void 0===J||J.call(M);let W=!0;R.subscribe((0,c._)(L,q=>{var ct;null===(ct=M.next)||void 0===ct||ct.call(M,q),L.next(q)},()=>{var q;W=!1,null===(q=M.complete)||void 0===q||q.call(M),L.complete()},q=>{var ct;W=!1,null===(ct=M.error)||void 0===ct||ct.call(M,q),L.error(q)},()=>{var q,ct;W&&(null===(q=M.unsubscribe)||void 0===q||q.call(M)),null===(ct=M.finalize)||void 0===ct||ct.call(M)}))}):y.D}},6780:(i,a,r)=>{"use strict";r.d(a,{R:()=>k});var o=r(8359);class s extends o.yU{constructor(I,T){super()}schedule(I,T=0){return this}}const c={setInterval(S,I,...T){const{delegate:M}=c;return M?.setInterval?M.setInterval(S,I,...T):setInterval(S,I,...T)},clearInterval(S){const{delegate:I}=c;return(I?.clearInterval||clearInterval)(S)},delegate:void 0};var y=r(7908);class k extends s{constructor(I,T){super(I,T),this.scheduler=I,this.work=T,this.pending=!1}schedule(I,T=0){var M;if(this.closed)return this;this.state=I;const R=this.id,L=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(L,R,T)),this.pending=!0,this.delay=T,this.id=null!==(M=this.id)&&void 0!==M?M:this.requestAsyncId(L,this.id,T),this}requestAsyncId(I,T,M=0){return c.setInterval(I.flush.bind(I,this),M)}recycleAsyncId(I,T,M=0){if(null!=M&&this.delay===M&&!1===this.pending)return T;null!=T&&c.clearInterval(T)}execute(I,T){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const M=this._execute(I,T);if(M)return M;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(I,T){let R,M=!1;try{this.work(I)}catch(L){M=!0,R=L||new Error("Scheduled action threw falsy error")}if(M)return this.unsubscribe(),R}unsubscribe(){if(!this.closed){const{id:I,scheduler:T}=this,{actions:M}=T;this.work=this.state=this.scheduler=null,this.pending=!1,(0,y.o)(M,this),null!=I&&(this.id=this.recycleAsyncId(T,I,null)),this.delay=null,super.unsubscribe()}}}},9687:(i,a,r)=>{"use strict";r.d(a,{q:()=>c});var o=r(6129);class s{constructor(k,S=s.now){this.schedulerActionCtor=k,this.now=S}schedule(k,S=0,I){return new this.schedulerActionCtor(this,k).schedule(I,S)}}s.now=o.U.now;class c extends s{constructor(k,S=s.now){super(k,S),this.actions=[],this._active=!1}flush(k){const{actions:S}=this;if(this._active)return void S.push(k);let I;this._active=!0;do{if(I=k.execute(k.state,k.delay))break}while(k=S.shift());if(this._active=!1,I){for(;k=S.shift();)k.unsubscribe();throw I}}}},5007:(i,a,r)=>{"use strict";r.d(a,{$:()=>q});var o=r(6780);let c,s=1;const y={};function k(ht){return ht in y&&(delete y[ht],!0)}const S={setImmediate(ht){const tt=s++;return y[tt]=!0,c||(c=Promise.resolve()),c.then(()=>k(tt)&&ht()),tt},clearImmediate(ht){k(ht)}},{setImmediate:T,clearImmediate:M}=S,R={setImmediate(...ht){const{delegate:tt}=R;return(tt?.setImmediate||T)(...ht)},clearImmediate(ht){const{delegate:tt}=R;return(tt?.clearImmediate||M)(ht)},delegate:void 0};var J=r(9687);const q=new class W extends J.q{flush(tt){this._active=!0;const _t=this._scheduled;this._scheduled=void 0;const{actions:Mt}=this;let $t;tt=tt||Mt.shift();do{if($t=tt.execute(tt.state,tt.delay))break}while((tt=Mt[0])&&tt.id===_t&&Mt.shift());if(this._active=!1,$t){for(;(tt=Mt[0])&&tt.id===_t&&Mt.shift();)tt.unsubscribe();throw $t}}}(class L extends o.R{constructor(tt,_t){super(tt,_t),this.scheduler=tt,this.work=_t}requestAsyncId(tt,_t,Mt=0){return null!==Mt&&Mt>0?super.requestAsyncId(tt,_t,Mt):(tt.actions.push(this),tt._scheduled||(tt._scheduled=R.setImmediate(tt.flush.bind(tt,void 0))))}recycleAsyncId(tt,_t,Mt=0){var $t;if(null!=Mt?Mt>0:this.delay>0)return super.recycleAsyncId(tt,_t,Mt);const{actions:At}=tt;null!=_t&&(null===($t=At[At.length-1])||void 0===$t?void 0:$t.id)!==_t&&(R.clearImmediate(_t),tt._scheduled===_t&&(tt._scheduled=void 0))}})},3236:(i,a,r)=>{"use strict";r.d(a,{E:()=>c,b:()=>y});var o=r(6780);const c=new(r(9687).q)(o.R),y=c},6129:(i,a,r)=>{"use strict";r.d(a,{U:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},9270:(i,a,r)=>{"use strict";r.d(a,{f:()=>o});const o={setTimeout(s,c,...y){const{delegate:k}=o;return k?.setTimeout?k.setTimeout(s,c,...y):setTimeout(s,c,...y)},clearTimeout(s){const{delegate:c}=o;return(c?.clearTimeout||clearTimeout)(s)},delegate:void 0}},4761:(i,a,r)=>{"use strict";r.d(a,{l:()=>s});const s=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(i,a,r)=>{"use strict";r.d(a,{s:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(i,a,r)=>{"use strict";r.d(a,{G:()=>s});const s=(0,r(1853).L)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(i,a,r)=>{"use strict";r.d(a,{R0:()=>S,lI:()=>k,ms:()=>y});var o=r(8071),s=r(9470);function c(I){return I[I.length-1]}function y(I){return(0,o.T)(c(I))?I.pop():void 0}function k(I){return(0,s.m)(c(I))?I.pop():void 0}function S(I,T){return"number"==typeof c(I)?I.pop():T}},3073:(i,a,r)=>{"use strict";r.d(a,{D:()=>k});const{isArray:o}=Array,{getPrototypeOf:s,prototype:c,keys:y}=Object;function k(I){if(1===I.length){const T=I[0];if(o(T))return{args:T,keys:null};if(function S(I){return I&&"object"==typeof I&&s(I)===c}(T)){const M=y(T);return{args:M.map(R=>T[R]),keys:M}}}return{args:I,keys:null}}},7908:(i,a,r)=>{"use strict";function o(s,c){if(s){const y=s.indexOf(c);0<=y&&s.splice(y,1)}}r.d(a,{o:()=>o})},1853:(i,a,r)=>{"use strict";function o(s){const y=s(k=>{Error.call(k),k.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}r.d(a,{L:()=>o})},8496:(i,a,r)=>{"use strict";function o(s,c){return s.reduce((y,k,S)=>(y[k]=c[S],y),{})}r.d(a,{e:()=>o})},9786:(i,a,r)=>{"use strict";r.d(a,{Y:()=>c,l:()=>y});var o=r(1026);let s=null;function c(k){if(o.$.useDeprecatedSynchronousErrorHandling){const S=!s;if(S&&(s={errorThrown:!1,error:null}),k(),S){const{errorThrown:I,error:T}=s;if(s=null,I)throw T}}else k()}function y(k){o.$.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=k)}},5225:(i,a,r)=>{"use strict";function o(s,c,y,k=0,S=!1){const I=c.schedule(function(){y(),S?s.add(this.schedule(null,k)):this.unsubscribe()},k);if(s.add(I),!S)return I}r.d(a,{N:()=>o})},3669:(i,a,r)=>{"use strict";function o(s){return s}r.d(a,{D:()=>o})},7441:(i,a,r)=>{"use strict";r.d(a,{X:()=>o});const o=s=>s&&"number"==typeof s.length&&"function"!=typeof s},7953:(i,a,r)=>{"use strict";r.d(a,{T:()=>s});var o=r(8071);function s(c){return Symbol.asyncIterator&&(0,o.T)(c?.[Symbol.asyncIterator])}},8071:(i,a,r)=>{"use strict";function o(s){return"function"==typeof s}r.d(a,{T:()=>o})},5055:(i,a,r)=>{"use strict";r.d(a,{l:()=>c});var o=r(3494),s=r(8071);function c(y){return(0,s.T)(y[o.s])}},5397:(i,a,r)=>{"use strict";r.d(a,{x:()=>c});var o=r(4761),s=r(8071);function c(y){return(0,s.T)(y?.[o.l])}},4402:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});var o=r(1985),s=r(8071);function c(y){return!!y&&(y instanceof o.c||(0,s.T)(y.lift)&&(0,s.T)(y.subscribe))}},9858:(i,a,r)=>{"use strict";r.d(a,{y:()=>s});var o=r(8071);function s(c){return(0,o.T)(c?.then)}},5196:(i,a,r)=>{"use strict";r.d(a,{C:()=>c,U:()=>y});var o=r(1635),s=r(8071);function c(k){return(0,o.AQ)(this,arguments,function*(){const I=k.getReader();try{for(;;){const{value:T,done:M}=yield(0,o.N3)(I.read());if(M)return yield(0,o.N3)(void 0);yield yield(0,o.N3)(T)}}finally{I.releaseLock()}})}function y(k){return(0,s.T)(k?.getReader)}},9470:(i,a,r)=>{"use strict";r.d(a,{m:()=>s});var o=r(8071);function s(c){return c&&(0,o.T)(c.schedule)}},9974:(i,a,r)=>{"use strict";r.d(a,{N:()=>c,S:()=>s});var o=r(8071);function s(y){return(0,o.T)(y?.lift)}function c(y){return k=>{if(s(k))return k.lift(function(S){try{return y(S,this)}catch(I){this.error(I)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(i,a,r)=>{"use strict";r.d(a,{I:()=>y});var o=r(6354);const{isArray:s}=Array;function y(k){return(0,o.T)(S=>function c(k,S){return s(S)?k(...S):k(S)}(k,S))}},5343:(i,a,r)=>{"use strict";function o(){}r.d(a,{l:()=>o})},1203:(i,a,r)=>{"use strict";r.d(a,{F:()=>s,m:()=>c});var o=r(3669);function s(...y){return c(y)}function c(y){return 0===y.length?o.D:1===y.length?y[0]:function(S){return y.reduce((I,T)=>T(I),S)}}},5334:(i,a,r)=>{"use strict";r.d(a,{m:()=>c});var o=r(1026),s=r(9270);function c(y){s.f.setTimeout(()=>{const{onUnhandledError:k}=o.$;if(!k)throw y;k(y)})}},591:(i,a,r)=>{"use strict";function o(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.`)}r.d(a,{L:()=>o})},9969:(i,a,r)=>{"use strict";r.d(a,{FX:()=>Vt,If:()=>c,K2:()=>T,MA:()=>q,Os:()=>I,P:()=>ht,S6:()=>_t,hZ:()=>k,i0:()=>S,i7:()=>L,iF:()=>M,kY:()=>J,kp:()=>y,sf:()=>yt,ui:()=>Ct,wk:()=>R});var o=r(177),s=r(4438),c=function(Xt){return Xt[Xt.State=0]="State",Xt[Xt.Transition=1]="Transition",Xt[Xt.Sequence=2]="Sequence",Xt[Xt.Group=3]="Group",Xt[Xt.Animate=4]="Animate",Xt[Xt.Keyframes=5]="Keyframes",Xt[Xt.Style=6]="Style",Xt[Xt.Trigger=7]="Trigger",Xt[Xt.Reference=8]="Reference",Xt[Xt.AnimateChild=9]="AnimateChild",Xt[Xt.AnimateRef=10]="AnimateRef",Xt[Xt.Query=11]="Query",Xt[Xt.Stagger=12]="Stagger",Xt}(c||{});const y="*";function k(Xt,oe){return{type:c.Trigger,name:Xt,definitions:oe,options:{}}}function S(Xt,oe=null){return{type:c.Animate,styles:oe,timings:Xt}}function I(Xt,oe=null){return{type:c.Group,steps:Xt,options:oe}}function T(Xt,oe=null){return{type:c.Sequence,steps:Xt,options:oe}}function M(Xt){return{type:c.Style,styles:Xt,offset:null}}function R(Xt,oe,Xe){return{type:c.State,name:Xt,styles:oe,options:Xe}}function L(Xt){return{type:c.Keyframes,steps:Xt}}function J(Xt,oe,Xe=null){return{type:c.Transition,expr:Xt,animation:oe,options:Xe}}function q(Xt=null){return{type:c.AnimateChild,options:Xt}}function ht(Xt,oe,Xe=null){return{type:c.Query,selector:Xt,animation:oe,options:Xe}}let _t=(()=>{class Xt{static{this.\u0275fac=function(kr){return new(kr||Xt)}}static{this.\u0275prov=s.jDH({token:Xt,factory:()=>(0,s.WQX)($t),providedIn:"root"})}}return Xt})();class Mt{}let $t=(()=>{class Xt extends _t{constructor(Xe,kr){if(super(),this.animationModuleType=(0,s.WQX)(s.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=Xe.createRenderer(kr.body,{id:"0",encapsulation:s.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function rt(Xt){const oe=Xt.\u0275type;return 0===oe||1===oe}(this._renderer))throw new s.wOt(3600,!1)}build(Xe){const kr=this._nextAnimationId;this._nextAnimationId++;const gr=Array.isArray(Xe)?T(Xe):Xe;return nt(this._renderer,null,kr,"register",[gr]),new At(kr,this._renderer)}static{this.\u0275fac=function(kr){return new(kr||Xt)(s.KVO(s._9s),s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:Xt,factory:Xt.\u0275fac,providedIn:"root"})}}return Xt})();class At extends Mt{constructor(oe,Xe){super(),this._id=oe,this._renderer=Xe}create(oe,Xe){return new kt(this._id,oe,Xe||{},this._renderer)}}class kt{constructor(oe,Xe,kr,gr){this.id=oe,this.element=Xe,this._renderer=gr,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",kr)}_listen(oe,Xe){return this._renderer.listen(this.element,`@@${this.id}:${oe}`,Xe)}_command(oe,...Xe){nt(this._renderer,this.element,this.id,oe,Xe)}onDone(oe){this._listen("done",oe)}onStart(oe){this._listen("start",oe)}onDestroy(oe){this._listen("destroy",oe)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(oe){this._command("setPosition",oe)}getPosition(){return function at(Xt){const oe=Xt.\u0275type;return 0===oe?Xt:1===oe?Xt.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function nt(Xt,oe,Xe,kr,gr){Xt.setProperty(oe,`@@${Xe}:${kr}`,gr)}class yt{constructor(oe=0,Xe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=oe+Xe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}onStart(oe){this._originalOnStartFns.push(oe),this._onStartFns.push(oe)}onDone(oe){this._originalOnDoneFns.push(oe),this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(oe=>oe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(oe){this._position=this.totalTime?oe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(oe){const Xe="start"==oe?this._onStartFns:this._onDoneFns;Xe.forEach(kr=>kr()),Xe.length=0}}class Ct{constructor(oe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=oe;let Xe=0,kr=0,gr=0;const vr=this.players.length;0==vr?queueMicrotask(()=>this._onFinish()):this.players.forEach(Gr=>{Gr.onDone(()=>{++Xe==vr&&this._onFinish()}),Gr.onDestroy(()=>{++kr==vr&&this._onDestroy()}),Gr.onStart(()=>{++gr==vr&&this._onStart()})}),this.totalTime=this.players.reduce((Gr,xe)=>Math.max(Gr,xe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}init(){this.players.forEach(oe=>oe.init())}onStart(oe){this._onStartFns.push(oe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(oe=>oe()),this._onStartFns=[])}onDone(oe){this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(oe=>oe.play())}pause(){this.players.forEach(oe=>oe.pause())}restart(){this.players.forEach(oe=>oe.restart())}finish(){this._onFinish(),this.players.forEach(oe=>oe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(oe=>oe.destroy()),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this.players.forEach(oe=>oe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(oe){const Xe=oe*this.totalTime;this.players.forEach(kr=>{const gr=kr.totalTime?Math.min(1,Xe/kr.totalTime):1;kr.setPosition(gr)})}getPosition(){const oe=this.players.reduce((Xe,kr)=>null===Xe||kr.totalTime>Xe.totalTime?kr:Xe,null);return null!=oe?oe.getPosition():0}beforeDestroy(){this.players.forEach(oe=>{oe.beforeDestroy&&oe.beforeDestroy()})}triggerCallback(oe){const Xe="start"==oe?this._onStartFns:this._onDoneFns;Xe.forEach(kr=>kr()),Xe.length=0}}const Vt="!"},9888:(i,a,r)=>{"use strict";r.d(a,{Pd:()=>qe,Au:()=>xe,vr:()=>oe,Bu:()=>Le,FN:()=>mr,GX:()=>be,Q_:()=>_e,Z7:()=>ft,Ai:()=>Pr,px:()=>nt,_G:()=>it,w6:()=>Tt,Ae:()=>at});var o=r(177),s=r(4438),c=r(6860),y=r(1413),k=r(8359),I=(r(4402),r(7673)),T=r(4412),M=r(7336),R=r(8141),L=r(152),J=r(5964),W=r(6354),ct=(r(6697),r(7626)),ht=r(3294),tt=r(6977),Mt=r(2318),$t=r(4085),At=r(9327);const kt=" ";function nt(ke,me,Yt){const Se=rt(ke,me);Yt=Yt.trim(),!Se.some(ar=>ar.trim()===Yt)&&(Se.push(Yt),ke.setAttribute(me,Se.join(kt)))}function at(ke,me,Yt){const Se=rt(ke,me);Yt=Yt.trim();const ar=Se.filter(xr=>xr!==Yt);ar.length?ke.setAttribute(me,ar.join(kt)):ke.removeAttribute(me)}function rt(ke,me){return ke.getAttribute(me)?.match(/\S+/g)??[]}const Ct="cdk-describedby-message",Vt="cdk-describedby-host";let Xt=0,oe=(()=>{class ke{constructor(Yt,Se){this._platform=Se,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Xt++,this._document=Yt,this._id=(0,s.WQX)(s.sZ2)+"-"+Xt++}describe(Yt,Se,ar){if(!this._canBeDescribed(Yt,Se))return;const xr=Xe(Se,ar);"string"!=typeof Se?(kr(Se,this._id),this._messageRegistry.set(xr,{messageElement:Se,referenceCount:0})):this._messageRegistry.has(xr)||this._createMessageElement(Se,ar),this._isElementDescribedByMessage(Yt,xr)||this._addMessageReference(Yt,xr)}removeDescription(Yt,Se,ar){if(!Se||!this._isElementNode(Yt))return;const xr=Xe(Se,ar);if(this._isElementDescribedByMessage(Yt,xr)&&this._removeMessageReference(Yt,xr),"string"==typeof Se){const Eo=this._messageRegistry.get(xr);Eo&&0===Eo.referenceCount&&this._deleteMessageElement(xr)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Yt=this._document.querySelectorAll(`[${Vt}="${this._id}"]`);for(let Se=0;Se0!=ar.indexOf(Ct));Yt.setAttribute("aria-describedby",Se.join(" "))}_addMessageReference(Yt,Se){const ar=this._messageRegistry.get(Se);nt(Yt,"aria-describedby",ar.messageElement.id),Yt.setAttribute(Vt,this._id),ar.referenceCount++}_removeMessageReference(Yt,Se){const ar=this._messageRegistry.get(Se);ar.referenceCount--,at(Yt,"aria-describedby",ar.messageElement.id),Yt.removeAttribute(Vt)}_isElementDescribedByMessage(Yt,Se){const ar=rt(Yt,"aria-describedby"),xr=this._messageRegistry.get(Se),Eo=xr&&xr.messageElement.id;return!!Eo&&-1!=ar.indexOf(Eo)}_canBeDescribed(Yt,Se){if(!this._isElementNode(Yt))return!1;if(Se&&"object"==typeof Se)return!0;const ar=null==Se?"":`${Se}`.trim(),xr=Yt.getAttribute("aria-label");return!(!ar||xr&&xr.trim()===ar)}_isElementNode(Yt){return Yt.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(Se){return new(Se||ke)(s.KVO(o.qQ),s.KVO(c.OD))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})();function Xe(ke,me){return"string"==typeof ke?`${me||""}/${ke}`:ke}function kr(ke,me){ke.id||(ke.id=`${Ct}-${me}-${Xt++}`)}class vr{constructor(me,Yt){this._letterKeyStream=new y.B,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new y.B,this.selectedItem=this._selectedItem;const Se="number"==typeof Yt?.debounceInterval?Yt.debounceInterval:200;Yt?.skipPredicate&&(this._skipPredicateFn=Yt.skipPredicate),this.setItems(me),this._setupKeyHandler(Se)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(me){this._selectedItemIndex=me}setItems(me){this._items=me}handleKey(me){const Yt=me.keyCode;me.key&&1===me.key.length?this._letterKeyStream.next(me.key.toLocaleUpperCase()):(Yt>=M.A&&Yt<=M.Z||Yt>=M.f2&&Yt<=M.bn)&&this._letterKeyStream.next(String.fromCharCode(Yt))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(me){this._letterKeyStream.pipe((0,R.M)(Yt=>this._pressedLetters.push(Yt)),(0,L.B)(me),(0,J.p)(()=>this._pressedLetters.length>0),(0,W.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(Yt=>{for(let Se=1;SeSe.disabled,this.tabOut=new y.B,this.change=new y.B,me instanceof s.rOR?this._itemChangesSubscription=me.changes.subscribe(Se=>this._itemsChanged(Se.toArray())):(0,s.Hps)(me)&&(this._effectRef=(0,s.QZP)(()=>this._itemsChanged(me()),{injector:Yt}))}skipPredicate(me){return this._skipPredicateFn=me,this}withWrap(me=!0){return this._wrap=me,this}withVerticalOrientation(me=!0){return this._vertical=me,this}withHorizontalOrientation(me){return this._horizontal=me,this}withAllowedModifierKeys(me){return this._allowedModifierKeys=me,this}withTypeAhead(me=200){this._typeaheadSubscription.unsubscribe();const Yt=this._getItemsArray();return this._typeahead=new vr(Yt,{debounceInterval:"number"==typeof me?me:void 0,skipPredicate:Se=>this._skipPredicateFn(Se)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(Se=>{this.setActiveItem(Se)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(me=!0){return this._homeAndEnd=me,this}withPageUpDown(me=!0,Yt=10){return this._pageUpAndDown={enabled:me,delta:Yt},this}setActiveItem(me){const Yt=this._activeItem;this.updateActiveItem(me),this._activeItem!==Yt&&this.change.next(this._activeItemIndex)}onKeydown(me){const Yt=me.keyCode,ar=["altKey","ctrlKey","metaKey","shiftKey"].every(xr=>!me[xr]||this._allowedModifierKeys.indexOf(xr)>-1);switch(Yt){case M.wn:return void this.tabOut.next();case M.n6:if(this._vertical&&ar){this.setNextItemActive();break}return;case M.i7:if(this._vertical&&ar){this.setPreviousItemActive();break}return;case M.LE:if(this._horizontal&&ar){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case M.UQ:if(this._horizontal&&ar){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case M.yZ:if(this._homeAndEnd&&ar){this.setFirstItemActive();break}return;case M.Kp:if(this._homeAndEnd&&ar){this.setLastItemActive();break}return;case M.w_:if(this._pageUpAndDown.enabled&&ar){const xr=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(xr>0?xr:0,1);break}return;case M.dB:if(this._pageUpAndDown.enabled&&ar){const xr=this._activeItemIndex+this._pageUpAndDown.delta,Eo=this._getItemsArray().length;this._setActiveItemByIndex(xr-1&&Yt!==this._activeItemIndex&&(this._activeItemIndex=Yt,this._typeahead?.setCurrentSelectedItemIndex(Yt))}}}class xe extends Gr{setActiveItem(me){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(me),this.activeItem&&this.activeItem.setActiveStyles()}}class Le extends Gr{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(me){return this._origin=me,this}setActiveItem(me){super.setActiveItem(me),this.activeItem&&this.activeItem.focus(this._origin)}}let ft=(()=>{class ke{constructor(Yt){this._platform=Yt}isDisabled(Yt){return Yt.hasAttribute("disabled")}isVisible(Yt){return function Ut(ke){return!!(ke.offsetWidth||ke.offsetHeight||"function"==typeof ke.getClientRects&&ke.getClientRects().length)}(Yt)&&"visible"===getComputedStyle(Yt).visibility}isTabbable(Yt){if(!this._platform.isBrowser)return!1;const Se=function pe(ke){try{return ke.frameElement}catch{return null}}(function dr(ke){return ke.ownerDocument&&ke.ownerDocument.defaultView||window}(Yt));if(Se&&(-1===We(Se)||!this.isVisible(Se)))return!1;let ar=Yt.nodeName.toLowerCase(),xr=We(Yt);return Yt.hasAttribute("contenteditable")?-1!==xr:!("iframe"===ar||"object"===ar||this._platform.WEBKIT&&this._platform.IOS&&!function Or(ke){let me=ke.nodeName.toLowerCase(),Yt="input"===me&&ke.type;return"text"===Yt||"password"===Yt||"select"===me||"textarea"===me}(Yt))&&("audio"===ar?!!Yt.hasAttribute("controls")&&-1!==xr:"video"===ar?-1!==xr&&(null!==xr||this._platform.FIREFOX||Yt.hasAttribute("controls")):Yt.tabIndex>=0)}isFocusable(Yt,Se){return function ko(ke){return!function ie(ke){return function Wt(ke){return"input"==ke.nodeName.toLowerCase()}(ke)&&"hidden"==ke.type}(ke)&&(function Ee(ke){let me=ke.nodeName.toLowerCase();return"input"===me||"select"===me||"button"===me||"textarea"===me}(ke)||function He(ke){return function Me(ke){return"a"==ke.nodeName.toLowerCase()}(ke)&&ke.hasAttribute("href")}(ke)||ke.hasAttribute("contenteditable")||Fe(ke))}(Yt)&&!this.isDisabled(Yt)&&(Se?.ignoreVisibility||this.isVisible(Yt))}static{this.\u0275fac=function(Se){return new(Se||ke)(s.KVO(c.OD))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})();function Fe(ke){if(!ke.hasAttribute("tabindex")||void 0===ke.tabIndex)return!1;let me=ke.getAttribute("tabindex");return!(!me||isNaN(parseInt(me,10)))}function We(ke){if(!Fe(ke))return null;const me=parseInt(ke.getAttribute("tabindex")||"",10);return isNaN(me)?-1:me}class Lt{get enabled(){return this._enabled}set enabled(me){this._enabled=me,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(me,this._startAnchor),this._toggleAnchorTabIndex(me,this._endAnchor))}constructor(me,Yt,Se,ar,xr=!1,Eo){this._element=me,this._checker=Yt,this._ngZone=Se,this._document=ar,this._injector=Eo,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,xr||this.attachAnchors()}destroy(){const me=this._startAnchor,Yt=this._endAnchor;me&&(me.removeEventListener("focus",this.startAnchorListener),me.remove()),Yt&&(Yt.removeEventListener("focus",this.endAnchorListener),Yt.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(me){return new Promise(Yt=>{this._executeOnStable(()=>Yt(this.focusInitialElement(me)))})}focusFirstTabbableElementWhenReady(me){return new Promise(Yt=>{this._executeOnStable(()=>Yt(this.focusFirstTabbableElement(me)))})}focusLastTabbableElementWhenReady(me){return new Promise(Yt=>{this._executeOnStable(()=>Yt(this.focusLastTabbableElement(me)))})}_getRegionBoundary(me){const Yt=this._element.querySelectorAll(`[cdk-focus-region-${me}], [cdkFocusRegion${me}], [cdk-focus-${me}]`);return"start"==me?Yt.length?Yt[0]:this._getFirstTabbableElement(this._element):Yt.length?Yt[Yt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(me){const Yt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Yt){if(!this._checker.isFocusable(Yt)){const Se=this._getFirstTabbableElement(Yt);return Se?.focus(me),!!Se}return Yt.focus(me),!0}return this.focusFirstTabbableElement(me)}focusFirstTabbableElement(me){const Yt=this._getRegionBoundary("start");return Yt&&Yt.focus(me),!!Yt}focusLastTabbableElement(me){const Yt=this._getRegionBoundary("end");return Yt&&Yt.focus(me),!!Yt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(me){if(this._checker.isFocusable(me)&&this._checker.isTabbable(me))return me;const Yt=me.children;for(let Se=0;Se=0;Se--){const ar=Yt[Se].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Yt[Se]):null;if(ar)return ar}return null}_createAnchor(){const me=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,me),me.classList.add("cdk-visually-hidden"),me.classList.add("cdk-focus-trap-anchor"),me.setAttribute("aria-hidden","true"),me}_toggleAnchorTabIndex(me,Yt){me?Yt.setAttribute("tabindex","0"):Yt.removeAttribute("tabindex")}toggleAnchors(me){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(me,this._startAnchor),this._toggleAnchorTabIndex(me,this._endAnchor))}_executeOnStable(me){this._injector?(0,s.mal)(me,{injector:this._injector}):setTimeout(me)}}let be=(()=>{class ke{constructor(Yt,Se,ar){this._checker=Yt,this._ngZone=Se,this._injector=(0,s.WQX)(s.zZn),this._document=ar}create(Yt,Se=!1){return new Lt(Yt,this._checker,this._ngZone,this._document,Se,this._injector)}static{this.\u0275fac=function(Se){return new(Se||ke)(s.KVO(ft),s.KVO(s.SKi),s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})();function it(ke){return 0===ke.buttons||0===ke.detail}function Tt(ke){const me=ke.touches&&ke.touches[0]||ke.changedTouches&&ke.changedTouches[0];return!(!me||-1!==me.identifier||null!=me.radiusX&&1!==me.radiusX||null!=me.radiusY&&1!==me.radiusY)}const It=new s.nKC("cdk-input-modality-detector-options"),ye={ignoreKeys:[M.A$,M.W3,M.eg,M.Ge,M.FX]},Je=(0,c.BQ)({passive:!0,capture:!0});let er=(()=>{class ke{get mostRecentModality(){return this._modality.value}constructor(Yt,Se,ar,xr){this._platform=Yt,this._mostRecentTarget=null,this._modality=new T.t(null),this._lastTouchMs=0,this._onKeydown=Eo=>{this._options?.ignoreKeys?.some($n=>$n===Eo.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,c.Fb)(Eo))},this._onMousedown=Eo=>{Date.now()-this._lastTouchMs<650||(this._modality.next(it(Eo)?"keyboard":"mouse"),this._mostRecentTarget=(0,c.Fb)(Eo))},this._onTouchstart=Eo=>{Tt(Eo)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,c.Fb)(Eo))},this._options={...ye,...xr},this.modalityDetected=this._modality.pipe((0,ct.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,ht.F)()),Yt.isBrowser&&Se.runOutsideAngular(()=>{ar.addEventListener("keydown",this._onKeydown,Je),ar.addEventListener("mousedown",this._onMousedown,Je),ar.addEventListener("touchstart",this._onTouchstart,Je)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Je),document.removeEventListener("mousedown",this._onMousedown,Je),document.removeEventListener("touchstart",this._onTouchstart,Je))}static{this.\u0275fac=function(Se){return new(Se||ke)(s.KVO(c.OD),s.KVO(s.SKi),s.KVO(o.qQ),s.KVO(It,8))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})();const Wr=new s.nKC("liveAnnouncerElement",{providedIn:"root",factory:function eo(){return null}}),Uo=new s.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let fr=0,Pr=(()=>{class ke{constructor(Yt,Se,ar,xr){this._ngZone=Se,this._defaultOptions=xr,this._document=ar,this._liveElement=Yt||this._createLiveElement()}announce(Yt,...Se){const ar=this._defaultOptions;let xr,Eo;return 1===Se.length&&"number"==typeof Se[0]?Eo=Se[0]:[xr,Eo]=Se,this.clear(),clearTimeout(this._previousTimeout),xr||(xr=ar&&ar.politeness?ar.politeness:"polite"),null==Eo&&ar&&(Eo=ar.duration),this._liveElement.setAttribute("aria-live",xr),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise($n=>this._currentResolve=$n)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Yt,"number"==typeof Eo&&(this._previousTimeout=setTimeout(()=>this.clear(),Eo)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Yt="cdk-live-announcer-element",Se=this._document.getElementsByClassName(Yt),ar=this._document.createElement("div");for(let xr=0;xr .cdk-overlay-container [aria-modal="true"]');for(let ar=0;ar{class ke{constructor(Yt,Se,ar,xr,Eo){this._ngZone=Yt,this._platform=Se,this._inputModalityDetector=ar,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new y.B,this._rootNodeFocusAndBlurListener=$n=>{for(let Yo=(0,c.Fb)($n);Yo;Yo=Yo.parentElement)"focus"===$n.type?this._onFocus($n,Yo):this._onBlur($n,Yo)},this._document=xr,this._detectionMode=Eo?.detectionMode||qt.IMMEDIATE}monitor(Yt,Se=!1){const ar=(0,$t.i8)(Yt);if(!this._platform.isBrowser||1!==ar.nodeType)return(0,I.of)();const xr=(0,c.KT)(ar)||this._getDocument(),Eo=this._elementInfo.get(ar);if(Eo)return Se&&(Eo.checkChildren=!0),Eo.subject;const $n={checkChildren:Se,subject:new y.B,rootNode:xr};return this._elementInfo.set(ar,$n),this._registerGlobalListeners($n),$n.subject}stopMonitoring(Yt){const Se=(0,$t.i8)(Yt),ar=this._elementInfo.get(Se);ar&&(ar.subject.complete(),this._setClasses(Se),this._elementInfo.delete(Se),this._removeGlobalListeners(ar))}focusVia(Yt,Se,ar){const xr=(0,$t.i8)(Yt);xr===this._getDocument().activeElement?this._getClosestElementsInfo(xr).forEach(([$n,Yn])=>this._originChanged($n,Se,Yn)):(this._setOrigin(Se),"function"==typeof xr.focus&&xr.focus(ar))}ngOnDestroy(){this._elementInfo.forEach((Yt,Se)=>this.stopMonitoring(Se))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Yt){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Yt)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Yt&&this._isLastInteractionFromInputLabel(Yt)?"mouse":"program"}_shouldBeAttributedToTouch(Yt){return this._detectionMode===qt.EVENTUAL||!!Yt?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Yt,Se){Yt.classList.toggle("cdk-focused",!!Se),Yt.classList.toggle("cdk-touch-focused","touch"===Se),Yt.classList.toggle("cdk-keyboard-focused","keyboard"===Se),Yt.classList.toggle("cdk-mouse-focused","mouse"===Se),Yt.classList.toggle("cdk-program-focused","program"===Se)}_setOrigin(Yt,Se=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Yt,this._originFromTouchInteraction="touch"===Yt&&Se,this._detectionMode===qt.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Yt,Se){const ar=this._elementInfo.get(Se),xr=(0,c.Fb)(Yt);!ar||!ar.checkChildren&&Se!==xr||this._originChanged(Se,this._getFocusOrigin(xr),ar)}_onBlur(Yt,Se){const ar=this._elementInfo.get(Se);!ar||ar.checkChildren&&Yt.relatedTarget instanceof Node&&Se.contains(Yt.relatedTarget)||(this._setClasses(Se),this._emitOrigin(ar,null))}_emitOrigin(Yt,Se){Yt.subject.observers.length&&this._ngZone.run(()=>Yt.subject.next(Se))}_registerGlobalListeners(Yt){if(!this._platform.isBrowser)return;const Se=Yt.rootNode,ar=this._rootNodeFocusListenerCount.get(Se)||0;ar||this._ngZone.runOutsideAngular(()=>{Se.addEventListener("focus",this._rootNodeFocusAndBlurListener,ue),Se.addEventListener("blur",this._rootNodeFocusAndBlurListener,ue)}),this._rootNodeFocusListenerCount.set(Se,ar+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,tt.Q)(this._stopInputModalityDetector)).subscribe(xr=>{this._setOrigin(xr,!0)}))}_removeGlobalListeners(Yt){const Se=Yt.rootNode;if(this._rootNodeFocusListenerCount.has(Se)){const ar=this._rootNodeFocusListenerCount.get(Se);ar>1?this._rootNodeFocusListenerCount.set(Se,ar-1):(Se.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ue),Se.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ue),this._rootNodeFocusListenerCount.delete(Se))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Yt,Se,ar){this._setClasses(Yt,Se),this._emitOrigin(ar,Se),this._lastFocusOrigin=Se}_getClosestElementsInfo(Yt){const Se=[];return this._elementInfo.forEach((ar,xr)=>{(xr===Yt||ar.checkChildren&&xr.contains(Yt))&&Se.push([xr,ar])}),Se}_isLastInteractionFromInputLabel(Yt){const{_mostRecentTarget:Se,mostRecentModality:ar}=this._inputModalityDetector;if("mouse"!==ar||!Se||Se===Yt||"INPUT"!==Yt.nodeName&&"TEXTAREA"!==Yt.nodeName||Yt.disabled)return!1;const xr=Yt.labels;if(xr)for(let Eo=0;Eo{class ke{constructor(Yt,Se){this._platform=Yt,this._document=Se,this._breakpointSubscription=(0,s.WQX)(At.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Ro.NONE;const Yt=this._document.createElement("div");Yt.style.backgroundColor="rgb(1,2,3)",Yt.style.position="absolute",this._document.body.appendChild(Yt);const Se=this._document.defaultView||window,ar=Se&&Se.getComputedStyle?Se.getComputedStyle(Yt):null,xr=(ar&&ar.backgroundColor||"").replace(/ /g,"");switch(Yt.remove(),xr){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Ro.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Ro.BLACK_ON_WHITE}return Ro.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Yt=this._document.body.classList;Yt.remove($e,Ko,tr),this._hasCheckedHighContrastMode=!0;const Se=this.getHighContrastMode();Se===Ro.BLACK_ON_WHITE?Yt.add($e,Ko):Se===Ro.WHITE_ON_BLACK&&Yt.add($e,tr)}}static{this.\u0275fac=function(Se){return new(Se||ke)(s.KVO(c.OD),s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})(),qe=(()=>{class ke{constructor(Yt){Yt._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(Se){return new(Se||ke)(s.KVO(_e))}}static{this.\u0275mod=s.$C({type:ke})}static{this.\u0275inj=s.G2t({imports:[Mt.w5]})}}return ke})()},8203:(i,a,r)=>{"use strict";r.d(a,{dS:()=>I,jI:()=>M});var o=r(4438),s=r(177);const c=new o.nKC("cdk-dir-doc",{providedIn:"root",factory:function y(){return(0,o.WQX)(s.qQ)}}),k=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let I=(()=>{class R{constructor(J){this.value="ltr",this.change=new o.bkB,J&&(this.value=function S(R){const L=R?.toLowerCase()||"";return"auto"===L&&typeof navigator<"u"&&navigator?.language?k.test(navigator.language)?"rtl":"ltr":"rtl"===L?"rtl":"ltr"}((J.body?J.body.dir:null)||(J.documentElement?J.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(W){return new(W||R)(o.KVO(c,8))}}static{this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})(),M=(()=>{class R{static{this.\u0275fac=function(W){return new(W||R)}}static{this.\u0275mod=o.$C({type:R})}static{this.\u0275inj=o.G2t({})}}return R})()},4085:(i,a,r)=>{"use strict";r.d(a,{FG:()=>k,OE:()=>c,a1:()=>S,he:()=>s,i8:()=>I});var o=r(4438);function s(M){return null!=M&&"false"!=`${M}`}function c(M,R=0){return function y(M){return!isNaN(parseFloat(M))&&!isNaN(Number(M))}(M)?Number(M):2===arguments.length?R:0}function k(M){return Array.isArray(M)?M:[M]}function S(M){return null==M?"":"string"==typeof M?M:`${M}px`}function I(M){return M instanceof o.aKT?M.nativeElement:M}},5024:(i,a,r)=>{"use strict";r.d(a,{CB:()=>J,zP:()=>q}),r(4402),r(7673);var c=r(1413),y=r(4438);class J{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(ht=!1,tt,_t=!0,Mt){this._multiple=ht,this._emitChanges=_t,this.compareWith=Mt,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new c.B,tt&&tt.length&&(ht?tt.forEach($t=>this._markSelected($t)):this._markSelected(tt[0]),this._selectedToEmit.length=0)}select(...ht){this._verifyValueAssignment(ht),ht.forEach(_t=>this._markSelected(_t));const tt=this._hasQueuedChanges();return this._emitChangeEvent(),tt}deselect(...ht){this._verifyValueAssignment(ht),ht.forEach(_t=>this._unmarkSelected(_t));const tt=this._hasQueuedChanges();return this._emitChangeEvent(),tt}setSelection(...ht){this._verifyValueAssignment(ht);const tt=this.selected,_t=new Set(ht);ht.forEach($t=>this._markSelected($t)),tt.filter($t=>!_t.has(this._getConcreteValue($t,_t))).forEach($t=>this._unmarkSelected($t));const Mt=this._hasQueuedChanges();return this._emitChangeEvent(),Mt}toggle(ht){return this.isSelected(ht)?this.deselect(ht):this.select(ht)}clear(ht=!0){this._unmarkAll();const tt=this._hasQueuedChanges();return ht&&this._emitChangeEvent(),tt}isSelected(ht){return this._selection.has(this._getConcreteValue(ht))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(ht){this._multiple&&this.selected&&this._selected.sort(ht)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(ht){ht=this._getConcreteValue(ht),this.isSelected(ht)||(this._multiple||this._unmarkAll(),this.isSelected(ht)||this._selection.add(ht),this._emitChanges&&this._selectedToEmit.push(ht))}_unmarkSelected(ht){ht=this._getConcreteValue(ht),this.isSelected(ht)&&(this._selection.delete(ht),this._emitChanges&&this._deselectedToEmit.push(ht))}_unmarkAll(){this.isEmpty()||this._selection.forEach(ht=>this._unmarkSelected(ht))}_verifyValueAssignment(ht){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(ht,tt){if(this.compareWith){tt=tt??this._selection;for(let _t of tt)if(this.compareWith(ht,_t))return _t;return ht}return ht}}let q=(()=>{class ct{constructor(){this._listeners=[]}notify(tt,_t){for(let Mt of this._listeners)Mt(tt,_t)}listen(tt){return this._listeners.push(tt),()=>{this._listeners=this._listeners.filter(_t=>tt!==_t)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(_t){return new(_t||ct)}}static{this.\u0275prov=y.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})()},7336:(i,a,r)=>{"use strict";r.d(a,{A:()=>Nt,A$:()=>T,FX:()=>S,Fm:()=>k,Ge:()=>$,Kp:()=>ct,LE:()=>Mt,UQ:()=>tt,W3:()=>I,Z:()=>mt,_f:()=>L,bn:()=>vr,dB:()=>q,eg:()=>Gt,f2:()=>rt,i7:()=>_t,n6:()=>$t,rp:()=>Dt,t6:()=>J,w_:()=>W,wn:()=>c,yZ:()=>ht});const c=9,k=13,S=16,I=17,T=18,L=27,J=32,W=33,q=34,ct=35,ht=36,tt=37,_t=38,Mt=39,$t=40,rt=48,vr=57,Nt=65,mt=90,$=91,Gt=224;function Dt(ne,...Re){return Re.length?Re.some(Ce=>ne[Ce]):ne.altKey||ne.shiftKey||ne.ctrlKey||ne.metaKey}},9327:(i,a,r)=>{"use strict";r.d(a,{QP:()=>$t,Rp:()=>kt});var o=r(4438),s=r(4085),c=r(1413),y=r(4572),k=r(8793),S=r(1985),I=r(6697),T=r(7626),M=r(152),R=r(6354),L=r(9172),J=r(6977),W=r(6860);const ct=new Set;let ht,tt=(()=>{class nt{constructor(rt,yt){this._platform=rt,this._nonce=yt,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Mt}matchMedia(rt){return(this._platform.WEBKIT||this._platform.BLINK)&&function _t(nt,at){if(!ct.has(nt))try{ht||(ht=document.createElement("style"),at&&ht.setAttribute("nonce",at),ht.setAttribute("type","text/css"),document.head.appendChild(ht)),ht.sheet&&(ht.sheet.insertRule(`@media ${nt} {body{ }}`,0),ct.add(nt))}catch(rt){console.error(rt)}}(rt,this._nonce),this._matchMedia(rt)}static{this.\u0275fac=function(yt){return new(yt||nt)(o.KVO(W.OD),o.KVO(o.BIS,8))}}static{this.\u0275prov=o.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();function Mt(nt){return{matches:"all"===nt||""===nt,media:nt,addListener:()=>{},removeListener:()=>{}}}let $t=(()=>{class nt{constructor(rt,yt){this._mediaMatcher=rt,this._zone=yt,this._queries=new Map,this._destroySubject=new c.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(rt){return At((0,s.FG)(rt)).some(Ct=>this._registerQuery(Ct).mql.matches)}observe(rt){const Ct=At((0,s.FG)(rt)).map(Xt=>this._registerQuery(Xt).observable);let Vt=(0,y.z)(Ct);return Vt=(0,k.x)(Vt.pipe((0,I.s)(1)),Vt.pipe((0,T.i)(1),(0,M.B)(0))),Vt.pipe((0,R.T)(Xt=>{const oe={matches:!1,breakpoints:{}};return Xt.forEach(({matches:Xe,query:kr})=>{oe.matches=oe.matches||Xe,oe.breakpoints[kr]=Xe}),oe}))}_registerQuery(rt){if(this._queries.has(rt))return this._queries.get(rt);const yt=this._mediaMatcher.matchMedia(rt),Vt={observable:new S.c(Xt=>{const oe=Xe=>this._zone.run(()=>Xt.next(Xe));return yt.addListener(oe),()=>{yt.removeListener(oe)}}).pipe((0,L.Z)(yt),(0,R.T)(({matches:Xt})=>({query:rt,matches:Xt})),(0,J.Q)(this._destroySubject)),mql:yt};return this._queries.set(rt,Vt),Vt}static{this.\u0275fac=function(yt){return new(yt||nt)(o.KVO(tt),o.KVO(o.SKi))}}static{this.\u0275prov=o.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();function At(nt){return nt.map(at=>at.split(",")).reduce((at,rt)=>at.concat(rt)).map(at=>at.trim())}const kt={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},2318:(i,a,r)=>{"use strict";r.d(a,{w5:()=>S});var o=r(4438);let c=(()=>{class I{create(M){return typeof MutationObserver>"u"?null:new MutationObserver(M)}static{this.\u0275fac=function(R){return new(R||I)}}static{this.\u0275prov=o.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})(),S=(()=>{class I{static{this.\u0275fac=function(R){return new(R||I)}}static{this.\u0275mod=o.$C({type:I})}static{this.\u0275inj=o.G2t({providers:[c]})}}return I})()},7987:(i,a,r)=>{"use strict";r.d(a,{$Q:()=>Wt,Sf:()=>vr,Tv:()=>nt,WB:()=>Me,hJ:()=>Ee,rR:()=>at,yY:()=>Gr,z_:()=>Or});var o=r(5542),s=r(177),c=r(4438),y=r(4085),k=r(6860),S=r(5964),I=r(6977),T=r(7048),M=r(8203),R=r(6939),L=r(1413),J=r(8359),W=r(7786),q=r(7336);const ct=(0,k.CZ)();class ht{constructor(Lt,be){this._viewportRuler=Lt,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=be}attach(){}enable(){if(this._canBeEnabled()){const Lt=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Lt.style.left||"",this._previousHTMLStyles.top=Lt.style.top||"",Lt.style.left=(0,y.a1)(-this._previousScrollPosition.left),Lt.style.top=(0,y.a1)(-this._previousScrollPosition.top),Lt.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Lt=this._document.documentElement,se=Lt.style,Ie=this._document.body.style,br=se.scrollBehavior||"",mt=Ie.scrollBehavior||"";this._isEnabled=!1,se.left=this._previousHTMLStyles.left,se.top=this._previousHTMLStyles.top,Lt.classList.remove("cdk-global-scrollblock"),ct&&(se.scrollBehavior=Ie.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ct&&(se.scrollBehavior=br,Ie.scrollBehavior=mt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const be=this._document.body,se=this._viewportRuler.getViewportSize();return be.scrollHeight>se.height||be.scrollWidth>se.width}}class _t{constructor(Lt,be,se,Ie){this._scrollDispatcher=Lt,this._ngZone=be,this._viewportRuler=se,this._config=Ie,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Lt){this._overlayRef=Lt}enable(){if(this._scrollSubscription)return;const Lt=this._scrollDispatcher.scrolled(0).pipe((0,S.p)(be=>!be||!this._overlayRef.overlayElement.contains(be.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Lt.subscribe(()=>{const be=this._viewportRuler.getViewportScrollPosition().top;Math.abs(be-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Lt.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Mt{enable(){}disable(){}attach(){}}function $t(dr,Lt){return Lt.some(be=>dr.bottombe.bottom||dr.rightbe.right)}function At(dr,Lt){return Lt.some(be=>dr.topbe.bottom||dr.leftbe.right)}class kt{constructor(Lt,be,se,Ie){this._scrollDispatcher=Lt,this._viewportRuler=be,this._ngZone=se,this._config=Ie,this._scrollSubscription=null}attach(Lt){this._overlayRef=Lt}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const be=this._overlayRef.overlayElement.getBoundingClientRect(),{width:se,height:Ie}=this._viewportRuler.getViewportSize();$t(be,[{width:se,height:Ie,bottom:Ie,right:se,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let nt=(()=>{class dr{constructor(be,se,Ie,br){this._scrollDispatcher=be,this._viewportRuler=se,this._ngZone=Ie,this.noop=()=>new Mt,this.close=mt=>new _t(this._scrollDispatcher,this._ngZone,this._viewportRuler,mt),this.block=()=>new ht(this._viewportRuler,this._document),this.reposition=mt=>new kt(this._scrollDispatcher,this._viewportRuler,this._ngZone,mt),this._document=br}static{this.\u0275fac=function(se){return new(se||dr)(c.KVO(o.R),c.KVO(o.Xj),c.KVO(c.SKi),c.KVO(s.qQ))}}static{this.\u0275prov=c.jDH({token:dr,factory:dr.\u0275fac,providedIn:"root"})}}return dr})();class at{constructor(Lt){if(this.scrollStrategy=new Mt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Lt){const be=Object.keys(Lt);for(const se of be)void 0!==Lt[se]&&(this[se]=Lt[se])}}}class Ct{constructor(Lt,be){this.connectionPair=Lt,this.scrollableViewProperties=be}}let oe=(()=>{class dr{constructor(be){this._attachedOverlays=[],this._document=be}ngOnDestroy(){this.detach()}add(be){this.remove(be),this._attachedOverlays.push(be)}remove(be){const se=this._attachedOverlays.indexOf(be);se>-1&&this._attachedOverlays.splice(se,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(se){return new(se||dr)(c.KVO(s.qQ))}}static{this.\u0275prov=c.jDH({token:dr,factory:dr.\u0275fac,providedIn:"root"})}}return dr})(),Xe=(()=>{class dr extends oe{constructor(be,se){super(be),this._ngZone=se,this._keydownListener=Ie=>{const br=this._attachedOverlays;for(let mt=br.length-1;mt>-1;mt--)if(br[mt]._keydownEvents.observers.length>0){const $=br[mt]._keydownEvents;this._ngZone?this._ngZone.run(()=>$.next(Ie)):$.next(Ie);break}}}add(be){super.add(be),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(se){return new(se||dr)(c.KVO(s.qQ),c.KVO(c.SKi,8))}}static{this.\u0275prov=c.jDH({token:dr,factory:dr.\u0275fac,providedIn:"root"})}}return dr})(),kr=(()=>{class dr extends oe{constructor(be,se,Ie){super(be),this._platform=se,this._ngZone=Ie,this._cursorStyleIsSet=!1,this._pointerDownListener=br=>{this._pointerDownEventTarget=(0,k.Fb)(br)},this._clickListener=br=>{const mt=(0,k.Fb)(br),$="click"===br.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:mt;this._pointerDownEventTarget=null;const Y=this._attachedOverlays.slice();for(let it=Y.length-1;it>-1;it--){const Tt=Y[it];if(Tt._outsidePointerEvents.observers.length<1||!Tt.hasAttached())continue;if(gr(Tt.overlayElement,mt)||gr(Tt.overlayElement,$))break;const It=Tt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>It.next(br)):It.next(br)}}}add(be){if(super.add(be),!this._isAttached){const se=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(se)):this._addEventListeners(se),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=se.style.cursor,se.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const be=this._document.body;be.removeEventListener("pointerdown",this._pointerDownListener,!0),be.removeEventListener("click",this._clickListener,!0),be.removeEventListener("auxclick",this._clickListener,!0),be.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(be.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(be){be.addEventListener("pointerdown",this._pointerDownListener,!0),be.addEventListener("click",this._clickListener,!0),be.addEventListener("auxclick",this._clickListener,!0),be.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(se){return new(se||dr)(c.KVO(s.qQ),c.KVO(k.OD),c.KVO(c.SKi,8))}}static{this.\u0275prov=c.jDH({token:dr,factory:dr.\u0275fac,providedIn:"root"})}}return dr})();function gr(dr,Lt){const be=typeof ShadowRoot<"u"&&ShadowRoot;let se=Lt;for(;se;){if(se===dr)return!0;se=be&&se instanceof ShadowRoot?se.host:se.parentNode}return!1}let vr=(()=>{class dr{constructor(be,se){this._platform=se,this._document=be}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const be="cdk-overlay-container";if(this._platform.isBrowser||(0,k.v8)()){const Ie=this._document.querySelectorAll(`.${be}[platform="server"], .${be}[platform="test"]`);for(let br=0;brthis._backdropClick.next(ye),this._backdropTransitionendHandler=ye=>{this._disposeBackdrop(ye.target)},this._keydownEvents=new L.B,this._outsidePointerEvents=new L.B,this._renders=new L.B,Ie.scrollStrategy&&(this._scrollStrategy=Ie.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ie.positionStrategy,this._afterRenderRef=(0,c.O8t)(()=>(0,c.Tzd)(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Lt){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const be=this._portalOutlet.attach(Lt);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,c.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof be?.onDestroy&&be.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),be}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Lt=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Lt}dispose(){const Lt=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,Lt&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Lt){Lt!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Lt,this.hasAttached()&&(Lt.attach(this),this.updatePosition()))}updateSize(Lt){this._config={...this._config,...Lt},this._updateElementSize()}setDirection(Lt){this._config={...this._config,direction:Lt},this._updateElementDirection()}addPanelClass(Lt){this._pane&&this._toggleClasses(this._pane,Lt,!0)}removePanelClass(Lt){this._pane&&this._toggleClasses(this._pane,Lt,!1)}getDirection(){const Lt=this._config.direction;return Lt?"string"==typeof Lt?Lt:Lt.value:"ltr"}updateScrollStrategy(Lt){Lt!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Lt,this.hasAttached()&&(Lt.attach(this),Lt.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Lt=this._pane.style;Lt.width=(0,y.a1)(this._config.width),Lt.height=(0,y.a1)(this._config.height),Lt.minWidth=(0,y.a1)(this._config.minWidth),Lt.minHeight=(0,y.a1)(this._config.minHeight),Lt.maxWidth=(0,y.a1)(this._config.maxWidth),Lt.maxHeight=(0,y.a1)(this._config.maxHeight)}_togglePointerEvents(Lt){this._pane.style.pointerEvents=Lt?"":"none"}_attachBackdrop(){const Lt="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Lt)})}):this._backdropElement.classList.add(Lt)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Lt=this._backdropElement;if(Lt){if(this._animationsDisabled)return void this._disposeBackdrop(Lt);Lt.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Lt.addEventListener("transitionend",this._backdropTransitionendHandler)}),Lt.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Lt)},500))}}_toggleClasses(Lt,be,se){const Ie=(0,y.FG)(be||[]).filter(br=>!!br);Ie.length&&(se?Lt.classList.add(...Ie):Lt.classList.remove(...Ie))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const Lt=this._renders.pipe((0,I.Q)((0,W.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Lt.unsubscribe())})})}_disposeScrollStrategy(){const Lt=this._scrollStrategy;Lt&&(Lt.disable(),Lt.detach&&Lt.detach())}_disposeBackdrop(Lt){Lt&&(Lt.removeEventListener("click",this._backdropClickHandler),Lt.removeEventListener("transitionend",this._backdropTransitionendHandler),Lt.remove(),this._backdropElement===Lt&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const xe="cdk-overlay-connected-position-bounding-box",Le=/([A-Za-z%]+)$/;class gt{get positions(){return this._preferredPositions}constructor(Lt,be,se,Ie,br){this._viewportRuler=be,this._document=se,this._platform=Ie,this._overlayContainer=br,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new L.B,this._resizeSubscription=J.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Lt)}attach(Lt){this._validatePositions(),Lt.hostElement.classList.add(xe),this._overlayRef=Lt,this._boundingBox=Lt.hostElement,this._pane=Lt.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Lt=this._originRect,be=this._overlayRect,se=this._viewportRect,Ie=this._containerRect,br=[];let mt;for(let $ of this._preferredPositions){let Y=this._getOriginPoint(Lt,Ie,$),it=this._getOverlayPoint(Y,be,$),Tt=this._getOverlayFit(it,be,se,$);if(Tt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition($,Y);this._canFitWithFlexibleDimensions(Tt,it,se)?br.push({position:$,origin:Y,overlayRect:be,boundingBoxRect:this._calculateBoundingBoxRect(Y,$)}):(!mt||mt.overlayFit.visibleAreaY&&(Y=Tt,$=it)}return this._isPushed=!1,void this._applyPosition($.position,$.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(mt.position,mt.originPoint);this._applyPosition(mt.position,mt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Nt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(xe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Lt=this._lastPosition;if(Lt){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const be=this._getOriginPoint(this._originRect,this._containerRect,Lt);this._applyPosition(Lt,be)}else this.apply()}withScrollableContainers(Lt){return this._scrollables=Lt,this}withPositions(Lt){return this._preferredPositions=Lt,-1===Lt.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Lt){return this._viewportMargin=Lt,this}withFlexibleDimensions(Lt=!0){return this._hasFlexibleDimensions=Lt,this}withGrowAfterOpen(Lt=!0){return this._growAfterOpen=Lt,this}withPush(Lt=!0){return this._canPush=Lt,this}withLockedPosition(Lt=!0){return this._positionLocked=Lt,this}setOrigin(Lt){return this._origin=Lt,this}withDefaultOffsetX(Lt){return this._offsetX=Lt,this}withDefaultOffsetY(Lt){return this._offsetY=Lt,this}withTransformOriginOn(Lt){return this._transformOriginSelector=Lt,this}_getOriginPoint(Lt,be,se){let Ie,br;if("center"==se.originX)Ie=Lt.left+Lt.width/2;else{const mt=this._isRtl()?Lt.right:Lt.left,$=this._isRtl()?Lt.left:Lt.right;Ie="start"==se.originX?mt:$}return be.left<0&&(Ie-=be.left),br="center"==se.originY?Lt.top+Lt.height/2:"top"==se.originY?Lt.top:Lt.bottom,be.top<0&&(br-=be.top),{x:Ie,y:br}}_getOverlayPoint(Lt,be,se){let Ie,br;return Ie="center"==se.overlayX?-be.width/2:"start"===se.overlayX?this._isRtl()?-be.width:0:this._isRtl()?0:-be.width,br="center"==se.overlayY?-be.height/2:"top"==se.overlayY?0:-be.height,{x:Lt.x+Ie,y:Lt.y+br}}_getOverlayFit(Lt,be,se,Ie){const br=Rt(be);let{x:mt,y:$}=Lt,Y=this._getOffset(Ie,"x"),it=this._getOffset(Ie,"y");Y&&(mt+=Y),it&&($+=it);let ye=0-$,ir=$+br.height-se.height,Je=this._subtractOverflows(br.width,0-mt,mt+br.width-se.width),er=this._subtractOverflows(br.height,ye,ir),Wr=Je*er;return{visibleArea:Wr,isCompletelyWithinViewport:br.width*br.height===Wr,fitsInViewportVertically:er===br.height,fitsInViewportHorizontally:Je==br.width}}_canFitWithFlexibleDimensions(Lt,be,se){if(this._hasFlexibleDimensions){const Ie=se.bottom-be.y,br=se.right-be.x,mt=Ae(this._overlayRef.getConfig().minHeight),$=Ae(this._overlayRef.getConfig().minWidth);return(Lt.fitsInViewportVertically||null!=mt&&mt<=Ie)&&(Lt.fitsInViewportHorizontally||null!=$&&$<=br)}return!1}_pushOverlayOnScreen(Lt,be,se){if(this._previousPushAmount&&this._positionLocked)return{x:Lt.x+this._previousPushAmount.x,y:Lt.y+this._previousPushAmount.y};const Ie=Rt(be),br=this._viewportRect,mt=Math.max(Lt.x+Ie.width-br.width,0),$=Math.max(Lt.y+Ie.height-br.height,0),Y=Math.max(br.top-se.top-Lt.y,0),it=Math.max(br.left-se.left-Lt.x,0);let Tt=0,It=0;return Tt=Ie.width<=br.width?it||-mt:Lt.xJe&&!this._isInitialRender&&!this._growAfterOpen&&(mt=Lt.y-Je/2)}if("end"===be.overlayX&&!Ie||"start"===be.overlayX&&Ie)ye=se.width-Lt.x+2*this._viewportMargin,Tt=Lt.x-this._viewportMargin;else if("start"===be.overlayX&&!Ie||"end"===be.overlayX&&Ie)It=Lt.x,Tt=se.right-Lt.x;else{const ir=Math.min(se.right-Lt.x+se.left,Lt.x),Je=this._lastBoundingBoxSize.width;Tt=2*ir,It=Lt.x-ir,Tt>Je&&!this._isInitialRender&&!this._growAfterOpen&&(It=Lt.x-Je/2)}return{top:mt,left:It,bottom:$,right:ye,width:Tt,height:br}}_setBoundingBoxStyles(Lt,be){const se=this._calculateBoundingBoxRect(Lt,be);!this._isInitialRender&&!this._growAfterOpen&&(se.height=Math.min(se.height,this._lastBoundingBoxSize.height),se.width=Math.min(se.width,this._lastBoundingBoxSize.width));const Ie={};if(this._hasExactPosition())Ie.top=Ie.left="0",Ie.bottom=Ie.right=Ie.maxHeight=Ie.maxWidth="",Ie.width=Ie.height="100%";else{const br=this._overlayRef.getConfig().maxHeight,mt=this._overlayRef.getConfig().maxWidth;Ie.height=(0,y.a1)(se.height),Ie.top=(0,y.a1)(se.top),Ie.bottom=(0,y.a1)(se.bottom),Ie.width=(0,y.a1)(se.width),Ie.left=(0,y.a1)(se.left),Ie.right=(0,y.a1)(se.right),Ie.alignItems="center"===be.overlayX?"center":"end"===be.overlayX?"flex-end":"flex-start",Ie.justifyContent="center"===be.overlayY?"center":"bottom"===be.overlayY?"flex-end":"flex-start",br&&(Ie.maxHeight=(0,y.a1)(br)),mt&&(Ie.maxWidth=(0,y.a1)(mt))}this._lastBoundingBoxSize=se,Nt(this._boundingBox.style,Ie)}_resetBoundingBoxStyles(){Nt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Nt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Lt,be){const se={},Ie=this._hasExactPosition(),br=this._hasFlexibleDimensions,mt=this._overlayRef.getConfig();if(Ie){const Tt=this._viewportRuler.getViewportScrollPosition();Nt(se,this._getExactOverlayY(be,Lt,Tt)),Nt(se,this._getExactOverlayX(be,Lt,Tt))}else se.position="static";let $="",Y=this._getOffset(be,"x"),it=this._getOffset(be,"y");Y&&($+=`translateX(${Y}px) `),it&&($+=`translateY(${it}px)`),se.transform=$.trim(),mt.maxHeight&&(Ie?se.maxHeight=(0,y.a1)(mt.maxHeight):br&&(se.maxHeight="")),mt.maxWidth&&(Ie?se.maxWidth=(0,y.a1)(mt.maxWidth):br&&(se.maxWidth="")),Nt(this._pane.style,se)}_getExactOverlayY(Lt,be,se){let Ie={top:"",bottom:""},br=this._getOverlayPoint(be,this._overlayRect,Lt);return this._isPushed&&(br=this._pushOverlayOnScreen(br,this._overlayRect,se)),"bottom"===Lt.overlayY?Ie.bottom=this._document.documentElement.clientHeight-(br.y+this._overlayRect.height)+"px":Ie.top=(0,y.a1)(br.y),Ie}_getExactOverlayX(Lt,be,se){let mt,Ie={left:"",right:""},br=this._getOverlayPoint(be,this._overlayRect,Lt);return this._isPushed&&(br=this._pushOverlayOnScreen(br,this._overlayRect,se)),mt=this._isRtl()?"end"===Lt.overlayX?"left":"right":"end"===Lt.overlayX?"right":"left","right"===mt?Ie.right=this._document.documentElement.clientWidth-(br.x+this._overlayRect.width)+"px":Ie.left=(0,y.a1)(br.x),Ie}_getScrollVisibility(){const Lt=this._getOriginRect(),be=this._pane.getBoundingClientRect(),se=this._scrollables.map(Ie=>Ie.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:At(Lt,se),isOriginOutsideView:$t(Lt,se),isOverlayClipped:At(be,se),isOverlayOutsideView:$t(be,se)}}_subtractOverflows(Lt,...be){return be.reduce((se,Ie)=>se-Math.max(Ie,0),Lt)}_getNarrowedViewportRect(){const Lt=this._document.documentElement.clientWidth,be=this._document.documentElement.clientHeight,se=this._viewportRuler.getViewportScrollPosition();return{top:se.top+this._viewportMargin,left:se.left+this._viewportMargin,right:se.left+Lt-this._viewportMargin,bottom:se.top+be-this._viewportMargin,width:Lt-2*this._viewportMargin,height:be-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Lt,be){return"x"===be?null==Lt.offsetX?this._offsetX:Lt.offsetX:null==Lt.offsetY?this._offsetY:Lt.offsetY}_validatePositions(){}_addPanelClasses(Lt){this._pane&&(0,y.FG)(Lt).forEach(be=>{""!==be&&-1===this._appliedPanelClasses.indexOf(be)&&(this._appliedPanelClasses.push(be),this._pane.classList.add(be))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Lt=>{this._pane.classList.remove(Lt)}),this._appliedPanelClasses=[])}_getOriginRect(){const Lt=this._origin;if(Lt instanceof c.aKT)return Lt.nativeElement.getBoundingClientRect();if(Lt instanceof Element)return Lt.getBoundingClientRect();const be=Lt.width||0,se=Lt.height||0;return{top:Lt.y,bottom:Lt.y+se,left:Lt.x,right:Lt.x+be,height:se,width:be}}}function Nt(dr,Lt){for(let be in Lt)Lt.hasOwnProperty(be)&&(dr[be]=Lt[be]);return dr}function Ae(dr){if("number"!=typeof dr&&null!=dr){const[Lt,be]=dr.split(Le);return be&&"px"!==be?null:parseFloat(Lt)}return dr||null}function Rt(dr){return{top:Math.floor(dr.top),right:Math.floor(dr.right),bottom:Math.floor(dr.bottom),left:Math.floor(dr.left),width:Math.floor(dr.width),height:Math.floor(dr.height)}}const Ye="cdk-global-overlay-wrapper";class ft{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Lt){const be=Lt.getConfig();this._overlayRef=Lt,this._width&&!be.width&&Lt.updateSize({width:this._width}),this._height&&!be.height&&Lt.updateSize({height:this._height}),Lt.hostElement.classList.add(Ye),this._isDisposed=!1}top(Lt=""){return this._bottomOffset="",this._topOffset=Lt,this._alignItems="flex-start",this}left(Lt=""){return this._xOffset=Lt,this._xPosition="left",this}bottom(Lt=""){return this._topOffset="",this._bottomOffset=Lt,this._alignItems="flex-end",this}right(Lt=""){return this._xOffset=Lt,this._xPosition="right",this}start(Lt=""){return this._xOffset=Lt,this._xPosition="start",this}end(Lt=""){return this._xOffset=Lt,this._xPosition="end",this}width(Lt=""){return this._overlayRef?this._overlayRef.updateSize({width:Lt}):this._width=Lt,this}height(Lt=""){return this._overlayRef?this._overlayRef.updateSize({height:Lt}):this._height=Lt,this}centerHorizontally(Lt=""){return this.left(Lt),this._xPosition="center",this}centerVertically(Lt=""){return this.top(Lt),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Lt=this._overlayRef.overlayElement.style,be=this._overlayRef.hostElement.style,se=this._overlayRef.getConfig(),{width:Ie,height:br,maxWidth:mt,maxHeight:$}=se,Y=!("100%"!==Ie&&"100vw"!==Ie||mt&&"100%"!==mt&&"100vw"!==mt),it=!("100%"!==br&&"100vh"!==br||$&&"100%"!==$&&"100vh"!==$),Tt=this._xPosition,It=this._xOffset,ye="rtl"===this._overlayRef.getConfig().direction;let ir="",Je="",er="";Y?er="flex-start":"center"===Tt?(er="center",ye?Je=It:ir=It):ye?"left"===Tt||"end"===Tt?(er="flex-end",ir=It):("right"===Tt||"start"===Tt)&&(er="flex-start",Je=It):"left"===Tt||"start"===Tt?(er="flex-start",ir=It):("right"===Tt||"end"===Tt)&&(er="flex-end",Je=It),Lt.position=this._cssPosition,Lt.marginLeft=Y?"0":ir,Lt.marginTop=it?"0":this._topOffset,Lt.marginBottom=this._bottomOffset,Lt.marginRight=Y?"0":Je,be.justifyContent=er,be.alignItems=it?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Lt=this._overlayRef.overlayElement.style,be=this._overlayRef.hostElement,se=be.style;be.classList.remove(Ye),se.justifyContent=se.alignItems=Lt.marginTop=Lt.marginBottom=Lt.marginLeft=Lt.marginRight=Lt.position="",this._overlayRef=null,this._isDisposed=!0}}let pe=(()=>{class dr{constructor(be,se,Ie,br){this._viewportRuler=be,this._document=se,this._platform=Ie,this._overlayContainer=br}global(){return new ft}flexibleConnectedTo(be){return new gt(be,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(se){return new(se||dr)(c.KVO(o.Xj),c.KVO(s.qQ),c.KVO(k.OD),c.KVO(vr))}}static{this.\u0275prov=c.jDH({token:dr,factory:dr.\u0275fac,providedIn:"root"})}}return dr})(),Ut=0,Ee=(()=>{class dr{constructor(be,se,Ie,br,mt,$,Y,it,Tt,It,ye,ir){this.scrollStrategies=be,this._overlayContainer=se,this._componentFactoryResolver=Ie,this._positionBuilder=br,this._keyboardDispatcher=mt,this._injector=$,this._ngZone=Y,this._document=it,this._directionality=Tt,this._location=It,this._outsideClickDispatcher=ye,this._animationsModuleType=ir}create(be){const se=this._createHostElement(),Ie=this._createPaneElement(se),br=this._createPortalOutlet(Ie),mt=new at(be);return mt.direction=mt.direction||this._directionality.value,new Gr(br,se,Ie,mt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(c.uvJ))}position(){return this._positionBuilder}_createPaneElement(be){const se=this._document.createElement("div");return se.id="cdk-overlay-"+Ut++,se.classList.add("cdk-overlay-pane"),be.appendChild(se),se}_createHostElement(){const be=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(be),be}_createPortalOutlet(be){return this._appRef||(this._appRef=this._injector.get(c.o8S)),new R.aI(be,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(se){return new(se||dr)(c.KVO(nt),c.KVO(vr),c.KVO(c.OM3),c.KVO(pe),c.KVO(Xe),c.KVO(c.zZn),c.KVO(c.SKi),c.KVO(s.qQ),c.KVO(M.dS),c.KVO(s.aZ),c.KVO(kr),c.KVO(c.bc$,8))}}static{this.\u0275prov=c.jDH({token:dr,factory:dr.\u0275fac,providedIn:"root"})}}return dr})();const ie=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],He=new c.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const dr=(0,c.WQX)(Ee);return()=>dr.scrollStrategies.reposition()}});let Wt=(()=>{class dr{constructor(be){this.elementRef=be}static{this.\u0275fac=function(se){return new(se||dr)(c.rXU(c.aKT))}}static{this.\u0275dir=c.FsC({type:dr,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return dr})(),Me=(()=>{class dr{get offsetX(){return this._offsetX}set offsetX(be){this._offsetX=be,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(be){this._offsetY=be,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(be){this._disposeOnNavigation=be}constructor(be,se,Ie,br,mt){this._overlay=be,this._dir=mt,this._backdropSubscription=J.yU.EMPTY,this._attachSubscription=J.yU.EMPTY,this._detachSubscription=J.yU.EMPTY,this._positionSubscription=J.yU.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,c.WQX)(c.SKi),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new c.bkB,this.positionChange=new c.bkB,this.attach=new c.bkB,this.detach=new c.bkB,this.overlayKeydown=new c.bkB,this.overlayOutsideClick=new c.bkB,this._templatePortal=new R.VA(se,Ie),this._scrollStrategyFactory=br,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(be){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),be.origin&&this.open&&this._position.apply()),be.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ie);const be=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=be.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=be.detachments().subscribe(()=>this.detach.emit()),be.keydownEvents().subscribe(se=>{this.overlayKeydown.next(se),se.keyCode===q._f&&!this.disableClose&&!(0,q.rp)(se)&&(se.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(se=>{const Ie=this._getOriginElement(),br=(0,k.Fb)(se);(!Ie||Ie!==br&&!Ie.contains(br))&&this.overlayOutsideClick.next(se)})}_buildConfig(){const be=this._position=this.positionStrategy||this._createPositionStrategy(),se=new at({direction:this._dir,positionStrategy:be,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(se.width=this.width),(this.height||0===this.height)&&(se.height=this.height),(this.minWidth||0===this.minWidth)&&(se.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(se.minHeight=this.minHeight),this.backdropClass&&(se.backdropClass=this.backdropClass),this.panelClass&&(se.panelClass=this.panelClass),se}_updatePositionStrategy(be){const se=this.positions.map(Ie=>({originX:Ie.originX,originY:Ie.originY,overlayX:Ie.overlayX,overlayY:Ie.overlayY,offsetX:Ie.offsetX||this.offsetX,offsetY:Ie.offsetY||this.offsetY,panelClass:Ie.panelClass||void 0}));return be.setOrigin(this._getOrigin()).withPositions(se).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const be=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(be),be}_getOrigin(){return this.origin instanceof Wt?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Wt?this.origin.elementRef.nativeElement:this.origin instanceof c.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(be=>{this.backdropClick.emit(be)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,T.v)(()=>this.positionChange.observers.length>0)).subscribe(be=>{this._ngZone.run(()=>this.positionChange.emit(be)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(se){return new(se||dr)(c.rXU(Ee),c.rXU(c.C4Q),c.rXU(c.c1b),c.rXU(He),c.rXU(M.dS,8))}}static{this.\u0275dir=c.FsC({type:dr,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",c.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",c.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",c.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",c.L39],push:[2,"cdkConnectedOverlayPush","push",c.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",c.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[c.GFd,c.OA$]})}}return dr})();const We={provide:He,deps:[Ee],useFactory:function Fe(dr){return()=>dr.scrollStrategies.reposition()}};let Or=(()=>{class dr{static{this.\u0275fac=function(se){return new(se||dr)}}static{this.\u0275mod=c.$C({type:dr})}static{this.\u0275inj=c.G2t({providers:[Ee,We],imports:[M.jI,R.jc,o.E9,o.E9]})}}return dr})()},6860:(i,a,r)=>{"use strict";r.d(a,{BD:()=>ht,BQ:()=>L,CZ:()=>ct,Fb:()=>At,KT:()=>Mt,MU:()=>T,OD:()=>y,r5:()=>J,v8:()=>kt,vc:()=>$t});var o=r(4438),s=r(177);let c;try{c=typeof Intl<"u"&&Intl.v8BreakIterator}catch{c=!1}let S,y=(()=>{class nt{constructor(rt){this._platformId=rt,this.isBrowser=this._platformId?(0,s.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!c)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(yt){return new(yt||nt)(o.KVO(o.Agw))}}static{this.\u0275prov=o.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();const I=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function T(){if(S)return S;if("object"!=typeof document||!document)return S=new Set(I),S;let nt=document.createElement("input");return S=new Set(I.filter(at=>(nt.setAttribute("type",at),nt.type===at))),S}let M;function L(nt){return function R(){if(null==M&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>M=!0}))}finally{M=M||!1}return M}()?nt:!!nt.capture}var J=function(nt){return nt[nt.NORMAL=0]="NORMAL",nt[nt.NEGATED=1]="NEGATED",nt[nt.INVERTED=2]="INVERTED",nt}(J||{});let W,q,tt;function ct(){if(null==q){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return q=!1,q;if("scrollBehavior"in document.documentElement.style)q=!0;else{const nt=Element.prototype.scrollTo;q=!!nt&&!/\{\s*\[native code\]\s*\}/.test(nt.toString())}}return q}function ht(){if("object"!=typeof document||!document)return J.NORMAL;if(null==W){const nt=document.createElement("div"),at=nt.style;nt.dir="rtl",at.width="1px",at.overflow="auto",at.visibility="hidden",at.pointerEvents="none",at.position="absolute";const rt=document.createElement("div"),yt=rt.style;yt.width="2px",yt.height="1px",nt.appendChild(rt),document.body.appendChild(nt),W=J.NORMAL,0===nt.scrollLeft&&(nt.scrollLeft=1,W=0===nt.scrollLeft?J.NEGATED:J.INVERTED),nt.remove()}return W}function Mt(nt){if(function _t(){if(null==tt){const nt=typeof document<"u"?document.head:null;tt=!(!nt||!nt.createShadowRoot&&!nt.attachShadow)}return tt}()){const at=nt.getRootNode?nt.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&at instanceof ShadowRoot)return at}return null}function $t(){let nt=typeof document<"u"&&document?document.activeElement:null;for(;nt&&nt.shadowRoot;){const at=nt.shadowRoot.activeElement;if(at===nt)break;nt=at}return nt}function At(nt){return nt.composedPath?nt.composedPath()[0]:nt.target}function kt(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6939:(i,a,r)=>{"use strict";r.d(a,{A8:()=>R,I3:()=>Mt,VA:()=>L,aI:()=>ct,jc:()=>At,lb:()=>W});var o=r(4438),s=r(177);class M{attach(at){return this._attachedHost=at,at.attach(this)}detach(){let at=this._attachedHost;null!=at&&(this._attachedHost=null,at.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(at){this._attachedHost=at}}class R extends M{constructor(at,rt,yt,Ct,Vt){super(),this.component=at,this.viewContainerRef=rt,this.injector=yt,this.componentFactoryResolver=Ct,this.projectableNodes=Vt}}class L extends M{constructor(at,rt,yt,Ct){super(),this.templateRef=at,this.viewContainerRef=rt,this.context=yt,this.injector=Ct}get origin(){return this.templateRef.elementRef}attach(at,rt=this.context){return this.context=rt,super.attach(at)}detach(){return this.context=void 0,super.detach()}}class J extends M{constructor(at){super(),this.element=at instanceof o.aKT?at.nativeElement:at}}class W{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(at){return at instanceof R?(this._attachedPortal=at,this.attachComponentPortal(at)):at instanceof L?(this._attachedPortal=at,this.attachTemplatePortal(at)):this.attachDomPortal&&at instanceof J?(this._attachedPortal=at,this.attachDomPortal(at)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(at){this._disposeFn=at}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ct extends W{constructor(at,rt,yt,Ct,Vt){super(),this.outletElement=at,this._componentFactoryResolver=rt,this._appRef=yt,this._defaultInjector=Ct,this.attachDomPortal=Xt=>{const oe=Xt.element,Xe=this._document.createComment("dom-portal");oe.parentNode.insertBefore(Xe,oe),this.outletElement.appendChild(oe),this._attachedPortal=Xt,super.setDisposeFn(()=>{Xe.parentNode&&Xe.parentNode.replaceChild(oe,Xe)})},this._document=Vt}attachComponentPortal(at){const yt=(at.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(at.component);let Ct;return at.viewContainerRef?(Ct=at.viewContainerRef.createComponent(yt,at.viewContainerRef.length,at.injector||at.viewContainerRef.injector,at.projectableNodes||void 0),this.setDisposeFn(()=>Ct.destroy())):(Ct=yt.create(at.injector||this._defaultInjector||o.zZn.NULL),this._appRef.attachView(Ct.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Ct.hostView),Ct.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ct)),this._attachedPortal=at,Ct}attachTemplatePortal(at){let rt=at.viewContainerRef,yt=rt.createEmbeddedView(at.templateRef,at.context,{injector:at.injector});return yt.rootNodes.forEach(Ct=>this.outletElement.appendChild(Ct)),yt.detectChanges(),this.setDisposeFn(()=>{let Ct=rt.indexOf(yt);-1!==Ct&&rt.remove(Ct)}),this._attachedPortal=at,yt}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(at){return at.hostView.rootNodes[0]}}let Mt=(()=>{class nt extends W{constructor(rt,yt,Ct){super(),this._componentFactoryResolver=rt,this._viewContainerRef=yt,this._isInitialized=!1,this.attached=new o.bkB,this.attachDomPortal=Vt=>{const Xt=Vt.element,oe=this._document.createComment("dom-portal");Vt.setAttachedHost(this),Xt.parentNode.insertBefore(oe,Xt),this._getRootNode().appendChild(Xt),this._attachedPortal=Vt,super.setDisposeFn(()=>{oe.parentNode&&oe.parentNode.replaceChild(Xt,oe)})},this._document=Ct}get portal(){return this._attachedPortal}set portal(rt){this.hasAttached()&&!rt&&!this._isInitialized||(this.hasAttached()&&super.detach(),rt&&super.attach(rt),this._attachedPortal=rt||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(rt){rt.setAttachedHost(this);const yt=null!=rt.viewContainerRef?rt.viewContainerRef:this._viewContainerRef,Vt=(rt.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(rt.component),Xt=yt.createComponent(Vt,yt.length,rt.injector||yt.injector,rt.projectableNodes||void 0);return yt!==this._viewContainerRef&&this._getRootNode().appendChild(Xt.hostView.rootNodes[0]),super.setDisposeFn(()=>Xt.destroy()),this._attachedPortal=rt,this._attachedRef=Xt,this.attached.emit(Xt),Xt}attachTemplatePortal(rt){rt.setAttachedHost(this);const yt=this._viewContainerRef.createEmbeddedView(rt.templateRef,rt.context,{injector:rt.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=rt,this._attachedRef=yt,this.attached.emit(yt),yt}_getRootNode(){const rt=this._viewContainerRef.element.nativeElement;return rt.nodeType===rt.ELEMENT_NODE?rt:rt.parentNode}static{this.\u0275fac=function(yt){return new(yt||nt)(o.rXU(o.OM3),o.rXU(o.c1b),o.rXU(s.qQ))}}static{this.\u0275dir=o.FsC({type:nt,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[o.Vt3]})}}return nt})(),At=(()=>{class nt{static{this.\u0275fac=function(yt){return new(yt||nt)}}static{this.\u0275mod=o.$C({type:nt})}static{this.\u0275inj=o.G2t({})}}return nt})()},5542:(i,a,r)=>{"use strict";r.d(a,{uv:()=>oe,Gj:()=>de,R:()=>Xt,E9:()=>jt,Xj:()=>kr});var o=r(4085),s=r(4438),c=r(1413),y=r(7673),k=r(1985),S=r(3726),I=r(6780),T=r(8359);const M={schedule(De){let Ye=requestAnimationFrame,ft=cancelAnimationFrame;const{delegate:pe}=M;pe&&(Ye=pe.requestAnimationFrame,ft=pe.cancelAnimationFrame);const Ut=Ye(Ee=>{ft=void 0,De(Ee)});return new T.yU(()=>ft?.(Ut))},requestAnimationFrame(...De){const{delegate:Ye}=M;return(Ye?.requestAnimationFrame||requestAnimationFrame)(...De)},cancelAnimationFrame(...De){const{delegate:Ye}=M;return(Ye?.cancelAnimationFrame||cancelAnimationFrame)(...De)},delegate:void 0};var L=r(9687);new class J extends L.q{flush(Ye){this._active=!0;const ft=this._scheduled;this._scheduled=void 0;const{actions:pe}=this;let Ut;Ye=Ye||pe.shift();do{if(Ut=Ye.execute(Ye.state,Ye.delay))break}while((Ye=pe[0])&&Ye.id===ft&&pe.shift());if(this._active=!1,Ut){for(;(Ye=pe[0])&&Ye.id===ft&&pe.shift();)Ye.unsubscribe();throw Ut}}}(class R extends I.R{constructor(Ye,ft){super(Ye,ft),this.scheduler=Ye,this.work=ft}requestAsyncId(Ye,ft,pe=0){return null!==pe&&pe>0?super.requestAsyncId(Ye,ft,pe):(Ye.actions.push(this),Ye._scheduled||(Ye._scheduled=M.requestAnimationFrame(()=>Ye.flush(void 0))))}recycleAsyncId(Ye,ft,pe=0){var Ut;if(null!=pe?pe>0:this.delay>0)return super.recycleAsyncId(Ye,ft,pe);const{actions:Ee}=Ye;null!=ft&&(null===(Ut=Ee[Ee.length-1])||void 0===Ut?void 0:Ut.id)!==ft&&(M.cancelAnimationFrame(ft),Ye._scheduled=void 0)}});r(5007);var ht=r(3798),tt=r(5964),_t=r(6977),Mt=r(6860),$t=r(177),At=r(8203);let Xt=(()=>{class De{constructor(ft,pe,Ut){this._ngZone=ft,this._platform=pe,this._scrolled=new c.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ut}register(ft){this.scrollContainers.has(ft)||this.scrollContainers.set(ft,ft.elementScrolled().subscribe(()=>this._scrolled.next(ft)))}deregister(ft){const pe=this.scrollContainers.get(ft);pe&&(pe.unsubscribe(),this.scrollContainers.delete(ft))}scrolled(ft=20){return this._platform.isBrowser?new k.c(pe=>{this._globalSubscription||this._addGlobalListener();const Ut=ft>0?this._scrolled.pipe((0,ht.Z)(ft)).subscribe(pe):this._scrolled.subscribe(pe);return this._scrolledCount++,()=>{Ut.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,y.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ft,pe)=>this.deregister(pe)),this._scrolled.complete()}ancestorScrolled(ft,pe){const Ut=this.getAncestorScrollContainers(ft);return this.scrolled(pe).pipe((0,tt.p)(Ee=>!Ee||Ut.indexOf(Ee)>-1))}getAncestorScrollContainers(ft){const pe=[];return this.scrollContainers.forEach((Ut,Ee)=>{this._scrollableContainsElement(Ee,ft)&&pe.push(Ee)}),pe}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ft,pe){let Ut=(0,o.i8)(pe),Ee=ft.getElementRef().nativeElement;do{if(Ut==Ee)return!0}while(Ut=Ut.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ft=this._getWindow();return(0,S.R)(ft.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(pe){return new(pe||De)(s.KVO(s.SKi),s.KVO(Mt.OD),s.KVO($t.qQ,8))}}static{this.\u0275prov=s.jDH({token:De,factory:De.\u0275fac,providedIn:"root"})}}return De})(),oe=(()=>{class De{constructor(ft,pe,Ut,Ee){this.elementRef=ft,this.scrollDispatcher=pe,this.ngZone=Ut,this.dir=Ee,this._destroyed=new c.B,this._elementScrolled=new k.c(ie=>this.ngZone.runOutsideAngular(()=>(0,S.R)(this.elementRef.nativeElement,"scroll").pipe((0,_t.Q)(this._destroyed)).subscribe(ie)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(ft){const pe=this.elementRef.nativeElement,Ut=this.dir&&"rtl"==this.dir.value;null==ft.left&&(ft.left=Ut?ft.end:ft.start),null==ft.right&&(ft.right=Ut?ft.start:ft.end),null!=ft.bottom&&(ft.top=pe.scrollHeight-pe.clientHeight-ft.bottom),Ut&&(0,Mt.BD)()!=Mt.r5.NORMAL?(null!=ft.left&&(ft.right=pe.scrollWidth-pe.clientWidth-ft.left),(0,Mt.BD)()==Mt.r5.INVERTED?ft.left=ft.right:(0,Mt.BD)()==Mt.r5.NEGATED&&(ft.left=ft.right?-ft.right:ft.right)):null!=ft.right&&(ft.left=pe.scrollWidth-pe.clientWidth-ft.right),this._applyScrollToOptions(ft)}_applyScrollToOptions(ft){const pe=this.elementRef.nativeElement;(0,Mt.CZ)()?pe.scrollTo(ft):(null!=ft.top&&(pe.scrollTop=ft.top),null!=ft.left&&(pe.scrollLeft=ft.left))}measureScrollOffset(ft){const pe="left",Ee=this.elementRef.nativeElement;if("top"==ft)return Ee.scrollTop;if("bottom"==ft)return Ee.scrollHeight-Ee.clientHeight-Ee.scrollTop;const ie=this.dir&&"rtl"==this.dir.value;return"start"==ft?ft=ie?"right":pe:"end"==ft&&(ft=ie?pe:"right"),ie&&(0,Mt.BD)()==Mt.r5.INVERTED?ft==pe?Ee.scrollWidth-Ee.clientWidth-Ee.scrollLeft:Ee.scrollLeft:ie&&(0,Mt.BD)()==Mt.r5.NEGATED?ft==pe?Ee.scrollLeft+Ee.scrollWidth-Ee.clientWidth:-Ee.scrollLeft:ft==pe?Ee.scrollLeft:Ee.scrollWidth-Ee.clientWidth-Ee.scrollLeft}static{this.\u0275fac=function(pe){return new(pe||De)(s.rXU(s.aKT),s.rXU(Xt),s.rXU(s.SKi),s.rXU(At.dS,8))}}static{this.\u0275dir=s.FsC({type:De,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return De})(),kr=(()=>{class De{constructor(ft,pe,Ut){this._platform=ft,this._change=new c.B,this._changeListener=Ee=>{this._change.next(Ee)},this._document=Ut,pe.runOutsideAngular(()=>{if(ft.isBrowser){const Ee=this._getWindow();Ee.addEventListener("resize",this._changeListener),Ee.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ft=this._getWindow();ft.removeEventListener("resize",this._changeListener),ft.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ft={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ft}getViewportRect(){const ft=this.getViewportScrollPosition(),{width:pe,height:Ut}=this.getViewportSize();return{top:ft.top,left:ft.left,bottom:ft.top+Ut,right:ft.left+pe,height:Ut,width:pe}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ft=this._document,pe=this._getWindow(),Ut=ft.documentElement,Ee=Ut.getBoundingClientRect();return{top:-Ee.top||ft.body.scrollTop||pe.scrollY||Ut.scrollTop||0,left:-Ee.left||ft.body.scrollLeft||pe.scrollX||Ut.scrollLeft||0}}change(ft=20){return ft>0?this._change.pipe((0,ht.Z)(ft)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ft=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ft.innerWidth,height:ft.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(pe){return new(pe||De)(s.KVO(Mt.OD),s.KVO(s.SKi),s.KVO($t.qQ,8))}}static{this.\u0275prov=s.jDH({token:De,factory:De.\u0275fac,providedIn:"root"})}}return De})(),de=(()=>{class De{static{this.\u0275fac=function(pe){return new(pe||De)}}static{this.\u0275mod=s.$C({type:De})}static{this.\u0275inj=s.G2t({})}}return De})(),jt=(()=>{class De{static{this.\u0275fac=function(pe){return new(pe||De)}}static{this.\u0275mod=s.$C({type:De})}static{this.\u0275inj=s.G2t({imports:[At.jI,de,At.jI,de]})}}return De})()},7403:(i,a,r)=>{"use strict";r.d(a,{EE:()=>q,P8:()=>L,xb:()=>W});var o=r(6860),s=r(4438),c=r(4085),y=r(983),k=r(1413),S=r(3726),I=r(3798),T=r(6977),M=r(177);const R=(0,o.BQ)({passive:!0});let L=(()=>{class ct{constructor(tt,_t){this._platform=tt,this._ngZone=_t,this._monitoredElements=new Map}monitor(tt){if(!this._platform.isBrowser)return y.w;const _t=(0,c.i8)(tt),Mt=this._monitoredElements.get(_t);if(Mt)return Mt.subject;const $t=new k.B,At="cdk-text-field-autofilled",kt=nt=>{"cdk-text-field-autofill-start"!==nt.animationName||_t.classList.contains(At)?"cdk-text-field-autofill-end"===nt.animationName&&_t.classList.contains(At)&&(_t.classList.remove(At),this._ngZone.run(()=>$t.next({target:nt.target,isAutofilled:!1}))):(_t.classList.add(At),this._ngZone.run(()=>$t.next({target:nt.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{_t.addEventListener("animationstart",kt,R),_t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(_t,{subject:$t,unlisten:()=>{_t.removeEventListener("animationstart",kt,R)}}),$t}stopMonitoring(tt){const _t=(0,c.i8)(tt),Mt=this._monitoredElements.get(_t);Mt&&(Mt.unlisten(),Mt.subject.complete(),_t.classList.remove("cdk-text-field-autofill-monitored"),_t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(_t))}ngOnDestroy(){this._monitoredElements.forEach((tt,_t)=>this.stopMonitoring(_t))}static{this.\u0275fac=function(_t){return new(_t||ct)(s.KVO(o.OD),s.KVO(s.SKi))}}static{this.\u0275prov=s.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})(),W=(()=>{class ct{get minRows(){return this._minRows}set minRows(tt){this._minRows=(0,c.OE)(tt),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(tt){this._maxRows=(0,c.OE)(tt),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(tt){this._enabled!==tt&&((this._enabled=tt)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(tt){this._cachedPlaceholderHeight=void 0,tt?this._textareaElement.setAttribute("placeholder",tt):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(tt,_t,Mt,$t){this._elementRef=tt,this._platform=_t,this._ngZone=Mt,this._destroyed=new k.B,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=At=>{this._hasFocus="focus"===At.type},this._document=$t,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const tt=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;tt&&(this._textareaElement.style.minHeight=tt)}_setMaxHeight(){const tt=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;tt&&(this._textareaElement.style.maxHeight=tt)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const tt=this._getWindow();(0,S.R)(tt,"resize").pipe((0,I.Z)(16),(0,T.Q)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let tt=this._textareaElement.cloneNode(!1);tt.rows=1,tt.style.position="absolute",tt.style.visibility="hidden",tt.style.border="none",tt.style.padding="0",tt.style.height="",tt.style.minHeight="",tt.style.maxHeight="",tt.style.overflow="hidden",this._textareaElement.parentNode.appendChild(tt),this._cachedLineHeight=tt.clientHeight,tt.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const tt=this._textareaElement,_t=tt.style.marginBottom||"",Mt=this._platform.FIREFOX,$t=Mt&&this._hasFocus,At=Mt?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";$t&&(tt.style.marginBottom=`${tt.clientHeight}px`),tt.classList.add(At);const kt=tt.scrollHeight-4;return tt.classList.remove(At),$t&&(tt.style.marginBottom=_t),kt}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const tt=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=tt}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(tt=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const _t=this._elementRef.nativeElement,Mt=_t.value;if(!tt&&this._minRows===this._previousMinRows&&Mt===this._previousValue)return;const $t=this._measureScrollHeight(),At=Math.max($t,this._cachedPlaceholderHeight||0);_t.style.height=`${At}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(_t)):setTimeout(()=>this._scrollToCaretPosition(_t))}),this._previousValue=Mt,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(tt){const{selectionStart:_t,selectionEnd:Mt}=tt;!this._destroyed.isStopped&&this._hasFocus&&tt.setSelectionRange(_t,Mt)}static{this.\u0275fac=function(_t){return new(_t||ct)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(M.qQ,8))}}static{this.\u0275dir=s.FsC({type:ct,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(_t,Mt){1&_t&&s.bIt("input",function(){return Mt._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",s.L39],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[s.GFd]})}}return ct})(),q=(()=>{class ct{static{this.\u0275fac=function(_t){return new(_t||ct)}}static{this.\u0275mod=s.$C({type:ct})}static{this.\u0275inj=s.G2t({})}}return ct})()},177:(i,a,r)=>{"use strict";r.d(a,{AJ:()=>ii,B3:()=>xo,Jj:()=>Bn,MD:()=>Ba,N0:()=>ia,PV:()=>Pa,QT:()=>c,Sm:()=>ht,Sq:()=>ce,T3:()=>Ao,UE:()=>qi,VF:()=>k,Vy:()=>us,Xr:()=>Ua,YU:()=>Co,ZD:()=>y,_b:()=>ao,aZ:()=>_t,bT:()=>Dt,fw:()=>tt,hb:()=>q,hj:()=>M,jo:()=>Qi,qQ:()=>I,vh:()=>va});var o=r(4438);let s=null;function c(){return s}function y(B){s??=B}class k{}const I=new o.nKC("");let T=(()=>{class B{historyGo(x){throw new Error("")}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:()=>(0,o.WQX)(R),providedIn:"platform"})}}return B})();const M=new o.nKC("");let R=(()=>{class B extends T{constructor(){super(),this._doc=(0,o.WQX)(I),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return c().getBaseHref(this._doc)}onPopState(x){const C=c().getGlobalEventTarget(this._doc,"window");return C.addEventListener("popstate",x,!1),()=>C.removeEventListener("popstate",x)}onHashChange(x){const C=c().getGlobalEventTarget(this._doc,"window");return C.addEventListener("hashchange",x,!1),()=>C.removeEventListener("hashchange",x)}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(x){this._location.pathname=x}pushState(x,C,F){this._history.pushState(x,C,F)}replaceState(x,C,F){this._history.replaceState(x,C,F)}forward(){this._history.forward()}back(){this._history.back()}historyGo(x=0){this._history.go(x)}getState(){return this._history.state}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:()=>new B,providedIn:"platform"})}}return B})();function L(B,Et){if(0==B.length)return Et;if(0==Et.length)return B;let x=0;return B.endsWith("/")&&x++,Et.startsWith("/")&&x++,2==x?B+Et.substring(1):1==x?B+Et:B+"/"+Et}function J(B){const Et=B.match(/#|\?|$/),x=Et&&Et.index||B.length;return B.slice(0,x-("/"===B[x-1]?1:0))+B.slice(x)}function W(B){return B&&"?"!==B[0]?"?"+B:B}let q=(()=>{class B{historyGo(x){throw new Error("")}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:()=>(0,o.WQX)(ht),providedIn:"root"})}}return B})();const ct=new o.nKC("");let ht=(()=>{class B extends q{constructor(x,C){super(),this._platformLocation=x,this._removeListenerFns=[],this._baseHref=C??this._platformLocation.getBaseHrefFromDOM()??(0,o.WQX)(I).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}prepareExternalUrl(x){return L(this._baseHref,x)}path(x=!1){const C=this._platformLocation.pathname+W(this._platformLocation.search),F=this._platformLocation.hash;return F&&x?`${C}${F}`:C}pushState(x,C,F,pt){const Ot=this.prepareExternalUrl(F+W(pt));this._platformLocation.pushState(x,C,Ot)}replaceState(x,C,F,pt){const Ot=this.prepareExternalUrl(F+W(pt));this._platformLocation.replaceState(x,C,Ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(x=0){this._platformLocation.historyGo?.(x)}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(T),o.KVO(ct,8))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}}return B})(),tt=(()=>{class B extends q{constructor(x,C){super(),this._platformLocation=x,this._baseHref="",this._removeListenerFns=[],null!=C&&(this._baseHref=C)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}path(x=!1){const C=this._platformLocation.hash??"#";return C.length>0?C.substring(1):C}prepareExternalUrl(x){const C=L(this._baseHref,x);return C.length>0?"#"+C:C}pushState(x,C,F,pt){let Ot=this.prepareExternalUrl(F+W(pt));0==Ot.length&&(Ot=this._platformLocation.pathname),this._platformLocation.pushState(x,C,Ot)}replaceState(x,C,F,pt){let Ot=this.prepareExternalUrl(F+W(pt));0==Ot.length&&(Ot=this._platformLocation.pathname),this._platformLocation.replaceState(x,C,Ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(x=0){this._platformLocation.historyGo?.(x)}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(T),o.KVO(ct,8))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac})}}return B})(),_t=(()=>{class B{constructor(x){this._subject=new o.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=x;const C=this._locationStrategy.getBaseHref();this._basePath=function kt(B){if(new RegExp("^(https?:)?//").test(B)){const[,x]=B.split(/\/\/[^\/]+/);return x}return B}(J(At(C))),this._locationStrategy.onPopState(F=>{this._subject.emit({url:this.path(!0),pop:!0,state:F.state,type:F.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(x=!1){return this.normalize(this._locationStrategy.path(x))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(x,C=""){return this.path()==this.normalize(x+W(C))}normalize(x){return B.stripTrailingSlash(function $t(B,Et){if(!B||!Et.startsWith(B))return Et;const x=Et.substring(B.length);return""===x||["/",";","?","#"].includes(x[0])?x:Et}(this._basePath,At(x)))}prepareExternalUrl(x){return x&&"/"!==x[0]&&(x="/"+x),this._locationStrategy.prepareExternalUrl(x)}go(x,C="",F=null){this._locationStrategy.pushState(F,"",x,C),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+W(C)),F)}replaceState(x,C="",F=null){this._locationStrategy.replaceState(F,"",x,C),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+W(C)),F)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(x=0){this._locationStrategy.historyGo?.(x)}onUrlChange(x){return this._urlChangeListeners.push(x),this._urlChangeSubscription??=this.subscribe(C=>{this._notifyUrlChangeListeners(C.url,C.state)}),()=>{const C=this._urlChangeListeners.indexOf(x);this._urlChangeListeners.splice(C,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(x="",C){this._urlChangeListeners.forEach(F=>F(x,C))}subscribe(x,C,F){return this._subject.subscribe({next:x,error:C,complete:F})}static{this.normalizeQueryParams=W}static{this.joinWithSlash=L}static{this.stripTrailingSlash=J}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(q))}}static{this.\u0275prov=o.jDH({token:B,factory:()=>function Mt(){return new _t((0,o.KVO)(q))}(),providedIn:"root"})}}return B})();function At(B){return B.replace(/\/index.html$/,"")}var rt=function(B){return B[B.Zero=0]="Zero",B[B.One=1]="One",B[B.Two=2]="Two",B[B.Few=3]="Few",B[B.Many=4]="Many",B[B.Other=5]="Other",B}(rt||{}),yt=function(B){return B[B.Format=0]="Format",B[B.Standalone=1]="Standalone",B}(yt||{}),Ct=function(B){return B[B.Narrow=0]="Narrow",B[B.Abbreviated=1]="Abbreviated",B[B.Wide=2]="Wide",B[B.Short=3]="Short",B}(Ct||{}),Vt=function(B){return B[B.Short=0]="Short",B[B.Medium=1]="Medium",B[B.Long=2]="Long",B[B.Full=3]="Full",B}(Vt||{});const Xt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function gt(B,Et){return Wt((0,o.H5H)(B)[o.KH2.DateFormat],Et)}function Nt(B,Et){return Wt((0,o.H5H)(B)[o.KH2.TimeFormat],Et)}function Ae(B,Et){return Wt((0,o.H5H)(B)[o.KH2.DateTimeFormat],Et)}function Rt(B,Et){const x=(0,o.H5H)(B),C=x[o.KH2.NumberSymbols][Et];if(typeof C>"u"){if(Et===Xt.CurrencyDecimal)return x[o.KH2.NumberSymbols][Xt.Decimal];if(Et===Xt.CurrencyGroup)return x[o.KH2.NumberSymbols][Xt.Group]}return C}const pe=o.mq5;function Ut(B){if(!B[o.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${B[o.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Wt(B,Et){for(let x=Et;x>-1;x--)if(typeof B[x]<"u")return B[x];throw new Error("Locale data API: locale data undefined")}function Me(B){const[Et,x]=B.split(":");return{hours:+Et,minutes:+x}}const ko=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,dr={},Lt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var be=function(B){return B[B.Short=0]="Short",B[B.ShortGMT=1]="ShortGMT",B[B.Long=2]="Long",B[B.Extended=3]="Extended",B}(be||{}),se=function(B){return B[B.FullYear=0]="FullYear",B[B.Month=1]="Month",B[B.Date=2]="Date",B[B.Hours=3]="Hours",B[B.Minutes=4]="Minutes",B[B.Seconds=5]="Seconds",B[B.FractionalSeconds=6]="FractionalSeconds",B[B.Day=7]="Day",B}(se||{}),Ie=function(B){return B[B.DayPeriods=0]="DayPeriods",B[B.Days=1]="Days",B[B.Months=2]="Months",B[B.Eras=3]="Eras",B}(Ie||{});function br(B,Et,x,C){let F=function Ro(B){if(tr(B))return B;if("number"==typeof B&&!isNaN(B))return new Date(B);if("string"==typeof B){if(B=B.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(B)){const[F,pt=1,Ot=1]=B.split("-").map(ae=>+ae);return mt(F,pt-1,Ot)}const x=parseFloat(B);if(!isNaN(B-x))return new Date(x);let C;if(C=B.match(ko))return function Ko(B){const Et=new Date(0);let x=0,C=0;const F=B[8]?Et.setUTCFullYear:Et.setFullYear,pt=B[8]?Et.setUTCHours:Et.setHours;B[9]&&(x=Number(B[9]+B[10]),C=Number(B[9]+B[11])),F.call(Et,Number(B[1]),Number(B[2])-1,Number(B[3]));const Ot=Number(B[4]||0)-x,ae=Number(B[5]||0)-C,Ue=Number(B[6]||0),Ve=Math.floor(1e3*parseFloat("0."+(B[7]||0)));return pt.call(Et,Ot,ae,Ue,Ve),Et}(C)}const Et=new Date(B);if(!tr(Et))throw new Error(`Unable to convert "${B}" into a date`);return Et}(B);Et=$(x,Et)||Et;let ae,Ot=[];for(;Et;){if(ae=Lt.exec(Et),!ae){Ot.push(Et);break}{Ot=Ot.concat(ae.slice(1));const Ze=Ot.pop();if(!Ze)break;Et=Ze}}let Ue=F.getTimezoneOffset();C&&(Ue=ue(C,Ue),F=function Qr(B,Et,x){const C=x?-1:1,F=B.getTimezoneOffset();return function mr(B,Et){return(B=new Date(B.getTime())).setMinutes(B.getMinutes()+Et),B}(B,C*(ue(Et,F)-F))}(F,C,!0));let Ve="";return Ot.forEach(Ze=>{const sr=function Pt(B){if(qt[B])return qt[B];let Et;switch(B){case"G":case"GG":case"GGG":Et=ir(Ie.Eras,Ct.Abbreviated);break;case"GGGG":Et=ir(Ie.Eras,Ct.Wide);break;case"GGGGG":Et=ir(Ie.Eras,Ct.Narrow);break;case"y":Et=It(se.FullYear,1,0,!1,!0);break;case"yy":Et=It(se.FullYear,2,0,!0,!0);break;case"yyy":Et=It(se.FullYear,3,0,!1,!0);break;case"yyyy":Et=It(se.FullYear,4,0,!1,!0);break;case"Y":Et=re(1);break;case"YY":Et=re(2,!0);break;case"YYY":Et=re(3);break;case"YYYY":Et=re(4);break;case"M":case"L":Et=It(se.Month,1,1);break;case"MM":case"LL":Et=It(se.Month,2,1);break;case"MMM":Et=ir(Ie.Months,Ct.Abbreviated);break;case"MMMM":Et=ir(Ie.Months,Ct.Wide);break;case"MMMMM":Et=ir(Ie.Months,Ct.Narrow);break;case"LLL":Et=ir(Ie.Months,Ct.Abbreviated,yt.Standalone);break;case"LLLL":Et=ir(Ie.Months,Ct.Wide,yt.Standalone);break;case"LLLLL":Et=ir(Ie.Months,Ct.Narrow,yt.Standalone);break;case"w":Et=Pr(1);break;case"ww":Et=Pr(2);break;case"W":Et=Pr(1,!0);break;case"d":Et=It(se.Date,1);break;case"dd":Et=It(se.Date,2);break;case"c":case"cc":Et=It(se.Day,1);break;case"ccc":Et=ir(Ie.Days,Ct.Abbreviated,yt.Standalone);break;case"cccc":Et=ir(Ie.Days,Ct.Wide,yt.Standalone);break;case"ccccc":Et=ir(Ie.Days,Ct.Narrow,yt.Standalone);break;case"cccccc":Et=ir(Ie.Days,Ct.Short,yt.Standalone);break;case"E":case"EE":case"EEE":Et=ir(Ie.Days,Ct.Abbreviated);break;case"EEEE":Et=ir(Ie.Days,Ct.Wide);break;case"EEEEE":Et=ir(Ie.Days,Ct.Narrow);break;case"EEEEEE":Et=ir(Ie.Days,Ct.Short);break;case"a":case"aa":case"aaa":Et=ir(Ie.DayPeriods,Ct.Abbreviated);break;case"aaaa":Et=ir(Ie.DayPeriods,Ct.Wide);break;case"aaaaa":Et=ir(Ie.DayPeriods,Ct.Narrow);break;case"b":case"bb":case"bbb":Et=ir(Ie.DayPeriods,Ct.Abbreviated,yt.Standalone,!0);break;case"bbbb":Et=ir(Ie.DayPeriods,Ct.Wide,yt.Standalone,!0);break;case"bbbbb":Et=ir(Ie.DayPeriods,Ct.Narrow,yt.Standalone,!0);break;case"B":case"BB":case"BBB":Et=ir(Ie.DayPeriods,Ct.Abbreviated,yt.Format,!0);break;case"BBBB":Et=ir(Ie.DayPeriods,Ct.Wide,yt.Format,!0);break;case"BBBBB":Et=ir(Ie.DayPeriods,Ct.Narrow,yt.Format,!0);break;case"h":Et=It(se.Hours,1,-12);break;case"hh":Et=It(se.Hours,2,-12);break;case"H":Et=It(se.Hours,1);break;case"HH":Et=It(se.Hours,2);break;case"m":Et=It(se.Minutes,1);break;case"mm":Et=It(se.Minutes,2);break;case"s":Et=It(se.Seconds,1);break;case"ss":Et=It(se.Seconds,2);break;case"S":Et=It(se.FractionalSeconds,1);break;case"SS":Et=It(se.FractionalSeconds,2);break;case"SSS":Et=It(se.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Et=er(be.Short);break;case"ZZZZZ":Et=er(be.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Et=er(be.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Et=er(be.Long);break;default:return null}return qt[B]=Et,Et}(Ze);Ve+=sr?sr(F,x,Ue):"''"===Ze?"'":Ze.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ve}function mt(B,Et,x){const C=new Date(0);return C.setFullYear(B,Et,x),C.setHours(0,0,0),C}function $(B,Et){const x=function Xe(B){return(0,o.H5H)(B)[o.KH2.LocaleId]}(B);if(dr[x]??={},dr[x][Et])return dr[x][Et];let C="";switch(Et){case"shortDate":C=gt(B,Vt.Short);break;case"mediumDate":C=gt(B,Vt.Medium);break;case"longDate":C=gt(B,Vt.Long);break;case"fullDate":C=gt(B,Vt.Full);break;case"shortTime":C=Nt(B,Vt.Short);break;case"mediumTime":C=Nt(B,Vt.Medium);break;case"longTime":C=Nt(B,Vt.Long);break;case"fullTime":C=Nt(B,Vt.Full);break;case"short":const F=$(B,"shortTime"),pt=$(B,"shortDate");C=Y(Ae(B,Vt.Short),[F,pt]);break;case"medium":const Ot=$(B,"mediumTime"),ae=$(B,"mediumDate");C=Y(Ae(B,Vt.Medium),[Ot,ae]);break;case"long":const Ue=$(B,"longTime"),Ve=$(B,"longDate");C=Y(Ae(B,Vt.Long),[Ue,Ve]);break;case"full":const Ze=$(B,"fullTime"),sr=$(B,"fullDate");C=Y(Ae(B,Vt.Full),[Ze,sr])}return C&&(dr[x][Et]=C),C}function Y(B,Et){return Et&&(B=B.replace(/\{([^}]+)}/g,function(x,C){return null!=Et&&C in Et?Et[C]:x})),B}function it(B,Et,x="-",C,F){let pt="";(B<0||F&&B<=0)&&(F?B=1-B:(B=-B,pt=x));let Ot=String(B);for(;Ot.length0||ae>-x)&&(ae+=x),B===se.Hours)0===ae&&-12===x&&(ae=12);else if(B===se.FractionalSeconds)return function Tt(B,Et){return it(B,3).substring(0,Et)}(ae,Et);const Ue=Rt(Ot,Xt.MinusSign);return it(ae,Et,Ue,C,F)}}function ir(B,Et,x=yt.Format,C=!1){return function(F,pt){return function Je(B,Et,x,C,F,pt){switch(x){case Ie.Months:return function vr(B,Et,x){const C=(0,o.H5H)(B),pt=Wt([C[o.KH2.MonthsFormat],C[o.KH2.MonthsStandalone]],Et);return Wt(pt,x)}(Et,F,C)[B.getMonth()];case Ie.Days:return function gr(B,Et,x){const C=(0,o.H5H)(B),pt=Wt([C[o.KH2.DaysFormat],C[o.KH2.DaysStandalone]],Et);return Wt(pt,x)}(Et,F,C)[B.getDay()];case Ie.DayPeriods:const Ot=B.getHours(),ae=B.getMinutes();if(pt){const Ve=function Ee(B){const Et=(0,o.H5H)(B);return Ut(Et),(Et[o.KH2.ExtraData][2]||[]).map(C=>"string"==typeof C?Me(C):[Me(C[0]),Me(C[1])])}(Et),Ze=function ie(B,Et,x){const C=(0,o.H5H)(B);Ut(C);const pt=Wt([C[o.KH2.ExtraData][0],C[o.KH2.ExtraData][1]],Et)||[];return Wt(pt,x)||[]}(Et,F,C),sr=Ve.findIndex(Ir=>{if(Array.isArray(Ir)){const[ze,nr]=Ir,_r=Ot>=ze.hours&&ae>=ze.minutes,Zr=Ot0?Math.floor(F/60):Math.ceil(F/60);switch(B){case be.Short:return(F>=0?"+":"")+it(Ot,2,pt)+it(Math.abs(F%60),2,pt);case be.ShortGMT:return"GMT"+(F>=0?"+":"")+it(Ot,1,pt);case be.Long:return"GMT"+(F>=0?"+":"")+it(Ot,2,pt)+":"+it(Math.abs(F%60),2,pt);case be.Extended:return 0===C?"Z":(F>=0?"+":"")+it(Ot,2,pt)+":"+it(Math.abs(F%60),2,pt);default:throw new Error(`Unknown zone width "${B}"`)}}}const Wr=0,eo=4;function fr(B){const Et=B.getDay(),x=0===Et?-3:eo-Et;return mt(B.getFullYear(),B.getMonth(),B.getDate()+x)}function Pr(B,Et=!1){return function(x,C){let F;if(Et){const pt=new Date(x.getFullYear(),x.getMonth(),1).getDay()-1,Ot=x.getDate();F=1+Math.floor((Ot+pt)/7)}else{const pt=fr(x),Ot=function Uo(B){const Et=mt(B,Wr,1).getDay();return mt(B,0,1+(Et<=eo?eo:eo+7)-Et)}(pt.getFullYear()),ae=pt.getTime()-Ot.getTime();F=1+Math.round(ae/6048e5)}return it(F,B,Rt(C,Xt.MinusSign))}}function re(B,Et=!1){return function(x,C){return it(fr(x).getFullYear(),B,Rt(C,Xt.MinusSign),Et)}}const qt={};function ue(B,Et){B=B.replace(/:/g,"");const x=Date.parse("Jan 01, 1970 00:00:00 "+B)/6e4;return isNaN(x)?Et:x}function tr(B){return B instanceof Date&&!isNaN(B.valueOf())}let Ke=(()=>{class B{static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:function(C){let F=null;return C?F=new C:(pt=o.KVO(o.xe9),F=new Lr(pt)),F;var pt},providedIn:"root"})}}return B})();let Lr=(()=>{class B extends Ke{constructor(x){super(),this.locale=x}getPluralCategory(x,C){switch(pe(C||this.locale)(x)){case rt.Zero:return"zero";case rt.One:return"one";case rt.Two:return"two";case rt.Few:return"few";case rt.Many:return"many";default:return"other"}}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(o.xe9))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac})}}return B})();function ao(B,Et){Et=encodeURIComponent(Et);for(const x of B.split(";")){const C=x.indexOf("="),[F,pt]=-1==C?[x,""]:[x.slice(0,C),x.slice(C+1)];if(F.trim()===Et)return decodeURIComponent(pt)}return null}const no=/\s+/,vo=[];let Co=(()=>{class B{constructor(x,C){this._ngEl=x,this._renderer=C,this.initialClasses=vo,this.stateMap=new Map}set klass(x){this.initialClasses=null!=x?x.trim().split(no):vo}set ngClass(x){this.rawClass="string"==typeof x?x.trim().split(no):x}ngDoCheck(){for(const C of this.initialClasses)this._updateState(C,!0);const x=this.rawClass;if(Array.isArray(x)||x instanceof Set)for(const C of x)this._updateState(C,!0);else if(null!=x)for(const C of Object.keys(x))this._updateState(C,!!x[C]);this._applyStateDiff()}_updateState(x,C){const F=this.stateMap.get(x);void 0!==F?(F.enabled!==C&&(F.changed=!0,F.enabled=C),F.touched=!0):this.stateMap.set(x,{enabled:C,changed:!0,touched:!0})}_applyStateDiff(){for(const x of this.stateMap){const C=x[0],F=x[1];F.changed?(this._toggleClass(C,F.enabled),F.changed=!1):F.touched||(F.enabled&&this._toggleClass(C,!1),this.stateMap.delete(C)),F.touched=!1}}_toggleClass(x,C){(x=x.trim()).length>0&&x.split(no).forEach(F=>{C?this._renderer.addClass(this._ngEl.nativeElement,F):this._renderer.removeClass(this._ngEl.nativeElement,F)})}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.aKT),o.rXU(o.sFG))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return B})();class he{constructor(Et,x,C,F){this.$implicit=Et,this.ngForOf=x,this.index=C,this.count=F}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 ce=(()=>{class B{set ngForOf(x){this._ngForOf=x,this._ngForOfDirty=!0}set ngForTrackBy(x){this._trackByFn=x}get ngForTrackBy(){return this._trackByFn}constructor(x,C,F){this._viewContainer=x,this._template=C,this._differs=F,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(x){x&&(this._template=x)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const x=this._ngForOf;!this._differ&&x&&(this._differ=this._differs.find(x).create(this.ngForTrackBy))}if(this._differ){const x=this._differ.diff(this._ngForOf);x&&this._applyChanges(x)}}_applyChanges(x){const C=this._viewContainer;x.forEachOperation((F,pt,Ot)=>{if(null==F.previousIndex)C.createEmbeddedView(this._template,new he(F.item,this._ngForOf,-1,-1),null===Ot?void 0:Ot);else if(null==Ot)C.remove(null===pt?void 0:pt);else if(null!==pt){const ae=C.get(pt);C.move(ae,Ot),dt(ae,F)}});for(let F=0,pt=C.length;F{dt(C.get(F.currentIndex),F)})}static ngTemplateContextGuard(x,C){return!0}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(o._q3))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return B})();function dt(B,Et){B.context.$implicit=Et.item}let Dt=(()=>{class B{constructor(x,C){this._viewContainer=x,this._context=new ne,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=C}set ngIf(x){this._context.$implicit=this._context.ngIf=x,this._updateView()}set ngIfThen(x){Re("ngIfThen",x),this._thenTemplateRef=x,this._thenViewRef=null,this._updateView()}set ngIfElse(x){Re("ngIfElse",x),this._elseTemplateRef=x,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(x,C){return!0}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.c1b),o.rXU(o.C4Q))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return B})();class ne{constructor(){this.$implicit=null,this.ngIf=null}}function Re(B,Et){if(Et&&!Et.createEmbeddedView)throw new Error(`${B} must be a TemplateRef, but received '${(0,o.Tbb)(Et)}'.`)}let xo=(()=>{class B{constructor(x,C,F){this._ngEl=x,this._differs=C,this._renderer=F,this._ngStyle=null,this._differ=null}set ngStyle(x){this._ngStyle=x,!this._differ&&x&&(this._differ=this._differs.find(x).create())}ngDoCheck(){if(this._differ){const x=this._differ.diff(this._ngStyle);x&&this._applyChanges(x)}}_setStyle(x,C){const[F,pt]=x.split("."),Ot=-1===F.indexOf("-")?void 0:o.czy.DashCase;null!=C?this._renderer.setStyle(this._ngEl.nativeElement,F,pt?`${C}${pt}`:C,Ot):this._renderer.removeStyle(this._ngEl.nativeElement,F,Ot)}_applyChanges(x){x.forEachRemovedItem(C=>this._setStyle(C.key,null)),x.forEachAddedItem(C=>this._setStyle(C.key,C.currentValue)),x.forEachChangedItem(C=>this._setStyle(C.key,C.currentValue))}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.aKT),o.rXU(o.MKu),o.rXU(o.sFG))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return B})(),Ao=(()=>{class B{constructor(x){this._viewContainerRef=x,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(x){if(this._shouldRecreateView(x)){const C=this._viewContainerRef;if(this._viewRef&&C.remove(C.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const F=this._createContextForwardProxy();this._viewRef=C.createEmbeddedView(this.ngTemplateOutlet,F,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(x){return!!x.ngTemplateOutlet||!!x.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(x,C,F)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,C,F),get:(x,C,F)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,C,F)}})}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.c1b))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.OA$]})}}return B})();function io(B,Et){return new o.wOt(2100,!1)}class Zn{createSubscription(Et,x){return(0,o.O8t)(()=>Et.subscribe({next:x,error:C=>{throw C}}))}dispose(Et){(0,o.O8t)(()=>Et.unsubscribe())}}class Di{createSubscription(Et,x){return Et.then(x,C=>{throw C})}dispose(Et){}}const jn=new Di,$o=new Zn;let Bn=(()=>{class B{constructor(x){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=x}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(x){if(!this._obj){if(x)try{this.markForCheckOnValueUpdate=!1,this._subscribe(x)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return x!==this._obj?(this._dispose(),this.transform(x)):this._latestValue}_subscribe(x){this._obj=x,this._strategy=this._selectStrategy(x),this._subscription=this._strategy.createSubscription(x,C=>this._updateLatestValue(x,C))}_selectStrategy(x){if((0,o.jNT)(x))return jn;if((0,o.zjR)(x))return $o;throw io()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(x,C){x===this._obj&&(this._latestValue=C,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.gRc,16))}}static{this.\u0275pipe=o.EJ8({name:"async",type:B,pure:!1,standalone:!0})}}return B})();const nn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Pa=(()=>{class B{transform(x){if(null==x)return null;if("string"!=typeof x)throw io();return x.replace(nn,C=>C[0].toUpperCase()+C.slice(1).toLowerCase())}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275pipe=o.EJ8({name:"titlecase",type:B,pure:!0,standalone:!0})}}return B})();const ds=new o.nKC(""),da=new o.nKC("");let va=(()=>{class B{constructor(x,C,F){this.locale=x,this.defaultTimezone=C,this.defaultOptions=F}transform(x,C,F,pt){if(null==x||""===x||x!=x)return null;try{return br(x,C??this.defaultOptions?.dateFormat??"mediumDate",pt||this.locale,F??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ot){throw io()}}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.xe9,16),o.rXU(ds,24),o.rXU(da,24))}}static{this.\u0275pipe=o.EJ8({name:"date",type:B,pure:!0,standalone:!0})}}return B})();const Si=/#/g;let Qi=(()=>{class B{constructor(x){this._localization=x}transform(x,C,F){if(null==x)return"";if("object"!=typeof C||null===C)throw io();return C[function Dr(B,Et,x,C){let F=`=${B}`;if(Et.indexOf(F)>-1||(F=x.getPluralCategory(B,C),Et.indexOf(F)>-1))return F;if(Et.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${B}"`)}(x,Object.keys(C),this._localization,F)].replace(Si,x.toString())}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(Ke,16))}}static{this.\u0275pipe=o.EJ8({name:"i18nPlural",type:B,pure:!0,standalone:!0})}}return B})(),Ba=(()=>{class B{static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275mod=o.$C({type:B})}static{this.\u0275inj=o.G2t({})}}return B})();const ii="browser",mi="server";function qi(B){return B===ii}function us(B){return B===mi}let Ua=(()=>{class B{static{this.\u0275prov=(0,o.jDH)({token:B,providedIn:"root",factory:()=>qi((0,o.WQX)(o.Agw))?new hi((0,o.WQX)(I),window):new On})}}return B})();class hi{constructor(Et,x){this.document=Et,this.window=x,this.offset=()=>[0,0]}setOffset(Et){this.offset=Array.isArray(Et)?()=>Et:Et}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Et){this.window.scrollTo(Et[0],Et[1])}scrollToAnchor(Et){const x=function Jo(B,Et){const x=B.getElementById(Et)||B.getElementsByName(Et)[0];if(x)return x;if("function"==typeof B.createTreeWalker&&B.body&&"function"==typeof B.body.attachShadow){const C=B.createTreeWalker(B.body,NodeFilter.SHOW_ELEMENT);let F=C.currentNode;for(;F;){const pt=F.shadowRoot;if(pt){const Ot=pt.getElementById(Et)||pt.querySelector(`[name="${Et}"]`);if(Ot)return Ot}F=C.nextNode()}}return null}(this.document,Et);x&&(this.scrollToElement(x),x.focus())}setHistoryScrollRestoration(Et){this.window.history.scrollRestoration=Et}scrollToElement(Et){const x=Et.getBoundingClientRect(),C=x.left+this.window.pageXOffset,F=x.top+this.window.pageYOffset,pt=this.offset();this.window.scrollTo(C-pt[0],F-pt[1])}}class On{setOffset(Et){}getScrollPosition(){return[0,0]}scrollToPosition(Et){}scrollToAnchor(Et){}setHistoryScrollRestoration(Et){}}class ia{}},1626:(i,a,r)=>{"use strict";r.d(a,{$R:()=>Qr,Nl:()=>kt,Qq:()=>Ae,b$:()=>Ro,cS:()=>vr,yz:()=>Gr});var o=r(467),s=r(4438),c=r(7673),y=r(1985),k=r(6648),S=r(274),I=r(5964),T=r(6354),M=r(980),R=r(5558),L=r(177);class J{}class W{}class q{constructor(he){this.normalizedNames=new Map,this.lazyUpdate=null,he?"string"==typeof he?this.lazyInit=()=>{this.headers=new Map,he.split("\n").forEach(ce=>{const dt=ce.indexOf(":");if(dt>0){const Gt=ce.slice(0,dt),Dt=Gt.toLowerCase(),ne=ce.slice(dt+1).trim();this.maybeSetNormalizedName(Gt,Dt),this.headers.has(Dt)?this.headers.get(Dt).push(ne):this.headers.set(Dt,[ne])}})}:typeof Headers<"u"&&he instanceof Headers?(this.headers=new Map,he.forEach((ce,dt)=>{this.setHeaderEntries(dt,ce)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(he).forEach(([ce,dt])=>{this.setHeaderEntries(ce,dt)})}:this.headers=new Map}has(he){return this.init(),this.headers.has(he.toLowerCase())}get(he){this.init();const ce=this.headers.get(he.toLowerCase());return ce&&ce.length>0?ce[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(he){return this.init(),this.headers.get(he.toLowerCase())||null}append(he,ce){return this.clone({name:he,value:ce,op:"a"})}set(he,ce){return this.clone({name:he,value:ce,op:"s"})}delete(he,ce){return this.clone({name:he,value:ce,op:"d"})}maybeSetNormalizedName(he,ce){this.normalizedNames.has(ce)||this.normalizedNames.set(ce,he)}init(){this.lazyInit&&(this.lazyInit instanceof q?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(he=>this.applyUpdate(he)),this.lazyUpdate=null))}copyFrom(he){he.init(),Array.from(he.headers.keys()).forEach(ce=>{this.headers.set(ce,he.headers.get(ce)),this.normalizedNames.set(ce,he.normalizedNames.get(ce))})}clone(he){const ce=new q;return ce.lazyInit=this.lazyInit&&this.lazyInit instanceof q?this.lazyInit:this,ce.lazyUpdate=(this.lazyUpdate||[]).concat([he]),ce}applyUpdate(he){const ce=he.name.toLowerCase();switch(he.op){case"a":case"s":let dt=he.value;if("string"==typeof dt&&(dt=[dt]),0===dt.length)return;this.maybeSetNormalizedName(he.name,ce);const Gt=("a"===he.op?this.headers.get(ce):void 0)||[];Gt.push(...dt),this.headers.set(ce,Gt);break;case"d":const Dt=he.value;if(Dt){let ne=this.headers.get(ce);if(!ne)return;ne=ne.filter(Re=>-1===Dt.indexOf(Re)),0===ne.length?(this.headers.delete(ce),this.normalizedNames.delete(ce)):this.headers.set(ce,ne)}else this.headers.delete(ce),this.normalizedNames.delete(ce)}}setHeaderEntries(he,ce){const dt=(Array.isArray(ce)?ce:[ce]).map(Dt=>Dt.toString()),Gt=he.toLowerCase();this.headers.set(Gt,dt),this.maybeSetNormalizedName(he,Gt)}forEach(he){this.init(),Array.from(this.normalizedNames.keys()).forEach(ce=>he(this.normalizedNames.get(ce),this.headers.get(ce)))}}class ht{encodeKey(he){return $t(he)}encodeValue(he){return $t(he)}decodeKey(he){return decodeURIComponent(he)}decodeValue(he){return decodeURIComponent(he)}}const _t=/%(\d[a-f0-9])/gi,Mt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $t(Ht){return encodeURIComponent(Ht).replace(_t,(he,ce)=>Mt[ce]??he)}function At(Ht){return`${Ht}`}class kt{constructor(he={}){if(this.updates=null,this.cloneFrom=null,this.encoder=he.encoder||new ht,he.fromString){if(he.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function tt(Ht,he){const ce=new Map;return Ht.length>0&&Ht.replace(/^\?/,"").split("&").forEach(Gt=>{const Dt=Gt.indexOf("="),[ne,Re]=-1==Dt?[he.decodeKey(Gt),""]:[he.decodeKey(Gt.slice(0,Dt)),he.decodeValue(Gt.slice(Dt+1))],Ce=ce.get(ne)||[];Ce.push(Re),ce.set(ne,Ce)}),ce}(he.fromString,this.encoder)}else he.fromObject?(this.map=new Map,Object.keys(he.fromObject).forEach(ce=>{const dt=he.fromObject[ce],Gt=Array.isArray(dt)?dt.map(At):[At(dt)];this.map.set(ce,Gt)})):this.map=null}has(he){return this.init(),this.map.has(he)}get(he){this.init();const ce=this.map.get(he);return ce?ce[0]:null}getAll(he){return this.init(),this.map.get(he)||null}keys(){return this.init(),Array.from(this.map.keys())}append(he,ce){return this.clone({param:he,value:ce,op:"a"})}appendAll(he){const ce=[];return Object.keys(he).forEach(dt=>{const Gt=he[dt];Array.isArray(Gt)?Gt.forEach(Dt=>{ce.push({param:dt,value:Dt,op:"a"})}):ce.push({param:dt,value:Gt,op:"a"})}),this.clone(ce)}set(he,ce){return this.clone({param:he,value:ce,op:"s"})}delete(he,ce){return this.clone({param:he,value:ce,op:"d"})}toString(){return this.init(),this.keys().map(he=>{const ce=this.encoder.encodeKey(he);return this.map.get(he).map(dt=>ce+"="+this.encoder.encodeValue(dt)).join("&")}).filter(he=>""!==he).join("&")}clone(he){const ce=new kt({encoder:this.encoder});return ce.cloneFrom=this.cloneFrom||this,ce.updates=(this.updates||[]).concat(he),ce}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(he=>this.map.set(he,this.cloneFrom.map.get(he))),this.updates.forEach(he=>{switch(he.op){case"a":case"s":const ce=("a"===he.op?this.map.get(he.param):void 0)||[];ce.push(At(he.value)),this.map.set(he.param,ce);break;case"d":if(void 0===he.value){this.map.delete(he.param);break}{let dt=this.map.get(he.param)||[];const Gt=dt.indexOf(At(he.value));-1!==Gt&&dt.splice(Gt,1),dt.length>0?this.map.set(he.param,dt):this.map.delete(he.param)}}}),this.cloneFrom=this.updates=null)}}class at{constructor(){this.map=new Map}set(he,ce){return this.map.set(he,ce),this}get(he){return this.map.has(he)||this.map.set(he,he.defaultValue()),this.map.get(he)}delete(he){return this.map.delete(he),this}has(he){return this.map.has(he)}keys(){return this.map.keys()}}function yt(Ht){return typeof ArrayBuffer<"u"&&Ht instanceof ArrayBuffer}function Ct(Ht){return typeof Blob<"u"&&Ht instanceof Blob}function Vt(Ht){return typeof FormData<"u"&&Ht instanceof FormData}class oe{constructor(he,ce,dt,Gt){let Dt;if(this.url=ce,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=he.toUpperCase(),function rt(Ht){switch(Ht){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Gt?(this.body=void 0!==dt?dt:null,Dt=Gt):Dt=dt,Dt&&(this.reportProgress=!!Dt.reportProgress,this.withCredentials=!!Dt.withCredentials,Dt.responseType&&(this.responseType=Dt.responseType),Dt.headers&&(this.headers=Dt.headers),Dt.context&&(this.context=Dt.context),Dt.params&&(this.params=Dt.params),this.transferCache=Dt.transferCache),this.headers??=new q,this.context??=new at,this.params){const ne=this.params.toString();if(0===ne.length)this.urlWithParams=ce;else{const Re=ce.indexOf("?");this.urlWithParams=ce+(-1===Re?"?":ReNr.set(Fr,he.setHeaders[Fr]),or)),he.setParams&&(Cr=Object.keys(he.setParams).reduce((Nr,Fr)=>Nr.set(Fr,he.setParams[Fr]),Cr)),new oe(ce,dt,ne,{params:Cr,headers:or,context:Er,reportProgress:Ce,responseType:Gt,withCredentials:Re,transferCache:Dt})}}var Xe=function(Ht){return Ht[Ht.Sent=0]="Sent",Ht[Ht.UploadProgress=1]="UploadProgress",Ht[Ht.ResponseHeader=2]="ResponseHeader",Ht[Ht.DownloadProgress=3]="DownloadProgress",Ht[Ht.Response=4]="Response",Ht[Ht.User=5]="User",Ht}(Xe||{});class kr{constructor(he,ce=200,dt="OK"){this.headers=he.headers||new q,this.status=void 0!==he.status?he.status:ce,this.statusText=he.statusText||dt,this.url=he.url||null,this.ok=this.status>=200&&this.status<300}}class gr extends kr{constructor(he={}){super(he),this.type=Xe.ResponseHeader}clone(he={}){return new gr({headers:he.headers||this.headers,status:void 0!==he.status?he.status:this.status,statusText:he.statusText||this.statusText,url:he.url||this.url||void 0})}}class vr extends kr{constructor(he={}){super(he),this.type=Xe.Response,this.body=void 0!==he.body?he.body:null}clone(he={}){return new vr({body:void 0!==he.body?he.body:this.body,headers:he.headers||this.headers,status:void 0!==he.status?he.status:this.status,statusText:he.statusText||this.statusText,url:he.url||this.url||void 0})}}class Gr extends kr{constructor(he){super(he,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${he.url||"(unknown url)"}`:`Http failure response for ${he.url||"(unknown url)"}: ${he.status} ${he.statusText}`,this.error=he.error||null}}function Nt(Ht,he){return{body:he,headers:Ht.headers,context:Ht.context,observe:Ht.observe,params:Ht.params,reportProgress:Ht.reportProgress,responseType:Ht.responseType,withCredentials:Ht.withCredentials,transferCache:Ht.transferCache}}let Ae=(()=>{class Ht{constructor(ce){this.handler=ce}request(ce,dt,Gt={}){let Dt;if(ce instanceof oe)Dt=ce;else{let Ce,or;Ce=Gt.headers instanceof q?Gt.headers:new q(Gt.headers),Gt.params&&(or=Gt.params instanceof kt?Gt.params:new kt({fromObject:Gt.params})),Dt=new oe(ce,dt,void 0!==Gt.body?Gt.body:null,{headers:Ce,context:Gt.context,params:or,reportProgress:Gt.reportProgress,responseType:Gt.responseType||"json",withCredentials:Gt.withCredentials,transferCache:Gt.transferCache})}const ne=(0,c.of)(Dt).pipe((0,S.H)(Ce=>this.handler.handle(Ce)));if(ce instanceof oe||"events"===Gt.observe)return ne;const Re=ne.pipe((0,I.p)(Ce=>Ce instanceof vr));switch(Gt.observe||"body"){case"body":switch(Dt.responseType){case"arraybuffer":return Re.pipe((0,T.T)(Ce=>{if(null!==Ce.body&&!(Ce.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ce.body}));case"blob":return Re.pipe((0,T.T)(Ce=>{if(null!==Ce.body&&!(Ce.body instanceof Blob))throw new Error("Response is not a Blob.");return Ce.body}));case"text":return Re.pipe((0,T.T)(Ce=>{if(null!==Ce.body&&"string"!=typeof Ce.body)throw new Error("Response is not a string.");return Ce.body}));default:return Re.pipe((0,T.T)(Ce=>Ce.body))}case"response":return Re;default:throw new Error(`Unreachable: unhandled observe type ${Gt.observe}}`)}}delete(ce,dt={}){return this.request("DELETE",ce,dt)}get(ce,dt={}){return this.request("GET",ce,dt)}head(ce,dt={}){return this.request("HEAD",ce,dt)}jsonp(ce,dt){return this.request("JSONP",ce,{params:(new kt).append(dt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ce,dt={}){return this.request("OPTIONS",ce,dt)}patch(ce,dt,Gt={}){return this.request("PATCH",ce,Nt(Gt,dt))}post(ce,dt,Gt={}){return this.request("POST",ce,Nt(Gt,dt))}put(ce,dt,Gt={}){return this.request("PUT",ce,Nt(Gt,dt))}static{this.\u0275fac=function(dt){return new(dt||Ht)(s.KVO(J))}}static{this.\u0275prov=s.jDH({token:Ht,factory:Ht.\u0275fac})}}return Ht})();const Rt=/^\)\]\}',?\n/;function jt(Ht){if(Ht.url)return Ht.url;const he="X-Request-URL".toLocaleLowerCase();return Ht.headers.get(he)}let De=(()=>{class Ht{constructor(){this.fetchImpl=(0,s.WQX)(Ye,{optional:!0})?.fetch??((...ce)=>globalThis.fetch(...ce)),this.ngZone=(0,s.WQX)(s.SKi)}handle(ce){return new y.c(dt=>{const Gt=new AbortController;return this.doRequest(ce,Gt.signal,dt).then(ft,Dt=>dt.error(new Gr({error:Dt}))),()=>Gt.abort()})}doRequest(ce,dt,Gt){var Dt=this;return(0,o.A)(function*(){const ne=Dt.createRequestInit(ce);let Re;try{const qr=Dt.ngZone.runOutsideAngular(()=>Dt.fetchImpl(ce.urlWithParams,{signal:dt,...ne}));(function pe(Ht){Ht.then(ft,ft)})(qr),Gt.next({type:Xe.Sent}),Re=yield qr}catch(qr){return void Gt.error(new Gr({error:qr,status:qr.status??0,statusText:qr.statusText,url:ce.urlWithParams,headers:qr.headers}))}const Ce=new q(Re.headers),or=Re.statusText,Cr=jt(Re)??ce.urlWithParams;let Er=Re.status,Nr=null;if(ce.reportProgress&&Gt.next(new gr({headers:Ce,status:Er,statusText:or,url:Cr})),Re.body){const qr=Re.headers.get("content-length"),to=[],xo=Re.body.getReader();let po,io,Ao=0;const Zn=typeof Zone<"u"&&Zone.current;yield Dt.ngZone.runOutsideAngular((0,o.A)(function*(){for(;;){const{done:jn,value:$o}=yield xo.read();if(jn)break;if(to.push($o),Ao+=$o.length,ce.reportProgress){io="text"===ce.responseType?(io??"")+(po??=new TextDecoder).decode($o,{stream:!0}):void 0;const Bn=()=>Gt.next({type:Xe.DownloadProgress,total:qr?+qr:void 0,loaded:Ao,partialText:io});Zn?Zn.run(Bn):Bn()}}}));const Di=Dt.concatChunks(to,Ao);try{const jn=Re.headers.get("Content-Type")??"";Nr=Dt.parseBody(ce,Di,jn)}catch(jn){return void Gt.error(new Gr({error:jn,headers:new q(Re.headers),status:Re.status,statusText:Re.statusText,url:jt(Re)??ce.urlWithParams}))}}0===Er&&(Er=Nr?200:0),Er>=200&&Er<300?(Gt.next(new vr({body:Nr,headers:Ce,status:Er,statusText:or,url:Cr})),Gt.complete()):Gt.error(new Gr({error:Nr,headers:Ce,status:Er,statusText:or,url:Cr}))})()}parseBody(ce,dt,Gt){switch(ce.responseType){case"json":const Dt=(new TextDecoder).decode(dt).replace(Rt,"");return""===Dt?null:JSON.parse(Dt);case"text":return(new TextDecoder).decode(dt);case"blob":return new Blob([dt],{type:Gt});case"arraybuffer":return dt.buffer}}createRequestInit(ce){const dt={},Gt=ce.withCredentials?"include":void 0;if(ce.headers.forEach((Dt,ne)=>dt[Dt]=ne.join(",")),ce.headers.has("Accept")||(dt.Accept="application/json, text/plain, */*"),!ce.headers.has("Content-Type")){const Dt=ce.detectContentTypeHeader();null!==Dt&&(dt["Content-Type"]=Dt)}return{body:ce.serializeBody(),method:ce.method,headers:dt,credentials:Gt}}concatChunks(ce,dt){const Gt=new Uint8Array(dt);let Dt=0;for(const ne of ce)Gt.set(ne,Dt),Dt+=ne.length;return Gt}static{this.\u0275fac=function(dt){return new(dt||Ht)}}static{this.\u0275prov=s.jDH({token:Ht,factory:Ht.\u0275fac})}}return Ht})();class Ye{}function ft(){}function Ut(Ht,he){return he(Ht)}const Wt=new s.nKC(""),Me=new s.nKC(""),Fe=new s.nKC("",{providedIn:"root",factory:()=>!0});let dr=(()=>{class Ht extends J{constructor(ce,dt){super(),this.backend=ce,this.injector=dt,this.chain=null,this.pendingTasks=(0,s.WQX)(s.TgB),this.contributeToStability=(0,s.WQX)(Fe)}handle(ce){if(null===this.chain){const dt=Array.from(new Set([...this.injector.get(Wt),...this.injector.get(Me,[])]));this.chain=dt.reduceRight((Gt,Dt)=>function ie(Ht,he,ce){return(dt,Gt)=>(0,s.N4e)(ce,()=>he(dt,Dt=>Ht(Dt,Gt)))}(Gt,Dt,this.injector),Ut)}if(this.contributeToStability){const dt=this.pendingTasks.add();return this.chain(ce,Gt=>this.backend.handle(Gt)).pipe((0,M.j)(()=>this.pendingTasks.remove(dt)))}return this.chain(ce,dt=>this.backend.handle(dt))}static{this.\u0275fac=function(dt){return new(dt||Ht)(s.KVO(W),s.KVO(s.uvJ))}}static{this.\u0275prov=s.jDH({token:Ht,factory:Ht.\u0275fac})}}return Ht})();const ye=/^\)\]\}',?\n/;let Je=(()=>{class Ht{constructor(ce){this.xhrFactory=ce}handle(ce){if("JSONP"===ce.method)throw new s.wOt(-2800,!1);const dt=this.xhrFactory;return(dt.\u0275loadImpl?(0,k.H)(dt.\u0275loadImpl()):(0,c.of)(null)).pipe((0,R.n)(()=>new y.c(Dt=>{const ne=dt.build();if(ne.open(ce.method,ce.urlWithParams),ce.withCredentials&&(ne.withCredentials=!0),ce.headers.forEach((to,xo)=>ne.setRequestHeader(to,xo.join(","))),ce.headers.has("Accept")||ne.setRequestHeader("Accept","application/json, text/plain, */*"),!ce.headers.has("Content-Type")){const to=ce.detectContentTypeHeader();null!==to&&ne.setRequestHeader("Content-Type",to)}if(ce.responseType){const to=ce.responseType.toLowerCase();ne.responseType="json"!==to?to:"text"}const Re=ce.serializeBody();let Ce=null;const or=()=>{if(null!==Ce)return Ce;const to=ne.statusText||"OK",xo=new q(ne.getAllResponseHeaders()),Ao=function ir(Ht){return"responseURL"in Ht&&Ht.responseURL?Ht.responseURL:/^X-Request-URL:/m.test(Ht.getAllResponseHeaders())?Ht.getResponseHeader("X-Request-URL"):null}(ne)||ce.url;return Ce=new gr({headers:xo,status:ne.status,statusText:to,url:Ao}),Ce},Cr=()=>{let{headers:to,status:xo,statusText:Ao,url:po}=or(),io=null;204!==xo&&(io=typeof ne.response>"u"?ne.responseText:ne.response),0===xo&&(xo=io?200:0);let Zn=xo>=200&&xo<300;if("json"===ce.responseType&&"string"==typeof io){const Di=io;io=io.replace(ye,"");try{io=""!==io?JSON.parse(io):null}catch(jn){io=Di,Zn&&(Zn=!1,io={error:jn,text:io})}}Zn?(Dt.next(new vr({body:io,headers:to,status:xo,statusText:Ao,url:po||void 0})),Dt.complete()):Dt.error(new Gr({error:io,headers:to,status:xo,statusText:Ao,url:po||void 0}))},Er=to=>{const{url:xo}=or(),Ao=new Gr({error:to,status:ne.status||0,statusText:ne.statusText||"Unknown Error",url:xo||void 0});Dt.error(Ao)};let Nr=!1;const Fr=to=>{Nr||(Dt.next(or()),Nr=!0);let xo={type:Xe.DownloadProgress,loaded:to.loaded};to.lengthComputable&&(xo.total=to.total),"text"===ce.responseType&&ne.responseText&&(xo.partialText=ne.responseText),Dt.next(xo)},qr=to=>{let xo={type:Xe.UploadProgress,loaded:to.loaded};to.lengthComputable&&(xo.total=to.total),Dt.next(xo)};return ne.addEventListener("load",Cr),ne.addEventListener("error",Er),ne.addEventListener("timeout",Er),ne.addEventListener("abort",Er),ce.reportProgress&&(ne.addEventListener("progress",Fr),null!==Re&&ne.upload&&ne.upload.addEventListener("progress",qr)),ne.send(Re),Dt.next({type:Xe.Sent}),()=>{ne.removeEventListener("error",Er),ne.removeEventListener("abort",Er),ne.removeEventListener("load",Cr),ne.removeEventListener("timeout",Er),ce.reportProgress&&(ne.removeEventListener("progress",Fr),null!==Re&&ne.upload&&ne.upload.removeEventListener("progress",qr)),ne.readyState!==ne.DONE&&ne.abort()}})))}static{this.\u0275fac=function(dt){return new(dt||Ht)(s.KVO(L.N0))}}static{this.\u0275prov=s.jDH({token:Ht,factory:Ht.\u0275fac})}}return Ht})();const er=new s.nKC(""),eo=new s.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),fr=new s.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Pr{}let re=(()=>{class Ht{constructor(ce,dt,Gt){this.doc=ce,this.platform=dt,this.cookieName=Gt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ce=this.doc.cookie||"";return ce!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,L._b)(ce,this.cookieName),this.lastCookieString=ce),this.lastToken}static{this.\u0275fac=function(dt){return new(dt||Ht)(s.KVO(L.qQ),s.KVO(s.Agw),s.KVO(eo))}}static{this.\u0275prov=s.jDH({token:Ht,factory:Ht.\u0275fac})}}return Ht})();function qt(Ht,he){const ce=Ht.url.toLowerCase();if(!(0,s.WQX)(er)||"GET"===Ht.method||"HEAD"===Ht.method||ce.startsWith("http://")||ce.startsWith("https://"))return he(Ht);const dt=(0,s.WQX)(Pr).getToken(),Gt=(0,s.WQX)(fr);return null!=dt&&!Ht.headers.has(Gt)&&(Ht=Ht.clone({headers:Ht.headers.set(Gt,dt)})),he(Ht)}var ue=function(Ht){return Ht[Ht.Interceptors=0]="Interceptors",Ht[Ht.LegacyInterceptors=1]="LegacyInterceptors",Ht[Ht.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ht[Ht.NoXsrfProtection=3]="NoXsrfProtection",Ht[Ht.JsonpSupport=4]="JsonpSupport",Ht[Ht.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ht[Ht.Fetch=6]="Fetch",Ht}(ue||{});function Qr(...Ht){const he=[Ae,Je,dr,{provide:J,useExisting:dr},{provide:W,useFactory:()=>(0,s.WQX)(De,{optional:!0})??(0,s.WQX)(Je)},{provide:Wt,useValue:qt,multi:!0},{provide:er,useValue:!0},{provide:Pr,useClass:re}];for(const ce of Ht)he.push(...ce.\u0275providers);return(0,s.EmA)(he)}function Ro(Ht){return function mr(Ht,he){return{\u0275kind:Ht,\u0275providers:he}}(ue.Interceptors,Ht.map(he=>({provide:Wt,useValue:he,multi:!0})))}},4438:(i,a,r)=>{"use strict";function o(t,e){return Object.is(t,e)}r.d(a,{bc$:()=>Wo,iLQ:()=>kw,sZ2:()=>oo,hnV:()=>Ck,wjH:()=>Ip,o8S:()=>ed,BIS:()=>xn,gRc:()=>$k,Ql9:()=>j8,OM3:()=>Zf,Ocv:()=>X8,Z63:()=>Br,aKT:()=>jl,uvJ:()=>ai,zcH:()=>fc,bkB:()=>gc,$GK:()=>nn,nKC:()=>ro,zZn:()=>Ka,_q3:()=>Vv,MKu:()=>zv,xe9:()=>Pv,Co$:()=>gx,Vns:()=>Tp,SKi:()=>Ui,Xx1:()=>hi,Agw:()=>_o,PLl:()=>Vo,rOR:()=>Vl,sFG:()=>YE,_9s:()=>wy,czy:()=>Qh,WPN:()=>Cd,kdw:()=>On,C4Q:()=>Cp,NYb:()=>N8,giA:()=>kk,RxE:()=>fk,c1b:()=>Yb,gXe:()=>mn,mal:()=>ow,Tzd:()=>Ex,L39:()=>XD,EWP:()=>QD,sbv:()=>k5,Ol2:()=>Ly,w6W:()=>j5,QZP:()=>wE,Rfq:()=>re,oKB:()=>_c,WQX:()=>zo,naY:()=>oD,Hps:()=>My,QuC:()=>ta,EmA:()=>Oi,Udg:()=>YD,HJs:()=>oS,N4e:()=>ca,vPA:()=>X1,O8t:()=>qD,H3F:()=>mk,H8p:()=>ki,KH2:()=>Fg,TgB:()=>Fl,wOt:()=>We,WHO:()=>xk,e01:()=>_k,lNU:()=>Fe,h9k:()=>gf,$MX:()=>Hh,ZF7:()=>Yl,Kcf:()=>Hm,e5t:()=>Xw,UyX:()=>Kw,cWb:()=>Ww,osQ:()=>Gw,H5H:()=>dv,Zy3:()=>Or,mq5:()=>E2,JZv:()=>ye,TL3:()=>AD,LfX:()=>Ke,plB:()=>Tu,jNT:()=>Ov,zjR:()=>Ek,ngT:()=>Ws,TL$:()=>Tr,Tbb:()=>eo,rcV:()=>zs,nM4:()=>lx,Vt3:()=>Oy,GFd:()=>hx,OA$:()=>ys,Jv_:()=>N_,aNF:()=>L_,R7$:()=>_b,BMQ:()=>Xy,HbH:()=>a2,ZvI:()=>h2,AVh:()=>ev,BUC:()=>g2,vxM:()=>w2,wni:()=>i_,C6U:()=>l_,VBU:()=>ja,FsC:()=>rd,jDH:()=>Fo,G2t:()=>ei,$C:()=>xa,EJ8:()=>rl,rXU:()=>Du,nrm:()=>av,eu8:()=>sv,bVm:()=>pw,qex:()=>uw,k0s:()=>dw,j41:()=>lw,RV6:()=>k2,xGo:()=>rs,Mr5:()=>cv,KVO:()=>Ln,kS0:()=>md,QTQ:()=>Ql,bIt:()=>hv,lsd:()=>c_,joV:()=>eh,qSk:()=>Kd,XpG:()=>X2,nI1:()=>Y_,bMT:()=>Z_,i5U:()=>Q_,SdG:()=>Z2,NAR:()=>Y2,Y8G:()=>qy,FS9:()=>mv,Mz_:()=>bw,lJ4:()=>B_,eq3:()=>U_,l_i:()=>$_,sMw:()=>j_,ziG:()=>V_,lV:()=>z_,NyB:()=>d_,mGM:()=>s_,sdS:()=>u_,Dyx:()=>v2,Z7z:()=>y2,Njj:()=>Ud,eBV:()=>Uu,npT:()=>Jm,f$h:()=>ff,B4B:()=>Gh,n$t:()=>eb,Aen:()=>xl,xc7:()=>tv,Kam:()=>gv,zvX:()=>lv,DNE:()=>Fy,C5r:()=>q_,EFF:()=>x_,JRh:()=>wv,SpI:()=>ww,Lme:()=>yv,DH7:()=>M_,mxI:()=>xv,R50:()=>vv,GBs:()=>a_});let s=null,c=!1,y=1;const k=Symbol("SIGNAL");function S(t){const e=s;return s=t,e}const R={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function L(t){if(c)throw new Error("");if(null===s)return;s.consumerOnSignalRead(t);const e=s.nextProducerIndex++;at(s),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Mt(t){at(t);for(let e=0;e0}function at(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function rt(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function yt(t){return void 0!==t.producerNode}function Ct(t){const e=Object.create(Xe);e.computation=t;const n=()=>{if(W(e),L(e),e.value===oe)throw e.error;return e.value};return n[k]=e,n}const Vt=Symbol("UNSET"),Xt=Symbol("COMPUTING"),oe=Symbol("ERRORED"),Xe={...R,value:Vt,dirty:!0,error:null,equal:o,producerMustRecompute:t=>t.value===Vt||t.value===Xt,producerRecomputeValue(t){if(t.value===Xt)throw new Error("Detected cycle in computations.");const e=t.value;t.value=Xt;const n=tt(t);let l;try{l=t.computation()}catch(g){l=oe,t.error=g}finally{_t(t,n)}e!==Vt&&e!==oe&&l!==oe&&t.equal(e,l)?t.value=e:(t.value=l,t.version++)}};let gr=function kr(){throw new Error};function vr(){gr()}let xe=null;function Ae(t,e){ct()||vr(),t.equal(t.value,e)||(t.value=e,function De(t){t.version++,function J(){y++}(),q(t),xe?.()}(t))}const jt={...R,equal:o,value:void 0};const ft=()=>{},pe={...R,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:ft};var Ee=r(4412),ie=r(1413),He=r(8359),Wt=r(6354);const Fe="https://g.co/ng/security#xss";class We extends Error{constructor(e,n){super(Or(e,n)),this.code=e}}function Or(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}function Ie(t){return{toString:t}.toString()}const mt="__parameters__";function Tt(t,e,n){return Ie(()=>{const l=function it(t){return function(...n){if(t){const l=t(...n);for(const g in l)this[g]=l[g]}}}(e);function g(...w){if(this instanceof g)return l.apply(this,w),this;const E=new g(...w);return O.annotation=E,O;function O(U,ot,xt){const Jt=U.hasOwnProperty(mt)?U[mt]:Object.defineProperty(U,mt,{value:[]})[mt];for(;Jt.length<=xt;)Jt.push(null);return(Jt[xt]=Jt[xt]||[]).push(E),U}}return n&&(g.prototype=Object.create(n.prototype)),g.prototype.ngMetadataName=t,g.annotationCls=g,g})}const ye=globalThis;function er(t){for(let e in t)if(t[e]===er)return e;throw Error("Could not find renamed property on target object.")}function Wr(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function eo(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(eo).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Uo(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Pr=er({__forward_ref__:er});function re(t){return t.__forward_ref__=re,t.toString=function(){return eo(this())},t}function qt(t){return Pt(t)?t():t}function Pt(t){return"function"==typeof t&&t.hasOwnProperty(Pr)&&t.__forward_ref__===re}function Fo(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ei(t){return{providers:t.providers||[],imports:t.imports||[]}}function Oe(t){return Dr(t,ao)||Dr(t,vo)}function Ke(t){return null!==Oe(t)}function Dr(t,e){return t.hasOwnProperty(e)?t[e]:null}function Ur(t){return t&&(t.hasOwnProperty(no)||t.hasOwnProperty(Co))?t[no]:null}const ao=er({\u0275prov:er}),no=er({\u0275inj:er}),vo=er({ngInjectableDef:er}),Co=er({ngInjectorDef:er});class ro{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Fo({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Cr(t){return t&&!!t.\u0275providers}const Er=er({\u0275cmp:er}),Nr=er({\u0275dir:er}),Fr=er({\u0275pipe:er}),qr=er({\u0275mod:er}),to=er({\u0275fac:er}),xo=er({__NG_ELEMENT_ID__:er}),Ao=er({__NG_ENV_ID__:er});function po(t){return"string"==typeof t?t:null==t?"":String(t)}function Hi(t,e){throw new We(-201,!1)}var nn=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(nn||{});let Pa;function Tn(){return Pa}function vi(t){const e=Pa;return Pa=t,e}function ds(t,e,n){const l=Oe(t);return l&&"root"==l.providedIn?void 0===l.value?l.value=l.factory():l.value:n&nn.Optional?null:void 0!==e?e:void Hi()}const Si={},Qi="__NG_DI_FLAG__",Qn="ngTempTokenPath",Mn=/\n/gm,fi="__source";let Go;function qn(t){const e=Go;return Go=t,e}function Jn(t,e=nn.Default){if(void 0===Go)throw new We(-203,!1);return null===Go?ds(t,void 0,e):Go.get(t,e&nn.Optional?null:void 0,e)}function Ln(t,e=nn.Default){return(Tn()||Jn)(qt(t),e)}function zo(t,e=nn.Default){return Ln(t,Ba(e))}function Ba(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ii(t){const e=[];for(let n=0;nArray.isArray(n)?xi(n,e):e(n))}function ci(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ji(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function _i(t,e,n){let l=G(t,e);return l>=0?t[1|l]=n:(l=~l,function ma(t,e,n,l){let g=t.length;if(g==e)t.push(n,l);else if(1===g)t.push(l,t[0]),t[0]=n;else{for(g--,t.push(t[g-1],t[g]);g>e;)t[g]=t[g-2],g--;t[e]=n,t[e+1]=l}}(t,l,e,n)),l}function ts(t,e){const n=G(t,e);if(n>=0)return t[1|n]}function G(t,e){return function et(t,e,n){let l=0,g=t.length>>n;for(;g!==l;){const w=l+(g-l>>1),E=t[w<e?g=w:l=w+1}return~(g<e){E=w-1;break}}}for(;w-1){let w;for(;++gw?"":g[xt+1].toLowerCase(),2&l&&ot!==Jt){if(bt(l))return!1;E=!0}}}}else{if(!E&&!bt(l)&&!bt(U))return!1;if(E&&bt(U))continue;E=!1,l=U|1&l}}return bt(l)||E}function bt(t){return!(1&t)}function X(t,e,n,l){if(null===e)return-1;let g=0;if(l||!n){let w=!1;for(;g-1)for(n++;n0?'="'+O+'"':"")+"]"}else 8&l?g+="."+E:4&l&&(g+=" "+E);else""!==g&&!bt(E)&&(e+=Ls(w,g),g=""),l=E,w=w||!bt(l);n++}return""!==g&&(e+=Ls(w,g)),e}function ja(t){return Ie(()=>{const e=Ks(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===en.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||mn.Emulated,styles:t.styles||le,_:null,schemas:t.schemas||null,tView:null,id:""};Ss(n);const l=t.dependencies;return n.directiveDefs=sa(l,!1),n.pipeDefs=sa(l,!0),n.id=function As(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const g of n)e=Math.imul(31,e)+g.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n})}function yn(t){return cn(t)||Fi(t)}function Bs(t){return null!==t}function xa(t){return Ie(()=>({type:t.type,bootstrap:t.bootstrap||le,declarations:t.declarations||le,imports:t.imports||le,exports:t.exports||le,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function ps(t,e){if(null==t)return te;const n={};for(const l in t)if(t.hasOwnProperty(l)){const g=t[l];let w,E,O=Lo.None;Array.isArray(g)?(O=g[0],w=g[1],E=g[2]??w):(w=g,E=g),e?(n[w]=O!==Lo.None?[l,O]:l,e[w]=E):n[w]=l}return n}function rd(t){return Ie(()=>{const e=Ks(t);return Ss(e),e})}function rl(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function cn(t){return t[Er]||null}function Fi(t){return t[Nr]||null}function rn(t){return t[Fr]||null}function ta(t){const e=cn(t)||Fi(t)||rn(t);return null!==e&&e.standalone}function Vi(t,e){const n=t[qr]||null;if(!n&&!0===e)throw new Error(`Type ${eo(t)} does not have '\u0275mod' property.`);return n}function Ks(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||te,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||le,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ps(t.inputs,e),outputs:ps(t.outputs),debugInfo:null}}function Ss(t){t.features?.forEach(e=>e(t))}function sa(t,e){if(!t)return null;const n=e?rn:yn;return()=>("function"==typeof t?t():t).map(l=>n(l)).filter(Bs)}function Oi(t){return{\u0275providers:t}}function _c(...t){return{\u0275providers:Fc(0,t),\u0275fromNgModule:!0}}function Fc(t,...e){const n=[],l=new Set;let g;const w=E=>{n.push(E)};return xi(e,E=>{const O=E;kc(O,w,[],l)&&(g||=[],g.push(O))}),void 0!==g&&ol(g,w),n}function ol(t,e){for(let n=0;n{e(w,l)})}}function kc(t,e,n,l){if(!(t=qt(t)))return!1;let g=null,w=Ur(t);const E=!w&&cn(t);if(w||E){if(E&&!E.standalone)return!1;g=t}else{const U=t.ngModule;if(w=Ur(U),!w)return!1;g=U}const O=l.has(g);if(E){if(O)return!1;if(l.add(g),E.dependencies){const U="function"==typeof E.dependencies?E.dependencies():E.dependencies;for(const ot of U)kc(ot,e,n,l)}}else{if(!w)return!1;{if(null!=w.imports&&!O){let ot;l.add(g);try{xi(w.imports,xt=>{kc(xt,e,n,l)&&(ot||=[],ot.push(xt))})}finally{}void 0!==ot&&ol(ot,e)}if(!O){const ot=bi(g)||(()=>new g);e({provide:g,useFactory:ot,deps:le},g),e({provide:Oo,useValue:g,multi:!0},g),e({provide:Br,useValue:()=>Ln(g),multi:!0},g)}const U=w.providers;if(null!=U&&!O){const ot=t;Cc(U,xt=>{e(xt,ot)})}}}return g!==t&&void 0!==t.providers}function Cc(t,e){for(let n of t)Cr(n)&&(n=n.\u0275providers),Array.isArray(n)?Cc(n,e):e(n)}const Bc=er({provide:String,useValue:er});function Va(t){return null!==t&&"object"==typeof t&&Bc in t}function ka(t){return"function"==typeof t}const ki=new ro(""),ea={},od={};let Xi;function Ts(){return void 0===Xi&&(Xi=new co),Xi}class ai{}class Gs extends ai{get destroyed(){return this._destroyed}constructor(e,n,l,g){super(),this.parent=n,this.source=l,this.scopes=g,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Is(e,E=>this.processProvider(E)),this.records.set(jr,hs(void 0,this)),g.has("environment")&&this.records.set(ai,hs(void 0,this));const w=this.records.get(ki);null!=w&&"string"==typeof w.value&&this.scopes.add(w.value),this.injectorDefTypes=new Set(this.get(Oo,le,nn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const e=S(null);try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const l of n)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),S(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const n=qn(this),l=vi(void 0);try{return e()}finally{qn(n),vi(l)}}get(e,n=Si,l=nn.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Ao))return e[Ao](this);l=Ba(l);const w=qn(this),E=vi(void 0);try{if(!(l&nn.SkipSelf)){let U=this.records.get(e);if(void 0===U){const ot=function lc(t){return"function"==typeof t||"object"==typeof t&&t instanceof ro}(e)&&Oe(e);U=ot&&this.injectableDefInScope(ot)?hs(Ms(e),ea):null,this.records.set(e,U)}if(null!=U)return this.hydrate(e,U)}return(l&nn.Self?Ts():this.parent).get(e,n=l&nn.Optional&&n===Si?null:n)}catch(O){if("NullInjectorError"===O.name){if((O[Qn]=O[Qn]||[]).unshift(eo(e)),w)throw O;return function us(t,e,n,l){const g=t[Qn];throw e[fi]&&g.unshift(e[fi]),t.message=function fa(t,e,n,l=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let g=eo(e);if(Array.isArray(e))g=e.map(eo).join(" -> ");else if("object"==typeof e){let w=[];for(let E in e)if(e.hasOwnProperty(E)){let O=e[E];w.push(E+":"+("string"==typeof O?JSON.stringify(O):eo(O)))}g=`{${w.join(", ")}}`}return`${n}${l?"("+l+")":""}[${g}]: ${t.replace(Mn,"\n ")}`}("\n"+t.message,g,n,l),t.ngTokenPath=g,t[Qn]=null,t}(O,e,"R3InjectorError",this.source)}throw O}finally{vi(E),qn(w)}}resolveInjectorInitializers(){const e=S(null),n=qn(this),l=vi(void 0);try{const w=this.get(Br,le,nn.Self);for(const E of w)E()}finally{qn(n),vi(l),S(e)}}toString(){const e=[],n=this.records;for(const l of n.keys())e.push(eo(l));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new We(205,!1)}processProvider(e){let n=ka(e=qt(e))?e:qt(e&&e.provide);const l=function Pn(t){return Va(t)?hs(void 0,t.useValue):hs(za(t),ea)}(e);if(!ka(e)&&!0===e.multi){let g=this.records.get(n);g||(g=hs(void 0,ea,!0),g.factory=()=>ii(g.multi),this.records.set(n,g)),n=e,g.multi.push(e)}this.records.set(n,l)}hydrate(e,n){const l=S(null);try{return n.value===ea&&(n.value=od,n.value=n.factory()),"object"==typeof n.value&&n.value&&function gs(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{S(l)}}injectableDefInScope(e){if(!e.providedIn)return!1;const n=qt(e.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){const n=this._onDestroyHooks.indexOf(e);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ms(t){const e=Oe(t),n=null!==e?e.factory:bi(t);if(null!==n)return n;if(t instanceof ro)throw new We(204,!1);if(t instanceof Function)return function Ea(t){if(t.length>0)throw new We(204,!1);const n=function Lr(t){return t&&(t[ao]||t[vo])||null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new We(204,!1)}function za(t,e,n){let l;if(ka(t)){const g=qt(t);return bi(g)||Ms(g)}if(Va(t))l=()=>qt(t.useValue);else if(function $s(t){return!(!t||!t.useFactory)}(t))l=()=>t.useFactory(...ii(t.deps||[]));else if(function Us(t){return!(!t||!t.useExisting)}(t))l=()=>Ln(qt(t.useExisting));else{const g=qt(t&&(t.useClass||t.provide));if(!function gi(t){return!!t.deps}(t))return bi(g)||Ms(g);l=()=>new g(...ii(t.deps))}return l}function hs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Is(t,e){for(const n of t)Array.isArray(n)?Is(n,e):n&&Cr(n)?Is(n.\u0275providers,e):e(n)}function ca(t,e){t instanceof Gs&&t.assertNotDestroyed();const l=qn(t),g=vi(void 0);try{return e()}finally{qn(l),vi(g)}}function fs(){return void 0!==Tn()||null!=function pa(){return Go}()}function gn(t){if(!fs())throw new We(-203,!1)}const ze=0,nr=1,_r=2,Zr=3,Mr=4,Xr=5,Jr=6,fo=7,Vr=8,Do=9,Io=10,Yr=11,tn=12,Xo=13,Cn=14,qo=15,_n=16,Ei=17,oi=18,Wi=19,To=20,lo=21,vn=22,Rn=23,mo=25,Mi=1,Bi=7,ba=9,yi=10;var Po=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Po||{});function li(t){return Array.isArray(t)&&"object"==typeof t[Mi]}function Ii(t){return Array.isArray(t)&&!0===t[Mi]}function Ha(t){return!!(4&t.flags)}function la(t){return t.componentOffset>-1}function jo(t){return!(1&~t.flags)}function Ci(t){return!!t.template}function Ca(t){return!!(512&t[_r])}class Sa{constructor(e,n,l){this.previousValue=e,this.currentValue=n,this.firstChange=l}isFirstChange(){return this.firstChange}}function Os(t,e,n,l){null!==e?e.applyValueToInputSignal(e,l):t[n]=l}function ys(){return $c}function $c(t){return t.type.prototype.ngOnChanges&&(t.setInput=Wa),Xs}function Xs(){const t=Up(this),e=t?.current;if(e){const n=t.previous;if(n===te)t.previous=e;else for(let l in e)n[l]=e[l];t.current=null,this.ngOnChanges(e)}}function Wa(t,e,n,l,g){const w=this.declaredInputs[l],E=Up(t)||function jg(t,e){return t[al]=e}(t,{previous:te,current:null}),O=E.current||(E.current={}),U=E.previous,ot=U[w];O[w]=new Sa(ot&&ot.currentValue,n,U===te),Os(t,e,g,n)}ys.ngInherit=!0;const al="__ngSimpleChanges__";function Up(t){return t[al]||null}const Ys=function(t,e,n){},jp="svg";function Hn(t){for(;Array.isArray(t);)t=t[ze];return t}function Dl(t,e){return Hn(e[t])}function Aa(t,e){return Hn(e[t.index])}function Sc(t,e){return t.data[e]}function Sl(t,e){return t[e]}function vs(t,e){const n=e[t];return li(n)?n:n[ze]}function Qs(t){return!(128&~t[_r])}function xs(t,e){return null==e?null:t[e]}function Od(t){t[Ei]=0}function Rd(t){1024&t[_r]||(t[_r]|=1024,Qs(t)&&Al(t))}function id(t){return!!(9216&t[_r]||t[Rn]?.dirty)}function Lu(t){t[Io].changeDetectionScheduler?.notify(8),64&t[_r]&&(t[_r]|=1024),id(t)&&Al(t)}function Al(t){t[Io].changeDetectionScheduler?.notify(0);let e=js(t);for(;null!==e&&!(8192&e[_r])&&(e[_r]|=8192,Qs(e));)e=js(e)}function Nd(t,e){if(!(256&~t[_r]))throw new We(911,!1);null===t[lo]&&(t[lo]=[]),t[lo].push(e)}function js(t){const e=t[Zr];return Ii(e)?e[Zr]:e}const fn={lFrame:Qp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Fu=!1;function ad(){return fn.bindingsEnabled}function sl(){return null!==fn.skipHydrationRootTNode}function Rr(){return fn.lFrame.lView}function Dn(){return fn.lFrame.tView}function Uu(t){return fn.lFrame.contextLView=t,t[Vr]}function Ud(t){return fn.lFrame.contextLView=null,t}function Wn(){let t=$d();for(;null!==t&&64===t.type;)t=t.parent;return t}function $d(){return fn.lFrame.currentTNode}function Js(t,e){const n=fn.lFrame;n.currentTNode=t,n.isParent=e}function $u(){return fn.lFrame.isParent}function jd(){fn.lFrame.isParent=!1}function zd(){return Fu}function ju(t){Fu=t}function ga(){const t=fn.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function uc(){return fn.lFrame.bindingIndex++}function Tc(t){const e=fn.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Vu(t,e){const n=fn.lFrame;n.bindingIndex=n.bindingRootIndex=t,sd(e)}function sd(t){fn.lFrame.currentDirectiveIndex=t}function Xp(t){const e=fn.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Yp(){return fn.lFrame.currentQueryIndex}function cd(t){fn.lFrame.currentQueryIndex=t}function km(t){const e=t[nr];return 2===e.type?e.declTNode:1===e.type?t[Xr]:null}function Wg(t,e,n){if(n&nn.SkipSelf){let g=e,w=t;for(;!(g=g.parent,null!==g||n&nn.Host||(g=km(w),null===g||(w=w[Cn],10&g.type))););if(null===g)return!1;e=g,t=w}const l=fn.lFrame=ld();return l.currentTNode=e,l.lView=t,!0}function Zp(t){const e=ld(),n=t[nr];fn.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ld(){const t=fn.lFrame,e=null===t?null:t.child;return null===e?Qp(t):e}function Qp(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function qp(){const t=fn.lFrame;return fn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Jp=qp;function Ml(){const t=qp();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function wa(){return fn.lFrame.selectedIndex}function Vc(t){fn.lFrame.selectedIndex=t}function Ri(){const t=fn.lFrame;return Sc(t.tView,t.selectedIndex)}function Kd(){fn.lFrame.currentNamespace=jp}function eh(){!function Kg(){fn.lFrame.currentNamespace=null}()}let oh=!0;function dd(){return oh}function pc(t){oh=t}function Il(t,e){for(let n=e.directiveStart,l=e.directiveEnd;n=l)break}else e[U]<0&&(t[Ei]+=65536),(O>14>16&&(3&t[_r])===e&&(t[_r]+=16384,ih(O,w)):ih(O,w)}const ud=-1;class dl{constructor(e,n,l){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=l}}const hd={};class hc{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,l){l=Ba(l);const g=this.injector.get(e,hd,l);return g!==hd||n===hd?g:this.parentInjector.get(e,n,l)}}function ch(t){return t!==ud}function pl(t){return 32767&t}function Rl(t,e){let n=function lh(t){return t>>16}(t),l=e;for(;n>0;)l=l[Cn],n--;return l}let Hu=!0;function gd(t){const e=Hu;return Hu=t,e}const Wu=255,dh=5;let Yd=0;const ec={};function zc(t,e){const n=uh(t,e);if(-1!==n)return n;const l=e[nr];l.firstCreatePass&&(t.injectorIndex=e.length,fd(l.data,t),fd(e,null),fd(l.blueprint,null));const g=Zd(t,e),w=t.injectorIndex;if(ch(g)){const E=pl(g),O=Rl(g,e),U=O[nr].data;for(let ot=0;ot<8;ot++)e[w+ot]=O[E+ot]|U[E+ot]}return e[w+8]=g,w}function fd(t,e){t.push(0,0,0,0,0,0,0,0,e)}function uh(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Zd(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,l=null,g=e;for(;null!==g;){if(l=gh(g),null===l)return ud;if(n++,g=g[Cn],-1!==l.injectorIndex)return l.injectorIndex|n<<16}return ud}function Qd(t,e,n){!function Ku(t,e,n){let l;"string"==typeof n?l=n.charCodeAt(0)||0:n.hasOwnProperty(xo)&&(l=n[xo]),null==l&&(l=n[xo]=Yd++);const g=l&Wu;e.data[t+(g>>dh)]|=1<=0?e&Wu:hh:e}(n);if("function"==typeof w){if(!Wg(e,t,l))return l&nn.Host?es(g,0,l):Jd(e,n,l,g);try{let E;if(E=w(l),null!=E||l&nn.Optional)return E;Hi()}finally{Jp()}}else if("number"==typeof w){let E=null,O=uh(t,e),U=ud,ot=l&nn.Host?e[qo][Xr]:null;for((-1===O||l&nn.SkipSelf)&&(U=-1===O?Zd(t,e):e[O+8],U!==ud&&hl(l,!1)?(E=e[nr],O=pl(U),e=Rl(U,e)):O=-1);-1!==O;){const xt=e[nr];if(Xu(w,O,xt.data)){const Jt=Gu(O,e,n,E,l,ot);if(Jt!==ec)return Jt}U=e[O+8],U!==ud&&hl(l,e[nr].data[O+8]===ot)&&Xu(w,O,e)?(E=xt,O=pl(U),e=Rl(U,e)):O=-1}}return g}function Gu(t,e,n,l,g,w){const E=e[nr],O=E.data[t+8],xt=eu(O,E,n,null==l?la(O)&&Hu:l!=E&&!!(3&O.type),g&nn.Host&&w===O);return null!==xt?Hc(e,E,xt,O):ec}function eu(t,e,n,l,g){const w=t.providerIndexes,E=e.data,O=1048575&w,U=t.directiveStart,xt=w>>20,Be=g?O+xt:t.directiveEnd;for(let Ge=l?O:O+xt;Ge=U&&hr.type===n)return Ge}if(g){const Ge=E[U];if(Ge&&Ci(Ge)&&Ge.type===n)return U}return null}function Hc(t,e,n,l){let g=t[n];const w=e.data;if(function Gd(t){return t instanceof dl}(g)){const E=g;E.resolving&&function jn(t,e){throw e&&e.join(" > "),new We(-200,t)}(function io(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():po(t)}(w[n]));const O=gd(E.canSeeViewProviders);E.resolving=!0;const ot=E.injectImpl?vi(E.injectImpl):null;Wg(t,l,nn.Default);try{g=t[n]=E.factory(void 0,w,t,l),e.firstCreatePass&&n>=l.directiveStart&&function cl(t,e,n){const{ngOnChanges:l,ngOnInit:g,ngDoCheck:w}=e.type.prototype;if(l){const E=$c(e);(n.preOrderHooks??=[]).push(t,E),(n.preOrderCheckHooks??=[]).push(t,E)}g&&(n.preOrderHooks??=[]).push(0-t,g),w&&((n.preOrderHooks??=[]).push(t,w),(n.preOrderCheckHooks??=[]).push(t,w))}(n,w[n],e)}finally{null!==ot&&vi(ot),gd(O),E.resolving=!1,Jp()}}return g}function Xu(t,e,n){return!!(n[e+(t>>dh)]&1<{const e=t.prototype.constructor,n=e[to]||Wc(e),l=Object.prototype;let g=Object.getPrototypeOf(t.prototype).constructor;for(;g&&g!==l;){const w=g[to]||Wc(g);if(w&&w!==n)return w;g=Object.getPrototypeOf(g)}return w=>new w})}function Wc(t){return Pt(t)?()=>{const e=Wc(qt(t));return e&&e()}:bi(t)}function gh(t){const e=t[nr],n=e.type;return 2===n?e.declTNode:1===n?t[Xr]:null}function md(t){return function qd(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const l=n.length;let g=0;for(;gLn(jr)})}static{this.__NG_ELEMENT_ID__=-1}}new ro("").__NG_ELEMENT_ID__=t=>{const e=Wn();if(null===e)throw new We(204,!1);if(2&e.type)return e.value;if(t&nn.Optional)return null;throw new We(204,!1)};function qu(t){return t.ngOriginalError}const xh=!0;let su=(()=>{class t{static{this.__NG_ELEMENT_ID__=Tm}static{this.__NG_ENV_ID__=n=>n}}return t})();class qg extends su{constructor(e){super(),this._lView=e}onDestroy(e){return Nd(this._lView,e),()=>function qs(t,e){if(null===t[lo])return;const n=t[lo].indexOf(e);-1!==n&&t[lo].splice(n,1)}(this._lView,e)}}function Tm(){return new qg(Rr())}let Fl=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ee.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:()=>new t})}}return t})();const gc=class bd extends ie.B{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,fs()&&(this.destroyRef=zo(su,{optional:!0})??void 0,this.pendingTasks=zo(Fl,{optional:!0})??void 0)}emit(e){const n=S(null);try{super.next(e)}finally{S(n)}}subscribe(e,n,l){let g=e,w=n||(()=>null),E=l;if(e&&"object"==typeof e){const U=e;g=U.next?.bind(U),w=U.error?.bind(U),E=U.complete?.bind(U)}this.__isAsync&&(w=this.wrapInTimeout(w),g&&(g=this.wrapInTimeout(g)),E&&(E=this.wrapInTimeout(E)));const O=super.subscribe({next:g,error:w,complete:E});return e instanceof He.yU&&e.add(O),O}wrapInTimeout(e){return n=>{const l=this.pendingTasks?.add();setTimeout(()=>{e(n),void 0!==l&&this.pendingTasks?.remove(l)})}}};function Ta(...t){}function _h(t){let e,n;function l(){t=Ta;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),l()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{t(),l()})),()=>l()}function gl(t){return queueMicrotask(()=>t()),()=>{t=Ta}}const Gc="isAngularZone",Bl=Gc+"_ID";let Ga=0;class Ui{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new gc(!1),this.onMicrotaskEmpty=new gc(!1),this.onStable=new gc(!1),this.onError=new gc(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:l=!1,shouldCoalesceRunChangeDetection:g=!1,scheduleInRootZone:w=xh}=e;if(typeof Zone>"u")throw new We(908,!1);Zone.assertZonePatched();const E=this;E._nesting=0,E._outer=E._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(E._inner=E._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(E._inner=E._inner.fork(Zone.longStackTraceZoneSpec)),E.shouldCoalesceEventChangeDetection=!g&&l,E.shouldCoalesceRunChangeDetection=g,E.callbackScheduled=!1,E.scheduleInRootZone=w,function Jg(t){const e=()=>{!function kh(t){function e(){_h(()=>{t.callbackScheduled=!1,wd(t),t.isCheckStableRunning=!0,du(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),wd(t))}(t)},n=Ga++;t._inner=t._inner.fork({name:"angular",properties:{[Gc]:!0,[Bl]:n,[Bl+n]:!0},onInvokeTask:(l,g,w,E,O,U)=>{if(function vd(t){return tp(t,"__ignore_ng_zone__")}(U))return l.invokeTask(w,E,O,U);try{return Ju(t),l.invokeTask(w,E,O,U)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===E.type||t.shouldCoalesceRunChangeDetection)&&e(),Eh(t)}},onInvoke:(l,g,w,E,O,U,ot)=>{try{return Ju(t),l.invoke(w,E,O,U,ot)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function Ul(t){return tp(t,"__scheduler_tick__")}(U)&&e(),Eh(t)}},onHasTask:(l,g,w,E)=>{l.hasTask(w,E),g===w&&("microTask"==E.change?(t._hasPendingMicrotasks=E.microTask,wd(t),du(t)):"macroTask"==E.change&&(t.hasPendingMacrotasks=E.macroTask))},onHandleError:(l,g,w,E)=>(l.handleError(w,E),t.runOutsideAngular(()=>t.onError.emit(E)),!1)})}(E)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Gc)}static assertInAngularZone(){if(!Ui.isInAngularZone())throw new We(909,!1)}static assertNotInAngularZone(){if(Ui.isInAngularZone())throw new We(909,!1)}run(e,n,l){return this._inner.run(e,n,l)}runTask(e,n,l,g){const w=this._inner,E=w.scheduleEventTask("NgZoneEvent: "+g,e,lu,Ta,Ta);try{return w.runTask(E,n,l)}finally{w.cancelTask(E)}}runGuarded(e,n,l){return this._inner.runGuarded(e,n,l)}runOutsideAngular(e){return this._outer.run(e)}}const lu={};function du(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function wd(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function Ju(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Eh(t){t._nesting--,du(t)}class yd{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gc,this.onMicrotaskEmpty=new gc,this.onStable=new gc,this.onError=new gc}run(e,n,l){return e.apply(n,l)}runGuarded(e,n,l){return e.apply(n,l)}runOutsideAngular(e){return e()}runTask(e,n,l,g){return e.apply(n,l)}}function tp(t,e){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[e]}class fc{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&qu(e);for(;n&&qu(n);)n=qu(n);return n||null}}const uu=new ro("",{providedIn:"root",factory:()=>{const t=zo(Ui),e=zo(fc);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function Sh(){return Oc(Wn(),Rr())}function Oc(t,e){return new jl(Aa(t,e))}let jl=(()=>{class t{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=Sh}}return t})();function Ah(t){return t instanceof jl?t.nativeElement:t}function Th(){return this._results[Symbol.iterator]()}class Vl{get changes(){return this._changes??=new gc}constructor(e=!1){this._emitDistinctChangesOnly=e,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 n=Vl.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Th)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;const l=function Vn(t){return t.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function qa(t,e,n){if(t.length!==e.length)return!1;for(let l=0;luo}),uo="ng",Vo=new ro(""),_o=new ro("",{providedIn:"platform",factory:()=>"unknown"}),Wo=new ro(""),xn=new ro("",{providedIn:"root",factory:()=>Ar().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Rs=()=>null;function wu(t,e,n=!1){return Rs(t,e,n)}const Pm=new ro("",{providedIn:"root",factory:()=>!1});let Vh,zh;function _u(t){return function df(){if(void 0===Vh&&(Vh=null,ye.trustedTypes))try{Vh=ye.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Vh}()?.createHTML(t)||t}function uf(){if(void 0===zh&&(zh=null,ye.trustedTypes))try{zh=ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return zh}function Um(t){return uf()?.createHTML(t)||t}function jm(t){return uf()?.createScriptURL(t)||t}class kd{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fe})`}}class zw extends kd{getTypeName(){return"HTML"}}class Vm extends kd{getTypeName(){return"Style"}}class Hw extends kd{getTypeName(){return"Script"}}class Ed extends kd{getTypeName(){return"URL"}}class zm extends kd{getTypeName(){return"ResourceURL"}}function zs(t){return t instanceof kd?t.changingThisBreaksApplicationSecurity:t}function Yl(t,e){const n=function Qc(t){return t instanceof kd&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Fe})`)}return n===e}function Hm(t){return new zw(t)}function Ww(t){return new Vm(t)}function Kw(t){return new Hw(t)}function Gw(t){return new Ed(t)}function Xw(t){return new zm(t)}class Yw{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const n=(new window.DOMParser).parseFromString(_u(e),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(e):(n.firstChild?.remove(),n)}catch{return null}}}class Zw{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const n=this.inertDocument.createElement("template");return n.innerHTML=_u(e),n}}const Km=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hh(t){return(t=String(t)).match(Km)?t:"unsafe:"+t}function bl(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Wh(...t){const e={};for(const n of t)for(const l in n)n.hasOwnProperty(l)&&(e[l]=!0);return e}const Gm=bl("area,br,col,hr,img,wbr"),qw=bl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Kh=bl("rp,rt"),pf=Wh(Gm,Wh(qw,bl("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")),Wh(Kh,bl("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")),Wh(Kh,qw)),hf=bl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xm=Wh(hf,bl("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"),bl("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")),e0=bl("script,style,template");class r0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,l=!0,g=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?l=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,l&&n.firstChild)g.push(n),n=a0(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let w=n0(n);if(w){n=w;break}n=g.pop()}return this.buf.join("")}startElement(e){const n=Ym(e).toLowerCase();if(!pf.hasOwnProperty(n))return this.sanitizedSomething=!0,!e0.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const l=e.attributes;for(let g=0;g"),!0}endElement(e){const n=Ym(e).toLowerCase();pf.hasOwnProperty(n)&&!Gm.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(Qm(e))}}function n0(t){const e=t.nextSibling;if(e&&t!==e.previousSibling)throw Zm(e);return e}function a0(t){const e=t.firstChild;if(e&&function o0(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,e))throw Zm(e);return e}function Ym(t){const e=t.nodeName;return"string"==typeof e?e:"FORM"}function Zm(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const s0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c0=/([^\#-~ |!])/g;function Qm(t){return t.replace(/&/g,"&").replace(s0,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(c0,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let pp;function gf(t,e){let n=null;try{pp=pp||function Wm(t){const e=new Zw(t);return function Qw(){try{return!!(new window.DOMParser).parseFromString(_u(""),"text/html")}catch{return!1}}()?new Yw(e):e}(t);let l=e?String(e):"";n=pp.getInertBodyElement(l);let g=5,w=l;do{if(0===g)throw new Error("Failed to sanitize html because the input is unstable");g--,l=w,w=n.innerHTML,n=pp.getInertBodyElement(l)}while(l!==w);return _u((new r0).sanitizeChildren(ku(n)||n))}finally{if(n){const l=ku(n)||n;for(;l.firstChild;)l.firstChild.remove()}}}function ku(t){return"content"in t&&function qm(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Cd=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Cd||{});function Jm(t){const e=hp();return e?Um(e.sanitize(Cd.HTML,t)||""):Yl(t,"HTML")?Um(zs(t)):gf(Ar(),po(t))}function Gh(t){const e=hp();return e?e.sanitize(Cd.URL,t)||"":Yl(t,"URL")?zs(t):Hh(po(t))}function ff(t){const e=hp();if(e)return jm(e.sanitize(Cd.RESOURCE_URL,t)||"");if(Yl(t,"ResourceURL"))return jm(zs(t));throw new We(904,!1)}function eb(t,e,n){return function tb(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?ff:Gh}(e,n)(t)}function hp(){const t=Rr();return t&&t[Io].sanitizer}const h0=/^>|^->||--!>|)/g,f0="\u200b$1\u200b";function oc(t){return t instanceof Function?t():t}function nc(t){return"browser"===(t??zo(Ka)).get(_o)}var Qh=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Qh||{});let vf;function xf(t,e){return vf(t,e)}function Cu(t,e,n,l,g){if(null!=l){let w,E=!1;Ii(l)?w=l:li(l)&&(E=!0,l=l[ze]);const O=Hn(l);0===t&&null!==n?null==g?pb(e,n,O):Zl(e,n,O,g||null,!0):1===t&&null!==n?Zl(e,n,O,g||null,!0):2===t?function vp(t,e,n){t.removeChild(null,e,n)}(e,O,E):3===t&&e.destroyNode(O),null!=w&&function wb(t,e,n,l,g){const w=n[Bi];w!==Hn(n)&&Cu(e,t,l,w,g);for(let O=yi;Oe.replace(g0,f0))}(e))}function gp(t,e,n){return t.createElement(e,n)}function db(t,e){e[Io].changeDetectionScheduler?.notify(9),yl(t,e,e[Yr],2,null,null)}function Ef(t,e){const n=t[ba],l=e[Zr];(li(l)||e[qo]!==l[Zr][qo])&&(t[_r]|=Po.HasTransplantedViews),null===n?t[ba]=[e]:n.push(e)}function Cf(t,e){const n=t[ba],l=n.indexOf(e);n.splice(l,1)}function fp(t,e){if(t.length<=yi)return;const n=yi+e,l=t[n];if(l){const g=l[_n];null!==g&&g!==t&&Cf(g,l),e>0&&(t[n-1][Mr]=l[Mr]);const w=ji(t,yi+e);!function E0(t,e){db(t,e),e[ze]=null,e[Xr]=null}(l[nr],l);const E=w[oi];null!==E&&E.detachView(w[nr]),l[Zr]=null,l[Mr]=null,l[_r]&=-129}return l}function Jh(t,e){if(!(256&e[_r])){const n=e[Yr];n.destroyNode&&yl(t,e,n,3,null,null),function C0(t){let e=t[tn];if(!e)return tg(t[nr],t);for(;e;){let n=null;if(li(e))n=e[tn];else{const l=e[yi];l&&(n=l)}if(!n){for(;e&&!e[Mr]&&e!==t;)li(e)&&tg(e[nr],e),e=e[Zr];null===e&&(e=t),li(e)&&tg(e[nr],e),n=e&&e[Mr]}e=n}}(e)}}function tg(t,e){if(256&e[_r])return;const n=S(null);try{e[_r]&=-129,e[_r]|=256,e[Rn]&&$t(e[Rn]),function A0(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let l=0;l=0?l[E]():l[-E].unsubscribe(),w+=2}else n[w].call(l[n[w+1]]);null!==l&&(e[fo]=null);const g=e[lo];if(null!==g){e[lo]=null;for(let w=0;w-1){const{encapsulation:w}=t.data[l.directiveStart+g];if(w===mn.None||w===mn.Emulated)return null}return Aa(l,n)}}(t,e.parent,n)}function Zl(t,e,n,l,g){t.insertBefore(e,n,l,g)}function pb(t,e,n){t.appendChild(e,n)}function hb(t,e,n,l,g){null!==l?Zl(t,e,n,l,g):pb(t,e,n)}function Df(t,e){return t.parentNode(e)}function mp(t,e,n){return gb(t,e,n)}let wp,gb=function bp(t,e,n){return 40&t.type?Aa(t,n):null};function og(t,e,n,l){const g=eg(t,l,e),w=e[Yr],O=mp(l.parent||e[Xr],l,e);if(null!=g)if(Array.isArray(n))for(let U=0;Umo&&kb(t,e,mo,!1),Ys(E?2:0,g),n(l,g)}finally{Vc(w),Ys(E?3:1,g)}}function Tf(t,e,n){if(Ha(e)){const l=S(null);try{const w=e.directiveEnd;for(let E=e.directiveStart;Enull;function Tb(t,e,n,l,g){for(let w in e){if(!e.hasOwnProperty(w))continue;const E=e[w];if(void 0===E)continue;l??={};let O,U=Lo.None;Array.isArray(E)?(O=E[0],U=E[1]):O=E;let ot=w;if(null!==g){if(!g.hasOwnProperty(w))continue;ot=g[w]}0===t?Mb(l,n,ot,O,U):Mb(l,n,ot,O)}return l}function Mb(t,e,n,l,g){let w;t.hasOwnProperty(n)?(w=t[n]).push(e,l):w=t[n]=[e,l],void 0!==g&&w.push(g)}function Hs(t,e,n,l,g,w,E,O){const U=Aa(e,n);let xt,ot=e.inputs;!O&&null!=ot&&(xt=ot[l])?(Bf(t,n,xt,l,g),la(e)&&function B0(t,e){const n=vs(e,t);16&n[_r]||(n[_r]|=64)}(n,e.index)):3&e.type&&(l=function F0(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(l),g=null!=E?E(g,e.value||"",l):g,w.setProperty(U,l,g))}function Of(t,e,n,l){if(ad()){const g=null===l?null:{"":-1},w=function H0(t,e){const n=t.directiveRegistry;let l=null,g=null;if(n)for(let w=0;w0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(E)!=O&&E.push(O),E.push(n,l,w)}}(t,e,l,Su(t,n,g.hostVars,An),g)}function qc(t,e,n,l,g,w){const E=Aa(t,e);!function Nf(t,e,n,l,g,w,E){if(null==w)t.removeAttribute(e,g,n);else{const O=null==E?po(w):E(w,l||"",g);t.setAttribute(e,g,O,n)}}(e[Yr],E,w,t.value,n,l,g)}function Nb(t,e,n,l,g,w){const E=w[e];if(null!==E)for(let O=0;O0&&(n[g-1][Mr]=e),l{Al(t.lView)},consumerOnSignalRead(){this.lView[Rn]=this}},oy={...R,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=js(t.lView);for(;e&&!$b(e[nr]);)e=js(e);e&&Rd(e)},consumerOnSignalRead(){this.lView[Rn]=this}};function $b(t){return 2!==t.type}const ny=100;function hg(t,e=!0,n=0){const l=t[Io],g=l.rendererFactory;g.begin?.();try{!function iy(t,e){const n=zd();try{ju(!0),Ni(t,e);let l=0;for(;id(t);){if(l===ny)throw new We(103,!1);l++,Ni(t,1)}}finally{ju(n)}}(t,n)}catch(E){throw e&&ug(t,E),E}finally{g.end?.(),l.inlineEffectRunner?.flush()}}function ay(t,e,n,l){const g=e[_r];if(!(256&~g))return;e[Io].inlineEffectRunner?.flush(),Zp(e);let O=!0,U=null,ot=null;$b(t)?(ot=function q0(t){return t[Rn]??function J0(t){const e=$f.pop()??Object.create(ey);return e.lView=t,e}(t)}(e),U=tt(ot)):null===function I(){return s}()?(O=!1,ot=function ry(t){const e=t[Rn]??Object.create(oy);return e.lView=t,e}(e),U=tt(ot)):e[Rn]&&($t(e[Rn]),e[Rn]=null);try{Od(e),function Hd(t){return fn.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Eb(t,e,n,2,l);const xt=!(3&~g);if(xt){const Ge=t.preOrderCheckHooks;null!==Ge&&Ol(e,Ge,null)}else{const Ge=t.preOrderHooks;null!==Ge&&ll(e,Ge,0,null),zu(e,0)}if(function sy(t){for(let e=mu(t);null!==e;e=Ph(e)){if(!(e[_r]&Po.HasTransplantedViews))continue;const n=e[ba];for(let l=0;l-1&&(fp(e,l),ji(n,l))}this._attachedToViewContainer=!1}Jh(this._lView[nr],this._lView)}onDestroy(e){Nd(this._lView,e)}markForCheck(){kp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_r]&=-129}reattach(){Lu(this._lView),this._lView[_r]|=128}detectChanges(){this._lView[_r]|=1024,hg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new We(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=Ca(this._lView),n=this._lView[_n];null!==n&&!e&&Cf(n,this._lView),db(this._lView[nr],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new We(902,!1);this._appRef=e;const n=Ca(this._lView),l=this._lView[_n];null!==l&&!n&&Ef(l,this._lView),Lu(this._lView)}}let Cp=(()=>{class t{static{this.__NG_ELEMENT_ID__=g1}}return t})();const ly=Cp,jf=class extends ly{constructor(e,n,l){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=l}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,l){const g=Au(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:l});return new Ep(g)}};function g1(){return gg(Wn(),Rr())}function gg(t,e){return 4&t.type?new jf(e,t,Oc(t,e)):null}let D1=()=>null;function Ap(t,e){return D1(t,e)}class bg{}const Yf=new ro("",{providedIn:"root",factory:()=>!1}),S1=new ro(""),by=new ro("");class KE{}class A1{}class XE{resolveComponentFactory(e){throw function GE(t){const e=Error(`No component factory found for ${eo(t)}.`);return e.ngComponent=t,e}(e)}}class Zf{static{this.NULL=new XE}}class wy{}let YE=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function ZE(){const t=Rr(),n=vs(Wn().index,t);return(li(n)?n:t)[Yr]}()}}return t})(),QE=(()=>{class t{static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:()=>null})}}return t})();function Tu(t){return!!Vi(t)}function Xb(t,e,n){let l=n?t.styles:null,g=n?t.classes:null,w=0;if(null!==e)for(let E=0;E0&&Sf(t,n,w.join(" "))}}(Be,La,hr,l),void 0!==n&&function s5(t,e,n){const l=t.projection=[];for(let g=0;g{class t{static{this.__NG_ELEMENT_ID__=l5}}return t})();function l5(){return P1(Wn(),Rr())}const d5=Yb,N1=class extends d5{constructor(e,n,l){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=l}get element(){return Oc(this._hostTNode,this._hostLView)}get injector(){return new oa(this._hostTNode,this._hostLView)}get parentInjector(){const e=Zd(this._hostTNode,this._hostLView);if(ch(e)){const n=Rl(e,this._hostLView),l=pl(e);return new oa(n[nr].data[l+8],n)}return new oa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=L1(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-yi}createEmbeddedView(e,n,l){let g,w;"number"==typeof l?g=l:null!=l&&(g=l.index,w=l.injector);const E=Ap(this._lContainer,e.ssrId),O=e.createEmbeddedViewImpl(n||{},w,E);return this.insertImpl(O,g,Ad(this._hostTNode,E)),O}createComponent(e,n,l,g,w){const E=e&&!function F(t){return"function"==typeof t}(e);let O;if(E)O=n;else{const hr=n||{};O=hr.index,l=hr.injector,g=hr.projectableNodes,w=hr.environmentInjector||hr.ngModuleRef}const U=E?e:new Jf(cn(e)),ot=l||this.parentInjector;if(!w&&null==U.ngModule){const Hr=(E?ot:this.parentInjector).get(ai,null);Hr&&(w=Hr)}const xt=cn(U.componentType??{}),Jt=Ap(this._lContainer,xt?.id??null),Ge=U.create(ot,g,Jt?.firstChild??null,w);return this.insertImpl(Ge.hostView,O,Ad(this._hostTNode,Jt)),Ge}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,l){const g=e._lView;if(function Md(t){return Ii(t[Zr])}(g)){const O=this.indexOf(e);if(-1!==O)this.detach(O);else{const U=g[Zr],ot=new N1(U,U[Xr],U[Zr]);ot.detach(ot.indexOf(e))}}const w=this._adjustIndex(n),E=this._lContainer;return Td(E,g,w,l),e.attachToViewContainerRef(),ci(xy(E),w,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=L1(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),l=fp(this._lContainer,n);l&&(ji(xy(this._lContainer),n),Jh(l[nr],l))}detach(e){const n=this._adjustIndex(e,-1),l=fp(this._lContainer,n);return l&&null!=ji(xy(this._lContainer),n)?new Ep(l):null}_adjustIndex(e,n=0){return e??this.length+n}};function L1(t){return t[8]}function xy(t){return t[8]||(t[8]=[])}function P1(t,e){let n;const l=e[t.index];return Ii(l)?n=l:(n=Lf(l,e,null,t),e[t.index]=n,dg(e,n)),F1(n,e,t,l),new N1(n,t,e)}let F1=function U1(t,e,n,l){if(t[Bi])return;let g;g=8&n.type?Hn(l):function u5(t,e){const n=t[Yr],l=n.createComment(""),g=Aa(e,t);return Zl(n,Df(n,g),l,function T0(t,e){return t.nextSibling(e)}(n,g),!1),l}(e,n),t[Bi]=g},_y=()=>!1;class ky{constructor(e){this.queryList=e,this.matches=null}clone(){return new ky(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ey{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(null!==n){const l=null!==e.contentQueries?e.contentQueries[0]:n.length,g=[];for(let w=0;we.trim())}(e):e}}class Cy{constructor(e=[]){this.queries=e}elementStart(e,n){for(let l=0;l0)l.push(E[O/2]);else{const ot=w[O+1],xt=e[-U];for(let Jt=yi;Jt(L(e),e.value);return n[k]=e,n}(t),l=n[k];return e?.equal&&(l.equal=e.equal),n.set=g=>Ae(l,g),n.update=g=>function Rt(t,e){ct()||vr(),Ae(t,e(t.value))}(l,g),n.asReadonly=Y1.bind(n),n}function Y1(){const t=this[k];if(void 0===t.readonlyFn){const e=()=>this();e[k]=t,t.readonlyFn=e}return t.readonlyFn}function Z1(t){return My(t)&&"function"==typeof t.set}function Iy(t,e){let n;const l=Ct(()=>{n._dirtyCounter();const g=function x5(t,e){const n=t._lView,l=t._queryIndex;if(void 0===n||void 0===l||4&n[_r])return e?void 0:le;const g=Ay(n,l),w=K1(n,l);return g.reset(w,Ah),e?g.first:g._changesDetected||void 0===t._flatValue?t._flatValue=g.toArray():t._flatValue}(n,t);if(e&&void 0===g)throw new We(-951,!1);return g});return n=l[k],n._dirtyCounter=X1(0),n._flatValue=void 0,l}function ex(t,e){return function Q1(){return Iy(!0,!1)}()}const k5=(ex.required=function _5(t,e){return function q1(){return Iy(!0,!0)}()},ex);function Oy(t){let e=function cx(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const l=[t];for(;e;){let g;if(Ci(t))g=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new We(903,!1);g=e.\u0275dir}if(g){if(n){l.push(g);const E=t;E.inputs=Qb(t.inputs),E.inputTransforms=Qb(t.inputTransforms),E.declaredInputs=Qb(t.declaredInputs),E.outputs=Qb(t.outputs);const O=g.hostBindings;O&&P5(t,O);const U=g.viewQuery,ot=g.contentQueries;if(U&&N5(t,U),ot&&L5(t,ot),O5(t,g),Wr(t.outputs,g.outputs),Ci(g)&&g.data.animation){const xt=t.data;xt.animation=(xt.animation||[]).concat(g.data.animation)}}const w=g.features;if(w)for(let E=0;E=0;l--){const g=t[l];g.hostVars=e+=g.hostVars,g.hostAttrs=wi(g.hostAttrs,n=wi(n,g.hostAttrs))}}(l)}function O5(t,e){for(const n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;const l=e.inputs[n];if(void 0!==l&&(t.inputs[n]=l,t.declaredInputs[n]=e.declaredInputs[n],null!==e.inputTransforms)){const g=Array.isArray(l)?l[0]:l;if(!e.inputTransforms.hasOwnProperty(g))continue;t.inputTransforms??={},t.inputTransforms[g]=e.inputTransforms[g]}}}function Qb(t){return t===te?{}:t===le?[]:t}function N5(t,e){const n=t.viewQuery;t.viewQuery=n?(l,g)=>{e(l,g),n(l,g)}:e}function L5(t,e){const n=t.contentQueries;t.contentQueries=n?(l,g,w)=>{e(l,g,w),n(l,g,w)}:e}function P5(t,e){const n=t.hostBindings;t.hostBindings=n?(l,g)=>{e(l,g),n(l,g)}:e}function lx(t){const e=n=>{const l=(Array.isArray(t)?t:t()).map(g=>"function"==typeof g?{directive:qt(g),inputs:te,outputs:te}:{directive:qt(g.directive),inputs:ux(g.inputs),outputs:ux(g.outputs)});null===n.hostDirectives?(n.findHostDirectiveDefs=dx,n.hostDirectives=l):n.hostDirectives.unshift(...l)};return e.ngInherit=!0,e}function dx(t,e,n){if(null!==t.hostDirectives)for(const l of t.hostDirectives){const g=Fi(l.directive);$5(g.declaredInputs,l.inputs),dx(g,e,n),n.set(g,l),e.push(g)}}function ux(t){if(void 0===t||0===t.length)return te;const e={};for(let n=0;nn()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Ny extends gx{constructor(e){super(),this.moduleType=e}create(e){return new Ry(this.moduleType,e,[])}}class fx extends Tp{constructor(e){super(),this.componentFactoryResolver=new O1(this),this.instance=null;const n=new Gs([...e.providers,{provide:Tp,useValue:this},{provide:Zf,useValue:this.componentFactoryResolver}],e.parent||Ts(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function Ly(t,e,n=null){return new fx({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}function qb(t){return!!Py(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Py(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Jl(t,e,n){return t[e]=n}function em(t,e){return t[e]}function Oa(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Mp(t,e,n,l){const g=Oa(t,e,n);return Oa(t,e+1,l)||g}function el(t,e,n,l,g,w){const E=Mp(t,e,n,l);return Mp(t,e+2,g,w)||E}function rm(t,e,n,l,g,w,E,O,U,ot){const xt=n+mo,Jt=e.firstCreatePass?function G5(t,e,n,l,g,w,E,O,U){const ot=e.consts,xt=Sd(e,t,4,E||null,O||null);Of(e,n,xt,xs(ot,U)),Il(e,xt);const Jt=xt.tView=cg(2,xt,l,g,w,e.directiveRegistry,e.pipeRegistry,null,e.schemas,ot,null);return null!==e.queries&&(e.queries.template(e,xt),Jt.queries=e.queries.embeddedTView(xt)),xt}(xt,e,t,l,g,w,E,O,U):e.data[xt];Js(Jt,!1);const Be=mx(e,t,Jt,n);dd()&&og(e,t,Be,Jt),ya(Be,t);const Ge=Lf(Be,t,Be,Jt);return t[xt]=Ge,dg(t,Ge),function B1(t,e,n){return _y(t,e,n)}(Ge,Jt,t),jo(Jt)&&Mf(e,t,Jt),null!=U&&If(t,Jt,ot),Jt}function Fy(t,e,n,l,g,w,E,O){const U=Rr(),ot=Dn();return rm(U,ot,t,e,n,l,g,xs(ot.consts,w),E,O),Fy}let mx=function bx(t,e,n,l){return pc(!0),e[Yr].createComment("")};var Ip=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Ip||{});let kx=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:()=>new t})}}return t})();class im{constructor(){this.ngZone=zo(Ui),this.scheduler=zo(bg),this.errorHandler=zo(fc,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Ip.EarlyRead,Ip.Write,Ip.MixedReadWrite,Ip.Read]}execute(){this.executing=!0;for(const e of im.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[e])try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[e](n.pipelinedValue))}catch(l){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(l)}this.executing=!1;for(const e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(const e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static{this.\u0275prov=Fo({token:im,providedIn:"root",factory:()=>new im})}}class Q5{constructor(e,n,l,g){this.impl=e,this.hooks=n,this.once=l,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=g?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Ex(t,e){!e?.injector&&gn();const n=e?.injector??zo(Ka);return nc(n)?(Ws("NgAfterRender"),Cx(t,n,e,!1)):Dx}function ow(t,e){!e?.injector&&gn();const n=e?.injector??zo(Ka);return nc(n)?(Ws("NgAfterNextRender"),Cx(t,n,e,!0)):Dx}function Cx(t,e,n,l){const g=e.get(kx);g.impl??=e.get(im);const w=n?.phase??Ip.MixedReadWrite,E=!0!==n?.manualCleanup?e.get(su):null,O=new Q5(g.impl,function q5(t,e){if(t instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[e]=t,n}return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t,w),l,E);return g.impl.register(O),O}const Dx={destroy(){}};function Xy(t,e,n,l){const g=Rr();return Oa(g,uc(),e)&&(Dn(),qc(Ri(),g,t,e,n,l)),Xy}function Sg(t,e,n,l){return Oa(t,uc(),n)?e+po(n)+l:An}function Ag(t,e,n,l,g,w){const O=Mp(t,function Ac(){return fn.lFrame.bindingIndex}(),n,g);return Tc(2),O?e+po(n)+l+po(g)+w:An}function aw(t,e){return t<<17|e<<2}function Ou(t){return t>>17&32767}function Yy(t){return 2|t}function Rp(t){return(131068&t)>>2}function Zy(t,e){return-131069&t|e<<2}function Qy(t){return 1|t}function qx(t,e,n,l){const g=t[n+1],w=null===e;let E=l?Ou(g):Rp(g),O=!1;for(;0!==E&&(!1===O||w);){const ot=t[E+1];N3(t[E],e)&&(O=!0,t[E+1]=l?Qy(ot):Yy(ot)),E=l?Ou(ot):Rp(ot)}O&&(t[n+1]=l?Yy(g):Qy(g))}function N3(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&G(t,e)>=0}const cs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Jx(t){return t.substring(cs.key,cs.keyEnd)}function L3(t){return t.substring(cs.value,cs.valueEnd)}function t2(t,e){const n=cs.textEnd;return n===e?-1:(e=cs.keyEnd=function B3(t,e,n){for(;e32;)e++;return e}(t,cs.key=e,n),Lg(t,e,n))}function e2(t,e){const n=cs.textEnd;let l=cs.key=Lg(t,e,n);return n===l?-1:(l=cs.keyEnd=function U3(t,e,n){let l;for(;e=65&&(-33&l)<=90||l>=48&&l<=57);)e++;return e}(t,l,n),l=o2(t,l,n),l=cs.value=Lg(t,l,n),l=cs.valueEnd=function $3(t,e,n){let l=-1,g=-1,w=-1,E=e,O=E;for(;E32&&(O=E),w=g,g=l,l=-33&U}return O}(t,l,n),o2(t,l,n))}function r2(t){cs.key=0,cs.keyEnd=0,cs.value=0,cs.valueEnd=0,cs.textEnd=t.length}function Lg(t,e,n){for(;e=0;n=e2(e,n))l2(t,Jx(e),L3(e))}function a2(t){kl(G3,td,t,!0)}function td(t,e){for(let n=function P3(t){return r2(t),t2(t,Lg(t,0,cs.textEnd))}(e);n>=0;n=t2(e,n))_i(t,Jx(e),!0)}function _l(t,e,n,l){const g=Rr(),w=Dn(),E=Tc(2);w.firstUpdatePass&&c2(w,t,E,l),e!==An&&Oa(g,E,e)&&d2(w,w.data[wa()],g,g[Yr],t,g[E+1]=function Y3(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=eo(zs(t)))),t}(e,n),l,E)}function kl(t,e,n,l){const g=Dn(),w=Tc(2);g.firstUpdatePass&&c2(g,null,w,l);const E=Rr();if(n!==An&&Oa(E,w,n)){const O=g.data[wa()];if(p2(O,l)&&!s2(g,w)){let U=l?O.classesWithoutHost:O.stylesWithoutHost;null!==U&&(n=Uo(U,n||"")),Jy(g,O,E,n,l)}else!function X3(t,e,n,l,g,w,E,O){g===An&&(g=le);let U=0,ot=0,xt=0=t.expandoStartIndex}function c2(t,e,n,l){const g=t.data;if(null===g[n+1]){const w=g[wa()],E=s2(t,n);p2(w,l)&&null===e&&!E&&(e=!1),e=function V3(t,e,n,l){const g=Xp(t);let w=l?e.residualClasses:e.residualStyles;if(null===g)0===(l?e.classBindings:e.styleBindings)&&(n=sm(n=rv(null,t,e,n,l),e.attrs,l),w=null);else{const E=e.directiveStylingLast;if(-1===E||t[E]!==g)if(n=rv(g,t,e,n,l),null===w){let U=function z3(t,e,n){const l=n?e.classBindings:e.styleBindings;if(0!==Rp(l))return t[Ou(l)]}(t,e,l);void 0!==U&&Array.isArray(U)&&(U=rv(null,t,e,U[1],l),U=sm(U,e.attrs,l),function H3(t,e,n,l){t[Ou(n?e.classBindings:e.styleBindings)]=l}(t,e,l,U))}else w=function W3(t,e,n){let l;const g=e.directiveEnd;for(let w=1+e.directiveStylingLast;w0)&&(ot=!0)):xt=n,g)if(0!==U){const Be=Ou(t[O+1]);t[l+1]=aw(Be,O),0!==Be&&(t[Be+1]=Zy(t[Be+1],l)),t[O+1]=function M3(t,e){return 131071&t|e<<17}(t[O+1],l)}else t[l+1]=aw(O,0),0!==O&&(t[O+1]=Zy(t[O+1],l)),O=l;else t[l+1]=aw(U,0),0===O?O=l:t[U+1]=Zy(t[U+1],l),U=l;ot&&(t[l+1]=Yy(t[l+1])),qx(t,xt,l,!0),qx(t,xt,l,!1),function R3(t,e,n,l,g){const w=g?t.residualClasses:t.residualStyles;null!=w&&"string"==typeof e&&G(w,e)>=0&&(n[l+1]=Qy(n[l+1]))}(e,xt,t,l,w),E=aw(O,U),w?e.classBindings=E:e.styleBindings=E}(g,w,e,n,E,l)}}function rv(t,e,n,l,g){let w=null;const E=n.directiveEnd;let O=n.directiveStylingLast;for(-1===O?O=n.directiveStart:O++;O0;){const U=t[g],ot=Array.isArray(U),xt=ot?U[1]:U,Jt=null===xt;let Be=n[g+1];Be===An&&(Be=Jt?le:void 0);let Ge=Jt?ts(Be,l):xt===l?Be:void 0;if(ot&&!sw(Ge)&&(Ge=ts(U,l)),sw(Ge)&&(O=Ge,E))return O;const hr=t[g+1];g=E?Ou(hr):Rp(hr)}if(null!==e){let U=w?e.residualClasses:e.residualStyles;null!=U&&(O=ts(U,l))}return O}function sw(t){return void 0!==t}function p2(t,e){return!!(t.flags&(e?8:16))}function h2(t,e,n){kl(_i,td,Sg(Rr(),t,e,n),!0)}function g2(){return Rr()[qo][Vr]}class nC{destroy(e){}updateValue(e,n){}swap(e,n){const l=Math.min(e,n),g=Math.max(e,n),w=this.detach(g);if(g-l>1){const E=this.detach(l);this.attach(l,w),this.attach(g,E)}else this.attach(l,w)}move(e,n){this.attach(n,this.detach(e))}}function ov(t,e,n,l,g){return t===n&&Object.is(e,l)?1:Object.is(g(t,e),g(n,l))?-1:0}function nv(t,e,n,l){return!(void 0===e||!e.has(l)||(t.attach(n,e.get(l)),e.delete(l),0))}function f2(t,e,n,l,g){if(nv(t,e,l,n(l,g)))t.updateValue(l,g);else{const w=t.create(l,g);t.attach(l,w)}}function m2(t,e,n,l){const g=new Set;for(let w=e;w<=n;w++)g.add(l(w,t.at(w)));return g}class b2{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;const n=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let l=this.kvMap.get(e);void 0===this._vMap&&(this._vMap=new Map);const g=this._vMap;for(;g.has(l);)l=g.get(l);g.set(l,n)}else this.kvMap.set(e,n)}forEach(e){for(let[n,l]of this.kvMap)if(e(l,n),void 0!==this._vMap){const g=this._vMap;for(;g.has(l);)l=g.get(l),e(l,n)}}}function w2(t,e){Ws("NgControlFlow");const n=Rr(),l=uc(),g=n[l]!==An?n[l]:-1,w=-1!==g?cw(n,mo+g):void 0;if(Oa(n,l,t)){const O=S(null);try{if(void 0!==w&&Uf(w,0),-1!==t){const U=mo+t,ot=cw(n,U),xt=iv(n[nr],U),Jt=Ap(ot,xt.tView.ssrId);Td(ot,Au(n,xt,e,{dehydratedView:Jt}),0,Ad(xt,Jt))}}finally{S(O)}}else if(void 0!==w){const O=Bb(w,0);void 0!==O&&(O[Vr]=e)}}class aC{constructor(e,n,l){this.lContainer=e,this.$implicit=n,this.$index=l}get $count(){return this.lContainer.length-yi}}class lC{constructor(e,n,l){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=l}}function y2(t,e,n,l,g,w,E,O,U,ot,xt,Jt,Be){Ws("NgControlFlow");const Ge=Rr(),hr=Dn(),Hr=void 0!==U,go=Rr(),Mo=O?E.bind(go[qo][Vr]):E,$r=new lC(Hr,Mo);go[mo+t]=$r,rm(Ge,hr,t+1,e,n,l,g,xs(hr.consts,w)),Hr&&rm(Ge,hr,t+2,U,ot,xt,Jt,xs(hr.consts,Be))}class dC extends nC{constructor(e,n,l){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=l,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-yi}at(e){return this.getLView(e)[Vr].$implicit}attach(e,n){const l=n[Jr];this.needsIndexUpdate||=e!==this.length,Td(this.lContainer,n,e,Ad(this.templateTNode,l))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,function uC(t,e){return fp(t,e)}(this.lContainer,e)}create(e,n){const l=Ap(this.lContainer,this.templateTNode.tView.ssrId),g=Au(this.hostLView,this.templateTNode,new aC(this.lContainer,n,e),{dehydratedView:l});return this.operationsCounter?.recordCreate(),g}destroy(e){Jh(e[nr],e),this.operationsCounter?.recordDestroy()}updateValue(e,n){this.getLView(e)[Vr].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e{t.destroy(U)})}(U,t,w.trackByFn),U.updateIndexes(),w.hasEmptyBlock){const ot=uc(),xt=0===U.length;if(Oa(l,ot,xt)){const Jt=n+2,Be=cw(l,Jt);if(xt){const Ge=iv(g,Jt),hr=Ap(Be,Ge.tView.ssrId);Td(Be,Au(l,Ge,void 0,{dehydratedView:hr}),0,Ad(Ge,hr))}else Uf(Be,0)}}}finally{S(e)}}function cw(t,e){return t[e]}function iv(t,e){return Sc(t,e)}function lw(t,e,n,l){const g=Rr(),w=Dn(),E=mo+t,O=g[Yr],U=w.firstCreatePass?function hC(t,e,n,l,g,w){const E=e.consts,U=Sd(e,t,2,l,xs(E,g));return Of(e,n,U,xs(E,w)),null!==U.attrs&&Xb(U,U.attrs,!1),null!==U.mergedAttrs&&Xb(U,U.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,U),U}(E,w,g,e,n,l):w.data[E],ot=x2(w,g,U,O,e,t);g[E]=ot;const xt=jo(U);return Js(U,!0),xb(O,ot,U),!function yg(t){return!(32&~t.flags)}(U)&&dd()&&og(w,g,ot,U),0===function Vg(){return fn.lFrame.elementDepthCount}()&&ya(ot,g),function Pd(){fn.lFrame.elementDepthCount++}(),xt&&(Mf(w,g,U),Tf(w,U,g)),null!==l&&If(g,U),lw}function dw(){let t=Wn();$u()?jd():(t=t.parent,Js(t,!1));const e=t;(function Hp(t){return fn.skipHydrationRootTNode===t})(e)&&function Bd(){fn.skipHydrationRootTNode=null}(),function Fd(){fn.lFrame.elementDepthCount--}();const n=Dn();return n.firstCreatePass&&(Il(n,t),Ha(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function Gg(t){return!!(8&t.flags)}(e)&&Jy(n,e,Rr(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function ah(t){return!!(16&t.flags)}(e)&&Jy(n,e,Rr(),e.stylesWithoutHost,!1),dw}function av(t,e,n,l){return lw(t,e,n,l),dw(),av}let x2=(t,e,n,l,g,w)=>(pc(!0),gp(l,g,function rh(){return fn.lFrame.currentNamespace}()));function uw(t,e,n){const l=Rr(),g=Dn(),w=t+mo,E=g.firstCreatePass?function mC(t,e,n,l,g){const w=e.consts,E=xs(w,l),O=Sd(e,t,8,"ng-container",E);return null!==E&&Xb(O,E,!0),Of(e,n,O,xs(w,g)),null!==e.queries&&e.queries.elementStart(e,O),O}(w,g,l,e,n):g.data[w];Js(E,!0);const O=_2(g,l,E,t);return l[w]=O,dd()&&og(g,l,O,E),ya(O,l),jo(E)&&(Mf(g,l,E),Tf(g,E,l)),null!=n&&If(l,E),uw}function pw(){let t=Wn();const e=Dn();return $u()?jd():(t=t.parent,Js(t,!1)),e.firstCreatePass&&(Il(e,t),Ha(t)&&e.queries.elementEnd(t)),pw}function sv(t,e,n){return uw(t,e,n),pw(),sv}let _2=(t,e,n,l)=>(pc(!0),_f(e[Yr],""));function k2(){return Rr()}function cv(t,e,n){const l=Rr();return Oa(l,uc(),e)&&Hs(Dn(),Ri(),l,t,e,l[Yr],n,!0),cv}function lv(t,e,n){const l=Rr();if(Oa(l,uc(),e)){const w=Dn(),E=Ri();Hs(w,E,l,t,e,Ff(Xp(w.data),E,l),n,!0)}return lv}const Np=void 0;var vC=["en",[["a","p"],["AM","PM"],Np],[["AM","PM"],Np,Np],[["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"]],Np,[["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"]],Np,[["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}",Np,"{1} 'at' {0}",Np],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function yC(t){const n=Math.floor(Math.abs(t)),l=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===l?1:5}];let Pg={};function dv(t){const e=function xC(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=C2(e);if(n)return n;const l=e.split("-")[0];if(n=C2(l),n)return n;if("en"===l)return vC;throw new We(701,!1)}function E2(t){return dv(t)[Fg.PluralCase]}function C2(t){return t in Pg||(Pg[t]=ye.ng&&ye.ng.common&&ye.ng.common.locales&&ye.ng.common.locales[t]),Pg[t]}var Fg=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Fg||{});const hw="en-US";let D2=hw,H2=(t,e,n)=>{};function hv(t,e,n,l){const g=Rr(),w=Dn(),E=Wn();return fv(w,g,g[Yr],E,t,e,l),hv}function gv(t,e){const n=Wn(),l=Rr(),g=Dn();return fv(g,l,Ff(Xp(g.data),n,l),n,t,e),gv}function fv(t,e,n,l,g,w,E){const O=jo(l),ot=t.firstCreatePass&&Fb(t),xt=e[Vr],Jt=Pb(e);let Be=!0;if(3&l.type||E){const Hr=Aa(l,e),go=E?E(Hr):Hr,Mo=Jt.length,$r=E?di=>E(Hn(di[l.index])):l.index;let En=null;if(!E&&O&&(En=function l4(t,e,n,l){const g=t.cleanup;if(null!=g)for(let w=0;wU?O[U]:null}"string"==typeof E&&(w+=2)}return null}(t,e,g,l.index)),null!==En)(En.__ngLastListenerFn__||En).__ngNextListenerFn__=w,En.__ngLastListenerFn__=w,Be=!1;else{w=G2(l,e,xt,w),H2(Hr,g,w);const di=n.listen(go,g,w);Jt.push(w,di),ot&&ot.push(g,$r,Mo,Mo+1)}}else w=G2(l,e,xt,w);const Ge=l.outputs;let hr;if(Be&&null!==Ge&&(hr=Ge[g])){const Hr=hr.length;if(Hr)for(let go=0;go-1?vs(t.index,e):e,5);let O=K2(e,n,l,w),U=g.__ngNextListenerFn__;for(;U;)O=K2(e,n,U,w)&&O,U=U.__ngNextListenerFn__;return O}}function X2(t=1){return function Wd(t){return(fn.lFrame.contextLView=function _s(t,e){for(;t>0;)e=e[Cn],t--;return e}(t,fn.lFrame.contextLView))[Vr]}(t)}function d4(t,e){let n=null;const l=function je(t){const e=t.attrs;if(null!=e){const n=e.indexOf(5);if(!(1&n))return e[n+1]}return null}(t);for(let g=0;gn._dirtyCounter.update(l=>l+1))}(e,H1(t,n,l,g))}function d_(t=1){cd(Yp()+t)}function u_(t){return Sl(function tc(){return fn.lFrame.contextLView}(),mo+t)}function x_(t,e=""){const n=Rr(),l=Dn(),g=t+mo,w=l.firstCreatePass?Sd(l,g,1,e,null):l.data[g],E=__(l,n,w,e,t);n[g]=E,dd()&&og(l,n,E,w),Js(w,!1)}let __=(t,e,n,l,g)=>(pc(!0),function qh(t,e){return t.createText(e)}(e[Yr],l));function wv(t){return ww("",t,""),wv}function ww(t,e,n){const l=Rr(),g=Sg(l,t,e,n);return g!==An&&vl(l,wa(),g),ww}function yv(t,e,n,l,g){const w=Rr(),E=Ag(w,t,e,n,l,g);return E!==An&&vl(w,wa(),E),yv}function vv(t,e,n){Z1(e)&&(e=e());const l=Rr();return Oa(l,uc(),e)&&Hs(Dn(),Ri(),l,t,e,l[Yr],n,!1),vv}function M_(t,e){const n=Z1(t);return n&&t.set(e),n}function xv(t,e){const n=Rr(),l=Dn(),g=Wn();return fv(l,n,n[Yr],g,t,e),xv}function _v(t,e,n,l,g){if(t=qt(t),Array.isArray(t))for(let w=0;w>20;if(ka(t)||!t.multi){const Ge=new dl(ot,g,Du),hr=Ev(U,e,g?xt:xt+Be,Jt);-1===hr?(Qd(zc(O,E),w,U),kv(w,t,e.length),e.push(U),O.directiveStart++,O.directiveEnd++,g&&(O.providerIndexes+=1048576),n.push(Ge),E.push(Ge)):(n[hr]=Ge,E[hr]=Ge)}else{const Ge=Ev(U,e,xt+Be,Jt),hr=Ev(U,e,xt,xt+Be),go=hr>=0&&n[hr];if(g&&!go||!g&&!(Ge>=0&&n[Ge])){Qd(zc(O,E),w,U);const Mo=function T4(t,e,n,l,g){const w=new dl(t,n,Du);return w.multi=[],w.index=e,w.componentProviders=0,R_(w,g,l&&!n),w}(g?A4:S4,n.length,g,l,ot);!g&&go&&(n[hr].providerFactory=Mo),kv(w,t,e.length,0),e.push(U),O.directiveStart++,O.directiveEnd++,g&&(O.providerIndexes+=1048576),n.push(Mo),E.push(Mo)}else kv(w,t,Ge>-1?Ge:hr,R_(n[g?hr:Ge],ot,!g&&l));!g&&l&&go&&n[hr].componentProviders++}}}function kv(t,e,n,l){const g=ka(e),w=function nl(t){return!!t.useClass}(e);if(g||w){const U=(w?qt(e.useClass):e).prototype.ngOnDestroy;if(U){const ot=t.destroyHooks||(t.destroyHooks=[]);if(!g&&e.multi){const xt=ot.indexOf(n);-1===xt?ot.push(n,[l,U]):ot[xt+1].push(l,U)}else ot.push(n,U)}}}function R_(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Ev(t,e,n,l){for(let g=n;g{n.providersResolver=(l,g)=>function D4(t,e,n){const l=Dn();if(l.firstCreatePass){const g=Ci(t);_v(n,l.data,l.blueprint,g,!0),_v(e,l.data,l.blueprint,g,!1)}}(l,g?g(t):t,e)}}let M4=(()=>{class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const l=Fc(0,n.type),g=l.length>0?Ly([l],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,g)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=Fo({token:t,providedIn:"environment",factory:()=>new t(Ln(ai))})}}return t})();function L_(t){Ws("NgStandalone"),t.getStandaloneInjector=e=>e.get(M4).getOrCreateStandaloneInjector(t)}function B_(t,e,n){const l=ga()+t,g=Rr();return g[l]===An?Jl(g,l,n?e.call(n):e()):em(g,l)}function U_(t,e,n,l){return H_(Rr(),ga(),t,e,n,l)}function $_(t,e,n,l,g){return W_(Rr(),ga(),t,e,n,l,g)}function j_(t,e,n,l,g,w){return function K_(t,e,n,l,g,w,E,O){const U=e+n;return function Jb(t,e,n,l,g){const w=Mp(t,e,n,l);return Oa(t,e+2,g)||w}(t,U,g,w,E)?Jl(t,U+3,O?l.call(O,g,w,E):l(g,w,E)):hm(t,U+3)}(Rr(),ga(),t,e,n,l,g,w)}function V_(t,e,n,l,g,w,E){return function G_(t,e,n,l,g,w,E,O,U){const ot=e+n;return el(t,ot,g,w,E,O)?Jl(t,ot+4,U?l.call(U,g,w,E,O):l(g,w,E,O)):hm(t,ot+4)}(Rr(),ga(),t,e,n,l,g,w,E)}function z_(t,e,n,l,g,w,E,O,U,ot,xt){const Jt=ga()+t,Be=Rr(),Ge=el(Be,Jt,n,l,g,w);return el(Be,Jt+4,E,O,U,ot)||Ge?Jl(Be,Jt+8,xt?e.call(xt,n,l,g,w,E,O,U,ot):e(n,l,g,w,E,O,U,ot)):em(Be,Jt+8)}function hm(t,e){const n=t[e];return n===An?void 0:n}function H_(t,e,n,l,g,w){const E=e+n;return Oa(t,E,g)?Jl(t,E+1,w?l.call(w,g):l(g)):hm(t,E+1)}function W_(t,e,n,l,g,w,E){const O=e+n;return Mp(t,O,g,w)?Jl(t,O+2,E?l.call(E,g,w):l(g,w)):hm(t,O+2)}function Y_(t,e){const n=Dn();let l;const g=t+mo;n.firstCreatePass?(l=function B4(t,e){if(e)for(let n=e.length-1;n>=0;n--){const l=e[n];if(t===l.name)return l}}(e,n.pipeRegistry),n.data[g]=l,l.onDestroy&&(n.destroyHooks??=[]).push(g,l.onDestroy)):l=n.data[g];const w=l.factory||(l.factory=bi(l.type)),O=vi(Du);try{const U=gd(!1),ot=w();return gd(U),function bv(t,e,n,l){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=l}(n,Rr(),g,ot),ot}finally{vi(O)}}function Z_(t,e,n){const l=t+mo,g=Rr(),w=Sl(g,l);return gm(g,l)?H_(g,ga(),e,w.transform,n,w):w.transform(n)}function Q_(t,e,n,l){const g=t+mo,w=Rr(),E=Sl(w,g);return gm(w,g)?W_(w,ga(),e,E.transform,n,l,E):E.transform(n,l)}function gm(t,e){return t[nr].data[e].pure}function q_(t,e){return gg(t,e)}class fk{constructor(e){this.full=e;const n=e.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let mk=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();const xk=new ro(""),_k=new ro("");let Iv,N8=(()=>{class t{constructor(n,l,g){this._ngZone=n,this.registry=l,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Iv||(function L8(t){Iv=t}(g),g.addToWindow(l)),this._watchAngularEvents(),n.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:()=>{Ui.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(l=>!l.updateCb||!l.updateCb(n)||(clearTimeout(l.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,l,g){let w=-1;l&&l>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(E=>E.timeoutId!==w),n()},l)),this._callbacks.push({doneCb:n,timeoutId:w,updateCb:g})}whenStable(n,l,g){if(g&&!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(n,l,g),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,l,g){return[]}static{this.\u0275fac=function(l){return new(l||t)(Ln(Ui),Ln(kk),Ln(_k))}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac})}}return t})(),kk=(()=>{class t{constructor(){this._applications=new Map}registerApplication(n,l){this._applications.set(n,l)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,l=!0){return Iv?.findTestabilityInTree(this,n,l)??null}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();function Ov(t){return!!t&&"function"==typeof t.then}function Ek(t){return!!t&&"function"==typeof t.subscribe}const Ck=new ro("");let Dk=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,l)=>{this.resolve=n,this.reject=l}),this.appInits=zo(Ck,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const g of this.appInits){const w=g();if(Ov(w))n.push(w);else if(Ek(w)){const E=new Promise((O,U)=>{w.subscribe({complete:O,error:U})});n.push(E)}}const l=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{l()}).catch(g=>{this.reject(g)}),0===n.length&&l(),this.initialized=!0}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const kw=new ro("");let ed=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=zo(uu),this.afterRenderManager=zo(kx),this.zonelessEnabled=zo(Yf),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ie.B,this.afterTick=new ie.B,this.componentTypes=[],this.components=[],this.isStable=zo(Fl).hasPendingTasks.pipe((0,Wt.T)(n=>!n)),this._injector=zo(ai)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(l=>{n=this.isStable.subscribe({next:g=>{g&&l()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,l){const g=n instanceof A1;if(!this._injector.get(Dk).done)throw!g&&ta(n),new We(405,!1);let E;E=g?n:this._injector.get(Zf).resolveComponentFactory(n),this.componentTypes.push(E.componentType);const O=function P8(t){return t.isBoundToModule}(E)?void 0:this._injector.get(Tp),ot=E.create(Ka.NULL,[],l||E.selector,O),xt=ot.location.nativeElement,Jt=ot.injector.get(xk,null);return Jt?.registerApplication(xt),ot.onDestroy(()=>{this.detachView(ot.hostView),Ew(this.components,ot),Jt?.unregisterApplication(xt)}),this._loadComponent(ot),ot}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new We(101,!1);const n=S(null);try{this._runningTick=!0,this.synchronize()}catch(l){this.internalErrorHandler(l)}finally{this._runningTick=!1,S(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(wy,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let l=0;for(;0!==this.dirtyFlags&&l++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const l=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(l);for(let{_lView:g,notifyErrorHandler:w}of this._views)U8(g,w,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>id(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const l=n;this._views.push(l),l.attachToAppRef(this)}detachView(n){const l=n;Ew(this._views,l),l.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const l=this._injector.get(kw,[]);[...this._bootstrapListeners,...l].forEach(g=>g(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ew(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new We(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Ew(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function U8(t,e,n,l){(n||id(t))&&hg(t,e,n&&!l?0:1)}class $8{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}}let j8=(()=>{class t{compileModuleSync(n){return new Ny(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const l=this.compileModuleSync(n),w=oc(Vi(n).declarations).reduce((E,O)=>{const U=cn(O);return U&&E.push(new Jf(U)),E},[]);return new $8(l,w)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),H8=(()=>{class t{constructor(){this.zone=zo(Ui),this.changeDetectionScheduler=zo(bg),this.applicationRef=zo(ed)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Rv({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new Ui({...Nv(),scheduleInRootZone:n}),[{provide:Ui,useFactory:t},{provide:Br,multi:!0,useFactory:()=>{const l=zo(H8,{optional:!0});return()=>l.initialize()}},{provide:Br,multi:!0,useFactory:()=>{const l=zo(K8);return()=>{l.initialize()}}},!0===e?{provide:S1,useValue:!0}:[],{provide:by,useValue:n??xh}]}function Nv(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let K8=(()=>{class t{constructor(){this.subscription=new He.yU,this.initialized=!1,this.zone=zo(Ui),this.pendingTasks=zo(Fl)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ui.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ui.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),bm=(()=>{class t{constructor(){this.appRef=zo(ed),this.taskService=zo(Fl),this.ngZone=zo(Ui),this.zonelessEnabled=zo(Yf),this.disableScheduling=zo(S1,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new He.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Bl):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(zo(by,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof yd||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const l=this.useMicrotaskScheduler?gl:_h;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>l(()=>this.tick())):this.ngZone.runOutsideAngular(()=>l(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Bl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(l){throw this.taskService.remove(n),l}finally{this.cleanup()}this.useMicrotaskScheduler=!0,gl(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const Pv=new ro("",{providedIn:"root",factory:()=>zo(Pv,nn.Optional|nn.SkipSelf)||function G8(){return typeof $localize<"u"&&$localize.locale||hw}()}),X8=new ro("",{providedIn:"root",factory:()=>"USD"}),Dw=new ro("");function Sw(t){return!t.moduleRef}let Ru=null;function oD(){return!1}let $k=(()=>{class t{static{this.__NG_ELEMENT_ID__=nD}}return t})();function nD(t){return function iD(t,e,n){if(la(t)&&!n){const l=vs(t.index,e);return new Ep(l,l)}return 175&t.type?new Ep(e[qo],e):null}(Wn(),Rr(),!(16&~t))}class Hk{constructor(){}supports(e){return qb(e)}create(e){return new dD(e)}}const lD=(t,e)=>e;class dD{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||lD}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,l=this._removalsHead,g=0,w=null;for(;n||l;){const E=!l||n&&n.currentIndex{E=this._trackByFn(g,O),null!==n&&Object.is(n.trackById,E)?(l&&(n=this._verifyReinsertion(n,O,E,g)),Object.is(n.item,O)||this._addIdentityChange(n,O)):(n=this._mismatch(n,O,E,g),l=!0),n=n._next,g++}),this.length=g;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,l,g){let w;return null===e?w=this._itTail:(w=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,w,g)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(l,g))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,w,g)):e=this._addAfter(new uD(n,l),w,g),e}_verifyReinsertion(e,n,l,g){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null);return null!==w?e=this._reinsertAfter(w,e._prev,g):e.currentIndex!=g&&(e.currentIndex=g,this._addToMoves(e,g)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,l){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const g=e._prevRemoved,w=e._nextRemoved;return null===g?this._removalsHead=w:g._nextRemoved=w,null===w?this._removalsTail=g:w._prevRemoved=g,this._insertAfter(e,n,l),this._addToMoves(e,l),e}_moveAfter(e,n,l){return this._unlink(e),this._insertAfter(e,n,l),this._addToMoves(e,l),e}_addAfter(e,n,l){return this._insertAfter(e,n,l),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,l){const g=null===n?this._itHead:n._next;return e._next=g,e._prev=n,null===g?this._itTail=e:g._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new Wk),this._linkedRecords.put(e),e.currentIndex=l,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,l=e._next;return null===n?this._itHead=l:n._next=l,null===l?this._itTail=n:l._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Wk),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class uD{constructor(e,n){this.item=e,this.trackById=n,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 pD{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let l;for(l=this._head;null!==l;l=l._nextDup)if((null===n||n<=l.currentIndex)&&Object.is(l.trackById,e))return l;return null}remove(e){const n=e._prevDup,l=e._nextDup;return null===n?this._head=l:n._nextDup=l,null===l?this._tail=n:l._prevDup=n,null===this._head}}class Wk{constructor(){this.map=new Map}put(e){const n=e.trackById;let l=this.map.get(n);l||(l=new pD,this.map.set(n,l)),l.add(e)}get(e,n){const g=this.map.get(e);return g?g.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Kk(t,e,n){const l=t.previousIndex;if(null===l)return l;let g=0;return n&&l{if(n&&n.key===g)this._maybeAddToChanges(n,l),this._appendAfter=n,n=n._next;else{const w=this._getOrCreateRecordForKey(g,l);n=this._insertBeforeOrAppend(n,w)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let l=n;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){const l=e._prev;return n._next=e,n._prev=l,e._prev=n,l&&(l._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){const g=this._records.get(e);this._maybeAddToChanges(g,n);const w=g._prev,E=g._next;return w&&(w._next=E),E&&(E._prev=w),g._next=null,g._prev=null,g}const l=new gD(e);return this._records.set(e,l),l.currentValue=n,this._addToAdditions(l),l}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(l=>n(e[l],l))}}class gD{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Xk(){return new Vv([new Hk])}let Vv=(()=>{class t{static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:Xk})}constructor(n){this.factories=n}static create(n,l){if(null!=l){const g=l.factories.slice();n=n.concat(g)}return new t(n)}static extend(n){return{provide:t,useFactory:l=>t.create(n,l||Xk()),deps:[[t,new On,new hi]]}}find(n){const l=this.factories.find(g=>g.supports(n));if(null!=l)return l;throw new We(901,!1)}}return t})();function Yk(){return new zv([new Gk])}let zv=(()=>{class t{static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:Yk})}constructor(n){this.factories=n}static create(n,l){if(l){const g=l.factories.slice();n=n.concat(g)}return new t(n)}static extend(n){return{provide:t,useFactory:l=>t.create(n,l||Yk()),deps:[[t,new On,new hi]]}}find(n){const l=this.factories.find(g=>g.supports(n));if(l)return l;throw new We(901,!1)}}return t})();function AD(t){try{const{rootComponent:e,appProviders:n,platformProviders:l}=t,g=function rD(t=[]){if(Ru)return Ru;const e=function Fk(t=[],e){return Ka.create({name:e,providers:[{provide:ki,useValue:"platform"},{provide:Dw,useValue:new Set([()=>Ru=null])},...t]})}(t);return Ru=e,function Sk(){!function Gr(t){gr=t}(()=>{throw new We(600,!1)})}(),function Bk(t){t.get(Vo,null)?.forEach(n=>n())}(e),e}(l),w=[Rv({}),{provide:bg,useExisting:bm},...n||[]];return function Nk(t){const e=Sw(t)?t.r3Injector:t.moduleRef.injector,n=e.get(Ui);return n.run(()=>{Sw(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const l=e.get(fc,null);let g;if(n.runOutsideAngular(()=>{g=n.onError.subscribe({next:w=>{l.handleError(w)}})}),Sw(t)){const w=()=>e.destroy(),E=t.platformInjector.get(Dw);E.add(w),e.onDestroy(()=>{g.unsubscribe(),E.delete(w)})}else{const w=()=>t.moduleRef.destroy(),E=t.platformInjector.get(Dw);E.add(w),t.moduleRef.onDestroy(()=>{Ew(t.allPlatformModules,t.moduleRef),g.unsubscribe(),E.delete(w)})}return function B8(t,e,n){try{const l=n();return Ov(l)?l.catch(g=>{throw e.runOutsideAngular(()=>t.handleError(g)),g}):l}catch(l){throw e.runOutsideAngular(()=>t.handleError(l)),l}}(l,n,()=>{const w=e.get(Dk);return w.runInitializers(),w.donePromise.then(()=>{if(function CC(t){"string"==typeof t&&(D2=t.toLowerCase().replace(/_/g,"-"))}(e.get(Pv,hw)||hw),Sw(t)){const O=e.get(ed);return void 0!==t.rootComponent&&O.bootstrap(t.rootComponent),O}return function J8(t,e){const n=t.injector.get(ed);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(l=>n.bootstrap(l));else{if(!t.instance.ngDoBootstrap)throw new We(-403,!1);t.instance.ngDoBootstrap(n)}e.push(t)}(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}({r3Injector:new fx({providers:w,parent:g,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:g,rootComponent:e})}catch(e){return Promise.reject(e)}}function XD(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function YD(t,e=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?e:Number(t)}function QD(t,e){Ws("NgSignals");const n=Ct(t);return e?.equal&&(n[k].equal=e.equal),n}function qD(t){const e=S(null);try{return t()}finally{S(e)}}const JD=new ro("",{providedIn:"root",factory:()=>zo(tS)});let tS=(()=>{class t{static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:()=>new eS})}}return t})();class eS{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=zo(Fl),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(e){const n=e.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const l=this.queues.get(n);l.has(e)||(this.queuedEffectCount++,l.add(e))}flush(){for(;this.queuedEffectCount>0;)for(const[e,n]of this.queues)null===e?this.flushQueue(n):e.run(()=>this.flushQueue(n))}flushQueue(e){for(const n of e)e.delete(n),this.queuedEffectCount--,n.run()}}class rS{constructor(e,n,l,g,w,E){this.scheduler=e,this.effectFn=n,this.creationZone=l,this.injector=w,this.watcher=function Ye(t,e,n){const l=Object.create(pe);n&&(l.consumerAllowSignalWrites=!0),l.fn=t,l.schedule=e;const g=U=>{l.cleanupFn=U};return l.ref={notify:()=>ht(l),run:()=>{if(null===l.fn)return;if(function T(){return c}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(l.dirty=!1,l.hasRun&&!Mt(l))return;l.hasRun=!0;const U=tt(l);try{l.cleanupFn(),l.cleanupFn=ft,l.fn(g)}finally{_t(l,U)}},cleanup:()=>l.cleanupFn(),destroy:()=>function E(U){(function w(U){return null===U.fn&&null===U.schedule})(U)||($t(U),U.cleanupFn(),U.fn=null,U.schedule=null,U.cleanupFn=ft)}(l),[k]:l},l.ref}(O=>this.runEffect(O),()=>this.schedule(),E),this.unregisterOnDestroy=g?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(n){this.injector.get(fc,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function wE(t,e){Ws("NgSignals"),!e?.injector&&gn();const n=e?.injector??zo(Ka),l=!0!==e?.manualCleanup?n.get(su):null,g=new rS(n.get(JD),t,typeof Zone>"u"?null:Zone.current,l,n,e?.allowSignalWrites??!1),w=n.get($k,null,{optional:!0});return w&&8&w._lView[_r]?(w._lView[vn]??=[]).push(g.watcher.notify):g.watcher.notify(),g}function oS(t){const e=cn(t);if(!e)return null;const n=new Jf(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}},9417:(i,a,r)=>{"use strict";r.d(a,{BC:()=>Fe,JD:()=>ii,Q0:()=>ds,X1:()=>Gi,YN:()=>zn,YS:()=>_i,cV:()=>Nr,cb:()=>We,cz:()=>_t,hs:()=>xo,j4:()=>pa,k0:()=>At,kq:()=>M,l_:()=>fi,me:()=>ct,ok:()=>wi,qT:()=>Tn,vO:()=>ie,vS:()=>Pa,xq:()=>ts,ze:()=>ri});var o=r(4438),s=r(177),c=r(6648),y=r(7468),k=r(1413),S=r(6354);let I=(()=>{class st{constructor(X,Bt){this._renderer=X,this._elementRef=Bt,this.onChange=je=>{},this.onTouched=()=>{}}setProperty(X,Bt){this._renderer.setProperty(this._elementRef.nativeElement,X,Bt)}registerOnTouched(X){this.onTouched=X}registerOnChange(X){this.onChange=X}setDisabledState(X){this.setProperty("disabled",X)}static{this.\u0275fac=function(Bt){return new(Bt||st)(o.rXU(o.sFG),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:st})}}return st})(),T=(()=>{class st extends I{static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275dir=o.FsC({type:st,features:[o.Vt3]})}}return st})();const M=new o.nKC(""),J={provide:M,useExisting:(0,o.Rfq)(()=>ct),multi:!0},q=new o.nKC("");let ct=(()=>{class st extends I{constructor(X,Bt,je){super(X,Bt),this._compositionMode=je,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function W(){const st=(0,s.QT)()?(0,s.QT)().getUserAgent():"";return/android (\d+)/.test(st.toLowerCase())}())}writeValue(X){this.setProperty("value",X??"")}_handleInput(X){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(X)}_compositionStart(){this._composing=!0}_compositionEnd(X){this._composing=!1,this._compositionMode&&this.onChange(X)}static{this.\u0275fac=function(Bt){return new(Bt||st)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(q,8))}}static{this.\u0275dir=o.FsC({type:st,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(Bt,je){1&Bt&&o.bIt("input",function(hn){return je._handleInput(hn.target.value)})("blur",function(){return je.onTouched()})("compositionstart",function(){return je._compositionStart()})("compositionend",function(hn){return je._compositionEnd(hn.target.value)})},features:[o.Jv_([J]),o.Vt3]})}}return st})();function ht(st){return null==st||("string"==typeof st||Array.isArray(st))&&0===st.length}function tt(st){return null!=st&&"number"==typeof st.length}const _t=new o.nKC(""),Mt=new o.nKC(""),$t=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class At{static min(bt){return function kt(st){return bt=>{if(ht(bt.value)||ht(st))return null;const X=parseFloat(bt.value);return!isNaN(X)&&X{if(ht(bt.value)||ht(st))return null;const X=parseFloat(bt.value);return!isNaN(X)&&X>st?{max:{max:st,actual:bt.value}}:null}}(bt)}static required(bt){return at(bt)}static requiredTrue(bt){return rt(bt)}static email(bt){return function yt(st){return ht(st.value)||$t.test(st.value)?null:{email:!0}}(bt)}static minLength(bt){return function Ct(st){return bt=>ht(bt.value)||!tt(bt.value)?null:bt.value.lengthtt(bt.value)&&bt.value.length>st?{maxlength:{requiredLength:st,actualLength:bt.value.length}}:null}(bt)}static pattern(bt){return function Xt(st){if(!st)return oe;let bt,X;return"string"==typeof st?(X="","^"!==st.charAt(0)&&(X+="^"),X+=st,"$"!==st.charAt(st.length-1)&&(X+="$"),bt=new RegExp(X)):(X=st.toString(),bt=st),Bt=>{if(ht(Bt.value))return null;const je=Bt.value;return bt.test(je)?null:{pattern:{requiredPattern:X,actualValue:je}}}}(bt)}static nullValidator(bt){return null}static compose(bt){return Le(bt)}static composeAsync(bt){return Nt(bt)}}function at(st){return ht(st.value)?{required:!0}:null}function rt(st){return!0===st.value?null:{required:!0}}function oe(st){return null}function Xe(st){return null!=st}function kr(st){return(0,o.jNT)(st)?(0,c.H)(st):st}function gr(st){let bt={};return st.forEach(X=>{bt=null!=X?{...bt,...X}:bt}),0===Object.keys(bt).length?null:bt}function vr(st,bt){return bt.map(X=>X(st))}function xe(st){return st.map(bt=>function Gr(st){return!st.validate}(bt)?bt:X=>bt.validate(X))}function Le(st){if(!st)return null;const bt=st.filter(Xe);return 0==bt.length?null:function(X){return gr(vr(X,bt))}}function gt(st){return null!=st?Le(xe(st)):null}function Nt(st){if(!st)return null;const bt=st.filter(Xe);return 0==bt.length?null:function(X){const Bt=vr(X,bt).map(kr);return(0,y.p)(Bt).pipe((0,S.T)(gr))}}function Ae(st){return null!=st?Nt(xe(st)):null}function Rt(st,bt){return null===st?[bt]:Array.isArray(st)?[...st,bt]:[st,bt]}function de(st){return st._rawValidators}function jt(st){return st._rawAsyncValidators}function De(st){return st?Array.isArray(st)?st:[st]:[]}function Ye(st,bt){return Array.isArray(st)?st.includes(bt):st===bt}function ft(st,bt){const X=De(bt);return De(st).forEach(je=>{Ye(X,je)||X.push(je)}),X}function pe(st,bt){return De(bt).filter(X=>!Ye(st,X))}class Ut{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(bt){this._rawValidators=bt||[],this._composedValidatorFn=gt(this._rawValidators)}_setAsyncValidators(bt){this._rawAsyncValidators=bt||[],this._composedAsyncValidatorFn=Ae(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(bt){this._onDestroyCallbacks.push(bt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(bt=>bt()),this._onDestroyCallbacks=[]}reset(bt=void 0){this.control&&this.control.reset(bt)}hasError(bt,X){return!!this.control&&this.control.hasError(bt,X)}getError(bt,X){return this.control?this.control.getError(bt,X):null}}class Ee extends Ut{get formDirective(){return null}get path(){return null}}class ie extends Ut{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class He{constructor(bt){this._cd=bt}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Fe=(()=>{class st extends He{constructor(X){super(X)}static{this.\u0275fac=function(Bt){return new(Bt||st)(o.rXU(ie,2))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Bt,je){2&Bt&&o.AVh("ng-untouched",je.isUntouched)("ng-touched",je.isTouched)("ng-pristine",je.isPristine)("ng-dirty",je.isDirty)("ng-valid",je.isValid)("ng-invalid",je.isInvalid)("ng-pending",je.isPending)},features:[o.Vt3]})}}return st})(),We=(()=>{class st extends He{constructor(X){super(X)}static{this.\u0275fac=function(Bt){return new(Bt||st)(o.rXU(Ee,10))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Bt,je){2&Bt&&o.AVh("ng-untouched",je.isUntouched)("ng-touched",je.isTouched)("ng-pristine",je.isPristine)("ng-dirty",je.isDirty)("ng-valid",je.isValid)("ng-invalid",je.isInvalid)("ng-pending",je.isPending)("ng-submitted",je.isSubmitted)},features:[o.Vt3]})}}return st})();const Wr="VALID",eo="INVALID",Uo="PENDING",fr="DISABLED";class Pr{}class re extends Pr{constructor(bt,X){super(),this.value=bt,this.source=X}}class qt extends Pr{constructor(bt,X){super(),this.pristine=bt,this.source=X}}class Pt extends Pr{constructor(bt,X){super(),this.touched=bt,this.source=X}}class ue extends Pr{constructor(bt,X){super(),this.status=bt,this.source=X}}class mr extends Pr{constructor(bt){super(),this.source=bt}}class Qr extends Pr{constructor(bt){super(),this.source=bt}}function Ro(st){return(_e(st)?st.validators:st)||null}function tr(st,bt){return(_e(bt)?bt.asyncValidators:st)||null}function _e(st){return null!=st&&!Array.isArray(st)&&"object"==typeof st}function qe(st,bt,X){const Bt=st.controls;if(!(bt?Object.keys(Bt):Bt).length)throw new o.wOt(1e3,"");if(!Bt[X])throw new o.wOt(1001,"")}function ke(st,bt,X){st._forEachChild((Bt,je)=>{if(void 0===X[je])throw new o.wOt(1002,"")})}class me{constructor(bt,X){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,o.EWP)(()=>this.statusReactive()),this.statusReactive=(0,o.vPA)(void 0),this._pristine=(0,o.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,o.vPA)(!0),this._touched=(0,o.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,o.vPA)(!1),this._events=new k.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(bt),this._assignAsyncValidators(X)}get validator(){return this._composedValidatorFn}set validator(bt){this._rawValidators=this._composedValidatorFn=bt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(bt){this._rawAsyncValidators=this._composedAsyncValidatorFn=bt}get parent(){return this._parent}get status(){return(0,o.O8t)(this.statusReactive)}set status(bt){(0,o.O8t)(()=>this.statusReactive.set(bt))}get valid(){return this.status===Wr}get invalid(){return this.status===eo}get pending(){return this.status==Uo}get disabled(){return this.status===fr}get enabled(){return this.status!==fr}get pristine(){return(0,o.O8t)(this.pristineReactive)}set pristine(bt){(0,o.O8t)(()=>this.pristineReactive.set(bt))}get dirty(){return!this.pristine}get touched(){return(0,o.O8t)(this.touchedReactive)}set touched(bt){(0,o.O8t)(()=>this.touchedReactive.set(bt))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(bt){this._assignValidators(bt)}setAsyncValidators(bt){this._assignAsyncValidators(bt)}addValidators(bt){this.setValidators(ft(bt,this._rawValidators))}addAsyncValidators(bt){this.setAsyncValidators(ft(bt,this._rawAsyncValidators))}removeValidators(bt){this.setValidators(pe(bt,this._rawValidators))}removeAsyncValidators(bt){this.setAsyncValidators(pe(bt,this._rawAsyncValidators))}hasValidator(bt){return Ye(this._rawValidators,bt)}hasAsyncValidator(bt){return Ye(this._rawAsyncValidators,bt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(bt={}){const X=!1===this.touched;this.touched=!0;const Bt=bt.sourceControl??this;this._parent&&!bt.onlySelf&&this._parent.markAsTouched({...bt,sourceControl:Bt}),X&&!1!==bt.emitEvent&&this._events.next(new Pt(!0,Bt))}markAllAsTouched(bt={}){this.markAsTouched({onlySelf:!0,emitEvent:bt.emitEvent,sourceControl:this}),this._forEachChild(X=>X.markAllAsTouched(bt))}markAsUntouched(bt={}){const X=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Bt=bt.sourceControl??this;this._forEachChild(je=>{je.markAsUntouched({onlySelf:!0,emitEvent:bt.emitEvent,sourceControl:Bt})}),this._parent&&!bt.onlySelf&&this._parent._updateTouched(bt,Bt),X&&!1!==bt.emitEvent&&this._events.next(new Pt(!1,Bt))}markAsDirty(bt={}){const X=!0===this.pristine;this.pristine=!1;const Bt=bt.sourceControl??this;this._parent&&!bt.onlySelf&&this._parent.markAsDirty({...bt,sourceControl:Bt}),X&&!1!==bt.emitEvent&&this._events.next(new qt(!1,Bt))}markAsPristine(bt={}){const X=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Bt=bt.sourceControl??this;this._forEachChild(je=>{je.markAsPristine({onlySelf:!0,emitEvent:bt.emitEvent})}),this._parent&&!bt.onlySelf&&this._parent._updatePristine(bt,Bt),X&&!1!==bt.emitEvent&&this._events.next(new qt(!0,Bt))}markAsPending(bt={}){this.status=Uo;const X=bt.sourceControl??this;!1!==bt.emitEvent&&(this._events.next(new ue(this.status,X)),this.statusChanges.emit(this.status)),this._parent&&!bt.onlySelf&&this._parent.markAsPending({...bt,sourceControl:X})}disable(bt={}){const X=this._parentMarkedDirty(bt.onlySelf);this.status=fr,this.errors=null,this._forEachChild(je=>{je.disable({...bt,onlySelf:!0})}),this._updateValue();const Bt=bt.sourceControl??this;!1!==bt.emitEvent&&(this._events.next(new re(this.value,Bt)),this._events.next(new ue(this.status,Bt)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...bt,skipPristineCheck:X},this),this._onDisabledChange.forEach(je=>je(!0))}enable(bt={}){const X=this._parentMarkedDirty(bt.onlySelf);this.status=Wr,this._forEachChild(Bt=>{Bt.enable({...bt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:bt.emitEvent}),this._updateAncestors({...bt,skipPristineCheck:X},this),this._onDisabledChange.forEach(Bt=>Bt(!1))}_updateAncestors(bt,X){this._parent&&!bt.onlySelf&&(this._parent.updateValueAndValidity(bt),bt.skipPristineCheck||this._parent._updatePristine({},X),this._parent._updateTouched({},X))}setParent(bt){this._parent=bt}getRawValue(){return this.value}updateValueAndValidity(bt={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Bt=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wr||this.status===Uo)&&this._runAsyncValidator(Bt,bt.emitEvent)}const X=bt.sourceControl??this;!1!==bt.emitEvent&&(this._events.next(new re(this.value,X)),this._events.next(new ue(this.status,X)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!bt.onlySelf&&this._parent.updateValueAndValidity({...bt,sourceControl:X})}_updateTreeValidity(bt={emitEvent:!0}){this._forEachChild(X=>X._updateTreeValidity(bt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:bt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fr:Wr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(bt,X){if(this.asyncValidator){this.status=Uo,this._hasOwnPendingAsyncValidator={emitEvent:!1!==X};const Bt=kr(this.asyncValidator(this));this._asyncValidationSubscription=Bt.subscribe(je=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(je,{emitEvent:X,shouldHaveEmitted:bt})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const bt=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,bt}return!1}setErrors(bt,X={}){this.errors=bt,this._updateControlsErrors(!1!==X.emitEvent,this,X.shouldHaveEmitted)}get(bt){let X=bt;return null==X||(Array.isArray(X)||(X=X.split(".")),0===X.length)?null:X.reduce((Bt,je)=>Bt&&Bt._find(je),this)}getError(bt,X){const Bt=X?this.get(X):this;return Bt&&Bt.errors?Bt.errors[bt]:null}hasError(bt,X){return!!this.getError(bt,X)}get root(){let bt=this;for(;bt._parent;)bt=bt._parent;return bt}_updateControlsErrors(bt,X,Bt){this.status=this._calculateStatus(),bt&&this.statusChanges.emit(this.status),(bt||Bt)&&this._events.next(new ue(this.status,X)),this._parent&&this._parent._updateControlsErrors(bt,X,Bt)}_initObservables(){this.valueChanges=new o.bkB,this.statusChanges=new o.bkB}_calculateStatus(){return this._allControlsDisabled()?fr:this.errors?eo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Uo)?Uo:this._anyControlsHaveStatus(eo)?eo:Wr}_anyControlsHaveStatus(bt){return this._anyControls(X=>X.status===bt)}_anyControlsDirty(){return this._anyControls(bt=>bt.dirty)}_anyControlsTouched(){return this._anyControls(bt=>bt.touched)}_updatePristine(bt,X){const Bt=!this._anyControlsDirty(),je=this.pristine!==Bt;this.pristine=Bt,this._parent&&!bt.onlySelf&&this._parent._updatePristine(bt,X),je&&this._events.next(new qt(this.pristine,X))}_updateTouched(bt={},X){this.touched=this._anyControlsTouched(),this._events.next(new Pt(this.touched,X)),this._parent&&!bt.onlySelf&&this._parent._updateTouched(bt,X)}_registerOnCollectionChange(bt){this._onCollectionChange=bt}_setUpdateStrategy(bt){_e(bt)&&null!=bt.updateOn&&(this._updateOn=bt.updateOn)}_parentMarkedDirty(bt){return!bt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(bt){return null}_assignValidators(bt){this._rawValidators=Array.isArray(bt)?bt.slice():bt,this._composedValidatorFn=function Ko(st){return Array.isArray(st)?gt(st):st||null}(this._rawValidators)}_assignAsyncValidators(bt){this._rawAsyncValidators=Array.isArray(bt)?bt.slice():bt,this._composedAsyncValidatorFn=function $e(st){return Array.isArray(st)?Ae(st):st||null}(this._rawAsyncValidators)}}class Yt extends me{constructor(bt,X,Bt){super(Ro(X),tr(Bt,X)),this.controls=bt,this._initObservables(),this._setUpdateStrategy(X),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(bt,X){return this.controls[bt]?this.controls[bt]:(this.controls[bt]=X,X.setParent(this),X._registerOnCollectionChange(this._onCollectionChange),X)}addControl(bt,X,Bt={}){this.registerControl(bt,X),this.updateValueAndValidity({emitEvent:Bt.emitEvent}),this._onCollectionChange()}removeControl(bt,X={}){this.controls[bt]&&this.controls[bt]._registerOnCollectionChange(()=>{}),delete this.controls[bt],this.updateValueAndValidity({emitEvent:X.emitEvent}),this._onCollectionChange()}setControl(bt,X,Bt={}){this.controls[bt]&&this.controls[bt]._registerOnCollectionChange(()=>{}),delete this.controls[bt],X&&this.registerControl(bt,X),this.updateValueAndValidity({emitEvent:Bt.emitEvent}),this._onCollectionChange()}contains(bt){return this.controls.hasOwnProperty(bt)&&this.controls[bt].enabled}setValue(bt,X={}){ke(this,0,bt),Object.keys(bt).forEach(Bt=>{qe(this,!0,Bt),this.controls[Bt].setValue(bt[Bt],{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X)}patchValue(bt,X={}){null!=bt&&(Object.keys(bt).forEach(Bt=>{const je=this.controls[Bt];je&&je.patchValue(bt[Bt],{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X))}reset(bt={},X={}){this._forEachChild((Bt,je)=>{Bt.reset(bt?bt[je]:null,{onlySelf:!0,emitEvent:X.emitEvent})}),this._updatePristine(X,this),this._updateTouched(X,this),this.updateValueAndValidity(X)}getRawValue(){return this._reduceChildren({},(bt,X,Bt)=>(bt[Bt]=X.getRawValue(),bt))}_syncPendingControls(){let bt=this._reduceChildren(!1,(X,Bt)=>!!Bt._syncPendingControls()||X);return bt&&this.updateValueAndValidity({onlySelf:!0}),bt}_forEachChild(bt){Object.keys(this.controls).forEach(X=>{const Bt=this.controls[X];Bt&&bt(Bt,X)})}_setUpControls(){this._forEachChild(bt=>{bt.setParent(this),bt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(bt){for(const[X,Bt]of Object.entries(this.controls))if(this.contains(X)&&bt(Bt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(X,Bt,je)=>((Bt.enabled||this.disabled)&&(X[je]=Bt.value),X))}_reduceChildren(bt,X){let Bt=bt;return this._forEachChild((je,No)=>{Bt=X(Bt,je,No)}),Bt}_allControlsDisabled(){for(const bt of Object.keys(this.controls))if(this.controls[bt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(bt){return this.controls.hasOwnProperty(bt)?this.controls[bt]:null}}class Eo extends Yt{}const Yn=new o.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Yo}),Yo="always";function ni(st,bt){return[...bt.path,st]}function Fo(st,bt,X=Yo){Ke(st,bt),bt.valueAccessor.writeValue(st.value),(st.disabled||"always"===X)&&bt.valueAccessor.setDisabledState?.(st.disabled),function Lr(st,bt){bt.valueAccessor.registerOnChange(X=>{st._pendingValue=X,st._pendingChange=!0,st._pendingDirty=!0,"change"===st.updateOn&&ao(st,bt)})}(st,bt),function no(st,bt){const X=(Bt,je)=>{bt.valueAccessor.writeValue(Bt),je&&bt.viewToModelUpdate(Bt)};st.registerOnChange(X),bt._registerOnDestroy(()=>{st._unregisterOnChange(X)})}(st,bt),function Ur(st,bt){bt.valueAccessor.registerOnTouched(()=>{st._pendingTouched=!0,"blur"===st.updateOn&&st._pendingChange&&ao(st,bt),"submit"!==st.updateOn&&st.markAsTouched()})}(st,bt),function Oe(st,bt){if(bt.valueAccessor.setDisabledState){const X=Bt=>{bt.valueAccessor.setDisabledState(Bt)};st.registerOnDisabledChange(X),bt._registerOnDestroy(()=>{st._unregisterOnDisabledChange(X)})}}(st,bt)}function pi(st,bt,X=!0){const Bt=()=>{};bt.valueAccessor&&(bt.valueAccessor.registerOnChange(Bt),bt.valueAccessor.registerOnTouched(Bt)),Dr(st,bt),st&&(bt._invokeOnDestroyCallbacks(),st._registerOnCollectionChange(()=>{}))}function ei(st,bt){st.forEach(X=>{X.registerOnValidatorChange&&X.registerOnValidatorChange(bt)})}function Ke(st,bt){const X=de(st);null!==bt.validator?st.setValidators(Rt(X,bt.validator)):"function"==typeof X&&st.setValidators([X]);const Bt=jt(st);null!==bt.asyncValidator?st.setAsyncValidators(Rt(Bt,bt.asyncValidator)):"function"==typeof Bt&&st.setAsyncValidators([Bt]);const je=()=>st.updateValueAndValidity();ei(bt._rawValidators,je),ei(bt._rawAsyncValidators,je)}function Dr(st,bt){let X=!1;if(null!==st){if(null!==bt.validator){const je=de(st);if(Array.isArray(je)&&je.length>0){const No=je.filter(hn=>hn!==bt.validator);No.length!==je.length&&(X=!0,st.setValidators(No))}}if(null!==bt.asyncValidator){const je=jt(st);if(Array.isArray(je)&&je.length>0){const No=je.filter(hn=>hn!==bt.asyncValidator);No.length!==je.length&&(X=!0,st.setAsyncValidators(No))}}}const Bt=()=>{};return ei(bt._rawValidators,Bt),ei(bt._rawAsyncValidators,Bt),X}function ao(st,bt){st._pendingDirty&&st.markAsDirty(),st.setValue(st._pendingValue,{emitModelToViewChange:!1}),bt.viewToModelUpdate(st._pendingValue),st._pendingChange=!1}function vo(st,bt){Ke(st,bt)}function Gt(st,bt){if(!st.hasOwnProperty("model"))return!1;const X=st.model;return!!X.isFirstChange()||!Object.is(bt,X.currentValue)}function ne(st,bt){st._syncPendingControls(),bt.forEach(X=>{const Bt=X.control;"submit"===Bt.updateOn&&Bt._pendingChange&&(X.viewToModelUpdate(Bt._pendingValue),Bt._pendingChange=!1)})}function Re(st,bt){if(!bt)return null;let X,Bt,je;return Array.isArray(bt),bt.forEach(No=>{No.constructor===ct?X=No:function Dt(st){return Object.getPrototypeOf(st.constructor)===T}(No)?Bt=No:je=No}),je||Bt||X||null}const Cr={provide:Ee,useExisting:(0,o.Rfq)(()=>Nr)},Er=Promise.resolve();let Nr=(()=>{class st extends Ee{get submitted(){return(0,o.O8t)(this.submittedReactive)}constructor(X,Bt,je){super(),this.callSetDisabledState=je,this._submitted=(0,o.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,o.vPA)(!1),this._directives=new Set,this.ngSubmit=new o.bkB,this.form=new Yt({},gt(X),Ae(Bt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(X){Er.then(()=>{const Bt=this._findContainer(X.path);X.control=Bt.registerControl(X.name,X.control),Fo(X.control,X,this.callSetDisabledState),X.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(X)})}getControl(X){return this.form.get(X.path)}removeControl(X){Er.then(()=>{const Bt=this._findContainer(X.path);Bt&&Bt.removeControl(X.name),this._directives.delete(X)})}addFormGroup(X){Er.then(()=>{const Bt=this._findContainer(X.path),je=new Yt({});vo(je,X),Bt.registerControl(X.name,je),je.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(X){Er.then(()=>{const Bt=this._findContainer(X.path);Bt&&Bt.removeControl(X.name)})}getFormGroup(X){return this.form.get(X.path)}updateModel(X,Bt){Er.then(()=>{this.form.get(X.path).setValue(Bt)})}setValue(X){this.control.setValue(X)}onSubmit(X){return this.submittedReactive.set(!0),ne(this.form,this._directives),this.ngSubmit.emit(X),"dialog"===X?.target?.method}onReset(){this.resetForm()}resetForm(X=void 0){this.form.reset(X),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(X){return X.pop(),X.length?this.form.get(X):this.form}static{this.\u0275fac=function(Bt){return new(Bt||st)(o.rXU(_t,10),o.rXU(Mt,10),o.rXU(Yn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Bt,je){1&Bt&&o.bIt("submit",function(hn){return je.onSubmit(hn)})("reset",function(){return je.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Cr]),o.Vt3]})}}return st})();function Fr(st,bt){const X=st.indexOf(bt);X>-1&&st.splice(X,1)}function qr(st){return"object"==typeof st&&null!==st&&2===Object.keys(st).length&&"value"in st&&"disabled"in st}const to=class extends me{constructor(bt=null,X,Bt){super(Ro(X),tr(Bt,X)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(bt),this._setUpdateStrategy(X),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_e(X)&&(X.nonNullable||X.initialValueIsDefault)&&(this.defaultValue=qr(bt)?bt.value:bt)}setValue(bt,X={}){this.value=this._pendingValue=bt,this._onChange.length&&!1!==X.emitModelToViewChange&&this._onChange.forEach(Bt=>Bt(this.value,!1!==X.emitViewToModelChange)),this.updateValueAndValidity(X)}patchValue(bt,X={}){this.setValue(bt,X)}reset(bt=this.defaultValue,X={}){this._applyFormState(bt),this.markAsPristine(X),this.markAsUntouched(X),this.setValue(this.value,X),this._pendingChange=!1}_updateValue(){}_anyControls(bt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(bt){this._onChange.push(bt)}_unregisterOnChange(bt){Fr(this._onChange,bt)}registerOnDisabledChange(bt){this._onDisabledChange.push(bt)}_unregisterOnDisabledChange(bt){Fr(this._onDisabledChange,bt)}_forEachChild(bt){}_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(bt){qr(bt)?(this.value=this._pendingValue=bt.value,bt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=bt}},xo=to,Hi={provide:ie,useExisting:(0,o.Rfq)(()=>Pa)},nn=Promise.resolve();let Pa=(()=>{class st extends ie{constructor(X,Bt,je,No,hn,ha){super(),this._changeDetectorRef=hn,this.callSetDisabledState=ha,this.control=new to,this._registered=!1,this.name="",this.update=new o.bkB,this._parent=X,this._setValidators(Bt),this._setAsyncValidators(je),this.valueAccessor=Re(0,No)}ngOnChanges(X){if(this._checkForErrors(),!this._registered||"name"in X){if(this._registered&&(this._checkName(),this.formDirective)){const Bt=X.name.previousValue;this.formDirective.removeControl({name:Bt,path:this._getPath(Bt)})}this._setUpControl()}"isDisabled"in X&&this._updateDisabled(X),Gt(X,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(X){this.viewModel=X,this.update.emit(X)}_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(){Fo(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(X){nn.then(()=>{this.control.setValue(X,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(X){const Bt=X.isDisabled.currentValue,je=0!==Bt&&(0,o.L39)(Bt);nn.then(()=>{je&&!this.control.disabled?this.control.disable():!je&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(X){return this._parent?ni(X,this._parent):[X]}static{this.\u0275fac=function(Bt){return new(Bt||st)(o.rXU(Ee,9),o.rXU(_t,10),o.rXU(Mt,10),o.rXU(M,10),o.rXU(o.gRc,8),o.rXU(Yn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o.Jv_([Hi]),o.Vt3,o.OA$]})}}return st})(),Tn=(()=>{class st{static{this.\u0275fac=function(Bt){return new(Bt||st)}}static{this.\u0275dir=o.FsC({type:st,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return st})();const vi={provide:M,useExisting:(0,o.Rfq)(()=>ds),multi:!0};let ds=(()=>{class st extends T{writeValue(X){this.setProperty("value",X??"")}registerOnChange(X){this.onChange=Bt=>{X(""==Bt?null:parseFloat(Bt))}}static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275dir=o.FsC({type:st,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Bt,je){1&Bt&&o.bIt("input",function(hn){return je.onChange(hn.target.value)})("blur",function(){return je.onTouched()})},features:[o.Jv_([vi]),o.Vt3]})}}return st})();const Mn=new o.nKC(""),na={provide:ie,useExisting:(0,o.Rfq)(()=>fi)};let fi=(()=>{class st extends ie{set isDisabled(X){}static{this._ngModelWarningSentOnce=!1}constructor(X,Bt,je,No,hn){super(),this._ngModelWarningConfig=No,this.callSetDisabledState=hn,this.update=new o.bkB,this._ngModelWarningSent=!1,this._setValidators(X),this._setAsyncValidators(Bt),this.valueAccessor=Re(0,je)}ngOnChanges(X){if(this._isControlChanged(X)){const Bt=X.form.previousValue;Bt&&pi(Bt,this,!1),Fo(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Gt(X,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&pi(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(X){this.viewModel=X,this.update.emit(X)}_isControlChanged(X){return X.hasOwnProperty("form")}static{this.\u0275fac=function(Bt){return new(Bt||st)(o.rXU(_t,10),o.rXU(Mt,10),o.rXU(M,10),o.rXU(Mn,8),o.rXU(Yn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o.Jv_([na]),o.Vt3,o.OA$]})}}return st})();const Go={provide:Ee,useExisting:(0,o.Rfq)(()=>pa)};let pa=(()=>{class st extends Ee{get submitted(){return(0,o.O8t)(this._submittedReactive)}set submitted(X){this._submittedReactive.set(X)}constructor(X,Bt,je){super(),this.callSetDisabledState=je,this._submitted=(0,o.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,o.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.bkB,this._setValidators(X),this._setAsyncValidators(Bt)}ngOnChanges(X){this._checkFormPresent(),X.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Dr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(X){const Bt=this.form.get(X.path);return Fo(Bt,X,this.callSetDisabledState),Bt.updateValueAndValidity({emitEvent:!1}),this.directives.push(X),Bt}getControl(X){return this.form.get(X.path)}removeControl(X){pi(X.control||null,X,!1),function Ce(st,bt){const X=st.indexOf(bt);X>-1&&st.splice(X,1)}(this.directives,X)}addFormGroup(X){this._setUpFormContainer(X)}removeFormGroup(X){this._cleanUpFormContainer(X)}getFormGroup(X){return this.form.get(X.path)}addFormArray(X){this._setUpFormContainer(X)}removeFormArray(X){this._cleanUpFormContainer(X)}getFormArray(X){return this.form.get(X.path)}updateModel(X,Bt){this.form.get(X.path).setValue(Bt)}onSubmit(X){return this._submittedReactive.set(!0),ne(this.form,this.directives),this.ngSubmit.emit(X),this.form._events.next(new mr(this.control)),"dialog"===X?.target?.method}onReset(){this.resetForm()}resetForm(X=void 0){this.form.reset(X),this._submittedReactive.set(!1),this.form._events.next(new Qr(this.form))}_updateDomValue(){this.directives.forEach(X=>{const Bt=X.control,je=this.form.get(X.path);Bt!==je&&(pi(Bt||null,X),(st=>st instanceof to)(je)&&(Fo(je,X,this.callSetDisabledState),X.control=je))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(X){const Bt=this.form.get(X.path);vo(Bt,X),Bt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(X){if(this.form){const Bt=this.form.get(X.path);Bt&&function Co(st,bt){return Dr(st,bt)}(Bt,X)&&Bt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ke(this.form,this),this._oldForm&&Dr(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(Bt){return new(Bt||st)(o.rXU(_t,10),o.rXU(Mt,10),o.rXU(Yn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formGroup",""]],hostBindings:function(Bt,je){1&Bt&&o.bIt("submit",function(hn){return je.onSubmit(hn)})("reset",function(){return je.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Go]),o.Vt3,o.OA$]})}}return st})();const Ba={provide:ie,useExisting:(0,o.Rfq)(()=>ii)};let ii=(()=>{class st extends ie{set isDisabled(X){}static{this._ngModelWarningSentOnce=!1}constructor(X,Bt,je,No,hn){super(),this._ngModelWarningConfig=hn,this._added=!1,this.name=null,this.update=new o.bkB,this._ngModelWarningSent=!1,this._parent=X,this._setValidators(Bt),this._setAsyncValidators(je),this.valueAccessor=Re(0,No)}ngOnChanges(X){this._added||this._setUpControl(),Gt(X,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(X){this.viewModel=X,this.update.emit(X)}get path(){return ni(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(Bt){return new(Bt||st)(o.rXU(Ee,13),o.rXU(_t,10),o.rXU(Mt,10),o.rXU(M,10),o.rXU(Mn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[o.Jv_([Ba]),o.Vt3,o.OA$]})}}return st})(),ci=(()=>{class st{constructor(){this._validator=oe}ngOnChanges(X){if(this.inputName in X){const Bt=this.normalizeInput(X[this.inputName].currentValue);this._enabled=this.enabled(Bt),this._validator=this._enabled?this.createValidator(Bt):oe,this._onChange&&this._onChange()}}validate(X){return this._validator(X)}registerOnValidatorChange(X){this._onChange=X}enabled(X){return null!=X}static{this.\u0275fac=function(Bt){return new(Bt||st)}}static{this.\u0275dir=o.FsC({type:st,features:[o.OA$]})}}return st})();const ma={provide:_t,useExisting:(0,o.Rfq)(()=>_i),multi:!0},Ja={provide:_t,useExisting:(0,o.Rfq)(()=>ts),multi:!0};let _i=(()=>{class st extends ci{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.L39,this.createValidator=X=>at}enabled(X){return X}static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275dir=o.FsC({type:st,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Bt,je){2&Bt&&o.BMQ("required",je._enabled?"":null)},inputs:{required:"required"},features:[o.Jv_([ma]),o.Vt3]})}}return st})(),ts=(()=>{class st extends _i{constructor(){super(...arguments),this.createValidator=X=>rt}static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275dir=o.FsC({type:st,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Bt,je){2&Bt&&o.BMQ("required",je._enabled?"":null)},features:[o.Jv_([Ja]),o.Vt3]})}}return st})(),Lo=(()=>{class st{static{this.\u0275fac=function(Bt){return new(Bt||st)}}static{this.\u0275mod=o.$C({type:st})}static{this.\u0275inj=o.G2t({})}}return st})();class In extends me{constructor(bt,X,Bt){super(Ro(X),tr(Bt,X)),this.controls=bt,this._initObservables(),this._setUpdateStrategy(X),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(bt){return this.controls[this._adjustIndex(bt)]}push(bt,X={}){this.controls.push(bt),this._registerControl(bt),this.updateValueAndValidity({emitEvent:X.emitEvent}),this._onCollectionChange()}insert(bt,X,Bt={}){this.controls.splice(bt,0,X),this._registerControl(X),this.updateValueAndValidity({emitEvent:Bt.emitEvent})}removeAt(bt,X={}){let Bt=this._adjustIndex(bt);Bt<0&&(Bt=0),this.controls[Bt]&&this.controls[Bt]._registerOnCollectionChange(()=>{}),this.controls.splice(Bt,1),this.updateValueAndValidity({emitEvent:X.emitEvent})}setControl(bt,X,Bt={}){let je=this._adjustIndex(bt);je<0&&(je=0),this.controls[je]&&this.controls[je]._registerOnCollectionChange(()=>{}),this.controls.splice(je,1),X&&(this.controls.splice(je,0,X),this._registerControl(X)),this.updateValueAndValidity({emitEvent:Bt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(bt,X={}){ke(this,0,bt),bt.forEach((Bt,je)=>{qe(this,!1,je),this.at(je).setValue(Bt,{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X)}patchValue(bt,X={}){null!=bt&&(bt.forEach((Bt,je)=>{this.at(je)&&this.at(je).patchValue(Bt,{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X))}reset(bt=[],X={}){this._forEachChild((Bt,je)=>{Bt.reset(bt[je],{onlySelf:!0,emitEvent:X.emitEvent})}),this._updatePristine(X,this),this._updateTouched(X,this),this.updateValueAndValidity(X)}getRawValue(){return this.controls.map(bt=>bt.getRawValue())}clear(bt={}){this.controls.length<1||(this._forEachChild(X=>X._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:bt.emitEvent}))}_adjustIndex(bt){return bt<0?bt+this.length:bt}_syncPendingControls(){let bt=this.controls.reduce((X,Bt)=>!!Bt._syncPendingControls()||X,!1);return bt&&this.updateValueAndValidity({onlySelf:!0}),bt}_forEachChild(bt){this.controls.forEach((X,Bt)=>{bt(X,Bt)})}_updateValue(){this.value=this.controls.filter(bt=>bt.enabled||this.disabled).map(bt=>bt.value)}_anyControls(bt){return this.controls.some(X=>X.enabled&&bt(X))}_setUpControls(){this._forEachChild(bt=>this._registerControl(bt))}_allControlsDisabled(){for(const bt of this.controls)if(bt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(bt){bt.setParent(this),bt._registerOnCollectionChange(this._onCollectionChange)}_find(bt){return this.at(bt)??null}}function Ti(st){return!!st&&(void 0!==st.asyncValidators||void 0!==st.validators||void 0!==st.updateOn)}let wi=(()=>{class st{constructor(){this.useNonNullable=!1}get nonNullable(){const X=new st;return X.useNonNullable=!0,X}group(X,Bt=null){const je=this._reduceControls(X);let No={};return Ti(Bt)?No=Bt:null!==Bt&&(No.validators=Bt.validator,No.asyncValidators=Bt.asyncValidator),new Yt(je,No)}record(X,Bt=null){const je=this._reduceControls(X);return new Eo(je,Bt)}control(X,Bt,je){let No={};return this.useNonNullable?(Ti(Bt)?No=Bt:(No.validators=Bt,No.asyncValidators=je),new to(X,{...No,nonNullable:!0})):new to(X,Bt,je)}array(X,Bt,je){const No=X.map(hn=>this._createControl(hn));return new In(No,Bt,je)}_reduceControls(X){const Bt={};return Object.keys(X).forEach(je=>{Bt[je]=this._createControl(X[je])}),Bt}_createControl(X){return X instanceof to||X instanceof me?X:Array.isArray(X)?this.control(X[0],X.length>1?X[1]:null,X.length>2?X[2]:null):this.control(X)}static{this.\u0275fac=function(Bt){return new(Bt||st)}}static{this.\u0275prov=o.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}}return st})(),ri=(()=>{class st extends wi{group(X,Bt=null){return super.group(X,Bt)}control(X,Bt,je){return super.control(X,Bt,je)}array(X,Bt,je){return super.array(X,Bt,je)}static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275prov=o.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}}return st})(),zn=(()=>{class st{static withConfig(X){return{ngModule:st,providers:[{provide:Yn,useValue:X.callSetDisabledState??Yo}]}}static{this.\u0275fac=function(Bt){return new(Bt||st)}}static{this.\u0275mod=o.$C({type:st})}static{this.\u0275inj=o.G2t({imports:[Lo]})}}return st})(),Gi=(()=>{class st{static withConfig(X){return{ngModule:st,providers:[{provide:Mn,useValue:X.warnOnNgModelWithFormControl??"always"},{provide:Yn,useValue:X.callSetDisabledState??Yo}]}}static{this.\u0275fac=function(Bt){return new(Bt||st)}}static{this.\u0275mod=o.$C({type:st})}static{this.\u0275inj=o.G2t({imports:[Lo]})}}return st})()},8834:(i,a,r)=>{"use strict";r.d(a,{$0:()=>Vt,$z:()=>kt,Hl:()=>gr,iY:()=>Xe,pQ:()=>kr});var o=r(6860),s=r(4438),c=r(9888),y=r(6600);const k=["mat-button",""],S=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],I=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],M=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",L=["mat-mini-fab",""],W=["mat-icon-button",""],q=["*"],ht=new s.nKC("MAT_BUTTON_CONFIG"),_t=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let Mt=(()=>{class vr{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(xe){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,xe)}get disableRipple(){return this._disableRipple}set disableRipple(xe){this._disableRipple=xe,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(xe){this._disabled=xe,this._updateRippleDisabled()}constructor(xe,Le,gt,Nt){this._elementRef=xe,this._platform=Le,this._ngZone=gt,this._animationMode=Nt,this._focusMonitor=(0,s.WQX)(c.FN),this._rippleLoader=(0,s.WQX)(y.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const Ae=(0,s.WQX)(ht,{optional:!0}),Rt=xe.nativeElement,de=Rt.classList;this.disabledInteractive=Ae?.disabledInteractive??!1,this.color=Ae?.color??null,this._rippleLoader?.configureRipple(Rt,{className:"mat-mdc-button-ripple"});for(const{attribute:jt,mdcClasses:De}of _t)Rt.hasAttribute(jt)&&de.add(...De)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(xe="program",Le){xe?this._focusMonitor.focusVia(this._elementRef.nativeElement,xe,Le):this._elementRef.nativeElement.focus(Le)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(Le){s.QTQ()}}static{this.\u0275dir=s.FsC({type:vr,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",s.L39],disabled:[2,"disabled","disabled",s.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",s.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",s.L39]},features:[s.GFd]})}}return vr})(),At=(()=>{class vr extends Mt{constructor(xe,Le,gt,Nt){super(xe,Le,gt,Nt),this._haltDisabledEvents=Ae=>{this.disabled&&(Ae.preventDefault(),Ae.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this.disabled||null}static{this.\u0275fac=function(Le){s.QTQ()}}static{this.\u0275dir=s.FsC({type:vr,inputs:{tabIndex:[2,"tabIndex","tabIndex",xe=>null==xe?void 0:(0,s.Udg)(xe)]},features:[s.GFd,s.Vt3]})}}return vr})(),kt=(()=>{class vr extends Mt{constructor(xe,Le,gt,Nt){super(xe,Le,gt,Nt)}static{this.\u0275fac=function(Le){return new(Le||vr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:vr,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(Le,gt){2&Le&&(s.BMQ("disabled",gt._getDisabledAttribute())("aria-disabled",gt._getAriaDisabled()),s.HbH(gt.color?"mat-"+gt.color:""),s.AVh("mat-mdc-button-disabled",gt.disabled)("mat-mdc-button-disabled-interactive",gt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===gt._animationMode)("mat-unthemed",!gt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.Vt3,s.aNF],attrs:k,ngContentSelectors:I,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,gt){1&Le&&(s.NAR(S),s.nrm(0,"span",0),s.SdG(1),s.j41(2,"span",1),s.SdG(3,1),s.k0s(),s.SdG(4,2),s.nrm(5,"span",2)(6,"span",3)),2&Le&&s.AVh("mdc-button__ripple",!gt._isFab)("mdc-fab__ripple",gt._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return vr})();const at=new s.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:rt});function rt(){return{color:"accent"}}const yt=rt();let Vt=(()=>{class vr extends Mt{constructor(xe,Le,gt,Nt,Ae){super(xe,Le,gt,Nt),this._options=Ae,this._isFab=!0,this._options=this._options||yt,this.color=this._options.color||yt.color}static{this.\u0275fac=function(Le){return new(Le||vr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8),s.rXU(at,8))}}static{this.\u0275cmp=s.VBU({type:vr,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(Le,gt){2&Le&&(s.BMQ("disabled",gt._getDisabledAttribute())("aria-disabled",gt._getAriaDisabled()),s.HbH(gt.color?"mat-"+gt.color:""),s.AVh("mat-mdc-button-disabled",gt.disabled)("mat-mdc-button-disabled-interactive",gt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===gt._animationMode)("mat-unthemed",!gt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.Vt3,s.aNF],attrs:L,ngContentSelectors:I,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,gt){1&Le&&(s.NAR(S),s.nrm(0,"span",0),s.SdG(1),s.j41(2,"span",1),s.SdG(3,1),s.k0s(),s.SdG(4,2),s.nrm(5,"span",2)(6,"span",3)),2&Le&&s.AVh("mdc-button__ripple",!gt._isFab)("mdc-fab__ripple",gt._isFab)},styles:['.mat-mdc-fab-base{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-app-corner-large));color:var(--mat-fab-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-app-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-app-level3));height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-app-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}}return vr})(),Xe=(()=>{class vr extends Mt{constructor(xe,Le,gt,Nt){super(xe,Le,gt,Nt),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(Le){return new(Le||vr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:vr,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(Le,gt){2&Le&&(s.BMQ("disabled",gt._getDisabledAttribute())("aria-disabled",gt._getAriaDisabled()),s.HbH(gt.color?"mat-"+gt.color:""),s.AVh("mat-mdc-button-disabled",gt.disabled)("mat-mdc-button-disabled-interactive",gt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===gt._animationMode)("mat-unthemed",!gt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.Vt3,s.aNF],attrs:W,ngContentSelectors:q,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,gt){1&Le&&(s.NAR(),s.nrm(0,"span",0),s.SdG(1),s.nrm(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',M],encapsulation:2,changeDetection:0})}}return vr})(),kr=(()=>{class vr extends At{constructor(xe,Le,gt,Nt){super(xe,Le,gt,Nt)}static{this.\u0275fac=function(Le){return new(Le||vr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:vr,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(Le,gt){2&Le&&(s.BMQ("disabled",gt._getDisabledAttribute())("tabindex",gt.disabled&&!gt.disabledInteractive?-1:gt.tabIndex)("aria-disabled",gt._getAriaDisabled()),s.HbH(gt.color?"mat-"+gt.color:""),s.AVh("mat-mdc-button-disabled",gt.disabled)("mat-mdc-button-disabled-interactive",gt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===gt._animationMode)("mat-unthemed",!gt.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[s.Vt3,s.aNF],attrs:W,ngContentSelectors:q,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,gt){1&Le&&(s.NAR(),s.nrm(0,"span",0),s.SdG(1),s.nrm(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',M],encapsulation:2,changeDetection:0})}}return vr})(),gr=(()=>{class vr{static{this.\u0275fac=function(Le){return new(Le||vr)}}static{this.\u0275mod=s.$C({type:vr})}static{this.\u0275inj=s.G2t({imports:[y.yE,y.pZ,y.yE]})}}return vr})()},6600:(i,a,r)=>{"use strict";r.d(a,{MJ:()=>gt,es:()=>Ut,N:()=>at,de:()=>Nt,Ju:()=>xe,QC:()=>ir,is:()=>It,yE:()=>rt,wT:()=>eo,Sy:()=>Pr,MI:()=>Wr,r6:()=>$,Ej:()=>Ro,pZ:()=>Y,X0:()=>gr,tO:()=>Ko,jb:()=>Uo,TL:()=>fr});var o=r(4438),s=r(9888),c=r(8203),k=r(177),S=r(6860),I=r(4085),T=r(1413),M=r(7336);const J=["text"],W=[[["mat-icon"]],"*"],q=["mat-icon","*"];function ct(tr,$e){if(1&tr&&o.nrm(0,"mat-pseudo-checkbox",1),2&tr){const _e=o.XpG();o.Y8G("disabled",_e.disabled)("state",_e.selected?"checked":"unchecked")}}function ht(tr,$e){if(1&tr&&o.nrm(0,"mat-pseudo-checkbox",3),2&tr){const _e=o.XpG();o.Y8G("disabled",_e.disabled)}}function tt(tr,$e){if(1&tr&&(o.j41(0,"span",4),o.EFF(1),o.k0s()),2&tr){const _e=o.XpG();o.R7$(),o.SpI("(",_e.group.label,")")}}const _t=["mat-internal-form-field",""],Mt=["*"],at=new o.nKC("mat-sanity-checks",{providedIn:"root",factory:function nt(){return!0}});let rt=(()=>{class tr{constructor(_e,qe,ke){this._sanityChecks=qe,this._document=ke,this._hasDoneGlobalChecks=!1,_e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(_e){return!(0,S.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[_e])}static{this.\u0275fac=function(qe){return new(qe||tr)(o.KVO(s.Q_),o.KVO(at,8),o.KVO(k.qQ))}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[c.jI,c.jI]})}}return tr})();class gr{constructor($e,_e,qe,ke,me){this._defaultMatcher=$e,this.ngControl=_e,this._parentFormGroup=qe,this._parentForm=ke,this._stateChanges=me,this.errorState=!1}updateErrorState(){const $e=this.errorState,_e=this._parentFormGroup||this._parentForm,qe=this.matcher||this._defaultMatcher,ke=this.ngControl?this.ngControl.control:null,me=qe?.isErrorState(ke,_e)??!1;me!==$e&&(this.errorState=me,this._stateChanges.next())}}const xe=new o.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function Le(){return(0,o.WQX)(o.xe9)}});class gt{constructor(){this._localeChanges=new T.B,this.localeChanges=this._localeChanges}getValidDateOrNull($e){return this.isDateInstance($e)&&this.isValid($e)?$e:null}deserialize($e){return null==$e||this.isDateInstance($e)&&this.isValid($e)?$e:this.invalid()}setLocale($e){this.locale=$e,this._localeChanges.next()}compareDate($e,_e){return this.getYear($e)-this.getYear(_e)||this.getMonth($e)-this.getMonth(_e)||this.getDate($e)-this.getDate(_e)}sameDate($e,_e){if($e&&_e){let qe=this.isValid($e),ke=this.isValid(_e);return qe&&ke?!this.compareDate($e,_e):qe==ke}return $e==_e}clampDate($e,_e,qe){return _e&&this.compareDate($e,_e)<0?_e:qe&&this.compareDate($e,qe)>0?qe:$e}}const Nt=new o.nKC("mat-date-formats");let Ut=(()=>{class tr{isErrorState(_e,qe){return!!(_e&&_e.invalid&&(_e.touched||qe&&qe.submitted))}static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275prov=o.jDH({token:tr,factory:tr.\u0275fac,providedIn:"root"})}}return tr})();var Me=function(tr){return tr[tr.FADING_IN=0]="FADING_IN",tr[tr.VISIBLE=1]="VISIBLE",tr[tr.FADING_OUT=2]="FADING_OUT",tr[tr.HIDDEN=3]="HIDDEN",tr}(Me||{});class Fe{constructor($e,_e,qe,ke=!1){this._renderer=$e,this.element=_e,this.config=qe,this._animationForciblyDisabledThroughCss=ke,this.state=Me.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const We=(0,S.BQ)({passive:!0,capture:!0});class Or{constructor(){this._events=new Map,this._delegateEventHandler=$e=>{const _e=(0,S.Fb)($e);_e&&this._events.get($e.type)?.forEach((qe,ke)=>{(ke===_e||ke.contains(_e))&&qe.forEach(me=>me.handleEvent($e))})}}addHandler($e,_e,qe,ke){const me=this._events.get(_e);if(me){const Yt=me.get(qe);Yt?Yt.add(ke):me.set(qe,new Set([ke]))}else this._events.set(_e,new Map([[qe,new Set([ke])]])),$e.runOutsideAngular(()=>{document.addEventListener(_e,this._delegateEventHandler,We)})}removeHandler($e,_e,qe){const ke=this._events.get($e);if(!ke)return;const me=ke.get(_e);me&&(me.delete(qe),0===me.size&&ke.delete(_e),0===ke.size&&(this._events.delete($e),document.removeEventListener($e,this._delegateEventHandler,We)))}}const ko={enterDuration:225,exitDuration:150},Lt=(0,S.BQ)({passive:!0,capture:!0}),be=["mousedown","touchstart"],se=["mouseup","mouseleave","touchend","touchcancel"];class Ie{static{this._eventManager=new Or}constructor($e,_e,qe,ke){this._target=$e,this._ngZone=_e,this._platform=ke,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ke.isBrowser&&(this._containerElement=(0,I.i8)(qe))}fadeInRipple($e,_e,qe={}){const ke=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),me={...ko,...qe.animation};qe.centered&&($e=ke.left+ke.width/2,_e=ke.top+ke.height/2);const Yt=qe.radius||function br(tr,$e,_e){const qe=Math.max(Math.abs(tr-_e.left),Math.abs(tr-_e.right)),ke=Math.max(Math.abs($e-_e.top),Math.abs($e-_e.bottom));return Math.sqrt(qe*qe+ke*ke)}($e,_e,ke),Se=$e-ke.left,ar=_e-ke.top,xr=me.enterDuration,Eo=document.createElement("div");Eo.classList.add("mat-ripple-element"),Eo.style.left=Se-Yt+"px",Eo.style.top=ar-Yt+"px",Eo.style.height=2*Yt+"px",Eo.style.width=2*Yt+"px",null!=qe.color&&(Eo.style.backgroundColor=qe.color),Eo.style.transitionDuration=`${xr}ms`,this._containerElement.appendChild(Eo);const $n=window.getComputedStyle(Eo),Yo=$n.transitionDuration,ni="none"===$n.transitionProperty||"0s"===Yo||"0s, 0s"===Yo||0===ke.width&&0===ke.height,Fo=new Fe(this,Eo,qe,ni);Eo.style.transform="scale3d(1, 1, 1)",Fo.state=Me.FADING_IN,qe.persistent||(this._mostRecentTransientRipple=Fo);let pi=null;return!ni&&(xr||me.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ei=()=>{pi&&(pi.fallbackTimer=null),clearTimeout(Ke),this._finishRippleTransition(Fo)},Oe=()=>this._destroyRipple(Fo),Ke=setTimeout(Oe,xr+100);Eo.addEventListener("transitionend",ei),Eo.addEventListener("transitioncancel",Oe),pi={onTransitionEnd:ei,onTransitionCancel:Oe,fallbackTimer:Ke}}),this._activeRipples.set(Fo,pi),(ni||!xr)&&this._finishRippleTransition(Fo),Fo}fadeOutRipple($e){if($e.state===Me.FADING_OUT||$e.state===Me.HIDDEN)return;const _e=$e.element,qe={...ko,...$e.config.animation};_e.style.transitionDuration=`${qe.exitDuration}ms`,_e.style.opacity="0",$e.state=Me.FADING_OUT,($e._animationForciblyDisabledThroughCss||!qe.exitDuration)&&this._finishRippleTransition($e)}fadeOutAll(){this._getActiveRipples().forEach($e=>$e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach($e=>{$e.config.persistent||$e.fadeOut()})}setupTriggerEvents($e){const _e=(0,I.i8)($e);!this._platform.isBrowser||!_e||_e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=_e,be.forEach(qe=>{Ie._eventManager.addHandler(this._ngZone,qe,_e,this)}))}handleEvent($e){"mousedown"===$e.type?this._onMousedown($e):"touchstart"===$e.type?this._onTouchStart($e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{se.forEach(_e=>{this._triggerElement.addEventListener(_e,this,Lt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition($e){$e.state===Me.FADING_IN?this._startFadeOutTransition($e):$e.state===Me.FADING_OUT&&this._destroyRipple($e)}_startFadeOutTransition($e){const _e=$e===this._mostRecentTransientRipple,{persistent:qe}=$e.config;$e.state=Me.VISIBLE,!qe&&(!_e||!this._isPointerDown)&&$e.fadeOut()}_destroyRipple($e){const _e=this._activeRipples.get($e)??null;this._activeRipples.delete($e),this._activeRipples.size||(this._containerRect=null),$e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),$e.state=Me.HIDDEN,null!==_e&&($e.element.removeEventListener("transitionend",_e.onTransitionEnd),$e.element.removeEventListener("transitioncancel",_e.onTransitionCancel),null!==_e.fallbackTimer&&clearTimeout(_e.fallbackTimer)),$e.element.remove()}_onMousedown($e){const _e=(0,s._G)($e),qe=this._lastTouchStartEvent&&Date.now(){!$e.config.persistent&&($e.state===Me.VISIBLE||$e.config.terminateOnPointerUp&&$e.state===Me.FADING_IN)&&$e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const $e=this._triggerElement;$e&&(be.forEach(_e=>Ie._eventManager.removeHandler(_e,$e,this)),this._pointerUpEventsRegistered&&(se.forEach(_e=>$e.removeEventListener(_e,this,Lt)),this._pointerUpEventsRegistered=!1))}}const mt=new o.nKC("mat-ripple-global-options");let $=(()=>{class tr{get disabled(){return this._disabled}set disabled(_e){_e&&this.fadeOutAllNonPersistent(),this._disabled=_e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(_e){this._trigger=_e,this._setupTriggerEventsIfEnabled()}constructor(_e,qe,ke,me,Yt){this._elementRef=_e,this._animationMode=Yt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=me||{},this._rippleRenderer=new Ie(this,qe,_e,ke)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(_e,qe=0,ke){return"number"==typeof _e?this._rippleRenderer.fadeInRipple(_e,qe,{...this.rippleConfig,...ke}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,..._e})}static{this.\u0275fac=function(qe){return new(qe||tr)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(S.OD),o.rXU(mt,8),o.rXU(o.bc$,8))}}static{this.\u0275dir=o.FsC({type:tr,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(qe,ke){2&qe&&o.AVh("mat-ripple-unbounded",ke.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return tr})(),Y=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[rt,rt]})}}return tr})(),it=(()=>{class tr{constructor(_e){this._animationMode=_e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(qe){return new(qe||tr)(o.rXU(o.bc$,8))}}static{this.\u0275cmp=o.VBU({type:tr,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(qe,ke){2&qe&&o.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===ke.state)("mat-pseudo-checkbox-checked","checked"===ke.state)("mat-pseudo-checkbox-disabled",ke.disabled)("mat-pseudo-checkbox-minimal","minimal"===ke.appearance)("mat-pseudo-checkbox-full","full"===ke.appearance)("_mat-animation-noopable","NoopAnimations"===ke._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[o.aNF],decls:0,vars:0,template:function(qe,ke){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return tr})(),Tt=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[rt]})}}return tr})();const It=new o.nKC("MAT_OPTION_PARENT_COMPONENT"),ir=new o.nKC("MatOptgroup");let er=0;class Wr{constructor($e,_e=!1){this.source=$e,this.isUserInput=_e}}let eo=(()=>{class tr{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(_e){this._disabled=_e}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(_e,qe,ke,me){this._element=_e,this._changeDetectorRef=qe,this._parent=ke,this.group=me,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+er++,this.onSelectionChange=new o.bkB,this._stateChanges=new T.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(_e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),_e&&this._emitSelectionChangeEvent())}deselect(_e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),_e&&this._emitSelectionChangeEvent())}focus(_e,qe){const ke=this._getHostElement();"function"==typeof ke.focus&&ke.focus(qe)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(_e){(_e.keyCode===M.Fm||_e.keyCode===M.t6)&&!(0,M.rp)(_e)&&(this._selectViaInteraction(),_e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const _e=this.viewValue;_e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=_e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(_e=!1){this.onSelectionChange.emit(new Wr(this,_e))}static{this.\u0275fac=function(qe){return new(qe||tr)(o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(It,8),o.rXU(ir,8))}}static{this.\u0275cmp=o.VBU({type:tr,selectors:[["mat-option"]],viewQuery:function(qe,ke){if(1&qe&&o.GBs(J,7),2&qe){let me;o.mGM(me=o.lsd())&&(ke._text=me.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(qe,ke){1&qe&&o.bIt("click",function(){return ke._selectViaInteraction()})("keydown",function(Yt){return ke._handleKeydown(Yt)}),2&qe&&(o.Mr5("id",ke.id),o.BMQ("aria-selected",ke.selected)("aria-disabled",ke.disabled.toString()),o.AVh("mdc-list-item--selected",ke.selected)("mat-mdc-option-multiple",ke.multiple)("mat-mdc-option-active",ke.active)("mdc-list-item--disabled",ke.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",o.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[o.GFd,o.aNF],ngContentSelectors:q,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(qe,ke){1&qe&&(o.NAR(W),o.DNE(0,ct,1,2,"mat-pseudo-checkbox",1),o.SdG(1),o.j41(2,"span",2,0),o.SdG(4,1),o.k0s(),o.DNE(5,ht,1,1,"mat-pseudo-checkbox",3)(6,tt,2,1,"span",4),o.nrm(7,"div",5)),2&qe&&(o.vxM(ke.multiple?0:-1),o.R7$(5),o.vxM(ke.multiple||!ke.selected||ke.hideSingleSelectionIndicator?-1:5),o.R7$(),o.vxM(ke.group&&ke.group._inert?6:-1),o.R7$(),o.Y8G("matRippleTrigger",ke._getHostElement())("matRippleDisabled",ke.disabled||ke.disableRipple))},dependencies:[it,$],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return tr})();function Uo(tr,$e,_e){if(_e.length){let qe=$e.toArray(),ke=_e.toArray(),me=0;for(let Yt=0;Yt_e+qe?Math.max(0,tr-qe+$e):_e}let Pr=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[Y,rt,Tt]})}}return tr})();const re={capture:!0},qt=["focus","mousedown","mouseenter","touchstart"],Pt="mat-ripple-loader-uninitialized",ue="mat-ripple-loader-class-name",mr="mat-ripple-loader-centered",Qr="mat-ripple-loader-disabled";let Ro=(()=>{class tr{constructor(){this._document=(0,o.WQX)(k.qQ,{optional:!0}),this._animationMode=(0,o.WQX)(o.bc$,{optional:!0}),this._globalRippleOptions=(0,o.WQX)(mt,{optional:!0}),this._platform=(0,o.WQX)(S.OD),this._ngZone=(0,o.WQX)(o.SKi),this._hosts=new Map,this._onInteraction=_e=>{const qe=(0,S.Fb)(_e);if(qe instanceof HTMLElement){const ke=qe.closest(`[${Pt}="${this._globalRippleOptions?.namespace??""}"]`);ke&&this._createRipple(ke)}},this._ngZone.runOutsideAngular(()=>{for(const _e of qt)this._document?.addEventListener(_e,this._onInteraction,re)})}ngOnDestroy(){const _e=this._hosts.keys();for(const qe of _e)this.destroyRipple(qe);for(const qe of qt)this._document?.removeEventListener(qe,this._onInteraction,re)}configureRipple(_e,qe){_e.setAttribute(Pt,this._globalRippleOptions?.namespace??""),(qe.className||!_e.hasAttribute(ue))&&_e.setAttribute(ue,qe.className||""),qe.centered&&_e.setAttribute(mr,""),qe.disabled&&_e.setAttribute(Qr,"")}getRipple(_e){return this._hosts.get(_e)||this._createRipple(_e)}setDisabled(_e,qe){const ke=this._hosts.get(_e);ke?ke.disabled=qe:qe?_e.setAttribute(Qr,""):_e.removeAttribute(Qr)}_createRipple(_e){if(!this._document)return;const qe=this._hosts.get(_e);if(qe)return qe;_e.querySelector(".mat-ripple")?.remove();const ke=this._document.createElement("span");ke.classList.add("mat-ripple",_e.getAttribute(ue)),_e.append(ke);const me=new $(new o.aKT(ke),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return me._isInitialized=!0,me.trigger=_e,me.centered=_e.hasAttribute(mr),me.disabled=_e.hasAttribute(Qr),this.attachRipple(_e,me),me}attachRipple(_e,qe){_e.removeAttribute(Pt),this._hosts.set(_e,qe)}destroyRipple(_e){const qe=this._hosts.get(_e);qe&&(qe.ngOnDestroy(),this._hosts.delete(_e))}static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275prov=o.jDH({token:tr,factory:tr.\u0275fac,providedIn:"root"})}}return tr})(),Ko=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275cmp=o.VBU({type:tr,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(qe,ke){2&qe&&o.AVh("mdc-form-field--align-end","before"===ke.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[o.aNF],attrs:_t,ngContentSelectors:Mt,decls:1,vars:0,template:function(qe,ke){1&qe&&(o.NAR(),o.SdG(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}}return tr})()},5351:(i,a,r)=>{"use strict";r.d(a,{Vh:()=>pe,bZ:()=>Me,E7:()=>Lt,tx:()=>We,Yi:()=>dr,hM:()=>Ie,CP:()=>Ye});var o=r(7987),s=r(177),c=r(4438),y=r(9888),k=r(6860),S=r(6939),I=r(7336),T=r(1413),M=r(9030),R=r(7673),L=r(8203),J=r(9172);function W($,Y){}class q{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let ht=(()=>{class $ extends S.lb{constructor(it,Tt,It,ye,ir,Je,er,Wr){super(),this._elementRef=it,this._focusTrapFactory=Tt,this._config=ye,this._interactivityChecker=ir,this._ngZone=Je,this._overlayRef=er,this._focusMonitor=Wr,this._platform=(0,c.WQX)(k.OD),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=(0,c.WQX)(c.gRc),this._injector=(0,c.WQX)(c.zZn),this._isDestroyed=!1,this.attachDomPortal=eo=>{this._portalOutlet.hasAttached();const Uo=this._portalOutlet.attachDomPortal(eo);return this._contentAttached(),Uo},this._document=It,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(it){this._ariaLabelledByQueue.push(it),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(it){const Tt=this._ariaLabelledByQueue.indexOf(it);Tt>-1&&(this._ariaLabelledByQueue.splice(Tt,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(it){this._portalOutlet.hasAttached();const Tt=this._portalOutlet.attachComponentPortal(it);return this._contentAttached(),Tt}attachTemplatePortal(it){this._portalOutlet.hasAttached();const Tt=this._portalOutlet.attachTemplatePortal(it);return this._contentAttached(),Tt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(it,Tt){this._interactivityChecker.isFocusable(it)||(it.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const It=()=>{it.removeEventListener("blur",It),it.removeEventListener("mousedown",It),it.removeAttribute("tabindex")};it.addEventListener("blur",It),it.addEventListener("mousedown",It)})),it.focus(Tt)}_focusByCssSelector(it,Tt){let It=this._elementRef.nativeElement.querySelector(it);It&&this._forceFocus(It,Tt)}_trapFocus(){this._isDestroyed||(0,c.mal)(()=>{const it=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||it.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}},{injector:this._injector})}_restoreFocus(){const it=this._config.restoreFocus;let Tt=null;if("string"==typeof it?Tt=this._document.querySelector(it):"boolean"==typeof it?Tt=it?this._elementFocusedBeforeDialogWasOpened:null:it&&(Tt=it),this._config.restoreFocus&&Tt&&"function"==typeof Tt.focus){const It=(0,k.vc)(),ye=this._elementRef.nativeElement;(!It||It===this._document.body||It===ye||ye.contains(It))&&(this._focusMonitor?(this._focusMonitor.focusVia(Tt,this._closeInteractionType),this._closeInteractionType=null):Tt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const it=this._elementRef.nativeElement,Tt=(0,k.vc)();return it===Tt||it.contains(Tt)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,k.vc)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.rXU(c.aKT),c.rXU(y.GX),c.rXU(s.qQ,8),c.rXU(q),c.rXU(y.Z7),c.rXU(c.SKi),c.rXU(o.yY),c.rXU(y.FN))}}static{this.\u0275cmp=c.VBU({type:$,selectors:[["cdk-dialog-container"]],viewQuery:function(Tt,It){if(1&Tt&&c.GBs(S.I3,7),2&Tt){let ye;c.mGM(ye=c.lsd())&&(It._portalOutlet=ye.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Tt,It){2&Tt&&c.BMQ("id",It._config.id||null)("role",It._config.role)("aria-modal",It._config.ariaModal)("aria-labelledby",It._config.ariaLabel?null:It._ariaLabelledByQueue[0])("aria-label",It._config.ariaLabel)("aria-describedby",It._config.ariaDescribedBy||null)},standalone:!0,features:[c.Vt3,c.aNF],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Tt,It){1&Tt&&c.DNE(0,W,0,0,"ng-template",0)},dependencies:[S.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return $})();class tt{constructor(Y,it){this.overlayRef=Y,this.config=it,this.closed=new T.B,this.disableClose=it.disableClose,this.backdropClick=Y.backdropClick(),this.keydownEvents=Y.keydownEvents(),this.outsidePointerEvents=Y.outsidePointerEvents(),this.id=it.id,this.keydownEvents.subscribe(Tt=>{Tt.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(Tt)&&(Tt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Y.detachments().subscribe(()=>{!1!==it.closeOnOverlayDetachments&&this.close()})}close(Y,it){if(this.containerInstance){const Tt=this.closed;this.containerInstance._closeInteractionType=it?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Tt.next(Y),Tt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Y="",it=""){return this.overlayRef.updateSize({width:Y,height:it}),this}addPanelClass(Y){return this.overlayRef.addPanelClass(Y),this}removePanelClass(Y){return this.overlayRef.removePanelClass(Y),this}}const _t=new c.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const $=(0,c.WQX)(o.hJ);return()=>$.scrollStrategies.block()}}),Mt=new c.nKC("DialogData"),$t=new c.nKC("DefaultDialogConfig");let nt=0,at=(()=>{class ${get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(it,Tt,It,ye,ir,Je){this._overlay=it,this._injector=Tt,this._defaultOptions=It,this._parentDialog=ye,this._overlayContainer=ir,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new T.B,this._afterOpenedAtThisLevel=new T.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,M.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,J.Z)(void 0))),this._scrollStrategy=Je}open(it,Tt){(Tt={...this._defaultOptions||new q,...Tt}).id=Tt.id||"cdk-dialog-"+nt++,Tt.id&&this.getDialogById(Tt.id);const ye=this._getOverlayConfig(Tt),ir=this._overlay.create(ye),Je=new tt(ir,Tt),er=this._attachContainer(ir,Je,Tt);return Je.containerInstance=er,this._attachDialogContent(it,Je,er,Tt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Je),Je.closed.subscribe(()=>this._removeOpenDialog(Je,!0)),this.afterOpened.next(Je),Je}closeAll(){rt(this.openDialogs,it=>it.close())}getDialogById(it){return this.openDialogs.find(Tt=>Tt.id===it)}ngOnDestroy(){rt(this._openDialogsAtThisLevel,it=>{!1===it.config.closeOnDestroy&&this._removeOpenDialog(it,!1)}),rt(this._openDialogsAtThisLevel,it=>it.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(it){const Tt=new o.rR({positionStrategy:it.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:it.scrollStrategy||this._scrollStrategy(),panelClass:it.panelClass,hasBackdrop:it.hasBackdrop,direction:it.direction,minWidth:it.minWidth,minHeight:it.minHeight,maxWidth:it.maxWidth,maxHeight:it.maxHeight,width:it.width,height:it.height,disposeOnNavigation:it.closeOnNavigation});return it.backdropClass&&(Tt.backdropClass=it.backdropClass),Tt}_attachContainer(it,Tt,It){const ye=It.injector||It.viewContainerRef?.injector,ir=[{provide:q,useValue:It},{provide:tt,useValue:Tt},{provide:o.yY,useValue:it}];let Je;It.container?"function"==typeof It.container?Je=It.container:(Je=It.container.type,ir.push(...It.container.providers(It))):Je=ht;const er=new S.A8(Je,It.viewContainerRef,c.zZn.create({parent:ye||this._injector,providers:ir}),It.componentFactoryResolver);return it.attach(er).instance}_attachDialogContent(it,Tt,It,ye){if(it instanceof c.C4Q){const ir=this._createInjector(ye,Tt,It,void 0);let Je={$implicit:ye.data,dialogRef:Tt};ye.templateContext&&(Je={...Je,..."function"==typeof ye.templateContext?ye.templateContext():ye.templateContext}),It.attachTemplatePortal(new S.VA(it,null,Je,ir))}else{const ir=this._createInjector(ye,Tt,It,this._injector),Je=It.attachComponentPortal(new S.A8(it,ye.viewContainerRef,ir,ye.componentFactoryResolver));Tt.componentRef=Je,Tt.componentInstance=Je.instance}}_createInjector(it,Tt,It,ye){const ir=it.injector||it.viewContainerRef?.injector,Je=[{provide:Mt,useValue:it.data},{provide:tt,useValue:Tt}];return it.providers&&("function"==typeof it.providers?Je.push(...it.providers(Tt,it,It)):Je.push(...it.providers)),it.direction&&(!ir||!ir.get(L.dS,null,{optional:!0}))&&Je.push({provide:L.dS,useValue:{value:it.direction,change:(0,R.of)()}}),c.zZn.create({parent:ir||ye,providers:Je})}_removeOpenDialog(it,Tt){const It=this.openDialogs.indexOf(it);It>-1&&(this.openDialogs.splice(It,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((ye,ir)=>{ye?ir.setAttribute("aria-hidden",ye):ir.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Tt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const it=this._overlayContainer.getContainerElement();if(it.parentElement){const Tt=it.parentElement.children;for(let It=Tt.length-1;It>-1;It--){const ye=Tt[It];ye!==it&&"SCRIPT"!==ye.nodeName&&"STYLE"!==ye.nodeName&&!ye.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(ye,ye.getAttribute("aria-hidden")),ye.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const it=this._parentDialog;return it?it._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.KVO(o.hJ),c.KVO(c.zZn),c.KVO($t,8),c.KVO($,12),c.KVO(o.Sf),c.KVO(_t))}}static{this.\u0275prov=c.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();function rt($,Y){let it=$.length;for(;it--;)Y($[it])}let yt=(()=>{class ${static{this.\u0275fac=function(Tt){return new(Tt||$)}}static{this.\u0275mod=c.$C({type:$})}static{this.\u0275inj=c.G2t({providers:[at],imports:[o.z_,S.jc,y.Pd,S.jc]})}}return $})();var Ct=r(4085),Vt=r(7786),Xt=r(5964),oe=r(6697),Xe=r(5542),kr=r(6600);function vr($,Y){}r(9969);class Gr{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const xe="mdc-dialog--open",Le="mdc-dialog--opening",gt="mdc-dialog--closing";let Rt=(()=>{class $ extends ht{constructor(it,Tt,It,ye,ir,Je,er,Wr,eo){super(it,Tt,It,ye,ir,Je,er,eo),this._animationMode=Wr,this._animationStateChanged=new c.bkB,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?jt(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?jt(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(de,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Le,xe)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(xe),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(xe),this._animationsEnabled?(this._hostElement.style.setProperty(de,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(gt)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(it){this._actionSectionCount+=it,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Le,gt)}_waitForAnimationToComplete(it,Tt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Tt,it)}_requestAnimationFrame(it){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(it):it()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(it){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:it})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(it){const Tt=super.attachComponentPortal(it);return Tt.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),Tt}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.rXU(c.aKT),c.rXU(y.GX),c.rXU(s.qQ,8),c.rXU(Gr),c.rXU(y.Z7),c.rXU(c.SKi),c.rXU(o.yY),c.rXU(c.bc$,8),c.rXU(y.FN))}}static{this.\u0275cmp=c.VBU({type:$,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(Tt,It){2&Tt&&(c.Mr5("id",It._config.id),c.BMQ("aria-modal",It._config.ariaModal)("role",It._config.role)("aria-labelledby",It._config.ariaLabel?null:It._ariaLabelledByQueue[0])("aria-label",It._config.ariaLabel)("aria-describedby",It._config.ariaDescribedBy||null),c.AVh("_mat-animation-noopable",!It._animationsEnabled)("mat-mdc-dialog-container-with-actions",It._actionSectionCount>0))},standalone:!0,features:[c.Vt3,c.aNF],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(Tt,It){1&Tt&&(c.j41(0,"div",0)(1,"div",1),c.DNE(2,vr,0,0,"ng-template",2),c.k0s()())},dependencies:[S.I3],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return $})();const de="--mat-dialog-transition-duration";function jt($){return null==$?null:"number"==typeof $?$:$.endsWith("ms")?(0,Ct.OE)($.substring(0,$.length-2)):$.endsWith("s")?1e3*(0,Ct.OE)($.substring(0,$.length-1)):"0"===$?0:null}var De=function($){return $[$.OPEN=0]="OPEN",$[$.CLOSING=1]="CLOSING",$[$.CLOSED=2]="CLOSED",$}(De||{});class Ye{constructor(Y,it,Tt){this._ref=Y,this._containerInstance=Tt,this._afterOpened=new T.B,this._beforeClosed=new T.B,this._state=De.OPEN,this.disableClose=it.disableClose,this.id=Y.id,Y.addPanelClass("mat-mdc-dialog-panel"),Tt._animationStateChanged.pipe((0,Xt.p)(It=>"opened"===It.state),(0,oe.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Tt._animationStateChanged.pipe((0,Xt.p)(It=>"closed"===It.state),(0,oe.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Y.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Vt.h)(this.backdropClick(),this.keydownEvents().pipe((0,Xt.p)(It=>It.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(It)))).subscribe(It=>{this.disableClose||(It.preventDefault(),ft(this,"keydown"===It.type?"keyboard":"mouse"))})}close(Y){this._result=Y,this._containerInstance._animationStateChanged.pipe((0,Xt.p)(it=>"closing"===it.state),(0,oe.s)(1)).subscribe(it=>{this._beforeClosed.next(Y),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),it.totalTime+100)}),this._state=De.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Y){let it=this._ref.config.positionStrategy;return Y&&(Y.left||Y.right)?Y.left?it.left(Y.left):it.right(Y.right):it.centerHorizontally(),Y&&(Y.top||Y.bottom)?Y.top?it.top(Y.top):it.bottom(Y.bottom):it.centerVertically(),this._ref.updatePosition(),this}updateSize(Y="",it=""){return this._ref.updateSize(Y,it),this}addPanelClass(Y){return this._ref.addPanelClass(Y),this}removePanelClass(Y){return this._ref.removePanelClass(Y),this}getState(){return this._state}_finishDialogClose(){this._state=De.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function ft($,Y,it){return $._closeInteractionType=Y,$.close(it)}const pe=new c.nKC("MatMdcDialogData"),Ut=new c.nKC("mat-mdc-dialog-default-options"),Ee=new c.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const $=(0,c.WQX)(o.hJ);return()=>$.scrollStrategies.block()}});let Wt=0,Me=(()=>{class ${get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const it=this._parentDialog;return it?it._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(it,Tt,It,ye,ir,Je,er,Wr){this._overlay=it,this._defaultOptions=ye,this._scrollStrategy=ir,this._parentDialog=Je,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new T.B,this._afterOpenedAtThisLevel=new T.B,this.dialogConfigClass=Gr,this.afterAllClosed=(0,M.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,J.Z)(void 0))),this._dialog=Tt.get(at),this._dialogRefConstructor=Ye,this._dialogContainerType=Rt,this._dialogDataToken=pe}open(it,Tt){let It;(Tt={...this._defaultOptions||new Gr,...Tt}).id=Tt.id||"mat-mdc-dialog-"+Wt++,Tt.scrollStrategy=Tt.scrollStrategy||this._scrollStrategy();const ye=this._dialog.open(it,{...Tt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Tt},{provide:q,useValue:Tt}]},templateContext:()=>({dialogRef:It}),providers:(ir,Je,er)=>(It=new this._dialogRefConstructor(ir,Tt,er),It.updatePosition(Tt?.position),[{provide:this._dialogContainerType,useValue:er},{provide:this._dialogDataToken,useValue:Je.data},{provide:this._dialogRefConstructor,useValue:It}])});return It.componentRef=ye.componentRef,It.componentInstance=ye.componentInstance,this.openDialogs.push(It),this.afterOpened.next(It),It.afterClosed().subscribe(()=>{const ir=this.openDialogs.indexOf(It);ir>-1&&(this.openDialogs.splice(ir,1),this.openDialogs.length||this._getAfterAllClosed().next())}),It}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(it){return this.openDialogs.find(Tt=>Tt.id===it)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(it){let Tt=it.length;for(;Tt--;)it[Tt].close()}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.KVO(o.hJ),c.KVO(c.zZn),c.KVO(s.aZ,8),c.KVO(Ut,8),c.KVO(Ee),c.KVO($,12),c.KVO(o.Sf),c.KVO(c.bc$,8))}}static{this.\u0275prov=c.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})(),We=(()=>{class ${constructor(it,Tt,It){this.dialogRef=it,this._elementRef=Tt,this._dialog=It,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=be(this._elementRef,this._dialog.openDialogs))}ngOnChanges(it){const Tt=it._matDialogClose||it._matDialogCloseResult;Tt&&(this.dialogResult=Tt.currentValue)}_onButtonClick(it){ft(this.dialogRef,0===it.screenX&&0===it.screenY?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.rXU(Ye,8),c.rXU(c.aKT),c.rXU(Me))}}static{this.\u0275dir=c.FsC({type:$,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Tt,It){1&Tt&&c.bIt("click",function(ir){return It._onButtonClick(ir)}),2&Tt&&c.BMQ("aria-label",It.ariaLabel||null)("type",It.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[c.OA$]})}}return $})(),Or=(()=>{class ${constructor(it,Tt,It){this._dialogRef=it,this._elementRef=Tt,this._dialog=It}ngOnInit(){this._dialogRef||(this._dialogRef=be(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.rXU(Ye,8),c.rXU(c.aKT),c.rXU(Me))}}static{this.\u0275dir=c.FsC({type:$,standalone:!0})}}return $})(),dr=(()=>{class ${static{this.\u0275fac=function(Tt){return new(Tt||$)}}static{this.\u0275dir=c.FsC({type:$,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[c.nM4([Xe.uv])]})}}return $})(),Lt=(()=>{class $ extends Or{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let it;return function(It){return(it||(it=c.xGo($)))(It||$)}})()}static{this.\u0275dir=c.FsC({type:$,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(Tt,It){2&Tt&&c.AVh("mat-mdc-dialog-actions-align-start","start"===It.align)("mat-mdc-dialog-actions-align-center","center"===It.align)("mat-mdc-dialog-actions-align-end","end"===It.align)},inputs:{align:"align"},standalone:!0,features:[c.Vt3]})}}return $})();function be($,Y){let it=$.nativeElement.parentElement;for(;it&&!it.classList.contains("mat-mdc-dialog-container");)it=it.parentElement;return it?Y.find(Tt=>Tt.id===it.id):null}let Ie=(()=>{class ${static{this.\u0275fac=function(Tt){return new(Tt||$)}}static{this.\u0275mod=c.$C({type:$})}static{this.\u0275inj=c.G2t({providers:[Me],imports:[yt,o.z_,S.jc,kr.yE,kr.yE]})}}return $})()},1997:(i,a,r)=>{"use strict";r.d(a,{q:()=>y,w:()=>k});var o=r(4438),s=r(4085),c=r(6600);let y=(()=>{class S{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(T){this._vertical=(0,s.he)(T)}get inset(){return this._inset}set inset(T){this._inset=(0,s.he)(T)}static{this.\u0275fac=function(M){return new(M||S)}}static{this.\u0275cmp=o.VBU({type:S,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(M,R){2&M&&(o.BMQ("aria-orientation",R.vertical?"vertical":"horizontal"),o.AVh("mat-divider-vertical",R.vertical)("mat-divider-horizontal",!R.vertical)("mat-divider-inset",R.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[o.aNF],decls:0,vars:0,template:function(M,R){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}}return S})(),k=(()=>{class S{static{this.\u0275fac=function(M){return new(M||S)}}static{this.\u0275mod=o.$C({type:S})}static{this.\u0275inj=o.G2t({imports:[c.yE,c.yE]})}}return S})()},2102:(i,a,r)=>{"use strict";r.d(a,{xb:()=>Tt,U$:()=>It,TL:()=>Ee,rl:()=>eo,qT:()=>mt,RG:()=>Uo,MV:()=>He,nJ:()=>ft,JW:()=>Me,yw:()=>We});var o=r(4438),s=r(8203),c=r(4085),y=r(6860),k=r(177),S=r(8359),I=r(1413),T=r(7786),M=r(6977),R=r(1985),L=r(5964),J=r(4668);class q{constructor(Pr){this._box=Pr,this._destroyed=new I.B,this._resizeSubject=new I.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(re=>this._resizeSubject.next(re)))}observe(Pr){return this._elementObservables.has(Pr)||this._elementObservables.set(Pr,new R.c(re=>{const qt=this._resizeSubject.subscribe(re);return this._resizeObserver?.observe(Pr,{box:this._box}),()=>{this._resizeObserver?.unobserve(Pr),qt.unsubscribe(),this._elementObservables.delete(Pr)}}).pipe((0,L.p)(re=>re.some(qt=>qt.target===Pr)),(0,J.t)({bufferSize:1,refCount:!0}),(0,M.Q)(this._destroyed))),this._elementObservables.get(Pr)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let ct=(()=>{class fr{constructor(){this._observers=new Map,this._ngZone=(0,o.WQX)(o.SKi)}ngOnDestroy(){for(const[,re]of this._observers)re.destroy();this._observers.clear()}observe(re,qt){const Pt=qt?.box||"content-box";return this._observers.has(Pt)||this._observers.set(Pt,new q(Pt)),this._observers.get(Pt).observe(re)}static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275prov=o.jDH({token:fr,factory:fr.\u0275fac,providedIn:"root"})}}return fr})();var ht=r(9969),tt=r(2318),_t=r(6600);const Mt=["notch"],$t=["matFormFieldNotchedOutline",""],At=["*"],kt=["textField"],nt=["iconPrefixContainer"],at=["textPrefixContainer"],rt=["iconSuffixContainer"],yt=["textSuffixContainer"],Ct=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Vt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Xt(fr,Pr){1&fr&&o.nrm(0,"span",21)}function oe(fr,Pr){if(1&fr&&(o.j41(0,"label",20),o.SdG(1,1),o.DNE(2,Xt,1,0,"span",21),o.k0s()),2&fr){const re=o.XpG(2);o.Y8G("floating",re._shouldLabelFloat())("monitorResize",re._hasOutline())("id",re._labelId),o.BMQ("for",re._control.disableAutomaticLabeling?null:re._control.id),o.R7$(2),o.vxM(!re.hideRequiredMarker&&re._control.required?2:-1)}}function Xe(fr,Pr){if(1&fr&&o.DNE(0,oe,3,5,"label",20),2&fr){const re=o.XpG();o.vxM(re._hasFloatingLabel()?0:-1)}}function kr(fr,Pr){1&fr&&o.nrm(0,"div",7)}function gr(fr,Pr){}function vr(fr,Pr){if(1&fr&&o.DNE(0,gr,0,0,"ng-template",13),2&fr){o.XpG(2);const re=o.sdS(1);o.Y8G("ngTemplateOutlet",re)}}function Gr(fr,Pr){if(1&fr&&(o.j41(0,"div",9),o.DNE(1,vr,1,1,null,13),o.k0s()),2&fr){const re=o.XpG();o.Y8G("matFormFieldNotchedOutlineOpen",re._shouldLabelFloat()),o.R7$(),o.vxM(re._forceDisplayInfixLabel()?-1:1)}}function xe(fr,Pr){1&fr&&(o.j41(0,"div",10,2),o.SdG(2,2),o.k0s())}function Le(fr,Pr){1&fr&&(o.j41(0,"div",11,3),o.SdG(2,3),o.k0s())}function gt(fr,Pr){}function Nt(fr,Pr){if(1&fr&&o.DNE(0,gt,0,0,"ng-template",13),2&fr){o.XpG();const re=o.sdS(1);o.Y8G("ngTemplateOutlet",re)}}function Ae(fr,Pr){1&fr&&(o.j41(0,"div",14,4),o.SdG(2,4),o.k0s())}function Rt(fr,Pr){1&fr&&(o.j41(0,"div",15,5),o.SdG(2,5),o.k0s())}function de(fr,Pr){1&fr&&o.nrm(0,"div",16)}function jt(fr,Pr){if(1&fr&&(o.j41(0,"div",18),o.SdG(1,6),o.k0s()),2&fr){const re=o.XpG();o.Y8G("@transitionMessages",re._subscriptAnimationState)}}function De(fr,Pr){if(1&fr&&(o.j41(0,"mat-hint",22),o.EFF(1),o.k0s()),2&fr){const re=o.XpG(2);o.Y8G("id",re._hintLabelId),o.R7$(),o.JRh(re.hintLabel)}}function Ye(fr,Pr){if(1&fr&&(o.j41(0,"div",19),o.DNE(1,De,2,2,"mat-hint",22),o.SdG(2,7),o.nrm(3,"div",23),o.SdG(4,8),o.k0s()),2&fr){const re=o.XpG();o.Y8G("@transitionMessages",re._subscriptAnimationState),o.R7$(),o.vxM(re.hintLabel?1:-1)}}let ft=(()=>{class fr{static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["mat-label"]],standalone:!0})}}return fr})(),pe=0;const Ut=new o.nKC("MatError");let Ee=(()=>{class fr{constructor(re,qt){this.id="mat-mdc-error-"+pe++,re||qt.nativeElement.setAttribute("aria-live","polite")}static{this.\u0275fac=function(qt){return new(qt||fr)(o.kS0("aria-live"),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(qt,Pt){2&qt&&o.Mr5("id",Pt.id)},inputs:{id:"id"},standalone:!0,features:[o.Jv_([{provide:Ut,useExisting:fr}])]})}}return fr})(),ie=0,He=(()=>{class fr{constructor(){this.align="start",this.id="mat-mdc-hint-"+ie++}static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(qt,Pt){2&qt&&(o.Mr5("id",Pt.id),o.BMQ("align",null),o.AVh("mat-mdc-form-field-hint-end","end"===Pt.align))},inputs:{align:"align",id:"id"},standalone:!0})}}return fr})();const Wt=new o.nKC("MatPrefix");let Me=(()=>{class fr{constructor(){this._isText=!1}set _isTextSelector(re){this._isText=!0}static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[o.Jv_([{provide:Wt,useExisting:fr}])]})}}return fr})();const Fe=new o.nKC("MatSuffix");let We=(()=>{class fr{constructor(){this._isText=!1}set _isTextSelector(re){this._isText=!0}static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[o.Jv_([{provide:Fe,useExisting:fr}])]})}}return fr})();const Or=new o.nKC("FloatingLabelParent");let ko=(()=>{class fr{get floating(){return this._floating}set floating(re){this._floating=re,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(re){this._monitorResize=re,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(re){this._elementRef=re,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,o.WQX)(ct),this._ngZone=(0,o.WQX)(o.SKi),this._parent=(0,o.WQX)(Or),this._resizeSubscription=new S.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function dr(fr){if(null!==fr.offsetParent)return fr.scrollWidth;const re=fr.cloneNode(!0);re.style.setProperty("position","absolute"),re.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(re);const qt=re.scrollWidth;return re.remove(),qt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(qt){return new(qt||fr)(o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(qt,Pt){2&qt&&o.AVh("mdc-floating-label--float-above",Pt.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return fr})();const Lt="mdc-line-ripple--active",be="mdc-line-ripple--deactivating";let se=(()=>{class fr{constructor(re,qt){this._elementRef=re,this._handleTransitionEnd=Pt=>{const ue=this._elementRef.nativeElement.classList,mr=ue.contains(be);"opacity"===Pt.propertyName&&mr&&ue.remove(Lt,be)},qt.runOutsideAngular(()=>{re.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const re=this._elementRef.nativeElement.classList;re.remove(be),re.add(Lt)}deactivate(){this._elementRef.nativeElement.classList.add(be)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(qt){return new(qt||fr)(o.rXU(o.aKT),o.rXU(o.SKi))}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return fr})(),Ie=(()=>{class fr{constructor(re,qt){this._elementRef=re,this._ngZone=qt,this.open=!1}ngAfterViewInit(){const re=this._elementRef.nativeElement.querySelector(".mdc-floating-label");re?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(re.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>re.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(re){this._notch.nativeElement.style.width=this.open&&re?`calc(${re}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static{this.\u0275fac=function(qt){return new(qt||fr)(o.rXU(o.aKT),o.rXU(o.SKi))}}static{this.\u0275cmp=o.VBU({type:fr,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(qt,Pt){if(1&qt&&o.GBs(Mt,5),2&qt){let ue;o.mGM(ue=o.lsd())&&(Pt._notch=ue.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(qt,Pt){2&qt&&o.AVh("mdc-notched-outline--notched",Pt.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[o.aNF],attrs:$t,ngContentSelectors:At,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(qt,Pt){1&qt&&(o.NAR(),o.nrm(0,"div",1),o.j41(1,"div",2,0),o.SdG(3),o.k0s(),o.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}}return fr})();const br={transitionMessages:(0,ht.hZ)("transitionMessages",[(0,ht.wk)("enter",(0,ht.iF)({opacity:1,transform:"translateY(0%)"})),(0,ht.kY)("void => enter",[(0,ht.iF)({opacity:0,transform:"translateY(-5px)"}),(0,ht.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let mt=(()=>{class fr{static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr})}}return fr})();const Tt=new o.nKC("MatFormField"),It=new o.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let ye=0,eo=(()=>{class fr{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(re){this._hideRequiredMarker=(0,c.he)(re)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(re){re!==this._floatLabel&&(this._floatLabel=re,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(re){const qt=this._appearance;this._appearance=re||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==qt&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(re){this._subscriptSizing=re||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(re){this._hintLabel=re,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(re){this._explicitFormFieldControl=re}constructor(re,qt,Pt,ue,mr,Qr,Ro,Ko){this._elementRef=re,this._changeDetectorRef=qt,this._dir=ue,this._platform=mr,this._defaults=Qr,this._animationMode=Ro,this._labelChild=(0,o.sbv)(ft),this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+ye++,this._hintLabelId="mat-mdc-hint-"+ye++,this._subscriptAnimationState="",this._destroyed=new I.B,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=(0,o.WQX)(o.zZn),this.getLabelId=(0,o.EWP)(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=(0,o.EWP)(()=>!!this._labelChild()),Qr&&(Qr.appearance&&(this.appearance=Qr.appearance),this._hideRequiredMarker=!!Qr?.hideRequiredMarker,Qr.color&&(this.color=Qr.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(re){const qt=this._control,Pt="mat-mdc-form-field-type-";re&&this._elementRef.nativeElement.classList.remove(Pt+re.controlType),qt.controlType&&this._elementRef.nativeElement.classList.add(Pt+qt.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=qt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),qt.ngControl&&qt.ngControl.valueChanges&&(this._valueChanges=qt.ngControl.valueChanges.pipe((0,M.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(re=>!re._isText),this._hasTextPrefix=!!this._prefixChildren.find(re=>re._isText),this._hasIconSuffix=!!this._suffixChildren.find(re=>!re._isText),this._hasTextSuffix=!!this._suffixChildren.find(re=>re._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,T.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),(0,o.Tzd)(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe((0,M.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(re){const qt=this._control?this._control.ngControl:null;return qt&&qt[re]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let re=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&re.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const qt=this._hintChildren?this._hintChildren.find(ue=>"start"===ue.align):null,Pt=this._hintChildren?this._hintChildren.find(ue=>"end"===ue.align):null;qt?re.push(qt.id):this._hintLabel&&re.push(this._hintLabelId),Pt&&re.push(Pt.id)}else this._errorChildren&&re.push(...this._errorChildren.map(qt=>qt.id));this._control.setDescribedByIds(re)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;const re=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(re.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdate=!0);const qt=this._iconPrefixContainer?.nativeElement,Pt=this._textPrefixContainer?.nativeElement,ue=this._iconSuffixContainer?.nativeElement,mr=this._textSuffixContainer?.nativeElement,Qr=qt?.getBoundingClientRect().width??0,Ro=Pt?.getBoundingClientRect().width??0,Ko=ue?.getBoundingClientRect().width??0,tr=mr?.getBoundingClientRect().width??0;re.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Qr+Ro}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`,this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${Qr+Ro+Ko+tr}px)`)}_isAttachedToDom(){const re=this._elementRef.nativeElement;if(re.getRootNode){const qt=re.getRootNode();return qt&&qt!==re}return document.documentElement.contains(re)}static{this.\u0275fac=function(qt){return new(qt||fr)(o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(o.SKi),o.rXU(s.dS),o.rXU(y.OD),o.rXU(It,8),o.rXU(o.bc$,8),o.rXU(k.qQ))}}static{this.\u0275cmp=o.VBU({type:fr,selectors:[["mat-form-field"]],contentQueries:function(qt,Pt,ue){if(1&qt&&(o.C6U(ue,Pt._labelChild,ft,5),o.wni(ue,mt,5),o.wni(ue,Wt,5),o.wni(ue,Fe,5),o.wni(ue,Ut,5),o.wni(ue,He,5)),2&qt){let mr;o.NyB(),o.mGM(mr=o.lsd())&&(Pt._formFieldControl=mr.first),o.mGM(mr=o.lsd())&&(Pt._prefixChildren=mr),o.mGM(mr=o.lsd())&&(Pt._suffixChildren=mr),o.mGM(mr=o.lsd())&&(Pt._errorChildren=mr),o.mGM(mr=o.lsd())&&(Pt._hintChildren=mr)}},viewQuery:function(qt,Pt){if(1&qt&&(o.GBs(kt,5),o.GBs(nt,5),o.GBs(at,5),o.GBs(rt,5),o.GBs(yt,5),o.GBs(ko,5),o.GBs(Ie,5),o.GBs(se,5)),2&qt){let ue;o.mGM(ue=o.lsd())&&(Pt._textField=ue.first),o.mGM(ue=o.lsd())&&(Pt._iconPrefixContainer=ue.first),o.mGM(ue=o.lsd())&&(Pt._textPrefixContainer=ue.first),o.mGM(ue=o.lsd())&&(Pt._iconSuffixContainer=ue.first),o.mGM(ue=o.lsd())&&(Pt._textSuffixContainer=ue.first),o.mGM(ue=o.lsd())&&(Pt._floatingLabel=ue.first),o.mGM(ue=o.lsd())&&(Pt._notchedOutline=ue.first),o.mGM(ue=o.lsd())&&(Pt._lineRipple=ue.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(qt,Pt){2&qt&&o.AVh("mat-mdc-form-field-label-always-float",Pt._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Pt._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Pt._hasIconSuffix)("mat-form-field-invalid",Pt._control.errorState)("mat-form-field-disabled",Pt._control.disabled)("mat-form-field-autofilled",Pt._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Pt._animationMode)("mat-form-field-appearance-fill","fill"==Pt.appearance)("mat-form-field-appearance-outline","outline"==Pt.appearance)("mat-form-field-hide-placeholder",Pt._hasFloatingLabel()&&!Pt._shouldLabelFloat())("mat-focused",Pt._control.focused)("mat-primary","accent"!==Pt.color&&"warn"!==Pt.color)("mat-accent","accent"===Pt.color)("mat-warn","warn"===Pt.color)("ng-untouched",Pt._shouldForward("untouched"))("ng-touched",Pt._shouldForward("touched"))("ng-pristine",Pt._shouldForward("pristine"))("ng-dirty",Pt._shouldForward("dirty"))("ng-valid",Pt._shouldForward("valid"))("ng-invalid",Pt._shouldForward("invalid"))("ng-pending",Pt._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[o.Jv_([{provide:Tt,useExisting:fr},{provide:Or,useExisting:fr}]),o.aNF],ngContentSelectors:Vt,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(qt,Pt){if(1&qt){const ue=o.RV6();o.NAR(Ct),o.DNE(0,Xe,1,1,"ng-template",null,0,o.C5r),o.j41(2,"div",6,1),o.bIt("click",function(Qr){return o.eBV(ue),o.Njj(Pt._control.onContainerClick(Qr))}),o.DNE(4,kr,1,0,"div",7),o.j41(5,"div",8),o.DNE(6,Gr,2,2,"div",9)(7,xe,3,0,"div",10)(8,Le,3,0,"div",11),o.j41(9,"div",12),o.DNE(10,Nt,1,1,null,13),o.SdG(11),o.k0s(),o.DNE(12,Ae,3,0,"div",14)(13,Rt,3,0,"div",15),o.k0s(),o.DNE(14,de,1,0,"div",16),o.k0s(),o.j41(15,"div",17),o.DNE(16,jt,2,1,"div",18)(17,Ye,5,2,"div",19),o.k0s()}if(2&qt){let ue;o.R7$(2),o.AVh("mdc-text-field--filled",!Pt._hasOutline())("mdc-text-field--outlined",Pt._hasOutline())("mdc-text-field--no-label",!Pt._hasFloatingLabel())("mdc-text-field--disabled",Pt._control.disabled)("mdc-text-field--invalid",Pt._control.errorState),o.R7$(2),o.vxM(Pt._hasOutline()||Pt._control.disabled?-1:4),o.R7$(2),o.vxM(Pt._hasOutline()?6:-1),o.R7$(),o.vxM(Pt._hasIconPrefix?7:-1),o.R7$(),o.vxM(Pt._hasTextPrefix?8:-1),o.R7$(2),o.vxM(!Pt._hasOutline()||Pt._forceDisplayInfixLabel()?10:-1),o.R7$(2),o.vxM(Pt._hasTextSuffix?12:-1),o.R7$(),o.vxM(Pt._hasIconSuffix?13:-1),o.R7$(),o.vxM(Pt._hasOutline()?-1:14),o.R7$(),o.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Pt.subscriptSizing),o.R7$(),o.vxM("error"===(ue=Pt._getDisplayedMessages())?16:"hint"===ue?17:-1)}},dependencies:[ko,Ie,k.T3,se,He],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[br.transitionMessages]},changeDetection:0})}}return fr})(),Uo=(()=>{class fr{static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275mod=o.$C({type:fr})}static{this.\u0275inj=o.G2t({imports:[_t.yE,k.MD,tt.w5,_t.yE]})}}return fr})()},9213:(i,a,r)=>{"use strict";r.d(a,{An:()=>Le,m_:()=>gt,tp:()=>rt});var o=r(4438),s=r(6600),c=r(177),y=r(7673),k=r(8810),S=r(7468),I=r(8359),T=r(8141),M=r(6354),R=r(9437),L=r(980),J=r(7647),W=r(6697),q=r(1626),ct=r(345);const ht=["*"];let tt;function Mt(Nt){return function _t(){if(void 0===tt&&(tt=null,typeof window<"u")){const Nt=window;void 0!==Nt.trustedTypes&&(tt=Nt.trustedTypes.createPolicy("angular#components",{createHTML:Ae=>Ae}))}return tt}()?.createHTML(Nt)||Nt}function $t(Nt){return Error(`Unable to find icon with the name "${Nt}"`)}function kt(Nt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Nt}".`)}function nt(Nt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Nt}".`)}class at{constructor(Ae,Rt,de){this.url=Ae,this.svgText=Rt,this.options=de}}let rt=(()=>{class Nt{constructor(Rt,de,jt,De){this._httpClient=Rt,this._sanitizer=de,this._errorHandler=De,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=jt}addSvgIcon(Rt,de,jt){return this.addSvgIconInNamespace("",Rt,de,jt)}addSvgIconLiteral(Rt,de,jt){return this.addSvgIconLiteralInNamespace("",Rt,de,jt)}addSvgIconInNamespace(Rt,de,jt,De){return this._addSvgIconConfig(Rt,de,new at(jt,null,De))}addSvgIconResolver(Rt){return this._resolvers.push(Rt),this}addSvgIconLiteralInNamespace(Rt,de,jt,De){const Ye=this._sanitizer.sanitize(o.WPN.HTML,jt);if(!Ye)throw nt(jt);const ft=Mt(Ye);return this._addSvgIconConfig(Rt,de,new at("",ft,De))}addSvgIconSet(Rt,de){return this.addSvgIconSetInNamespace("",Rt,de)}addSvgIconSetLiteral(Rt,de){return this.addSvgIconSetLiteralInNamespace("",Rt,de)}addSvgIconSetInNamespace(Rt,de,jt){return this._addSvgIconSetConfig(Rt,new at(de,null,jt))}addSvgIconSetLiteralInNamespace(Rt,de,jt){const De=this._sanitizer.sanitize(o.WPN.HTML,de);if(!De)throw nt(de);const Ye=Mt(De);return this._addSvgIconSetConfig(Rt,new at("",Ye,jt))}registerFontClassAlias(Rt,de=Rt){return this._fontCssClassesByAlias.set(Rt,de),this}classNameForFontAlias(Rt){return this._fontCssClassesByAlias.get(Rt)||Rt}setDefaultFontSetClass(...Rt){return this._defaultFontSetClass=Rt,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Rt){const de=this._sanitizer.sanitize(o.WPN.RESOURCE_URL,Rt);if(!de)throw kt(Rt);const jt=this._cachedIconsByUrl.get(de);return jt?(0,y.of)(Vt(jt)):this._loadSvgIconFromConfig(new at(Rt,null)).pipe((0,T.M)(De=>this._cachedIconsByUrl.set(de,De)),(0,M.T)(De=>Vt(De)))}getNamedSvgIcon(Rt,de=""){const jt=Xt(de,Rt);let De=this._svgIconConfigs.get(jt);if(De)return this._getSvgFromConfig(De);if(De=this._getIconConfigFromResolvers(de,Rt),De)return this._svgIconConfigs.set(jt,De),this._getSvgFromConfig(De);const Ye=this._iconSetConfigs.get(de);return Ye?this._getSvgFromIconSetConfigs(Rt,Ye):(0,k.$)($t(jt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Rt){return Rt.svgText?(0,y.of)(Vt(this._svgElementFromConfig(Rt))):this._loadSvgIconFromConfig(Rt).pipe((0,M.T)(de=>Vt(de)))}_getSvgFromIconSetConfigs(Rt,de){const jt=this._extractIconWithNameFromAnySet(Rt,de);if(jt)return(0,y.of)(jt);const De=de.filter(Ye=>!Ye.svgText).map(Ye=>this._loadSvgIconSetFromConfig(Ye).pipe((0,R.W)(ft=>{const Ut=`Loading icon set URL: ${this._sanitizer.sanitize(o.WPN.RESOURCE_URL,Ye.url)} failed: ${ft.message}`;return this._errorHandler.handleError(new Error(Ut)),(0,y.of)(null)})));return(0,S.p)(De).pipe((0,M.T)(()=>{const Ye=this._extractIconWithNameFromAnySet(Rt,de);if(!Ye)throw $t(Rt);return Ye}))}_extractIconWithNameFromAnySet(Rt,de){for(let jt=de.length-1;jt>=0;jt--){const De=de[jt];if(De.svgText&&De.svgText.toString().indexOf(Rt)>-1){const Ye=this._svgElementFromConfig(De),ft=this._extractSvgIconFromSet(Ye,Rt,De.options);if(ft)return ft}}return null}_loadSvgIconFromConfig(Rt){return this._fetchIcon(Rt).pipe((0,T.M)(de=>Rt.svgText=de),(0,M.T)(()=>this._svgElementFromConfig(Rt)))}_loadSvgIconSetFromConfig(Rt){return Rt.svgText?(0,y.of)(null):this._fetchIcon(Rt).pipe((0,T.M)(de=>Rt.svgText=de))}_extractSvgIconFromSet(Rt,de,jt){const De=Rt.querySelector(`[id="${de}"]`);if(!De)return null;const Ye=De.cloneNode(!0);if(Ye.removeAttribute("id"),"svg"===Ye.nodeName.toLowerCase())return this._setSvgAttributes(Ye,jt);if("symbol"===Ye.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Ye),jt);const ft=this._svgElementFromString(Mt(""));return ft.appendChild(Ye),this._setSvgAttributes(ft,jt)}_svgElementFromString(Rt){const de=this._document.createElement("DIV");de.innerHTML=Rt;const jt=de.querySelector("svg");if(!jt)throw Error(" tag not found");return jt}_toSvgElement(Rt){const de=this._svgElementFromString(Mt("")),jt=Rt.attributes;for(let De=0;DeMt(Ut)),(0,L.j)(()=>this._inProgressUrlFetches.delete(Ye)),(0,J.u)());return this._inProgressUrlFetches.set(Ye,pe),pe}_addSvgIconConfig(Rt,de,jt){return this._svgIconConfigs.set(Xt(Rt,de),jt),this}_addSvgIconSetConfig(Rt,de){const jt=this._iconSetConfigs.get(Rt);return jt?jt.push(de):this._iconSetConfigs.set(Rt,[de]),this}_svgElementFromConfig(Rt){if(!Rt.svgElement){const de=this._svgElementFromString(Rt.svgText);this._setSvgAttributes(de,Rt.options),Rt.svgElement=de}return Rt.svgElement}_getIconConfigFromResolvers(Rt,de){for(let jt=0;jtAe?Ae.pathname+Ae.search:""}}}),vr=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Gr=vr.map(Nt=>`[${Nt}]`).join(", "),xe=/^url\(['"]?#(.*?)['"]?\)$/;let Le=(()=>{class Nt{get color(){return this._color||this._defaultColor}set color(Rt){this._color=Rt}get svgIcon(){return this._svgIcon}set svgIcon(Rt){Rt!==this._svgIcon&&(Rt?this._updateSvgIcon(Rt):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Rt)}get fontSet(){return this._fontSet}set fontSet(Rt){const de=this._cleanupFontValue(Rt);de!==this._fontSet&&(this._fontSet=de,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Rt){const de=this._cleanupFontValue(Rt);de!==this._fontIcon&&(this._fontIcon=de,this._updateFontIconClasses())}constructor(Rt,de,jt,De,Ye,ft){this._elementRef=Rt,this._iconRegistry=de,this._location=De,this._errorHandler=Ye,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=I.yU.EMPTY,ft&&(ft.color&&(this.color=this._defaultColor=ft.color),ft.fontSet&&(this.fontSet=ft.fontSet)),jt||Rt.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Rt){if(!Rt)return["",""];const de=Rt.split(":");switch(de.length){case 1:return["",de[0]];case 2:return de;default:throw Error(`Invalid icon name: "${Rt}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Rt=this._elementsWithExternalReferences;if(Rt&&Rt.size){const de=this._location.getPathname();de!==this._previousPath&&(this._previousPath=de,this._prependPathToReferences(de))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Rt){this._clearSvgElement();const de=this._location.getPathname();this._previousPath=de,this._cacheChildrenWithExternalReferences(Rt),this._prependPathToReferences(de),this._elementRef.nativeElement.appendChild(Rt)}_clearSvgElement(){const Rt=this._elementRef.nativeElement;let de=Rt.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();de--;){const jt=Rt.childNodes[de];(1!==jt.nodeType||"svg"===jt.nodeName.toLowerCase())&&jt.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Rt=this._elementRef.nativeElement,de=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(jt=>jt.length>0);this._previousFontSetClass.forEach(jt=>Rt.classList.remove(jt)),de.forEach(jt=>Rt.classList.add(jt)),this._previousFontSetClass=de,this.fontIcon!==this._previousFontIconClass&&!de.includes("mat-ligature-font")&&(this._previousFontIconClass&&Rt.classList.remove(this._previousFontIconClass),this.fontIcon&&Rt.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Rt){return"string"==typeof Rt?Rt.trim().split(" ")[0]:Rt}_prependPathToReferences(Rt){const de=this._elementsWithExternalReferences;de&&de.forEach((jt,De)=>{jt.forEach(Ye=>{De.setAttribute(Ye.name,`url('${Rt}#${Ye.value}')`)})})}_cacheChildrenWithExternalReferences(Rt){const de=Rt.querySelectorAll(Gr),jt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let De=0;De{const ft=de[De],pe=ft.getAttribute(Ye),Ut=pe?pe.match(xe):null;if(Ut){let Ee=jt.get(ft);Ee||(Ee=[],jt.set(ft,Ee)),Ee.push({name:Ye,value:Ut[1]})}})}_updateSvgIcon(Rt){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Rt){const[de,jt]=this._splitIconName(Rt);de&&(this._svgNamespace=de),jt&&(this._svgName=jt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(jt,de).pipe((0,W.s)(1)).subscribe(De=>this._setSvgElement(De),De=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${de}:${jt}! ${De.message}`))})}}static{this.\u0275fac=function(de){return new(de||Nt)(o.rXU(o.aKT),o.rXU(rt),o.kS0("aria-hidden"),o.rXU(kr),o.rXU(o.zcH),o.rXU(Xe,8))}}static{this.\u0275cmp=o.VBU({type:Nt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(de,jt){2&de&&(o.BMQ("data-mat-icon-type",jt._usingFontIcon()?"font":"svg")("data-mat-icon-name",jt._svgName||jt.fontIcon)("data-mat-icon-namespace",jt._svgNamespace||jt.fontSet)("fontIcon",jt._usingFontIcon()?jt.fontIcon:null),o.HbH(jt.color?"mat-"+jt.color:""),o.AVh("mat-icon-inline",jt.inline)("mat-icon-no-color","primary"!==jt.color&&"accent"!==jt.color&&"warn"!==jt.color))},inputs:{color:"color",inline:[2,"inline","inline",o.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[o.GFd,o.aNF],ngContentSelectors:ht,decls:1,vars:0,template:function(de,jt){1&de&&(o.NAR(),o.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return Nt})(),gt=(()=>{class Nt{static{this.\u0275fac=function(de){return new(de||Nt)}}static{this.\u0275mod=o.$C({type:Nt})}static{this.\u0275inj=o.G2t({imports:[s.yE,s.yE]})}}return Nt})()},9042:(i,a,r)=>{"use strict";r.d(a,{fS:()=>q,fg:()=>W});var o=r(4085),s=r(6860),c=r(7403),y=r(4438),k=r(9417),S=r(6600),I=r(2102),T=r(1413);const R=new y.nKC("MAT_INPUT_VALUE_ACCESSOR"),L=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let J=0,W=(()=>{class ct{get disabled(){return this._disabled}set disabled(tt){this._disabled=(0,o.he)(tt),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(tt){this._id=tt||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(k.k0.required)??!1}set required(tt){this._required=(0,o.he)(tt)}get type(){return this._type}set type(tt){this._type=tt||"text",this._validateType(),!this._isTextarea&&(0,s.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(tt){this._errorStateTracker.matcher=tt}get value(){return this._inputValueAccessor.value}set value(tt){tt!==this.value&&(this._inputValueAccessor.value=tt,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(tt){this._readonly=(0,o.he)(tt)}get errorState(){return this._errorStateTracker.errorState}set errorState(tt){this._errorStateTracker.errorState=tt}constructor(tt,_t,Mt,$t,At,kt,nt,at,rt,yt){this._elementRef=tt,this._platform=_t,this.ngControl=Mt,this._autofillMonitor=at,this._ngZone=rt,this._formField=yt,this._uid="mat-input-"+J++,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new T.B,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Xt=>(0,s.MU)().has(Xt)),this._iOSKeyupListener=Xt=>{const oe=Xt.target;!oe.value&&0===oe.selectionStart&&0===oe.selectionEnd&&(oe.setSelectionRange(1,1),oe.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};const Ct=this._elementRef.nativeElement,Vt=Ct.nodeName.toLowerCase();this._inputValueAccessor=nt||Ct,this._previousNativeValue=this.value,this.id=this.id,_t.IOS&&rt.runOutsideAngular(()=>{tt.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new S.X0(kt,Mt,At,$t,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Vt,this._isTextarea="textarea"===Vt,this._isInFormField=!!yt,this._isNativeSelect&&(this.controlType=Ct.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(tt=>{this.autofilled=tt.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(tt){this._elementRef.nativeElement.focus(tt)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(tt){tt!==this.focused&&(this.focused=tt,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const tt=this._elementRef.nativeElement.value;this._previousNativeValue!==tt&&(this._previousNativeValue=tt,this.stateChanges.next())}_dirtyCheckPlaceholder(){const tt=this._getPlaceholder();if(tt!==this._previousPlaceholder){const _t=this._elementRef.nativeElement;this._previousPlaceholder=tt,tt?_t.setAttribute("placeholder",tt):_t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){L.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let tt=this._elementRef.nativeElement.validity;return tt&&tt.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const tt=this._elementRef.nativeElement,_t=tt.options[0];return this.focused||tt.multiple||!this.empty||!!(tt.selectedIndex>-1&&_t&&_t.label)}return this.focused||!this.empty}setDescribedByIds(tt){tt.length?this._elementRef.nativeElement.setAttribute("aria-describedby",tt.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const tt=this._elementRef.nativeElement;return this._isNativeSelect&&(tt.multiple||tt.size>1)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&"number"===this._type&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&"number"!==this._type&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}static{this.\u0275fac=function(_t){return new(_t||ct)(y.rXU(y.aKT),y.rXU(s.OD),y.rXU(k.vO,10),y.rXU(k.cV,8),y.rXU(k.j4,8),y.rXU(S.es),y.rXU(R,10),y.rXU(c.P8),y.rXU(y.SKi),y.rXU(I.xb,8))}}static{this.\u0275dir=y.FsC({type:ct,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(_t,Mt){1&_t&&y.bIt("focus",function(){return Mt._focusChanged(!0)})("blur",function(){return Mt._focusChanged(!1)})("input",function(){return Mt._onInput()}),2&_t&&(y.Mr5("id",Mt.id)("disabled",Mt.disabled)("required",Mt.required),y.BMQ("name",Mt.name||null)("readonly",Mt.readonly&&!Mt._isNativeSelect||null)("aria-invalid",Mt.empty&&Mt.required?null:Mt.errorState)("aria-required",Mt.required)("id",Mt.id),y.AVh("mat-input-server",Mt._isServer)("mat-mdc-form-field-textarea-control",Mt._isInFormField&&Mt._isTextarea)("mat-mdc-form-field-input-control",Mt._isInFormField)("mdc-text-field__input",Mt._isInFormField)("mat-mdc-native-select-inline",Mt._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[y.Jv_([{provide:I.qT,useExisting:ct}]),y.OA$]})}}return ct})(),q=(()=>{class ct{static{this.\u0275fac=function(_t){return new(_t||ct)}}static{this.\u0275mod=y.$C({type:ct})}static{this.\u0275inj=y.G2t({imports:[S.yE,I.RG,I.RG,c.EE,S.yE]})}}return ct})()},9115:(i,a,r)=>{"use strict";r.d(a,{Cn:()=>Ee,Cp:()=>Ut,fb:()=>oe,kk:()=>de});var o=r(4438),s=r(9888),c=r(7336),y=r(1413),k=r(7786),S=r(8359),I=r(7673),T=r(5007),M=r(9172),R=r(5558),L=r(6977),J=r(5964),W=r(6697),q=r(1986),ct=r(177),ht=r(6600),tt=r(6939),_t=r(9969),Mt=r(8203),$t=r(7987),At=r(6860),kt=r(5542);const nt=["mat-menu-item",""],at=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],rt=["mat-icon, [matMenuItemIcon]","*"];function yt(ie,He){1&ie&&(o.qSk(),o.j41(0,"svg",2),o.nrm(1,"polygon",3),o.k0s())}const Ct=["*"];function Vt(ie,He){if(1&ie){const Wt=o.RV6();o.j41(0,"div",0),o.bIt("keydown",function(Fe){o.eBV(Wt);const We=o.XpG();return o.Njj(We._handleKeydown(Fe))})("click",function(){o.eBV(Wt);const Fe=o.XpG();return o.Njj(Fe.closed.emit("click"))})("@transformMenu.start",function(Fe){o.eBV(Wt);const We=o.XpG();return o.Njj(We._onAnimationStart(Fe))})("@transformMenu.done",function(Fe){o.eBV(Wt);const We=o.XpG();return o.Njj(We._onAnimationDone(Fe))}),o.j41(1,"div",1),o.SdG(2),o.k0s()()}if(2&ie){const Wt=o.XpG();o.HbH(Wt._classList),o.Y8G("id",Wt.panelId)("@transformMenu",Wt._panelAnimationState),o.BMQ("aria-label",Wt.ariaLabel||null)("aria-labelledby",Wt.ariaLabelledby||null)("aria-describedby",Wt.ariaDescribedby||null)}}const Xt=new o.nKC("MAT_MENU_PANEL");let oe=(()=>{class ie{constructor(Wt,Me,Fe,We,Or){this._elementRef=Wt,this._document=Me,this._focusMonitor=Fe,this._parentMenu=We,this._changeDetectorRef=Or,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new y.B,this._focused=new y.B,this._highlighted=!1,this._triggersSubmenu=!1,We?.addItem?.(this)}focus(Wt,Me){this._focusMonitor&&Wt?this._focusMonitor.focusVia(this._getHostElement(),Wt,Me):this._getHostElement().focus(Me),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Wt){this.disabled&&(Wt.preventDefault(),Wt.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Wt=this._elementRef.nativeElement.cloneNode(!0),Me=Wt.querySelectorAll("mat-icon, .material-icons");for(let Fe=0;Fe enter",(0,_t.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,_t.iF)({opacity:1,transform:"scale(1)"}))),(0,_t.kY)("* => void",(0,_t.i0)("100ms 25ms linear",(0,_t.iF)({opacity:0})))]),fadeInItems:(0,_t.hZ)("fadeInItems",[(0,_t.wk)("showing",(0,_t.iF)({opacity:1})),(0,_t.kY)("void => *",[(0,_t.iF)({opacity:0}),(0,_t.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Nt=0;const Ae=new o.nKC("mat-menu-default-options",{providedIn:"root",factory:function Rt(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let de=(()=>{class ie{get xPosition(){return this._xPosition}set xPosition(Wt){this._xPosition=Wt,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Wt){this._yPosition=Wt,this.setPositionClasses()}set panelClass(Wt){const Me=this._previousPanelClass,Fe={...this._classList};Me&&Me.length&&Me.split(" ").forEach(We=>{Fe[We]=!1}),this._previousPanelClass=Wt,Wt&&Wt.length&&(Wt.split(" ").forEach(We=>{Fe[We]=!0}),this._elementRef.nativeElement.className=""),this._classList=Fe}get classList(){return this.panelClass}set classList(Wt){this.panelClass=Wt}constructor(Wt,Me,Fe,We){this._elementRef=Wt,this._changeDetectorRef=We,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new o.rOR,this._classList={},this._panelAnimationState="void",this._animationDone=new y.B,this.closed=new o.bkB,this.close=this.closed,this.panelId="mat-menu-panel-"+Nt++,this._injector=(0,o.WQX)(o.zZn),this.overlayPanelClass=Fe.overlayPanelClass||"",this._xPosition=Fe.xPosition,this._yPosition=Fe.yPosition,this.backdropClass=Fe.backdropClass,this.overlapTrigger=Fe.overlapTrigger,this.hasBackdrop=Fe.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new s.Bu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,M.Z)(this._directDescendantItems),(0,R.n)(Wt=>(0,k.h)(...Wt.map(Me=>Me._focused)))).subscribe(Wt=>this._keyManager.updateActiveItem(Wt)),this._directDescendantItems.changes.subscribe(Wt=>{const Me=this._keyManager;if("enter"===this._panelAnimationState&&Me.activeItem?._hasFocus()){const Fe=Wt.toArray(),We=Math.max(0,Math.min(Fe.length-1,Me.activeItemIndex||0));Fe[We]&&!Fe[We].disabled?Me.setActiveItem(We):Me.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe((0,M.Z)(this._directDescendantItems),(0,R.n)(Me=>(0,k.h)(...Me.map(Fe=>Fe._hovered))))}addItem(Wt){}removeItem(Wt){}_handleKeydown(Wt){const Me=Wt.keyCode,Fe=this._keyManager;switch(Me){case c._f:(0,c.rp)(Wt)||(Wt.preventDefault(),this.closed.emit("keydown"));break;case c.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case c.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Me===c.i7||Me===c.n6)&&Fe.setFocusOrigin("keyboard"),void Fe.onKeydown(Wt)}Wt.stopPropagation()}focusFirstItem(Wt="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,o.mal)(()=>{let Me=null;if(this._directDescendantItems.length&&(Me=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Me||!Me.contains(document.activeElement)){const Fe=this._keyManager;Fe.setFocusOrigin(Wt).setFirstItemActive(),!Fe.activeItem&&Me&&Me.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Wt){if(null===this._baseElevation){const ko=("function"==typeof getComputedStyle?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(ko)}const Me=Math.min(this._baseElevation+Wt,24),Fe=`${this._elevationPrefix}${Me}`,We=Object.keys(this._classList).find(Or=>Or.startsWith(this._elevationPrefix));if(!We||We===this._previousElevation){const Or={...this._classList};this._previousElevation&&(Or[this._previousElevation]=!1),Or[Fe]=!0,this._previousElevation=Fe,this._classList=Or}}setPositionClasses(Wt=this.xPosition,Me=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===Wt,"mat-menu-after":"after"===Wt,"mat-menu-above":"above"===Me,"mat-menu-below":"below"===Me},this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Wt){this._animationDone.next(Wt),this._isAnimating=!1}_onAnimationStart(Wt){this._isAnimating=!0,"enter"===Wt.toState&&0===this._keyManager.activeItemIndex&&(Wt.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,M.Z)(this._allItems)).subscribe(Wt=>{this._directDescendantItems.reset(Wt.filter(Me=>Me._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(Me){return new(Me||ie)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(Ae),o.rXU(o.gRc))}}static{this.\u0275cmp=o.VBU({type:ie,selectors:[["mat-menu"]],contentQueries:function(Me,Fe,We){if(1&Me&&(o.wni(We,vr,5),o.wni(We,oe,5),o.wni(We,oe,4)),2&Me){let Or;o.mGM(Or=o.lsd())&&(Fe.lazyContent=Or.first),o.mGM(Or=o.lsd())&&(Fe._allItems=Or),o.mGM(Or=o.lsd())&&(Fe.items=Or)}},viewQuery:function(Me,Fe){if(1&Me&&o.GBs(o.C4Q,5),2&Me){let We;o.mGM(We=o.lsd())&&(Fe.templateRef=We.first)}},hostVars:3,hostBindings:function(Me,Fe){2&Me&&o.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",o.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",Wt=>null==Wt?null:(0,o.L39)(Wt)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[o.Jv_([{provide:Xt,useExisting:ie}]),o.GFd,o.aNF],ngContentSelectors:Ct,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(Me,Fe){1&Me&&(o.NAR(),o.DNE(0,Vt,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-app-surface-container));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-app-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-app-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[xe.transformMenu,xe.fadeInItems]},changeDetection:0})}}return ie})();const jt=new o.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const ie=(0,o.WQX)($t.hJ);return()=>ie.scrollStrategies.reposition()}}),Ye={provide:jt,deps:[$t.hJ],useFactory:function De(ie){return()=>ie.scrollStrategies.reposition()}},ft=(0,At.BQ)({passive:!0});let Ut=(()=>{class ie{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Wt){this.menu=Wt}get menu(){return this._menu}set menu(Wt){Wt!==this._menu&&(this._menu=Wt,this._menuCloseSubscription.unsubscribe(),Wt&&(this._menuCloseSubscription=Wt.close.subscribe(Me=>{this._destroyMenu(Me),("click"===Me||"tab"===Me)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Me)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Wt,Me,Fe,We,Or,ko,dr,Lt,be){this._overlay=Wt,this._element=Me,this._viewContainerRef=Fe,this._menuItemInstance=ko,this._dir=dr,this._focusMonitor=Lt,this._ngZone=be,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=S.yU.EMPTY,this._hoverSubscription=S.yU.EMPTY,this._menuCloseSubscription=S.yU.EMPTY,this._changeDetectorRef=(0,o.WQX)(o.gRc),this._handleTouchStart=se=>{(0,s.w6)(se)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.bkB,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.bkB,this.onMenuClose=this.menuClosed,this._scrollStrategy=We,this._parentMaterialMenu=Or instanceof de?Or:void 0,Me.nativeElement.addEventListener("touchstart",this._handleTouchStart,ft)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,ft),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const Wt=this.menu;if(this._menuOpen||!Wt)return;const Me=this._createOverlay(Wt),Fe=Me.getConfig(),We=Fe.positionStrategy;this._setPosition(Wt,We),Fe.hasBackdrop=null==Wt.hasBackdrop?!this.triggersSubmenu():Wt.hasBackdrop,Me.attach(this._getPortal(Wt)),Wt.lazyContent&&Wt.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Wt),Wt instanceof de&&(Wt._startAnimation(),Wt._directDescendantItems.changes.pipe((0,L.Q)(Wt.close)).subscribe(()=>{We.withLockedPosition(!1).reapplyLastPosition(),We.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Wt,Me){this._focusMonitor&&Wt?this._focusMonitor.focusVia(this._element,Wt,Me):this._element.nativeElement.focus(Me)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Wt){if(!this._overlayRef||!this.menuOpen)return;const Me=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Wt||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Me instanceof de?(Me._resetAnimation(),Me.lazyContent?Me._animationDone.pipe((0,J.p)(Fe=>"void"===Fe.toState),(0,W.s)(1),(0,L.Q)(Me.lazyContent._attached)).subscribe({next:()=>Me.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Me?.lazyContent?.detach())}_initMenu(Wt){Wt.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Wt.direction=this.dir,this._setMenuElevation(Wt),Wt.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Wt){if(Wt.setElevation){let Me=0,Fe=Wt.parentMenu;for(;Fe;)Me++,Fe=Fe.parentMenu;Wt.setElevation(Me)}}_setIsMenuOpen(Wt){Wt!==this._menuOpen&&(this._menuOpen=Wt,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Wt),this._changeDetectorRef.markForCheck())}_createOverlay(Wt){if(!this._overlayRef){const Me=this._getOverlayConfig(Wt);this._subscribeToPositions(Wt,Me.positionStrategy),this._overlayRef=this._overlay.create(Me),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Wt){return new $t.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Wt.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Wt.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Wt,Me){Wt.setPositionClasses&&Me.positionChanges.subscribe(Fe=>{const We="start"===Fe.connectionPair.overlayX?"after":"before",Or="top"===Fe.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Wt.setPositionClasses(We,Or)):Wt.setPositionClasses(We,Or)})}_setPosition(Wt,Me){let[Fe,We]="before"===Wt.xPosition?["end","start"]:["start","end"],[Or,ko]="above"===Wt.yPosition?["bottom","top"]:["top","bottom"],[dr,Lt]=[Or,ko],[be,se]=[Fe,We],Ie=0;if(this.triggersSubmenu()){if(se=Fe="before"===Wt.xPosition?"start":"end",We=be="end"===Fe?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const br=this._parentMaterialMenu.items.first;this._parentInnerPadding=br?br._getHostElement().offsetTop:0}Ie="bottom"===Or?this._parentInnerPadding:-this._parentInnerPadding}}else Wt.overlapTrigger||(dr="top"===Or?"bottom":"top",Lt="top"===ko?"bottom":"top");Me.withPositions([{originX:Fe,originY:dr,overlayX:be,overlayY:Or,offsetY:Ie},{originX:We,originY:dr,overlayX:se,overlayY:Or,offsetY:Ie},{originX:Fe,originY:Lt,overlayX:be,overlayY:ko,offsetY:-Ie},{originX:We,originY:Lt,overlayX:se,overlayY:ko,offsetY:-Ie}])}_menuClosingActions(){const Wt=this._overlayRef.backdropClick(),Me=this._overlayRef.detachments(),Fe=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,I.of)(),We=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,J.p)(Or=>Or!==this._menuItemInstance),(0,J.p)(()=>this._menuOpen)):(0,I.of)();return(0,k.h)(Wt,Fe,We,Me)}_handleMousedown(Wt){(0,s._G)(Wt)||(this._openedBy=0===Wt.button?"mouse":void 0,this.triggersSubmenu()&&Wt.preventDefault())}_handleKeydown(Wt){const Me=Wt.keyCode;(Me===c.Fm||Me===c.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Me===c.LE&&"ltr"===this.dir||Me===c.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Wt){this.triggersSubmenu()?(Wt.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,J.p)(Wt=>Wt===this._menuItemInstance&&!Wt.disabled),(0,q.c)(0,T.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof de&&this.menu._isAnimating?this.menu._animationDone.pipe((0,W.s)(1),(0,q.c)(0,T.$),(0,L.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Wt){return(!this._portal||this._portal.templateRef!==Wt.templateRef)&&(this._portal=new tt.VA(Wt.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(Me){return new(Me||ie)(o.rXU($t.hJ),o.rXU(o.aKT),o.rXU(o.c1b),o.rXU(jt),o.rXU(Xt,8),o.rXU(oe,10),o.rXU(Mt.dS,8),o.rXU(s.FN),o.rXU(o.SKi))}}static{this.\u0275dir=o.FsC({type:ie,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Me,Fe){1&Me&&o.bIt("click",function(Or){return Fe._handleClick(Or)})("mousedown",function(Or){return Fe._handleMousedown(Or)})("keydown",function(Or){return Fe._handleKeydown(Or)}),2&Me&&o.BMQ("aria-haspopup",Fe.menu?"menu":null)("aria-expanded",Fe.menuOpen)("aria-controls",Fe.menuOpen?Fe.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}}return ie})(),Ee=(()=>{class ie{static{this.\u0275fac=function(Me){return new(Me||ie)}}static{this.\u0275mod=o.$C({type:ie})}static{this.\u0275inj=o.G2t({providers:[Ye],imports:[ct.MD,ht.pZ,ht.yE,$t.z_,kt.Gj,ht.yE]})}}return ie})()},7575:(i,a,r)=>{"use strict";r.d(a,{HM:()=>T,PO:()=>R});var o=r(4438),c=(r(177),r(6600));function y(L,J){1&L&&o.nrm(0,"div",2)}const k=new o.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let T=(()=>{class L{constructor(W,q,ct,ht,tt){this._elementRef=W,this._ngZone=q,this._changeDetectorRef=ct,this._animationMode=ht,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new o.bkB,this._mode="determinate",this._transitionendHandler=_t=>{0===this.animationEnd.observers.length||!_t.target||!_t.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===ht,tt&&(tt.color&&(this.color=this._defaultColor=tt.color),this.mode=tt.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(W){this._color=W}get value(){return this._value}set value(W){this._value=M(W||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(W){this._bufferValue=M(W||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(W){this._mode=W,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static{this.\u0275fac=function(q){return new(q||L)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(o.gRc),o.rXU(o.bc$,8),o.rXU(k,8))}}static{this.\u0275cmp=o.VBU({type:L,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(q,ct){2&q&&(o.BMQ("aria-valuenow",ct._isIndeterminate()?null:ct.value)("mode",ct.mode),o.HbH("mat-"+ct.color),o.AVh("_mat-animation-noopable",ct._isNoopAnimation)("mdc-linear-progress--animation-ready",!ct._isNoopAnimation)("mdc-linear-progress--indeterminate",ct._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",o.Udg],bufferValue:[2,"bufferValue","bufferValue",o.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[o.GFd,o.aNF],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(q,ct){1&q&&(o.j41(0,"div",0),o.nrm(1,"div",1),o.DNE(2,y,1,0,"div",2),o.k0s(),o.j41(3,"div",3),o.nrm(4,"span",4),o.k0s(),o.j41(5,"div",5),o.nrm(6,"span",4),o.k0s()),2&q&&(o.R7$(),o.xc7("flex-basis",ct._getBufferBarFlexBasis()),o.R7$(),o.vxM("buffer"===ct.mode?2:-1),o.R7$(),o.xc7("transform",ct._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height),var(--mdc-linear-progress-active-indicator-height))}.cdk-high-contrast-active .mdc-linear-progress{outline-color:CanvasText}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-app-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.cdk-high-contrast-active .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}"],encapsulation:2,changeDetection:0})}}return L})();function M(L,J=0,W=100){return Math.max(J,Math.min(W,L))}let R=(()=>{class L{static{this.\u0275fac=function(q){return new(q||L)}}static{this.\u0275mod=o.$C({type:L})}static{this.\u0275inj=o.G2t({imports:[c.yE]})}}return L})()},2798:(i,a,r)=>{"use strict";r.d(a,{$2:()=>De,VO:()=>jt,Ve:()=>Ye});var o=r(7987),s=r(177),c=r(4438),y=r(6600),k=r(2102),S=r(5542),I=r(9888),T=r(8203),M=r(5024),R=r(7336),L=r(9417),J=r(1413),W=r(9030),q=r(7786),ct=r(9172),ht=r(5558),tt=r(5964),_t=r(6354),Mt=r(3294),$t=r(6977),At=r(6697),kt=r(9969);const nt=["trigger"],at=["panel"],rt=[[["mat-select-trigger"]],"*"],yt=["mat-select-trigger","*"];function Ct(ft,pe){if(1&ft&&(c.j41(0,"span",4),c.EFF(1),c.k0s()),2&ft){const Ut=c.XpG();c.R7$(),c.JRh(Ut.placeholder)}}function Vt(ft,pe){1&ft&&c.SdG(0)}function Xt(ft,pe){if(1&ft&&(c.j41(0,"span",11),c.EFF(1),c.k0s()),2&ft){const Ut=c.XpG(2);c.R7$(),c.JRh(Ut.triggerValue)}}function oe(ft,pe){if(1&ft&&(c.j41(0,"span",5),c.DNE(1,Vt,1,0)(2,Xt,2,1,"span",11),c.k0s()),2&ft){const Ut=c.XpG();c.R7$(),c.vxM(Ut.customTrigger?1:2)}}function Xe(ft,pe){if(1&ft){const Ut=c.RV6();c.j41(0,"div",12,1),c.bIt("@transformPanel.done",function(ie){c.eBV(Ut);const He=c.XpG();return c.Njj(He._panelDoneAnimatingStream.next(ie.toState))})("keydown",function(ie){c.eBV(Ut);const He=c.XpG();return c.Njj(He._handleKeydown(ie))}),c.SdG(2,1),c.k0s()}if(2&ft){const Ut=c.XpG();c.ZvI("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ut._getPanelTheme(),""),c.Y8G("ngClass",Ut.panelClass)("@transformPanel","showing"),c.BMQ("id",Ut.id+"-panel")("aria-multiselectable",Ut.multiple)("aria-label",Ut.ariaLabel||null)("aria-labelledby",Ut._getPanelAriaLabelledby())}}const kr={transformPanelWrap:(0,kt.hZ)("transformPanelWrap",[(0,kt.kY)("* => void",(0,kt.P)("@transformPanel",[(0,kt.MA)()],{optional:!0}))]),transformPanel:(0,kt.hZ)("transformPanel",[(0,kt.wk)("void",(0,kt.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,kt.kY)("void => showing",(0,kt.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,kt.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,kt.kY)("* => void",(0,kt.i0)("100ms linear",(0,kt.iF)({opacity:0})))])};let xe=0;const Le=new c.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const ft=(0,c.WQX)(o.hJ);return()=>ft.scrollStrategies.reposition()}}),Nt=new c.nKC("MAT_SELECT_CONFIG"),Ae={provide:Le,deps:[o.hJ],useFactory:function gt(ft){return()=>ft.scrollStrategies.reposition()}},Rt=new c.nKC("MatSelectTrigger");class de{constructor(pe,Ut){this.source=pe,this.value=Ut}}let jt=(()=>{class ft{_scrollOptionIntoView(Ut){const Ee=this.options.toArray()[Ut];if(Ee){const ie=this.panel.nativeElement,He=(0,y.jb)(Ut,this.options,this.optionGroups),Wt=Ee._getHostElement();ie.scrollTop=0===Ut&&1===He?0:(0,y.TL)(Wt.offsetTop,Wt.offsetHeight,ie.scrollTop,ie.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Ut){return new de(this,Ut)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Ut){this._hideSingleSelectionIndicator=Ut,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(Ut){this._placeholder=Ut,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(L.k0.required)??!1}set required(Ut){this._required=Ut,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ut){this._multiple=Ut}get compareWith(){return this._compareWith}set compareWith(Ut){this._compareWith=Ut,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ut){this._assignValue(Ut)&&this._onChange(Ut)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(Ut){this._errorStateTracker.matcher=Ut}get id(){return this._id}set id(Ut){this._id=Ut||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(Ut){this._errorStateTracker.errorState=Ut}constructor(Ut,Ee,ie,He,Wt,Me,Fe,We,Or,ko,dr,Lt,be,se){this._viewportRuler=Ut,this._changeDetectorRef=Ee,this._elementRef=Wt,this._dir=Me,this._parentFormField=Or,this.ngControl=ko,this._liveAnnouncer=be,this._defaultOptions=se,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(Ie,br)=>Ie===br,this._uid="mat-select-"+xe++,this._triggerAriaLabelledBy=null,this._destroy=new J.B,this.stateChanges=new J.B,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+xe++,this._panelDoneAnimatingStream=new J.B,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new J.B,this.optionSelectionChanges=(0,W.v)(()=>{const Ie=this.options;return Ie?Ie.changes.pipe((0,ct.Z)(Ie),(0,ht.n)(()=>(0,q.h)(...Ie.map(br=>br.onSelectionChange)))):this._initialized.pipe((0,ht.n)(()=>this.optionSelectionChanges))}),this.openedChange=new c.bkB,this._openedStream=this.openedChange.pipe((0,tt.p)(Ie=>Ie),(0,_t.T)(()=>{})),this._closedStream=this.openedChange.pipe((0,tt.p)(Ie=>!Ie),(0,_t.T)(()=>{})),this.selectionChange=new c.bkB,this.valueChange=new c.bkB,this._trackedModal=null,this._skipPredicate=Ie=>!this.panelOpen&&Ie.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=se?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=se.typeaheadDebounceInterval),this._errorStateTracker=new y.X0(He,ko,We,Fe,this.stateChanges),this._scrollStrategyFactory=Lt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(dr)||0,this.id=this.id}ngOnInit(){this._selectionModel=new M.CB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,Mt.F)(),(0,$t.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,$t.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,$t.Q)(this._destroy)).subscribe(Ut=>{Ut.added.forEach(Ee=>Ee.select()),Ut.removed.forEach(Ee=>Ee.deselect())}),this.options.changes.pipe((0,ct.Z)(null),(0,$t.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ut=this._getTriggerAriaLabelledby(),Ee=this.ngControl;if(Ut!==this._triggerAriaLabelledBy){const ie=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ut,Ut?ie.setAttribute("aria-labelledby",Ut):ie.removeAttribute("aria-labelledby")}Ee&&(this._previousControl!==Ee.control&&(void 0!==this._previousControl&&null!==Ee.disabled&&Ee.disabled!==this.disabled&&(this.disabled=Ee.disabled),this._previousControl=Ee.control),this.updateErrorState())}ngOnChanges(Ut){(Ut.disabled||Ut.userAriaDescribedBy)&&this.stateChanges.next(),Ut.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const Ut=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ut)return;const Ee=`${this.id}-panel`;this._trackedModal&&(0,I.Ae)(this._trackedModal,"aria-owns",Ee),(0,I.px)(Ut,"aria-owns",Ee),this._trackedModal=Ut}_clearFromModal(){this._trackedModal&&((0,I.Ae)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(Ut){this._assignValue(Ut)}registerOnChange(Ut){this._onChange=Ut}registerOnTouched(Ut){this._onTouched=Ut}setDisabledState(Ut){this.disabled=Ut,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Ut=this._selectionModel.selected.map(Ee=>Ee.viewValue);return this._isRtl()&&Ut.reverse(),Ut.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ut){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ut):this._handleClosedKeydown(Ut))}_handleClosedKeydown(Ut){const Ee=Ut.keyCode,ie=Ee===R.n6||Ee===R.i7||Ee===R.UQ||Ee===R.LE,He=Ee===R.Fm||Ee===R.t6,Wt=this._keyManager;if(!Wt.isTyping()&&He&&!(0,R.rp)(Ut)||(this.multiple||Ut.altKey)&&ie)Ut.preventDefault(),this.open();else if(!this.multiple){const Me=this.selected;Wt.onKeydown(Ut);const Fe=this.selected;Fe&&Me!==Fe&&this._liveAnnouncer.announce(Fe.viewValue,1e4)}}_handleOpenKeydown(Ut){const Ee=this._keyManager,ie=Ut.keyCode,He=ie===R.n6||ie===R.i7,Wt=Ee.isTyping();if(He&&Ut.altKey)Ut.preventDefault(),this.close();else if(Wt||ie!==R.Fm&&ie!==R.t6||!Ee.activeItem||(0,R.rp)(Ut))if(!Wt&&this._multiple&&ie===R.A&&Ut.ctrlKey){Ut.preventDefault();const Me=this.options.some(Fe=>!Fe.disabled&&!Fe.selected);this.options.forEach(Fe=>{Fe.disabled||(Me?Fe.select():Fe.deselect())})}else{const Me=Ee.activeItemIndex;Ee.onKeydown(Ut),this._multiple&&He&&Ut.shiftKey&&Ee.activeItem&&Ee.activeItemIndex!==Me&&Ee.activeItem._selectViaInteraction()}else Ut.preventDefault(),Ee.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,At.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Ut){if(this.options.forEach(Ee=>Ee.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ut)Array.isArray(Ut),Ut.forEach(Ee=>this._selectOptionByValue(Ee)),this._sortValues();else{const Ee=this._selectOptionByValue(Ut);Ee?this._keyManager.updateActiveItem(Ee):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ut){const Ee=this.options.find(ie=>{if(this._selectionModel.isSelected(ie))return!1;try{return null!=ie.value&&this._compareWith(ie.value,Ut)}catch{return!1}});return Ee&&this._selectionModel.select(Ee),Ee}_assignValue(Ut){return!!(Ut!==this._value||this._multiple&&Array.isArray(Ut))&&(this.options&&this._setSelectionByValue(Ut),this._value=Ut,!0)}_getOverlayWidth(Ut){return"auto"===this.panelWidth?(Ut instanceof o.$Q?Ut.elementRef:Ut||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const Ut of this.options)Ut._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new I.Au(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ut=(0,q.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,$t.Q)(Ut)).subscribe(Ee=>{this._onSelect(Ee.source,Ee.isUserInput),Ee.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,q.h)(...this.options.map(Ee=>Ee._stateChanges)).pipe((0,$t.Q)(Ut)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ut,Ee){const ie=this._selectionModel.isSelected(Ut);null!=Ut.value||this._multiple?(ie!==Ut.selected&&(Ut.selected?this._selectionModel.select(Ut):this._selectionModel.deselect(Ut)),Ee&&this._keyManager.setActiveItem(Ut),this.multiple&&(this._sortValues(),Ee&&this.focus())):(Ut.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ut.value)),ie!==this._selectionModel.isSelected(Ut)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ut=this.options.toArray();this._selectionModel.sort((Ee,ie)=>this.sortComparator?this.sortComparator(Ee,ie,Ut):Ut.indexOf(Ee)-Ut.indexOf(ie)),this.stateChanges.next()}}_propagateChanges(Ut){let Ee;Ee=this.multiple?this.selected.map(ie=>ie.value):this.selected?this.selected.value:Ut,this._value=Ee,this.valueChange.emit(Ee),this._onChange(Ee),this.selectionChange.emit(this._getChangeEvent(Ee)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ut=-1;for(let Ee=0;Ee0}focus(Ut){this._elementRef.nativeElement.focus(Ut)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ut=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ut?Ut+" ":"")+this.ariaLabelledby:Ut}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ut=this._parentFormField?.getLabelId();let Ee=(Ut?Ut+" ":"")+this._valueId;return this.ariaLabelledby&&(Ee+=" "+this.ariaLabelledby),Ee}_panelDoneAnimating(Ut){this.openedChange.emit(Ut)}setDescribedByIds(Ut){Ut.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ut.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(Ee){return new(Ee||ft)(c.rXU(S.Xj),c.rXU(c.gRc),c.rXU(c.SKi),c.rXU(y.es),c.rXU(c.aKT),c.rXU(T.dS,8),c.rXU(L.cV,8),c.rXU(L.j4,8),c.rXU(k.xb,8),c.rXU(L.vO,10),c.kS0("tabindex"),c.rXU(Le),c.rXU(I.Ai),c.rXU(Nt,8))}}static{this.\u0275cmp=c.VBU({type:ft,selectors:[["mat-select"]],contentQueries:function(Ee,ie,He){if(1&Ee&&(c.wni(He,Rt,5),c.wni(He,y.wT,5),c.wni(He,y.QC,5)),2&Ee){let Wt;c.mGM(Wt=c.lsd())&&(ie.customTrigger=Wt.first),c.mGM(Wt=c.lsd())&&(ie.options=Wt),c.mGM(Wt=c.lsd())&&(ie.optionGroups=Wt)}},viewQuery:function(Ee,ie){if(1&Ee&&(c.GBs(nt,5),c.GBs(at,5),c.GBs(o.WB,5)),2&Ee){let He;c.mGM(He=c.lsd())&&(ie.trigger=He.first),c.mGM(He=c.lsd())&&(ie.panel=He.first),c.mGM(He=c.lsd())&&(ie._overlayDir=He.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(Ee,ie){1&Ee&&c.bIt("keydown",function(Wt){return ie._handleKeydown(Wt)})("focus",function(){return ie._onFocus()})("blur",function(){return ie._onBlur()}),2&Ee&&(c.BMQ("id",ie.id)("tabindex",ie.disabled?-1:ie.tabIndex)("aria-controls",ie.panelOpen?ie.id+"-panel":null)("aria-expanded",ie.panelOpen)("aria-label",ie.ariaLabel||null)("aria-required",ie.required.toString())("aria-disabled",ie.disabled.toString())("aria-invalid",ie.errorState)("aria-activedescendant",ie._getAriaActiveDescendant()),c.AVh("mat-mdc-select-disabled",ie.disabled)("mat-mdc-select-invalid",ie.errorState)("mat-mdc-select-required",ie.required)("mat-mdc-select-empty",ie.empty)("mat-mdc-select-multiple",ie.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",c.L39],disableRipple:[2,"disableRipple","disableRipple",c.L39],tabIndex:[2,"tabIndex","tabIndex",Ut=>null==Ut?0:(0,c.Udg)(Ut)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",c.L39],placeholder:"placeholder",required:[2,"required","required",c.L39],multiple:[2,"multiple","multiple",c.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",c.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",c.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[c.Jv_([{provide:k.qT,useExisting:ft},{provide:y.is,useExisting:ft}]),c.GFd,c.OA$,c.aNF],ngContentSelectors:yt,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(Ee,ie){if(1&Ee){const He=c.RV6();c.NAR(rt),c.j41(0,"div",2,0),c.bIt("click",function(){return c.eBV(He),c.Njj(ie.open())}),c.j41(3,"div",3),c.DNE(4,Ct,2,1,"span",4)(5,oe,3,1,"span",5),c.k0s(),c.j41(6,"div",6)(7,"div",7),c.qSk(),c.j41(8,"svg",8),c.nrm(9,"path",9),c.k0s()()()(),c.DNE(10,Xe,3,9,"ng-template",10),c.bIt("backdropClick",function(){return c.eBV(He),c.Njj(ie.close())})("attach",function(){return c.eBV(He),c.Njj(ie._onAttached())})("detach",function(){return c.eBV(He),c.Njj(ie.close())})}if(2&Ee){const He=c.sdS(1);c.R7$(3),c.BMQ("id",ie._valueId),c.R7$(),c.vxM(ie.empty?4:5),c.R7$(6),c.Y8G("cdkConnectedOverlayPanelClass",ie._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",ie._scrollStrategy)("cdkConnectedOverlayOrigin",ie._preferredOverlayOrigin||He)("cdkConnectedOverlayOpen",ie.panelOpen)("cdkConnectedOverlayPositions",ie._positions)("cdkConnectedOverlayWidth",ie._overlayWidth)}},dependencies:[o.$Q,o.WB,s.YU],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[kr.transformPanel]},changeDetection:0})}}return ft})(),De=(()=>{class ft{static{this.\u0275fac=function(Ee){return new(Ee||ft)}}static{this.\u0275dir=c.FsC({type:ft,selectors:[["mat-select-trigger"]],standalone:!0,features:[c.Jv_([{provide:Rt,useExisting:ft}])]})}}return ft})(),Ye=(()=>{class ft{static{this.\u0275fac=function(Ee){return new(Ee||ft)}}static{this.\u0275mod=c.$C({type:ft})}static{this.\u0275inj=c.G2t({providers:[Ae],imports:[s.MD,o.z_,y.Sy,y.yE,S.Gj,k.RG,y.Sy,y.yE]})}}return ft})()},882:(i,a,r)=>{"use strict";r.d(a,{$C:()=>Nt,$l:()=>Le,qe:()=>gt,vg:()=>jt});var o=r(5542),s=r(4438),c=r(6600),y=r(9888),k=r(8203),S=r(4085),I=r(7336),T=r(6860),M=r(177),R=r(1413),L=r(3726),J=r(7786),W=r(5964),q=r(6354),ct=r(3703),ht=r(6977),tt=r(6697),_t=r(9172),Mt=r(152),$t=r(9969);const At=["*"],kt=["content"],nt=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],at=["mat-drawer","mat-drawer-content","*"];function rt(De,Ye){if(1&De){const ft=s.RV6();s.j41(0,"div",1),s.bIt("click",function(){s.eBV(ft);const Ut=s.XpG();return s.Njj(Ut._onBackdropClicked())}),s.k0s()}if(2&De){const ft=s.XpG();s.AVh("mat-drawer-shown",ft._isShowingBackdrop())}}function yt(De,Ye){1&De&&(s.j41(0,"mat-drawer-content"),s.SdG(1,2),s.k0s())}const kr={transformDrawer:(0,$t.hZ)("transform",[(0,$t.wk)("open, open-instant",(0,$t.iF)({transform:"none",visibility:"visible"})),(0,$t.wk)("void",(0,$t.iF)({"box-shadow":"none",visibility:"hidden"})),(0,$t.kY)("void => open-instant",(0,$t.i0)("0ms")),(0,$t.kY)("void <=> open, open-instant => void",(0,$t.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},vr=new s.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function xe(){return!1}}),Gr=new s.nKC("MAT_DRAWER_CONTAINER");let Le=(()=>{class De extends o.uv{constructor(ft,pe,Ut,Ee,ie){super(Ut,Ee,ie),this._changeDetectorRef=ft,this._container=pe}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(pe){return new(pe||De)(s.rXU(s.gRc),s.rXU((0,s.Rfq)(()=>Nt)),s.rXU(s.aKT),s.rXU(o.R),s.rXU(s.SKi))}}static{this.\u0275cmp=s.VBU({type:De,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(pe,Ut){2&pe&&s.xc7("margin-left",Ut._container._contentMargins.left,"px")("margin-right",Ut._container._contentMargins.right,"px")},standalone:!0,features:[s.Jv_([{provide:o.uv,useExisting:De}]),s.Vt3,s.aNF],ngContentSelectors:At,decls:1,vars:0,template:function(pe,Ut){1&pe&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})}}return De})(),gt=(()=>{class De{get position(){return this._position}set position(ft){(ft="end"===ft?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(ft),this._position=ft,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(ft){this._mode=ft,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(ft){this._disableClose=(0,S.he)(ft)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(ft){("true"===ft||"false"===ft||null==ft)&&(ft=(0,S.he)(ft)),this._autoFocus=ft}get opened(){return this._opened}set opened(ft){this.toggle((0,S.he)(ft))}constructor(ft,pe,Ut,Ee,ie,He,Wt,Me){this._elementRef=ft,this._focusTrapFactory=pe,this._focusMonitor=Ut,this._platform=Ee,this._ngZone=ie,this._interactivityChecker=He,this._doc=Wt,this._container=Me,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new R.B,this._animationEnd=new R.B,this._animationState="void",this.openedChange=new s.bkB(!0),this._openedStream=this.openedChange.pipe((0,W.p)(Fe=>Fe),(0,q.T)(()=>{})),this.openedStart=this._animationStarted.pipe((0,W.p)(Fe=>Fe.fromState!==Fe.toState&&0===Fe.toState.indexOf("open")),(0,ct.u)(void 0)),this._closedStream=this.openedChange.pipe((0,W.p)(Fe=>!Fe),(0,q.T)(()=>{})),this.closedStart=this._animationStarted.pipe((0,W.p)(Fe=>Fe.fromState!==Fe.toState&&"void"===Fe.toState),(0,ct.u)(void 0)),this._destroyed=new R.B,this.onPositionChanged=new s.bkB,this._modeChanged=new R.B,this._injector=(0,s.WQX)(s.zZn),this._changeDetectorRef=(0,s.WQX)(s.gRc),this.openedChange.pipe((0,ht.Q)(this._destroyed)).subscribe(Fe=>{Fe?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,L.R)(this._elementRef.nativeElement,"keydown").pipe((0,W.p)(Fe=>Fe.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(Fe)),(0,ht.Q)(this._destroyed)).subscribe(Fe=>this._ngZone.run(()=>{this.close(),Fe.stopPropagation(),Fe.preventDefault()}))}),this._animationEnd.subscribe(Fe=>{const{fromState:We,toState:Or}=Fe;(0===Or.indexOf("open")&&"void"===We||"void"===Or&&0===We.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(ft,pe){this._interactivityChecker.isFocusable(ft)||(ft.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ut=()=>{ft.removeEventListener("blur",Ut),ft.removeEventListener("mousedown",Ut),ft.removeAttribute("tabindex")};ft.addEventListener("blur",Ut),ft.addEventListener("mousedown",Ut)})),ft.focus(pe)}_focusByCssSelector(ft,pe){let Ut=this._elementRef.nativeElement.querySelector(ft);Ut&&this._forceFocus(Ut,pe)}_takeFocus(){if(!this._focusTrap)return;const ft=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":(0,s.mal)(()=>{!this._focusTrap.focusInitialElement()&&"function"==typeof ft.focus&&ft.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(ft){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,ft):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const ft=this._doc.activeElement;return!!ft&&this._elementRef.nativeElement.contains(ft)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(ft){return this.toggle(!0,ft)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(ft=!this.opened,pe){ft&&pe&&(this._openedVia=pe);const Ut=this._setOpen(ft,!ft&&this._isFocusWithinDrawer(),this._openedVia||"program");return ft||(this._openedVia=null),Ut}_setOpen(ft,pe,Ut){return this._opened=ft,ft?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",pe&&this._restoreFocus(Ut)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(Ee=>{this.openedChange.pipe((0,tt.s)(1)).subscribe(ie=>Ee(ie?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(ft){if(!this._platform.isBrowser)return;const pe=this._elementRef.nativeElement,Ut=pe.parentNode;"end"===ft?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Ut.insertBefore(this._anchor,pe)),Ut.appendChild(pe)):this._anchor&&this._anchor.parentNode.insertBefore(pe,this._anchor)}static{this.\u0275fac=function(pe){return new(pe||De)(s.rXU(s.aKT),s.rXU(y.GX),s.rXU(y.FN),s.rXU(T.OD),s.rXU(s.SKi),s.rXU(y.Z7),s.rXU(M.qQ,8),s.rXU(Gr,8))}}static{this.\u0275cmp=s.VBU({type:De,selectors:[["mat-drawer"]],viewQuery:function(pe,Ut){if(1&pe&&s.GBs(kt,5),2&pe){let Ee;s.mGM(Ee=s.lsd())&&(Ut._content=Ee.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(pe,Ut){1&pe&&s.Kam("@transform.start",function(ie){return Ut._animationStarted.next(ie)})("@transform.done",function(ie){return Ut._animationEnd.next(ie)}),2&pe&&(s.zvX("@transform",Ut._animationState),s.BMQ("align",null),s.AVh("mat-drawer-end","end"===Ut.position)("mat-drawer-over","over"===Ut.mode)("mat-drawer-push","push"===Ut.mode)("mat-drawer-side","side"===Ut.mode)("mat-drawer-opened",Ut.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[s.aNF],ngContentSelectors:At,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(pe,Ut){1&pe&&(s.NAR(),s.j41(0,"div",1,0),s.SdG(2),s.k0s())},dependencies:[o.uv],encapsulation:2,data:{animation:[kr.transformDrawer]},changeDetection:0})}}return De})(),Nt=(()=>{class De{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(ft){this._autosize=(0,S.he)(ft)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(ft){this._backdropOverride=null==ft?null:(0,S.he)(ft)}get scrollable(){return this._userContent||this._content}constructor(ft,pe,Ut,Ee,ie,He=!1,Wt){this._dir=ft,this._element=pe,this._ngZone=Ut,this._changeDetectorRef=Ee,this._animationMode=Wt,this._drawers=new s.rOR,this.backdropClick=new s.bkB,this._destroyed=new R.B,this._doCheckSubject=new R.B,this._contentMargins={left:null,right:null},this._contentMarginChanges=new R.B,this._injector=(0,s.WQX)(s.zZn),ft&&ft.change.pipe((0,ht.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),ie.change().pipe((0,ht.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=He}ngAfterContentInit(){this._allDrawers.changes.pipe((0,_t.Z)(this._allDrawers),(0,ht.Q)(this._destroyed)).subscribe(ft=>{this._drawers.reset(ft.filter(pe=>!pe._container||pe._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,_t.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(ft=>{this._watchDrawerToggle(ft),this._watchDrawerPosition(ft),this._watchDrawerMode(ft)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Mt.B)(10),(0,ht.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(ft=>ft.open())}close(){this._drawers.forEach(ft=>ft.close())}updateContentMargins(){let ft=0,pe=0;if(this._left&&this._left.opened)if("side"==this._left.mode)ft+=this._left._getWidth();else if("push"==this._left.mode){const Ut=this._left._getWidth();ft+=Ut,pe-=Ut}if(this._right&&this._right.opened)if("side"==this._right.mode)pe+=this._right._getWidth();else if("push"==this._right.mode){const Ut=this._right._getWidth();pe+=Ut,ft-=Ut}ft=ft||null,pe=pe||null,(ft!==this._contentMargins.left||pe!==this._contentMargins.right)&&(this._contentMargins={left:ft,right:pe},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(ft){ft._animationStarted.pipe((0,W.p)(pe=>pe.fromState!==pe.toState),(0,ht.Q)(this._drawers.changes)).subscribe(pe=>{"open-instant"!==pe.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==ft.mode&&ft.openedChange.pipe((0,ht.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(ft.opened))}_watchDrawerPosition(ft){ft&&ft.onPositionChanged.pipe((0,ht.Q)(this._drawers.changes)).subscribe(()=>{(0,s.mal)(()=>{this._validateDrawers()},{injector:this._injector,phase:s.wjH.Read})})}_watchDrawerMode(ft){ft&&ft._modeChanged.pipe((0,ht.Q)((0,J.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(ft){const pe=this._element.nativeElement.classList,Ut="mat-drawer-container-has-open";ft?pe.add(Ut):pe.remove(Ut)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(ft=>{"end"==ft.position?this._end=ft:this._start=ft}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(ft=>ft&&!ft.disableClose&&this._drawerHasBackdrop(ft)).forEach(ft=>ft._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(ft){return null!=ft&&ft.opened}_drawerHasBackdrop(ft){return null==this._backdropOverride?!!ft&&"side"!==ft.mode:this._backdropOverride}static{this.\u0275fac=function(pe){return new(pe||De)(s.rXU(k.dS,8),s.rXU(s.aKT),s.rXU(s.SKi),s.rXU(s.gRc),s.rXU(o.Xj),s.rXU(vr),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:De,selectors:[["mat-drawer-container"]],contentQueries:function(pe,Ut,Ee){if(1&pe&&(s.wni(Ee,Le,5),s.wni(Ee,gt,5)),2&pe){let ie;s.mGM(ie=s.lsd())&&(Ut._content=ie.first),s.mGM(ie=s.lsd())&&(Ut._allDrawers=ie)}},viewQuery:function(pe,Ut){if(1&pe&&s.GBs(Le,5),2&pe){let Ee;s.mGM(Ee=s.lsd())&&(Ut._userContent=Ee.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(pe,Ut){2&pe&&s.AVh("mat-drawer-container-explicit-backdrop",Ut._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[s.Jv_([{provide:Gr,useExisting:De}]),s.aNF],ngContentSelectors:at,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(pe,Ut){1&pe&&(s.NAR(nt),s.DNE(0,rt,1,2,"div",0),s.SdG(1),s.SdG(2,1),s.DNE(3,yt,2,0,"mat-drawer-content")),2&pe&&(s.vxM(Ut.hasBackdrop?0:-1),s.R7$(3),s.vxM(Ut._content?-1:3))},dependencies:[Le],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return De})(),jt=(()=>{class De{static{this.\u0275fac=function(pe){return new(pe||De)}}static{this.\u0275mod=s.$C({type:De})}static{this.\u0275inj=s.G2t({imports:[c.yE,o.Gj,o.Gj,c.yE]})}}return De})()},4823:(i,a,r)=>{"use strict";r.d(a,{oV:()=>oe,uc:()=>gr});var o=r(6977),s=r(4085),c=r(7336),y=r(4438),k=r(177),S=r(6860),I=r(9888),T=r(8203),M=r(7987),R=r(5542),L=r(6939),J=r(1413),q=(r(9969),r(6600));const ct=["tooltip"],_t=new y.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const vr=(0,y.WQX)(M.hJ);return()=>vr.scrollStrategies.reposition({scrollThrottle:20})}}),$t={provide:_t,deps:[M.hJ],useFactory:function Mt(vr){return()=>vr.scrollStrategies.reposition({scrollThrottle:20})}},kt=new y.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function At(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),at="tooltip-panel",rt=(0,S.BQ)({passive:!0});let oe=(()=>{class vr{get position(){return this._position}set position(xe){xe!==this._position&&(this._position=xe,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(xe){this._positionAtOrigin=(0,s.he)(xe),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(xe){const Le=(0,s.he)(xe);this._disabled!==Le&&(this._disabled=Le,Le?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(xe){this._showDelay=(0,s.OE)(xe)}get hideDelay(){return this._hideDelay}set hideDelay(xe){this._hideDelay=(0,s.OE)(xe),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(xe){const Le=this._message;this._message=null!=xe?String(xe).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(Le)}get tooltipClass(){return this._tooltipClass}set tooltipClass(xe){this._tooltipClass=xe,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(xe,Le,gt,Nt,Ae,Rt,de,jt,De,Ye,ft,pe){this._overlay=xe,this._elementRef=Le,this._scrollDispatcher=gt,this._viewContainerRef=Nt,this._ngZone=Ae,this._platform=Rt,this._ariaDescriber=de,this._focusMonitor=jt,this._dir=Ye,this._defaultOptions=ft,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=Xe,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new J.B,this._injector=(0,y.WQX)(y.zZn),this._scrollStrategy=De,this._document=pe,ft&&(this._showDelay=ft.showDelay,this._hideDelay=ft.hideDelay,ft.position&&(this.position=ft.position),ft.positionAtOrigin&&(this.positionAtOrigin=ft.positionAtOrigin),ft.touchGestures&&(this.touchGestures=ft.touchGestures),ft.tooltipClass&&(this.tooltipClass=ft.tooltipClass)),Ye.change.pipe((0,o.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,o.Q)(this._destroyed)).subscribe(xe=>{xe?"keyboard"===xe&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const xe=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Le,gt])=>{xe.removeEventListener(Le,gt,rt)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(xe,this.message,"tooltip"),this._focusMonitor.stopMonitoring(xe)}show(xe=this.showDelay,Le){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const gt=this._createOverlay(Le);this._detach(),this._portal=this._portal||new L.A8(this._tooltipComponent,this._viewContainerRef);const Nt=this._tooltipInstance=gt.attach(this._portal).instance;Nt._triggerElement=this._elementRef.nativeElement,Nt._mouseLeaveHideDelay=this._hideDelay,Nt.afterHidden().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Nt.show(xe)}hide(xe=this.hideDelay){const Le=this._tooltipInstance;Le&&(Le.isVisible()?Le.hide(xe):(Le._cancelPendingAnimations(),this._detach()))}toggle(xe){this._isTooltipVisible()?this.hide():this.show(void 0,xe)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(xe){if(this._overlayRef){const Nt=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!xe)&&Nt._origin instanceof y.aKT)return this._overlayRef;this._detach()}const Le=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),gt=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&xe||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Le);return gt.positionChanges.pipe((0,o.Q)(this._destroyed)).subscribe(Nt=>{this._updateCurrentPositionClass(Nt.connectionPair),this._tooltipInstance&&Nt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:gt,panelClass:`${this._cssClassPrefix}-${at}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,o.Q)(this._destroyed)).subscribe(Nt=>{this._isTooltipVisible()&&Nt.keyCode===c._f&&!(0,c.rp)(Nt)&&(Nt.preventDefault(),Nt.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(xe){const Le=xe.getConfig().positionStrategy,gt=this._getOrigin(),Nt=this._getOverlayPosition();Le.withPositions([this._addOffset({...gt.main,...Nt.main}),this._addOffset({...gt.fallback,...Nt.fallback})])}_addOffset(xe){const gt=!this._dir||"ltr"==this._dir.value;return"top"===xe.originY?xe.offsetY=-8:"bottom"===xe.originY?xe.offsetY=8:"start"===xe.originX?xe.offsetX=gt?-8:8:"end"===xe.originX&&(xe.offsetX=gt?8:-8),xe}_getOrigin(){const xe=!this._dir||"ltr"==this._dir.value,Le=this.position;let gt;"above"==Le||"below"==Le?gt={originX:"center",originY:"above"==Le?"top":"bottom"}:"before"==Le||"left"==Le&&xe||"right"==Le&&!xe?gt={originX:"start",originY:"center"}:("after"==Le||"right"==Le&&xe||"left"==Le&&!xe)&&(gt={originX:"end",originY:"center"});const{x:Nt,y:Ae}=this._invertPosition(gt.originX,gt.originY);return{main:gt,fallback:{originX:Nt,originY:Ae}}}_getOverlayPosition(){const xe=!this._dir||"ltr"==this._dir.value,Le=this.position;let gt;"above"==Le?gt={overlayX:"center",overlayY:"bottom"}:"below"==Le?gt={overlayX:"center",overlayY:"top"}:"before"==Le||"left"==Le&&xe||"right"==Le&&!xe?gt={overlayX:"end",overlayY:"center"}:("after"==Le||"right"==Le&&xe||"left"==Le&&!xe)&&(gt={overlayX:"start",overlayY:"center"});const{x:Nt,y:Ae}=this._invertPosition(gt.overlayX,gt.overlayY);return{main:gt,fallback:{overlayX:Nt,overlayY:Ae}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,y.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(xe){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=xe,this._tooltipInstance._markForCheck())}_invertPosition(xe,Le){return"above"===this.position||"below"===this.position?"top"===Le?Le="bottom":"bottom"===Le&&(Le="top"):"end"===xe?xe="start":"start"===xe&&(xe="end"),{x:xe,y:Le}}_updateCurrentPositionClass(xe){const{overlayY:Le,originX:gt,originY:Nt}=xe;let Ae;if(Ae="center"===Le?this._dir&&"rtl"===this._dir.value?"end"===gt?"left":"right":"start"===gt?"left":"right":"bottom"===Le&&"top"===Nt?"above":"below",Ae!==this._currentPosition){const Rt=this._overlayRef;if(Rt){const de=`${this._cssClassPrefix}-${at}-`;Rt.removePanelClass(de+this._currentPosition),Rt.addPanelClass(de+Ae)}this._currentPosition=Ae}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",xe=>{let Le;this._setupPointerExitEventsIfNeeded(),void 0!==xe.x&&void 0!==xe.y&&(Le=xe),this.show(void 0,Le)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",xe=>{const Le=xe.targetTouches?.[0],gt=Le?{x:Le.clientX,y:Le.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,gt)},this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const xe=[];if(this._platformSupportsMouseEvents())xe.push(["mouseleave",Le=>{const gt=Le.relatedTarget;(!gt||!this._overlayRef?.overlayElement.contains(gt))&&this.hide()}],["wheel",Le=>this._wheelListener(Le)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Le=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};xe.push(["touchend",Le],["touchcancel",Le])}this._addListeners(xe),this._passiveListeners.push(...xe)}_addListeners(xe){xe.forEach(([Le,gt])=>{this._elementRef.nativeElement.addEventListener(Le,gt,rt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(xe){if(this._isTooltipVisible()){const Le=this._document.elementFromPoint(xe.clientX,xe.clientY),gt=this._elementRef.nativeElement;Le!==gt&&!gt.contains(Le)&&this.hide()}}_disableNativeGesturesIfNecessary(){const xe=this.touchGestures;if("off"!==xe){const Le=this._elementRef.nativeElement,gt=Le.style;("on"===xe||"INPUT"!==Le.nodeName&&"TEXTAREA"!==Le.nodeName)&&(gt.userSelect=gt.msUserSelect=gt.webkitUserSelect=gt.MozUserSelect="none"),("on"===xe||!Le.draggable)&&(gt.webkitUserDrag="none"),gt.touchAction="none",gt.webkitTapHighlightColor="transparent"}}_syncAriaDescription(xe){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,xe,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(Le){return new(Le||vr)(y.rXU(M.hJ),y.rXU(y.aKT),y.rXU(R.R),y.rXU(y.c1b),y.rXU(y.SKi),y.rXU(S.OD),y.rXU(I.vr),y.rXU(I.FN),y.rXU(_t),y.rXU(T.dS),y.rXU(kt,8),y.rXU(k.qQ))}}static{this.\u0275dir=y.FsC({type:vr,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(Le,gt){2&Le&&y.AVh("mat-mdc-tooltip-disabled",gt.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return vr})(),Xe=(()=>{class vr{constructor(xe,Le,gt){this._changeDetectorRef=xe,this._elementRef=Le,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new J.B,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===gt}show(xe){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},xe)}hide(xe){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},xe)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:xe}){(!xe||!this._triggerElement.contains(xe))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const xe=this._elementRef.nativeElement.getBoundingClientRect();return xe.height>24&&xe.width>=200}_handleAnimationEnd({animationName:xe}){(xe===this._showAnimation||xe===this._hideAnimation)&&this._finalizeAnimation(xe===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(xe){xe?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(xe){const Le=this._tooltip.nativeElement,gt=this._showAnimation,Nt=this._hideAnimation;if(Le.classList.remove(xe?Nt:gt),Le.classList.add(xe?gt:Nt),this._isVisible!==xe&&(this._isVisible=xe,this._changeDetectorRef.markForCheck()),xe&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ae=getComputedStyle(Le);("0s"===Ae.getPropertyValue("animation-duration")||"none"===Ae.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}xe&&this._onShow(),this._animationsDisabled&&(Le.classList.add("_mat-animation-noopable"),this._finalizeAnimation(xe))}static{this.\u0275fac=function(Le){return new(Le||vr)(y.rXU(y.gRc),y.rXU(y.aKT),y.rXU(y.bc$,8))}}static{this.\u0275cmp=y.VBU({type:vr,selectors:[["mat-tooltip-component"]],viewQuery:function(Le,gt){if(1&Le&&y.GBs(ct,7),2&Le){let Nt;y.mGM(Nt=y.lsd())&&(gt._tooltip=Nt.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(Le,gt){1&Le&&y.bIt("mouseleave",function(Ae){return gt._handleMouseLeave(Ae)})},standalone:!0,features:[y.aNF],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(Le,gt){if(1&Le){const Nt=y.RV6();y.j41(0,"div",1,0),y.bIt("animationend",function(Rt){return y.eBV(Nt),y.Njj(gt._handleAnimationEnd(Rt))}),y.j41(2,"div",2),y.EFF(3),y.k0s()()}2&Le&&(y.AVh("mdc-tooltip--multiline",gt._isMultiline),y.Y8G("ngClass",gt.tooltipClass),y.R7$(3),y.JRh(gt.message))},dependencies:[k.YU],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return vr})(),gr=(()=>{class vr{static{this.\u0275fac=function(Le){return new(Le||vr)}}static{this.\u0275mod=y.$C({type:vr})}static{this.\u0275inj=y.G2t({providers:[$t],imports:[I.Pd,k.MD,M.z_,q.yE,q.yE,R.Gj]})}}return vr})()},345:(i,a,r)=>{"use strict";r.d(a,{B7:()=>rt,B8:()=>gt,hE:()=>Me,up:()=>Tt});var o=r(177),s=r(4438);class c extends o.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class y extends c{static makeCurrent(){(0,o.ZD)(new y)}onAndCancel(qt,Pt,ue){return qt.addEventListener(Pt,ue),()=>{qt.removeEventListener(Pt,ue)}}dispatchEvent(qt,Pt){qt.dispatchEvent(Pt)}remove(qt){qt.remove()}createElement(qt,Pt){return(Pt=Pt||this.getDefaultDocument()).createElement(qt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(qt){return qt.nodeType===Node.ELEMENT_NODE}isShadowRoot(qt){return qt instanceof DocumentFragment}getGlobalEventTarget(qt,Pt){return"window"===Pt?window:"document"===Pt?qt:"body"===Pt?qt.body:null}getBaseHref(qt){const Pt=function S(){return k=k||document.querySelector("base"),k?k.getAttribute("href"):null}();return null==Pt?null:function I(re){return new URL(re,document.baseURI).pathname}(Pt)}resetBaseElement(){k=null}getUserAgent(){return window.navigator.userAgent}getCookie(qt){return(0,o._b)(document.cookie,qt)}}let k=null,M=(()=>{class re{build(){return new XMLHttpRequest}static{this.\u0275fac=function(ue){return new(ue||re)}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();const R=new s.nKC("");let L=(()=>{class re{constructor(Pt,ue){this._zone=ue,this._eventNameToPlugin=new Map,Pt.forEach(mr=>{mr.manager=this}),this._plugins=Pt.slice().reverse()}addEventListener(Pt,ue,mr){return this._findPluginFor(ue).addEventListener(Pt,ue,mr)}getZone(){return this._zone}_findPluginFor(Pt){let ue=this._eventNameToPlugin.get(Pt);if(ue)return ue;if(ue=this._plugins.find(Qr=>Qr.supports(Pt)),!ue)throw new s.wOt(5101,!1);return this._eventNameToPlugin.set(Pt,ue),ue}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(R),s.KVO(s.SKi))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();class J{constructor(qt){this._doc=qt}}const W="ng-app-id";let q=(()=>{class re{constructor(Pt,ue,mr,Qr={}){this.doc=Pt,this.appId=ue,this.nonce=mr,this.platformId=Qr,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.Vy)(Qr),this.resetHostNodes()}addStyles(Pt){for(const ue of Pt)1===this.changeUsageCount(ue,1)&&this.onStyleAdded(ue)}removeStyles(Pt){for(const ue of Pt)this.changeUsageCount(ue,-1)<=0&&this.onStyleRemoved(ue)}ngOnDestroy(){const Pt=this.styleNodesInDOM;Pt&&(Pt.forEach(ue=>ue.remove()),Pt.clear());for(const ue of this.getAllStyles())this.onStyleRemoved(ue);this.resetHostNodes()}addHost(Pt){this.hostNodes.add(Pt);for(const ue of this.getAllStyles())this.addStyleToHost(Pt,ue)}removeHost(Pt){this.hostNodes.delete(Pt)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Pt){for(const ue of this.hostNodes)this.addStyleToHost(ue,Pt)}onStyleRemoved(Pt){const ue=this.styleRef;ue.get(Pt)?.elements?.forEach(mr=>mr.remove()),ue.delete(Pt)}collectServerRenderedStyles(){const Pt=this.doc.head?.querySelectorAll(`style[${W}="${this.appId}"]`);if(Pt?.length){const ue=new Map;return Pt.forEach(mr=>{null!=mr.textContent&&ue.set(mr.textContent,mr)}),ue}return null}changeUsageCount(Pt,ue){const mr=this.styleRef;if(mr.has(Pt)){const Qr=mr.get(Pt);return Qr.usage+=ue,Qr.usage}return mr.set(Pt,{usage:ue,elements:[]}),ue}getStyleElement(Pt,ue){const mr=this.styleNodesInDOM,Qr=mr?.get(ue);if(Qr?.parentNode===Pt)return mr.delete(ue),Qr.removeAttribute(W),Qr;{const Ro=this.doc.createElement("style");return this.nonce&&Ro.setAttribute("nonce",this.nonce),Ro.textContent=ue,this.platformIsServer&&Ro.setAttribute(W,this.appId),Pt.appendChild(Ro),Ro}}addStyleToHost(Pt,ue){const mr=this.getStyleElement(Pt,ue),Qr=this.styleRef,Ro=Qr.get(ue)?.elements;Ro?Ro.push(mr):Qr.set(ue,{elements:[mr],usage:1})}resetHostNodes(){const Pt=this.hostNodes;Pt.clear(),Pt.add(this.doc.head)}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ),s.KVO(s.sZ2),s.KVO(s.BIS,8),s.KVO(s.Agw))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();const ct={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/Math/MathML"},ht=/%COMP%/g,At=new s.nKC("",{providedIn:"root",factory:()=>!0});function at(re,qt){return qt.map(Pt=>Pt.replace(ht,re))}let rt=(()=>{class re{constructor(Pt,ue,mr,Qr,Ro,Ko,tr,$e=null){this.eventManager=Pt,this.sharedStylesHost=ue,this.appId=mr,this.removeStylesOnCompDestroy=Qr,this.doc=Ro,this.platformId=Ko,this.ngZone=tr,this.nonce=$e,this.rendererByCompId=new Map,this.platformIsServer=(0,o.Vy)(Ko),this.defaultRenderer=new yt(Pt,Ro,tr,this.platformIsServer)}createRenderer(Pt,ue){if(!Pt||!ue)return this.defaultRenderer;this.platformIsServer&&ue.encapsulation===s.gXe.ShadowDom&&(ue={...ue,encapsulation:s.gXe.Emulated});const mr=this.getOrCreateRenderer(Pt,ue);return mr instanceof kr?mr.applyToHost(Pt):mr instanceof Xe&&mr.applyStyles(),mr}getOrCreateRenderer(Pt,ue){const mr=this.rendererByCompId;let Qr=mr.get(ue.id);if(!Qr){const Ro=this.doc,Ko=this.ngZone,tr=this.eventManager,$e=this.sharedStylesHost,_e=this.removeStylesOnCompDestroy,qe=this.platformIsServer;switch(ue.encapsulation){case s.gXe.Emulated:Qr=new kr(tr,$e,ue,this.appId,_e,Ro,Ko,qe);break;case s.gXe.ShadowDom:return new oe(tr,$e,Pt,ue,Ro,Ko,this.nonce,qe);default:Qr=new Xe(tr,$e,ue,_e,Ro,Ko,qe)}mr.set(ue.id,Qr)}return Qr}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(L),s.KVO(q),s.KVO(s.sZ2),s.KVO(At),s.KVO(o.qQ),s.KVO(s.Agw),s.KVO(s.SKi),s.KVO(s.BIS))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();class yt{constructor(qt,Pt,ue,mr){this.eventManager=qt,this.doc=Pt,this.ngZone=ue,this.platformIsServer=mr,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(qt,Pt){return Pt?this.doc.createElementNS(ct[Pt]||Pt,qt):this.doc.createElement(qt)}createComment(qt){return this.doc.createComment(qt)}createText(qt){return this.doc.createTextNode(qt)}appendChild(qt,Pt){(Xt(qt)?qt.content:qt).appendChild(Pt)}insertBefore(qt,Pt,ue){qt&&(Xt(qt)?qt.content:qt).insertBefore(Pt,ue)}removeChild(qt,Pt){Pt.remove()}selectRootElement(qt,Pt){let ue="string"==typeof qt?this.doc.querySelector(qt):qt;if(!ue)throw new s.wOt(-5104,!1);return Pt||(ue.textContent=""),ue}parentNode(qt){return qt.parentNode}nextSibling(qt){return qt.nextSibling}setAttribute(qt,Pt,ue,mr){if(mr){Pt=mr+":"+Pt;const Qr=ct[mr];Qr?qt.setAttributeNS(Qr,Pt,ue):qt.setAttribute(Pt,ue)}else qt.setAttribute(Pt,ue)}removeAttribute(qt,Pt,ue){if(ue){const mr=ct[ue];mr?qt.removeAttributeNS(mr,Pt):qt.removeAttribute(`${ue}:${Pt}`)}else qt.removeAttribute(Pt)}addClass(qt,Pt){qt.classList.add(Pt)}removeClass(qt,Pt){qt.classList.remove(Pt)}setStyle(qt,Pt,ue,mr){mr&(s.czy.DashCase|s.czy.Important)?qt.style.setProperty(Pt,ue,mr&s.czy.Important?"important":""):qt.style[Pt]=ue}removeStyle(qt,Pt,ue){ue&s.czy.DashCase?qt.style.removeProperty(Pt):qt.style[Pt]=""}setProperty(qt,Pt,ue){null!=qt&&(qt[Pt]=ue)}setValue(qt,Pt){qt.nodeValue=Pt}listen(qt,Pt,ue){if("string"==typeof qt&&!(qt=(0,o.QT)().getGlobalEventTarget(this.doc,qt)))throw new Error(`Unsupported event target ${qt} for event ${Pt}`);return this.eventManager.addEventListener(qt,Pt,this.decoratePreventDefault(ue))}decoratePreventDefault(qt){return Pt=>{if("__ngUnwrap__"===Pt)return qt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>qt(Pt)):qt(Pt))&&Pt.preventDefault()}}}function Xt(re){return"TEMPLATE"===re.tagName&&void 0!==re.content}class oe extends yt{constructor(qt,Pt,ue,mr,Qr,Ro,Ko,tr){super(qt,Qr,Ro,tr),this.sharedStylesHost=Pt,this.hostEl=ue,this.shadowRoot=ue.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const $e=at(mr.id,mr.styles);for(const _e of $e){const qe=document.createElement("style");Ko&&qe.setAttribute("nonce",Ko),qe.textContent=_e,this.shadowRoot.appendChild(qe)}}nodeOrShadowRoot(qt){return qt===this.hostEl?this.shadowRoot:qt}appendChild(qt,Pt){return super.appendChild(this.nodeOrShadowRoot(qt),Pt)}insertBefore(qt,Pt,ue){return super.insertBefore(this.nodeOrShadowRoot(qt),Pt,ue)}removeChild(qt,Pt){return super.removeChild(null,Pt)}parentNode(qt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(qt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xe extends yt{constructor(qt,Pt,ue,mr,Qr,Ro,Ko,tr){super(qt,Qr,Ro,Ko),this.sharedStylesHost=Pt,this.removeStylesOnCompDestroy=mr,this.styles=tr?at(tr,ue.styles):ue.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class kr extends Xe{constructor(qt,Pt,ue,mr,Qr,Ro,Ko,tr){const $e=mr+"-"+ue.id;super(qt,Pt,ue,Qr,Ro,Ko,tr,$e),this.contentAttr=function kt(re){return"_ngcontent-%COMP%".replace(ht,re)}($e),this.hostAttr=function nt(re){return"_nghost-%COMP%".replace(ht,re)}($e)}applyToHost(qt){this.applyStyles(),this.setAttribute(qt,this.hostAttr,"")}createElement(qt,Pt){const ue=super.createElement(qt,Pt);return super.setAttribute(ue,this.contentAttr,""),ue}}let gr=(()=>{class re extends J{constructor(Pt){super(Pt)}supports(Pt){return!0}addEventListener(Pt,ue,mr){return Pt.addEventListener(ue,mr,!1),()=>this.removeEventListener(Pt,ue,mr)}removeEventListener(Pt,ue,mr){return Pt.removeEventListener(ue,mr)}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();const vr=["alt","control","meta","shift"],Gr={"\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"},xe={alt:re=>re.altKey,control:re=>re.ctrlKey,meta:re=>re.metaKey,shift:re=>re.shiftKey};let Le=(()=>{class re extends J{constructor(Pt){super(Pt)}supports(Pt){return null!=re.parseEventName(Pt)}addEventListener(Pt,ue,mr){const Qr=re.parseEventName(ue),Ro=re.eventCallback(Qr.fullKey,mr,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.QT)().onAndCancel(Pt,Qr.domEventName,Ro))}static parseEventName(Pt){const ue=Pt.toLowerCase().split("."),mr=ue.shift();if(0===ue.length||"keydown"!==mr&&"keyup"!==mr)return null;const Qr=re._normalizeKey(ue.pop());let Ro="",Ko=ue.indexOf("code");if(Ko>-1&&(ue.splice(Ko,1),Ro="code."),vr.forEach($e=>{const _e=ue.indexOf($e);_e>-1&&(ue.splice(_e,1),Ro+=$e+".")}),Ro+=Qr,0!=ue.length||0===Qr.length)return null;const tr={};return tr.domEventName=mr,tr.fullKey=Ro,tr}static matchEventFullKeyCode(Pt,ue){let mr=Gr[Pt.key]||Pt.key,Qr="";return ue.indexOf("code.")>-1&&(mr=Pt.code,Qr="code."),!(null==mr||!mr)&&(mr=mr.toLowerCase()," "===mr?mr="space":"."===mr&&(mr="dot"),vr.forEach(Ro=>{Ro!==mr&&(0,xe[Ro])(Pt)&&(Qr+=Ro+".")}),Qr+=mr,Qr===ue)}static eventCallback(Pt,ue,mr){return Qr=>{re.matchEventFullKeyCode(Qr,Pt)&&mr.runGuarded(()=>ue(Qr))}}static _normalizeKey(Pt){return"esc"===Pt?"escape":Pt}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();function gt(re,qt){return(0,s.TL3)({rootComponent:re,...Ae(qt)})}function Ae(re){return{appProviders:[...Ee,...re?.providers??[]],platformProviders:Ye}}const Ye=[{provide:s.Agw,useValue:o.AJ},{provide:s.PLl,useValue:function de(){y.makeCurrent()},multi:!0},{provide:o.qQ,useFactory:function De(){return(0,s.TL$)(document),document},deps:[]}],Ee=[{provide:s.H8p,useValue:"root"},{provide:s.zcH,useFactory:function jt(){return new s.zcH},deps:[]},{provide:R,useClass:gr,multi:!0,deps:[o.qQ,s.SKi,s.Agw]},{provide:R,useClass:Le,multi:!0,deps:[o.qQ]},rt,q,L,{provide:s._9s,useExisting:rt},{provide:o.N0,useClass:M,deps:[]},[]];let Me=(()=>{class re{constructor(Pt){this._doc=Pt}getTitle(){return this._doc.title}setTitle(Pt){this._doc.title=Pt||""}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}}return re})(),Tt=(()=>{class re{static{this.\u0275fac=function(ue){return new(ue||re)}}static{this.\u0275prov=s.jDH({token:re,factory:function(ue){let mr=null;return mr=ue?new(ue||re):s.KVO(It),mr},providedIn:"root"})}}return re})(),It=(()=>{class re extends Tt{constructor(Pt){super(),this._doc=Pt}sanitize(Pt,ue){if(null==ue)return null;switch(Pt){case s.WPN.NONE:return ue;case s.WPN.HTML:return(0,s.ZF7)(ue,"HTML")?(0,s.rcV)(ue):(0,s.h9k)(this._doc,String(ue)).toString();case s.WPN.STYLE:return(0,s.ZF7)(ue,"Style")?(0,s.rcV)(ue):ue;case s.WPN.SCRIPT:if((0,s.ZF7)(ue,"Script"))return(0,s.rcV)(ue);throw new s.wOt(5200,!1);case s.WPN.URL:return(0,s.ZF7)(ue,"URL")?(0,s.rcV)(ue):(0,s.$MX)(String(ue));case s.WPN.RESOURCE_URL:if((0,s.ZF7)(ue,"ResourceURL"))return(0,s.rcV)(ue);throw new s.wOt(5201,!1);default:throw new s.wOt(5202,!1)}}bypassSecurityTrustHtml(Pt){return(0,s.Kcf)(Pt)}bypassSecurityTrustStyle(Pt){return(0,s.cWb)(Pt)}bypassSecurityTrustScript(Pt){return(0,s.UyX)(Pt)}bypassSecurityTrustUrl(Pt){return(0,s.osQ)(Pt)}bypassSecurityTrustResourceUrl(Pt){return(0,s.e5t)(Pt)}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}}return re})()},5245:(i,a,r)=>{"use strict";r.d(a,{nX:()=>ii,wF:()=>Dt,Ix:()=>ze,Wk:()=>Zr,wQ:()=>Mr,iI:()=>la,n3:()=>ia,lh:()=>tn,oH:()=>oi});var o=r(4438),s=r(4402),c=r(6648),y=r(7673),k=r(4412),S=r(4572),I=r(9350),T=r(8793),M=r(9030),R=r(1203),L=r(8810),J=r(983),W=r(17),q=r(1413),ct=r(8359),ht=r(177),tt=r(6354),_t=r(5558),Mt=r(6697),$t=r(9172),At=r(5964),kt=r(1397),nt=r(9974),at=r(4360);function rt(N){return(0,nt.N)((z,P)=>{let K=!1;z.subscribe((0,at._)(P,wt=>{K=!0,P.next(wt)},()=>{K||P.next(N),P.complete()}))})}function yt(N=Ct){return(0,nt.N)((z,P)=>{let K=!1;z.subscribe((0,at._)(P,wt=>{K=!0,P.next(wt)},()=>K?P.complete():P.error(N())))})}function Ct(){return new I.G}var Vt=r(3669);function Xt(N,z){const P=arguments.length>=2;return K=>K.pipe(N?(0,At.p)((wt,Kt)=>N(wt,Kt,K)):Vt.D,(0,Mt.s)(1),P?rt(z):yt(()=>new I.G))}var oe=r(274),Xe=r(8141),kr=r(9437),gr=r(6649);function Gr(N){return N<=0?()=>J.w:(0,nt.N)((z,P)=>{let K=[];z.subscribe((0,at._)(P,wt=>{K.push(wt),N{for(const wt of K)P.next(wt);P.complete()},void 0,()=>{K=null}))})}var Le=r(3703),gt=r(980),Nt=r(9898),Ae=r(6977),Rt=r(6365),de=r(345);const jt="primary",De=Symbol("RouteTitle");class Ye{constructor(z){this.params=z||{}}has(z){return Object.prototype.hasOwnProperty.call(this.params,z)}get(z){if(this.has(z)){const P=this.params[z];return Array.isArray(P)?P[0]:P}return null}getAll(z){if(this.has(z)){const P=this.params[z];return Array.isArray(P)?P:[P]}return[]}get keys(){return Object.keys(this.params)}}function ft(N){return new Ye(N)}function pe(N,z,P){const K=P.path.split("/");if(K.length>N.length||"full"===P.pathMatch&&(z.hasChildren()||K.lengthK[Kt]===wt)}return N===z}function Wt(N){return N.length>0?N[N.length-1]:null}function Me(N){return(0,s.A)(N)?N:(0,o.jNT)(N)?(0,c.H)(Promise.resolve(N)):(0,y.of)(N)}const Fe={exact:function dr(N,z,P){if(!it(N.segments,z.segments)||!Ie(N.segments,z.segments,P)||N.numberOfChildren!==z.numberOfChildren)return!1;for(const K in z.children)if(!N.children[K]||!dr(N.children[K],z.children[K],P))return!1;return!0},subset:be},We={exact:function ko(N,z){return Ee(N,z)},subset:function Lt(N,z){return Object.keys(z).length<=Object.keys(N).length&&Object.keys(z).every(P=>He(N[P],z[P]))},ignored:()=>!0};function Or(N,z,P){return Fe[P.paths](N.root,z.root,P.matrixParams)&&We[P.queryParams](N.queryParams,z.queryParams)&&!("exact"===P.fragment&&N.fragment!==z.fragment)}function be(N,z,P){return se(N,z,z.segments,P)}function se(N,z,P,K){if(N.segments.length>P.length){const wt=N.segments.slice(0,P.length);return!(!it(wt,P)||z.hasChildren()||!Ie(wt,P,K))}if(N.segments.length===P.length){if(!it(N.segments,P)||!Ie(N.segments,P,K))return!1;for(const wt in z.children)if(!N.children[wt]||!be(N.children[wt],z.children[wt],K))return!1;return!0}{const wt=P.slice(0,N.segments.length),Kt=P.slice(N.segments.length);return!!(it(N.segments,wt)&&Ie(N.segments,wt,K)&&N.children[jt])&&se(N.children[jt],z,Kt,K)}}function Ie(N,z,P){return z.every((K,wt)=>We[P](N[wt].parameters,K.parameters))}class br{constructor(z=new mt([],{}),P={},K=null){this.root=z,this.queryParams=P,this.fragment=K}get queryParamMap(){return this._queryParamMap??=ft(this.queryParams),this._queryParamMap}toString(){return ir.serialize(this)}}class mt{constructor(z,P){this.segments=z,this.children=P,this.parent=null,Object.values(P).forEach(K=>K.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Je(this)}}class ${constructor(z,P){this.path=z,this.parameters=P}get parameterMap(){return this._parameterMap??=ft(this.parameters),this._parameterMap}toString(){return qt(this)}}function it(N,z){return N.length===z.length&&N.every((P,K)=>P.path===z[K].path)}let It=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>new ye,providedIn:"root"})}}return N})();class ye{parse(z){const P=new ke(z);return new br(P.parseRootSegment(),P.parseQueryParams(),P.parseFragment())}serialize(z){const P=`/${er(z.root,!0)}`,K=function ue(N){const z=Object.entries(N).map(([P,K])=>Array.isArray(K)?K.map(wt=>`${eo(P)}=${eo(wt)}`).join("&"):`${eo(P)}=${eo(K)}`).filter(P=>P);return z.length?`?${z.join("&")}`:""}(z.queryParams);return`${P}${K}${"string"==typeof z.fragment?`#${function Uo(N){return encodeURI(N)}(z.fragment)}`:""}`}}const ir=new ye;function Je(N){return N.segments.map(z=>qt(z)).join("/")}function er(N,z){if(!N.hasChildren())return Je(N);if(z){const P=N.children[jt]?er(N.children[jt],!1):"",K=[];return Object.entries(N.children).forEach(([wt,Kt])=>{wt!==jt&&K.push(`${wt}:${er(Kt,!1)}`)}),K.length>0?`${P}(${K.join("//")})`:P}{const P=function Tt(N,z){let P=[];return Object.entries(N.children).forEach(([K,wt])=>{K===jt&&(P=P.concat(z(wt,K)))}),Object.entries(N.children).forEach(([K,wt])=>{K!==jt&&(P=P.concat(z(wt,K)))}),P}(N,(K,wt)=>wt===jt?[er(N.children[jt],!1)]:[`${wt}:${er(K,!1)}`]);return 1===Object.keys(N.children).length&&null!=N.children[jt]?`${Je(N)}/${P[0]}`:`${Je(N)}/(${P.join("//")})`}}function Wr(N){return encodeURIComponent(N).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function eo(N){return Wr(N).replace(/%3B/gi,";")}function fr(N){return Wr(N).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pr(N){return decodeURIComponent(N)}function re(N){return Pr(N.replace(/\+/g,"%20"))}function qt(N){return`${fr(N.path)}${function Pt(N){return Object.entries(N).map(([z,P])=>`;${fr(z)}=${fr(P)}`).join("")}(N.parameters)}`}const mr=/^[^\/()?;#]+/;function Qr(N){const z=N.match(mr);return z?z[0]:""}const Ro=/^[^\/()?;=#]+/,tr=/^[^=?&#]+/,_e=/^[^&#]+/;class ke{constructor(z){this.url=z,this.remaining=z}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mt([],{}):new mt([],this.parseChildren())}parseQueryParams(){const z={};if(this.consumeOptional("?"))do{this.parseQueryParam(z)}while(this.consumeOptional("&"));return z}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const z=[];for(this.peekStartsWith("(")||z.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),z.push(this.parseSegment());let P={};this.peekStartsWith("/(")&&(this.capture("/"),P=this.parseParens(!0));let K={};return this.peekStartsWith("(")&&(K=this.parseParens(!1)),(z.length>0||Object.keys(P).length>0)&&(K[jt]=new mt(z,P)),K}parseSegment(){const z=Qr(this.remaining);if(""===z&&this.peekStartsWith(";"))throw new o.wOt(4009,!1);return this.capture(z),new $(Pr(z),this.parseMatrixParams())}parseMatrixParams(){const z={};for(;this.consumeOptional(";");)this.parseParam(z);return z}parseParam(z){const P=function Ko(N){const z=N.match(Ro);return z?z[0]:""}(this.remaining);if(!P)return;this.capture(P);let K="";if(this.consumeOptional("=")){const wt=Qr(this.remaining);wt&&(K=wt,this.capture(K))}z[Pr(P)]=Pr(K)}parseQueryParam(z){const P=function $e(N){const z=N.match(tr);return z?z[0]:""}(this.remaining);if(!P)return;this.capture(P);let K="";if(this.consumeOptional("=")){const Te=function qe(N){const z=N.match(_e);return z?z[0]:""}(this.remaining);Te&&(K=Te,this.capture(K))}const wt=re(P),Kt=re(K);if(z.hasOwnProperty(wt)){let Te=z[wt];Array.isArray(Te)||(Te=[Te],z[wt]=Te),Te.push(Kt)}else z[wt]=Kt}parseParens(z){const P={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const K=Qr(this.remaining),wt=this.remaining[K.length];if("/"!==wt&&")"!==wt&&";"!==wt)throw new o.wOt(4010,!1);let Kt;K.indexOf(":")>-1?(Kt=K.slice(0,K.indexOf(":")),this.capture(Kt),this.capture(":")):z&&(Kt=jt);const Te=this.parseChildren();P[Kt]=1===Object.keys(Te).length?Te[jt]:new mt([],Te),this.consumeOptional("//")}return P}peekStartsWith(z){return this.remaining.startsWith(z)}consumeOptional(z){return!!this.peekStartsWith(z)&&(this.remaining=this.remaining.substring(z.length),!0)}capture(z){if(!this.consumeOptional(z))throw new o.wOt(4011,!1)}}function me(N){return N.segments.length>0?new mt([],{[jt]:N}):N}function Yt(N){const z={};for(const[K,wt]of Object.entries(N.children)){const Kt=Yt(wt);if(K===jt&&0===Kt.segments.length&&Kt.hasChildren())for(const[Te,Sr]of Object.entries(Kt.children))z[Te]=Sr;else(Kt.segments.length>0||Kt.hasChildren())&&(z[K]=Kt)}return function Se(N){if(1===N.numberOfChildren&&N.children[jt]){const z=N.children[jt];return new mt(N.segments.concat(z.segments),z.children)}return N}(new mt(N.segments,z))}function ar(N){return N instanceof br}function Eo(N){let z;const wt=me(function P(Kt){const Te={};for(const pr of Kt.children){const wo=P(pr);Te[pr.outlet]=wo}const Sr=new mt(Kt.url,Te);return Kt===N&&(z=Sr),Sr}(N.root));return z??wt}function $n(N,z,P,K){let wt=N;for(;wt.parent;)wt=wt.parent;if(0===z.length)return ni(wt,wt,wt,P,K);const Kt=function ei(N){if("string"==typeof N[0]&&1===N.length&&"/"===N[0])return new pi(!0,0,N);let z=0,P=!1;const K=N.reduce((wt,Kt,Te)=>{if("object"==typeof Kt&&null!=Kt){if(Kt.outlets){const Sr={};return Object.entries(Kt.outlets).forEach(([pr,wo])=>{Sr[pr]="string"==typeof wo?wo.split("/"):wo}),[...wt,{outlets:Sr}]}if(Kt.segmentPath)return[...wt,Kt.segmentPath]}return"string"!=typeof Kt?[...wt,Kt]:0===Te?(Kt.split("/").forEach((Sr,pr)=>{0==pr&&"."===Sr||(0==pr&&""===Sr?P=!0:".."===Sr?z++:""!=Sr&&wt.push(Sr))}),wt):[...wt,Kt]},[]);return new pi(P,z,K)}(z);if(Kt.toRoot())return ni(wt,wt,new mt([],{}),P,K);const Te=function Ke(N,z,P){if(N.isAbsolute)return new Oe(z,!0,0);if(!P)return new Oe(z,!1,NaN);if(null===P.parent)return new Oe(P,!0,0);const K=Yn(N.commands[0])?0:1;return function Dr(N,z,P){let K=N,wt=z,Kt=P;for(;Kt>wt;){if(Kt-=wt,K=K.parent,!K)throw new o.wOt(4005,!1);wt=K.segments.length}return new Oe(K,!1,wt-Kt)}(P,P.segments.length-1+K,N.numberOfDoubleDots)}(Kt,wt,N),Sr=Te.processChildren?ao(Te.segmentGroup,Te.index,Kt.commands):Ur(Te.segmentGroup,Te.index,Kt.commands);return ni(wt,Te.segmentGroup,Sr,P,K)}function Yn(N){return"object"==typeof N&&null!=N&&!N.outlets&&!N.segmentPath}function Yo(N){return"object"==typeof N&&null!=N&&N.outlets}function ni(N,z,P,K,wt){let Te,Kt={};K&&Object.entries(K).forEach(([pr,wo])=>{Kt[pr]=Array.isArray(wo)?wo.map(un=>`${un}`):`${wo}`}),Te=N===z?P:Fo(N,z,P);const Sr=me(Yt(Te));return new br(Sr,Kt,wt)}function Fo(N,z,P){const K={};return Object.entries(N.children).forEach(([wt,Kt])=>{K[wt]=Kt===z?P:Fo(Kt,z,P)}),new mt(N.segments,K)}class pi{constructor(z,P,K){if(this.isAbsolute=z,this.numberOfDoubleDots=P,this.commands=K,z&&K.length>0&&Yn(K[0]))throw new o.wOt(4003,!1);const wt=K.find(Yo);if(wt&&wt!==Wt(K))throw new o.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Oe{constructor(z,P,K){this.segmentGroup=z,this.processChildren=P,this.index=K}}function Ur(N,z,P){if(N??=new mt([],{}),0===N.segments.length&&N.hasChildren())return ao(N,z,P);const K=function no(N,z,P){let K=0,wt=z;const Kt={match:!1,pathIndex:0,commandIndex:0};for(;wt=P.length)return Kt;const Te=N.segments[wt],Sr=P[K];if(Yo(Sr))break;const pr=`${Sr}`,wo=K0&&void 0===pr)break;if(pr&&wo&&"object"==typeof wo&&void 0===wo.outlets){if(!Ht(pr,wo,Te))return Kt;K+=2}else{if(!Ht(pr,{},Te))return Kt;K++}wt++}return{match:!0,pathIndex:wt,commandIndex:K}}(N,z,P),wt=P.slice(K.commandIndex);if(K.match&&K.pathIndexKt!==jt)&&N.children[jt]&&1===N.numberOfChildren&&0===N.children[jt].segments.length){const Kt=ao(N.children[jt],z,P);return new mt(N.segments,Kt.children)}return Object.entries(K).forEach(([Kt,Te])=>{"string"==typeof Te&&(Te=[Te]),null!==Te&&(wt[Kt]=Ur(N.children[Kt],z,Te))}),Object.entries(N.children).forEach(([Kt,Te])=>{void 0===K[Kt]&&(wt[Kt]=Te)}),new mt(N.segments,wt)}}function vo(N,z,P){const K=N.segments.slice(0,z);let wt=0;for(;wt{"string"==typeof K&&(K=[K]),null!==K&&(z[P]=vo(new mt([],{}),0,K))}),z}function ro(N){const z={};return Object.entries(N).forEach(([P,K])=>z[P]=`${K}`),z}function Ht(N,z,P){return N==P.path&&Ee(z,P.parameters)}const he="imperative";var ce=function(N){return N[N.NavigationStart=0]="NavigationStart",N[N.NavigationEnd=1]="NavigationEnd",N[N.NavigationCancel=2]="NavigationCancel",N[N.NavigationError=3]="NavigationError",N[N.RoutesRecognized=4]="RoutesRecognized",N[N.ResolveStart=5]="ResolveStart",N[N.ResolveEnd=6]="ResolveEnd",N[N.GuardsCheckStart=7]="GuardsCheckStart",N[N.GuardsCheckEnd=8]="GuardsCheckEnd",N[N.RouteConfigLoadStart=9]="RouteConfigLoadStart",N[N.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",N[N.ChildActivationStart=11]="ChildActivationStart",N[N.ChildActivationEnd=12]="ChildActivationEnd",N[N.ActivationStart=13]="ActivationStart",N[N.ActivationEnd=14]="ActivationEnd",N[N.Scroll=15]="Scroll",N[N.NavigationSkipped=16]="NavigationSkipped",N}(ce||{});class dt{constructor(z,P){this.id=z,this.url=P}}class Gt extends dt{constructor(z,P,K="imperative",wt=null){super(z,P),this.type=ce.NavigationStart,this.navigationTrigger=K,this.restoredState=wt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Dt extends dt{constructor(z,P,K){super(z,P),this.urlAfterRedirects=K,this.type=ce.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ne=function(N){return N[N.Redirect=0]="Redirect",N[N.SupersededByNewNavigation=1]="SupersededByNewNavigation",N[N.NoDataFromResolver=2]="NoDataFromResolver",N[N.GuardRejected=3]="GuardRejected",N}(ne||{}),Re=function(N){return N[N.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",N[N.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",N}(Re||{});class Ce extends dt{constructor(z,P,K,wt){super(z,P),this.reason=K,this.code=wt,this.type=ce.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class or extends dt{constructor(z,P,K,wt){super(z,P),this.reason=K,this.code=wt,this.type=ce.NavigationSkipped}}class Cr extends dt{constructor(z,P,K,wt){super(z,P),this.error=K,this.target=wt,this.type=ce.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Er extends dt{constructor(z,P,K,wt){super(z,P),this.urlAfterRedirects=K,this.state=wt,this.type=ce.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nr extends dt{constructor(z,P,K,wt){super(z,P),this.urlAfterRedirects=K,this.state=wt,this.type=ce.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fr extends dt{constructor(z,P,K,wt,Kt){super(z,P),this.urlAfterRedirects=K,this.state=wt,this.shouldActivate=Kt,this.type=ce.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class qr extends dt{constructor(z,P,K,wt){super(z,P),this.urlAfterRedirects=K,this.state=wt,this.type=ce.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class to extends dt{constructor(z,P,K,wt){super(z,P),this.urlAfterRedirects=K,this.state=wt,this.type=ce.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xo{constructor(z){this.route=z,this.type=ce.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ao{constructor(z){this.route=z,this.type=ce.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class po{constructor(z){this.snapshot=z,this.type=ce.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class io{constructor(z){this.snapshot=z,this.type=ce.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zn{constructor(z){this.snapshot=z,this.type=ce.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Di{constructor(z){this.snapshot=z,this.type=ce.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jn{constructor(z,P,K){this.routerEvent=z,this.position=P,this.anchor=K,this.type=ce.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class $o{}class Bn{constructor(z,P){this.url=z,this.navigationBehaviorOptions=P}}function Qn(N){return N.outlet||jt}function Mn(N){if(!N)return null;if(N.routeConfig?._injector)return N.routeConfig._injector;for(let z=N.parent;z;z=z.parent){const P=z.routeConfig;if(P?._loadedInjector)return P._loadedInjector;if(P?._injector)return P._injector}return null}class na{get injector(){return Mn(this.route?.snapshot)??this.rootInjector}set injector(z){}constructor(z){this.rootInjector=z,this.outlet=null,this.route=null,this.children=new fi(this.rootInjector),this.attachRef=null}}let fi=(()=>{class N{constructor(P){this.rootInjector=P,this.contexts=new Map}onChildOutletCreated(P,K){const wt=this.getOrCreateContext(P);wt.outlet=K,this.contexts.set(P,wt)}onChildOutletDestroyed(P){const K=this.getContext(P);K&&(K.outlet=null,K.attachRef=null)}onOutletDeactivated(){const P=this.contexts;return this.contexts=new Map,P}onOutletReAttached(P){this.contexts=P}getOrCreateContext(P){let K=this.getContext(P);return K||(K=new na(this.rootInjector),this.contexts.set(P,K)),K}getContext(P){return this.contexts.get(P)||null}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(o.uvJ))}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();class Go{constructor(z){this._root=z}get root(){return this._root.value}parent(z){const P=this.pathFromRoot(z);return P.length>1?P[P.length-2]:null}children(z){const P=pa(z,this._root);return P?P.children.map(K=>K.value):[]}firstChild(z){const P=pa(z,this._root);return P&&P.children.length>0?P.children[0].value:null}siblings(z){const P=qn(z,this._root);return P.length<2?[]:P[P.length-2].children.map(wt=>wt.value).filter(wt=>wt!==z)}pathFromRoot(z){return qn(z,this._root).map(P=>P.value)}}function pa(N,z){if(N===z.value)return z;for(const P of z.children){const K=pa(N,P);if(K)return K}return null}function qn(N,z){if(N===z.value)return[z];for(const P of z.children){const K=qn(N,P);if(K.length)return K.unshift(z),K}return[]}class Jn{constructor(z,P){this.value=z,this.children=P}toString(){return`TreeNode(${this.value})`}}function Ln(N){const z={};return N&&N.children.forEach(P=>z[P.value.outlet]=P),z}class Fa extends Go{constructor(z,P){super(z),this.snapshot=P,fa(this,z)}toString(){return this.snapshot.toString()}}function zo(N){const z=function Ba(N){const Kt=new qi([],{},{},"",{},jt,N,null,{});return new us("",new Jn(Kt,[]))}(N),P=new k.t([new $("",{})]),K=new k.t({}),wt=new k.t({}),Kt=new k.t({}),Te=new k.t(""),Sr=new ii(P,K,Kt,Te,wt,jt,N,z.root);return Sr.snapshot=z.root,new Fa(new Jn(Sr,[]),z)}class ii{constructor(z,P,K,wt,Kt,Te,Sr,pr){this.urlSubject=z,this.paramsSubject=P,this.queryParamsSubject=K,this.fragmentSubject=wt,this.dataSubject=Kt,this.outlet=Te,this.component=Sr,this._futureSnapshot=pr,this.title=this.dataSubject?.pipe((0,tt.T)(wo=>wo[De]))??(0,y.of)(void 0),this.url=z,this.params=P,this.queryParams=K,this.fragment=wt,this.data=Kt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,tt.T)(z=>ft(z))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,tt.T)(z=>ft(z))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function mi(N,z,P="emptyOnly"){let K;const{routeConfig:wt}=N;return K=null===z||"always"!==P&&""!==wt?.path&&(z.component||z.routeConfig?.loadComponent)?{params:{...N.params},data:{...N.data},resolve:{...N.data,...N._resolvedData??{}}}:{params:{...z.params,...N.params},data:{...z.data,...N.data},resolve:{...N.data,...z.data,...wt?.data,...N._resolvedData}},wt&&On(wt)&&(K.resolve[De]=wt.title),K}class qi{get title(){return this.data?.[De]}constructor(z,P,K,wt,Kt,Te,Sr,pr,wo){this.url=z,this.params=P,this.queryParams=K,this.fragment=wt,this.data=Kt,this.outlet=Te,this.component=Sr,this.routeConfig=pr,this._resolve=wo}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ft(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ft(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(K=>K.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class us extends Go{constructor(z,P){super(P),this.url=z,fa(this,P)}toString(){return Ua(this._root)}}function fa(N,z){z.value._routerState=N,z.children.forEach(P=>fa(N,P))}function Ua(N){const z=N.children.length>0?` { ${N.children.map(Ua).join(", ")} } `:"";return`${N.value}${z}`}function hi(N){if(N.snapshot){const z=N.snapshot,P=N._futureSnapshot;N.snapshot=P,Ee(z.queryParams,P.queryParams)||N.queryParamsSubject.next(P.queryParams),z.fragment!==P.fragment&&N.fragmentSubject.next(P.fragment),Ee(z.params,P.params)||N.paramsSubject.next(P.params),function Ut(N,z){if(N.length!==z.length)return!1;for(let P=0;PEe(P.parameters,z[K].parameters))}(N.url,z.url);return P&&!(!N.parent!=!z.parent)&&(!N.parent||Jo(N.parent,z.parent))}function On(N){return"string"==typeof N.title||null===N.title}let ia=(()=>{class N{constructor(){this.activated=null,this._activatedRoute=null,this.name=jt,this.activateEvents=new o.bkB,this.deactivateEvents=new o.bkB,this.attachEvents=new o.bkB,this.detachEvents=new o.bkB,this.parentContexts=(0,o.WQX)(fi),this.location=(0,o.WQX)(o.c1b),this.changeDetector=(0,o.WQX)(o.gRc),this.inputBinder=(0,o.WQX)(qa,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(P){if(P.name){const{firstChange:K,previousValue:wt}=P.name;if(K)return;this.isTrackedInParentContexts(wt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(wt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(P){return this.parentContexts.getContext(P)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const P=this.parentContexts.getContext(this.name);P?.route&&(P.attachRef?this.attach(P.attachRef,P.route):this.activateWith(P.route,P.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.wOt(4012,!1);this.location.detach();const P=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(P.instance),P}attach(P,K){this.activated=P,this._activatedRoute=K,this.location.insert(P.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(P.instance)}deactivate(){if(this.activated){const P=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(P)}}activateWith(P,K){if(this.isActivated)throw new o.wOt(4013,!1);this._activatedRoute=P;const wt=this.location,Te=P.snapshot.component,Sr=this.parentContexts.getOrCreateContext(this.name).children,pr=new bi(P,Sr,wt.injector);this.activated=wt.createComponent(Te,{index:wt.length,injector:pr,environmentInjector:K}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275dir=o.FsC({type:N,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.OA$]})}}return N})();class bi{__ngOutletInjector(z){return new bi(this.route,this.childContexts,z)}constructor(z,P,K){this.route=z,this.childContexts=P,this.parent=K}get(z,P){return z===ii?this.route:z===fi?this.childContexts:this.parent.get(z,P)}}const qa=new o.nKC("");let Vn=(()=>{class N{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(P){this.unsubscribeFromRouteData(P),this.subscribeToRouteData(P)}unsubscribeFromRouteData(P){this.outletDataSubscriptions.get(P)?.unsubscribe(),this.outletDataSubscriptions.delete(P)}subscribeToRouteData(P){const{activatedRoute:K}=P,wt=(0,S.z)([K.queryParams,K.params,K.data]).pipe((0,_t.n)(([Kt,Te,Sr],pr)=>(Sr={...Kt,...Te,...Sr},0===pr?(0,y.of)(Sr):Promise.resolve(Sr)))).subscribe(Kt=>{if(!P.isActivated||!P.activatedComponentRef||P.activatedRoute!==K||null===K.component)return void this.unsubscribeFromRouteData(P);const Te=(0,o.HJs)(K.component);if(Te)for(const{templateName:Sr}of Te.inputs)P.activatedComponentRef.setInput(Sr,Kt[Sr]);else this.unsubscribeFromRouteData(P)});this.outletDataSubscriptions.set(P,wt)}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac})}}return N})();function ci(N,z,P){if(P&&N.shouldReuseRoute(z.value,P.value.snapshot)){const K=P.value;K._futureSnapshot=z.value;const wt=function ji(N,z,P){return z.children.map(K=>{for(const wt of P.children)if(N.shouldReuseRoute(K.value,wt.value.snapshot))return ci(N,K,wt);return ci(N,K)})}(N,z,P);return new Jn(K,wt)}{if(N.shouldAttach(z.value)){const Kt=N.retrieve(z.value);if(null!==Kt){const Te=Kt.route;return Te.value._futureSnapshot=z.value,Te.children=z.children.map(Sr=>ci(N,Sr)),Te}}const K=function ti(N){return new ii(new k.t(N.url),new k.t(N.params),new k.t(N.queryParams),new k.t(N.fragment),new k.t(N.data),N.outlet,N.component,N)}(z.value),wt=z.children.map(Kt=>ci(N,Kt));return new Jn(K,wt)}}class aa{constructor(z,P){this.redirectTo=z,this.navigationBehaviorOptions=P}}const Li="ngNavigationCancelingError";function ma(N,z){const{redirectTo:P,navigationBehaviorOptions:K}=ar(z)?{redirectTo:z,navigationBehaviorOptions:void 0}:z,wt=Ja(!1,ne.Redirect);return wt.url=P,wt.navigationBehaviorOptions=K,wt}function Ja(N,z){const P=new Error(`NavigationCancelingError: ${N||""}`);return P[Li]=!0,P.cancellationCode=z,P}function ts(N){return!!N&&N[Li]}class et{constructor(z,P,K,wt,Kt){this.routeReuseStrategy=z,this.futureState=P,this.currState=K,this.forwardEvent=wt,this.inputBindingEnabled=Kt}activate(z){const P=this.futureState._root,K=this.currState?this.currState._root:null;this.deactivateChildRoutes(P,K,z),hi(this.futureState.root),this.activateChildRoutes(P,K,z)}deactivateChildRoutes(z,P,K){const wt=Ln(P);z.children.forEach(Kt=>{const Te=Kt.value.outlet;this.deactivateRoutes(Kt,wt[Te],K),delete wt[Te]}),Object.values(wt).forEach(Kt=>{this.deactivateRouteAndItsChildren(Kt,K)})}deactivateRoutes(z,P,K){const wt=z.value,Kt=P?P.value:null;if(wt===Kt)if(wt.component){const Te=K.getContext(wt.outlet);Te&&this.deactivateChildRoutes(z,P,Te.children)}else this.deactivateChildRoutes(z,P,K);else Kt&&this.deactivateRouteAndItsChildren(P,K)}deactivateRouteAndItsChildren(z,P){z.value.component&&this.routeReuseStrategy.shouldDetach(z.value.snapshot)?this.detachAndStoreRouteSubtree(z,P):this.deactivateRouteAndOutlet(z,P)}detachAndStoreRouteSubtree(z,P){const K=P.getContext(z.value.outlet),wt=K&&z.value.component?K.children:P,Kt=Ln(z);for(const Te of Object.values(Kt))this.deactivateRouteAndItsChildren(Te,wt);if(K&&K.outlet){const Te=K.outlet.detach(),Sr=K.children.onOutletDeactivated();this.routeReuseStrategy.store(z.value.snapshot,{componentRef:Te,route:z,contexts:Sr})}}deactivateRouteAndOutlet(z,P){const K=P.getContext(z.value.outlet),wt=K&&z.value.component?K.children:P,Kt=Ln(z);for(const Te of Object.values(Kt))this.deactivateRouteAndItsChildren(Te,wt);K&&(K.outlet&&(K.outlet.deactivate(),K.children.onOutletDeactivated()),K.attachRef=null,K.route=null)}activateChildRoutes(z,P,K){const wt=Ln(P);z.children.forEach(Kt=>{this.activateRoutes(Kt,wt[Kt.value.outlet],K),this.forwardEvent(new Di(Kt.value.snapshot))}),z.children.length&&this.forwardEvent(new io(z.value.snapshot))}activateRoutes(z,P,K){const wt=z.value,Kt=P?P.value:null;if(hi(wt),wt===Kt)if(wt.component){const Te=K.getOrCreateContext(wt.outlet);this.activateChildRoutes(z,P,Te.children)}else this.activateChildRoutes(z,P,K);else if(wt.component){const Te=K.getOrCreateContext(wt.outlet);if(this.routeReuseStrategy.shouldAttach(wt.snapshot)){const Sr=this.routeReuseStrategy.retrieve(wt.snapshot);this.routeReuseStrategy.store(wt.snapshot,null),Te.children.onOutletReAttached(Sr.contexts),Te.attachRef=Sr.componentRef,Te.route=Sr.route.value,Te.outlet&&Te.outlet.attach(Sr.componentRef,Sr.route.value),hi(Sr.route.value),this.activateChildRoutes(z,null,Te.children)}else Te.attachRef=null,Te.route=wt,Te.outlet&&Te.outlet.activateWith(wt,Te.injector),this.activateChildRoutes(z,null,Te.children)}else this.activateChildRoutes(z,null,K)}}class te{constructor(z){this.path=z,this.route=this.path[this.path.length-1]}}class le{constructor(z,P){this.component=z,this.route=P}}function Br(N,z,P){const K=N._root;return co(K,z?z._root:null,P,[K.value])}function Oo(N,z){const P=Symbol(),K=z.get(N,P);return K===P?"function"!=typeof N||(0,o.LfX)(N)?z.get(N):N:K}function co(N,z,P,K,wt={canDeactivateChecks:[],canActivateChecks:[]}){const Kt=Ln(z);return N.children.forEach(Te=>{(function en(N,z,P,K,wt={canDeactivateChecks:[],canActivateChecks:[]}){const Kt=N.value,Te=z?z.value:null,Sr=P?P.getContext(N.value.outlet):null;if(Te&&Kt.routeConfig===Te.routeConfig){const pr=function mn(N,z,P){if("function"==typeof P)return P(N,z);switch(P){case"pathParamsChange":return!it(N.url,z.url);case"pathParamsOrQueryParamsChange":return!it(N.url,z.url)||!Ee(N.queryParams,z.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Jo(N,z)||!Ee(N.queryParams,z.queryParams);default:return!Jo(N,z)}}(Te,Kt,Kt.routeConfig.runGuardsAndResolvers);pr?wt.canActivateChecks.push(new te(K)):(Kt.data=Te.data,Kt._resolvedData=Te._resolvedData),co(N,z,Kt.component?Sr?Sr.children:null:P,K,wt),pr&&Sr&&Sr.outlet&&Sr.outlet.isActivated&&wt.canDeactivateChecks.push(new le(Sr.outlet.component,Te))}else Te&&Lo(z,Sr,wt),wt.canActivateChecks.push(new te(K)),co(N,null,Kt.component?Sr?Sr.children:null:P,K,wt)})(Te,Kt[Te.value.outlet],P,K.concat([Te.value]),wt),delete Kt[Te.value.outlet]}),Object.entries(Kt).forEach(([Te,Sr])=>Lo(Sr,P.getContext(Te),wt)),wt}function Lo(N,z,P){const K=Ln(N),wt=N.value;Object.entries(K).forEach(([Kt,Te])=>{Lo(Te,wt.component?z?z.children.getContext(Kt):null:z,P)}),P.canDeactivateChecks.push(new le(wt.component&&z&&z.outlet&&z.outlet.isActivated?z.outlet.component:null,wt))}function In(N){return"function"==typeof N}function Ki(N){return N instanceof I.G||"EmptyError"===N?.name}const zn=Symbol("INITIAL_VALUE");function Gi(){return(0,_t.n)(N=>(0,S.z)(N.map(z=>z.pipe((0,Mt.s)(1),(0,$t.Z)(zn)))).pipe((0,tt.T)(z=>{for(const P of z)if(!0!==P){if(P===zn)return zn;if(!1===P||st(P))return P}return!0}),(0,At.p)(z=>z!==zn),(0,Mt.s)(1)))}function st(N){return ar(N)||N instanceof aa}function Ps(N){return(0,R.F)((0,Xe.M)(z=>{if("boolean"!=typeof z)throw ma(0,z)}),(0,tt.T)(z=>!0===z))}class ja{constructor(z){this.segmentGroup=z||null}}class yn extends Error{constructor(z){super(),this.urlTree=z}}function Bs(N){return(0,L.$)(new ja(N))}class rl{constructor(z,P){this.urlSerializer=z,this.urlTree=P}lineralizeSegments(z,P){let K=[],wt=P.root;for(;;){if(K=K.concat(wt.segments),0===wt.numberOfChildren)return(0,y.of)(K);if(wt.numberOfChildren>1||!wt.children[jt])return(0,L.$)(new o.wOt(4e3,!1));wt=wt.children[jt]}}applyRedirectCommands(z,P,K,wt,Kt){if("string"!=typeof P){const Sr=P,{queryParams:pr,fragment:wo,routeConfig:un,url:kn,outlet:bn,params:Da,data:Sa,title:Os}=wt,ys=(0,o.N4e)(Kt,()=>Sr({params:Da,data:Sa,queryParams:pr,fragment:wo,routeConfig:un,url:kn,outlet:bn,title:Os}));if(ys instanceof br)throw new yn(ys);P=ys}const Te=this.applyRedirectCreateUrlTree(P,this.urlSerializer.parse(P),z,K);if("/"===P[0])throw new yn(Te);return Te}applyRedirectCreateUrlTree(z,P,K,wt){const Kt=this.createSegmentGroup(z,P.root,K,wt);return new br(Kt,this.createQueryParams(P.queryParams,this.urlTree.queryParams),P.fragment)}createQueryParams(z,P){const K={};return Object.entries(z).forEach(([wt,Kt])=>{if("string"==typeof Kt&&":"===Kt[0]){const Sr=Kt.substring(1);K[wt]=P[Sr]}else K[wt]=Kt}),K}createSegmentGroup(z,P,K,wt){const Kt=this.createSegments(z,P.segments,K,wt);let Te={};return Object.entries(P.children).forEach(([Sr,pr])=>{Te[Sr]=this.createSegmentGroup(z,pr,K,wt)}),new mt(Kt,Te)}createSegments(z,P,K,wt){return P.map(Kt=>":"===Kt.path[0]?this.findPosParam(z,Kt,wt):this.findOrReturn(Kt,K))}findPosParam(z,P,K){const wt=K[P.path.substring(1)];if(!wt)throw new o.wOt(4001,!1);return wt}findOrReturn(z,P){let K=0;for(const wt of P){if(wt.path===z.path)return P.splice(K),wt;K++}return z}}const cn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fi(N,z,P,K,wt){const Kt=rn(N,z,P);return Kt.matched?(K=function nn(N,z){return N.providers&&!N._injector&&(N._injector=(0,o.Ol2)(N.providers,z,`Route: ${N.path}`)),N._injector??z}(z,K),function Fs(N,z,P,K){const wt=z.canMatch;if(!wt||0===wt.length)return(0,y.of)(!0);const Kt=wt.map(Te=>{const Sr=Oo(Te,N);return Me(function ri(N){return N&&In(N.canMatch)}(Sr)?Sr.canMatch(z,P):(0,o.N4e)(N,()=>Sr(z,P)))});return(0,y.of)(Kt).pipe(Gi(),Ps())}(K,z,P).pipe((0,tt.T)(Te=>!0===Te?Kt:{...cn}))):(0,y.of)(Kt)}function rn(N,z,P){if("**"===z.path)return function ta(N){return{matched:!0,parameters:N.length>0?Wt(N).parameters:{},consumedSegments:N,remainingSegments:[],positionalParamSegments:{}}}(P);if(""===z.path)return"full"===z.pathMatch&&(N.hasChildren()||P.length>0)?{...cn}:{matched:!0,consumedSegments:[],remainingSegments:P,parameters:{},positionalParamSegments:{}};const wt=(z.matcher||pe)(P,N,z);if(!wt)return{...cn};const Kt={};Object.entries(wt.posParams??{}).forEach(([Sr,pr])=>{Kt[Sr]=pr.path});const Te=wt.consumed.length>0?{...Kt,...wt.consumed[wt.consumed.length-1].parameters}:Kt;return{matched:!0,consumedSegments:wt.consumed,remainingSegments:P.slice(wt.consumed.length),parameters:Te,positionalParamSegments:wt.posParams??{}}}function Vi(N,z,P,K){return P.length>0&&function sa(N,z,P){return P.some(K=>As(N,z,K)&&Qn(K)!==jt)}(N,P,K)?{segmentGroup:new mt(z,Ss(K,new mt(P,N.children))),slicedSegments:[]}:0===P.length&&function xc(N,z,P){return P.some(K=>As(N,z,K))}(N,P,K)?{segmentGroup:new mt(N.segments,Ks(N,P,K,N.children)),slicedSegments:P}:{segmentGroup:new mt(N.segments,N.children),slicedSegments:P}}function Ks(N,z,P,K){const wt={};for(const Kt of P)if(As(N,z,Kt)&&!K[Qn(Kt)]){const Te=new mt([],{});wt[Qn(Kt)]=Te}return{...K,...wt}}function Ss(N,z){const P={};P[jt]=z;for(const K of N)if(""===K.path&&Qn(K)!==jt){const wt=new mt([],{});P[Qn(K)]=wt}return P}function As(N,z,P){return(!(N.hasChildren()||z.length>0)||"full"!==P.pathMatch)&&""===P.path}class _c{}class kc{constructor(z,P,K,wt,Kt,Te,Sr){this.injector=z,this.configLoader=P,this.rootComponentType=K,this.config=wt,this.urlTree=Kt,this.paramsInheritanceStrategy=Te,this.urlSerializer=Sr,this.applyRedirects=new rl(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(z){return new o.wOt(4002,`'${z.segmentGroup}'`)}recognize(){const z=Vi(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(z).pipe((0,tt.T)(({children:P,rootSnapshot:K})=>{const wt=new Jn(K,P),Kt=new us("",wt),Te=function xr(N,z,P=null,K=null){return $n(Eo(N),z,P,K)}(K,[],this.urlTree.queryParams,this.urlTree.fragment);return Te.queryParams=this.urlTree.queryParams,Kt.url=this.urlSerializer.serialize(Te),{state:Kt,tree:Te}}))}match(z){const P=new qi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),jt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,z,jt,P).pipe((0,tt.T)(K=>({children:K,rootSnapshot:P})),(0,kr.W)(K=>{if(K instanceof yn)return this.urlTree=K.urlTree,this.match(K.urlTree.root);throw K instanceof ja?this.noMatchError(K):K}))}processSegmentGroup(z,P,K,wt,Kt){return 0===K.segments.length&&K.hasChildren()?this.processChildren(z,P,K,Kt):this.processSegment(z,P,K,K.segments,wt,!0,Kt).pipe((0,tt.T)(Te=>Te instanceof Jn?[Te]:[]))}processChildren(z,P,K,wt){const Kt=[];for(const Te of Object.keys(K.children))"primary"===Te?Kt.unshift(Te):Kt.push(Te);return(0,c.H)(Kt).pipe((0,oe.H)(Te=>{const Sr=K.children[Te],pr=function ua(N,z){const P=N.filter(K=>Qn(K)===z);return P.push(...N.filter(K=>Qn(K)!==z)),P}(P,Te);return this.processSegmentGroup(z,pr,Sr,Te,wt)}),function vr(N,z){return(0,nt.N)((0,gr.S)(N,z,arguments.length>=2,!0))}((Te,Sr)=>(Te.push(...Sr),Te)),rt(null),function xe(N,z){const P=arguments.length>=2;return K=>K.pipe(N?(0,At.p)((wt,Kt)=>N(wt,Kt,K)):Vt.D,Gr(1),P?rt(z):yt(()=>new I.G))}(),(0,kt.Z)(Te=>{if(null===Te)return Bs(K);const Sr=Bc(Te);return function Ec(N){N.sort((z,P)=>z.value.outlet===jt?-1:P.value.outlet===jt?1:z.value.outlet.localeCompare(P.value.outlet))}(Sr),(0,y.of)(Sr)}))}processSegment(z,P,K,wt,Kt,Te,Sr){return(0,c.H)(P).pipe((0,oe.H)(pr=>this.processSegmentAgainstRoute(pr._injector??z,P,pr,K,wt,Kt,Te,Sr).pipe((0,kr.W)(wo=>{if(wo instanceof ja)return(0,y.of)(null);throw wo}))),Xt(pr=>!!pr),(0,kr.W)(pr=>{if(Ki(pr))return function Oi(N,z,P){return 0===z.length&&!N.children[P]}(K,wt,Kt)?(0,y.of)(new _c):Bs(K);throw pr}))}processSegmentAgainstRoute(z,P,K,wt,Kt,Te,Sr,pr){return Qn(K)===Te||Te!==jt&&As(wt,Kt,K)?void 0===K.redirectTo?this.matchSegmentAgainstRoute(z,wt,K,Kt,Te,pr):this.allowRedirects&&Sr?this.expandSegmentAgainstRouteUsingRedirect(z,wt,P,K,Kt,Te,pr):Bs(wt):Bs(wt)}expandSegmentAgainstRouteUsingRedirect(z,P,K,wt,Kt,Te,Sr){const{matched:pr,parameters:wo,consumedSegments:un,positionalParamSegments:kn,remainingSegments:bn}=rn(P,wt,Kt);if(!pr)return Bs(P);"string"==typeof wt.redirectTo&&"/"===wt.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Da=new qi(Kt,wo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Us(wt),Qn(wt),wt.component??wt._loadedComponent??null,wt,$s(wt)),Sa=mi(Da,Sr,this.paramsInheritanceStrategy);Da.params=Object.freeze(Sa.params),Da.data=Object.freeze(Sa.data);const Os=this.applyRedirects.applyRedirectCommands(un,wt.redirectTo,kn,Da,z);return this.applyRedirects.lineralizeSegments(wt,Os).pipe((0,kt.Z)(ys=>this.processSegment(z,K,P,ys.concat(bn),Te,!1,Sr)))}matchSegmentAgainstRoute(z,P,K,wt,Kt,Te){const Sr=Fi(P,K,wt,z);return"**"===K.path&&(P.children={}),Sr.pipe((0,_t.n)(pr=>pr.matched?this.getChildConfig(z=K._injector??z,K,wt).pipe((0,_t.n)(({routes:wo})=>{const un=K._loadedInjector??z,{parameters:kn,consumedSegments:bn,remainingSegments:Da}=pr,Sa=new qi(bn,kn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Us(K),Qn(K),K.component??K._loadedComponent??null,K,$s(K)),Os=mi(Sa,Te,this.paramsInheritanceStrategy);Sa.params=Object.freeze(Os.params),Sa.data=Object.freeze(Os.data);const{segmentGroup:ys,slicedSegments:$c}=Vi(P,bn,Da,wo);if(0===$c.length&&ys.hasChildren())return this.processChildren(un,wo,ys,Sa).pipe((0,tt.T)(Wa=>new Jn(Sa,Wa)));if(0===wo.length&&0===$c.length)return(0,y.of)(new Jn(Sa,[]));const Xs=Qn(K)===Kt;return this.processSegment(un,wo,ys,$c,Xs?jt:Kt,!0,Sa).pipe((0,tt.T)(Wa=>new Jn(Sa,Wa instanceof Jn?[Wa]:[])))})):Bs(P)))}getChildConfig(z,P,K){return P.children?(0,y.of)({routes:P.children,injector:z}):P.loadChildren?void 0!==P._loadedRoutes?(0,y.of)({routes:P._loadedRoutes,injector:P._loadedInjector}):function $a(N,z,P,K){const wt=z.canLoad;if(void 0===wt||0===wt.length)return(0,y.of)(!0);const Kt=wt.map(Te=>{const Sr=Oo(Te,N);return Me(function Un(N){return N&&In(N.canLoad)}(Sr)?Sr.canLoad(z,P):(0,o.N4e)(N,()=>Sr(z,P)))});return(0,y.of)(Kt).pipe(Gi(),Ps())}(z,P,K).pipe((0,kt.Z)(wt=>wt?this.configLoader.loadChildren(z,P).pipe((0,Xe.M)(Kt=>{P._loadedRoutes=Kt.routes,P._loadedInjector=Kt.injector})):function rd(){return(0,L.$)(Ja(!1,ne.GuardRejected))}())):(0,y.of)({routes:[],injector:z})}}function Cc(N){const z=N.value.routeConfig;return z&&""===z.path}function Bc(N){const z=[],P=new Set;for(const K of N){if(!Cc(K)){z.push(K);continue}const wt=z.find(Kt=>K.value.routeConfig===Kt.value.routeConfig);void 0!==wt?(wt.children.push(...K.children),P.add(wt)):z.push(K)}for(const K of P){const wt=Bc(K.children);z.push(new Jn(K.value,wt))}return z.filter(K=>!P.has(K))}function Us(N){return N.data||{}}function $s(N){return N.resolve||{}}function ki(N){const z=N.children.map(P=>ki(P)).flat();return[N,...z]}function Ts(N){return(0,_t.n)(z=>{const P=N(z);return P?(0,c.H)(P).pipe((0,tt.T)(()=>z)):(0,y.of)(z)})}let ai=(()=>{class N{buildTitle(P){let K,wt=P.root;for(;void 0!==wt;)K=this.getResolvedTitleForRoute(wt)??K,wt=wt.children.find(Kt=>Kt.outlet===jt);return K}getResolvedTitleForRoute(P){return P.data[De]}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(Gs),providedIn:"root"})}}return N})(),Gs=(()=>{class N extends ai{constructor(P){super(),this.title=P}updateTitle(P){const K=this.buildTitle(P);void 0!==K&&this.title.setTitle(K)}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(de.hE))}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const Ms=new o.nKC("",{providedIn:"root",factory:()=>({})});let Ea=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275cmp=o.VBU({type:N,selectors:[["ng-component"]],standalone:!0,features:[o.aNF],decls:1,vars:0,template:function(K,wt){1&K&&o.nrm(0,"router-outlet")},dependencies:[ia],encapsulation:2})}}return N})();function Pn(N){const z=N.children&&N.children.map(Pn),P=z?{...N,children:z}:{...N};return!P.component&&!P.loadComponent&&(z||P.loadChildren)&&P.outlet&&P.outlet!==jt&&(P.component=Ea),P}const za=new o.nKC("");let hs=(()=>{class N{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.WQX)(o.Ql9)}loadComponent(P){if(this.componentLoaders.get(P))return this.componentLoaders.get(P);if(P._loadedComponent)return(0,y.of)(P._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(P);const K=Me(P.loadComponent()).pipe((0,tt.T)(lc),(0,Xe.M)(Kt=>{this.onLoadEndListener&&this.onLoadEndListener(P),P._loadedComponent=Kt}),(0,gt.j)(()=>{this.componentLoaders.delete(P)})),wt=new W.G(K,()=>new q.B).pipe((0,Nt.B)());return this.componentLoaders.set(P,wt),wt}loadChildren(P,K){if(this.childrenLoaders.get(K))return this.childrenLoaders.get(K);if(K._loadedRoutes)return(0,y.of)({routes:K._loadedRoutes,injector:K._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(K);const Kt=function gi(N,z,P,K){return Me(N.loadChildren()).pipe((0,tt.T)(lc),(0,kt.Z)(wt=>wt instanceof o.Co$||Array.isArray(wt)?(0,y.of)(wt):(0,c.H)(z.compileModuleAsync(wt))),(0,tt.T)(wt=>{K&&K(N);let Kt,Te,Sr=!1;return Array.isArray(wt)?(Te=wt,!0):(Kt=wt.create(P).injector,Te=Kt.get(za,[],{optional:!0,self:!0}).flat()),{routes:Te.map(Pn),injector:Kt}}))}(K,this.compiler,P,this.onLoadEndListener).pipe((0,gt.j)(()=>{this.childrenLoaders.delete(K)})),Te=new W.G(Kt,()=>new q.B).pipe((0,Nt.B)());return this.childrenLoaders.set(K,Te),Te}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();function lc(N){return function gs(N){return N&&"object"==typeof N&&"default"in N}(N)?N.default:N}let Is=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(ca),providedIn:"root"})}}return N})(),ca=(()=>{class N{shouldProcessUrl(P){return!0}extract(P){return P}merge(P,K){return P}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const fs=new o.nKC(""),gn=new o.nKC("");function dc(N,z,P){const K=N.get(gn),wt=N.get(ht.qQ);return N.get(o.SKi).runOutsideAngular(()=>{if(!wt.startViewTransition||K.skipNextTransition)return K.skipNextTransition=!1,new Promise(wo=>setTimeout(wo));let Kt;const Te=new Promise(wo=>{Kt=wo}),Sr=wt.startViewTransition(()=>(Kt(),function Dc(N){return new Promise(z=>{(0,o.mal)({read:()=>setTimeout(z)},{injector:N})})}(N))),{onViewTransitionCreated:pr}=K;return pr&&(0,o.N4e)(N,()=>pr({transition:Sr,from:z,to:P})),Te})}const B=new o.nKC("");let Et=(()=>{class N{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new q.B,this.transitionAbortSubject=new q.B,this.configLoader=(0,o.WQX)(hs),this.environmentInjector=(0,o.WQX)(o.uvJ),this.urlSerializer=(0,o.WQX)(It),this.rootContexts=(0,o.WQX)(fi),this.location=(0,o.WQX)(ht.aZ),this.inputBindingEnabled=null!==(0,o.WQX)(qa,{optional:!0}),this.titleStrategy=(0,o.WQX)(ai),this.options=(0,o.WQX)(Ms,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,o.WQX)(Is),this.createViewTransition=(0,o.WQX)(fs,{optional:!0}),this.navigationErrorHandler=(0,o.WQX)(B,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,y.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=wt=>this.events.next(new Ao(wt)),this.configLoader.onLoadStartListener=wt=>this.events.next(new xo(wt))}complete(){this.transitions?.complete()}handleNavigationRequest(P){const K=++this.navigationId;this.transitions?.next({...this.transitions.value,...P,id:K})}setupNavigations(P,K,wt){return this.transitions=new k.t({id:0,currentUrlTree:K,currentRawUrl:K,extractedUrl:this.urlHandlingStrategy.extract(K),urlAfterRedirects:this.urlHandlingStrategy.extract(K),rawUrl:K,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:he,restoredState:null,currentSnapshot:wt.snapshot,targetSnapshot:null,currentRouterState:wt,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,At.p)(Kt=>0!==Kt.id),(0,tt.T)(Kt=>({...Kt,extractedUrl:this.urlHandlingStrategy.extract(Kt.rawUrl)})),(0,_t.n)(Kt=>{let Te=!1,Sr=!1;return(0,y.of)(Kt).pipe((0,_t.n)(pr=>{if(this.navigationId>Kt.id)return this.cancelNavigationTransition(Kt,"",ne.SupersededByNewNavigation),J.w;this.currentTransition=Kt,this.currentNavigation={id:pr.id,initialUrl:pr.rawUrl,extractedUrl:pr.extractedUrl,targetBrowserUrl:"string"==typeof pr.extras.browserUrl?this.urlSerializer.parse(pr.extras.browserUrl):pr.extras.browserUrl,trigger:pr.source,extras:pr.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const wo=!P.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!wo&&"reload"!==(pr.extras.onSameUrlNavigation??P.onSameUrlNavigation)){const kn="";return this.events.next(new or(pr.id,this.urlSerializer.serialize(pr.rawUrl),kn,Re.IgnoredSameUrlNavigation)),pr.resolve(!1),J.w}if(this.urlHandlingStrategy.shouldProcessUrl(pr.rawUrl))return(0,y.of)(pr).pipe((0,_t.n)(kn=>{const bn=this.transitions?.getValue();return this.events.next(new Gt(kn.id,this.urlSerializer.serialize(kn.extractedUrl),kn.source,kn.restoredState)),bn!==this.transitions?.getValue()?J.w:Promise.resolve(kn)}),function ka(N,z,P,K,wt,Kt){return(0,kt.Z)(Te=>function Fc(N,z,P,K,wt,Kt,Te="emptyOnly"){return new kc(N,z,P,K,wt,Te,Kt).recognize()}(N,z,P,K,Te.extractedUrl,wt,Kt).pipe((0,tt.T)(({state:Sr,tree:pr})=>({...Te,targetSnapshot:Sr,urlAfterRedirects:pr}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,P.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Xe.M)(kn=>{Kt.targetSnapshot=kn.targetSnapshot,Kt.urlAfterRedirects=kn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:kn.urlAfterRedirects};const bn=new Er(kn.id,this.urlSerializer.serialize(kn.extractedUrl),this.urlSerializer.serialize(kn.urlAfterRedirects),kn.targetSnapshot);this.events.next(bn)}));if(wo&&this.urlHandlingStrategy.shouldProcessUrl(pr.currentRawUrl)){const{id:kn,extractedUrl:bn,source:Da,restoredState:Sa,extras:Os}=pr,ys=new Gt(kn,this.urlSerializer.serialize(bn),Da,Sa);this.events.next(ys);const $c=zo(this.rootComponentType).snapshot;return this.currentTransition=Kt={...pr,targetSnapshot:$c,urlAfterRedirects:bn,extras:{...Os,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=bn,(0,y.of)(Kt)}{const kn="";return this.events.next(new or(pr.id,this.urlSerializer.serialize(pr.extractedUrl),kn,Re.IgnoredByUrlHandlingStrategy)),pr.resolve(!1),J.w}}),(0,Xe.M)(pr=>{const wo=new Nr(pr.id,this.urlSerializer.serialize(pr.extractedUrl),this.urlSerializer.serialize(pr.urlAfterRedirects),pr.targetSnapshot);this.events.next(wo)}),(0,tt.T)(pr=>(this.currentTransition=Kt={...pr,guards:Br(pr.targetSnapshot,pr.currentSnapshot,this.rootContexts)},Kt)),function bt(N,z){return(0,kt.Z)(P=>{const{targetSnapshot:K,currentSnapshot:wt,guards:{canActivateChecks:Kt,canDeactivateChecks:Te}}=P;return 0===Te.length&&0===Kt.length?(0,y.of)({...P,guardsResult:!0}):function X(N,z,P,K){return(0,c.H)(N).pipe((0,kt.Z)(wt=>function Ls(N,z,P,K,wt){const Kt=z&&z.routeConfig?z.routeConfig.canDeactivate:null;if(!Kt||0===Kt.length)return(0,y.of)(!0);const Te=Kt.map(Sr=>{const pr=Mn(z)??wt,wo=Oo(Sr,pr);return Me(function Ji(N){return N&&In(N.canDeactivate)}(wo)?wo.canDeactivate(N,z,P,K):(0,o.N4e)(pr,()=>wo(N,z,P,K))).pipe(Xt())});return(0,y.of)(Te).pipe(Gi())}(wt.component,wt.route,P,z,K)),Xt(wt=>!0!==wt,!0))}(Te,K,wt,N).pipe((0,kt.Z)(Sr=>Sr&&function Ai(N){return"boolean"==typeof N}(Sr)?function Bt(N,z,P,K){return(0,c.H)(z).pipe((0,oe.H)(wt=>(0,T.x)(function No(N,z){return null!==N&&z&&z(new po(N)),(0,y.of)(!0)}(wt.route.parent,K),function je(N,z){return null!==N&&z&&z(new Zn(N)),(0,y.of)(!0)}(wt.route,K),function ha(N,z,P){const K=z[z.length-1],Kt=z.slice(0,z.length-1).reverse().map(Te=>function jr(N){const z=N.routeConfig?N.routeConfig.canActivateChild:null;return z&&0!==z.length?{node:N,guards:z}:null}(Te)).filter(Te=>null!==Te).map(Te=>(0,M.v)(()=>{const Sr=Te.guards.map(pr=>{const wo=Mn(Te.node)??P,un=Oo(pr,wo);return Me(function wi(N){return N&&In(N.canActivateChild)}(un)?un.canActivateChild(K,N):(0,o.N4e)(wo,()=>un(K,N))).pipe(Xt())});return(0,y.of)(Sr).pipe(Gi())}));return(0,y.of)(Kt).pipe(Gi())}(N,wt.path,P),function hn(N,z,P){const K=z.routeConfig?z.routeConfig.canActivate:null;if(!K||0===K.length)return(0,y.of)(!0);const wt=K.map(Kt=>(0,M.v)(()=>{const Te=Mn(z)??P,Sr=Oo(Kt,Te);return Me(function Ti(N){return N&&In(N.canActivate)}(Sr)?Sr.canActivate(z,N):(0,o.N4e)(Te,()=>Sr(z,N))).pipe(Xt())}));return(0,y.of)(wt).pipe(Gi())}(N,wt.route,P))),Xt(wt=>!0!==wt,!0))}(K,Kt,N,z):(0,y.of)(Sr)),(0,tt.T)(Sr=>({...P,guardsResult:Sr})))})}(this.environmentInjector,pr=>this.events.next(pr)),(0,Xe.M)(pr=>{if(Kt.guardsResult=pr.guardsResult,pr.guardsResult&&"boolean"!=typeof pr.guardsResult)throw ma(0,pr.guardsResult);const wo=new Fr(pr.id,this.urlSerializer.serialize(pr.extractedUrl),this.urlSerializer.serialize(pr.urlAfterRedirects),pr.targetSnapshot,!!pr.guardsResult);this.events.next(wo)}),(0,At.p)(pr=>!!pr.guardsResult||(this.cancelNavigationTransition(pr,"",ne.GuardRejected),!1)),Ts(pr=>{if(pr.guards.canActivateChecks.length)return(0,y.of)(pr).pipe((0,Xe.M)(wo=>{const un=new qr(wo.id,this.urlSerializer.serialize(wo.extractedUrl),this.urlSerializer.serialize(wo.urlAfterRedirects),wo.targetSnapshot);this.events.next(un)}),(0,_t.n)(wo=>{let un=!1;return(0,y.of)(wo).pipe(function nl(N,z){return(0,kt.Z)(P=>{const{targetSnapshot:K,guards:{canActivateChecks:wt}}=P;if(!wt.length)return(0,y.of)(P);const Kt=new Set(wt.map(pr=>pr.route)),Te=new Set;for(const pr of Kt)if(!Te.has(pr))for(const wo of ki(pr))Te.add(wo);let Sr=0;return(0,c.H)(Te).pipe((0,oe.H)(pr=>Kt.has(pr)?function ea(N,z,P,K){const wt=N.routeConfig,Kt=N._resolve;return void 0!==wt?.title&&!On(wt)&&(Kt[De]=wt.title),function od(N,z,P,K){const wt=ie(N);if(0===wt.length)return(0,y.of)({});const Kt={};return(0,c.H)(wt).pipe((0,kt.Z)(Te=>function Xi(N,z,P,K){const wt=Mn(z)??K,Kt=Oo(N,wt);return Me(Kt.resolve?Kt.resolve(z,P):(0,o.N4e)(wt,()=>Kt(z,P)))}(N[Te],z,P,K).pipe(Xt(),(0,Xe.M)(Sr=>{if(Sr instanceof aa)throw ma(new ye,Sr);Kt[Te]=Sr}))),Gr(1),(0,Le.u)(Kt),(0,kr.W)(Te=>Ki(Te)?J.w:(0,L.$)(Te)))}(Kt,N,z,K).pipe((0,tt.T)(Te=>(N._resolvedData=Te,N.data=mi(N,N.parent,P).resolve,null)))}(pr,K,N,z):(pr.data=mi(pr,pr.parent,N).resolve,(0,y.of)(void 0))),(0,Xe.M)(()=>Sr++),Gr(1),(0,kt.Z)(pr=>Sr===Te.size?(0,y.of)(P):J.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Xe.M)({next:()=>un=!0,complete:()=>{un||this.cancelNavigationTransition(wo,"",ne.NoDataFromResolver)}}))}),(0,Xe.M)(wo=>{const un=new to(wo.id,this.urlSerializer.serialize(wo.extractedUrl),this.urlSerializer.serialize(wo.urlAfterRedirects),wo.targetSnapshot);this.events.next(un)}))}),Ts(pr=>{const wo=un=>{const kn=[];un.routeConfig?.loadComponent&&!un.routeConfig._loadedComponent&&kn.push(this.configLoader.loadComponent(un.routeConfig).pipe((0,Xe.M)(bn=>{un.component=bn}),(0,tt.T)(()=>{})));for(const bn of un.children)kn.push(...wo(bn));return kn};return(0,S.z)(wo(pr.targetSnapshot.root)).pipe(rt(null),(0,Mt.s)(1))}),Ts(()=>this.afterPreactivation()),(0,_t.n)(()=>{const{currentSnapshot:pr,targetSnapshot:wo}=Kt,un=this.createViewTransition?.(this.environmentInjector,pr.root,wo.root);return un?(0,c.H)(un).pipe((0,tt.T)(()=>Kt)):(0,y.of)(Kt)}),(0,tt.T)(pr=>{const wo=function xi(N,z,P){const K=ci(N,z._root,P?P._root:void 0);return new Fa(K,z)}(P.routeReuseStrategy,pr.targetSnapshot,pr.currentRouterState);return this.currentTransition=Kt={...pr,targetRouterState:wo},this.currentNavigation.targetRouterState=wo,Kt}),(0,Xe.M)(()=>{this.events.next(new $o)}),((N,z,P,K)=>(0,tt.T)(wt=>(new et(z,wt.targetRouterState,wt.currentRouterState,P,K).activate(N),wt)))(this.rootContexts,P.routeReuseStrategy,pr=>this.events.next(pr),this.inputBindingEnabled),(0,Mt.s)(1),(0,Xe.M)({next:pr=>{Te=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Dt(pr.id,this.urlSerializer.serialize(pr.extractedUrl),this.urlSerializer.serialize(pr.urlAfterRedirects))),this.titleStrategy?.updateTitle(pr.targetRouterState.snapshot),pr.resolve(!0)},complete:()=>{Te=!0}}),(0,Ae.Q)(this.transitionAbortSubject.pipe((0,Xe.M)(pr=>{throw pr}))),(0,gt.j)(()=>{!Te&&!Sr&&this.cancelNavigationTransition(Kt,"",ne.SupersededByNewNavigation),this.currentTransition?.id===Kt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,kr.W)(pr=>{if(Sr=!0,ts(pr))this.events.next(new Ce(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),pr.message,pr.cancellationCode)),function _i(N){return ts(N)&&ar(N.url)}(pr)?this.events.next(new Bn(pr.url,pr.navigationBehaviorOptions)):Kt.resolve(!1);else{const wo=new Cr(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),pr,Kt.targetSnapshot??void 0);try{const un=(0,o.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(wo));if(un instanceof aa){const{message:kn,cancellationCode:bn}=ma(0,un);this.events.next(new Ce(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),kn,bn)),this.events.next(new Bn(un.redirectTo,un.navigationBehaviorOptions))}else{this.events.next(wo);const kn=P.errorHandler(pr);Kt.resolve(!!kn)}}catch(un){this.options.resolveNavigationPromiseOnError?Kt.resolve(!1):Kt.reject(un)}}return J.w}))}))}cancelNavigationTransition(P,K,wt){const Kt=new Ce(P.id,this.urlSerializer.serialize(P.extractedUrl),K,wt);this.events.next(Kt),P.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const P=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),K=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return P.toString()!==K?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();function x(N){return N!==he}let C=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(pt),providedIn:"root"})}}return N})();class F{shouldDetach(z){return!1}store(z,P){}shouldAttach(z){return!1}retrieve(z){return null}shouldReuseRoute(z,P){return z.routeConfig===P.routeConfig}}let pt=(()=>{class N extends F{static{this.\u0275fac=(()=>{let P;return function(wt){return(P||(P=o.xGo(N)))(wt||N)}})()}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})(),Ot=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(ae),providedIn:"root"})}}return N})(),ae=(()=>{class N extends Ot{constructor(){super(...arguments),this.location=(0,o.WQX)(ht.aZ),this.urlSerializer=(0,o.WQX)(It),this.options=(0,o.WQX)(Ms,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,o.WQX)(Is),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new br,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=zo(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(P){return this.location.subscribe(K=>{"popstate"===K.type&&P(K.url,K.state)})}handleRouterEvent(P,K){if(P instanceof Gt)this.stateMemento=this.createStateMemento();else if(P instanceof or)this.rawUrlTree=K.initialUrl;else if(P instanceof Er){if("eager"===this.urlUpdateStrategy&&!K.extras.skipLocationChange){const wt=this.urlHandlingStrategy.merge(K.finalUrl,K.initialUrl);this.setBrowserUrl(K.targetBrowserUrl??wt,K)}}else P instanceof $o?(this.currentUrlTree=K.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(K.finalUrl,K.initialUrl),this.routerState=K.targetRouterState,"deferred"===this.urlUpdateStrategy&&!K.extras.skipLocationChange&&this.setBrowserUrl(K.targetBrowserUrl??this.rawUrlTree,K)):P instanceof Ce&&(P.code===ne.GuardRejected||P.code===ne.NoDataFromResolver)?this.restoreHistory(K):P instanceof Cr?this.restoreHistory(K,!0):P instanceof Dt&&(this.lastSuccessfulId=P.id,this.currentPageId=this.browserPageId)}setBrowserUrl(P,K){const wt=P instanceof br?this.urlSerializer.serialize(P):P;if(this.location.isCurrentPathEqualTo(wt)||K.extras.replaceUrl){const Te={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId)};this.location.replaceState(wt,"",Te)}else{const Kt={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId+1)};this.location.go(wt,"",Kt)}}restoreHistory(P,K=!1){if("computed"===this.canceledNavigationResolution){const Kt=this.currentPageId-this.browserPageId;0!==Kt?this.location.historyGo(Kt):this.currentUrlTree===P.finalUrl&&0===Kt&&(this.resetState(P),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(K&&this.resetState(P),this.resetUrlToCurrentUrlTree())}resetState(P){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,P.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(P,K){return"computed"===this.canceledNavigationResolution?{navigationId:P,\u0275routerPageId:K}:{navigationId:P}}static{this.\u0275fac=(()=>{let P;return function(wt){return(P||(P=o.xGo(N)))(wt||N)}})()}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();var Ue=function(N){return N[N.COMPLETE=0]="COMPLETE",N[N.FAILED=1]="FAILED",N[N.REDIRECTING=2]="REDIRECTING",N}(Ue||{});function Ve(N,z){N.events.pipe((0,At.p)(P=>P instanceof Dt||P instanceof Ce||P instanceof Cr||P instanceof or),(0,tt.T)(P=>P instanceof Dt||P instanceof or?Ue.COMPLETE:P instanceof Ce&&(P.code===ne.Redirect||P.code===ne.SupersededByNewNavigation)?Ue.REDIRECTING:Ue.FAILED),(0,At.p)(P=>P!==Ue.REDIRECTING),(0,Mt.s)(1)).subscribe(()=>{z()})}function Ze(N){throw N}const sr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ir={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ze=(()=>{class N{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,o.WQX)(o.H3F),this.stateManager=(0,o.WQX)(Ot),this.options=(0,o.WQX)(Ms,{optional:!0})||{},this.pendingTasks=(0,o.WQX)(o.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,o.WQX)(Et),this.urlSerializer=(0,o.WQX)(It),this.location=(0,o.WQX)(ht.aZ),this.urlHandlingStrategy=(0,o.WQX)(Is),this._events=new q.B,this.errorHandler=this.options.errorHandler||Ze,this.navigated=!1,this.routeReuseStrategy=(0,o.WQX)(C),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,o.WQX)(za,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,o.WQX)(qa,{optional:!0}),this.eventsSubscription=new ct.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:P=>{this.console.warn(P)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const P=this.navigationTransitions.events.subscribe(K=>{try{const wt=this.navigationTransitions.currentTransition,Kt=this.navigationTransitions.currentNavigation;if(null!==wt&&null!==Kt)if(this.stateManager.handleRouterEvent(K,Kt),K instanceof Ce&&K.code!==ne.Redirect&&K.code!==ne.SupersededByNewNavigation)this.navigated=!0;else if(K instanceof Dt)this.navigated=!0;else if(K instanceof Bn){const Te=K.navigationBehaviorOptions,Sr=this.urlHandlingStrategy.merge(K.url,wt.currentRawUrl),pr={browserUrl:wt.extras.browserUrl,info:wt.extras.info,skipLocationChange:wt.extras.skipLocationChange,replaceUrl:wt.extras.replaceUrl||"eager"===this.urlUpdateStrategy||x(wt.source),...Te};this.scheduleNavigation(Sr,he,null,pr,{resolve:wt.resolve,reject:wt.reject,promise:wt.promise})}(function _r(N){return!(N instanceof $o||N instanceof Bn)})(K)&&this._events.next(K)}catch(wt){this.navigationTransitions.transitionAbortSubject.next(wt)}});this.eventsSubscription.add(P)}resetRootComponentType(P){this.routerState.root.component=P,this.navigationTransitions.rootComponentType=P}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),he,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((P,K)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(P,"popstate",K)},0)})}navigateToSyncWithBrowser(P,K,wt){const Kt={replaceUrl:!0},Te=wt?.navigationId?wt:null;if(wt){const pr={...wt};delete pr.navigationId,delete pr.\u0275routerPageId,0!==Object.keys(pr).length&&(Kt.state=pr)}const Sr=this.parseUrl(P);this.scheduleNavigation(Sr,K,Te,Kt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(P){this.config=P.map(Pn),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(P,K={}){const{relativeTo:wt,queryParams:Kt,fragment:Te,queryParamsHandling:Sr,preserveFragment:pr}=K,wo=pr?this.currentUrlTree.fragment:Te;let kn,un=null;switch(Sr??this.options.defaultQueryParamsHandling){case"merge":un={...this.currentUrlTree.queryParams,...Kt};break;case"preserve":un=this.currentUrlTree.queryParams;break;default:un=Kt||null}null!==un&&(un=this.removeEmptyProps(un));try{kn=Eo(wt?wt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof P[0]||"/"!==P[0][0])&&(P=[]),kn=this.currentUrlTree.root}return $n(kn,P,un,wo??null)}navigateByUrl(P,K={skipLocationChange:!1}){const wt=ar(P)?P:this.parseUrl(P),Kt=this.urlHandlingStrategy.merge(wt,this.rawUrlTree);return this.scheduleNavigation(Kt,he,null,K)}navigate(P,K={skipLocationChange:!1}){return function nr(N){for(let z=0;z(null!=Kt&&(K[wt]=Kt),K),{})}scheduleNavigation(P,K,wt,Kt,Te){if(this.disposed)return Promise.resolve(!1);let Sr,pr,wo;Te?(Sr=Te.resolve,pr=Te.reject,wo=Te.promise):wo=new Promise((kn,bn)=>{Sr=kn,pr=bn});const un=this.pendingTasks.add();return Ve(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(un))}),this.navigationTransitions.handleNavigationRequest({source:K,restoredState:wt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:P,extras:Kt,resolve:Sr,reject:pr,promise:wo,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),wo.catch(kn=>Promise.reject(kn))}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})(),Zr=(()=>{class N{constructor(P,K,wt,Kt,Te,Sr){this.router=P,this.route=K,this.tabIndexAttribute=wt,this.renderer=Kt,this.el=Te,this.locationStrategy=Sr,this.href=null,this.onChanges=new q.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const pr=Te.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===pr||"area"===pr,this.isAnchorElement?this.subscription=P.events.subscribe(wo=>{wo instanceof Dt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(P){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",P)}ngOnChanges(P){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(P){null==P?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=ar(P)||Array.isArray(P)?P:[P],this.setTabIndexIfNotOnNativeEl("0"))}onClick(P,K,wt,Kt,Te){const Sr=this.urlTree;return!!(null===Sr||this.isAnchorElement&&(0!==P||K||wt||Kt||Te||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Sr,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const P=this.urlTree;this.href=null!==P&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(P)):null;const K=null===this.href?null:(0,o.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",K)}applyAttributeValue(P,K){const wt=this.renderer,Kt=this.el.nativeElement;null!==K?wt.setAttribute(Kt,P,K):wt.removeAttribute(Kt,P)}get urlTree(){return null===this.routerLinkInput?null:ar(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(K){return new(K||N)(o.rXU(ze),o.rXU(ii),o.kS0("tabindex"),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(ht.hb))}}static{this.\u0275dir=o.FsC({type:N,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(K,wt){1&K&&o.bIt("click",function(Te){return wt.onClick(Te.button,Te.ctrlKey,Te.shiftKey,Te.altKey,Te.metaKey)}),2&K&&o.BMQ("target",wt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",o.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",o.L39],replaceUrl:[2,"replaceUrl","replaceUrl",o.L39],routerLink:"routerLink"},standalone:!0,features:[o.GFd,o.OA$]})}}return N})(),Mr=(()=>{class N{get isActive(){return this._isActive}constructor(P,K,wt,Kt,Te){this.router=P,this.element=K,this.renderer=wt,this.cdr=Kt,this.link=Te,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new o.bkB,this.routerEventsSubscription=P.events.subscribe(Sr=>{Sr instanceof Dt&&this.update()})}ngAfterContentInit(){(0,y.of)(this.links.changes,(0,y.of)(null)).pipe((0,Rt.U)()).subscribe(P=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const P=[...this.links.toArray(),this.link].filter(K=>!!K).map(K=>K.onChanges);this.linkInputChangesSubscription=(0,c.H)(P).pipe((0,Rt.U)()).subscribe(K=>{this._isActive!==this.isLinkActive(this.router)(K)&&this.update()})}set routerLinkActive(P){const K=Array.isArray(P)?P:P.split(" ");this.classes=K.filter(wt=>!!wt)}ngOnChanges(P){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const P=this.hasActiveLinks();this.classes.forEach(K=>{P?this.renderer.addClass(this.element.nativeElement,K):this.renderer.removeClass(this.element.nativeElement,K)}),P&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==P&&(this._isActive=P,this.cdr.markForCheck(),this.isActiveChange.emit(P))})}isLinkActive(P){const K=function Xr(N){return!!N.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return wt=>{const Kt=wt.urlTree;return!!Kt&&P.isActive(Kt,K)}}hasActiveLinks(){const P=this.isLinkActive(this.router);return this.link&&P(this.link)||this.links.some(P)}static{this.\u0275fac=function(K){return new(K||N)(o.rXU(ze),o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(o.gRc),o.rXU(Zr,8))}}static{this.\u0275dir=o.FsC({type:N,selectors:[["","routerLinkActive",""]],contentQueries:function(K,wt,Kt){if(1&K&&o.wni(Kt,Zr,5),2&K){let Te;o.mGM(Te=o.lsd())&&(wt.links=Te)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[o.OA$]})}}return N})();class Jr{}let Do=(()=>{class N{constructor(P,K,wt,Kt,Te){this.router=P,this.injector=wt,this.preloadingStrategy=Kt,this.loader=Te}setUpPreloading(){this.subscription=this.router.events.pipe((0,At.p)(P=>P instanceof Dt),(0,oe.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(P,K){const wt=[];for(const Kt of K){Kt.providers&&!Kt._injector&&(Kt._injector=(0,o.Ol2)(Kt.providers,P,`Route: ${Kt.path}`));const Te=Kt._injector??P,Sr=Kt._loadedInjector??Te;(Kt.loadChildren&&!Kt._loadedRoutes&&void 0===Kt.canLoad||Kt.loadComponent&&!Kt._loadedComponent)&&wt.push(this.preloadConfig(Te,Kt)),(Kt.children||Kt._loadedRoutes)&&wt.push(this.processRoutes(Sr,Kt.children??Kt._loadedRoutes))}return(0,c.H)(wt).pipe((0,Rt.U)())}preloadConfig(P,K){return this.preloadingStrategy.preload(K,()=>{let wt;wt=K.loadChildren&&void 0===K.canLoad?this.loader.loadChildren(P,K):(0,y.of)(null);const Kt=wt.pipe((0,kt.Z)(Te=>null===Te?(0,y.of)(void 0):(K._loadedRoutes=Te.routes,K._loadedInjector=Te.injector,this.processRoutes(Te.injector??P,Te.routes))));if(K.loadComponent&&!K._loadedComponent){const Te=this.loader.loadComponent(K);return(0,c.H)([Kt,Te]).pipe((0,Rt.U)())}return Kt})}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(ze),o.KVO(o.Ql9),o.KVO(o.uvJ),o.KVO(Jr),o.KVO(hs))}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const Io=new o.nKC("");let Yr=(()=>{class N{constructor(P,K,wt,Kt,Te={}){this.urlSerializer=P,this.transitions=K,this.viewportScroller=wt,this.zone=Kt,this.options=Te,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Te.scrollPositionRestoration||="disabled",Te.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(P=>{P instanceof Gt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=P.navigationTrigger,this.restoredId=P.restoredState?P.restoredState.navigationId:0):P instanceof Dt?(this.lastId=P.id,this.scheduleScrollEvent(P,this.urlSerializer.parse(P.urlAfterRedirects).fragment)):P instanceof or&&P.code===Re.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(P,this.urlSerializer.parse(P.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(P=>{P instanceof jn&&(P.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(P.position):P.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(P.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(P,K){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new jn(P,"popstate"===this.lastSource?this.store[this.restoredId]:null,K))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(K){o.QTQ()}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac})}}return N})();function tn(N,...z){return(0,o.EmA)([{provide:za,multi:!0,useValue:N},[],{provide:ii,useFactory:Xo,deps:[ze]},{provide:o.iLQ,multi:!0,useFactory:Wi},z.map(P=>P.\u0275providers)])}function Xo(N){return N.routerState.root}function Cn(N,z){return{\u0275kind:N,\u0275providers:z}}function oi(N={}){return Cn(4,[{provide:Io,useFactory:()=>{const P=(0,o.WQX)(ht.Xr),K=(0,o.WQX)(o.SKi),wt=(0,o.WQX)(Et),Kt=(0,o.WQX)(It);return new Yr(Kt,wt,P,K,N)}}])}function Wi(){const N=(0,o.WQX)(o.zZn);return z=>{const P=N.get(o.o8S);if(z!==P.components[0])return;const K=N.get(ze),wt=N.get(To);1===N.get(lo)&&K.initialNavigation(),N.get(Mi,null,o.$GK.Optional)?.setUpPreloading(),N.get(Io,null,o.$GK.Optional)?.init(),K.resetRootComponentType(P.componentTypes[0]),wt.closed||(wt.next(),wt.complete(),wt.unsubscribe())}}const To=new o.nKC("",{factory:()=>new q.B}),lo=new o.nKC("",{providedIn:"root",factory:()=>1}),Mi=new o.nKC("");function ra(N){return Cn(0,[{provide:Mi,useExisting:Do},{provide:Jr,useExisting:N}])}function Po(N){return Cn(9,[{provide:fs,useValue:dc},{provide:gn,useValue:{skipNextTransition:!!N?.skipInitialTransition,...N}}])}const Ii=new o.nKC("ROUTER_FORROOT_GUARD"),Ha=[ht.aZ,{provide:It,useClass:ye},ze,fi,{provide:ii,useFactory:Xo,deps:[ze]},hs,[]];let la=(()=>{class N{constructor(P){}static forRoot(P,K){return{ngModule:N,providers:[Ha,[],{provide:za,multi:!0,useValue:P},{provide:Ii,useFactory:ws,deps:[[ze,new o.Xx1,new o.kdw]]},{provide:Ms,useValue:K||{}},K?.useHash?{provide:ht.hb,useClass:ht.fw}:{provide:ht.hb,useClass:ht.Sm},{provide:Io,useFactory:()=>{const N=(0,o.WQX)(ht.Xr),z=(0,o.WQX)(o.SKi),P=(0,o.WQX)(Ms),K=(0,o.WQX)(Et),wt=(0,o.WQX)(It);return P.scrollOffset&&N.setOffset(P.scrollOffset),new Yr(wt,K,N,z,P)}},K?.preloadingStrategy?ra(K.preloadingStrategy).\u0275providers:[],K?.initialNavigation?El(K):[],K?.bindToComponentInputs?Cn(8,[Vn,{provide:qa,useExisting:Vn}]).\u0275providers:[],K?.enableViewTransitions?Po().\u0275providers:[],[{provide:Uc,useFactory:Wi},{provide:o.iLQ,multi:!0,useExisting:Uc}]]}}static forChild(P){return{ngModule:N,providers:[{provide:za,multi:!0,useValue:P}]}}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(Ii,8))}}static{this.\u0275mod=o.$C({type:N})}static{this.\u0275inj=o.G2t({})}}return N})();function ws(N){return"guarded"}function El(N){return["disabled"===N.initialNavigation?Cn(3,[{provide:o.hnV,multi:!0,useFactory:()=>{const z=(0,o.WQX)(ze);return()=>{z.setUpLocationChangeListener()}}},{provide:lo,useValue:2}]).\u0275providers:[],"enabledBlocking"===N.initialNavigation?Cn(2,[{provide:lo,useValue:0},{provide:o.hnV,multi:!0,deps:[o.zZn],useFactory:z=>{const P=z.get(ht.hj,Promise.resolve());return()=>P.then(()=>new Promise(K=>{const wt=z.get(ze),Kt=z.get(To);Ve(wt,()=>{K(!0)}),z.get(Et).afterPreactivation=()=>(K(!0),Kt.closed?(0,y.of)(void 0):Kt),wt.initialNavigation()}))}}]).\u0275providers:[]]}const Uc=new o.nKC("")},6616:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ts:()=>init,ql:()=>launch});var _home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(467),_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_awaitAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6218),_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_wrapAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(600),BUILD={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},__defProp$1=Object.defineProperty,__export$1=(i,a)=>{for(var r in a)__defProp$1(i,r,{get:a[r],enumerable:!0})},hostRefs=new WeakMap,getHostRef=i=>hostRefs.get(i),registerHost=(i,a)=>hostRefs.set(i,{$flags$:0,$hostElement$:i,$cmpMeta$:a,$instanceValues$:new Map}),isMemberInElement=(i,a)=>a in i,consoleError=(i,a)=>(0,console.error)(i,a),styles=new Map,modeResolutionChain=[],SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}",XLINK_NS="http://www.w3.org/1999/xlink",win=typeof window<"u"?window:{},doc=win.document||{head:{}},H=win.HTMLElement||class{},plt={$flags$:0,$resourcesUrl$:"",jmp:i=>i(),raf:i=>requestAnimationFrame(i),ael:(i,a,r,o)=>i.addEventListener(a,r,o),rel:(i,a,r,o)=>i.removeEventListener(a,r,o),ce:(i,a)=>new CustomEvent(i,a)},supportsListenerOptions=(()=>{let i=!1;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get(){i=!0}}))}catch{}return i})(),promiseResolve=i=>Promise.resolve(i),supportsConstructableStylesheets=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),queuePending=!1,queueDomReads=[],queueDomWrites=[],queueTask=(i,a)=>r=>{i.push(r),queuePending||(queuePending=!0,a&&4&plt.$flags$?nextTick(flush):plt.raf(flush))},consume=i=>{for(let a=0;a{consume(queueDomReads),consume(queueDomWrites),(queuePending=queueDomReads.length>0)&&plt.raf(flush)},nextTick=i=>promiseResolve().then(i),writeTask=queueTask(queueDomWrites,!0),EMPTY_OBJ={},SVG_NS="http://www.w3.org/2000/svg",HTML_NS="http://www.w3.org/1999/xhtml",isDef=i=>null!=i,isComplexType=i=>"object"==(i=typeof i)||"function"===i;function queryNonceMetaTagContent(i){var a,r,o;return null!=(o=null==(r=null==(a=i.head)?void 0:a.querySelector('meta[name="csp-nonce"]'))?void 0:r.getAttribute("content"))?o:void 0}var result_exports={};__export$1(result_exports,{err:()=>err,map:()=>map,ok:()=>ok,unwrap:()=>unwrap$1,unwrapErr:()=>unwrapErr});var ok=i=>({isOk:!0,isErr:!1,value:i}),err=i=>({isOk:!1,isErr:!0,value:i});function map(i,a){if(i.isOk){const r=a(i.value);return r instanceof Promise?r.then(o=>ok(o)):ok(r)}if(i.isErr)return err(i.value);throw"should never get here"}var unwrap$1=i=>{if(i.isOk)return i.value;throw i.value},unwrapErr=i=>{if(i.isErr)return i.value;throw i.value},createTime=(i,a="")=>()=>{},h=(i,a,...r)=>{let o=null,s=null,c=null,y=!1,k=!1;const S=[],I=M=>{for(let R=0;RM[R]).join(" "))}}if("function"==typeof i)return i(null===a?{}:a,S,vdomFnUtils);const T=newVNode(i,null);return T.$attrs$=a,S.length>0&&(T.$children$=S),T.$key$=s,T.$name$=c,T},newVNode=(i,a)=>({$flags$:0,$tag$:i,$text$:a,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Host={},isHost=i=>i&&i.$tag$===Host,vdomFnUtils={forEach:(i,a)=>i.map(convertToPublic).forEach(a),map:(i,a)=>i.map(convertToPublic).map(a).map(convertToPrivate)},convertToPublic=i=>({vattrs:i.$attrs$,vchildren:i.$children$,vkey:i.$key$,vname:i.$name$,vtag:i.$tag$,vtext:i.$text$}),convertToPrivate=i=>{if("function"==typeof i.vtag){const r={...i.vattrs};return i.vkey&&(r.key=i.vkey),i.vname&&(r.name=i.vname),h(i.vtag,r,...i.vchildren||[])}const a=newVNode(i.vtag,i.vtext);return a.$attrs$=i.vattrs,a.$children$=i.vchildren,a.$key$=i.vkey,a.$name$=i.vname,a},computeMode=i=>modeResolutionChain.map(a=>a(i)).find(a=>!!a),parsePropertyValue=(i,a)=>null==i||isComplexType(i)?i:4&a?"false"!==i&&(""===i||!!i):2&a?parseFloat(i):1&a?String(i):i,getElement=i=>i,createEvent=(i,a,r)=>{const o=getElement(i);return{emit:s=>emitEvent(o,a,{bubbles:!!(4&r),composed:!!(2&r),cancelable:!!(1&r),detail:s})}},emitEvent=(i,a,r)=>{const o=plt.ce(a,r);return i.dispatchEvent(o),o},rootAppliedStyles=new WeakMap,registerStyle=(i,a,r)=>{let o=styles.get(i);supportsConstructableStylesheets&&r?(o=o||new CSSStyleSheet,"string"==typeof o?o=a:o.replaceSync(a)):o=a,styles.set(i,o)},addStyle=(i,a,r)=>{var o;const s=getScopeId(a,r),c=styles.get(s);if(i=11===i.nodeType?i:doc,c)if("string"==typeof c){let y,k=rootAppliedStyles.get(i=i.head||i);if(k||rootAppliedStyles.set(i,k=new Set),!k.has(s)){{y=doc.createElement("style"),y.innerHTML=c;const S=null!=(o=plt.$nonce$)?o:queryNonceMetaTagContent(doc);null!=S&&y.setAttribute("nonce",S),(!(1&a.$flags$)||1&a.$flags$&&"HEAD"!==i.nodeName)&&i.insertBefore(y,i.querySelector("link"))}4&a.$flags$&&(y.innerHTML+=SLOT_FB_CSS),k&&k.add(s)}}else i.adoptedStyleSheets.includes(c)||(i.adoptedStyleSheets=[...i.adoptedStyleSheets,c]);return s},attachStyles=i=>{const a=i.$cmpMeta$,r=i.$hostElement$,o=a.$flags$,s=createTime("attachStyles",a.$tagName$),c=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),a,i.$modeName$);10&o&&2&o&&(r["s-sc"]=c,r.classList.add(c+"-h"),2&o&&r.classList.add(c+"-s")),s()},getScopeId=(i,a)=>"sc-"+(a&&32&i.$flags$?i.$tagName$+"-"+a:i.$tagName$),setAccessor=(i,a,r,o,s,c)=>{if(r!==o){let y=isMemberInElement(i,a),k=a.toLowerCase();if("class"===a){const S=i.classList,I=parseClassList(r),T=parseClassList(o);S.remove(...I.filter(M=>M&&!T.includes(M))),S.add(...T.filter(M=>M&&!I.includes(M)))}else if("style"===a){for(const S in r)o&&null!=o[S]||(S.includes("-")?i.style.removeProperty(S):i.style[S]="");for(const S in o)r&&o[S]===r[S]||(S.includes("-")?i.style.setProperty(S,o[S]):i.style[S]=o[S])}else if("key"!==a)if("ref"===a)o&&o(i);else if(i.__lookupSetter__(a)||"o"!==a[0]||"n"!==a[1]){const S=isComplexType(o);if((y||S&&null!==o)&&!s)try{if(i.tagName.includes("-"))i[a]=o;else{const T=o??"";"list"===a?y=!1:null!=r&&i[a]==T||(i[a]=T)}}catch{}let I=!1;k!==(k=k.replace(/^xlink\:?/,""))&&(a=k,I=!0),null==o||!1===o?!1===o&&""!==i.getAttribute(a)||(I?i.removeAttributeNS(XLINK_NS,a):i.removeAttribute(a)):(!y||4&c||s)&&!S&&(o=!0===o?"":o,I?i.setAttributeNS(XLINK_NS,a,o):i.setAttribute(a,o))}else if(a="-"===a[2]?a.slice(3):isMemberInElement(win,k)?k.slice(2):k[2]+a.slice(3),r||o){const S=a.endsWith(CAPTURE_EVENT_SUFFIX);a=a.replace(CAPTURE_EVENT_REGEX,""),r&&plt.rel(i,a,r,S),o&&plt.ael(i,a,o,S)}}},parseClassListRegex=/\s/,parseClassList=i=>i?i.split(parseClassListRegex):[],CAPTURE_EVENT_SUFFIX="Capture",CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$"),updateElement=(i,a,r)=>{const o=11===a.$elm$.nodeType&&a.$elm$.host?a.$elm$.host:a.$elm$,s=i&&i.$attrs$||EMPTY_OBJ,c=a.$attrs$||EMPTY_OBJ;for(const y of sortedAttrNames(Object.keys(s)))y in c||setAccessor(o,y,s[y],void 0,r,a.$flags$);for(const y of sortedAttrNames(Object.keys(c)))setAccessor(o,y,s[y],c[y],r,a.$flags$)},scopeId,contentRef,hostTagName;function sortedAttrNames(i){return i.includes("ref")?[...i.filter(a=>"ref"!==a),"ref"]:i}var useNativeShadowDom=!1,checkSlotFallbackVisibility=!1,checkSlotRelocate=!1,isSvgMode=!1,createElm=(i,a,r,o)=>{var s;const c=a.$children$[r];let y,k,S,I=0;if(useNativeShadowDom||(checkSlotRelocate=!0,"slot"===c.$tag$&&(scopeId&&o.classList.add(scopeId+"-s"),c.$flags$|=c.$children$?2:1)),null!==c.$text$)y=c.$elm$=doc.createTextNode(c.$text$);else if(1&c.$flags$)y=c.$elm$=doc.createTextNode("");else{if(isSvgMode||(isSvgMode="svg"===c.$tag$),y=c.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&2&c.$flags$?"slot-fb":c.$tag$),isSvgMode&&"foreignObject"===c.$tag$&&(isSvgMode=!1),updateElement(null,c,isSvgMode),y.getRootNode().querySelector("body")&&BUILD.scoped&&isDef(scopeId)&&y["s-si"]!==scopeId&&y.classList.add(y["s-si"]=scopeId),updateElementScopeIds(y,o),c.$children$)for(I=0;I{plt.$flags$|=1;const r=Array.from(i.childNodes);if(i["s-sr"]&&BUILD.experimentalSlotFixes){let o=i;for(;o=o.nextSibling;)o&&o["s-sn"]===i["s-sn"]&&o["s-sh"]===hostTagName&&r.push(o)}for(let o=r.length-1;o>=0;o--){const s=r[o];s["s-hn"]!==hostTagName&&s["s-ol"]&&(insertBefore(parentReferenceNode(s),s,referenceNode(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,checkSlotRelocate=!0),a&&putBackInOriginalLocation(s,a)}plt.$flags$&=-2},addVnodes=(i,a,r,o,s,c)=>{let y,k=i["s-cr"]&&i["s-cr"].parentNode||i;for(k.shadowRoot&&k.tagName===hostTagName&&(k=k.shadowRoot);s<=c;++s)o[s]&&(y=createElm(null,r,s,i),y&&(o[s].$elm$=y,insertBefore(k,y,referenceNode(a))))},removeVnodes=(i,a,r)=>{for(let o=a;o<=r;++o){const s=i[o];if(s){const c=s.$elm$;nullifyVNodeRefs(s),c&&(checkSlotFallbackVisibility=!0,c["s-ol"]?c["s-ol"].remove():putBackInOriginalLocation(c,!0),c.remove())}}},updateChildren=(i,a,r,o,s=!1)=>{let c,y,k=0,S=0,I=0,T=0,M=a.length-1,R=a[0],L=a[M],J=o.length-1,W=o[0],q=o[J];for(;k<=M&&S<=J;)if(null==R)R=a[++k];else if(null==L)L=a[--M];else if(null==W)W=o[++S];else if(null==q)q=o[--J];else if(isSameVnode(R,W,s))patch(R,W,s),R=a[++k],W=o[++S];else if(isSameVnode(L,q,s))patch(L,q,s),L=a[--M],q=o[--J];else if(isSameVnode(R,q,s))"slot"!==R.$tag$&&"slot"!==q.$tag$||putBackInOriginalLocation(R.$elm$.parentNode,!1),patch(R,q,s),insertBefore(i,R.$elm$,L.$elm$.nextSibling),R=a[++k],q=o[--J];else if(isSameVnode(L,W,s))"slot"!==R.$tag$&&"slot"!==q.$tag$||putBackInOriginalLocation(L.$elm$.parentNode,!1),patch(L,W,s),insertBefore(i,L.$elm$,R.$elm$),L=a[--M],W=o[++S];else{for(I=-1,T=k;T<=M;++T)if(a[T]&&null!==a[T].$key$&&a[T].$key$===W.$key$){I=T;break}I>=0?(y=a[I],y.$tag$!==W.$tag$?c=createElm(a&&a[S],r,I,i):(patch(y,W,s),a[I]=void 0,c=y.$elm$),W=o[++S]):(c=createElm(a&&a[S],r,S,i),W=o[++S]),c&&insertBefore(parentReferenceNode(R.$elm$),c,referenceNode(R.$elm$))}k>M?addVnodes(i,null==o[J+1]?null:o[J+1].$elm$,r,o,S,J):S>J&&removeVnodes(a,k,M)},isSameVnode=(i,a,r=!1)=>!(i.$tag$!==a.$tag$||("slot"===i.$tag$?"$nodeId$"in i&&r&&8!==i.$elm$.nodeType||i.$name$!==a.$name$:!r&&i.$key$!==a.$key$)),referenceNode=i=>i&&i["s-ol"]||i,parentReferenceNode=i=>(i["s-ol"]?i["s-ol"]:i).parentNode,patch=(i,a,r=!1)=>{const o=a.$elm$=i.$elm$,s=i.$children$,c=a.$children$,y=a.$tag$,k=a.$text$;let S;null===k?(isSvgMode="svg"===y||"foreignObject"!==y&&isSvgMode,("slot"!==y||useNativeShadowDom)&&updateElement(i,a,isSvgMode),null!==s&&null!==c?updateChildren(o,s,a,c,r):null!==c?(null!==i.$text$&&(o.textContent=""),addVnodes(o,null,a,c,0,c.length-1)):!r&&BUILD.updatable&&null!==s&&removeVnodes(s,0,s.length-1),isSvgMode&&"svg"===y&&(isSvgMode=!1)):(S=o["s-cr"])?S.parentNode.textContent=k:i.$text$!==k&&(o.data=k)},updateFallbackSlotVisibility=i=>{const a=i.childNodes;for(const r of a)if(1===r.nodeType){if(r["s-sr"]){const o=r["s-sn"];r.hidden=!1;for(const s of a)if(s!==r)if(s["s-hn"]!==r["s-hn"]||""!==o){if(1===s.nodeType&&(o===s.getAttribute("slot")||o===s["s-sn"])||3===s.nodeType&&o===s["s-sn"]){r.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){r.hidden=!0;break}}updateFallbackSlotVisibility(r)}},relocateNodes=[],markSlotContentForRelocation=i=>{let a,r,o;for(const s of i.childNodes){if(s["s-sr"]&&(a=s["s-cr"])&&a.parentNode){r=a.parentNode.childNodes;const c=s["s-sn"];for(o=r.length-1;o>=0;o--)if(a=r[o],!a["s-cn"]&&!a["s-nr"]&&a["s-hn"]!==s["s-hn"]&&!BUILD.experimentalSlotFixes)if(isNodeLocatedInSlot(a,c)){let y=relocateNodes.find(k=>k.$nodeToRelocate$===a);checkSlotFallbackVisibility=!0,a["s-sn"]=a["s-sn"]||c,y?(y.$nodeToRelocate$["s-sh"]=s["s-hn"],y.$slotRefNode$=s):(a["s-sh"]=s["s-hn"],relocateNodes.push({$slotRefNode$:s,$nodeToRelocate$:a})),a["s-sr"]&&relocateNodes.map(k=>{isNodeLocatedInSlot(k.$nodeToRelocate$,a["s-sn"])&&(y=relocateNodes.find(S=>S.$nodeToRelocate$===a),y&&!k.$slotRefNode$&&(k.$slotRefNode$=y.$slotRefNode$))})}else relocateNodes.some(y=>y.$nodeToRelocate$===a)||relocateNodes.push({$nodeToRelocate$:a})}1===s.nodeType&&markSlotContentForRelocation(s)}},isNodeLocatedInSlot=(i,a)=>1===i.nodeType?null===i.getAttribute("slot")&&""===a||i.getAttribute("slot")===a:i["s-sn"]===a||""===a,nullifyVNodeRefs=i=>{i.$attrs$&&i.$attrs$.ref&&i.$attrs$.ref(null),i.$children$&&i.$children$.map(nullifyVNodeRefs)},insertBefore=(i,a,r)=>{const o=i?.insertBefore(a,r);return updateElementScopeIds(a,i),o},findScopeIds=i=>{const a=[];return i&&a.push(...i["s-scs"]||[],i["s-si"],i["s-sc"],...findScopeIds(i.parentElement)),a},updateElementScopeIds=(i,a,r=!1)=>{var o;if(i&&a&&1===i.nodeType){const s=new Set(findScopeIds(a).filter(Boolean));if(s.size&&(null==(o=i.classList)||o.add(...i["s-scs"]=[...s]),i["s-ol"]||r))for(const c of Array.from(i.childNodes))updateElementScopeIds(c,i,!0)}},renderVdom=(i,a,r=!1)=>{var o,s,c,y,k;const S=i.$hostElement$,I=i.$cmpMeta$,T=i.$vnode$||newVNode(null,null),M=isHost(a)?a:h(null,null,a);if(hostTagName=S.tagName,I.$attrsToReflect$&&(M.$attrs$=M.$attrs$||{},I.$attrsToReflect$.map(([R,L])=>M.$attrs$[L]=S[R])),r&&M.$attrs$)for(const R of Object.keys(M.$attrs$))S.hasAttribute(R)&&!["key","ref","style","class"].includes(R)&&(M.$attrs$[R]=S[R]);if(M.$tag$=null,M.$flags$|=4,i.$vnode$=M,M.$elm$=T.$elm$=S.shadowRoot||S,scopeId=S["s-sc"],useNativeShadowDom=!!(1&I.$flags$),contentRef=S["s-cr"],checkSlotFallbackVisibility=!1,patch(T,M,r),plt.$flags$|=1,checkSlotRelocate){markSlotContentForRelocation(M.$elm$);for(const R of relocateNodes){const L=R.$nodeToRelocate$;if(!L["s-ol"]){const J=doc.createTextNode("");J["s-nr"]=L,insertBefore(L.parentNode,L["s-ol"]=J,L)}}for(const R of relocateNodes){const L=R.$nodeToRelocate$,J=R.$slotRefNode$;if(J){const W=J.parentNode;let q=J.nextSibling;{let ct=null==(o=L["s-ol"])?void 0:o.previousSibling;for(;ct;){let ht=null!=(s=ct["s-nr"])?s:null;if(ht&&ht["s-sn"]===L["s-sn"]&&W===ht.parentNode){for(ht=ht.nextSibling;ht===L||ht?.["s-sr"];)ht=ht?.nextSibling;if(!ht||!ht["s-nr"]){q=ht;break}}ct=ct.previousSibling}}(!q&&W!==L.parentNode||L.nextSibling!==q)&&L!==q&&(!L["s-hn"]&&L["s-ol"]&&(L["s-hn"]=L["s-ol"].parentNode.nodeName),insertBefore(W,L,q),1===L.nodeType&&(L.hidden=null!=(c=L["s-ih"])&&c)),L&&"function"==typeof J["s-rf"]&&J["s-rf"](L)}else 1===L.nodeType&&(r&&(L["s-ih"]=null!=(y=L.hidden)&&y),L.hidden=!0)}}if(checkSlotFallbackVisibility&&updateFallbackSlotVisibility(M.$elm$),plt.$flags$&=-2,relocateNodes.length=0,BUILD.experimentalScopedSlotChanges&&2&I.$flags$)for(const R of M.$elm$.childNodes)R["s-hn"]===hostTagName||R["s-sh"]||(r&&null==R["s-ih"]&&(R["s-ih"]=null!=(k=R.hidden)&&k),R.hidden=!0);contentRef=void 0},attachToAncestor=(i,a)=>{},scheduleUpdate=(i,a)=>(i.$flags$|=16,attachToAncestor(i,i.$ancestorComponent$),writeTask(()=>dispatchHooks(i,a))),dispatchHooks=(i,a)=>{const r=i.$hostElement$,o=createTime("scheduleUpdate",i.$cmpMeta$.$tagName$),s=r;if(!s)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let c;return c=safeCall(s,a?"componentWillLoad":"componentWillUpdate"),c=enqueue(c,()=>safeCall(s,"componentWillRender")),o(),enqueue(c,()=>updateComponent(i,s,a))},enqueue=(i,a)=>isPromisey(i)?i.then(a).catch(r=>{console.error(r),a()}):a(),isPromisey=i=>i instanceof Promise||i&&i.then&&"function"==typeof i.then,updateComponent=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r,o){const s=a.$hostElement$,c=createTime("update",a.$cmpMeta$.$tagName$);o&&attachStyles(a);const y=createTime("render",a.$cmpMeta$.$tagName$);callRender(a,r,s,o),y(),c(),postUpdateComponent(a)});return function(r,o,s){return i.apply(this,arguments)}}(),renderingRef=null,callRender=(i,a,r,o)=>{try{renderingRef=a,a=a.render&&a.render(),i.$flags$&=-17,i.$flags$|=2,(BUILD.hasRenderFn||BUILD.reflect)&&(BUILD.vdomRender||BUILD.reflect)&&(BUILD.hydrateServerSide||renderVdom(i,a,o))}catch(s){consoleError(s,i.$hostElement$)}return renderingRef=null,null},getRenderingRef=()=>renderingRef,postUpdateComponent=i=>{const r=i.$hostElement$,o=createTime("postUpdate",i.$cmpMeta$.$tagName$),s=r;safeCall(s,"componentDidRender"),64&i.$flags$?(safeCall(s,"componentDidUpdate"),o()):(i.$flags$|=64,safeCall(s,"componentDidLoad"),o())},forceUpdate=i=>{{const a=getHostRef(i),r=a.$hostElement$.isConnected;return r&&2==(18&a.$flags$)&&scheduleUpdate(a,!1),r}},safeCall=(i,a,r)=>{if(i&&i[a])try{return i[a](r)}catch(o){consoleError(o)}},getValue=(i,a)=>getHostRef(i).$instanceValues$.get(a),setValue=(i,a,r,o)=>{const s=getHostRef(i),c=i,y=s.$instanceValues$.get(a),k=s.$flags$,S=c;r=parsePropertyValue(r,o.$members$[a][0]);const I=Number.isNaN(y)&&Number.isNaN(r);if(r!==y&&!I){if(s.$instanceValues$.set(a,r),o.$watchers$&&128&k){const T=o.$watchers$[a];T&&T.map(M=>{try{S[M](r,y,a)}catch(R){consoleError(R,c)}})}if(2==(18&k)){if(S.componentShouldUpdate&&!1===S.componentShouldUpdate(r,y,a))return;scheduleUpdate(s,!1)}}},proxyComponent=(i,a,r)=>{var o,s;const c=i.prototype;if(a.$members$||a.$watchers$||i.watchers){i.watchers&&!a.$watchers$&&(a.$watchers$=i.watchers);const y=Object.entries(null!=(o=a.$members$)?o:{});y.map(([k,[S]])=>{(31&S||32&S)&&Object.defineProperty(c,k,{get(){return getValue(this,k)},set(I){setValue(this,k,I,a)},configurable:!0,enumerable:!0})});{const k=new Map;c.attributeChangedCallback=function(S,I,T){plt.jmp(()=>{var M;const R=k.get(S);if(this.hasOwnProperty(R))T=this[R],delete this[R];else{if(c.hasOwnProperty(R)&&"number"==typeof this[R]&&this[R]==T)return;if(null==R){const L=getHostRef(this),J=L?.$flags$;if(J&&!(8&J)&&128&J&&T!==I){const W=this,q=null==(M=a.$watchers$)?void 0:M[S];q?.forEach(ct=>{null!=W[ct]&&W[ct].call(W,T,I,S)})}return}}this[R]=(null!==T||"boolean"!=typeof this[R])&&T})},i.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=a.$watchers$)?s:{}),...y.filter(([S,I])=>15&I[0]).map(([S,I])=>{var T;const M=I[1]||S;return k.set(M,S),512&I[0]&&(null==(T=a.$attrsToReflect$)||T.push([S,M])),M})]))}}return i},initializeComponent=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r,o,s){let c;if(!(32&r.$flags$)&&(r.$flags$|=32,c=a.constructor,customElements.whenDefined(a.localName).then(()=>r.$flags$|=128),c&&c.style)){let y;"string"==typeof c.style?y=c.style:"string"!=typeof c.style&&(r.$modeName$=computeMode(a),r.$modeName$&&(y=c.style[r.$modeName$]));const k=getScopeId(o,r.$modeName$);if(!styles.has(k)){const S=createTime("registerStyles",o.$tagName$);registerStyle(k,y,!!(1&o.$flags$)),S()}}scheduleUpdate(r,!0)});return function(r,o,s,c){return i.apply(this,arguments)}}(),fireConnectedCallback=i=>{},connectedCallback=i=>{if(!(1&plt.$flags$)){const a=getHostRef(i),r=a.$cmpMeta$,o=createTime("connectedCallback",r.$tagName$);1&a.$flags$?(addHostEventListeners(i,a,r.$listeners$),a?.$lazyInstance$?fireConnectedCallback(a.$lazyInstance$):a?.$onReadyPromise$&&a.$onReadyPromise$.then(()=>fireConnectedCallback(a.$lazyInstance$))):(a.$flags$|=1,12&r.$flags$&&setContentReference(i),r.$members$&&Object.entries(r.$members$).map(([s,[c]])=>{if(31&c&&i.hasOwnProperty(s)){const y=i[s];delete i[s],i[s]=y}}),initializeComponent(i,a,r)),o()}},setContentReference=i=>{const a=i["s-cr"]=doc.createComment("");a["s-cn"]=!0,insertBefore(i,a,i.firstChild)},disconnectedCallback=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){if(!(1&plt.$flags$)){const r=getHostRef(a);r.$rmListeners$&&(r.$rmListeners$.map(o=>o()),r.$rmListeners$=void 0)}});return function(r){return i.apply(this,arguments)}}(),proxyCustomElement=(i,a)=>{const r={$flags$:a[0],$tagName$:a[1]};r.$members$=a[2],r.$listeners$=a[3],r.$watchers$=i.$watchers$,r.$attrsToReflect$=[];const o=i.prototype.connectedCallback,s=i.prototype.disconnectedCallback;return Object.assign(i.prototype,{__registerHost(){registerHost(this,r)},connectedCallback(){const c=getHostRef(this);addHostEventListeners(this,c,r.$listeners$),connectedCallback(this),o&&o.call(this)},disconnectedCallback(){disconnectedCallback(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${r.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.attachShadow({mode:"open",delegatesFocus:!!(16&r.$flags$)})}}),i.is=r.$tagName$,proxyComponent(i,r)},Fragment=(i,a)=>a,addHostEventListeners=(i,a,r,o)=>{r&&r.map(([s,c,y])=>{const k=getHostListenerTarget(i,s),S=hostListenerProxy(a,y),I=hostListenerOpts(s);plt.ael(k,c,S,I),(a.$rmListeners$=a.$rmListeners$||[]).push(()=>plt.rel(k,c,S,I))})},hostListenerProxy=(i,a)=>r=>{try{BUILD.lazyLoad||i.$hostElement$[a](r)}catch(o){consoleError(o)}},getHostListenerTarget=(i,a)=>4&a?doc:8&a?win:16&a?doc.body:i,hostListenerOpts=i=>supportsListenerOptions?{passive:!!(1&i),capture:!!(2&i)}:!!(2&i),CURRENT_MODULE,METHOD_MODULE,i;i=CURRENT_MODULE||(CURRENT_MODULE={}),i.WELCOME="welcome",i.WELCOME_LOGIN="welcome-login",i.WELCOME_SIGNUP="welcome-signup",i.INFO="info",i.LOGIN_BUNKER_URL="login-bunker-url",i.LOGIN_READ_ONLY="login-read-only",i.CONFIRM_LOGOUT="confirm-logout",i.IMPORT_FLOW="import",i.LOGIN="login",i.SIGNUP="signup",i.LOCAL_SIGNUP="local-signup",i.EXTENSION="extension",i.LOADING="loading",i.PREVIOUSLY_LOGGED="switch-account",i.LOGIN_OTP="otp",i.CONNECT="connect",i.CONNECTION_STRING="connection-string",function(i){i.LOGIN="login",i.SIGNUP="signup",i.LOGOUT="logout",i.CONFIRM="confirm"}(METHOD_MODULE||(METHOD_MODULE={}));const appendToMap=(i,a,r)=>{const o=i.get(a);o?o.includes(r)||o.push(r):i.set(a,[r])},debounce=(i,a)=>{let r;return(...o)=>{r&&clearTimeout(r),r=setTimeout(()=>{r=0,i(...o)},a)}},isConnected=i=>!("isConnected"in i)||i.isConnected,cleanupElements=debounce(i=>{for(let a of i.keys())i.set(a,i.get(a).filter(isConnected))},2e3),stencilSubscription=()=>{if("function"!=typeof getRenderingRef)return{};const i=new Map;return{dispose:()=>i.clear(),get:a=>{const r=getRenderingRef();r&&appendToMap(i,a,r)},set:a=>{const r=i.get(a);r&&i.set(a,r.filter(forceUpdate)),cleanupElements(i)},reset:()=>{i.forEach(a=>a.forEach(forceUpdate)),cleanupElements(i)}}},unwrap=i=>"function"==typeof i?i():i,createObservableMap=(i,a=(r,o)=>r!==o)=>{const r=unwrap(i);let o=new Map(Object.entries(r??{}));const s={dispose:[],get:[],set:[],reset:[]},c=()=>{var T;o=new Map(Object.entries(null!==(T=unwrap(i))&&void 0!==T?T:{})),s.reset.forEach(M=>M())},y=T=>(s.get.forEach(M=>M(T)),o.get(T)),k=(T,M)=>{const R=o.get(T);a(M,R,T)&&(o.set(T,M),s.set.forEach(L=>L(T,M,R)))},S=typeof Proxy>"u"?{}:new Proxy(r,{get:(T,M)=>y(M),ownKeys:T=>Array.from(o.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(T,M)=>o.has(M),set:(T,M,R)=>(k(M,R),!0)}),I=(T,M)=>(s[T].push(M),()=>{removeFromArray(s[T],M)});return{state:S,get:y,set:k,on:I,onChange:(T,M)=>{const R=I("set",(J,W)=>{J===T&&M(W)}),L=I("reset",()=>M(unwrap(i)[T]));return()=>{R(),L()}},use:(...T)=>{const M=T.reduce((R,L)=>(L.set&&R.push(I("set",L.set)),L.get&&R.push(I("get",L.get)),L.reset&&R.push(I("reset",L.reset)),L.dispose&&R.push(I("dispose",L.dispose)),R),[]);return()=>M.forEach(R=>R())},dispose:()=>{s.dispose.forEach(T=>T()),c()},reset:c,forceUpdate:T=>{const M=o.get(T);s.set.forEach(R=>R(T,M,M))}}},removeFromArray=(i,a)=>{const r=i.indexOf(a);r>=0&&(i[r]=i[i.length-1],i.length--)},createStore=(i,a)=>{const r=createObservableMap(i,a);return r.use(stencilSubscription()),r},{state,onChange}=createStore({screen:CURRENT_MODULE.WELCOME,prevScreen:CURRENT_MODULE.WELCOME,path:[CURRENT_MODULE.WELCOME],error:"",isLoading:!1,isLoadingExtension:!1,isOTP:!1,authUrl:"",localSignup:!1,nlSignin:{loginName:""},nlSignup:{signupName:"",domain:"",servers:[{name:"@nsec.app",value:"nsec.app"},{name:"@highlighter.com",value:"highlighter.com"}]},nlSigninBunkerUrl:{loginName:""},nlSigninReadOnly:{loginName:""},nlSigninOTP:{loginName:"",code:""},nlImport:{nostrConnect:"",relay:""}});onChange("screen",()=>{state.error="",state.nlSignin.loginName="",state.nlSignup.signupName="",state.nlSignup.domain=""});const buttonBaseCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}.right-0{right:0}.right-2{right:8px}.top-2{top:8px}.top-52{top:208px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.ml-0{margin-left:0}.ml-\\[2px\\]{margin-left:2px}.mr-0{margin-right:0}.mr-2{margin-right:8px}.mr-3\\.5{margin-right:14px}.mt-2{margin-top:8px}.h-0{height:0}.h-8{height:32px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.w-0{width:0}.w-16{width:64px}.w-44{width:176px}.w-52{width:208px}.w-6{width:24px}.w-8{width:32px}.w-\\[48px\\]{width:48px}.min-w-40{min-width:160px}.max-w-40{max-width:160px}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.gap-x-2{column-gap:8px}.text-nowrap{text-wrap:nowrap}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border-\\[0px\\]{border-width:0}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity))}.bg-white,.bg-yellow-100{--tw-bg-opacity:1}.p-3{padding:12px}.px-2{padding-left:8px;padding-right:8px}.py-2\\.5{padding-bottom:10px;padding-top:10px}.pl-\\[11px\\]{padding-left:11px}.text-xs{font-size:12px;line-height:16px}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.opacity-0{opacity:0}.transition-all{transition-duration:.15s;transition-property:all}.ease-in-out,.transition-all{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:right-2:hover{right:8px}.hover\\:rounded-r-lg:hover{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.border-t-\\[1px\\]{border-top-width:1px}.first\\:border-none:first-child{border-style:none}.first\\:pt-0:first-child{padding-top:0}",ButtonBaseStyle0=buttonBaseCss,ButtonBase=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.theme="default",this.darkMode=!1,this.titleBtn="Open modal",this.disabled=!1}componentDidRender(){const i=this.element.querySelector("svg");i&&(i.classList.add("flex-shrink-0","w-4","h-4","block"),i.removeAttribute("style"))}render(){return h("div",{key:"fd503ba6a6e4523b510f85fa8eb35d64af6616f3",class:`theme-${this.theme}`},h("button",{key:"2341cc507577b37f0309eda12b3516e2abb468a2",disabled:this.disabled,type:"button",class:"nl-button py-2.5 px-3 w-full inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg disabled:opacity-50 disabled:pointer-events-none dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600"},h("slot",{key:"7bdd086b67b7662ab913e93ddab8fdb05b4e2805",name:"icon-start"}),this.titleBtn))}get element(){return this}static get style(){return ButtonBaseStyle0}},[4,"button-base",{theme:[1025],darkMode:[1028,"dark-mode"],titleBtn:[1,"title-btn"],disabled:[4]}]);function defineCustomElement$n(){typeof customElements>"u"||["button-base"].forEach(i=>{"button-base"===i&&(customElements.get(i)||customElements.define(i,ButtonBase))})}defineCustomElement$n();const nlConfirmLogoutCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlConfirmLogoutStyle0=nlConfirmLogoutCss,NlConfirmLogout=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.handleLogoutBanner=createEvent(this,"handleLogoutBanner",7),this.handleBackUpModal=createEvent(this,"handleBackUpModal",7),this.nlCloseModal=createEvent(this,"nlCloseModal",7),this.titleModal="Delete keys?",this.description="Your profile keys are stored in this browser tab and will be deleted if you log out, and your profile will be inaccessible."}handleLogout(){this.handleLogoutBanner.emit(METHOD_MODULE.LOGOUT),this.nlCloseModal.emit()}handleCancel(){this.nlCloseModal.emit()}handleBackUp(){state.path=[CURRENT_MODULE.IMPORT_FLOW]}render(){return h("div",{key:"cc17a91048cddc093676cec3f7f1f41a4e3bc765",class:"p-4 overflow-y-auto"},h("h1",{key:"1120e3b34cbd42110b76c3774f0a2dcba43c1711",class:"nl-title font-bold text-center text-4xl"},this.titleModal),h("p",{key:"09a3b077d82c7d32fa4da4987198c81316155c2d",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description),h("div",{key:"9c5ed8fc1ac5220e93d72e02a3ec8bffd127b27f",class:"mt-3 ml-auto mr-auto w-60 flex flex-col gap-2"},h("button-base",{key:"1f9c9b8b0c994ccb92706105a92e59136bdcdb2f",onClick:()=>this.handleBackUp(),titleBtn:"Backup keys",theme:"lemonade"}),h("button-base",{key:"bbb5ed3483b1b46ac2016acfdd082b8eb3403565",onClick:()=>this.handleLogout(),theme:"crab",titleBtn:"Logout and delete keys"})))}static get style(){return NlConfirmLogoutStyle0}},[0,"nl-confirm-logout",{titleModal:[1,"title-modal"],description:[1]}]);function defineCustomElement$m(){typeof customElements>"u"||["nl-confirm-logout","button-base"].forEach(i=>{switch(i){case"nl-confirm-logout":customElements.get(i)||customElements.define(i,NlConfirmLogout);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$m();const nlConnectCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlConnectStyle0=nlConnectCss,NlConnect=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlNostrConnect=createEvent(this,"nlNostrConnect",7),this.titleWelcome="Connect to key store",this.authMethods=[],this.hasOTP=!1,this.connectionStringServices=[],this.isOpenAdvancedLogin=!1}handleChangeScreen(i){state.path=[...state.path,i]}handleOpenAdvanced(){this.isOpenAdvancedLogin=!this.isOpenAdvancedLogin}allowAuthMethod(i){return!this.authMethods.length||this.authMethods.includes(i)}componentWillLoad(){}handleOpenLink(i){this.nlNostrConnect.emit(i)}render(){const i=(this.isOpenAdvancedLogin?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-blue-500";return h(Fragment,{key:"1734363a22bf47aea8b41fc54696482dedd91e1c"},h("div",{key:"0b6b579442514815b57da027e849820a95a73cea",class:"p-4 overflow-y-auto"},h("h1",{key:"dad1e22099a1fde4ece1fae2617e7c73cc42aac5",class:"nl-title font-bold text-center text-3xl"},this.titleWelcome)),h("div",{key:"ffdf8ff49e45a68cc545ddcd88977309b3b43a30",class:"p-4"},!!this.connectionStringServices.length&&h("div",{key:"f520127eb53001b3439d39e12cabf387321f9f41",class:"max-w-96 mx-auto pt-5"},h("p",{key:"f2defd241991995ef1ae21f54e9aa60decb9fbfe",class:"nl-description font-medium text-sm pb-1.5"},"Select key store:"),h("ul",{key:"eb13569f5bf6e6a396f77e288907d164877661c7",class:"p-2 rounded-lg border border-gray-200 flex flex-col w-full gap-0.5"},this.connectionStringServices.map(a=>h("li",null,h("a",{href:a.link,target:"_blank",onClick:()=>this.handleOpenLink(a.relay),class:"flex items-center gap-x-3.5 w-full hover:bg-gray-300 flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm justify-between"},h("div",{class:"w-full max-w-7 h-7 flex relative"},h("div",{class:"uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center"},a.img?h("img",{class:"w-full rounded-full",src:a.img,alt:a.name}):h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#9ca3af",class:"w-4 h-4 block"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"})))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"nl-title truncate overflow-hidden"},a.name)))))))),h("div",{key:"e5d8b631dc6f226de089094f5b1a618387e53b13",class:"max-w-52 mx-auto pb-5"},(this.allowAuthMethod("connect")||this.allowAuthMethod("readOnly"))&&h("div",{key:"9f180499d91ce85e3220b1c01a7100dc43436250",class:"flex justify-center"},h("div",{key:"1e7150301d9b9f6fb2c617833728bdfb1bdc7ff6",onClick:()=>this.handleOpenAdvanced(),class:"text-blue-500 mt-3 decoration-dashed cursor-pointer inline-flex gap-2 items-center pb-1 border-dashed border-b-[1px] border-blue-500 text-sm font-light"},"Advanced",h("svg",{key:"25d75cf514b5aa565882da8810732274ef268e84",class:i,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"82ff6cc210c408bc936b1d99156cf24e44b3bb47",d:"m6 9 6 6 6-6"})))),h("div",{key:"a9e4973c918e98f9858283d7910d7583958eeee6",class:(this.isOpenAdvancedLogin?"max-h-[500px] mt-3 duration-300":"max-h-0 mt-0 duration-[0.25s]")+" transition-max-height ease-in flex gap-3 flex-col overflow-hidden"},this.allowAuthMethod("connect")&&h("button-base",{key:"b0bc64c50c4961aa782cefa9a4f861a038f9179a",titleBtn:"User name",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN)},h("svg",{key:"e3d75127673c52bb03ccad55d2c6542afd496710",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},h("path",{key:"826f8a8d89353d29c81a69325bb1b2fd08fe587d","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))),this.allowAuthMethod("connect")&&h("button-base",{key:"aed22d0c3261fe329dce8b85cd538064122c8ff4",titleBtn:"Connection string",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.CONNECTION_STRING)},h("svg",{key:"3152d79247973a849dfa94350acc27cc9a818ce1",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"054b5a956d77e8913c3055a3fea4931910734ae1","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 3.75 9.375v-4.5ZM3.75 14.625c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5a1.125 1.125 0 0 1-1.125-1.125v-4.5ZM13.5 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 13.5 9.375v-4.5Z"}),h("path",{key:"c10dbf07fd8499263a3e1460c92749e4c5217d1b","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 6.75h.75v.75h-.75v-.75ZM6.75 16.5h.75v.75h-.75v-.75ZM16.5 6.75h.75v.75h-.75v-.75ZM13.5 13.5h.75v.75h-.75v-.75ZM13.5 19.5h.75v.75h-.75v-.75ZM19.5 13.5h.75v.75h-.75v-.75ZM19.5 19.5h.75v.75h-.75v-.75ZM16.5 16.5h.75v.75h-.75v-.75Z"}))),this.allowAuthMethod("connect")&&h("button-base",{key:"348375d8ac51c14d66fa25a77665b6b7a5a93d9a",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN_BUNKER_URL),titleBtn:"Bunker URL"},h("svg",{key:"4d62028c6dbafa67aa952299cabc7a620ea20275",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"da623db3500829ff12727c36a0ee6c4f4867a139","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))))))}static get style(){return NlConnectStyle0}},[0,"nl-connect",{titleWelcome:[1,"title-welcome"],authMethods:[16],hasOTP:[4,"has-o-t-p"],connectionStringServices:[16],isOpenAdvancedLogin:[32]}]);function defineCustomElement$l(){typeof customElements>"u"||["nl-connect","button-base"].forEach(i=>{switch(i){case"nl-connect":customElements.get(i)||customElements.define(i,NlConnect);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$l();const nlSelectCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSelectStyle0=nlSelectCss,NlSelect=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.selectDomain=createEvent(this,"selectDomain",7),this.isOpen=!1,this.value=null,this.options=void 0,this.selected=void 0,this.mode=!1,this.darkMode=!1,this.themeState="default",this.theme="default"}handleWindowClick(){this.wrapperRef.querySelector(".listClass")&&(this.isOpen=!1)}toggleDropdown(){this.isOpen=!this.isOpen,this.calculateDropdownPosition()}watchPropHandler(i){this.themeState=i}watchModeHandler(i){this.mode=i}connectedCallback(){this.themeState=this.theme,this.mode=this.darkMode,this.value=this.options[this.selected],this.selectDomain.emit(this.value.value)}calculateDropdownPosition(){if(this.isOpen&&this.buttonRef){const i=this.buttonRef.getBoundingClientRect();this.ulRef.style.top=`${i.height}px`}}handleChange(i){this.value=i,this.isOpen=!1,this.selectDomain.emit(this.value.value)}render(){const i=(this.isOpen?"listClass":"hidden")+" min-w-[15rem] nl-select-list absolute left-0 shadow-md rounded-lg p-2 mt-1 after:h-4 after:absolute after:-bottom-4 after:start-0 after:w-full before:h-4 before:absolute before:-top-4 before:start-0 before:w-full",a=(this.isOpen?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-gray-500";return h("div",{key:"c5fb00e7a9dc2acbe6b8a0b3c7d6f0aaaa945ded",class:`theme-${this.themeState}`},h("div",{key:"75a6cc368af855bcf0baeb697aac5c77b26537dc",class:"relative",ref:r=>this.wrapperRef=r},h("button",{key:"e79b850f351172fec8a523a88424882b4bc1c9e0",ref:r=>this.buttonRef=r,onClick:()=>this.toggleDropdown(),type:"button",class:"nl-select peer py-3 px-4 flex items-center w-full justify-between border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent"},h("span",{key:"7224e21928ed0a6075d0f8809973877b8626258e",class:"truncate overflow-hidden"},this.value.name),h("svg",{key:"abcea29a8c905c9eea64162f5a2bfa79c08d3b0b",class:a,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"d0667eba7a0cf9ccb7bb043e5856ec41a97a8fcc",d:"m6 9 6 6 6-6"}))),h("ul",{key:"bfd9ebf3c17fa62d84f29204d901650fabe14c03",ref:r=>this.ulRef=r,class:i},this.options.map(r=>h("li",{onClick:()=>this.handleChange(r),class:"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm"},r.name)))))}get element(){return this}static get watchers(){return{theme:["watchPropHandler"],darkMode:["watchModeHandler"]}}static get style(){return NlSelectStyle0}},[0,"nl-select",{options:[16],selected:[2],darkMode:[4,"dark-mode"],theme:[1],isOpen:[32],value:[32],mode:[32],themeState:[32]},[[8,"click","handleWindowClick"]],{theme:["watchPropHandler"],darkMode:["watchModeHandler"]}]);function defineCustomElement$k(){typeof customElements>"u"||["nl-select"].forEach(i=>{"nl-select"===i&&(customElements.get(i)||customElements.define(i,NlSelect))})}defineCustomElement$k();const nlImportFlowCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlImportFlowStyle0=nlImportFlowCss,NlImportFlow=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlImportAccount=createEvent(this,"nlImportAccount",7),this.nlExportKeys=createEvent(this,"nlExportKeys",7),this.titleInfo="Back up your keys",this.titleImport="Choose a service",this.textImport="Your Nostr keys will be imported into this provider, and you will manage your keys on their website.",this.services=[],this.isAvailable=!1,this.isContinued=!1,this.isKeyBackup=!1,this.isCopy=!1}handleDomainSelect(i){const a=this.services.find(r=>r.domain===i.detail);state.nlImport.relay=a.relay,state.nlImport.nostrConnect=a.link}handleCreateAccount(i){i.preventDefault(),window.open(state.nlImport.nostrConnect,"_blank"),this.nlImportAccount.emit(state.nlImport.relay)}handleContinue(){this.isContinued=!0}handleContinueKeyBackup(){this.isKeyBackup=!0}copyToClipboard(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){i.nlExportKeys.emit(),i.isCopy=!0,setTimeout(()=>{i.isCopy=!1},1500)})()}render(){if(!this.isContinued&&!this.isKeyBackup)return h("div",{class:"p-4 overflow-y-auto"},h("h1",{class:"nl-title font-bold text-center text-2xl"},this.titleInfo),h("p",{class:"nl-description font-light text-sm pt-2 pb-2 max-w-96 mx-auto"},"Nostr profiles are controlled by cryptographic keys.",h("br",null),h("br",null),"Your keys are currently only stored in this browser tab, and may be lost if you close it.",h("br",null),h("br",null),"You should backup your keys.",h("br",null),h("br",null),"We recommend to import your keys into a key store service, to protect them and to use with other apps."),h("div",{class:"ml-auto mr-auto w-72"},h("button-base",{onClick:()=>this.handleContinue(),titleBtn:"Import to key store"})),h("div",{class:"ml-auto mr-auto mb-2 w-72"},h("button-base",{onClick:()=>this.handleContinueKeyBackup(),titleBtn:"Export keys"})));if(this.isKeyBackup)return h("div",{class:"p-4 overflow-y-auto"},h("h1",{class:"nl-title font-bold text-center text-2xl"},"Key export"),h("p",{class:"nl-description font-light text-sm pt-2 pb-2 max-w-96 mx-auto"},"Copy your keys and store them in a safe place, like a password manager.",h("br",null),h("br",null),"You can sign into other Nostr apps by pasting your keys into them.",h("br",null),h("br",null),"Your keys are like your password, never share them with anyone."),h("div",{class:"max-w-72 mx-auto"},h("div",{class:"ml-auto mr-auto mb-2 w-72"},h("button-base",{onClick:()=>this.copyToClipboard(),titleBtn:this.isCopy?"Copied!":"Copy to clipboard"}))));const i=this.services.map(a=>({name:a.domain,value:a.domain}));return h(Fragment,null,h("div",{class:"p-4 overflow-y-auto"},h("h1",{class:"nl-title font-bold text-center text-2xl"},this.titleImport),h("p",{class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},"Your Nostr keys will be imported into the service you choose. You will manage your keys on their website.")),h("div",{class:"max-w-72 mx-auto mb-5"},h("div",{class:"mb-0.5"},h("nl-select",{onSelectDomain:a=>this.handleDomainSelect(a),selected:0,options:i})),h("p",{class:"nl-title font-light text-sm mb-2"},"Default provider is a fine choice to start with."),h("div",{class:"ps-4 pe-4 overflow-y-auto"},h("p",{class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{disabled:state.isLoading,onClick:a=>this.handleCreateAccount(a),titleBtn:"Start importing"},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{slot:"icon-start",style:{display:"none"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get style(){return NlImportFlowStyle0}},[0,"nl-import-flow",{titleInfo:[1025,"title-info"],titleImport:[1,"title-import"],textImport:[1,"text-import"],services:[16],isAvailable:[32],isContinued:[32],isKeyBackup:[32],isCopy:[32]}]);function defineCustomElement$j(){typeof customElements>"u"||["nl-import-flow","button-base","nl-select"].forEach(i=>{switch(i){case"nl-import-flow":customElements.get(i)||customElements.define(i,NlImportFlow);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-select":customElements.get(i)||defineCustomElement$k()}})}defineCustomElement$j();const nlInfoCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlInfoStyle0=nlInfoCss,NlInfo=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost()}render(){return h("div",{key:"369813cd9991a71e8578b3afd09228850a956cc5",class:"p-4 overflow-y-auto"},h("svg",{key:"463d3d38cbaea31e5316b563491f6f6e3162f4ce",class:"w-12 h-12 mx-auto mb-2",width:"225",height:"224",viewBox:"0 0 225 224",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("rect",{key:"5d77b33d54a376edffc6a4edf8ccabf8890bf5e4",width:"224.047",height:"224",rx:"64",fill:"#6951FA"}),h("path",{key:"7c8f8dd801f357378e9518879af15368f7652793",d:"M162.441 135.941V88.0593C170.359 85.1674 176 77.5348 176 68.6696C176 57.2919 166.708 48 155.33 48C143.953 48 134.661 57.2444 134.661 68.6696C134.661 77.5822 140.302 85.1674 148.219 88.0593V135.941C147.698 136.13 147.176 136.367 146.655 136.604L87.3956 77.3452C88.6282 74.6904 89.2919 71.7511 89.2919 68.6696C89.2919 57.2444 80.0474 48 68.6696 48C57.2919 48 48 57.2444 48 68.6696C48 77.5822 53.6415 85.1674 61.5585 88.0593V135.941C53.6415 138.833 48 146.465 48 155.33C48 166.708 57.2444 176 68.6696 176C80.0948 176 89.3393 166.708 89.3393 155.33C89.3393 146.418 83.6978 138.833 75.7807 135.941V88.0593C76.3022 87.8696 76.8237 87.6326 77.3452 87.3956L136.604 146.655C135.372 149.31 134.708 152.249 134.708 155.33C134.708 166.708 143.953 176 155.378 176C166.803 176 176.047 166.708 176.047 155.33C176.047 146.418 170.406 138.833 162.489 135.941H162.441Z",fill:"white"})),h("h1",{key:"964eeb119baa8053a11a7a9ebf860297e94d213c",class:"nl-title font-bold text-center text-4xl"},"Nostr ",h("span",{key:"6197de00428856facf31bdeae0fdc6adc2472b59",class:"font-light"},"Login")))}static get style(){return NlInfoStyle0}},[0,"nl-info"]);function defineCustomElement$i(){typeof customElements>"u"||["nl-info"].forEach(i=>{"nl-info"===i&&(customElements.get(i)||customElements.define(i,NlInfo))})}defineCustomElement$i();const nlInfoExtensionCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlInfoExtensionStyle0=nlInfoExtensionCss,NlInfoExtension=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost()}render(){return h("div",{key:"c4fede7840388bd72cd9adc25e94ff4521797caf",class:"p-4 overflow-y-auto"},state.isLoadingExtension?h("div",null,h("h1",{class:"nl-title font-bold text-center text-4xl"},"Signing in..."),h("div",{class:"mt-10 mb-10 ml-auto mr-auto w-20"},h("span",{slot:"icon-start",class:"animate-spin-loading ml-auto mr-auto inline-block w-20 h-20 border-[4px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"})),h("div",{class:"ps-4 pe-4 overflow-y-auto"},h("p",{class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error))):h("div",null,h("h1",{class:"nl-title font-bold text-center text-4xl"},"Install browser extension!"),h("p",{class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},"Try"," ",h("a",{href:"https://chromewebstore.google.com/detail/blockcore-wallet/peigonhbenoefaeplkpalmafieegnapj",target:"_blank"},"Blockcore"),","," ",h("a",{href:"https://getalby.com",target:"_blank"},"Alby"),","," ",h("a",{href:"https://chromewebstore.google.com/detail/nos2x/kpgefcfmnafjgpblomihpgmejjdanjjp",target:"_blank"},"nos2x")," ","or"," ",h("a",{href:"https://apps.apple.com/us/app/nostore/id1666553677",target:"_blank"},"Nostore"))))}static get style(){return NlInfoExtensionStyle0}},[0,"nl-info-extension"]);function defineCustomElement$h(){typeof customElements>"u"||["nl-info-extension"].forEach(i=>{"nl-info-extension"===i&&(customElements.get(i)||customElements.define(i,NlInfoExtension))})}defineCustomElement$h();const nlLoadingCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlLoadingStyle0=nlLoadingCss,NlLoading=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.stopFetchHandler=createEvent(this,"stopFetchHandler",7),this.handleContinue=createEvent(this,"handleContinue",7),this.path=void 0}handleStop(i){i.preventDefault(),this.stopFetchHandler.emit()}handleContinueClick(i){i.preventDefault(),this.handleContinue.emit()}render(){let i="Connecting...",a="Establishing connection to your key storage.";this.path===CURRENT_MODULE.LOCAL_SIGNUP?(i="Creating...",a="Publishing your profile on Nostr."):state.authUrl&&(state.isLoading?(i="Confirming...",a="Please confirm the connection in your key storage app."):(i="Almost ready!",a="Continue to confirm the connection to your key storage."));const r=this.path!==CURRENT_MODULE.LOCAL_SIGNUP;return h("div",{key:"630b1ac3e32165dd32595466aa5476457aaa89d9",class:"p-4 overflow-y-auto"},h("h1",{key:"d9913644604598614d281d85d93f4f331f1a9261",class:"nl-title font-bold text-center text-4xl"},i),h("p",{key:"822f15bfc3a61f822d803c7e7f3b5101bab42eaa",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},a),!state.authUrl&&state.isLoading&&h("div",{key:"3989eac9b421e2452c96460fd86098cf01e3c07f",class:"mt-10 mb-10 ml-auto mr-auto w-20"},h("span",{key:"748523db8207aef49f449a0c25070f15097517fb",slot:"icon-start",class:"animate-spin-loading ml-auto mr-auto inline-block w-20 h-20 border-[4px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"})),h("div",{key:"5c4716cac822e50abefdd524ca77cb854bead2fe",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"1c7a0df8bc547416f24f53c0243a1e6fe944e067",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),r&&h("div",{key:"b64c30fff6e6c29db92ec77d574b4908a097dce4",class:"mt-3 ml-auto mr-auto w-72"},h("button-base",{key:"7d51196c3a61860292e95332cc36ea7b90075157",onClick:o=>{state.authUrl&&!state.isLoading?this.handleContinueClick(o):this.handleStop(o)},titleBtn:state.isLoading?"Cancel":"Continue"})))}static get style(){return NlLoadingStyle0}},[0,"nl-loading",{path:[1]}]);function defineCustomElement$g(){typeof customElements>"u"||["nl-loading","button-base"].forEach(i=>{switch(i){case"nl-loading":customElements.get(i)||customElements.define(i,NlLoading);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$g();const nlLocalSignupCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlLocalSignupStyle0=nlLocalSignupCss,NlLocalSignup=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLocalSignup=createEvent(this,"nlLocalSignup",7),this.fetchHandler=createEvent(this,"fetchHandler",7),this.titleSignup="Create Nostr profile",this.description="Choose any username, you can always change it later.",this.isAvailable=!1}handleInputChange(i){state.nlSignup.signupName=i.target.value}handleCreateAccount(i){i.preventDefault(),this.nlLocalSignup.emit(`${state.nlSignup.signupName}`)}render(){return h(Fragment,{key:"f707cc6eaa61b36b52daf2f61360fab0f37fcc3e"},h("div",{key:"7cc640ec75dc80a0f84c3d5db3bcdffe2bb46c45",class:"p-4 overflow-y-auto"},h("h1",{key:"c4ef87db38b1aef19258950b4b4703f992ede847",class:"nl-title font-bold text-center text-2xl"},this.titleSignup),h("p",{key:"45ecaf37bf71fcb965f333b1c788dce26806413a",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"1cea94ff9de943dfea8f1b8cc39c30af82aa66a9",class:"max-w-72 mx-auto"},h("div",{key:"202d4e7c5def553c36a735003a1a23903ee4735b",class:"relative mb-2"},h("input",{key:"41502ef89f2433915b37caace4c7cdd7fb86b7b1",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"Enter username",value:state.nlSignup.signupName}),h("div",{key:"efc7d9fbd45da136b002d42a9403b34d9e654f50",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"8ff89d5922b3091c4b212a89932e41bd8db7ec09",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isAvailable?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"e6aeac8d4b82fc3b08995825eb0eb481a3a8bdd1","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})))),h("div",{key:"a3fef381cdbd14c931e7f6940627a4af51063d8a",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"869dc7e661e5840b4d2ce3091b0112596cc4629b",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"da8429619571547e8a1c1a21418c4d6452f86571",disabled:state.isLoading,onClick:i=>this.handleCreateAccount(i),titleBtn:"Create profile"},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{slot:"icon-start",style:{display:"none"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get style(){return NlLocalSignupStyle0}},[0,"nl-local-signup",{titleSignup:[1,"title-signup"],description:[1],isAvailable:[32]}]);function defineCustomElement$f(){typeof customElements>"u"||["nl-local-signup","button-base"].forEach(i=>{switch(i){case"nl-local-signup":customElements.get(i)||customElements.define(i,NlLocalSignup);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$f();const NlLoginStatus=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.info=void 0}render(){let i="",a="";if("extension"===this.info.authMethod)i="Extension",a="border-yellow-300 text-yellow-500 bg-yellow-100";else if("readOnly"===this.info.authMethod)i="Read only",a="border-gray-300 text-gray-400 bg-gray-100";else if("connect"===this.info.authMethod)i="Connect",a="border-teal-300 text-teal-600 bg-teal-100";else if("local"===this.info.authMethod)i="Temporary",a="border-red-300 text-red-600 bg-red-100";else{if("otp"!==this.info.authMethod)throw console.log("unknown auth method",this.info),new Error("Unknown auth method");i="Delegated",a="border-orange-300 text-orange-600 bg-orange-100"}return h("div",{key:"deff079607a599f28ab3feb535ed129434d54c7f"},h("span",{key:"a46ce6b03027226914d5d6bd46b74c9ae5213339",class:`${a} rounded-xl border w-auto text-[10px] px-1 `},i))}},[0,"nl-login-status",{info:[16]}]);function defineCustomElement$e(){typeof customElements>"u"||["nl-login-status"].forEach(i=>{"nl-login-status"===i&&(customElements.get(i)||customElements.define(i,NlLoginStatus))})}defineCustomElement$e();const nlPreviouslyLoggedCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.active{animation:blink .7s infinite alternate}@keyframes blink{0%{opacity:1}to{opacity:0}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlPreviouslyLoggedStyle0=nlPreviouslyLoggedCss,NlPreviouslyLogged=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlSwitchAccount=createEvent(this,"nlSwitchAccount",7),this.nlLoginRecentAccount=createEvent(this,"nlLoginRecentAccount",7),this.nlRemoveRecent=createEvent(this,"nlRemoveRecent",7),this.titlePage="Your profiles",this.description="Switch between active profiles or choose a recent one for fast login.",this.accounts=[],this.recents=[]}handleGoToWelcome(){state.path=[CURRENT_MODULE.WELCOME]}switchToWelcomeIfEmpty(){this.recents.length||this.accounts.length||(state.path=[CURRENT_MODULE.WELCOME])}watchAccounts(){this.switchToWelcomeIfEmpty()}watchRecents(){this.switchToWelcomeIfEmpty()}handleRemoveRecent(i){this.nlRemoveRecent.emit(i)}handleSwitch(i){this.nlSwitchAccount.emit(i)}handleLoginRecentAccount(i){this.nlLoginRecentAccount.emit(i)}render(){return h(Fragment,{key:"efe95984bfeb92cc0fe4b8ac29f209af81c2de78"},h("div",{key:"26ef58fd8df4b6908bcb9771b4a5b1c75e9ad097",class:"p-4 pt-0 overflow-y-auto"},h("h1",{key:"a8dd74eb5ba5c521b06e93b70c2104bc9179efd6",class:"nl-title font-bold text-center text-4xl"},this.titlePage),h("p",{key:"651425e336bf01d0902e836efee083118c98bdbf",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"c65adbe0a74df16268ff7f8c7911d4e9ab637619",class:"p-4"},!!this.accounts.length&&h("div",{key:"0a3f9419b4d19eca86144406691a9b2ed8584440",class:"max-w-96 mx-auto"},h("p",{key:"ee339f628c757c3218d3f4728097136f1879b28b",class:"nl-description font-medium text-sm pb-1.5"},"Active profiles"),h("ul",{key:"d6090b1380be40705af3b725255f7da826ae9b7a",class:"p-2 rounded-lg border border-blue-200 flex flex-col w-full gap-0.5"},this.accounts.map(i=>{const a=!!i?.picture,r=i.name||i.nip05||i.pubkey,o=!!r;return h("li",{onClick:()=>this.handleSwitch(i),class:"group hover:bg-gray-400 flex cursor-pointer gap-x-3.5 py-2 px-3 rounded-lg text-sm items-center justify-between"},h("div",{class:"flex items-center gap-x-3.5 w-full"},h("div",{class:"w-full max-w-7 h-7 flex relative"},h("div",{class:"absolute top-[-2px] right-[-2px] bg-white border-2 border-white rounded-xl"},h("div",{class:"active h-1.5 w-1.5 bg-green-500 rounded-xl"})),h("div",{class:"group-hover:border-blue-400 uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center"},a?h("img",{class:"w-full rounded-full",src:i.picture,alt:"Logo"}):o?r[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"nl-title truncate overflow-hidden"},r),h("nl-login-status",{info:i}))))}))),!!this.recents.length&&h("div",{key:"f2e8514d062979f626de9f71e06e01990c33624e",class:"max-w-96 mx-auto pt-5"},h("p",{key:"e52d1f0d5be0eb4a8a42004df6a7192d7b458838",class:"nl-description font-medium text-sm pb-1.5"},"Recent profiles"),h("ul",{key:"b508e9b26d52ab25b3c18c12cf20e94929a0d34f",class:"p-2 rounded-lg border border-gray-200 flex flex-col w-full gap-0.5"},this.recents.map(i=>{const a=!!i?.picture,r=i.name||i.nip05||i.pubkey,o=!!r;return h("li",{onClick:()=>this.handleLoginRecentAccount(i),class:"flex items-center gap-x-3.5 w-full hover:bg-gray-400 flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm justify-between"},h("div",{class:"w-full max-w-7 h-7 flex relative"},h("div",{class:"absolute top-[-3px] right-[-3px] bg-white border border-white rounded-xl"},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-3 h-3"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))),h("div",{class:"uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center"},a?h("img",{class:"w-full rounded-full",src:i.picture,alt:"Logo"}):o?r[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"nl-title truncate overflow-hidden"},r),h("nl-login-status",{info:i})),h("svg",{onClick:s=>{s.stopPropagation(),this.handleRemoveRecent(i)},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full max-w-6 h-6 text-red-500 hover:text-red-600 ml-auto"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"})))})))),h("div",{key:"71ef71b8cc45811c45d04f2460855d90c932d42c",class:"p-4 overflow-y-auto"},h("p",{key:"40b0f783bf7d9946fbe3e0b915bd01cd7e42a468",class:"nl-footer font-light text-center text-sm max-w-96 mx-auto"},"You can also"," ",h("span",{key:"2689126b8e8d9e7ff01cfc35e682bf698856f363",onClick:()=>this.handleGoToWelcome(),class:"cursor-pointer pb-3 text-blue-500"},"add another profile"))))}static get watchers(){return{accounts:["watchAccounts"],recents:["watchRecents"]}}static get style(){return NlPreviouslyLoggedStyle0}},[0,"nl-previously-logged",{titlePage:[1,"title-page"],description:[1],accounts:[16],recents:[16]},void 0,{accounts:["watchAccounts"],recents:["watchRecents"]}]);function defineCustomElement$d(){typeof customElements>"u"||["nl-previously-logged","nl-login-status"].forEach(i=>{switch(i){case"nl-previously-logged":customElements.get(i)||customElements.define(i,NlPreviouslyLogged);break;case"nl-login-status":customElements.get(i)||defineCustomElement$e()}})}defineCustomElement$d();const nlSigninCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninStyle0=nlSigninCss,NlSignin=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLogin=createEvent(this,"nlLogin",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Connect to key store",this.description="Please enter your user name.",this.isGood=!1}handleInputChange(i){state.nlSignin.loginName=i.target.value,this.nlCheckLogin.emit(i.target.value)}handleLogin(i){i.preventDefault(),this.nlLogin.emit(state.nlSignin.loginName)}render(){return h(Fragment,{key:"db38daf19a106f820747dc29ed9074b3a5be41e1"},h("div",{key:"d08c760b6fda83b5affc616657edd1f160b50741",class:"p-4 overflow-y-auto"},h("h1",{key:"0de9a5982d277facf5b9c0bf663cf37b60e5e35a",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"c0f1cf7037c472358e65e34d9bfd6568522d85e2",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"2221e32fa5487fd2ec05239e4ae16b5393833f9a",class:"max-w-72 mx-auto"},h("div",{key:"7aefa39fe14a818c5188c771451f6f5f50183458",class:"relative mb-2"},h("input",{key:"36113042568bc9b00cd910485eb8adea268c2518",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"name@domain.com",value:state.nlSignin.loginName}),h("div",{key:"9a4dfa1f8c18ea963e26bcd981c81fe697abc546",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"14ed5cc346c25ebeaa49f983527d1e3efadef53c",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"99af82eb37b8812bc49ab15e3d809243db635c75","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})))),h("div",{key:"74f43932e9aab6afb37d9d129b207d9ad1d2ce5a",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"09a2a638a8c47f6debf28a6159d16cff7cc2694e",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"d5735f567247f415e04dca13e1b30ccfa62aea7b",titleBtn:"Connect",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"})))))}static get style(){return NlSigninStyle0}},[0,"nl-signin",{titleLogin:[1,"title-login"],description:[1],isGood:[32]}]);function defineCustomElement$c(){typeof customElements>"u"||["nl-signin","button-base"].forEach(i=>{switch(i){case"nl-signin":customElements.get(i)||customElements.define(i,NlSignin);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$c();const nlSigninBunkerUrlCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninBunkerUrlStyle0=nlSigninBunkerUrlCss,NlSigninBunkerUrl=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLogin=createEvent(this,"nlLogin",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Connect with bunker url",this.description="Please enter a bunker url provided by key store.",this.isGood=!1}handleInputChange(i){state.nlSigninBunkerUrl.loginName=i.target.value,this.nlCheckLogin.emit(i.target.value)}handleLogin(i){i.preventDefault(),this.nlLogin.emit(state.nlSigninBunkerUrl.loginName)}render(){return h(Fragment,{key:"97fc0661bee87364f3ea9f72d4bec657e1b64ddc"},h("div",{key:"0636b0505c49d5e3c3d37bc7b0a66b1acfe38a3e",class:"p-4 overflow-y-auto"},h("h1",{key:"c3c4baf3bfc693a42a62b5a66e7af65c852f177b",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"9ab0b3537ab790a834b6ad57b6dfcfc77337dd3c",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"4fe3349e769a2e1c75040b7306674461a47222b3",class:"max-w-72 mx-auto"},h("div",{key:"1eb4ce411f4ef92da4b437162cb06e9db2709f49",class:"relative mb-2"},h("input",{key:"360eac0e0606901336c14fb7f7e836e0e592defc",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"bunker://...",value:state.nlSigninBunkerUrl.loginName}),h("div",{key:"0cb3e1f39ecb8eafa3c39be65566731c41f79ccb",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"dd764bce7d06f3132312c083b520dc15e0185b89",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"8a6107e9f82bc3bf70fcc81be04bf9191321dd8e","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"})))),h("div",{key:"ed1c621171950bdb3f1b1c4f4b67a73c74e95ec4",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"8b38d4721e6f4ad85ef0e2d9fabba152a7a649eb",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"d9dc061a5b63ae3b8eec4fb40a9c5b5be1489471",titleBtn:"Connect",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"})))))}static get style(){return NlSigninBunkerUrlStyle0}},[0,"nl-signin-bunker-url",{titleLogin:[1,"title-login"],description:[1],isGood:[32]}]);function defineCustomElement$b(){typeof customElements>"u"||["nl-signin-bunker-url","button-base"].forEach(i=>{switch(i){case"nl-signin-bunker-url":customElements.get(i)||customElements.define(i,NlSigninBunkerUrl);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$b();var browser$1={},canPromise$1=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},qrcode={},utils$1$1={};let toSJISFunction;const CODEWORDS_COUNT=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];utils$1$1.getSymbolSize=function(i){if(!i)throw new Error('"version" cannot be null or undefined');if(i<1||i>40)throw new Error('"version" should be in range from 1 to 40');return 4*i+17},utils$1$1.getSymbolTotalCodewords=function(i){return CODEWORDS_COUNT[i]},utils$1$1.getBCHDigit=function(i){let a=0;for(;0!==i;)a++,i>>>=1;return a},utils$1$1.setToSJISFunction=function(i){if("function"!=typeof i)throw new Error('"toSJISFunc" is not a valid function.');toSJISFunction=i},utils$1$1.isKanjiModeEnabled=function(){return void 0!==toSJISFunction},utils$1$1.toSJIS=function(i){return toSJISFunction(i)};var errorCorrectionLevel={},exports;function BitBuffer$1(){this.buffer=[],this.length=0}exports=errorCorrectionLevel,exports.L={bit:1},exports.M={bit:0},exports.Q={bit:3},exports.H={bit:2},exports.isValid=function(i){return i&&void 0!==i.bit&&i.bit>=0&&i.bit<4},exports.from=function(i,a){if(exports.isValid(i))return i;try{return function(r){if("string"!=typeof r)throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return exports.L;case"m":case"medium":return exports.M;case"q":case"quartile":return exports.Q;case"h":case"high":return exports.H;default:throw new Error("Unknown EC Level: "+r)}}(i)}catch{return a}},BitBuffer$1.prototype={get:function(i){const a=Math.floor(i/8);return 1==(this.buffer[a]>>>7-i%8&1)},put:function(i,a){for(let r=0;r>>a-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(i){const a=Math.floor(this.length/8);this.buffer.length<=a&&this.buffer.push(0),i&&(this.buffer[a]|=128>>>this.length%8),this.length++}};var bitBuffer=BitBuffer$1;function BitMatrix$1(i){if(!i||i<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=i,this.data=new Uint8Array(i*i),this.reservedBit=new Uint8Array(i*i)}BitMatrix$1.prototype.set=function(i,a,r,o){const s=i*this.size+a;this.data[s]=r,o&&(this.reservedBit[s]=!0)},BitMatrix$1.prototype.get=function(i,a){return this.data[i*this.size+a]},BitMatrix$1.prototype.xor=function(i,a,r){this.data[i*this.size+a]^=r},BitMatrix$1.prototype.isReserved=function(i,a){return this.reservedBit[i*this.size+a]};var bitMatrix=BitMatrix$1,alignmentPattern={};!function(i){const a=utils$1$1.getSymbolSize;i.getRowColCoords=function(r){if(1===r)return[];const o=Math.floor(r/7)+2,s=a(r),c=145===s?26:2*Math.ceil((s-13)/(2*o-2)),y=[s-7];for(let k=1;k=0&&y<=7},i.from=function(y){return i.isValid(y)?parseInt(y,10):void 0},i.getPenaltyN1=function(y){const k=y.size;let S=0,I=0,T=0,M=null,R=null;for(let L=0;L=5&&(S+=I-5+3),M=W,I=1),W=y.get(J,L),W===R?T++:(T>=5&&(S+=T-5+3),R=W,T=1)}I>=5&&(S+=I-5+3),T>=5&&(S+=T-5+3)}return S},i.getPenaltyN2=function(y){const k=y.size;let S=0;for(let I=0;I=10&&(1488===I||93===I)&&S++,T=T<<1&2047|y.get(R,M),R>=10&&(1488===T||93===T)&&S++}return 40*S},i.getPenaltyN4=function(y){let k=0;const S=y.data.length;for(let I=0;I=0;){const c=s[0];for(let k=0;k0){const s=new Uint8Array(this.degree);return s.set(r,o),s}return r};var reedSolomonEncoder=ReedSolomonEncoder$1,version={},mode={},versionCheck={isValid:function(i){return!isNaN(i)&&i>=1&&i<=40}},regex$1={};const numeric="[0-9]+",alphanumeric="[A-Z $%*+\\-./:]+";let kanji="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";kanji=kanji.replace(/u/g,"\\u");const byte="(?:(?![A-Z0-9 $%*+\\-./:]|"+kanji+")(?:.|[\r\n]))+";regex$1.KANJI=new RegExp(kanji,"g"),regex$1.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),regex$1.BYTE=new RegExp(byte,"g"),regex$1.NUMERIC=new RegExp(numeric,"g"),regex$1.ALPHANUMERIC=new RegExp(alphanumeric,"g");const TEST_KANJI=new RegExp("^"+kanji+"$"),TEST_NUMERIC=new RegExp("^"+numeric+"$"),TEST_ALPHANUMERIC=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");regex$1.testKanji=function(i){return TEST_KANJI.test(i)},regex$1.testNumeric=function(i){return TEST_NUMERIC.test(i)},regex$1.testAlphanumeric=function(i){return TEST_ALPHANUMERIC.test(i)},function(i){const a=versionCheck,r=regex$1;i.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},i.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},i.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},i.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},i.MIXED={bit:-1},i.getCharCountIndicator=function(o,s){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!a.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?o.ccBits[0]:s<27?o.ccBits[1]:o.ccBits[2]},i.getBestModeForData=function(o){return r.testNumeric(o)?i.NUMERIC:r.testAlphanumeric(o)?i.ALPHANUMERIC:r.testKanji(o)?i.KANJI:i.BYTE},i.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},i.isValid=function(o){return o&&o.bit&&o.ccBits},i.from=function(o,s){if(i.isValid(o))return o;try{return function(c){if("string"!=typeof c)throw new Error("Param is not a string");switch(c.toLowerCase()){case"numeric":return i.NUMERIC;case"alphanumeric":return i.ALPHANUMERIC;case"kanji":return i.KANJI;case"byte":return i.BYTE;default:throw new Error("Unknown mode: "+c)}}(o)}catch{return s}}}(mode),function(i){const a=utils$1$1,r=errorCorrectionCode,o=errorCorrectionLevel,s=mode,c=versionCheck,y=a.getBCHDigit(7973);function k(I,T){return s.getCharCountIndicator(I,T)+4}function S(I,T){let M=0;return I.forEach(function(R){const L=k(R.mode,T);M+=L+R.getBitsLength()}),M}i.from=function(I,T){return c.isValid(I)?parseInt(I,10):T},i.getCapacity=function(I,T,M){if(!c.isValid(I))throw new Error("Invalid QR Code version");void 0===M&&(M=s.BYTE);const R=8*(a.getSymbolTotalCodewords(I)-r.getTotalCodewordsCount(I,T));if(M===s.MIXED)return R;const L=R-k(M,I);switch(M){case s.NUMERIC:return Math.floor(L/10*3);case s.ALPHANUMERIC:return Math.floor(L/11*2);case s.KANJI:return Math.floor(L/13);default:return Math.floor(L/8)}},i.getBestVersionForData=function(I,T){let M;const R=o.from(T,o.M);if(Array.isArray(I)){if(I.length>1)return function(L,J){for(let W=1;W<=40;W++)if(S(L,W)<=i.getCapacity(W,J,s.MIXED))return W}(I,R);if(0===I.length)return 1;M=I[0]}else M=I;return function(L,J,W){for(let q=1;q<=40;q++)if(J<=i.getCapacity(q,W,L))return q}(M.mode,M.getLength(),R)},i.getEncodedBits=function(I){if(!c.isValid(I)||I<7)throw new Error("Invalid QR Code version");let T=I<<12;for(;a.getBCHDigit(T)-y>=0;)T^=7973<=0;)o^=G15<0&&(r=this.data.substr(a),o=parseInt(r,10),i.put(o,3*s+1))};var numericData=NumericData;const Mode$3=mode,ALPHA_NUM_CHARS=["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 AlphanumericData(i){this.mode=Mode$3.ALPHANUMERIC,this.data=i}AlphanumericData.getBitsLength=function(i){return 11*Math.floor(i/2)+i%2*6},AlphanumericData.prototype.getLength=function(){return this.data.length},AlphanumericData.prototype.getBitsLength=function(){return AlphanumericData.getBitsLength(this.data.length)},AlphanumericData.prototype.write=function(i){let a;for(a=0;a+2<=this.data.length;a+=2){let r=45*ALPHA_NUM_CHARS.indexOf(this.data[a]);r+=ALPHA_NUM_CHARS.indexOf(this.data[a+1]),i.put(r,11)}this.data.length%2&&i.put(ALPHA_NUM_CHARS.indexOf(this.data[a]),6)};var alphanumericData=AlphanumericData;const Mode$2=mode;function ByteData(i){this.mode=Mode$2.BYTE,this.data="string"==typeof i?(new TextEncoder).encode(i):new Uint8Array(i)}ByteData.getBitsLength=function(i){return 8*i},ByteData.prototype.getLength=function(){return this.data.length},ByteData.prototype.getBitsLength=function(){return ByteData.getBitsLength(this.data.length)},ByteData.prototype.write=function(i){for(let a=0,r=this.data.length;a=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[a]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),i.put(r,13)}};var kanjiData=KanjiData,dijkstra={exports:{}};(function(i){var a={single_source_shortest_paths:function(r,o,s){var c={},y={};y[o]=0;var k,S,I,T,M,R,J=a.PriorityQueue.make();for(J.push(o,0);!J.empty();)for(I in S=(k=J.pop()).value,T=k.cost,M=r[S]||{})M.hasOwnProperty(I)&&(R=T+M[I],(void 0===y[I]||y[I]>R)&&(y[I]=R,J.push(I,R),c[I]=S));if(void 0!==s&&void 0===y[s]){var W=["Could not find a path from ",o," to ",s,"."].join("");throw new Error(W)}return c},extract_shortest_path_from_predecessor_list:function(r,o){for(var s=[],c=o;c;)s.push(c),c=r[c];return s.reverse(),s},find_path:function(r,o,s){var c=a.single_source_shortest_paths(r,o,s);return a.extract_shortest_path_from_predecessor_list(c,s)},PriorityQueue:{make:function(r){var o,s=a.PriorityQueue,c={};for(o in r=r||{},s)s.hasOwnProperty(o)&&(c[o]=s[o]);return c.queue=[],c.sorter=r.sorter||s.default_sorter,c},default_sorter:function(r,o){return r.cost-o.cost},push:function(r,o){this.queue.push({value:r,cost:o}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};i.exports=a})(dijkstra),function(i){const a=mode,r=numericData,o=alphanumericData,s=byteData,c=kanjiData,y=regex$1,k=utils$1$1,S=dijkstra.exports;function I(J){return unescape(encodeURIComponent(J)).length}function T(J,W,q){const ct=[];let ht;for(;null!==(ht=J.exec(q));)ct.push({data:ht[0],index:ht.index,mode:W,length:ht[0].length});return ct}function M(J){const W=T(y.NUMERIC,a.NUMERIC,J),q=T(y.ALPHANUMERIC,a.ALPHANUMERIC,J);let ct,ht;return k.isKanjiModeEnabled()?(ct=T(y.BYTE,a.BYTE,J),ht=T(y.KANJI,a.KANJI,J)):(ct=T(y.BYTE_KANJI,a.BYTE,J),ht=[]),W.concat(q,ct,ht).sort(function(tt,_t){return tt.index-_t.index}).map(function(tt){return{data:tt.data,mode:tt.mode,length:tt.length}})}function R(J,W){switch(W){case a.NUMERIC:return r.getBitsLength(J);case a.ALPHANUMERIC:return o.getBitsLength(J);case a.KANJI:return c.getBitsLength(J);case a.BYTE:return s.getBitsLength(J)}}function L(J,W){let q;const ct=a.getBestModeForData(J);if(q=a.from(W,ct),q!==a.BYTE&&q.bit=0?Mt[Mt.length-1]:null;return At&&At.mode===$t.mode?(Mt[Mt.length-1].data+=$t.data,Mt):(Mt.push($t),Mt)},[]))},i.rawSplit=function(J){return i.fromArray(M(J,k.isKanjiModeEnabled()))}}(segments);const Utils$1=utils$1$1,ECLevel=errorCorrectionLevel,BitBuffer=bitBuffer,BitMatrix=bitMatrix,AlignmentPattern=alignmentPattern,FinderPattern=finderPattern,MaskPattern=maskPattern,ECCode=errorCorrectionCode,ReedSolomonEncoder=reedSolomonEncoder,Version=version,FormatInfo=formatInfo,Mode=mode,Segments=segments;function setupFinderPattern(i,a){const r=i.size,o=FinderPattern.getPositions(a);for(let s=0;s=0&&k<=6&&(0===S||6===S)||S>=0&&S<=6&&(0===k||6===k)||k>=2&&k<=4&&S>=2&&S<=4,!0)}}function setupTimingPattern(i){const a=i.size;for(let r=8;r>k&1),i.set(s,c,y,!0),i.set(c,s,y,!0)}function setupFormatInfo(i,a,r){const o=i.size,s=FormatInfo.getEncodedBits(a,r);let c,y;for(c=0;c<15;c++)y=1==(s>>c&1),i.set(c<6?c:c<8?c+1:o-15+c,8,y,!0),i.set(8,c<8?o-c-1:c<9?15-c-1+1:15-c-1,y,!0);i.set(o-8,8,1,!0)}function setupData(i,a){const r=i.size;let o=-1,s=r-1,c=7,y=0;for(let k=r-1;k>0;k-=2)for(6===k&&k--;;){for(let S=0;S<2;S++)if(!i.isReserved(s,k-S)){let I=!1;y>>c&1)),i.set(s,k-S,I),c--,-1===c&&(y++,c=7)}if(s+=o,s<0||r<=s){s-=o,o=-o;break}}}function createData(i,a,r){const o=new BitBuffer;r.forEach(function(y){o.put(y.mode.bit,4),o.put(y.getLength(),Mode.getCharCountIndicator(y.mode,i)),y.write(o)});const s=8*(Utils$1.getSymbolTotalCodewords(i)-ECCode.getTotalCodewordsCount(i,a));for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);const c=(s-o.getLengthInBits())/8;for(let y=0;y=7&&setupVersionInfo(S,a),setupData(S,y),isNaN(o)&&(o=MaskPattern.getBestMask(S,setupFormatInfo.bind(null,S,r))),MaskPattern.applyMask(o,S),setupFormatInfo(S,r,o),{modules:S,version:a,errorCorrectionLevel:r,maskPattern:o,segments:s}}qrcode.create=function(i,a){if(void 0===i||""===i)throw new Error("No input text");let r,o,s=ECLevel.M;return void 0!==a&&(s=ECLevel.from(a.errorCorrectionLevel,ECLevel.M),r=Version.from(a.version),o=MaskPattern.from(a.maskPattern),a.toSJISFunc&&Utils$1.setToSJISFunction(a.toSJISFunc)),createSymbol(i,r,s,o)};var canvas={},utils$3={};(function(i){function a(r){if("number"==typeof r&&(r=r.toString()),"string"!=typeof r)throw new Error("Color should be defined as hex string");let o=r.slice().replace("#","").split("");if(o.length<3||5===o.length||o.length>8)throw new Error("Invalid hex color: "+r);3!==o.length&&4!==o.length||(o=Array.prototype.concat.apply([],o.map(function(c){return[c,c]}))),6===o.length&&o.push("F","F");const s=parseInt(o.join(""),16);return{r:s>>24&255,g:s>>16&255,b:s>>8&255,a:255&s,hex:"#"+o.slice(0,6).join("")}}i.getOptions=function(r){r||(r={}),r.color||(r.color={});const s=r.width&&r.width>=21?r.width:void 0;return{width:s,scale:s?4:r.scale||4,margin:null==r.margin||r.margin<0?4:r.margin,color:{dark:a(r.color.dark||"#000000ff"),light:a(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},i.getScale=function(r,o){return o.width&&o.width>=r+2*o.margin?o.width/(r+2*o.margin):o.scale},i.getImageWidth=function(r,o){const s=i.getScale(r,o);return Math.floor((r+2*o.margin)*s)},i.qrToImageData=function(r,o,s){const c=o.modules.size,y=o.modules.data,k=i.getScale(c,s),S=Math.floor((c+2*s.margin)*k),I=s.margin*k,T=[s.color.light,s.color.dark];for(let M=0;M=I&&R>=I&&M0&&S>0&&i[k-1]||(o+=c?svgCmd("M",S+r,.5+I+r):svgCmd("m",s,0),s=0,c=!1),S+1':"",S="',T=''+k+S+"\n";return"function"==typeof r&&r(null,T),T};const canPromise=canPromise$1,QRCode=qrcode,CanvasRenderer=canvas,SvgRenderer=svgTag;function renderCanvas(i,a,r,o,s){const c=[].slice.call(arguments,1),y=c.length,k="function"==typeof c[y-1];if(!k&&!canPromise())throw new Error("Callback required as last argument");if(!k){if(y<1)throw new Error("Too few arguments provided");return 1===y?(r=a,a=o=void 0):2!==y||a.getContext||(o=r,r=a,a=void 0),new Promise(function(S,I){try{const T=QRCode.create(r,o);S(i(T,a,o))}catch(T){I(T)}})}if(y<2)throw new Error("Too few arguments provided");2===y?(s=r,r=a,a=o=void 0):3===y&&(a.getContext&&void 0===s?(s=o,o=void 0):(s=o,o=r,r=a,a=void 0));try{const S=QRCode.create(r,o);s(null,i(S,a,o))}catch(S){s(S)}}browser$1.create=QRCode.create,browser$1.toCanvas=renderCanvas.bind(null,CanvasRenderer.render),browser$1.toDataURL=renderCanvas.bind(null,CanvasRenderer.renderToDataURL),browser$1.toString=renderCanvas.bind(null,function(i,a,r){return SvgRenderer.render(i,r)});const nlSigninConnectionStringCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninConnectionStringStyle0=nlSigninConnectionStringCss,NlSigninConnectionString=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlNostrConnectDefault=createEvent(this,"nlNostrConnectDefault",7),this.titleLogin="Connection string",this.description="Scan or copy the connection string with key store app",this.connectionString="",this.isCopy=!1}componentDidLoad(){this.generateQRCode(),this.nlNostrConnectDefault.emit()}generateQRCode(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(i.connectionString&&i.canvasElement)try{yield browser$1.toCanvas(i.canvasElement,i.connectionString)}catch(a){console.error("Error generating QR Code:",a)}})()}copyToClipboard(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{yield navigator.clipboard.writeText(i.connectionString),i.isCopy=!0,setTimeout(()=>{i.isCopy=!1},1500)}catch(a){console.error("Failed to copy connectionString: ",a)}})()}render(){return h(Fragment,{key:"5186c70f33e7b5d8e42d426f41cbab452181fa79"},h("div",{key:"1737f8438920880e369eff393cad6db37fe62975",class:"p-4 overflow-y-auto"},h("h1",{key:"3dab5fc70ba7ae87d7926f208df838e4e8506e1b",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"43a2d0d56b36b4b1577bd6b21eeda9b105359389",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("canvas",{key:"92cd37de695eee50873cb7a76b2196fd6f2885d6",class:"mx-auto mb-2",ref:i=>this.canvasElement=i}),h("div",{key:"668b253bb58f243d223931a0be911e36eee4a119",class:"px-4"},h("div",{key:"7abb7aa8ba86857ccff22cba4d88cf07407b5fe0",class:"max-w-72 mx-auto"},h("div",{key:"e1747e8fddc4ebe00671ed82ab43fe3b29a4a456",class:"relative mb-2"},h("input",{key:"ce0fed3c0b9a29a63bad975082294d616fcb2b79",type:"text",class:"nl-input peer py-3 px-4 pe-11 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"npub or name@domain",value:this.connectionString,disabled:!0}),h("div",{key:"462c8d5454066fe42710cc1a51df4ac6c9dbf8b1",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"cfe2ebdc57ad397d559d935c4c11c6429a7787cc",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"a50d4b5d4a610b535dfb06fb0676d6d8bc681d94","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"6c773dbcda5c18b8d3debfad939678dc6374be76","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))),this.isCopy?h("div",{class:"absolute inset-y-0 end-0 flex items-center p-2 rounded-lg"},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#00cc00",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))):h("div",{class:"absolute inset-y-0 end-0 flex items-center cursor-pointer p-2 rounded-lg",onClick:()=>this.copyToClipboard()},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6"})))),h("div",{key:"e4df52d63e603c2e72228b0bc739688dd3298fa3",class:"mt-10 justify-center items-center flex gap-2"},h("span",{key:"354b7424c4a06110d3ec030ae71348e21f0575a9",slot:"icon-start",class:"animate-spin-loading inline-block w-[20px] h-[20px] border-[2px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}),h("span",{key:"364239250897a241357e2759292538efff0462bd",class:"nl-footer"},"Waiting for connection")))))}static get style(){return NlSigninConnectionStringStyle0}},[0,"nl-signin-connection-string",{titleLogin:[1,"title-login"],description:[1],connectionString:[1,"connection-string"],isCopy:[32]}]);function defineCustomElement$a(){typeof customElements>"u"||["nl-signin-connection-string"].forEach(i=>{"nl-signin-connection-string"===i&&(customElements.get(i)||customElements.define(i,NlSigninConnectionString))})}defineCustomElement$a();const nlSigninOtpCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninOtpStyle0=nlSigninOtpCss,NlSigninOtp=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLoginOTPUser=createEvent(this,"nlLoginOTPUser",7),this.nlLoginOTPCode=createEvent(this,"nlLoginOTPCode",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Log in with DM",this.description="Please enter your user name or npub, and we will send you a direct message with a one-time code.",this.titleLoginOTP="Enter the code",this.descriptionOTP="Please enter the one-time code we sent to you as a direct message on Nostr.",this.isGood=!1}handleInputChange(i){state.isOTP?state.nlSigninOTP.code=i.target.value:(state.nlSigninOTP.loginName=i.target.value,this.nlCheckLogin.emit(state.nlSigninOTP.loginName))}handleLogin(i){i.preventDefault(),state.isOTP?this.nlLoginOTPCode.emit(state.nlSigninOTP.code):this.nlLoginOTPUser.emit(state.nlSigninOTP.loginName)}render(){return h(Fragment,{key:"68fc45b1dd5e0a15bee1f6497a186b6d73900de5"},h("div",{key:"9ee4c1e464ffd21e04dbf7f3765fb8bbebb77881",class:"p-4 overflow-y-auto"},h("h1",{key:"031d20441be16371669d5143f29b7e88d8a56651",class:"nl-title font-bold text-center text-2xl"},state.isOTP?this.titleLoginOTP:this.titleLogin),h("p",{key:"9a1aebb5297ce0d54b929c4049f4fa0a499de3a6",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},state.isOTP?this.descriptionOTP:this.description)),h("div",{key:"cb120ff50bded40b52328fbdb6d1a9ff2a0f60c6",class:"max-w-72 mx-auto"},h("div",{key:"479e7947b92cfb7421b3f8aaa9992e2b0a44f3b9",class:"relative mb-2"},h("input",{key:"642b11b622a3974ce3314c58cc913dad504ab8b8",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:state.isOTP?"code from direct message":"npub or name@domain",value:state.isOTP?state.nlSigninOTP.code:state.nlSigninOTP.loginName}),h("div",{key:"62b9b607b5cad463660df841545762b6b9c4a803",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"69cdd8e64b17fe1aaf23759f6091651baffd8c8a",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"1b19fa169d6f1c893df0c3ae8d6328e0c8b413e6","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"583e207c1197a3d6ee97b68cd35f1fe6fa6e992e","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{key:"b019f36008b7f27a76462f745ffcebc201b40bee",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"14e9d64878284f30f4ca7c3132934cb1befc92c4",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"60f37876cbc7a69e073dacfdfb464b792da8c3ca",titleBtn:"Log in",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading&&h("span",{key:"dc2285fee7ae949e36c7066f8453df25659d44e0",slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}))))}static get style(){return NlSigninOtpStyle0}},[0,"nl-signin-otp",{titleLogin:[1,"title-login"],description:[1],titleLoginOTP:[1,"title-login-o-t-p"],descriptionOTP:[1,"description-o-t-p"],isGood:[32]}]);function defineCustomElement$9(){typeof customElements>"u"||["nl-signin-otp","button-base"].forEach(i=>{switch(i){case"nl-signin-otp":customElements.get(i)||customElements.define(i,NlSigninOtp);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$9();const nlSigninReadOnlyCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninReadOnlyStyle0=nlSigninReadOnlyCss,NlSigninReadOnly=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLoginReadOnly=createEvent(this,"nlLoginReadOnly",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Log in to read only",this.description="Please enter the user name or npub of any Nostr user.",this.isGood=!1}handleInputChange(i){state.nlSigninReadOnly.loginName=i.target.value,this.nlCheckLogin.emit(i.target.value)}handleLogin(i){i.preventDefault(),this.nlLoginReadOnly.emit(state.nlSigninReadOnly.loginName)}render(){return h(Fragment,{key:"427a326a29895539d36b2a4b6a6c263c34cb87a4"},h("div",{key:"24c32f3a0c8ea0c88046013147498a2ac2d8d7a3",class:"p-4 overflow-y-auto"},h("h1",{key:"f3324907637382727d127b700ce72990e2c0b72d",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"0439c0deffe5735650976622cb8bf3ffd7962cd6",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"75881872a795cda5173252c349cb68446be32847",class:"max-w-72 mx-auto"},h("div",{key:"b1716089f573616674f2b9ceb138821ed41d1ae5",class:"relative mb-2"},h("input",{key:"d3ea9fd0489a36916d48e05f342421f9686da1e6",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"npub or name@domain",value:state.nlSigninReadOnly.loginName}),h("div",{key:"4489f769ed6aeaf7d66ea06b416fdf9e08c2862c",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"aed3c5efdc122fa4dfa0b15dccf3bcc7a123c87a",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"5a9165cf26ae7588ebd16f499748b3b3eff8ac1c","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"7dca77f080a4824bdecce0fbc1e98bfff993f7c2","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{key:"ca4c58b0ab64e54a4714d082b97b7dd340b0dbfe",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"b7b95e645a8e742410eb7e17e90e497ce0da1c72",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"87f5289d87599a1d182170da96e75f727f3a9e52",titleBtn:"Log in",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading&&h("span",{key:"2cbd83dc1516674c872aa9a21d44188d1739807e",slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}))))}static get style(){return NlSigninReadOnlyStyle0}},[0,"nl-signin-read-only",{titleLogin:[1,"title-login"],description:[1],isGood:[32]}]);function defineCustomElement$8(){typeof customElements>"u"||["nl-signin-read-only","button-base"].forEach(i=>{switch(i){case"nl-signin-read-only":customElements.get(i)||customElements.define(i,NlSigninReadOnly);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$8();const nlSignupCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSignupStyle0=nlSignupCss,NlSignup=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlSignup=createEvent(this,"nlSignup",7),this.nlCheckSignup=createEvent(this,"nlCheckSignup",7),this.fetchHandler=createEvent(this,"fetchHandler",7),this.titleSignup="Create keys with key store",this.description="Choose some username and a key store service.",this.bunkers="nsec.app,highlighter.com",this.isAvailable=!1}formatServers(i){return i.split(",").map(a=>({name:"@"+a,value:a}))}handleInputChange(i){state.nlSignup.signupName=i.target.value,this.nlCheckSignup.emit(`${i.target.value}@${state.nlSignup.domain}`)}handleDomainSelect(i){state.nlSignup.domain=i.detail,this.nlCheckSignup.emit(`${state.nlSignup.signupName}@${i.detail}`)}handleCreateAccount(i){i.preventDefault(),this.nlSignup.emit(`${state.nlSignup.signupName}@${state.nlSignup.domain}`)}watchBunkersHandler(i){state.nlSignup.servers=this.formatServers(i)}componentWillLoad(){state.nlSignup.servers=this.formatServers(this.bunkers)}render(){return h(Fragment,{key:"0f80c95f518b18c70b6ec3a7674ba65b93a7150e"},h("div",{key:"0a0e632e1b9891c6d01660916e5ae4581fe88e65",class:"p-4 overflow-y-auto"},h("h1",{key:"6f565e42dc0fa7ed8610f9bbab695756838d3a77",class:"nl-title font-bold text-center text-2xl"},this.titleSignup),h("p",{key:"f0cac8b68583bc5302e5a7b36d3784266ca1205e",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"8c7901599fd0ce9274abd4fd4e860763d9396334",class:"max-w-72 mx-auto"},h("div",{key:"fc80a9a9d067939bfedd6453727b1b48eef10055",class:"relative mb-2"},h("input",{key:"6efaa2e17d5001cedd32d5a9c9ddb94b57774144",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"Name",value:state.nlSignup.signupName}),h("div",{key:"558606cff7bcdf983dd5cca89dda79d7760e9f49",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"4f07566169625a94e83ded38d3e55ff1a4602faa",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isAvailable?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"2a5cd98b44738bdbe4e1d87565fe9441e895f257","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})))),h("div",{key:"88aec1cd623c0b72ea54d1dfb779831b15d9fa9f",class:"mb-2"},h("nl-select",{key:"9582245b4e59fcdaa0097bc6837b502266d2026f",onSelectDomain:i=>this.handleDomainSelect(i),selected:0,options:state.nlSignup.servers})),h("div",{key:"51a864c0638e07f1821dd5bd39f793e0e562fc99",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"81cf5005b72f9cf2cf9fa9680358d79024e80366",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"dbc143408fece554536908a8498580186ac86b8d",disabled:state.isLoading,onClick:i=>this.handleCreateAccount(i),titleBtn:"Create profile"},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{slot:"icon-start",style:{display:"none"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get watchers(){return{bunkers:["watchBunkersHandler"]}}static get style(){return NlSignupStyle0}},[0,"nl-signup",{titleSignup:[1,"title-signup"],description:[1],bunkers:[1],isAvailable:[32]},void 0,{bunkers:["watchBunkersHandler"]}]);function defineCustomElement$7(){typeof customElements>"u"||["nl-signup","button-base","nl-select"].forEach(i=>{switch(i){case"nl-signup":customElements.get(i)||customElements.define(i,NlSignup);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-select":customElements.get(i)||defineCustomElement$k()}})}defineCustomElement$7();const nlWelcomeCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlWelcomeStyle0=nlWelcomeCss,NlWelcome=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.titleWelcome="Welcome to Nostr!",this.description="This website is part of the Nostr network. Log in with your Nostr profile or sign up to join."}handleChangeScreen(i){state.path=[...state.path,i]}render(){return h(Fragment,{key:"7b5a07cdad875ea8242ce84c0736f024deb36949"},h("div",{key:"f0aee3e2ff848c8abd635fbab6aa2df75741bd08",class:"p-4 overflow-y-auto"},h("h1",{key:"0f44047e567b6e28ba8eb9269ae62173bfe4216b",class:"nl-title font-bold text-center text-4xl"},this.titleWelcome),h("p",{key:"b3fd3e2b412894f7d1ec0821077f8418d3611545",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"625314b5bf2e6821144fd79901a3da2629a0771a",class:"max-w-52 mx-auto pb-5"},h("div",{key:"f0846ced1f6cc63dfc43184d3d3536c1eafa7890",class:"flex gap-3 flex-col mb-2"},h("button-base",{key:"f4a62ade504b7096052fe26f8eaa8f7a139cc8b6",titleBtn:"Log in",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.WELCOME_LOGIN)},h("svg",{key:"8fa708e8fd991b06026142844443ff192b15f1a1",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"232741c608aa380ab96fab7498fd4b055bad40ba","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"})))),h("button-base",{key:"14568a2ca701d0e7fe55a5d8a8196642792b1cf2",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.WELCOME_SIGNUP),titleBtn:"Sign up"},h("svg",{key:"551a9a9e2aa57cb920a3d1978f40ebf7dcb7c314",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"a957c348aa9762287638772bdde925a88f38d779","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get style(){return NlWelcomeStyle0}},[0,"nl-welcome",{titleWelcome:[1,"title-welcome"],description:[1]}]);function defineCustomElement$6(){typeof customElements>"u"||["nl-welcome","button-base"].forEach(i=>{switch(i){case"nl-welcome":customElements.get(i)||customElements.define(i,NlWelcome);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$6();const nlWelcomeSigninCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlWelcomeSigninStyle0=nlWelcomeSigninCss,NlWelcomeSignIn=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLoginExtension=createEvent(this,"nlLoginExtension",7),this.titleWelcome="Log in",this.hasExtension=!1,this.authMethods=[],this.hasOTP=!1}handleChangeScreen(i){state.path=[...state.path,i],i===CURRENT_MODULE.EXTENSION&&this.nlLoginExtension.emit()}allowAuthMethod(i){return!this.authMethods.length||this.authMethods.includes(i)}renderSignInWithExtension(){return h("button-base",{onClick:()=>this.handleChangeScreen(CURRENT_MODULE.EXTENSION),titleBtn:"With extension"},h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 8.25V18a2.25 2.25 0 0 0 2.25 2.25h13.5A2.25 2.25 0 0 0 21 18V8.25m-18 0V6a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6ZM7.5 6h.008v.008H7.5V6Zm2.25 0h.008v.008H9.75V6Z"})))}render(){return h(Fragment,{key:"4f0767e4cdcc4927af3fafd074148ba418738923"},h("div",{key:"c8ab1ddae5c93498c26516337fb2b3dbd25a9ab4",class:"p-4 overflow-y-auto"},h("h1",{key:"2332e495e6f947a2e522203415a7e62279bdc497",class:"nl-title font-bold text-center text-3xl"},this.titleWelcome)),h("div",{key:"917a8e134efa774749152e47bee8a02ffd18dbd2",class:"max-w-52 mx-auto pb-5"},h("div",{key:"3f63f413e66ffde4456998913d37e71fa2e65b91",class:"flex gap-3 flex-col"},this.allowAuthMethod("connect")&&h("button-base",{key:"23a84e3cbfe6003aa4798afe40794cf5fdd29a48",titleBtn:"Connect",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.CONNECT)},h("svg",{key:"8af63dc69962963c17d272dcbe44c859d5ba11aa",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"82f9174085198b815d1b76ea16cad5a397bb0bda","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"}))),this.allowAuthMethod("readOnly")&&h("button-base",{key:"d6aedb185f57a3ae61721ab8e1f191b521881015",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN_READ_ONLY),titleBtn:"Read only"},h("svg",{key:"94eeb7e77be912ff240658added6f18e2b82559a",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"84406c27a40b9a835ba7cb64e99de007b09caaab","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"aec21828fba73b6602cf7e158d66e6c8c7d1202c","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))),this.hasOTP&&this.allowAuthMethod("otp")&&h("button-base",{key:"909370309781cfa868bed804699602129ef2735b",titleBtn:"One-time code",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN_OTP)},h("svg",{key:"652fe8e11bfeda9261a1f639c5a526123c87db71",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"950de2ac776cc2fefbbb08358fc35ab8b786c5ef","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))),this.hasExtension&&this.allowAuthMethod("extension")&&this.renderSignInWithExtension(),!this.allowAuthMethod("connect")&&!this.hasExtension&&h("p",{key:"9caf44de7b4a18fabc947169cc3283243661a2f8",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},"No Nostr extension!"),!this.allowAuthMethod("connect")&&this.hasExtension&&!this.allowAuthMethod("extension")&&h("p",{key:"f3feba2e9a56ead70ac353aaf67d1ac3438aaa4f",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},"Use advanced options."))))}static get style(){return NlWelcomeSigninStyle0}},[0,"nl-welcome-signin",{titleWelcome:[1,"title-welcome"],hasExtension:[4,"has-extension"],authMethods:[16],hasOTP:[4,"has-o-t-p"]}]);function defineCustomElement$5(){typeof customElements>"u"||["nl-welcome-signin","button-base"].forEach(i=>{switch(i){case"nl-welcome-signin":customElements.get(i)||customElements.define(i,NlWelcomeSignIn);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$5();const nlWelcomeSignupCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlWelcomeSignupStyle0=nlWelcomeSignupCss,NlWelcomeSignUp=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.titleWelcome="Sign up",this.description="Nostr profiles are based on cryptographic keys. You can create keys right here, or with a key storage app."}handleChangeScreen(i){state.path=[...state.path,i]}render(){return h(Fragment,{key:"b5d134603b3a579120e107a6db9dc1cc3f68106c"},h("div",{key:"64028950f83e5372e7774d0b642d2bc4b7a4e374",class:"p-4 overflow-y-auto"},h("h1",{key:"ab2a90b7501aa467dd300e5d3fa5c03ad7430f80",class:"nl-title font-bold text-center text-3xl"},this.titleWelcome),h("p",{key:"be4afbc5c19cf6943127992472ca9788ad45a667",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"053719e30861ffc47b08c7dec4afd47ab2228eb4",class:"max-w-52 mx-auto pb-5"},h("div",{key:"6fe9fce24b1a77410a271e27b6df49781b748806",class:"flex gap-3 flex-col"},h("button-base",{key:"4374520b23b997f21a42690e25cdd2398049e2ca",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOCAL_SIGNUP),titleBtn:"Create keys"},h("svg",{key:"cda4adcb7f43fc22ca43f5682f05bd025be6749a",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"1837503cef1df0e616160f9e443c404fac2fe593","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"}))),h("button-base",{key:"fb56918415df51984a6c3e338652a7ceab1b8876",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.SIGNUP),titleBtn:"With key store"},h("svg",{key:"605354a04e15ae5447fe9342675073157ce9cd54",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"ae5545abaa6dcfe32723e7bb05dd864485f68046","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"}))))))}static get style(){return NlWelcomeSignupStyle0}},[0,"nl-welcome-signup",{titleWelcome:[1,"title-welcome"],description:[1]}]);function defineCustomElement$4(){typeof customElements>"u"||["nl-welcome-signup","button-base"].forEach(i=>{switch(i){case"nl-welcome-signup":customElements.get(i)||customElements.define(i,NlWelcomeSignUp);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$4();const nlAuthCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.animate-spin-loading{animation:spin 1s linear infinite;background:var(--qa-dark-color)}@keyframes spin{to{transform:rotate(1turn)}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlAuthStyle0=nlAuthCss,NlAuth=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.nlCloseModal=createEvent(this,"nlCloseModal",7),this.nlChangeDarkMode=createEvent(this,"nlChangeDarkMode",7),this.theme="default",this.bunkers="",this.startScreen=CURRENT_MODULE.WELCOME,this.authMethods=[],this.hasExtension=!1,this.hasOTP=!1,this.isLoading=!1,this.isLoadingExtension=!1,this.isOTP=!1,this.authUrl="",this.error="",this.localSignup=!1,this.accounts=[],this.recents=[],this.darkMode=!1,this.welcomeTitle="",this.welcomeDescription="",this.connectionString="",this.connectionStringServices=[]}watchLocalSignupHandler(i){state.localSignup=i}watchLoadingHandler(i){state.isLoading=i}watchLoadingExtensionHandler(i){state.isLoadingExtension=i}watchOTPHandler(i){state.isOTP=i}watchAuthUrlHandler(i){state.authUrl=i}watchErrorHandler(i){state.error=i}handleClose(){this.nlCloseModal.emit()}handleChangeDarkMode(){this.nlChangeDarkMode.emit(!this.darkMode)}componentWillLoad(){state.path=[this.startScreen],state.localSignup=this.localSignup,console.log("path",state.path),state.isOTP=!1}handleClickToBack(){state.path.pop(),state.path=[...state.path],state.isLoading=!1,state.isLoadingExtension=!1,state.authUrl="",state.isOTP=!1}switchSignSignUpStrategy(i){state.path=CURRENT_MODULE.LOCAL_SIGNUP!==i?[CURRENT_MODULE.WELCOME,i]:[CURRENT_MODULE.WELCOME,CURRENT_MODULE.WELCOME_SIGNUP,i]}render(){const i="w-full h-full fixed top-0 start-0 z-[80] overflow-x-hidden overflow-y-auto flex items-center "+(this.darkMode?"dark":""),a=state.path.at(-1),r=!this.authMethods.length||!this.localSignup&&this.authMethods.includes("connect")||this.localSignup&&this.authMethods.includes("local");return h("div",{class:`theme-${this.theme}`},h("div",{class:i},h("div",{onClick:()=>this.handleClose(),class:"absolute top-0 left-0 w-full h-full bg-gray-500 bg-opacity-75 z-[80]"}),h("div",{class:"nl-bg relative z-[81] w-full flex flex-col rounded-xl sm:max-w-lg sm:w-full sm:mx-auto"},h("div",{class:"flex justify-between items-center py-3 px-4"},h("div",{class:"flex gap-2 items-center"},h("svg",{class:"w-7 h-7",width:"225",height:"224",viewBox:"0 0 225 224",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("rect",{width:"224.047",height:"224",rx:"64",fill:"#6951FA"}),h("path",{d:"M162.441 135.941V88.0593C170.359 85.1674 176 77.5348 176 68.6696C176 57.2919 166.708 48 155.33 48C143.953 48 134.661 57.2444 134.661 68.6696C134.661 77.5822 140.302 85.1674 148.219 88.0593V135.941C147.698 136.13 147.176 136.367 146.655 136.604L87.3956 77.3452C88.6282 74.6904 89.2919 71.7511 89.2919 68.6696C89.2919 57.2444 80.0474 48 68.6696 48C57.2919 48 48 57.2444 48 68.6696C48 77.5822 53.6415 85.1674 61.5585 88.0593V135.941C53.6415 138.833 48 146.465 48 155.33C48 166.708 57.2444 176 68.6696 176C80.0948 176 89.3393 166.708 89.3393 155.33C89.3393 146.418 83.6978 138.833 75.7807 135.941V88.0593C76.3022 87.8696 76.8237 87.6326 77.3452 87.3956L136.604 146.655C135.372 149.31 134.708 152.249 134.708 155.33C134.708 166.708 143.953 176 155.378 176C166.803 176 176.047 166.708 176.047 155.33C176.047 146.418 170.406 138.833 162.489 135.941H162.441Z",fill:"white"})),h("p",{class:"font-bold nl-logo text-base"},"Nostr ",h("span",{class:"font-light"},"Login"))),h("div",{class:"flex gap-1"},h("button",{onClick:()=>this.handleChangeDarkMode(),type:"button",class:"nl-action-button flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent"},h("span",{class:"sr-only"},"Change theme"),h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-5 h-5"},h("path",this.darkMode?{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"}:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"}))),h("button",{onClick:()=>this.handleClose(),type:"button",class:"nl-action-button flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent"},h("span",{class:"sr-only"},"Close"),h("svg",{class:"flex-shrink-0 w-5 h-5",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{d:"M18 6 6 18"}),h("path",{d:"m6 6 12 12"}))))),state.path.length>1&&!state.isLoading&&h("div",{class:"p-4"},h("button",{onClick:()=>this.handleClickToBack(),type:"button",class:"nl-action-button flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600","data-hs-overlay":"#hs-vertically-centered-modal"},h("span",{class:"sr-only"},"Back"),h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-5 h-5"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"})))),state.isLoading||state.authUrl?h("nl-loading",{path:a}):h(Fragment,null,(()=>{if(state.isOTP)return h("nl-signin-otp",null);switch(a){case CURRENT_MODULE.WELCOME:return h("nl-welcome",{titleWelcome:this.welcomeTitle||void 0,description:this.welcomeDescription||void 0});case CURRENT_MODULE.LOGIN:return h("nl-signin",null);case CURRENT_MODULE.SIGNUP:return h("nl-signup",{bunkers:this.bunkers});case CURRENT_MODULE.LOCAL_SIGNUP:return h("nl-local-signup",null);case CURRENT_MODULE.CONFIRM_LOGOUT:return h("nl-confirm-logout",null);case CURRENT_MODULE.IMPORT_FLOW:return h("nl-import-flow",{services:this.connectionStringServices.filter(o=>o.canImport)});case CURRENT_MODULE.INFO:return h("nl-info",null);case CURRENT_MODULE.EXTENSION:return h("nl-info-extension",null);case CURRENT_MODULE.LOGIN_READ_ONLY:return h("nl-signin-read-only",null);case CURRENT_MODULE.LOGIN_BUNKER_URL:return h("nl-signin-bunker-url",null);case CURRENT_MODULE.LOGIN_OTP:return h("nl-signin-otp",null);case CURRENT_MODULE.WELCOME_LOGIN:return h("nl-welcome-signin",{hasOTP:this.hasOTP,authMethods:this.authMethods,hasExtension:this.hasExtension});case CURRENT_MODULE.WELCOME_SIGNUP:return h("nl-welcome-signup",null);case CURRENT_MODULE.CONNECTION_STRING:return h("nl-signin-connection-string",{connectionString:this.connectionString});case CURRENT_MODULE.CONNECT:return h("nl-connect",{connectionStringServices:this.connectionStringServices,authMethods:this.authMethods});case CURRENT_MODULE.PREVIOUSLY_LOGGED:return h("nl-previously-logged",{accounts:this.accounts,recents:this.recents});default:return h("nl-welcome",null)}})(),(state.isOTP||a!==CURRENT_MODULE.INFO&&a!==CURRENT_MODULE.CONFIRM_LOGOUT&&a!==CURRENT_MODULE.IMPORT_FLOW&&a!==CURRENT_MODULE.WELCOME&&a!==CURRENT_MODULE.EXTENSION&&a!==CURRENT_MODULE.PREVIOUSLY_LOGGED)&&h(Fragment,null,a===CURRENT_MODULE.WELCOME_SIGNUP||a===CURRENT_MODULE.SIGNUP||a===CURRENT_MODULE.LOCAL_SIGNUP?h("div",{class:"p-4 overflow-y-auto"},h("p",{class:"nl-footer font-light text-center text-sm pt-3 max-w-96 mx-auto"},"If you already have a profile please"," ",h("span",{onClick:()=>this.switchSignSignUpStrategy(CURRENT_MODULE.WELCOME_LOGIN),class:"cursor-pointer text-blue-400"},"log in"),".")):r&&h("div",{class:"p-4 overflow-y-auto"},h("p",{class:"nl-footer font-light text-center text-sm pt-3 max-w-96 mx-auto"},"If you don't have a profile please"," ",h("span",{onClick:()=>this.switchSignSignUpStrategy(this.localSignup?CURRENT_MODULE.LOCAL_SIGNUP:CURRENT_MODULE.WELCOME_SIGNUP),class:"cursor-pointer text-blue-400"},"sign up"),".")))))))}static get watchers(){return{localSignup:["watchLocalSignupHandler"],isLoading:["watchLoadingHandler"],isLoadingExtension:["watchLoadingExtensionHandler"],isOTP:["watchOTPHandler"],authUrl:["watchAuthUrlHandler"],error:["watchErrorHandler"]}}static get style(){return NlAuthStyle0}},[1,"nl-auth",{theme:[1025],bunkers:[1],startScreen:[1,"start-screen"],authMethods:[16],hasExtension:[4,"has-extension"],hasOTP:[4,"has-o-t-p"],isLoading:[4,"is-loading"],isLoadingExtension:[4,"is-loading-extension"],isOTP:[4,"is-o-t-p"],authUrl:[1,"auth-url"],error:[1],localSignup:[4,"local-signup"],accounts:[1040],recents:[1040],darkMode:[1028,"dark-mode"],welcomeTitle:[1,"welcome-title"],welcomeDescription:[1,"welcome-description"],connectionString:[1,"connection-string"],connectionStringServices:[16]},void 0,{localSignup:["watchLocalSignupHandler"],isLoading:["watchLoadingHandler"],isLoadingExtension:["watchLoadingExtensionHandler"],isOTP:["watchOTPHandler"],authUrl:["watchAuthUrlHandler"],error:["watchErrorHandler"]}]);function defineCustomElement$3(){typeof customElements>"u"||["nl-auth","button-base","nl-confirm-logout","nl-connect","nl-import-flow","nl-info","nl-info-extension","nl-loading","nl-local-signup","nl-login-status","nl-previously-logged","nl-select","nl-signin","nl-signin-bunker-url","nl-signin-connection-string","nl-signin-otp","nl-signin-read-only","nl-signup","nl-welcome","nl-welcome-signin","nl-welcome-signup"].forEach(i=>{switch(i){case"nl-auth":customElements.get(i)||customElements.define(i,NlAuth);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-confirm-logout":customElements.get(i)||defineCustomElement$m();break;case"nl-connect":customElements.get(i)||defineCustomElement$l();break;case"nl-import-flow":customElements.get(i)||defineCustomElement$j();break;case"nl-info":customElements.get(i)||defineCustomElement$i();break;case"nl-info-extension":customElements.get(i)||defineCustomElement$h();break;case"nl-loading":customElements.get(i)||defineCustomElement$g();break;case"nl-local-signup":customElements.get(i)||defineCustomElement$f();break;case"nl-login-status":customElements.get(i)||defineCustomElement$e();break;case"nl-previously-logged":customElements.get(i)||defineCustomElement$d();break;case"nl-select":customElements.get(i)||defineCustomElement$k();break;case"nl-signin":customElements.get(i)||defineCustomElement$c();break;case"nl-signin-bunker-url":customElements.get(i)||defineCustomElement$b();break;case"nl-signin-connection-string":customElements.get(i)||defineCustomElement$a();break;case"nl-signin-otp":customElements.get(i)||defineCustomElement$9();break;case"nl-signin-read-only":customElements.get(i)||defineCustomElement$8();break;case"nl-signup":customElements.get(i)||defineCustomElement$7();break;case"nl-welcome":customElements.get(i)||defineCustomElement$6();break;case"nl-welcome-signin":customElements.get(i)||defineCustomElement$5();break;case"nl-welcome-signup":customElements.get(i)||defineCustomElement$4()}})}defineCustomElement$3();const NlButton=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.theme="default",this.darkMode=!1,this.titleBtn="Open modal",this.disabled=!1}render(){return h("button-base",{key:"906c0f4cad65523702f56462bd36e2e773650d57",theme:this.theme,darkMode:this.darkMode,titleBtn:this.titleBtn,disabled:this.disabled})}},[1,"nl-button",{theme:[1],darkMode:[4,"dark-mode"],titleBtn:[1,"title-btn"],disabled:[4]}]);function defineCustomElement$2(){typeof customElements>"u"||["nl-button","button-base"].forEach(i=>{switch(i){case"nl-button":customElements.get(i)||customElements.define(i,NlButton);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$2();const nlChangeAccountCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.right-2{right:8px}.top-2{top:8px}.top-52{top:208px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:8px}.ml-0{margin-left:0}.ml-\\[2px\\]{margin-left:2px}.mr-0{margin-right:0}.mr-2{margin-right:8px}.mr-3\\.5{margin-right:14px}.mt-2{margin-top:8px}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-0{height:0}.h-12{height:48px}.h-4{height:16px}.h-5{height:20px}.h-6{height:24px}.h-7{height:28px}.h-8{height:32px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.w-0{width:0}.w-12{width:48px}.w-16{width:64px}.w-4{width:16px}.w-44{width:176px}.w-5{width:20px}.w-52{width:208px}.w-6{width:24px}.w-7{width:28px}.w-8{width:32px}.w-\\[48px\\]{width:48px}.w-full{width:100%}.min-w-40{min-width:160px}.max-w-40{max-width:160px}.flex-shrink-0{flex-shrink:0}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-x-2{column-gap:8px}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-\\[0px\\]{border-width:0}.border-\\[2px\\]{border-width:2px}.border-current{border-color:currentColor}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-white,.bg-yellow-100{--tw-bg-opacity:1}.bg-yellow-100{background-color:rgb(254 249 195/var(--tw-bg-opacity))}.p-2{padding:8px}.p-3{padding:12px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.py-2\\.5{padding-bottom:10px;padding-top:10px}.pl-\\[11px\\]{padding-left:11px}.text-center{text-align:center}.text-sm{font-size:14px;line-height:20px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:right-2:hover{right:8px}.hover\\:rounded-r-lg:hover{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.w-auto{width:auto}.rounded-xl{border-radius:.75rem}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.left-0{left:0}.mt-1{margin-top:4px}.max-w-6{max-width:24px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.border-t-\\[1px\\]{border-top-width:1px}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.px-4{padding-left:16px;padding-right:16px}.py-2{padding-bottom:8px;padding-top:8px}.py-3{padding-bottom:12px;padding-top:12px}.pt-2{padding-top:8px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}.first\\:border-none:first-child{border-style:none}.first\\:pt-0:first-child{padding-top:0}.dark\\:border-transparent:is(.dark *){border-color:transparent}",NlChangeAccountStyle0=nlChangeAccountCss,NLChangeAccount=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.handleOpenWelcomeModal=createEvent(this,"handleOpenWelcomeModal",7),this.handleSwitchAccount=createEvent(this,"handleSwitchAccount",7),this.isOpen=!1,this.options=[],this.accounts=[],this.currentAccount=null,this.mode=!1,this.darkMode=!1,this.themeState="default",this.theme="default"}handleWindowClick(){this.wrapperRef.querySelector(".listClass")&&(this.isOpen=!1)}toggleDropdown(){this.isOpen=!this.isOpen,this.calculateDropdownPosition()}watchPropHandler(i){this.themeState=i}watchModeHandler(i){this.mode=i}watchAccountsHandler(i){this.options=i}connectedCallback(){this.themeState=this.theme,this.mode=this.darkMode}calculateDropdownPosition(){if(this.isOpen&&this.buttonRef){const i=this.buttonRef.getBoundingClientRect();this.ulRef.style.top=`${i.height}px`}}handleChange(i){this.handleSwitchAccount.emit(i)}handleOpenModal(){this.handleOpenWelcomeModal.emit()}render(){const i=(this.isOpen?"listClass flex flex-col gap-2":"hidden")+" w-full nl-select-list absolute z-10 left-0 shadow-md rounded-lg p-2 mt-1 after:h-4 after:absolute after:-bottom-4 after:start-0 after:w-full before:h-4 before:absolute before:-top-4 before:start-0 before:w-full",a=(this.isOpen?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-gray-500",r=this.options&&this.currentAccount?this.options.filter(o=>o.pubkey!==this.currentAccount.pubkey||o.authMethod!==this.currentAccount.authMethod):[];return h("div",{key:"e2fb1c4ca91fe75f9af8c40ba3411dba388ac9fd",class:`theme-${this.themeState}`},h("div",{key:"4ea60737ca60f4e6c20d014ed197f65f7b169432",class:"relative",ref:o=>this.wrapperRef=o},h("button",{key:"5838bf67141378607ec9d7f653f2eb71fbb655ee",ref:o=>this.buttonRef=o,onClick:()=>this.toggleDropdown(),type:"button",class:"nl-select peer py-3 px-4 flex items-center w-full justify-between border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent"},h("span",{key:"b1424401cb9c0222175d027c505d07aa2f0932e9",class:"text-gray-500"},"Switch profile"),h("svg",{key:"58eecdd605e9cb6296656f26abf8153150ee0f64",class:a,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"f31b6c5b8a96e35a46bf39c983cad1af501a1763",d:"m6 9 6 6 6-6"}))),h("ul",{key:"a5cb6e8ab70134082b1ad7953939fd5aedb7481d",ref:o=>this.ulRef=o,class:i},this.options&&r.map(o=>{const c=o.name||o.nip05||o.pubkey;return h("li",{onClick:()=>this.handleChange(o),class:"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm"},h("div",{class:"uppercase font-bold w-full max-w-6 h-6 rounded-full border border-gray-400 flex justify-center items-center"},o?.picture?h("img",{class:"w-full rounded-full",src:o.picture,alt:"Logo"}):c?c[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"truncate overflow-hidden"},c),h("nl-login-status",{info:o})))}),h("li",{key:"7d050773b50bbda055bd3f660045d5fee0c609c7",class:"first:pt-0 pt-2 border-t-[1px] first:border-none border-gray-300"},h("div",{key:"222120208bad410ec4217c15d8327a24abb71950",onClick:()=>this.handleOpenModal(),class:"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm"},h("div",{key:"2d4d88a1df00ea687f6b32f8d97a29146efdb49a",class:"uppercase font-bold w-6 h-6 rounded-full border border-gray-400 flex justify-center items-center"},h("svg",{key:"6863afeb362ce38a2b6cca8611f91746a5d879ca",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-4 h-4"},h("path",{key:"16d78e3b3288db99c203cef5ed766ef61ce146a1","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"}))),"Add profile")))))}get element(){return this}static get watchers(){return{theme:["watchPropHandler"],darkMode:["watchModeHandler"],accounts:["watchAccountsHandler"]}}static get style(){return NlChangeAccountStyle0}},[0,"nl-change-account",{accounts:[16],currentAccount:[16],darkMode:[4,"dark-mode"],theme:[1],isOpen:[32],options:[32],mode:[32],themeState:[32]},[[8,"click","handleWindowClick"]],{theme:["watchPropHandler"],darkMode:["watchModeHandler"],accounts:["watchAccountsHandler"]}]);function defineCustomElement$1(){typeof customElements>"u"||["nl-change-account","nl-login-status"].forEach(i=>{switch(i){case"nl-change-account":customElements.get(i)||customElements.define(i,NLChangeAccount);break;case"nl-login-status":customElements.get(i)||defineCustomElement$e()}})}defineCustomElement$1();const nlBannerCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.show-slow{display:none;opacity:0;transition:.1s}.isOpen .show-slow{display:block;opacity:1;transition:.2s;transition-delay:.2s}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.right-2{right:8px}.top-2{top:8px}.top-52{top:208px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:8px}.ml-0{margin-left:0}.ml-\\[2px\\]{margin-left:2px}.mr-0{margin-right:0}.mr-2{margin-right:8px}.mr-3\\.5{margin-right:14px}.mt-2{margin-top:8px}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-0{height:0}.h-12{height:48px}.h-4{height:16px}.h-5{height:20px}.h-6{height:24px}.h-7{height:28px}.h-8{height:32px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.w-0{width:0}.w-12{width:48px}.w-16{width:64px}.w-4{width:16px}.w-44{width:176px}.w-5{width:20px}.w-52{width:208px}.w-6{width:24px}.w-7{width:28px}.w-8{width:32px}.w-\\[48px\\]{width:48px}.w-full{width:100%}.min-w-40{min-width:160px}.max-w-40{max-width:160px}.flex-shrink-0{flex-shrink:0}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-x-2{column-gap:8px}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-\\[0px\\]{border-width:0}.border-\\[2px\\]{border-width:2px}.border-current{border-color:currentColor}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-white,.bg-yellow-100{--tw-bg-opacity:1}.bg-yellow-100{background-color:rgb(254 249 195/var(--tw-bg-opacity))}.p-2{padding:8px}.p-3{padding:12px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.py-2\\.5{padding-bottom:10px;padding-top:10px}.pl-\\[11px\\]{padding-left:11px}.text-center{text-align:center}.text-sm{font-size:14px;line-height:20px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:right-2:hover{right:8px}.hover\\:rounded-r-lg:hover{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.w-auto{width:auto}.rounded-xl{border-radius:.75rem}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.left-0{left:0}.mt-1{margin-top:4px}.max-w-6{max-width:24px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.border-t-\\[1px\\]{border-top-width:1px}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.px-4{padding-left:16px;padding-right:16px}.py-2{padding-bottom:8px;padding-top:8px}.py-3{padding-bottom:12px;padding-top:12px}.pt-2{padding-top:8px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}.first\\:border-none:first-child{border-style:none}.first\\:pt-0:first-child{padding-top:0}.dark\\:border-transparent:is(.dark *){border-color:transparent}",NlBannerStyle0=nlBannerCss,NlBanner=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.handleRetryConfirmBanner=createEvent(this,"handleRetryConfirmBanner",7),this.handleNotifyConfirmBanner=createEvent(this,"handleNotifyConfirmBanner",7),this.handleSetConfirmBanner=createEvent(this,"handleSetConfirmBanner",7),this.handleLoginBanner=createEvent(this,"handleLoginBanner",7),this.handleLogoutBanner=createEvent(this,"handleLogoutBanner",7),this.handleOpenWelcomeModal=createEvent(this,"handleOpenWelcomeModal",7),this.handleConfirmLogout=createEvent(this,"handleConfirmLogout",7),this.handleImportModal=createEvent(this,"handleImportModal",7),this.isLogin=!1,this.theme="default",this.darkMode=!1,this.hiddenMode=!1,this.titleBanner="",this.domain="",this.urlNotify="",this.listNotifies=[],this.isOpenNotifyTimeOut=!1,this.isOpen=!1,this.isConfirm=!0,this.isOpenConfirm=!1,this.isLoading=!1,this.notify=null,this.isNotConfirmToSend=!1,this.userInfo=null,this.accounts=[]}watchNotifyHandler(i){var a,r,o;this.isNotConfirmToSend=!0,this.isOpen=!0,this.isOpenConfirm=!0,this.domain=(null===(o=null===(r=null===(a=this.userInfo)||void 0===a?void 0:a.nip05)||void 0===r?void 0:r.split("@"))||void 0===o?void 0:o[1])||"",i.url&&(this.urlNotify=i.url,this.isOpenNotifyTimeOut=!1),!this.urlNotify&&i.timeOut&&(this.isOpenNotifyTimeOut=!0)}handleOpen(){this.userInfo?this.isOpen=!0:this.handleOpenWelcomeModal.emit()}handleClose(){this.isOpen=!1,this.isOpenNotifyTimeOut=!1,this.isOpenConfirm=!1,this.isNotConfirmToSend&&(this.handleSetConfirmBanner.emit(this.urlNotify),this.isNotConfirmToSend=!1),this.urlNotify=""}handleLogin(){this.handleLoginBanner.emit(METHOD_MODULE.LOGIN),this.handleClose()}handleSignup(){this.handleLoginBanner.emit(METHOD_MODULE.SIGNUP),this.handleClose()}handleImport(){this.handleImportModal.emit(),this.handleClose()}handleLogout(){if(localStorage.getItem("backupKey"))return this.handleLogoutBanner.emit(METHOD_MODULE.LOGOUT),this.handleClose(),void localStorage.removeItem("backupKey");"local"===this.userInfo.authMethod?this.handleConfirmLogout.emit():this.handleLogoutBanner.emit(METHOD_MODULE.LOGOUT),this.handleClose()}handleConfirm(){this.handleNotifyConfirmBanner.emit(this.urlNotify),this.isNotConfirmToSend=!1,this.handleClose()}handleRetryConfirm(){this.handleRetryConfirmBanner.emit(),this.isNotConfirmToSend=!1,this.handleClose()}render(){var i,a,r,o,s,c;const y=!(null===(i=this.userInfo)||void 0===i||!i.picture),k=(null===(a=this.userInfo)||void 0===a?void 0:a.name)||(null===(s=null===(o=null===(r=this.userInfo)||void 0===r?void 0:r.nip05)||void 0===o?void 0:o.split("@"))||void 0===s?void 0:s[0])||(null===(c=this.userInfo)||void 0===c?void 0:c.pubkey)||"",S=!!k,I=this.userInfo&&"local"===this.userInfo.authMethod,T=localStorage.getItem("backupKey");return h("div",{key:"135e66c8e2156c98f3c5b2ed33657e193575301e",class:`theme-${this.theme} ${!this.isOpen&&this.hiddenMode?"hidden":""}`},h("div",{key:"472074168314b51f8a80f53814043bfda4058c26",class:this.darkMode&&"dark"},h("div",{key:"f55074c5da729a4de542841ace63a7d73cabadf5",class:`nl-banner ${this.isOpen?"w-52 h-auto right-2 rounded-r-lg isOpen":"rounded-r-none hover:rounded-r-lg cursor-pointer"} z-50 w-12 h-12 fixed top-52 right-0 inline-block gap-x-2 text-sm font-medium rounded-lg hover:right-2 transition-all duration-300 ease-in-out`},h("div",{key:"10c552768319d8f6642ea23db3af15d3b54cec67",class:"block w-[48px] h-[46px] relative z-10"},h("div",{key:"52d9d39b5d27d2924fabd0560e27b3d3d214c011",onClick:()=>this.handleOpen(),class:"flex w-52 h-[46px] items-center pl-[11px]"},h("span",{key:"c64f3d89b7daba7ea1cf20f215561ebb18fa56e2",class:(this.isLoading?"w-5 h-5 border-[2px] mr-3.5 ml-[2px] opacity-1":"w-0 h-0 border-[0px] mr-0 opacity-0 ml-0")+" animate-spin transition-all duration-300 ease-in-out inline-block border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}),this.userInfo?h("div",{class:"uppercase font-bold w-6 h-6 mr-2 rounded-full border border-gray-200 flex justify-center items-center"},y?h("img",{class:"w-full rounded-full",src:this.userInfo.picture,alt:"Logo"}):S?k[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))):h("div",{class:"flex justify-center items-center"},h("svg",{class:"w-6 h-6",width:"225",height:"224",viewBox:"0 0 225 224",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("rect",{width:"224.047",height:"224",rx:"64",fill:"#6951FA"}),h("path",{d:"M162.441 135.941V88.0593C170.359 85.1674 176 77.5348 176 68.6696C176 57.2919 166.708 48 155.33 48C143.953 48 134.661 57.2444 134.661 68.6696C134.661 77.5822 140.302 85.1674 148.219 88.0593V135.941C147.698 136.13 147.176 136.367 146.655 136.604L87.3956 77.3452C88.6282 74.6904 89.2919 71.7511 89.2919 68.6696C89.2919 57.2444 80.0474 48 68.6696 48C57.2919 48 48 57.2444 48 68.6696C48 77.5822 53.6415 85.1674 61.5585 88.0593V135.941C53.6415 138.833 48 146.465 48 155.33C48 166.708 57.2444 176 68.6696 176C80.0948 176 89.3393 166.708 89.3393 155.33C89.3393 146.418 83.6978 138.833 75.7807 135.941V88.0593C76.3022 87.8696 76.8237 87.6326 77.3452 87.3956L136.604 146.655C135.372 149.31 134.708 152.249 134.708 155.33C134.708 166.708 143.953 176 155.378 176C166.803 176 176.047 166.708 176.047 155.33C176.047 146.418 170.406 138.833 162.489 135.941H162.441Z",fill:"white"})),this.isOpen&&h("span",{class:"px-2"},h("b",null,"Nostr")," Login")),this.isOpen&&S&&h("div",{key:"ac034a746a28bd20a36770a49d02773ac97025a5",class:"show-slow truncate w-16 text-xs"},k),this.isOpen&&S&&h("nl-login-status",{key:"5355376e14be5616978f4ab4a7f635aa34dd79b1",info:this.userInfo}))),h("button",{key:"7b772fb052250c40b5f82df5c78ed89a4fc1c294",onClick:()=>this.handleClose(),type:"button",class:(this.isOpen?"z-20":"z-0")+" nl-action-button absolute right-2 top-2 z-0 show-slow flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent"},h("span",{key:"4ed204a4e214ef7d6d31bee7d3b3b0297adc969f",class:"sr-only"},"Close"),h("svg",{key:"78705023791bbfe894b5a522471340ee21ddc38d",class:"flex-shrink-0 w-5 h-5",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"065017768a1984e78818d39ee21d8a9e771fae71",d:"M18 6 6 18"}),h("path",{key:"2c647fa99c7d9d896fc36075862e6e52d7897228",d:"m6 6 12 12"}))),h("div",{key:"c96e61467259657e68a30a9adc47aab195bf7ee8",class:"p-3 show-slow"},this.isOpenConfirm?h("div",null,h("div",{class:"w-8 h-8 p-1/2 rounded-full border border-gray-200 bg-white mb-2 mt-2 show-slow m-auto"},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#5a68ff",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))),h("p",{class:"mb-2 text-center max-w-40 min-w-40 mx-auto"},this.isOpenNotifyTimeOut?"Keys not responding, check your key storage app":`Confirmation required at ${this.domain}`),this.isOpenNotifyTimeOut?h("a",{onClick:()=>this.handleClose(),href:`https://${this.domain}`,target:"_blank",class:"nl-button text-nowrap py-2.5 px-3 w-full inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg disabled:opacity-50 disabled:pointer-events-none dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600"},"Go to ",this.domain):h("button-base",{onClick:()=>this.handleConfirm(),titleBtn:"Confirm"})):h("div",null,h("div",null,this.titleBanner&&h("p",{class:"mb-2 text-center show-slow max-w-40 min-w-40 mx-auto"},this.titleBanner),I&&h(Fragment,null,!T&&h("p",{class:"mb-2 text-center show-slow text-red-400 max-w-40 min-w-40 mx-auto"},"Your profile may be lost if you close this tab"),h("div",{class:"mb-2"},h("button-base",{onClick:()=>this.handleImport(),theme:"lemonade",titleBtn:"Back up profile"}))),h("div",{class:"mb-2"},h("nl-change-account",{currentAccount:this.userInfo,accounts:this.accounts})),!!this.listNotifies.length&&h("div",{onClick:()=>this.handleRetryConfirm(),class:"show-slow border border-yellow-600 text-yellow-600 bg-yellow-100 p-2 rounded-lg mb-2 cursor-pointer w-44 text-xs m-auto text-center"},"Requests: ",this.listNotifies.length),this.userInfo?h("button-base",{onClick:()=>this.handleLogout(),titleBtn:"Log out"}):h("div",null,h("button-base",{onClick:()=>this.handleLogin(),titleBtn:"Log in"},h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"}))),h("button-base",{onClick:()=>this.handleSignup(),titleBtn:"Sign up"},h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"}))))))))))}static get watchers(){return{notify:["watchNotifyHandler"]}}static get style(){return NlBannerStyle0}},[1,"nl-banner",{theme:[1025],darkMode:[1028,"dark-mode"],hiddenMode:[1028,"hidden-mode"],titleBanner:[1,"title-banner"],listNotifies:[16],isOpen:[1028,"is-open"],isLoading:[4,"is-loading"],notify:[16],userInfo:[16],accounts:[1040],isLogin:[32],domain:[32],urlNotify:[32],isOpenNotifyTimeOut:[32],isConfirm:[32],isOpenConfirm:[32],isNotConfirmToSend:[32]},void 0,{notify:["watchNotifyHandler"]}]);function defineCustomElement(){typeof customElements>"u"||["nl-banner","button-base","nl-change-account","nl-login-status"].forEach(i=>{switch(i){case"nl-banner":customElements.get(i)||customElements.define(i,NlBanner);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-change-account":customElements.get(i)||defineCustomElement$1();break;case"nl-login-status":customElements.get(i)||defineCustomElement$e()}})}defineCustomElement();var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var lib$1={},types={};Object.defineProperty(types,"__esModule",{value:!0});var ee={},taskCollection$1={},taskCollection={},bakeCollection={};(function(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.bakeCollectionVariadic=exports.bakeCollectionAwait=exports.bakeCollection=exports.BAKED_EMPTY_FUNC=void 0,exports.BAKED_EMPTY_FUNC=function(){};var FORLOOP_FALLBACK=1500;function generateArgsDefCode(i){var a="";if(0===i)return a;for(var r=0;r1)a?((r=this._tasks).push.apply(r,arguments),this.length+=arguments.length):(this._tasks.push(i),this.length++);else if(a){var s;1===o?((s=Array(1+arguments.length)).push(s),s.push.apply(s,arguments),this._tasks=s):((s=Array(arguments.length)).push.apply(s,arguments),this._tasks=s),this.length+=arguments.length}else this._tasks=1===o?[this._tasks,i]:i,this.length++}function push_rebuild(i,a){var r,o=this.length;if(o>1)a?((r=this._tasks).push.apply(r,arguments),this.length+=arguments.length):(this._tasks.push(i),this.length++);else if(a){var s;1===o?((s=Array(1+arguments.length)).push(s),s.push.apply(s,arguments),this._tasks=s):((s=Array(arguments.length)).push.apply(s,arguments),this._tasks=s),this.length+=arguments.length}else this._tasks=1===o?[this._tasks,i]:i,this.length++;this.firstEmitBuildStrategy?this.call=rebuild_on_first_call:this.rebuild()}function _fast_remove_single(i,a){-1!==a&&(0===a?i.shift():a===i.length-1?i.length=i.length-1:i.splice(a,1))}function removeLast_norebuild(i){0!==this.length&&(1===this.length?this._tasks===i&&(this.length=0):(_fast_remove_single(this._tasks,this._tasks.lastIndexOf(i)),1===this._tasks.length?(this._tasks=this._tasks[0],this.length=1):this.length=this._tasks.length))}function removeLast_rebuild(i){if(0!==this.length){if(1===this.length)return this._tasks===i&&(this.length=0),this.firstEmitBuildStrategy?void(this.call=bake_collection_1.BAKED_EMPTY_FUNC):void this.rebuild();_fast_remove_single(this._tasks,this._tasks.lastIndexOf(i)),1===this._tasks.length?(this._tasks=this._tasks[0],this.length=1):this.length=this._tasks.length,this.firstEmitBuildStrategy?this.call=rebuild_on_first_call:this.rebuild()}}function insert_norebuild(i){for(var a,r=[],o=1;o0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash$3(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");number$3(i.outputLen),number$3(i.blockLen)}function exists$3(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output$3(i,a){bytes$3(i);const r=a.outputLen;if(i.lengthi instanceof Uint8Array,createView$2=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),rotr$2=(i,a)=>i<<32-a|i>>>a,isLE$3=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE$3)throw new Error("Non little-endian hardware is not supported");function utf8ToBytes$4(i){if("string"!=typeof i)throw new Error("utf8ToBytes expected string, got "+typeof i);return new Uint8Array((new TextEncoder).encode(i))}function toBytes$3(i){if("string"==typeof i&&(i=utf8ToBytes$4(i)),!u8a$3(i))throw new Error("expected Uint8Array, got "+typeof i);return i}function concatBytes$3(...i){const a=new Uint8Array(i.reduce((o,s)=>o+s.length,0));let r=0;return i.forEach(o=>{if(!u8a$3(o))throw new Error("Uint8Array expected");a.set(o,r),r+=o.length}),a}Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));let Hash$2=class{clone(){return this._cloneInto()}};function wrapConstructor$2(i){const a=o=>i().update(toBytes$3(o)).digest(),r=i();return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=()=>i(),a}function randomBytes$2(i=32){if(crypto$3&&"function"==typeof crypto$3.getRandomValues)return crypto$3.getRandomValues(new Uint8Array(i));throw new Error("crypto.getRandomValues must be defined")}function setBigUint64$2(i,a,r,o){if("function"==typeof i.setBigUint64)return i.setBigUint64(a,r,o);const s=BigInt(32),c=BigInt(4294967295),y=Number(r>>s&c),k=Number(r&c),I=o?0:4;i.setUint32(a+(o?4:0),y,o),i.setUint32(a+I,k,o)}let SHA2$2=class extends Hash$2{constructor(i,a,r,o){super(),this.blockLen=i,this.outputLen=a,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=createView$2(this.buffer)}update(i){assert$3.exists(this);const{view:a,buffer:r,blockLen:o}=this,s=(i=toBytes$3(i)).length;for(let c=0;co-c&&(this.process(r,0),c=0);for(let T=c;TI.length)throw new Error("_sha2: outputLen bigger than state");for(let T=0;Ti&a^~i&r,Maj$2=(i,a,r)=>i&a^i&r^a&r,SHA256_K$2=new Uint32Array([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]),IV$2=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W$2=new Uint32Array(64);let SHA256$2=class extends SHA2$2{constructor(){super(64,32,8,!1),this.A=0|IV$2[0],this.B=0|IV$2[1],this.C=0|IV$2[2],this.D=0|IV$2[3],this.E=0|IV$2[4],this.F=0|IV$2[5],this.G=0|IV$2[6],this.H=0|IV$2[7]}get(){const{A:i,B:a,C:r,D:o,E:s,F:c,G:y,H:k}=this;return[i,a,r,o,s,c,y,k]}set(i,a,r,o,s,c,y,k){this.A=0|i,this.B=0|a,this.C=0|r,this.D=0|o,this.E=0|s,this.F=0|c,this.G=0|y,this.H=0|k}process(i,a){for(let T=0;T<16;T++,a+=4)SHA256_W$2[T]=i.getUint32(a,!1);for(let T=16;T<64;T++){const M=SHA256_W$2[T-15],R=SHA256_W$2[T-2],L=rotr$2(M,7)^rotr$2(M,18)^M>>>3,J=rotr$2(R,17)^rotr$2(R,19)^R>>>10;SHA256_W$2[T]=J+SHA256_W$2[T-7]+L+SHA256_W$2[T-16]|0}let{A:r,B:o,C:s,D:c,E:y,F:k,G:S,H:I}=this;for(let T=0;T<64;T++){const M=I+(rotr$2(y,6)^rotr$2(y,11)^rotr$2(y,25))+Chi$2(y,k,S)+SHA256_K$2[T]+SHA256_W$2[T]|0,R=(rotr$2(r,2)^rotr$2(r,13)^rotr$2(r,22))+Maj$2(r,o,s)|0;I=S,S=k,k=y,y=c+M|0,c=s,s=o,o=r,r=M+R|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,y=y+this.E|0,k=k+this.F|0,S=S+this.G|0,I=I+this.H|0,this.set(r,o,s,c,y,k,S,I)}roundClean(){SHA256_W$2.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},SHA224$1=class extends SHA256$2{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}};const sha256$2=wrapConstructor$2(()=>new SHA256$2);wrapConstructor$2(()=>new SHA224$1);const _0n$4=BigInt(0),_1n$4=BigInt(1),_2n$2=BigInt(2),u8a$2=i=>i instanceof Uint8Array,hexes$2=Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));function bytesToHex$2(i){if(!u8a$2(i))throw new Error("Uint8Array expected");let a="";for(let r=0;ro+s.length,0));let r=0;return i.forEach(o=>{if(!u8a$2(o))throw new Error("Uint8Array expected");a.set(o,r),r+=o.length}),a}function equalBytes$1(i,a){if(i.length!==a.length)return!1;for(let r=0;r_0n$4;i>>=_1n$4,a+=1);return a}function bitGet(i,a){return i>>BigInt(a)&_1n$4}const bitSet=(i,a,r)=>i|(r?_1n$4:_0n$4)<(_2n$2<new Uint8Array(i),u8fr=i=>Uint8Array.from(i);function createHmacDrbg(i,a,r){if("number"!=typeof i||i<2)throw new Error("hashLen must be a number");if("number"!=typeof a||a<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");let o=u8n(i),s=u8n(i),c=0;const y=()=>{o.fill(1),s.fill(0),c=0},k=(...T)=>r(s,o,...T),S=(T=u8n())=>{s=k(u8fr([0]),T),o=k(),0!==T.length&&(s=k(u8fr([1]),T),o=k())},I=()=>{if(c++>=1e3)throw new Error("drbg: tried 1000 values");let T=0;const M=[];for(;T{let R;for(y(),S(T);!(R=M(I()));)S();return y(),R}}const validatorFns={bigint:i=>"bigint"==typeof i,function:i=>"function"==typeof i,boolean:i=>"boolean"==typeof i,string:i=>"string"==typeof i,isSafeInteger:i=>Number.isSafeInteger(i),array:i=>Array.isArray(i),field:(i,a)=>a.Fp.isValid(i),hash:i=>"function"==typeof i&&Number.isSafeInteger(i.outputLen)};function validateObject(i,a,r={}){const o=(s,c,y)=>{const k=validatorFns[c];if("function"!=typeof k)throw new Error(`Invalid validator "${c}", expected function`);const S=i[s];if(!(y&&void 0===S||k(S,i)))throw new Error(`Invalid param ${String(s)}=${S} (${typeof S}), expected ${c}`)};for(const[s,c]of Object.entries(a))o(s,c,!1);for(const[s,c]of Object.entries(r))o(s,c,!0);return i}var ut=Object.freeze({__proto__:null,bitGet,bitLen,bitMask,bitSet,bytesToHex:bytesToHex$2,bytesToNumberBE,bytesToNumberLE,concatBytes:concatBytes$2,createHmacDrbg,ensureBytes:ensureBytes$1,equalBytes:equalBytes$1,hexToBytes:hexToBytes$2,hexToNumber,numberToBytesBE,numberToBytesLE,numberToHexUnpadded,numberToVarBytesBE,utf8ToBytes:utf8ToBytes$3,validateObject});const _0n$3=BigInt(0),_1n$3=BigInt(1),_2n$1=BigInt(2),_3n$1=BigInt(3),_4n=BigInt(4),_5n=BigInt(5),_8n=BigInt(8);function mod(i,a){const r=i%a;return r>=_0n$3?r:a+r}function pow(i,a,r){if(r<=_0n$3||a<_0n$3)throw new Error("Expected power/modulo > 0");if(r===_1n$3)return _0n$3;let o=_1n$3;for(;a>_0n$3;)a&_1n$3&&(o=o*i%r),i=i*i%r,a>>=_1n$3;return o}function pow2(i,a,r){let o=i;for(;a-- >_0n$3;)o*=o,o%=r;return o}function invert(i,a){if(i===_0n$3||a<=_0n$3)throw new Error(`invert: expected positive integers, got n=${i} mod=${a}`);let r=mod(i,a),o=a,s=_0n$3,c=_1n$3;for(;r!==_0n$3;){const y=o%r,k=s-c*(o/r);o=r,r=y,s=c,c=k}if(o!==_1n$3)throw new Error("invert: does not exist");return mod(s,a)}function tonelliShanks(i){const a=(i-_1n$3)/_2n$1;let r,o,s;for(r=i-_1n$3,o=0;r%_2n$1===_0n$3;r/=_2n$1,o++);for(s=_2n$1;s(r[o]="function",r),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}function FpPow(i,a,r){if(r<_0n$3)throw new Error("Expected power > 0");if(r===_0n$3)return i.ONE;if(r===_1n$3)return a;let o=i.ONE,s=a;for(;r>_0n$3;)r&_1n$3&&(o=i.mul(o,s)),s=i.sqr(s),r>>=_1n$3;return o}function FpInvertBatch(i,a){const r=new Array(a.length),o=a.reduce((c,y,k)=>i.is0(y)?c:(r[k]=c,i.mul(c,y)),i.ONE),s=i.inv(o);return a.reduceRight((c,y,k)=>i.is0(y)?c:(r[k]=i.mul(c,r[k]),i.mul(c,y)),s),r}function nLength(i,a){const r=void 0!==a?a:i.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}function Field(i,a,r=!1,o={}){if(i<=_0n$3)throw new Error(`Expected Fp ORDER > 0, got ${i}`);const{nBitLength:s,nByteLength:c}=nLength(i,a);if(c>2048)throw new Error("Field lengths over 2048 bytes are not supported");const y=FpSqrt(i),k=Object.freeze({ORDER:i,BITS:s,BYTES:c,MASK:bitMask(s),ZERO:_0n$3,ONE:_1n$3,create:S=>mod(S,i),isValid:S=>{if("bigint"!=typeof S)throw new Error("Invalid field element: expected bigint, got "+typeof S);return _0n$3<=S&&SS===_0n$3,isOdd:S=>(S&_1n$3)===_1n$3,neg:S=>mod(-S,i),eql:(S,I)=>S===I,sqr:S=>mod(S*S,i),add:(S,I)=>mod(S+I,i),sub:(S,I)=>mod(S-I,i),mul:(S,I)=>mod(S*I,i),pow:(S,I)=>FpPow(k,S,I),div:(S,I)=>mod(S*invert(I,i),i),sqrN:S=>S*S,addN:(S,I)=>S+I,subN:(S,I)=>S-I,mulN:(S,I)=>S*I,inv:S=>invert(S,i),sqrt:o.sqrt||(S=>y(k,S)),invertBatch:S=>FpInvertBatch(k,S),cmov:(S,I,T)=>T?I:S,toBytes:S=>r?numberToBytesLE(S,c):numberToBytesBE(S,c),fromBytes:S=>{if(S.length!==c)throw new Error(`Fp.fromBytes: expected ${c}, got ${S.length}`);return r?bytesToNumberLE(S):bytesToNumberBE(S)}});return Object.freeze(k)}function hashToPrivateScalar(i,a,r=!1){const o=(i=ensureBytes$1("privateHash",i)).length,s=nLength(a).nByteLength+8;if(s<24||o1024)throw new Error(`hashToPrivateScalar: expected ${s}-1024 bytes of input, got ${o}`);return mod(r?bytesToNumberLE(i):bytesToNumberBE(i),a-_1n$3)+_1n$3}const _0n$2=BigInt(0),_1n$2=BigInt(1);function wNAF(i,a){const r=(s,c)=>{const y=c.negate();return s?y:c},o=s=>({windows:Math.ceil(a/s)+1,windowSize:2**(s-1)});return{constTimeNegate:r,unsafeLadder(s,c){let y=i.ZERO,k=s;for(;c>_0n$2;)c&_1n$2&&(y=y.add(k)),k=k.double(),c>>=_1n$2;return y},precomputeWindow(s,c){const{windows:y,windowSize:k}=o(c),S=[];let I=s,T=I;for(let M=0;M>=L,q>S&&(q-=R,y+=_1n$2);const ct=W,ht=W+Math.abs(q)-1,_t=q<0;0===q?T=T.add(r(J%2!=0,c[ct])):I=I.add(r(_t,c[ht]))}return{p:I,f:T}},wNAFCached(s,c,y,k){const S=s._WINDOW_SIZE||1;let I=c.get(s);return I||(I=this.precomputeWindow(s,S),1!==S&&c.set(s,k(I))),this.wNAF(S,I,y)}}}function validateBasic(i){return validateField(i.Fp),validateObject(i,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...nLength(i.n,i.nBitLength),...i,p:i.Fp.ORDER})}function validatePointOpts(i){const a=validateBasic(i);validateObject(a,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:r,Fp:o,a:s}=a;if(r){if(!o.eql(s,o.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof r||"bigint"!=typeof r.beta||"function"!=typeof r.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...a})}const{bytesToNumberBE:b2n,hexToBytes:h2b}=ut,DER={Err:class extends Error{constructor(i=""){super(i)}},_parseInt(i){const{Err:a}=DER;if(i.length<2||2!==i[0])throw new a("Invalid signature integer tag");const r=i[1],o=i.subarray(2,r+2);if(!r||o.length!==r)throw new a("Invalid signature integer: wrong length");if(128&o[0])throw new a("Invalid signature integer: negative");if(0===o[0]&&!(128&o[1]))throw new a("Invalid signature integer: unnecessary leading zero");return{d:b2n(o),l:i.subarray(r+2)}},toSig(i){const{Err:a}=DER,r="string"==typeof i?h2b(i):i;if(!(r instanceof Uint8Array))throw new Error("ui8a expected");let o=r.length;if(o<2||48!=r[0])throw new a("Invalid signature tag");if(r[1]!==o-2)throw new a("Invalid signature: incorrect length");const{d:s,l:c}=DER._parseInt(r.subarray(2)),{d:y,l:k}=DER._parseInt(c);if(k.length)throw new a("Invalid signature: left bytes after parsing");return{r:s,s:y}},hexFromSig(i){const a=I=>8&Number.parseInt(I[0],16)?"00"+I:I,r=I=>{const T=I.toString(16);return 1&T.length?`0${T}`:T},o=a(r(i.s)),s=a(r(i.r)),c=o.length/2,y=s.length/2,k=r(c),S=r(y);return`30${r(y+c+4)}02${S}${s}02${k}${o}`}},_0n$1=BigInt(0),_1n$1=BigInt(1);BigInt(2);const _3n=BigInt(3);function weierstrassPoints(i){const a=validatePointOpts(i),{Fp:r}=a,o=a.toBytes||((J,W,q)=>{const ct=W.toAffine();return concatBytes$2(Uint8Array.from([4]),r.toBytes(ct.x),r.toBytes(ct.y))}),s=a.fromBytes||(J=>{const W=J.subarray(1);return{x:r.fromBytes(W.subarray(0,r.BYTES)),y:r.fromBytes(W.subarray(r.BYTES,2*r.BYTES))}});function c(J){const{a:W,b:q}=a,ct=r.sqr(J),ht=r.mul(ct,J);return r.add(r.add(ht,r.mul(J,W)),q)}if(!r.eql(r.sqr(a.Gy),c(a.Gx)))throw new Error("bad generator point: equation left != right");function y(J){return"bigint"==typeof J&&_0n$1r.eql(tt,r.ZERO);return ht(q)&&ht(ct)?M.ZERO:new M(q,ct,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(W){const q=r.invertBatch(W.map(ct=>ct.pz));return W.map((ct,ht)=>ct.toAffine(q[ht])).map(M.fromAffine)}static fromHex(W){const q=M.fromAffine(s(ensureBytes$1("pointHex",W)));return q.assertValidity(),q}static fromPrivateKey(W){return M.BASE.multiply(S(W))}_setWindowSize(W){this._WINDOW_SIZE=W,I.delete(this)}assertValidity(){if(this.is0()){if(a.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:W,y:q}=this.toAffine();if(!r.isValid(W)||!r.isValid(q))throw new Error("bad point: x or y not FE");const ct=r.sqr(q),ht=c(W);if(!r.eql(ct,ht))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:W}=this.toAffine();if(r.isOdd)return!r.isOdd(W);throw new Error("Field doesn't support isOdd")}equals(W){T(W);const{px:q,py:ct,pz:ht}=this,{px:tt,py:_t,pz:Mt}=W,$t=r.eql(r.mul(q,Mt),r.mul(tt,ht)),At=r.eql(r.mul(ct,Mt),r.mul(_t,ht));return $t&&At}negate(){return new M(this.px,r.neg(this.py),this.pz)}double(){const{a:W,b:q}=a,ct=r.mul(q,_3n),{px:ht,py:tt,pz:_t}=this;let Mt=r.ZERO,$t=r.ZERO,At=r.ZERO,kt=r.mul(ht,ht),nt=r.mul(tt,tt),at=r.mul(_t,_t),rt=r.mul(ht,tt);return rt=r.add(rt,rt),At=r.mul(ht,_t),At=r.add(At,At),Mt=r.mul(W,At),$t=r.mul(ct,at),$t=r.add(Mt,$t),Mt=r.sub(nt,$t),$t=r.add(nt,$t),$t=r.mul(Mt,$t),Mt=r.mul(rt,Mt),At=r.mul(ct,At),at=r.mul(W,at),rt=r.sub(kt,at),rt=r.mul(W,rt),rt=r.add(rt,At),At=r.add(kt,kt),kt=r.add(At,kt),kt=r.add(kt,at),kt=r.mul(kt,rt),$t=r.add($t,kt),at=r.mul(tt,_t),at=r.add(at,at),kt=r.mul(at,rt),Mt=r.sub(Mt,kt),At=r.mul(at,nt),At=r.add(At,At),At=r.add(At,At),new M(Mt,$t,At)}add(W){T(W);const{px:q,py:ct,pz:ht}=this,{px:tt,py:_t,pz:Mt}=W;let $t=r.ZERO,At=r.ZERO,kt=r.ZERO;const nt=a.a,at=r.mul(a.b,_3n);let rt=r.mul(q,tt),yt=r.mul(ct,_t),Ct=r.mul(ht,Mt),Vt=r.add(q,ct),Xt=r.add(tt,_t);Vt=r.mul(Vt,Xt),Xt=r.add(rt,yt),Vt=r.sub(Vt,Xt),Xt=r.add(q,ht);let oe=r.add(tt,Mt);return Xt=r.mul(Xt,oe),oe=r.add(rt,Ct),Xt=r.sub(Xt,oe),oe=r.add(ct,ht),$t=r.add(_t,Mt),oe=r.mul(oe,$t),$t=r.add(yt,Ct),oe=r.sub(oe,$t),kt=r.mul(nt,Xt),$t=r.mul(at,Ct),kt=r.add($t,kt),$t=r.sub(yt,kt),kt=r.add(yt,kt),At=r.mul($t,kt),yt=r.add(rt,rt),yt=r.add(yt,rt),Ct=r.mul(nt,Ct),Xt=r.mul(at,Xt),yt=r.add(yt,Ct),Ct=r.sub(rt,Ct),Ct=r.mul(nt,Ct),Xt=r.add(Xt,Ct),rt=r.mul(yt,Xt),At=r.add(At,rt),rt=r.mul(oe,Xt),$t=r.mul(Vt,$t),$t=r.sub($t,rt),rt=r.mul(Vt,yt),kt=r.mul(oe,kt),kt=r.add(kt,rt),new M($t,At,kt)}subtract(W){return this.add(W.negate())}is0(){return this.equals(M.ZERO)}wNAF(W){return L.wNAFCached(this,I,W,q=>{const ct=r.invertBatch(q.map(ht=>ht.pz));return q.map((ht,tt)=>ht.toAffine(ct[tt])).map(M.fromAffine)})}multiplyUnsafe(W){const q=M.ZERO;if(W===_0n$1)return q;if(k(W),W===_1n$1)return this;const{endo:ct}=a;if(!ct)return L.unsafeLadder(this,W);let{k1neg:ht,k1:tt,k2neg:_t,k2:Mt}=ct.splitScalar(W),$t=q,At=q,kt=this;for(;tt>_0n$1||Mt>_0n$1;)tt&_1n$1&&($t=$t.add(kt)),Mt&_1n$1&&(At=At.add(kt)),kt=kt.double(),tt>>=_1n$1,Mt>>=_1n$1;return ht&&($t=$t.negate()),_t&&(At=At.negate()),At=new M(r.mul(At.px,ct.beta),At.py,At.pz),$t.add(At)}multiply(W){k(W);let q,ct,ht=W;const{endo:tt}=a;if(tt){const{k1neg:_t,k1:Mt,k2neg:$t,k2:At}=tt.splitScalar(ht);let{p:kt,f:nt}=this.wNAF(Mt),{p:at,f:rt}=this.wNAF(At);kt=L.constTimeNegate(_t,kt),at=L.constTimeNegate($t,at),at=new M(r.mul(at.px,tt.beta),at.py,at.pz),q=kt.add(at),ct=nt.add(rt)}else{const{p:_t,f:Mt}=this.wNAF(ht);q=_t,ct=Mt}return M.normalizeZ([q,ct])[0]}multiplyAndAddUnsafe(W,q,ct){const ht=M.BASE,tt=(Mt,$t)=>$t!==_0n$1&&$t!==_1n$1&&Mt.equals(ht)?Mt.multiply($t):Mt.multiplyUnsafe($t),_t=tt(this,q).add(tt(W,ct));return _t.is0()?void 0:_t}toAffine(W){const{px:q,py:ct,pz:ht}=this,tt=this.is0();null==W&&(W=tt?r.ONE:r.inv(ht));const _t=r.mul(q,W),Mt=r.mul(ct,W),$t=r.mul(ht,W);if(tt)return{x:r.ZERO,y:r.ZERO};if(!r.eql($t,r.ONE))throw new Error("invZ was invalid");return{x:_t,y:Mt}}isTorsionFree(){const{h:W,isTorsionFree:q}=a;if(W===_1n$1)return!0;if(q)return q(M,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:W,clearCofactor:q}=a;return W===_1n$1?this:q?q(M,this):this.multiplyUnsafe(a.h)}toRawBytes(W=!0){return this.assertValidity(),o(M,this,W)}toHex(W=!0){return bytesToHex$2(this.toRawBytes(W))}}M.BASE=new M(a.Gx,a.Gy,r.ONE),M.ZERO=new M(r.ZERO,r.ONE,r.ZERO);const R=a.nBitLength,L=wNAF(M,a.endo?Math.ceil(R/2):R);return{CURVE:a,ProjectivePoint:M,normPrivateKeyToScalar:S,weierstrassEquation:c,isWithinCurveOrder:y}}function validateOpts(i){const a=validateBasic(i);return validateObject(a,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...a})}function weierstrass(i){const a=validateOpts(i),{Fp:r,n:o}=a,s=r.BYTES+1,c=2*r.BYTES+1;function y(nt){return mod(nt,o)}function k(nt){return invert(nt,o)}const{ProjectivePoint:S,normPrivateKeyToScalar:I,weierstrassEquation:T,isWithinCurveOrder:M}=weierstrassPoints({...a,toBytes(nt,at,rt){const yt=at.toAffine(),Ct=r.toBytes(yt.x),Vt=concatBytes$2;return rt?Vt(Uint8Array.from([at.hasEvenY()?2:3]),Ct):Vt(Uint8Array.from([4]),Ct,r.toBytes(yt.y))},fromBytes(nt){const at=nt.length,rt=nt[0],yt=nt.subarray(1);if(at!==s||2!==rt&&3!==rt){if(at===c&&4===rt)return{x:r.fromBytes(yt.subarray(0,r.BYTES)),y:r.fromBytes(yt.subarray(r.BYTES,2*r.BYTES))};throw new Error(`Point of length ${at} was invalid. Expected ${s} compressed bytes or ${c} uncompressed bytes`)}{const Vt=bytesToNumberBE(yt);if(!(_0n$1<(Ct=Vt)&&CtbytesToHex$2(numberToBytesBE(nt,a.nByteLength));function L(nt){return nt>o>>_1n$1}const J=(nt,at,rt)=>bytesToNumberBE(nt.slice(at,rt));class W{constructor(at,rt,yt){this.r=at,this.s=rt,this.recovery=yt,this.assertValidity()}static fromCompact(at){const rt=a.nByteLength;return at=ensureBytes$1("compactSignature",at,2*rt),new W(J(at,0,rt),J(at,rt,2*rt))}static fromDER(at){const{r:rt,s:yt}=DER.toSig(ensureBytes$1("DER",at));return new W(rt,yt)}assertValidity(){if(!M(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!M(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(at){return new W(this.r,this.s,at)}recoverPublicKey(at){const{r:rt,s:yt,recovery:Ct}=this,Vt=tt(ensureBytes$1("msgHash",at));if(null==Ct||![0,1,2,3].includes(Ct))throw new Error("recovery id invalid");const Xt=2===Ct||3===Ct?rt+a.n:rt;if(Xt>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");const Xe=S.fromHex((1&Ct?"03":"02")+R(Xt)),kr=k(Xt),gr=y(-Vt*kr),vr=y(yt*kr),Gr=S.BASE.multiplyAndAddUnsafe(Xe,gr,vr);if(!Gr)throw new Error("point at infinify");return Gr.assertValidity(),Gr}hasHighS(){return L(this.s)}normalizeS(){return this.hasHighS()?new W(this.r,y(-this.s),this.recovery):this}toDERRawBytes(){return hexToBytes$2(this.toDERHex())}toDERHex(){return DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return hexToBytes$2(this.toCompactHex())}toCompactHex(){return R(this.r)+R(this.s)}}const q={isValidPrivateKey(nt){try{return I(nt),!0}catch{return!1}},normPrivateKeyToScalar:I,randomPrivateKey:()=>numberToBytesBE(hashToPrivateScalar(a.randomBytes(r.BYTES+8),o),a.nByteLength),precompute:(nt=8,at=S.BASE)=>(at._setWindowSize(nt),at.multiply(BigInt(3)),at)};function ct(nt){const at=nt instanceof Uint8Array,rt="string"==typeof nt,yt=(at||rt)&&nt.length;return at?yt===s||yt===c:rt?yt===2*s||yt===2*c:nt instanceof S}const ht=a.bits2int||function(nt){const at=bytesToNumberBE(nt),rt=8*nt.length-a.nBitLength;return rt>0?at>>BigInt(rt):at},tt=a.bits2int_modN||function(nt){return y(ht(nt))},_t=bitMask(a.nBitLength);function Mt(nt){if("bigint"!=typeof nt)throw new Error("bigint expected");if(!(_0n$1<=nt&&nt<_t))throw new Error(`bigint expected < 2^${a.nBitLength}`);return numberToBytesBE(nt,a.nByteLength)}const At={lowS:a.lowS,prehash:!1},kt={lowS:a.lowS,prehash:!1};return S.BASE._setWindowSize(8),{CURVE:a,getPublicKey:function(nt,at=!0){return S.fromPrivateKey(nt).toRawBytes(at)},getSharedSecret:function(nt,at,rt=!0){if(ct(nt))throw new Error("first arg must be private key");if(!ct(at))throw new Error("second arg must be public key");return S.fromHex(at).multiply(I(nt)).toRawBytes(rt)},sign:function(nt,at,rt=At){const{seed:yt,k2sig:Ct}=function $t(nt,at,rt=At){if(["recovered","canonical"].some(xe=>xe in rt))throw new Error("sign() legacy options not supported");const{hash:yt,randomBytes:Ct}=a;let{lowS:Vt,prehash:Xt,extraEntropy:oe}=rt;null==Vt&&(Vt=!0),nt=ensureBytes$1("msgHash",nt),Xt&&(nt=ensureBytes$1("prehashed msgHash",yt(nt)));const Xe=tt(nt),kr=I(at),gr=[Mt(kr),Mt(Xe)];if(null!=oe){const xe=!0===oe?Ct(r.BYTES):oe;gr.push(ensureBytes$1("extraEntropy",xe,r.BYTES))}const vr=concatBytes$2(...gr),Gr=Xe;return{seed:vr,k2sig:function(xe){const Le=ht(xe);if(!M(Le))return;const gt=k(Le),Nt=S.BASE.multiply(Le).toAffine(),Ae=y(Nt.x);if(Ae===_0n$1)return;const Rt=y(gt*y(Gr+Ae*kr));if(Rt===_0n$1)return;let de=(Nt.x===Ae?0:2)|Number(Nt.y&_1n$1),jt=Rt;return Vt&&L(Rt)&&(jt=L(De=Rt)?y(-De):De,de^=1),new W(Ae,jt,de);var De}}}(nt,at,rt);return createHmacDrbg(a.hash.outputLen,a.nByteLength,a.hmac)(yt,Ct)},verify:function(nt,at,rt,yt=kt){const Ct=nt;if(at=ensureBytes$1("msgHash",at),rt=ensureBytes$1("publicKey",rt),"strict"in yt)throw new Error("options.strict was renamed to lowS");const{lowS:Vt,prehash:Xt}=yt;let oe,Xe;try{if("string"==typeof Ct||Ct instanceof Uint8Array)try{oe=W.fromDER(Ct)}catch(Nt){if(!(Nt instanceof DER.Err))throw Nt;oe=W.fromCompact(Ct)}else{if("object"!=typeof Ct||"bigint"!=typeof Ct.r||"bigint"!=typeof Ct.s)throw new Error("PARSE");{const{r:Nt,s:Ae}=Ct;oe=new W(Nt,Ae)}}Xe=S.fromHex(rt)}catch(Nt){if("PARSE"===Nt.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(Vt&&oe.hasHighS())return!1;Xt&&(at=a.hash(at));const{r:kr,s:gr}=oe,vr=tt(at),Gr=k(gr),xe=y(vr*Gr),Le=y(kr*Gr),gt=S.BASE.multiplyAndAddUnsafe(Xe,xe,Le)?.toAffine();return!!gt&&y(gt.x)===kr},ProjectivePoint:S,Signature:W,utils:q}}BigInt(4);let HMAC$2=class extends Hash$2{constructor(i,a){super(),this.finished=!1,this.destroyed=!1,assert$3.hash(i);const r=toBytes$3(a);if(this.iHash=i.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?i.create().update(r).digest():r);for(let c=0;cnew HMAC$2(i,a).update(r).digest();function getHash(i){return{hash:i,hmac:(a,...r)=>hmac$2(i,a,concatBytes$3(...r)),randomBytes:randomBytes$2}}function createCurve(i,a){const r=o=>weierstrass({...i,...getHash(o)});return Object.freeze({...r(a),create:r})}hmac$2.create=(i,a)=>new HMAC$2(i,a);const secp256k1P=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),secp256k1N=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),_1n=BigInt(1),_2n=BigInt(2),divNearest=(i,a)=>(i+a/_2n)/a;function sqrtMod(i){const a=secp256k1P,r=BigInt(3),o=BigInt(6),s=BigInt(11),c=BigInt(22),y=BigInt(23),k=BigInt(44),S=BigInt(88),I=i*i*i%a,T=I*I*i%a,M=pow2(T,r,a)*T%a,R=pow2(M,r,a)*T%a,L=pow2(R,_2n,a)*I%a,J=pow2(L,s,a)*L%a,W=pow2(J,c,a)*J%a,q=pow2(W,k,a)*W%a,ct=pow2(q,S,a)*q%a,ht=pow2(ct,k,a)*W%a,tt=pow2(ht,r,a)*T%a,_t=pow2(tt,y,a)*J%a,Mt=pow2(_t,o,a)*I%a,$t=pow2(Mt,_2n,a);if(!Fp.eql(Fp.sqr($t),i))throw new Error("Cannot find square root");return $t}const Fp=Field(secp256k1P,void 0,void 0,{sqrt:sqrtMod}),secp256k1=createCurve({a:BigInt(0),b:BigInt(7),Fp,n:secp256k1N,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:i=>{const a=secp256k1N,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),o=-_1n*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),s=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),c=r,y=BigInt("0x100000000000000000000000000000000"),k=divNearest(c*i,a),S=divNearest(-o*i,a);let I=mod(i-k*r-S*s,a),T=mod(-k*o-S*c,a);const M=I>y,R=T>y;if(M&&(I=a-I),R&&(T=a-T),I>y||T>y)throw new Error("splitScalar: Endomorphism failed, k="+i);return{k1neg:M,k1:I,k2neg:R,k2:T}}}},sha256$2),_0n=BigInt(0),fe=i=>"bigint"==typeof i&&_0n"bigint"==typeof i&&_0ns.charCodeAt(0)));r=concatBytes$2(o,o),TAGGED_HASH_PREFIXES[i]=r}return sha256$2(concatBytes$2(r,...a))}const pointToBytes=i=>i.toRawBytes(!0).slice(1),numTo32b=i=>numberToBytesBE(i,32),modP=i=>mod(i,secp256k1P),modN=i=>mod(i,secp256k1N),Point$1=secp256k1.ProjectivePoint,GmulAdd=(i,a,r)=>Point$1.BASE.multiplyAndAddUnsafe(i,a,r);function schnorrGetExtPubKey(i){let a=secp256k1.utils.normPrivateKeyToScalar(i),r=Point$1.fromPrivateKey(a);return{scalar:r.hasEvenY()?a:modN(-a),bytes:pointToBytes(r)}}function lift_x(i){if(!fe(i))throw new Error("bad x: need 0 < x < p");const a=modP(i*i);let r=sqrtMod(modP(a*i+BigInt(7)));r%_2n!==_0n&&(r=modP(-r));const o=new Point$1(i,r,_1n);return o.assertValidity(),o}function challenge(...i){return modN(bytesToNumberBE(taggedHash("BIP0340/challenge",...i)))}function schnorrGetPublicKey(i){return schnorrGetExtPubKey(i).bytes}function schnorrSign(i,a,r=randomBytes$2(32)){const o=ensureBytes$1("message",i),{bytes:s,scalar:c}=schnorrGetExtPubKey(a),y=ensureBytes$1("auxRand",r,32),k=numTo32b(c^bytesToNumberBE(taggedHash("BIP0340/aux",y))),S=taggedHash("BIP0340/nonce",k,s,o),I=modN(bytesToNumberBE(S));if(I===_0n)throw new Error("sign failed: k is zero");const{bytes:T,scalar:M}=schnorrGetExtPubKey(I),R=challenge(T,s,o),L=new Uint8Array(64);if(L.set(T,0),L.set(numTo32b(modN(M+R*c)),32),!schnorrVerify(L,o,s))throw new Error("sign: Invalid signature produced");return L}function schnorrVerify(i,a,r){const o=ensureBytes$1("signature",i,64),s=ensureBytes$1("message",a),c=ensureBytes$1("publicKey",r,32);try{const y=lift_x(bytesToNumberBE(c)),k=bytesToNumberBE(o.subarray(0,32));if(!fe(k))return!1;const S=bytesToNumberBE(o.subarray(32,64));if(!ge(S))return!1;const I=challenge(numTo32b(k),pointToBytes(y),s),T=GmulAdd(y,S,modN(-I));return!(!T||!T.hasEvenY()||T.toAffine().x!==k)}catch{return!1}}const schnorr={getPublicKey:schnorrGetPublicKey,sign:schnorrSign,verify:schnorrVerify,utils:{randomPrivateKey:secp256k1.utils.randomPrivateKey,lift_x,pointToBytes,numberToBytesBE,bytesToNumberBE,taggedHash,mod}},crypto$2="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,u8a$1=i=>i instanceof Uint8Array,createView$1=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),rotr$1=(i,a)=>i<<32-a|i>>>a,isLE$2=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE$2)throw new Error("Non little-endian hardware is not supported");const hexes$1=Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));function bytesToHex$1(i){if(!u8a$1(i))throw new Error("Uint8Array expected");let a="";for(let r=0;ro+s.length,0));let r=0;return i.forEach(o=>{if(!u8a$1(o))throw new Error("Uint8Array expected");a.set(o,r),r+=o.length}),a}let Hash$1=class{clone(){return this._cloneInto()}};function wrapConstructor$1(i){const a=o=>i().update(toBytes$2(o)).digest(),r=i();return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=()=>i(),a}function randomBytes$1(i=32){if(crypto$2&&"function"==typeof crypto$2.getRandomValues)return crypto$2.getRandomValues(new Uint8Array(i));throw new Error("crypto.getRandomValues must be defined")}function number$2(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}function bool$2(i){if("boolean"!=typeof i)throw new Error(`Expected boolean, not ${i}`)}function bytes$2(i,...a){if(!(i instanceof Uint8Array))throw new Error("Expected Uint8Array");if(a.length>0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash$2(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");number$2(i.outputLen),number$2(i.blockLen)}function exists$2(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output$2(i,a){bytes$2(i);const r=a.outputLen;if(i.length>s&c),k=Number(r&c),I=o?0:4;i.setUint32(a+(o?4:0),y,o),i.setUint32(a+I,k,o)}let SHA2$1=class extends Hash$1{constructor(i,a,r,o){super(),this.blockLen=i,this.outputLen=a,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=createView$1(this.buffer)}update(i){assert$2.exists(this);const{view:a,buffer:r,blockLen:o}=this,s=(i=toBytes$2(i)).length;for(let c=0;co-c&&(this.process(r,0),c=0);for(let T=c;TI.length)throw new Error("_sha2: outputLen bigger than state");for(let T=0;Ti&a^~i&r,Maj$1=(i,a,r)=>i&a^i&r^a&r,SHA256_K$1=new Uint32Array([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]),IV$1=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W$1=new Uint32Array(64);let SHA256$1=class extends SHA2$1{constructor(){super(64,32,8,!1),this.A=0|IV$1[0],this.B=0|IV$1[1],this.C=0|IV$1[2],this.D=0|IV$1[3],this.E=0|IV$1[4],this.F=0|IV$1[5],this.G=0|IV$1[6],this.H=0|IV$1[7]}get(){const{A:i,B:a,C:r,D:o,E:s,F:c,G:y,H:k}=this;return[i,a,r,o,s,c,y,k]}set(i,a,r,o,s,c,y,k){this.A=0|i,this.B=0|a,this.C=0|r,this.D=0|o,this.E=0|s,this.F=0|c,this.G=0|y,this.H=0|k}process(i,a){for(let T=0;T<16;T++,a+=4)SHA256_W$1[T]=i.getUint32(a,!1);for(let T=16;T<64;T++){const M=SHA256_W$1[T-15],R=SHA256_W$1[T-2],L=rotr$1(M,7)^rotr$1(M,18)^M>>>3,J=rotr$1(R,17)^rotr$1(R,19)^R>>>10;SHA256_W$1[T]=J+SHA256_W$1[T-7]+L+SHA256_W$1[T-16]|0}let{A:r,B:o,C:s,D:c,E:y,F:k,G:S,H:I}=this;for(let T=0;T<64;T++){const M=I+(rotr$1(y,6)^rotr$1(y,11)^rotr$1(y,25))+Chi$1(y,k,S)+SHA256_K$1[T]+SHA256_W$1[T]|0,R=(rotr$1(r,2)^rotr$1(r,13)^rotr$1(r,22))+Maj$1(r,o,s)|0;I=S,S=k,k=y,y=c+M|0,c=s,s=o,o=r,r=M+R|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,y=y+this.E|0,k=k+this.F|0,S=S+this.G|0,I=I+this.H|0,this.set(r,o,s,c,y,k,S,I)}roundClean(){SHA256_W$1.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}};class SHA224 extends SHA256$1{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const sha256$1=wrapConstructor$1(()=>new SHA256$1);function assertNumber(i){if(!Number.isSafeInteger(i))throw new Error(`Wrong integer: ${i}`)}function chain$1(...i){const a=(r,o)=>s=>r(o(s));return{encode:Array.from(i).reverse().reduce((r,o)=>r?a(r,o.encode):o.encode,void 0),decode:i.reduce((r,o)=>r?a(r,o.decode):o.decode,void 0)}}function alphabet$1(i){return{encode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("alphabet.encode input should be an array of numbers");return a.map(r=>{if(assertNumber(r),r<0||r>=i.length)throw new Error(`Digit index outside alphabet: ${r} (alphabet: ${i.length})`);return i[r]})},decode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("alphabet.decode input should be array of strings");return a.map(r=>{if("string"!=typeof r)throw new Error(`alphabet.decode: not string element=${r}`);const o=i.indexOf(r);if(-1===o)throw new Error(`Unknown letter: "${r}". Allowed: ${i}`);return o})}}}function join$1(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("join.encode input should be array of strings");for(let r of a)if("string"!=typeof r)throw new Error(`join.encode: non-string input=${r}`);return a.join(i)},decode:a=>{if("string"!=typeof a)throw new Error("join.decode input should be string");return a.split(i)}}}function padding$1(i,a="="){if(assertNumber(i),"string"!=typeof a)throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let o of r)if("string"!=typeof o)throw new Error(`padding.encode: non-string input=${o}`);for(;r.length*i%8;)r.push(a);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let s of r)if("string"!=typeof s)throw new Error(`padding.decode: non-string input=${s}`);let o=r.length;if(o*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;o>0&&r[o-1]===a;o--)if(!((o-1)*i%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,o)}}}function normalize$1(i){if("function"!=typeof i)throw new Error("normalize fn should be function");return{encode:a=>a,decode:a=>i(a)}}function convertRadix$1(i,a,r){if(a<2)throw new Error(`convertRadix: wrong from=${a}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let o=0;const s=[],c=Array.from(i);for(c.forEach(y=>{if(assertNumber(y),y<0||y>=a)throw new Error(`Wrong integer: ${y}`)});;){let y=0,k=!0;for(let S=o;Snew SHA224);const gcd$1=(i,a)=>a?gcd$1(a,i%a):i,radix2carry$1=(i,a)=>i+(a-gcd$1(i,a));function convertRadix2$1(i,a,r,o){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(a<=0||a>32)throw new Error(`convertRadix2: wrong from=${a}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(radix2carry$1(a,r)>32)throw new Error(`convertRadix2: carry overflow from=${a} to=${r} carryBits=${radix2carry$1(a,r)}`);let s=0,c=0;const y=2**r-1,k=[];for(const S of i){if(assertNumber(S),S>=2**a)throw new Error(`convertRadix2: invalid data word=${S} from=${a}`);if(s=s<32)throw new Error(`convertRadix2: carry overflow pos=${c} from=${a}`);for(c+=a;c>=r;c-=r)k.push((s>>c-r&y)>>>0);s&=2**c-1}if(s=s<=a)throw new Error("Excess padding");if(!o&&s)throw new Error(`Non-zero padding: ${s}`);return o&&c>0&&k.push(s>>>0),k}function radix$1(i){return assertNumber(i),{encode:a=>{if(!(a instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return convertRadix$1(Array.from(a),256,i)},decode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(convertRadix$1(a,i,256))}}}function radix2$1(i,a=!1){if(assertNumber(i),i<=0||i>32)throw new Error("radix2: bits should be in (0..32]");if(radix2carry$1(8,i)>32||radix2carry$1(i,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!(r instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return convertRadix2$1(Array.from(r),8,i,!a)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(convertRadix2$1(r,i,8,a))}}}function unsafeWrapper$1(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...a){try{return i.apply(null,a)}catch{}}}const base16=chain$1(radix2$1(4),alphabet$1("0123456789ABCDEF"),join$1("")),base32=chain$1(radix2$1(5),alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),padding$1(5),join$1(""));chain$1(radix2$1(5),alphabet$1("0123456789ABCDEFGHIJKLMNOPQRSTUV"),padding$1(5),join$1("")),chain$1(radix2$1(5),alphabet$1("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),join$1(""),normalize$1(i=>i.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1")));const base64$1=chain$1(radix2$1(6),alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),padding$1(6),join$1("")),base64url=chain$1(radix2$1(6),alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),padding$1(6),join$1("")),genBase58$1=i=>chain$1(radix$1(58),alphabet$1(i),join$1("")),base58$1=genBase58$1("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");genBase58$1("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),genBase58$1("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const XMR_BLOCK_LEN=[0,2,3,5,6,7,9,10,11],base58xmr={encode(i){let a="";for(let r=0;r>25;let r=(33554431&i)<<5;for(let o=0;o>o&1)&&(r^=POLYMOD_GENERATORS$1[o]);return r}function bechChecksum$1(i,a,r=1){const o=i.length;let s=1;for(let c=0;c126)throw new Error(`Invalid prefix (${i})`);s=bech32Polymod$1(s)^y>>5}s=bech32Polymod$1(s);for(let c=0;cS)throw new TypeError(`Wrong string length: ${k.length} (${k}). Expected (8..${S})`);const I=k.toLowerCase();if(k!==I&&k!==k.toUpperCase())throw new Error("String must be lowercase or uppercase");const T=(k=I).lastIndexOf("1");if(0===T||-1===T)throw new Error('Letter "1" must be present between prefix and data only');const M=k.slice(0,T),R=k.slice(T+1);if(R.length<6)throw new Error("Data must be at least 6 characters long");const L=BECH_ALPHABET$1.decode(R).slice(0,-6),J=bechChecksum$1(M,L,a);if(!R.endsWith(J))throw new Error(`Invalid checksum in ${k}: expected "${J}"`);return{prefix:M,words:L}}return{encode:function(k,S,I=90){if("string"!=typeof k)throw new Error("bech32.encode prefix should be string, not "+typeof k);if(!Array.isArray(S)||S.length&&"number"!=typeof S[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof S);const T=k.length+7+S.length;if(!1!==I&&T>I)throw new TypeError(`Length ${T} exceeds limit ${I}`);return`${k=k.toLowerCase()}1${BECH_ALPHABET$1.encode(S)}${bechChecksum$1(k,S,a)}`},decode:y,decodeToBytes:function(k){const{prefix:S,words:I}=y(k,!1);return{prefix:S,words:I,bytes:o(I)}},decodeUnsafe:unsafeWrapper$1(y),fromWords:o,fromWordsUnsafe:c,toWords:s}}const bech32$1=genBech32$1("bech32");genBech32$1("bech32m");const utf8={encode:i=>(new TextDecoder).decode(i),decode:i=>(new TextEncoder).encode(i)},hex=chain$1(radix2$1(4),alphabet$1("0123456789abcdef"),join$1(""),normalize$1(i=>{if("string"!=typeof i||i.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof i} with length ${i.length}`);return i.toLowerCase()})),CODERS={utf8,hex,base16,base32,base64:base64$1,base64url,base58:base58$1,base58xmr};Object.keys(CODERS).join(", ");const wordlist="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n");function number$1(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}function bool$1(i){if("boolean"!=typeof i)throw new Error(`Expected boolean, not ${i}`)}function isBytes$2(i){return i instanceof Uint8Array||null!=i&&"object"==typeof i&&"Uint8Array"===i.constructor.name}function bytes$1(i,...a){if(!isBytes$2(i))throw new Error("Expected Uint8Array");if(a.length>0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash$1(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");number$1(i.outputLen),number$1(i.blockLen)}function exists$1(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output$1(i,a){bytes$1(i);const r=a.outputLen;if(i.lengthnew DataView(i.buffer,i.byteOffset,i.byteLength),rotr=(i,a)=>i<<32-a|i>>>a,isLE$1=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE$1)throw new Error("Non little-endian hardware is not supported");const hexes=Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));function bytesToHex(i){if(!isBytes$1(i))throw new Error("Uint8Array expected");let a="";for(let r=0;r=asciis._0&&i<=asciis._9?i-asciis._0:i>=asciis._A&&i<=asciis._F?i-(asciis._A-10):i>=asciis._a&&i<=asciis._f?i-(asciis._a-10):void 0}function hexToBytes(i){if("string"!=typeof i)throw new Error("hex string expected, got "+typeof i);const a=i.length,r=a/2;if(a%2)throw new Error("padded hex string expected, got unpadded hex of length "+a);const o=new Uint8Array(r);for(let s=0,c=0;si().update(toBytes$1(o)).digest(),r=i();return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=()=>i(),a}function randomBytes(i=32){if(crypto$1&&"function"==typeof crypto$1.getRandomValues)return crypto$1.getRandomValues(new Uint8Array(i));throw new Error("crypto.getRandomValues must be defined")}let HMAC$1=class extends Hash{constructor(i,a){super(),this.finished=!1,this.destroyed=!1,hash$1(i);const r=toBytes$1(a);if(this.iHash=i.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?i.create().update(r).digest():r);for(let c=0;cnew HMAC$1(i,a).update(r).digest();function pbkdf2Init(i,a,r,o){hash$1(i);const s=checkOpts$1({dkLen:32,asyncTick:10},o),{c,dkLen:y,asyncTick:k}=s;if(number$1(c),number$1(y),number$1(k),c<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const S=toBytes$1(a),I=toBytes$1(r),T=new Uint8Array(y),M=hmac$1.create(i,S),R=M._cloneInto().update(I);return{c,dkLen:y,asyncTick:k,DK:T,PRF:M,PRFSalt:R}}function pbkdf2Output(i,a,r,o,s){return i.destroy(),a.destroy(),o&&o.destroy(),s.fill(0),r}function pbkdf2(i,a,r,o){const{c:s,dkLen:c,DK:y,PRF:k,PRFSalt:S}=pbkdf2Init(i,a,r,o);let I;const T=new Uint8Array(4),M=createView(T),R=new Uint8Array(k.outputLen);for(let L=1,J=0;J>s&c),k=Number(r&c),I=o?0:4;i.setUint32(a+(o?4:0),y,o),i.setUint32(a+I,k,o)}hmac$1.create=(i,a)=>new HMAC$1(i,a);class SHA2 extends Hash{constructor(a,r,o,s){super(),this.blockLen=a,this.outputLen=r,this.padOffset=o,this.isLE=s,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(a),this.view=createView(this.buffer)}update(a){exists$1(this);const{view:r,buffer:o,blockLen:s}=this,c=(a=toBytes$1(a)).length;for(let y=0;ys-y&&(this.process(o,0),y=0);for(let M=y;MT.length)throw new Error("_sha2: outputLen bigger than state");for(let M=0;Mi&a^~i&r,Maj=(i,a,r)=>i&a^i&r^a&r,SHA256_K=new Uint32Array([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]),IV=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W=new Uint32Array(64);class SHA256 extends SHA2{constructor(){super(64,32,8,!1),this.A=0|IV[0],this.B=0|IV[1],this.C=0|IV[2],this.D=0|IV[3],this.E=0|IV[4],this.F=0|IV[5],this.G=0|IV[6],this.H=0|IV[7]}get(){const{A:a,B:r,C:o,D:s,E:c,F:y,G:k,H:S}=this;return[a,r,o,s,c,y,k,S]}set(a,r,o,s,c,y,k,S){this.A=0|a,this.B=0|r,this.C=0|o,this.D=0|s,this.E=0|c,this.F=0|y,this.G=0|k,this.H=0|S}process(a,r){for(let M=0;M<16;M++,r+=4)SHA256_W[M]=a.getUint32(r,!1);for(let M=16;M<64;M++){const R=SHA256_W[M-15],L=SHA256_W[M-2],J=rotr(R,7)^rotr(R,18)^R>>>3,W=rotr(L,17)^rotr(L,19)^L>>>10;SHA256_W[M]=W+SHA256_W[M-7]+J+SHA256_W[M-16]|0}let{A:o,B:s,C:c,D:y,E:k,F:S,G:I,H:T}=this;for(let M=0;M<64;M++){const R=T+(rotr(k,6)^rotr(k,11)^rotr(k,25))+Chi(k,S,I)+SHA256_K[M]+SHA256_W[M]|0,L=(rotr(o,2)^rotr(o,13)^rotr(o,22))+Maj(o,s,c)|0;T=I,I=S,S=k,k=y+R|0,y=c,c=s,s=o,o=R+L|0}o=o+this.A|0,s=s+this.B|0,c=c+this.C|0,y=y+this.D|0,k=k+this.E|0,S=S+this.F|0,I=I+this.G|0,T=T+this.H|0,this.set(o,s,c,y,k,S,I,T)}roundClean(){SHA256_W.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const sha256=wrapConstructor(()=>new SHA256),U32_MASK64=BigInt(2**32-1),_32n=BigInt(32);function fromBig(i,a=!1){return a?{h:Number(i&U32_MASK64),l:Number(i>>_32n&U32_MASK64)}:{h:0|Number(i>>_32n&U32_MASK64),l:0|Number(i&U32_MASK64)}}function split(i,a=!1){let r=new Uint32Array(i.length),o=new Uint32Array(i.length);for(let s=0;sBigInt(i>>>0)<<_32n|BigInt(a>>>0),shrSH=(i,a,r)=>i>>>r,shrSL=(i,a,r)=>i<<32-r|a>>>r,rotrSH=(i,a,r)=>i>>>r|a<<32-r,rotrSL=(i,a,r)=>i<<32-r|a>>>r,rotrBH=(i,a,r)=>i<<64-r|a>>>r-32,rotrBL=(i,a,r)=>i>>>r-32|a<<64-r,rotr32H=(i,a)=>a,rotr32L=(i,a)=>i,rotlSH=(i,a,r)=>i<>>32-r,rotlSL=(i,a,r)=>a<>>32-r,rotlBH=(i,a,r)=>a<>>64-r,rotlBL=(i,a,r)=>i<>>64-r;function add(i,a,r,o){const s=(a>>>0)+(o>>>0);return{h:i+r+(s/2**32|0)|0,l:0|s}}const add3L=(i,a,r)=>(i>>>0)+(a>>>0)+(r>>>0),add3H=(i,a,r,o)=>a+r+o+(i/2**32|0)|0,add4L=(i,a,r,o)=>(i>>>0)+(a>>>0)+(r>>>0)+(o>>>0),add4H=(i,a,r,o,s)=>a+r+o+s+(i/2**32|0)|0,add5L=(i,a,r,o,s)=>(i>>>0)+(a>>>0)+(r>>>0)+(o>>>0)+(s>>>0),add5H=(i,a,r,o,s,c)=>a+r+o+s+c+(i/2**32|0)|0,u64={fromBig,split,toBig,shrSH,shrSL,rotrSH,rotrSL,rotrBH,rotrBL,rotr32H,rotr32L,rotlSH,rotlSL,rotlBH,rotlBL,add,add3L,add3H,add4L,add4H,add5H,add5L},[SHA512_Kh,SHA512_Kl]=u64.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(i=>BigInt(i))),SHA512_W_H=new Uint32Array(80),SHA512_W_L=new Uint32Array(80);class SHA512 extends SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:a,Al:r,Bh:o,Bl:s,Ch:c,Cl:y,Dh:k,Dl:S,Eh:I,El:T,Fh:M,Fl:R,Gh:L,Gl:J,Hh:W,Hl:q}=this;return[a,r,o,s,c,y,k,S,I,T,M,R,L,J,W,q]}set(a,r,o,s,c,y,k,S,I,T,M,R,L,J,W,q){this.Ah=0|a,this.Al=0|r,this.Bh=0|o,this.Bl=0|s,this.Ch=0|c,this.Cl=0|y,this.Dh=0|k,this.Dl=0|S,this.Eh=0|I,this.El=0|T,this.Fh=0|M,this.Fl=0|R,this.Gh=0|L,this.Gl=0|J,this.Hh=0|W,this.Hl=0|q}process(a,r){for(let tt=0;tt<16;tt++,r+=4)SHA512_W_H[tt]=a.getUint32(r),SHA512_W_L[tt]=a.getUint32(r+=4);for(let tt=16;tt<80;tt++){const _t=0|SHA512_W_H[tt-15],Mt=0|SHA512_W_L[tt-15],$t=u64.rotrSH(_t,Mt,1)^u64.rotrSH(_t,Mt,8)^u64.shrSH(_t,Mt,7),At=u64.rotrSL(_t,Mt,1)^u64.rotrSL(_t,Mt,8)^u64.shrSL(_t,Mt,7),kt=0|SHA512_W_H[tt-2],nt=0|SHA512_W_L[tt-2],at=u64.rotrSH(kt,nt,19)^u64.rotrBH(kt,nt,61)^u64.shrSH(kt,nt,6),rt=u64.rotrSL(kt,nt,19)^u64.rotrBL(kt,nt,61)^u64.shrSL(kt,nt,6),yt=u64.add4L(At,rt,SHA512_W_L[tt-7],SHA512_W_L[tt-16]),Ct=u64.add4H(yt,$t,at,SHA512_W_H[tt-7],SHA512_W_H[tt-16]);SHA512_W_H[tt]=0|Ct,SHA512_W_L[tt]=0|yt}let{Ah:o,Al:s,Bh:c,Bl:y,Ch:k,Cl:S,Dh:I,Dl:T,Eh:M,El:R,Fh:L,Fl:J,Gh:W,Gl:q,Hh:ct,Hl:ht}=this;for(let tt=0;tt<80;tt++){const _t=u64.rotrSH(M,R,14)^u64.rotrSH(M,R,18)^u64.rotrBH(M,R,41),Mt=u64.rotrSL(M,R,14)^u64.rotrSL(M,R,18)^u64.rotrBL(M,R,41),$t=M&L^~M&W,kt=u64.add5L(ht,Mt,R&J^~R&q,SHA512_Kl[tt],SHA512_W_L[tt]),nt=u64.add5H(kt,ct,_t,$t,SHA512_Kh[tt],SHA512_W_H[tt]),at=0|kt,rt=u64.rotrSH(o,s,28)^u64.rotrBH(o,s,34)^u64.rotrBH(o,s,39),yt=u64.rotrSL(o,s,28)^u64.rotrBL(o,s,34)^u64.rotrBL(o,s,39),Ct=o&c^o&k^c&k,Vt=s&y^s&S^y&S;ct=0|W,ht=0|q,W=0|L,q=0|J,L=0|M,J=0|R,({h:M,l:R}=u64.add(0|I,0|T,0|nt,0|at)),I=0|k,T=0|S,k=0|c,S=0|y,c=0|o,y=0|s;const Xt=u64.add3L(at,yt,Vt);o=u64.add3H(Xt,nt,rt,Ct),s=0|Xt}({h:o,l:s}=u64.add(0|this.Ah,0|this.Al,0|o,0|s)),({h:c,l:y}=u64.add(0|this.Bh,0|this.Bl,0|c,0|y)),({h:k,l:S}=u64.add(0|this.Ch,0|this.Cl,0|k,0|S)),({h:I,l:T}=u64.add(0|this.Dh,0|this.Dl,0|I,0|T)),({h:M,l:R}=u64.add(0|this.Eh,0|this.El,0|M,0|R)),({h:L,l:J}=u64.add(0|this.Fh,0|this.Fl,0|L,0|J)),({h:W,l:q}=u64.add(0|this.Gh,0|this.Gl,0|W,0|q)),({h:ct,l:ht}=u64.add(0|this.Hh,0|this.Hl,0|ct,0|ht)),this.set(o,s,c,y,k,S,I,T,M,R,L,J,W,q,ct,ht)}roundClean(){SHA512_W_H.fill(0),SHA512_W_L.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const sha512=wrapConstructor(()=>new SHA512);function isBytes(i){return i instanceof Uint8Array||null!=i&&"object"==typeof i&&"Uint8Array"===i.constructor.name}function chain(...i){const a=o=>o,r=(o,s)=>c=>o(s(c));return{encode:i.map(o=>o.encode).reduceRight(r,a),decode:i.map(o=>o.decode).reduce(r,a)}}function alphabet(i){return{encode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("alphabet.encode input should be an array of numbers");return a.map(r=>{if(r<0||r>=i.length)throw new Error(`Digit index outside alphabet: ${r} (alphabet: ${i.length})`);return i[r]})},decode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("alphabet.decode input should be array of strings");return a.map(r=>{if("string"!=typeof r)throw new Error(`alphabet.decode: not string element=${r}`);const o=i.indexOf(r);if(-1===o)throw new Error(`Unknown letter: "${r}". Allowed: ${i}`);return o})}}}function join(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("join.encode input should be array of strings");for(let r of a)if("string"!=typeof r)throw new Error(`join.encode: non-string input=${r}`);return a.join(i)},decode:a=>{if("string"!=typeof a)throw new Error("join.decode input should be string");return a.split(i)}}}function padding(i,a="="){if("string"!=typeof a)throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let o of r)if("string"!=typeof o)throw new Error(`padding.encode: non-string input=${o}`);for(;r.length*i%8;)r.push(a);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let s of r)if("string"!=typeof s)throw new Error(`padding.decode: non-string input=${s}`);let o=r.length;if(o*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;o>0&&r[o-1]===a;o--)if(!((o-1)*i%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,o)}}}function convertRadix(i,a,r){if(a<2)throw new Error(`convertRadix: wrong from=${a}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let o=0;const s=[],c=Array.from(i);for(c.forEach(y=>{if(y<0||y>=a)throw new Error(`Wrong integer: ${y}`)});;){let y=0,k=!0;for(let S=o;Sa?gcd(a,i%a):i,radix2carry=(i,a)=>i+(a-gcd(i,a));function convertRadix2(i,a,r,o){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(a<=0||a>32)throw new Error(`convertRadix2: wrong from=${a}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(radix2carry(a,r)>32)throw new Error(`convertRadix2: carry overflow from=${a} to=${r} carryBits=${radix2carry(a,r)}`);let s=0,c=0;const y=2**r-1,k=[];for(const S of i){if(S>=2**a)throw new Error(`convertRadix2: invalid data word=${S} from=${a}`);if(s=s<32)throw new Error(`convertRadix2: carry overflow pos=${c} from=${a}`);for(c+=a;c>=r;c-=r)k.push((s>>c-r&y)>>>0);s&=2**c-1}if(s=s<=a)throw new Error("Excess padding");if(!o&&s)throw new Error(`Non-zero padding: ${s}`);return o&&c>0&&k.push(s>>>0),k}function radix(i){return{encode:a=>{if(!isBytes(a))throw new Error("radix.encode input should be Uint8Array");return convertRadix(Array.from(a),256,i)},decode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(convertRadix(a,i,256))}}}function radix2(i,a=!1){if(i<=0||i>32)throw new Error("radix2: bits should be in (0..32]");if(radix2carry(8,i)>32||radix2carry(i,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!isBytes(r))throw new Error("radix2.encode input should be Uint8Array");return convertRadix2(Array.from(r),8,i,!a)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(convertRadix2(r,i,8,a))}}}function unsafeWrapper(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...a){try{return i.apply(null,a)}catch{}}}function checksum(i,a){if("function"!=typeof a)throw new Error("checksum fn should be function");return{encode(r){if(!isBytes(r))throw new Error("checksum.encode: input should be Uint8Array");const o=a(r).slice(0,i),s=new Uint8Array(r.length+i);return s.set(r),s.set(o,r.length),s},decode(r){if(!isBytes(r))throw new Error("checksum.decode: input should be Uint8Array");const o=r.slice(0,-i),s=a(o).slice(0,i),c=r.slice(-i);for(let y=0;ychain(radix(58),alphabet(i),join("")),base58=genBase58("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),createBase58check=i=>chain(checksum(4,a=>i(i(a))),base58),base58check$1=createBase58check,BECH_ALPHABET=chain(alphabet("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),join("")),POLYMOD_GENERATORS=[996825010,642813549,513874426,1027748829,705979059];function bech32Polymod(i){const a=i>>25;let r=(33554431&i)<<5;for(let o=0;o>o&1)&&(r^=POLYMOD_GENERATORS[o]);return r}function bechChecksum(i,a,r=1){const o=i.length;let s=1;for(let c=0;c126)throw new Error(`Invalid prefix (${i})`);s=bech32Polymod(s)^y>>5}s=bech32Polymod(s);for(let c=0;cS)throw new TypeError(`Wrong string length: ${k.length} (${k}). Expected (8..${S})`);const I=k.toLowerCase();if(k!==I&&k!==k.toUpperCase())throw new Error("String must be lowercase or uppercase");const T=(k=I).lastIndexOf("1");if(0===T||-1===T)throw new Error('Letter "1" must be present between prefix and data only');const M=k.slice(0,T),R=k.slice(T+1);if(R.length<6)throw new Error("Data must be at least 6 characters long");const L=BECH_ALPHABET.decode(R).slice(0,-6),J=bechChecksum(M,L,a);if(!R.endsWith(J))throw new Error(`Invalid checksum in ${k}: expected "${J}"`);return{prefix:M,words:L}}return{encode:function(k,S,I=90){if("string"!=typeof k)throw new Error("bech32.encode prefix should be string, not "+typeof k);if(!Array.isArray(S)||S.length&&"number"!=typeof S[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof S);const T=k.length+7+S.length;if(!1!==I&&T>I)throw new TypeError(`Length ${T} exceeds limit ${I}`);const M=k.toLowerCase(),R=bechChecksum(M,S,a);return`${M}1${BECH_ALPHABET.encode(S)}${R}`},decode:y,decodeToBytes:function(k){const{prefix:S,words:I}=y(k,!1);return{prefix:S,words:I,bytes:o(I)}},decodeUnsafe:unsafeWrapper(y),fromWords:o,fromWordsUnsafe:c,toWords:s}}const bech32=genBech32("bech32"),isJapanese=i=>"\u3042\u3044\u3053\u304f\u3057\u3093"===i[0];function nfkd(i){if("string"!=typeof i)throw new TypeError("Invalid mnemonic type: "+typeof i);return i.normalize("NFKD")}function normalize(i){const a=nfkd(i),r=a.split(" ");if(![12,15,18,21,24].includes(r.length))throw new Error("Invalid mnemonic");return{nfkd:a,words:r}}function assertEntropy(i){assert$1.bytes(i,16,20,24,28,32)}function generateMnemonic(i,a=128){if(assert$1.number(a),a%32!=0||a>256)throw new TypeError("Invalid entropy");return entropyToMnemonic(randomBytes(a/8),i)}const calcChecksum=i=>{const a=8-i.length/4;return new Uint8Array([sha256(i)[0]>>a<{if("string"!=typeof a)throw new Error(`Wordlist: non-string element: ${a}`)}),utils$1.chain(utils$1.checksum(1,calcChecksum),utils$1.radix2(11,!0),utils$1.alphabet(i))}function mnemonicToEntropy(i,a){const{words:r}=normalize(i),o=getCoder(a).decode(r);return assertEntropy(o),o}function entropyToMnemonic(i,a){return assertEntropy(i),getCoder(a).encode(i).join(isJapanese(a)?"\u3000":" ")}function validateMnemonic(i,a){try{mnemonicToEntropy(i,a)}catch{return!1}return!0}const salt=i=>nfkd(`mnemonic${i}`);function mnemonicToSeedSync(i,a=""){return pbkdf2(sha512,normalize(i).nfkd,salt(a),{c:2048,dkLen:64})}const Rho=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),Id=Uint8Array.from({length:16},(i,a)=>a),Pi=Id.map(i=>(9*i+5)%16);let idxL=[Id],idxR=[Pi];for(let i=0;i<4;i++)for(let a of[idxL,idxR])a.push(a[i].map(r=>Rho[r]));const shifts=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(i=>new Uint8Array(i)),shiftsL=idxL.map((i,a)=>i.map(r=>shifts[a][r])),shiftsR=idxR.map((i,a)=>i.map(r=>shifts[a][r])),Kl=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Kr=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),rotl$1=(i,a)=>i<>>32-a;function f(i,a,r,o){return 0===i?a^r^o:1===i?a&r|~a&o:2===i?(a|~r)^o:3===i?a&o|r&~o:a^(r|~o)}const BUF=new Uint32Array(16);class RIPEMD160 extends SHA2{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:a,h1:r,h2:o,h3:s,h4:c}=this;return[a,r,o,s,c]}set(a,r,o,s,c){this.h0=0|a,this.h1=0|r,this.h2=0|o,this.h3=0|s,this.h4=0|c}process(a,r){for(let L=0;L<16;L++,r+=4)BUF[L]=a.getUint32(r,!0);let o=0|this.h0,s=o,c=0|this.h1,y=c,k=0|this.h2,S=k,I=0|this.h3,T=I,M=0|this.h4,R=M;for(let L=0;L<5;L++){const J=4-L,W=Kl[L],q=Kr[L],ct=idxL[L],ht=idxR[L],tt=shiftsL[L],_t=shiftsR[L];for(let Mt=0;Mt<16;Mt++){const $t=rotl$1(o+f(L,c,k,I)+BUF[ct[Mt]]+W,tt[Mt])+M|0;o=M,M=I,I=0|rotl$1(k,10),k=c,c=$t}for(let Mt=0;Mt<16;Mt++){const $t=rotl$1(s+f(J,y,S,T)+BUF[ht[Mt]]+q,_t[Mt])+R|0;s=R,R=T,T=0|rotl$1(S,10),S=y,y=$t}}this.set(this.h1+k+T|0,this.h2+I+R|0,this.h3+M+s|0,this.h4+o+y|0,this.h0+c+S|0)}roundClean(){BUF.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const ripemd160=wrapConstructor(()=>new RIPEMD160),Point=secp256k1.ProjectivePoint,base58check=base58check$1(sha256);function bytesToNumber(i){return BigInt(`0x${bytesToHex(i)}`)}function numberToBytes(i){return hexToBytes(i.toString(16).padStart(64,"0"))}const MASTER_SECRET=utf8ToBytes$1("Bitcoin seed"),BITCOIN_VERSIONS={private:76066276,public:76067358},HARDENED_OFFSET=2147483648,hash160=i=>ripemd160(sha256(i)),fromU32=i=>createView(i).getUint32(0,!1),toU32=i=>{if(!Number.isSafeInteger(i)||i<0||i>2**32-1)throw new Error(`Invalid number=${i}. Should be from 0 to 2 ** 32 - 1`);const a=new Uint8Array(4);return createView(a).setUint32(0,i,!1),a};class HDKey{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return fromU32(this.pubHash)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const a=this.privateKey;if(!a)throw new Error("No private key");return base58check.encode(this.serialize(this.versions.private,concatBytes(new Uint8Array([0]),a)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return base58check.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(a,r=BITCOIN_VERSIONS){if(bytes$1(a),8*a.length<128||8*a.length>512)throw new Error(`HDKey: wrong seed length=${a.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const o=hmac$1(sha512,MASTER_SECRET,a);return new HDKey({versions:r,chainCode:o.slice(32),privateKey:o.slice(0,32)})}static fromExtendedKey(a,r=BITCOIN_VERSIONS){const o=base58check.decode(a),s=createView(o),c=s.getUint32(0,!1),y={versions:r,depth:o[4],parentFingerprint:s.getUint32(5,!1),index:s.getUint32(9,!1),chainCode:o.slice(13,45)},k=o.slice(45),S=0===k[0];if(c!==r[S?"private":"public"])throw new Error("Version mismatch");return new HDKey(S?{...y,privateKey:k.slice(1)}:{...y,publicKey:k})}static fromJSON(a){return HDKey.fromExtendedKey(a.xpriv)}constructor(a){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!a||"object"!=typeof a)throw new Error("HDKey.constructor must not be called directly");if(this.versions=a.versions||BITCOIN_VERSIONS,this.depth=a.depth||0,this.chainCode=a.chainCode,this.index=a.index||0,this.parentFingerprint=a.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(a.publicKey&&a.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(a.privateKey){if(!secp256k1.utils.isValidPrivateKey(a.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof a.privateKey?a.privateKey:bytesToNumber(a.privateKey),this.privKeyBytes=numberToBytes(this.privKey),this.pubKey=secp256k1.getPublicKey(a.privateKey,!0)}else{if(!a.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=Point.fromHex(a.publicKey).toRawBytes(!0)}this.pubHash=hash160(this.pubKey)}derive(a){if(!/^[mM]'?/.test(a))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(a))return this;const r=a.replace(/^[mM]'?\//,"").split("/");let o=this;for(const s of r){const c=/^(\d+)('?)$/.exec(s);if(!c||3!==c.length)throw new Error(`Invalid child index: ${s}`);let y=+c[1];if(!Number.isSafeInteger(y)||y>=HARDENED_OFFSET)throw new Error("Invalid index");"'"===c[2]&&(y+=HARDENED_OFFSET),o=o.deriveChild(y)}return o}deriveChild(a){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let r=toU32(a);if(a>=HARDENED_OFFSET){const k=this.privateKey;if(!k)throw new Error("Could not derive hardened child key");r=concatBytes(new Uint8Array([0]),k,r)}else r=concatBytes(this.pubKey,r);const o=hmac$1(sha512,this.chainCode,r),s=bytesToNumber(o.slice(0,32)),c=o.slice(32);if(!secp256k1.utils.isValidPrivateKey(s))throw new Error("Tweak bigger than curve order");const y={versions:this.versions,chainCode:c,depth:this.depth+1,parentFingerprint:this.fingerprint,index:a};try{if(this.privateKey){const k=mod(this.privKey+s,secp256k1.CURVE.n);if(!secp256k1.utils.isValidPrivateKey(k))throw new Error("The tweak was out of range or the resulted private key is invalid");y.privateKey=k}else{const k=Point.fromHex(this.pubKey).add(Point.fromPrivateKey(s));if(k.equals(Point.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");y.publicKey=k.toRawBytes(!0)}return new HDKey(y)}catch{return this.deriveChild(a+1)}}sign(a){if(!this.privateKey)throw new Error("No privateKey set!");return bytes$1(a,32),secp256k1.sign(a,this.privKey).toCompactRawBytes()}verify(a,r){if(bytes$1(a,32),bytes$1(r,64),!this.publicKey)throw new Error("No publicKey set!");let o;try{o=secp256k1.Signature.fromCompact(r)}catch{return!1}return secp256k1.verify(o,a,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(a,r){if(!this.chainCode)throw new Error("No chainCode set");return bytes$1(r,33),concatBytes(toU32(a),new Uint8Array([this.depth]),toU32(this.parentFingerprint),toU32(this.index),this.chainCode,r)}}const u8a=i=>i instanceof Uint8Array,u32=i=>new Uint32Array(i.buffer,i.byteOffset,Math.floor(i.byteLength/4)),isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE)throw new Error("Non little-endian hardware is not supported");function utf8ToBytes(i){if("string"!=typeof i)throw new Error("utf8ToBytes expected string, got "+typeof i);return new Uint8Array((new TextEncoder).encode(i))}function toBytes(i){if("string"==typeof i&&(i=utf8ToBytes(i)),!u8a(i))throw new Error("expected Uint8Array, got "+typeof i);return i}const isPlainObject=i=>"[object Object]"===Object.prototype.toString.call(i)&&i.constructor===Object;function checkOpts(i,a){if(void 0!==a&&("object"!=typeof a||!isPlainObject(a)))throw new Error("options must be object or undefined");return Object.assign(i,a)}function ensureBytes(i,a){if(!(i instanceof Uint8Array))throw new Error("Uint8Array expected");if("number"==typeof a&&i.length!==a)throw new Error(`Uint8Array length ${a} expected`)}function equalBytes(i,a){if(i.length!==a.length)throw new Error("equalBytes: Different size of Uint8Arrays");let r=!0;for(let o=0;o0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("hash must be wrapped by utils.wrapConstructor");number(i.outputLen),number(i.blockLen)}function exists(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output(i,a){bytes(i);const r=a.outputLen;if(i.length255&i[a++]|(255&i[a++])<<8;class Poly1305{constructor(a){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,ensureBytes(a=toBytes(a),32);const r=u8to16(a,0),o=u8to16(a,2),s=u8to16(a,4),c=u8to16(a,6),y=u8to16(a,8),k=u8to16(a,10),S=u8to16(a,12),I=u8to16(a,14);this.r[0]=8191&r,this.r[1]=8191&(r>>>13|o<<3),this.r[2]=7939&(o>>>10|s<<6),this.r[3]=8191&(s>>>7|c<<9),this.r[4]=255&(c>>>4|y<<12),this.r[5]=y>>>1&8190,this.r[6]=8191&(y>>>14|k<<2),this.r[7]=8065&(k>>>11|S<<5),this.r[8]=8191&(S>>>8|I<<8),this.r[9]=I>>>5&127;for(let T=0;T<8;T++)this.pad[T]=u8to16(a,16+2*T)}process(a,r,o=!1){const s=o?0:2048,{h:c,r:y}=this,k=y[0],S=y[1],I=y[2],T=y[3],M=y[4],R=y[5],L=y[6],J=y[7],W=y[8],q=y[9],ct=u8to16(a,r+0),ht=u8to16(a,r+2),tt=u8to16(a,r+4),_t=u8to16(a,r+6),Mt=u8to16(a,r+8),$t=u8to16(a,r+10),At=u8to16(a,r+12),kt=u8to16(a,r+14);let nt=c[0]+(8191&ct),at=c[1]+(8191&(ct>>>13|ht<<3)),rt=c[2]+(8191&(ht>>>10|tt<<6)),yt=c[3]+(8191&(tt>>>7|_t<<9)),Ct=c[4]+(8191&(_t>>>4|Mt<<12)),Vt=c[5]+(Mt>>>1&8191),Xt=c[6]+(8191&(Mt>>>14|$t<<2)),oe=c[7]+(8191&($t>>>11|At<<5)),Xe=c[8]+(8191&(At>>>8|kt<<8)),kr=c[9]+(kt>>>5|s),gr=0,vr=gr+nt*k+at*(5*q)+rt*(5*W)+yt*(5*J)+Ct*(5*L);gr=vr>>>13,vr&=8191,vr+=Vt*(5*R)+Xt*(5*M)+oe*(5*T)+Xe*(5*I)+kr*(5*S),gr+=vr>>>13,vr&=8191;let Gr=gr+nt*S+at*k+rt*(5*q)+yt*(5*W)+Ct*(5*J);gr=Gr>>>13,Gr&=8191,Gr+=Vt*(5*L)+Xt*(5*R)+oe*(5*M)+Xe*(5*T)+kr*(5*I),gr+=Gr>>>13,Gr&=8191;let xe=gr+nt*I+at*S+rt*k+yt*(5*q)+Ct*(5*W);gr=xe>>>13,xe&=8191,xe+=Vt*(5*J)+Xt*(5*L)+oe*(5*R)+Xe*(5*M)+kr*(5*T),gr+=xe>>>13,xe&=8191;let Le=gr+nt*T+at*I+rt*S+yt*k+Ct*(5*q);gr=Le>>>13,Le&=8191,Le+=Vt*(5*W)+Xt*(5*J)+oe*(5*L)+Xe*(5*R)+kr*(5*M),gr+=Le>>>13,Le&=8191;let gt=gr+nt*M+at*T+rt*I+yt*S+Ct*k;gr=gt>>>13,gt&=8191,gt+=Vt*(5*q)+Xt*(5*W)+oe*(5*J)+Xe*(5*L)+kr*(5*R),gr+=gt>>>13,gt&=8191;let Nt=gr+nt*R+at*M+rt*T+yt*I+Ct*S;gr=Nt>>>13,Nt&=8191,Nt+=Vt*k+Xt*(5*q)+oe*(5*W)+Xe*(5*J)+kr*(5*L),gr+=Nt>>>13,Nt&=8191;let Ae=gr+nt*L+at*R+rt*M+yt*T+Ct*I;gr=Ae>>>13,Ae&=8191,Ae+=Vt*S+Xt*k+oe*(5*q)+Xe*(5*W)+kr*(5*J),gr+=Ae>>>13,Ae&=8191;let Rt=gr+nt*J+at*L+rt*R+yt*M+Ct*T;gr=Rt>>>13,Rt&=8191,Rt+=Vt*I+Xt*S+oe*k+Xe*(5*q)+kr*(5*W),gr+=Rt>>>13,Rt&=8191;let de=gr+nt*W+at*J+rt*L+yt*R+Ct*M;gr=de>>>13,de&=8191,de+=Vt*T+Xt*I+oe*S+Xe*k+kr*(5*q),gr+=de>>>13,de&=8191;let jt=gr+nt*q+at*W+rt*J+yt*L+Ct*R;gr=jt>>>13,jt&=8191,jt+=Vt*M+Xt*T+oe*I+Xe*S+kr*k,gr+=jt>>>13,jt&=8191,gr=(gr<<2)+gr|0,gr=gr+vr|0,vr=8191&gr,gr>>>=13,Gr+=gr,c[0]=vr,c[1]=Gr,c[2]=xe,c[3]=Le,c[4]=gt,c[5]=Nt,c[6]=Ae,c[7]=Rt,c[8]=de,c[9]=jt}finalize(){const{h:a,pad:r}=this,o=new Uint16Array(10);let s=a[1]>>>13;a[1]&=8191;for(let k=2;k<10;k++)a[k]+=s,s=a[k]>>>13,a[k]&=8191;a[0]+=5*s,s=a[0]>>>13,a[0]&=8191,a[1]+=s,s=a[1]>>>13,a[1]&=8191,a[2]+=s,o[0]=a[0]+5,s=o[0]>>>13,o[0]&=8191;for(let k=1;k<10;k++)o[k]=a[k]+s,s=o[k]>>>13,o[k]&=8191;o[9]-=8192;let c=(1^s)-1;for(let k=0;k<10;k++)o[k]&=c;c=~c;for(let k=0;k<10;k++)a[k]=a[k]&c|o[k];a[0]=65535&(a[0]|a[1]<<13),a[1]=65535&(a[1]>>>3|a[2]<<10),a[2]=65535&(a[2]>>>6|a[3]<<7),a[3]=65535&(a[3]>>>9|a[4]<<4),a[4]=65535&(a[4]>>>12|a[5]<<1|a[6]<<14),a[5]=65535&(a[6]>>>2|a[7]<<11),a[6]=65535&(a[7]>>>5|a[8]<<8),a[7]=65535&(a[8]>>>8|a[9]<<5);let y=a[0]+r[0];a[0]=65535&y;for(let k=1;k<8;k++)y=(a[k]+r[k]|0)+(y>>>16)|0,a[k]=65535&y}update(a){assert.exists(this);const{buffer:r,blockLen:o}=this,s=(a=toBytes(a)).length;for(let c=0;c>>0,a[c++]=o[y]>>>8;return a}digest(){const{buffer:a,outputLen:r}=this;this.digestInto(a);const o=a.slice(0,r);return this.destroy(),o}}function wrapConstructorWithKey(i){const a=(o,s)=>i(s).update(toBytes(o)).digest(),r=i(new Uint8Array(32));return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=o=>i(o),a}wrapConstructorWithKey(i=>new Poly1305(i));const sigma16=utf8ToBytes("expand 16-byte k"),sigma32=utf8ToBytes("expand 32-byte k"),sigma16_32=u32(sigma16),sigma32_32=u32(sigma32),isAligned32=i=>!(i.byteOffset%4),salsaBasic=i=>{const{core:a,rounds:r,counterRight:o,counterLen:s,allow128bitKeys:c,extendNonceFn:y,blockLen:k}=checkOpts({rounds:20,counterRight:!1,counterLen:8,allow128bitKeys:!0,blockLen:64},i);assert.number(s),assert.number(r),assert.number(k),assert.bool(o),assert.bool(c);const S=k/4;if(k%4!=0)throw new Error("Salsa/ChaCha: blockLen must be aligned to 4 bytes");return(I,T,M,R,L=0)=>{if(assert.bytes(I),assert.bytes(T),assert.bytes(M),R||(R=new Uint8Array(M.length)),assert.bytes(R),assert.number(L),L<0||L>=2**32-1)throw new Error("Salsa/ChaCha: counter overflow");if(R.length=2**32-1)throw new Error("Salsa/ChaCha: counter overflow");const rt=Math.min(k,kt-nt);if(rt===k&&At&&$t){const yt=nt/4;if(nt%4!=0)throw new Error("Salsa/ChaCha: invalid block position");for(let Ct=0;Cti<>>32-a;function chachaCore(i,a,r,o,s,c=20){let y=i[0],k=i[1],S=i[2],I=i[3],T=a[0],M=a[1],R=a[2],L=a[3],J=a[4],W=a[5],q=a[6],ct=a[7],ht=s,tt=r[0],_t=r[1],Mt=r[2],$t=y,At=k,kt=S,nt=I,at=T,rt=M,yt=R,Ct=L,Vt=J,Xt=W,oe=q,Xe=ct,kr=ht,gr=tt,vr=_t,Gr=Mt;for(let Le=0;Les?a.create().update(o).digest():o);for(let y=0;ynew HMAC(i,a).update(r).digest();function extract$1(i,a,r){return assert$2.hash(i),void 0===r&&(r=new Uint8Array(i.outputLen)),hmac(i,toBytes$2(r),toBytes$2(a))}hmac.create=(i,a)=>new HMAC(i,a);const HKDF_COUNTER$1=new Uint8Array([0]),EMPTY_BUFFER$1=new Uint8Array;function expand$1(i,a,r,o=32){if(assert$2.hash(i),assert$2.number(o),o>255*i.outputLen)throw new Error("Length should be <= 255*HashLen");const s=Math.ceil(o/i.outputLen);void 0===r&&(r=EMPTY_BUFFER$1);const c=new Uint8Array(s*i.outputLen),y=hmac.create(i,a),k=y._cloneInto(),S=new Uint8Array(y.outputLen);for(let I=0;Iexpand$1(i,extract$1(i,a,r),o,s);var __defProp=Object.defineProperty,__export=(i,a)=>{for(var r in a)__defProp(i,r,{get:a[r],enumerable:!0})};function generatePrivateKey(){return bytesToHex$1(schnorr.utils.randomPrivateKey())}function getPublicKey(i){return bytesToHex$1(schnorr.getPublicKey(i))}var utils_exports={};__export(utils_exports,{MessageNode:()=>MessageNode,MessageQueue:()=>MessageQueue,insertEventIntoAscendingList:()=>insertEventIntoAscendingList,insertEventIntoDescendingList:()=>insertEventIntoDescendingList,normalizeURL:()=>normalizeURL,utf8Decoder:()=>utf8Decoder,utf8Encoder:()=>utf8Encoder});var utf8Decoder=new TextDecoder("utf-8"),utf8Encoder=new TextEncoder;function normalizeURL(i){let a=new URL(i);return a.pathname=a.pathname.replace(/\/+/g,"/"),a.pathname.endsWith("/")&&(a.pathname=a.pathname.slice(0,-1)),("80"===a.port&&"ws:"===a.protocol||"443"===a.port&&"wss:"===a.protocol)&&(a.port=""),a.searchParams.sort(),a.hash="",a.toString()}function insertEventIntoDescendingList(i,a){let r,o=0,s=i.length-1,c=o;if(s<0)c=0;else if(a.created_at=i[o].created_at)c=o;else for(;;){if(s<=o+1){c=s;break}if(r=Math.floor(o+(s-o)/2),i[r].created_at>a.created_at)o=r;else{if(!(i[r].created_ati[s].created_at)c=s+1;else if(a.created_at<=i[o].created_at)c=o;else for(;;){if(s<=o+1){c=s;break}if(r=Math.floor(o+(s-o)/2),i[r].created_ata.created_at)){c=r;break}s=r}}return i[c]?.id!==a.id?[...i.slice(0,c),a,...i.slice(c)]:i}var MessageNode=class{_value;_next;get value(){return this._value}set value(i){this._value=i}get next(){return this._next}set next(i){this._next=i}constructor(i){this._value=i,this._next=null}},MessageQueue=class{_first;_last;get first(){return this._first}set first(i){this._first=i}get last(){return this._last}set last(i){this._last=i}_size;get size(){return this._size}set size(i){this._size=i}constructor(){this._first=null,this._last=null,this._size=0}enqueue(i){const a=new MessageNode(i);return 0!==this._size&&this._last?(this._last.next=a,this._last=a):(this._first=a,this._last=a),this._size++,!0}dequeue(){if(0===this._size||!this._first)return null;let i=this._first;return this._first=i.next,i.next=null,this._size--,i.value}},verifiedSymbol=Symbol("verified");function getBlankEvent(i=255){return{kind:i,content:"",tags:[],created_at:0}}function finishEvent(i,a){const r=i;return r.pubkey=getPublicKey(a),r.id=getEventHash(r),r.sig=getSignature(r,a),r[verifiedSymbol]=!0,r}function serializeEvent(i){if(!validateEvent(i))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,i.pubkey,i.created_at,i.kind,i.tags,i.content])}function getEventHash(i){return bytesToHex$1(sha256$1(utf8Encoder.encode(serializeEvent(i))))}var isRecord=i=>i instanceof Object;function validateEvent(i){if(!isRecord(i)||"number"!=typeof i.kind||"string"!=typeof i.content||"number"!=typeof i.created_at||"string"!=typeof i.pubkey||!i.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(i.tags))return!1;for(let a=0;aa.id.startsWith(r))||i.kinds&&-1===i.kinds.indexOf(a.kind)||i.authors&&-1===i.authors.indexOf(a.pubkey)&&!i.authors.some(r=>a.pubkey.startsWith(r)))return!1;for(let r in i)if("#"===r[0]){let o=i[`#${r.slice(1)}`];if(o&&!a.tags.find(([s,c])=>s===r.slice(1)&&-1!==o.indexOf(c)))return!1}return!(i.since&&a.created_ati.until)}function matchFilters(i,a){for(let r=0;rgetHex64,getInt:()=>getInt,getSubscriptionId:()=>getSubscriptionId,matchEventId:()=>matchEventId,matchEventKind:()=>matchEventKind,matchEventPubkey:()=>matchEventPubkey});var newListeners=()=>({connect:[],disconnect:[],error:[],notice:[],auth:[]});function relayInit(i,a={}){let{listTimeout:r=3e3,getTimeout:o=3e3,countTimeout:s=3e3}=a;var c,y,k={},S=newListeners(),I={},T={};function M(){return 1===c?.readyState}function R(q){return L.apply(this,arguments)}function L(){return(L=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){let ct=JSON.stringify(q);if(M()||(yield new Promise(ht=>setTimeout(ht,1e3)),M()))try{c.send(ct)}catch(ht){console.log(ht)}})).apply(this,arguments)}const J=(q,{verb:ct="REQ",skipVerification:ht=!1,alreadyHaveEvent:tt=null,id:_t=Math.random().toString().slice(2)}={})=>{let Mt=_t;k[Mt]={id:Mt,filters:q,skipVerification:ht,alreadyHaveEvent:tt},R([ct,Mt,...q]);let $t={sub:(At,kt={})=>J(At||q,{skipVerification:kt.skipVerification||ht,alreadyHaveEvent:kt.alreadyHaveEvent||tt,id:Mt}),unsub:()=>{delete k[Mt],delete I[Mt],R(["CLOSE",Mt])},on:(At,kt)=>{I[Mt]=I[Mt]||{event:[],count:[],eose:[]},I[Mt][At].push(kt)},off:(At,kt)=>{let nt=I[Mt],at=nt[At].indexOf(kt);at>=0&&nt[At].splice(at,1)},get events(){return eventsGenerator($t)}};return $t};function W(q,ct){return new Promise((ht,tt)=>{if(!q.id)return void tt(new Error(`event ${q} has no id`));let _t=q.id;R([ct,q]),T[_t]={resolve:ht,reject:tt}})}return{url:i,sub:J,on:(q,ct)=>{S[q].push(ct),"connect"===q&&1===c?.readyState&&ct()},off:(q,ct)=>{let ht=S[q].indexOf(ct);-1!==ht&&S[q].splice(ht,1)},list:(q,ct)=>new Promise(ht=>{let tt=J(q,ct),_t=[],Mt=setTimeout(()=>{tt.unsub(),ht(_t)},r);tt.on("eose",()=>{tt.unsub(),clearTimeout(Mt),ht(_t)}),tt.on("event",$t=>{_t.push($t)})}),get:(q,ct)=>new Promise(ht=>{let tt=J([q],ct),_t=setTimeout(()=>{tt.unsub(),ht(null)},o);tt.on("event",Mt=>{tt.unsub(),clearTimeout(_t),ht(Mt)})}),count:q=>new Promise(ct=>{let ht=J(q,{...J,verb:"COUNT"}),tt=setTimeout(()=>{ht.unsub(),ct(null)},s);ht.on("count",_t=>{ht.unsub(),clearTimeout(tt),ct(_t)})}),publish:q=>(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield W(q,"EVENT")})(),auth:q=>(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield W(q,"AUTH")})(),connect:(q=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){M()||(yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return y||(y=new Promise((ct,ht)=>{try{c=new WebSocket(i)}catch($t){ht($t)}c.onopen=()=>{S.connect.forEach($t=>$t()),ct()},c.onerror=()=>{y=void 0,S.error.forEach($t=>$t()),ht()},c.onclose=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){y=void 0,S.disconnect.forEach($t=>$t())});let tt,_t=new MessageQueue;function Mt(){if(0===_t.size)return clearInterval(tt),void(tt=null);var $t=_t.dequeue();if(!$t)return;let At=getSubscriptionId($t);if(At){let kt=k[At];if(kt&&kt.alreadyHaveEvent&&kt.alreadyHaveEvent(getHex64($t,"id"),i))return}try{let kt=JSON.parse($t);switch(kt[0]){case"EVENT":{let yt=kt[1],Ct=kt[2];return void(validateEvent(Ct)&&k[yt]&&(k[yt].skipVerification||verifySignature(Ct))&&matchFilters(k[yt].filters,Ct)&&(I[yt]?.event||[]).forEach(Vt=>Vt(Ct)))}case"COUNT":let nt=kt[1],at=kt[2];return void(k[nt]&&(I[nt]?.count||[]).forEach(yt=>yt(at)));case"EOSE":{let yt=kt[1];return void(yt in I&&(I[yt].eose.forEach(Ct=>Ct()),I[yt].eose=[]))}case"OK":{let yt=kt[1],Ct=kt[2],Vt=kt[3]||"";if(yt in T){let{resolve:Xt,reject:oe}=T[yt];Ct?Xt(null):oe(new Error(Vt))}return}case"NOTICE":let rt=kt[1];return void S.notice.forEach(yt=>yt(rt));case"AUTH":{let yt=kt[1];return void S.auth?.forEach(Ct=>Ct(yt))}}}catch{return}}c.onmessage=$t=>{_t.enqueue($t.data),tt||(tt=setInterval(Mt,0))}}))})())}),function(){return q.apply(this,arguments)}),close(){S=newListeners(),I={},T={},c?.readyState===WebSocket.OPEN&&c.close()},get status(){return c?.readyState??3}};var q}function eventsGenerator(i){return _eventsGenerator.apply(this,arguments)}function _eventsGenerator(){return _eventsGenerator=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_wrapAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(i){let a;const r=[],o=s=>{a?(a(s),a=void 0):r.push(s)};i.on("event",o);try{for(;;)r.length>0?yield r.shift():yield yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_awaitAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_2__.A)(new Promise(c=>{a=c}))}finally{i.off("event",o)}}),_eventsGenerator.apply(this,arguments)}var nip19_exports={};__export(nip19_exports,{BECH32_REGEX:()=>BECH32_REGEX,decode:()=>decode,naddrEncode:()=>naddrEncode,neventEncode:()=>neventEncode,noteEncode:()=>noteEncode,nprofileEncode:()=>nprofileEncode,npubEncode:()=>npubEncode,nrelayEncode:()=>nrelayEncode,nsecEncode:()=>nsecEncode});var Bech32MaxSize=5e3,BECH32_REGEX=/[\x21-\x7E]{1,83}1[023456789acdefghjklmnpqrstuvwxyz]{6,}/;function integerToUint8Array(i){const a=new Uint8Array(4);return a[0]=i>>24&255,a[1]=i>>16&255,a[2]=i>>8&255,a[3]=255&i,a}function decode(i){let{prefix:a,words:r}=bech32$1.decode(i,Bech32MaxSize),o=new Uint8Array(bech32$1.fromWords(r));switch(a){case"nprofile":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==s[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:bytesToHex$1(s[0][0]),relays:s[1]?s[1].map(c=>utf8Decoder.decode(c)):[]}}}case"nevent":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==s[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(s[2]&&32!==s[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(s[3]&&4!==s[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"nevent",data:{id:bytesToHex$1(s[0][0]),relays:s[1]?s[1].map(c=>utf8Decoder.decode(c)):[],author:s[2]?.[0]?bytesToHex$1(s[2][0]):void 0,kind:s[3]?.[0]?parseInt(bytesToHex$1(s[3][0]),16):void 0}}}case"naddr":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!s[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==s[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!s[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==s[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:utf8Decoder.decode(s[0][0]),pubkey:bytesToHex$1(s[2][0]),kind:parseInt(bytesToHex$1(s[3][0]),16),relays:s[1]?s[1].map(c=>utf8Decoder.decode(c)):[]}}}case"nrelay":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for nrelay");return{type:"nrelay",data:utf8Decoder.decode(s[0][0])}}case"nsec":case"npub":case"note":return{type:a,data:bytesToHex$1(o)};default:throw new Error(`unknown prefix ${a}`)}}function parseTLV(i){let a={},r=i;for(;r.length>0;){let o=r[0],s=r[1];if(!s)throw new Error(`malformed TLV ${o}`);let c=r.slice(2,2+s);if(r=r.slice(2+s),c.lengthutf8Encoder.encode(a))}))}function neventEncode(i){let a;return null!=i.kind&&(a=integerToUint8Array(i.kind)),encodeBech32("nevent",encodeTLV({0:[hexToBytes$1(i.id)],1:(i.relays||[]).map(r=>utf8Encoder.encode(r)),2:i.author?[hexToBytes$1(i.author)]:[],3:a?[new Uint8Array(a)]:[]}))}function naddrEncode(i){let a=new ArrayBuffer(4);return new DataView(a).setUint32(0,i.kind,!1),encodeBech32("naddr",encodeTLV({0:[utf8Encoder.encode(i.identifier)],1:(i.relays||[]).map(r=>utf8Encoder.encode(r)),2:[hexToBytes$1(i.pubkey)],3:[new Uint8Array(a)]}))}function nrelayEncode(i){return encodeBech32("nrelay",encodeTLV({0:[utf8Encoder.encode(i)]}))}function encodeTLV(i){let a=[];return Object.entries(i).forEach(([r,o])=>{o.forEach(s=>{let c=new Uint8Array(s.length+2);c.set([parseInt(r)],0),c.set([s.length],1),c.set(s,2),a.push(c)})}),concatBytes$1(...a)}var nip04_exports={};function encrypt$1(i,a,r){return _encrypt$.apply(this,arguments)}function _encrypt$(){return _encrypt$=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){const o=getNormalizedX(secp256k1.getSharedSecret(i,"02"+a));let s=Uint8Array.from(randomBytes$1(16)),c=utf8Encoder.encode(r),y=yield crypto.subtle.importKey("raw",o,{name:"AES-CBC"},!1,["encrypt"]),k=yield crypto.subtle.encrypt({name:"AES-CBC",iv:s},y,c);return`${base64$1.encode(new Uint8Array(k))}?iv=${base64$1.encode(new Uint8Array(s.buffer))}`}),_encrypt$.apply(this,arguments)}function decrypt$1(i,a,r){return _decrypt$.apply(this,arguments)}function _decrypt$(){return _decrypt$=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){let[o,s]=r.split("?iv="),c=getNormalizedX(secp256k1.getSharedSecret(i,"02"+a)),y=yield crypto.subtle.importKey("raw",c,{name:"AES-CBC"},!1,["decrypt"]),k=base64$1.decode(o),S=base64$1.decode(s),I=yield crypto.subtle.decrypt({name:"AES-CBC",iv:S},y,k);return utf8Decoder.decode(I)}),_decrypt$.apply(this,arguments)}function getNormalizedX(i){return i.slice(1,33)}__export(nip04_exports,{decrypt:()=>decrypt$1,encrypt:()=>encrypt$1}),typeof crypto<"u"&&!crypto.subtle&&crypto.webcrypto&&(crypto.subtle=crypto.webcrypto.subtle);var nip05_exports={};__export(nip05_exports,{NIP05_REGEX:()=>NIP05_REGEX$1,queryProfile:()=>queryProfile,searchDomain:()=>searchDomain,useFetchImplementation:()=>useFetchImplementation});var NIP05_REGEX$1=/^(?:([\w.+-]+)@)?([\w.-]+)$/,_fetch;try{_fetch=fetch}catch{}function useFetchImplementation(i){_fetch=i}function searchDomain(i){return _searchDomain.apply(this,arguments)}function _searchDomain(){return _searchDomain=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a=""){try{return(yield(yield _fetch(`https://${i}/.well-known/nostr.json?name=${a}`)).json()).names}catch{return{}}}),_searchDomain.apply(this,arguments)}function queryProfile(i){return _queryProfile.apply(this,arguments)}function _queryProfile(){return _queryProfile=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){const a=i.match(NIP05_REGEX$1);if(!a)return null;const[r,o="_",s]=a;try{const c=yield _fetch(`https://${s}/.well-known/nostr.json?name=${o}`),{names:y,relays:k}=parseNIP05Result$1(yield c.json()),S=y[o];return S?{pubkey:S,relays:k?.[S]}:null}catch{return null}}),_queryProfile.apply(this,arguments)}function parseNIP05Result$1(i){const a={names:{}};for(const[r,o]of Object.entries(i.names))"string"==typeof r&&"string"==typeof o&&(a.names[r]=o);if(i.relays){a.relays={};for(const[r,o]of Object.entries(i.relays))"string"==typeof r&&Array.isArray(o)&&(a.relays[r]=o.filter(s=>"string"==typeof s))}return a}var nip06_exports={};function privateKeyFromSeedWords(i,a){let r=HDKey.fromMasterSeed(mnemonicToSeedSync(i,a)).derive("m/44'/1237'/0'/0/0").privateKey;if(!r)throw new Error("could not derive private key");return bytesToHex$1(r)}function generateSeedWords(){return generateMnemonic(wordlist)}function validateWords(i){return validateMnemonic(i,wordlist)}__export(nip06_exports,{generateSeedWords:()=>generateSeedWords,privateKeyFromSeedWords:()=>privateKeyFromSeedWords,validateWords:()=>validateWords});var nip10_exports={};function parse(i){const a={reply:void 0,root:void 0,mentions:[],profiles:[]},r=[];for(const o of i.tags)"e"===o[0]&&o[1]&&r.push(o),"p"===o[0]&&o[1]&&a.profiles.push({pubkey:o[1],relays:o[2]?[o[2]]:[]});for(let o=0;oparse});var nip13_exports={};function getPow(i){let a=0;for(let r=0;r=a)break}return o}__export(nip13_exports,{getPow:()=>getPow,minePow:()=>minePow});var nip18_exports={};function finishRepostEvent(i,a,r,o){return finishEvent({kind:6,tags:[...i.tags??[],["e",a.id,r],["p",a.pubkey]],content:""===i.content?"":JSON.stringify(a),created_at:i.created_at},o)}function getRepostedEventPointer(i){if(6!==i.kind)return;let a,r;for(let o=i.tags.length-1;o>=0&&(void 0===a||void 0===r);o--){const s=i.tags[o];s.length>=2&&("e"===s[0]&&void 0===a?a=s:"p"===s[0]&&void 0===r&&(r=s))}return void 0!==a?{id:a[1],relays:[a[2],r?.[2]].filter(o=>"string"==typeof o),author:r?.[1]}:void 0}function getRepostedEvent(i,{skipVerification:a}={}){const r=getRepostedEventPointer(i);if(void 0===r||""===i.content)return;let o;try{o=JSON.parse(i.content)}catch{return}return o.id===r.id&&(a||verifySignature(o))?o:void 0}__export(nip18_exports,{finishRepostEvent:()=>finishRepostEvent,getRepostedEvent:()=>getRepostedEvent,getRepostedEventPointer:()=>getRepostedEventPointer});var nip21_exports={};__export(nip21_exports,{NOSTR_URI_REGEX:()=>NOSTR_URI_REGEX,parse:()=>parse2,test:()=>test});var NOSTR_URI_REGEX=new RegExp(`nostr:(${BECH32_REGEX.source})`);function test(i){return"string"==typeof i&&new RegExp(`^${NOSTR_URI_REGEX.source}$`).test(i)}function parse2(i){const a=i.match(new RegExp(`^${NOSTR_URI_REGEX.source}$`));if(!a)throw new Error(`Invalid Nostr URI: ${i}`);return{uri:a[0],value:a[1],decoded:decode(a[1])}}var nip25_exports={};function finishReactionEvent(i,a,r){const o=a.tags.filter(s=>s.length>=2&&("e"===s[0]||"p"===s[0]));return finishEvent({...i,kind:7,tags:[...i.tags??[],...o,["e",a.id],["p",a.pubkey]],content:i.content??"+"},r)}function getReactedEventPointer(i){if(7!==i.kind)return;let a,r;for(let o=i.tags.length-1;o>=0&&(void 0===a||void 0===r);o--){const s=i.tags[o];s.length>=2&&("e"===s[0]&&void 0===a?a=s:"p"===s[0]&&void 0===r&&(r=s))}return void 0!==a&&void 0!==r?{id:a[1],relays:[a[2],r[2]].filter(o=>void 0!==o),author:r[1]}:void 0}__export(nip25_exports,{finishReactionEvent:()=>finishReactionEvent,getReactedEventPointer:()=>getReactedEventPointer});var nip26_exports={};function createDelegation(i,a){let r=[];(a.kind||-1)>=0&&r.push(`kind=${a.kind}`),a.until&&r.push(`created_at<${a.until}`),a.since&&r.push(`created_at>${a.since}`);let o=r.join("&");if(""===o)throw new Error("refusing to create a delegation without any conditions");let s=sha256$1(utf8Encoder.encode(`nostr:delegation:${a.pubkey}:${o}`)),c=bytesToHex$1(schnorr.sign(s,i));return{from:getPublicKey(i),to:a.pubkey,cond:o,sig:c}}function getDelegator(i){let a=i.tags.find(k=>"delegation"===k[0]&&k.length>=4);if(!a)return null;let r=a[1],o=a[2],s=a[3],c=o.split("&");for(let k=0;k"===I&&i.created_at>parseInt(T)))return null}let y=sha256$1(utf8Encoder.encode(`nostr:delegation:${i.pubkey}:${o}`));return schnorr.verify(s,y,r)?r:null}__export(nip26_exports,{createDelegation:()=>createDelegation,getDelegator:()=>getDelegator});var nip27_exports={};__export(nip27_exports,{matchAll:()=>matchAll,regex:()=>regex,replaceAll:()=>replaceAll});var regex=()=>new RegExp(`\\b${NOSTR_URI_REGEX.source}\\b`,"g");function*matchAll(i){const a=i.matchAll(regex());for(const r of a)try{const[o,s]=r;yield{uri:o,value:s,decoded:decode(s),start:r.index,end:r.index+o.length}}catch{}}function replaceAll(i,a){return i.replaceAll(regex(),(r,o)=>a({uri:r,value:o,decoded:decode(o)}))}var nip28_exports={};__export(nip28_exports,{channelCreateEvent:()=>channelCreateEvent,channelHideMessageEvent:()=>channelHideMessageEvent,channelMessageEvent:()=>channelMessageEvent,channelMetadataEvent:()=>channelMetadataEvent,channelMuteUserEvent:()=>channelMuteUserEvent});var channelCreateEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:40,tags:[...i.tags??[]],content:r,created_at:i.created_at},a)},channelMetadataEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:41,tags:[["e",i.channel_create_event_id],...i.tags??[]],content:r,created_at:i.created_at},a)},channelMessageEvent=(i,a)=>{const r=[["e",i.channel_create_event_id,i.relay_url,"root"]];return i.reply_to_channel_message_event_id&&r.push(["e",i.reply_to_channel_message_event_id,i.relay_url,"reply"]),finishEvent({kind:42,tags:[...r,...i.tags??[]],content:i.content,created_at:i.created_at},a)},channelHideMessageEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:43,tags:[["e",i.channel_message_event_id],...i.tags??[]],content:r,created_at:i.created_at},a)},channelMuteUserEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:44,tags:[["p",i.pubkey_to_mute],...i.tags??[]],content:r,created_at:i.created_at},a)},nip39_exports={},_fetch2;__export(nip39_exports,{useFetchImplementation:()=>useFetchImplementation2,validateGithub:()=>validateGithub});try{_fetch2=fetch}catch{}function useFetchImplementation2(i){_fetch2=i}function validateGithub(i,a,r){return _validateGithub.apply(this,arguments)}function _validateGithub(){return _validateGithub=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){try{return(yield(yield _fetch2(`https://gist.github.com/${a}/${r}/raw`)).text())===`Verifying that I control the following Nostr public key: ${i}`}catch{return!1}}),_validateGithub.apply(this,arguments)}var nip42_exports={};__export(nip42_exports,{authenticate:()=>authenticate});var authenticate=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*({challenge:a,relay:r,sign:o}){const s={kind:22242,created_at:Math.floor(Date.now()/1e3),tags:[["relay",r.url],["challenge",a]],content:""};return r.auth(yield o(s))});return function(r){return i.apply(this,arguments)}}(),nip44_exports={};__export(nip44_exports,{decrypt:()=>decrypt2,encrypt:()=>encrypt2,utils:()=>utils});var utils={v2:{maxPlaintextSize:65408,minCiphertextSize:100,maxCiphertextSize:102400,getConversationKey:(i,a)=>secp256k1.getSharedSecret(i,"02"+a).subarray(1,33),getMessageKeys(i,a){const r=hkdf(sha256$1,i,a,"nip44-v2",76);return{encryption:r.subarray(0,32),nonce:r.subarray(32,44),auth:r.subarray(44,76)}},calcPadding(i){if(!Number.isSafeInteger(i)||i<0)throw new Error("expected positive integer");if(i<=32)return 32;const a=1<=utils.v2.maxPlaintextSize)throw new Error("invalid plaintext length: must be between 1b and 64KB");const o=utils.v2.calcPadding(r),s=new Uint8Array(o-r),c=new Uint8Array(2);return new DataView(c.buffer).setUint16(0,r),concatBytes$1(c,a,s)},unpad(i){const a=new DataView(i.buffer).getUint16(0),r=i.subarray(2,2+a);if(0===a||r.length!==a||i.length!==2+utils.v2.calcPadding(a))throw new Error("invalid padding");return utf8Decoder.decode(r)}}};function encrypt2(i,a,r={}){const o=r.version??2;if(2!==o)throw new Error("unknown encryption version "+o);const s=r.salt??randomBytes$1(32);ensureBytes(s,32);const c=utils.v2.getMessageKeys(i,s),y=utils.v2.pad(a),k=chacha20(c.encryption,c.nonce,y),S=hmac(sha256$1,c.auth,k);return base64$1.encode(concatBytes$1(new Uint8Array([o]),s,k,S))}function decrypt2(i,a){const r=utils.v2;ensureBytes(i,32);const o=a.length;if(o=r.maxCiphertextSize)throw new Error("invalid ciphertext length: "+o);if("#"===a[0])throw new Error("unknown encryption version");let s;try{s=base64$1.decode(a)}catch(M){throw new Error("invalid base64: "+M.message)}const c=s.subarray(0,1)[0];if(2!==c)throw new Error("unknown encryption version "+c);const y=s.subarray(1,33),k=s.subarray(33,-32),S=s.subarray(-32),I=r.getMessageKeys(i,y);if(!equalBytes(hmac(sha256$1,I.auth,k),S))throw new Error("invalid MAC");const T=chacha20(I.encryption,I.nonce,k);return r.unpad(T)}var nip47_exports={};function parseConnectionString(i){const{pathname:a,searchParams:r}=new URL(i),o=a,s=r.get("relay"),c=r.get("secret");if(!o||!s||!c)throw new Error("invalid connection string");return{pubkey:o,relay:s,secret:c}}function makeNwcRequestEvent(i){return _makeNwcRequestEvent.apply(this,arguments)}function _makeNwcRequestEvent(){return _makeNwcRequestEvent=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*({pubkey:i,secret:a,invoice:r}){const o={method:"pay_invoice",params:{invoice:r}},s=yield encrypt$1(a,i,JSON.stringify(o));return finishEvent({kind:23194,created_at:Math.round(Date.now()/1e3),content:s,tags:[["p",i]]},a)}),_makeNwcRequestEvent.apply(this,arguments)}__export(nip47_exports,{makeNwcRequestEvent:()=>makeNwcRequestEvent,parseConnectionString:()=>parseConnectionString});var nip57_exports={},_fetch3;__export(nip57_exports,{getZapEndpoint:()=>getZapEndpoint,makeZapReceipt:()=>makeZapReceipt,makeZapRequest:()=>makeZapRequest,useFetchImplementation:()=>useFetchImplementation3,validateZapRequest:()=>validateZapRequest});try{_fetch3=fetch}catch{}function useFetchImplementation3(i){_fetch3=i}function getZapEndpoint(i){return _getZapEndpoint.apply(this,arguments)}function _getZapEndpoint(){return _getZapEndpoint=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){try{let a="",{lud06:r,lud16:o}=JSON.parse(i.content);if(r){let{words:y}=bech32$1.decode(r,1e3),k=bech32$1.fromWords(y);a=utf8Decoder.decode(k)}else{if(!o)return null;{let[y,k]=o.split("@");a=`https://${k}/.well-known/lnurlp/${y}`}}let s=yield _fetch3(a),c=yield s.json();if(c.allowsNostr&&c.nostrPubkey)return c.callback}catch{}return null}),_getZapEndpoint.apply(this,arguments)}function makeZapRequest({profile:i,event:a,amount:r,relays:o,comment:s=""}){if(!r)throw new Error("amount not given");if(!i)throw new Error("profile not given");let c={kind:9734,created_at:Math.round(Date.now()/1e3),content:s,tags:[["p",i],["amount",r.toString()],["relays",...o]]};return a&&c.tags.push(["e",a]),c}function validateZapRequest(i){let a;try{a=JSON.parse(i)}catch{return"Invalid zap request JSON."}if(!validateEvent(a))return"Zap request is not a valid Nostr event.";if(!verifySignature(a))return"Invalid signature on zap request.";let r=a.tags.find(([s,c])=>"p"===s&&c);if(!r)return"Zap request doesn't have a 'p' tag.";if(!r[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let o=a.tags.find(([s,c])=>"e"===s&&c);return o&&!o[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":a.tags.find(([s,c])=>"relays"===s&&c)?null:"Zap request doesn't have a 'relays' tag."}function makeZapReceipt({zapRequest:i,preimage:a,bolt11:r,paidAt:o}){let s=JSON.parse(i).tags.filter(([y])=>"e"===y||"p"===y||"a"===y),c={kind:9735,created_at:Math.round(o.getTime()/1e3),content:"",tags:[...s,["bolt11",r],["description",i]]};return a&&c.tags.push(["preimage",a]),c}var nip98_exports={};__export(nip98_exports,{getToken:()=>getToken,unpackEventFromToken:()=>unpackEventFromToken,validateEvent:()=>validateEvent2,validateToken:()=>validateToken});var _authorizationScheme="Nostr ";function getToken(i,a,r){return _getToken.apply(this,arguments)}function _getToken(){return _getToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r,o=!1){if(!i||!a)throw new Error("Missing loginUrl or httpMethod");const s=getBlankEvent(27235);s.tags=[["u",i],["method",a]],s.created_at=Math.round((new Date).getTime()/1e3);const c=yield r(s);return(o?_authorizationScheme:"")+base64$1.encode(utf8Encoder.encode(JSON.stringify(c)))}),_getToken.apply(this,arguments)}function validateToken(i,a,r){return _validateToken.apply(this,arguments)}function _validateToken(){return _validateToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){const o=yield unpackEventFromToken(i).catch(s=>{throw s});return yield validateEvent2(o,a,r).catch(s=>{throw s})}),_validateToken.apply(this,arguments)}function unpackEventFromToken(i){return _unpackEventFromToken.apply(this,arguments)}function _unpackEventFromToken(){return _unpackEventFromToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){if(!i)throw new Error("Missing token");i=i.replace(_authorizationScheme,"");const a=utf8Decoder.decode(base64$1.decode(i));if(!a||0===a.length||!a.startsWith("{"))throw new Error("Invalid token");return JSON.parse(a)}),_unpackEventFromToken.apply(this,arguments)}function validateEvent2(i,a,r){return _validateEvent.apply(this,arguments)}function _validateEvent(){return _validateEvent=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){if(!i)throw new Error("Invalid nostr event");if(!verifySignature(i))throw new Error("Invalid nostr event, signature invalid");if(27235!==i.kind)throw new Error("Invalid nostr event, kind invalid");if(!i.created_at)throw new Error("Invalid nostr event, created_at invalid");if(Math.round((new Date).getTime()/1e3)-i.created_at>60)throw new Error("Invalid nostr event, expired");const o=i.tags.find(c=>"u"===c[0]);if(1!==o?.length&&o?.[1]!==a)throw new Error("Invalid nostr event, url tag invalid");const s=i.tags.find(c=>"method"===c[0]);if(1!==s?.length&&s?.[1].toLowerCase()!==r.toLowerCase())throw new Error("Invalid nostr event, method tag invalid");return!0}),_validateEvent.apply(this,arguments)}var browser={exports:{}},ms,hasRequiredMs;function requireMs(){if(hasRequiredMs)return ms;hasRequiredMs=1;var i=1e3,a=60*i,r=60*a,o=24*r,s=7*o;function y(k,S,I,T){var M=S>=1.5*I;return Math.round(k/I)+" "+T+(M?"s":"")}return ms=function(k,S){S=S||{};var T,M,I=typeof k;if("string"===I&&k.length>0)return function(T){if(!((T=String(T)).length>100)){var M=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(T);if(M){var R=parseFloat(M[1]);switch((M[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*R;case"weeks":case"week":case"w":return R*s;case"days":case"day":case"d":return R*o;case"hours":case"hour":case"hrs":case"hr":case"h":return R*r;case"minutes":case"minute":case"mins":case"min":case"m":return R*a;case"seconds":case"second":case"secs":case"sec":case"s":return R*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return R;default:return}}}}(k);if("number"===I&&isFinite(k))return S.long?(T=k,(M=Math.abs(T))>=o?y(T,M,o,"day"):M>=r?y(T,M,r,"hour"):M>=a?y(T,M,a,"minute"):M>=i?y(T,M,i,"second"):T+" ms"):function(T){var M=Math.abs(T);return M>=o?Math.round(T/o)+"d":M>=r?Math.round(T/r)+"h":M>=a?Math.round(T/a)+"m":M>=i?Math.round(T/i)+"s":T+"ms"}(k);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(k))}}function setup(i){function a(s){let c,y,k,S=null;function I(...T){if(!I.enabled)return;const M=I,R=Number(new Date);M.diff=R-(c||R),M.prev=c,M.curr=R,c=R,T[0]=a.coerce(T[0]),"string"!=typeof T[0]&&T.unshift("%O");let J=0;T[0]=T[0].replace(/%([a-zA-Z%])/g,(W,q)=>{if("%%"===W)return"%";J++;const ct=a.formatters[q];return"function"==typeof ct&&(W=ct.call(M,T[J]),T.splice(J,1),J--),W}),a.formatArgs.call(M,T),(M.log||a.log).apply(M,T)}return I.namespace=s,I.useColors=a.useColors(),I.color=a.selectColor(s),I.extend=r,I.destroy=a.destroy,Object.defineProperty(I,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==S?S:(y!==a.namespaces&&(y=a.namespaces,k=a.enabled(s)),k),set:T=>{S=T}}),"function"==typeof a.init&&a.init(I),I}function r(s,c){const y=a(this.namespace+(void 0===c?":":c)+s);return y.log=this.log,y}function o(s){return s.toString().substring(2,s.toString().length-2).replace(/\.\*\?$/,"*")}return a.debug=a,a.default=a,a.coerce=function(s){return s instanceof Error?s.stack||s.message:s},a.disable=function(){const s=[...a.names.map(o),...a.skips.map(o).map(c=>"-"+c)].join(",");return a.enable(""),s},a.enable=function(s){let c;a.save(s),a.namespaces=s,a.names=[],a.skips=[];const y=("string"==typeof s?s:"").split(/[\s,]+/),k=y.length;for(c=0;c{a[s]=i[s]}),a.names=[],a.skips=[],a.formatters={},a.selectColor=function(s){let c=0;for(let y=0;y{"%%"!==k&&(c++,"%c"===k&&(y=c))}),o.splice(y,0,s)},a.save=function(o){try{o?a.storage.setItem("debug",o):a.storage.removeItem("debug")}catch{}},a.load=function(){let o;try{o=a.storage.getItem("debug")}catch{}return!o&&typeof process<"u"&&"env"in process&&(o=process.env.DEBUG),o},a.useColors=function(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},a.storage=function(){try{return localStorage}catch{}}(),a.destroy=(()=>{let o=!1;return()=>{o||(o=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],a.log=console.debug||console.log||(()=>{}),i.exports=common(a);const{formatters:r}=i.exports;r.j=function(o){try{return JSON.stringify(o)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}}(browser,browser.exports);var browserExports=browser.exports,debug3=getDefaultExportFromCjs(browserExports),dist={},LRUCache$1={},LRUCacheNode$1={};Object.defineProperty(LRUCacheNode$1,"__esModule",{value:!0}),LRUCacheNode$1.LRUCacheNode=void 0;class LRUCacheNode{constructor(a,r,o){const{entryExpirationTimeInMS:s=null,next:c=null,prev:y=null,onEntryEvicted:k,onEntryMarkedAsMostRecentlyUsed:S,clone:I,cloneFn:T}=o??{};if("number"==typeof s&&(s<=0||Number.isNaN(s)))throw new Error("entryExpirationTimeInMS must either be null (no expiry) or greater than 0");this.clone=null!=I&&I,this.cloneFn=T??this.defaultClone,this.key=a,this.internalValue=this.clone?this.cloneFn(r):r,this.created=Date.now(),this.entryExpirationTimeInMS=s,this.next=c,this.prev=y,this.onEntryEvicted=k,this.onEntryMarkedAsMostRecentlyUsed=S}get value(){return this.clone?this.cloneFn(this.internalValue):this.internalValue}get isExpired(){return"number"==typeof this.entryExpirationTimeInMS&&Date.now()-this.created>this.entryExpirationTimeInMS}invokeOnEvicted(){if(this.onEntryEvicted){const{key:a,value:r,isExpired:o}=this;this.onEntryEvicted({key:a,value:r,isExpired:o})}}invokeOnEntryMarkedAsMostRecentlyUsed(){if(this.onEntryMarkedAsMostRecentlyUsed){const{key:a,value:r}=this;this.onEntryMarkedAsMostRecentlyUsed({key:a,value:r})}}defaultClone(a){return"boolean"==typeof a||"string"==typeof a||"number"==typeof a?a:JSON.parse(JSON.stringify(a))}}LRUCacheNode$1.LRUCacheNode=LRUCacheNode,Object.defineProperty(LRUCache$1,"__esModule",{value:!0}),LRUCache$1.LRUCache=void 0;const LRUCacheNode_1=LRUCacheNode$1;class LRUCache{constructor(a){this.lookupTable=new Map,this.head=null,this.tail=null;const{maxSize:r=25,entryExpirationTimeInMS:o=null,onEntryEvicted:s,onEntryMarkedAsMostRecentlyUsed:c,cloneFn:y,clone:k}=a??{};if(Number.isNaN(r)||r<=0)throw new Error("maxSize must be greater than 0.");if("number"==typeof o&&(o<=0||Number.isNaN(o)))throw new Error("entryExpirationTimeInMS must either be null (no expiry) or greater than 0");this.maxSizeInternal=r,this.entryExpirationTimeInMS=o,this.onEntryEvicted=s,this.onEntryMarkedAsMostRecentlyUsed=c,this.clone=k,this.cloneFn=y}get size(){return this.cleanCache(),this.lookupTable.size}get remainingSize(){return this.maxSizeInternal-this.size}get newest(){return this.head?this.head.isExpired?(this.removeNodeFromListAndLookupTable(this.head),this.newest):this.mapNodeToEntry(this.head):null}get oldest(){return this.tail?this.tail.isExpired?(this.removeNodeFromListAndLookupTable(this.tail),this.oldest):this.mapNodeToEntry(this.tail):null}get maxSize(){return this.maxSizeInternal}set maxSize(a){if(Number.isNaN(a)||a<=0)throw new Error("maxSize must be greater than 0.");this.maxSizeInternal=a,this.enforceSizeLimit()}set(a,r,o){const s=this.lookupTable.get(a);s&&this.removeNodeFromListAndLookupTable(s);const c=new LRUCacheNode_1.LRUCacheNode(a,r,{entryExpirationTimeInMS:this.entryExpirationTimeInMS,onEntryEvicted:this.onEntryEvicted,onEntryMarkedAsMostRecentlyUsed:this.onEntryMarkedAsMostRecentlyUsed,clone:this.clone,cloneFn:this.cloneFn,...o});return this.setNodeAsHead(c),this.lookupTable.set(a,c),this.enforceSizeLimit(),this}get(a){const r=this.lookupTable.get(a);return r?r.isExpired?(this.removeNodeFromListAndLookupTable(r),null):(this.setNodeAsHead(r),r.value):null}peek(a){const r=this.lookupTable.get(a);return r?r.isExpired?(this.removeNodeFromListAndLookupTable(r),null):r.value:null}delete(a){const r=this.lookupTable.get(a);return!!r&&this.removeNodeFromListAndLookupTable(r)}has(a){const r=this.lookupTable.get(a);return!(!r||r.isExpired&&(this.removeNodeFromListAndLookupTable(r),1))}clear(){this.head=null,this.tail=null,this.lookupTable.clear()}find(a){let r=this.head;for(;r;){if(r.isExpired){const s=r.next;this.removeNodeFromListAndLookupTable(r),r=s;continue}const o=this.mapNodeToEntry(r);if(a(o))return this.setNodeAsHead(r),o;r=r.next}return null}forEach(a){let r=this.head,o=0;for(;r;)if(r.isExpired){const s=r.next;this.removeNodeFromListAndLookupTable(r),r=s}else a(r.value,r.key,o),r=r.next,o++}*values(){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield a.value,a=a.next}*keys(){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield a.key,a=a.next}*entries(){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield this.mapNodeToEntry(a),a=a.next}*[Symbol.iterator](){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield this.mapNodeToEntry(a),a=a.next}enforceSizeLimit(){let a=this.tail;for(;null!==a&&this.size>this.maxSizeInternal;){const r=a.prev;this.removeNodeFromListAndLookupTable(a),a=r}}mapNodeToEntry({key:a,value:r}){return{key:a,value:r}}setNodeAsHead(a){this.removeNodeFromList(a),this.head?(a.next=this.head,this.head.prev=a,this.head=a):(this.head=a,this.tail=a),a.invokeOnEntryMarkedAsMostRecentlyUsed()}removeNodeFromList(a){null!==a.prev&&(a.prev.next=a.next),null!==a.next&&(a.next.prev=a.prev),this.head===a&&(this.head=a.next),this.tail===a&&(this.tail=a.prev),a.next=null,a.prev=null}removeNodeFromListAndLookupTable(a){return a.invokeOnEvicted(),this.removeNodeFromList(a),this.lookupTable.delete(a.key)}cleanCache(){if(!this.entryExpirationTimeInMS)return;const a=[];for(const r of this.lookupTable.values())r.isExpired&&a.push(r);a.forEach(r=>this.removeNodeFromListAndLookupTable(r))}}LRUCache$1.LRUCache=LRUCache,function(i){var a=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(o,s,c,y){void 0===y&&(y=c);var k=Object.getOwnPropertyDescriptor(s,c);k&&!("get"in k?!s.__esModule:k.writable||k.configurable)||(k={enumerable:!0,get:function(){return s[c]}}),Object.defineProperty(o,y,k)}:function(o,s,c,y){void 0===y&&(y=c),o[y]=s[c]}),r=commonjsGlobal&&commonjsGlobal.__exportStar||function(o,s){for(var c in o)"default"===c||Object.prototype.hasOwnProperty.call(s,c)||a(s,o,c)};Object.defineProperty(i,"__esModule",{value:!0}),r(LRUCache$1,i)}(dist);var lib={};(function(i){function a(kt){if(!Number.isSafeInteger(kt))throw new Error(`Wrong integer: ${kt}`)}function r(...kt){const nt=(at,rt)=>yt=>at(rt(yt));return{encode:Array.from(kt).reverse().reduce((at,rt)=>at?nt(at,rt.encode):rt.encode,void 0),decode:kt.reduce((at,rt)=>at?nt(at,rt.decode):rt.decode,void 0)}}function o(kt){return{encode:nt=>{if(!Array.isArray(nt)||nt.length&&"number"!=typeof nt[0])throw new Error("alphabet.encode input should be an array of numbers");return nt.map(at=>{if(a(at),at<0||at>=kt.length)throw new Error(`Digit index outside alphabet: ${at} (alphabet: ${kt.length})`);return kt[at]})},decode:nt=>{if(!Array.isArray(nt)||nt.length&&"string"!=typeof nt[0])throw new Error("alphabet.decode input should be array of strings");return nt.map(at=>{if("string"!=typeof at)throw new Error(`alphabet.decode: not string element=${at}`);const rt=kt.indexOf(at);if(-1===rt)throw new Error(`Unknown letter: "${at}". Allowed: ${kt}`);return rt})}}}function s(kt=""){if("string"!=typeof kt)throw new Error("join separator should be string");return{encode:nt=>{if(!Array.isArray(nt)||nt.length&&"string"!=typeof nt[0])throw new Error("join.encode input should be array of strings");for(let at of nt)if("string"!=typeof at)throw new Error(`join.encode: non-string input=${at}`);return nt.join(kt)},decode:nt=>{if("string"!=typeof nt)throw new Error("join.decode input should be string");return nt.split(kt)}}}function c(kt,nt="="){if(a(kt),"string"!=typeof nt)throw new Error("padding chr should be string");return{encode(at){if(!Array.isArray(at)||at.length&&"string"!=typeof at[0])throw new Error("padding.encode input should be array of strings");for(let rt of at)if("string"!=typeof rt)throw new Error(`padding.encode: non-string input=${rt}`);for(;at.length*kt%8;)at.push(nt);return at},decode(at){if(!Array.isArray(at)||at.length&&"string"!=typeof at[0])throw new Error("padding.encode input should be array of strings");for(let yt of at)if("string"!=typeof yt)throw new Error(`padding.decode: non-string input=${yt}`);let rt=at.length;if(rt*kt%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;rt>0&&at[rt-1]===nt;rt--)if(!((rt-1)*kt%8))throw new Error("Invalid padding: string has too much padding");return at.slice(0,rt)}}}function y(kt){if("function"!=typeof kt)throw new Error("normalize fn should be function");return{encode:nt=>nt,decode:nt=>kt(nt)}}function k(kt,nt,at){if(nt<2)throw new Error(`convertRadix: wrong from=${nt}, base cannot be less than 2`);if(at<2)throw new Error(`convertRadix: wrong to=${at}, base cannot be less than 2`);if(!Array.isArray(kt))throw new Error("convertRadix: data should be array");if(!kt.length)return[];let rt=0;const yt=[],Ct=Array.from(kt);for(Ct.forEach(Vt=>{if(a(Vt),Vt<0||Vt>=nt)throw new Error(`Wrong integer: ${Vt}`)});;){let Vt=0,Xt=!0;for(let oe=rt;oent?S(nt,kt%nt):kt,I=(kt,nt)=>kt+(nt-S(kt,nt));function T(kt,nt,at,rt){if(!Array.isArray(kt))throw new Error("convertRadix2: data should be array");if(nt<=0||nt>32)throw new Error(`convertRadix2: wrong from=${nt}`);if(at<=0||at>32)throw new Error(`convertRadix2: wrong to=${at}`);if(I(nt,at)>32)throw new Error(`convertRadix2: carry overflow from=${nt} to=${at} carryBits=${I(nt,at)}`);let yt=0,Ct=0;const Vt=2**at-1,Xt=[];for(const oe of kt){if(a(oe),oe>=2**nt)throw new Error(`convertRadix2: invalid data word=${oe} from=${nt}`);if(yt=yt<32)throw new Error(`convertRadix2: carry overflow pos=${Ct} from=${nt}`);for(Ct+=nt;Ct>=at;Ct-=at)Xt.push((yt>>Ct-at&Vt)>>>0);yt&=2**Ct-1}if(yt=yt<=nt)throw new Error("Excess padding");if(!rt&&yt)throw new Error(`Non-zero padding: ${yt}`);return rt&&Ct>0&&Xt.push(yt>>>0),Xt}function M(kt){return a(kt),{encode:nt=>{if(!(nt instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return k(Array.from(nt),256,kt)},decode:nt=>{if(!Array.isArray(nt)||nt.length&&"number"!=typeof nt[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(k(nt,kt,256))}}}function R(kt,nt=!1){if(a(kt),kt<=0||kt>32)throw new Error("radix2: bits should be in (0..32]");if(I(8,kt)>32||I(kt,8)>32)throw new Error("radix2: carry overflow");return{encode:at=>{if(!(at instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return T(Array.from(at),8,kt,!nt)},decode:at=>{if(!Array.isArray(at)||at.length&&"number"!=typeof at[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(T(at,kt,8,nt))}}}function L(kt){if("function"!=typeof kt)throw new Error("unsafeWrapper fn should be function");return function(...nt){try{return kt.apply(null,nt)}catch{}}}function J(kt,nt){if(a(kt),"function"!=typeof nt)throw new Error("checksum fn should be function");return{encode(at){if(!(at instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const rt=nt(at).slice(0,kt),yt=new Uint8Array(at.length+kt);return yt.set(at),yt.set(rt,at.length),yt},decode(at){if(!(at instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const rt=at.slice(0,-kt),yt=nt(rt).slice(0,kt),Ct=at.slice(-kt);for(let Vt=0;Vtkt.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),i.base64=r(R(6),o("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),c(6),s("")),i.base64url=r(R(6),o("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),c(6),s(""));const W=kt=>r(M(58),o(kt),s(""));i.base58=W("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),i.base58flickr=W("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),i.base58xrp=W("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const q=[0,2,3,5,6,7,9,10,11];i.base58xmr={encode(kt){let nt="";for(let at=0;atr(J(4,nt=>kt(kt(nt))),i.base58);const ct=r(o("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),s("")),ht=[996825010,642813549,513874426,1027748829,705979059];function tt(kt){const nt=kt>>25;let at=(33554431&kt)<<5;for(let rt=0;rt>rt&1)&&(at^=ht[rt]);return at}function _t(kt,nt,at=1){const rt=kt.length;let yt=1;for(let Ct=0;Ct126)throw new Error(`Invalid prefix (${kt})`);yt=tt(yt)^Vt>>5}yt=tt(yt);for(let Ct=0;Ctoe)throw new TypeError(`Wrong string length: ${Xt.length} (${Xt}). Expected (8..${oe})`);const Xe=Xt.toLowerCase();if(Xt!==Xe&&Xt!==Xt.toUpperCase())throw new Error("String must be lowercase or uppercase");const kr=(Xt=Xe).lastIndexOf("1");if(0===kr||-1===kr)throw new Error('Letter "1" must be present between prefix and data only');const gr=Xt.slice(0,kr),vr=Xt.slice(kr+1);if(vr.length<6)throw new Error("Data must be at least 6 characters long");const Gr=ct.decode(vr).slice(0,-6),xe=_t(gr,Gr,nt);if(!vr.endsWith(xe))throw new Error(`Invalid checksum in ${Xt}: expected "${xe}"`);return{prefix:gr,words:Gr}}return{encode:function(Xt,oe,Xe=90){if("string"!=typeof Xt)throw new Error("bech32.encode prefix should be string, not "+typeof Xt);if(!Array.isArray(oe)||oe.length&&"number"!=typeof oe[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof oe);const kr=Xt.length+7+oe.length;if(!1!==Xe&&kr>Xe)throw new TypeError(`Length ${kr} exceeds limit ${Xe}`);return`${Xt=Xt.toLowerCase()}1${ct.encode(oe)}${_t(Xt,oe,nt)}`},decode:Vt,decodeToBytes:function(Xt){const{prefix:oe,words:Xe}=Vt(Xt,!1);return{prefix:oe,words:Xe,bytes:rt(Xe)}},decodeUnsafe:L(Vt),fromWords:rt,fromWordsUnsafe:Ct,toWords:yt}}i.bech32=Mt("bech32"),i.bech32m=Mt("bech32m"),i.utf8={encode:kt=>(new TextDecoder).decode(kt),decode:kt=>(new TextEncoder).encode(kt)},i.hex=r(R(4),o("0123456789abcdef"),s(""),y(kt=>{if("string"!=typeof kt||kt.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof kt} with length ${kt.length}`);return kt.toLowerCase()}));const $t={utf8:i.utf8,hex:i.hex,base16:i.base16,base32:i.base32,base64:i.base64,base64url:i.base64url,base58:i.base58,base58xmr:i.base58xmr},At=`Invalid encoding type. Available types: ${Object.keys($t).join(", ")}`;i.bytesToString=(kt,nt)=>{if("string"!=typeof kt||!$t.hasOwnProperty(kt))throw new TypeError(At);if(!(nt instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return $t[kt].encode(nt)},i.str=i.bytesToString,i.stringToBytes=(kt,nt)=>{if(!$t.hasOwnProperty(kt))throw new TypeError(At);if("string"!=typeof nt)throw new TypeError("stringToBytes() expects string");return $t[kt].decode(nt)},i.bytes=i.stringToBytes})(lib),BigInt(1e3),BigInt(1e6),BigInt(1e9),BigInt(1e12),BigInt("2100000000000000000"),BigInt(1e11);const TAGCODES={payment_hash:1,payment_secret:16,description:13,payee:19,description_hash:23,expiry:6,min_final_cltv_expiry:24,fallback_address:9,route_hint:3,feature_bits:5,metadata:27};for(let i=0,a=Object.keys(TAGCODES);ithis.handleNotice(a))}initiateAuth(i={limit:1}){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a.debug("Initiating authentication");const r=a.relay.sub([i],{id:"auth-test"});r.on("eose",()=>{r.unsub(),a._status=1,a.ndkRelay.emit("ready"),a.debug("Authentication not required"),r.unsub()}),a.debug("Authentication request started")})()}connect(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=()=>{i.updateConnectionStats.connected(),i.ndkRelay.authRequired?(i._status=6,i.ndkRelay.emit("connect"),i.initiateAuth()):(i._status=1,i.ndkRelay.emit("connect"),i.ndkRelay.emit("ready"))},r=()=>{i.updateConnectionStats.disconnected(),1===i._status&&(i._status=3,i.handleReconnection()),i.ndkRelay.emit("disconnect")},o=function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(c){i.debug("Relay requested authentication",{havePolicy:!!i.ndkRelay.authPolicy}),i.ndkRelay.authPolicy?7!==i._status&&(i._status=7,yield i.ndkRelay.authPolicy(i.ndkRelay,c),7===i._status&&(i.debug("Authentication policy finished"),i._status=1,i.ndkRelay.emit("ready"))):yield i.ndkRelay.emit("auth",c)});return function(y){return s.apply(this,arguments)}}();try{i.updateConnectionStats.attempt(),i._status=0,i.relay.off("connect",a),i.relay.off("disconnect",r),i.relay.on("connect",a),i.relay.on("disconnect",r),i.relay.on("auth",o),yield i.relay.connect()}catch(s){throw i.debug("Failed to connect",s),i._status=3,s}})()}disconnect(){this._status=2,this.relay.close()}get status(){return this._status}isAvailable(){return 1===this._status}isFlapping(){const i=this._connectionStats.durations;if(i.length%3!=0)return!1;const a=i.reduce((o,s)=>o+s,0)/i.length,r=i.map(o=>Math.pow(o-a,2)).reduce((o,s)=>o+s,0)/i.length;return Math.sqrt(r)<1e3}handleNotice(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){(i.includes("oo many")||i.includes("aximum"))&&(a.disconnect(),setTimeout(()=>a.connect(),2e3),a.debug(a.relay.url,"Relay complaining?",i)),a.ndkRelay.emit("notice",a,i)})()}handleReconnection(i=0){if(this.isFlapping())return this.ndkRelay.emit("flapping",this,this._connectionStats),void(this._status=5);const a=this.connectedAt?Math.max(0,6e4-(Date.now()-this.connectedAt)):0;setTimeout(()=>{this._status=4,this.connect().then(()=>{this.debug("Reconnected")}).catch(r=>{this.debug("Reconnect failed",r),i<5?setTimeout(()=>{this.handleReconnection(i+1)},6e4):this.debug("Reconnect failed after 5 attempts")})},a)}updateConnectionStats={connected:()=>{this._connectionStats.success++,this._connectionStats.connectedAt=Date.now()},disconnected:()=>{this._connectionStats.connectedAt&&(this._connectionStats.durations.push(Date.now()-this._connectionStats.connectedAt),this._connectionStats.durations.length>100&&this._connectionStats.durations.shift()),this._connectionStats.connectedAt=void 0},attempt:()=>{this._connectionStats.attempts++}};get connectionStats(){return this._connectionStats}},NDKRelayPublisher=class{ndkRelay;constructor(i){this.ndkRelay=i}publish(i,a=2500){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=()=>new Promise((S,I)=>{try{r.publishEvent(i,a).then(T=>S(T)).catch(T=>I(T))}catch(T){I(T)}}),s=new Promise((S,I)=>{setTimeout(()=>I(new Error("Timeout")),a)}),c=()=>{o().then(S=>y(S)).catch(S=>k(S))};let y,k;return 1===r.ndkRelay.status?Promise.race([o(),s]):Promise.race([new Promise((S,I)=>{y=S,k=I,r.ndkRelay.once("connect",c)}),s]).finally(()=>{r.ndkRelay.removeListener("connect",c)})})()}publishEvent(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=yield i.toNostrEvent(),s=r.ndkRelay.connectivity.relay.publish(o);let c;const y=new Promise((S,I)=>{s.then(()=>{clearTimeout(c),r.ndkRelay.emit("published",i),S(!0)}).catch(T=>{clearTimeout(c),r.ndkRelay.debug("Publish failed",T,i.id),r.ndkRelay.emit("publish:failed",i,T),I(T)})});if(!a||i.isEphemeral())return y;const k=new Promise((S,I)=>{c=setTimeout(()=>{r.ndkRelay.debug("Publish timed out",i.rawEvent()),r.ndkRelay.emit("publish:failed",i,"Timeout"),I(new Error("Publish operation timed out"))},a)});return Promise.race([y,k])})()}auth(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.ndkRelay.connectivity.relay.auth(i.rawEvent())})()}};function calculateGroupableId(i){const a=[];for(const r of i){if(r.since||r.until)return null;const o=Object.keys(r||{}).sort().join("-");a.push(o)}return a.join("|")}function mergeFilters(i){const a={};return i.forEach(r=>{Object.entries(r).forEach(([o,s])=>{a[o]=Array.isArray(s)?void 0===a[o]?[...s]:Array.from(new Set([...a[o],...s])):s})}),a}var MAX_SUBID_LENGTH=20;function queryFullyFilled(i){return!(!filterIncludesIds(i.filter)||!resultHasAllRequestedIds(i))}function compareFilter(i,a){if(Object.keys(i).length!==Object.keys(a).length)return!1;for(const[r,o]of Object.entries(i)){const s=a[r];if(!s)return!1;if(Array.isArray(o)&&Array.isArray(s)){const c=o;for(const y of s)if(!c.includes(y))return!1}else if(s!==o)return!1}return!0}function filterIncludesIds(i){return!!i.ids}function resultHasAllRequestedIds(i){const a=i.filter.ids;return!!a&&a.length===i.eventFirstSeen.size}function generateSubId(i,a){const r=i.map(k=>k.subId).filter(Boolean),o=[],s=new Set,c=new Set;if(r.length>0)o.push(Array.from(new Set(r)).join(","));else{for(const k of a)for(const S of Object.keys(k))"kinds"===S?k.kinds?.forEach(I=>c.add(I)):s.add(S);c.size>0&&o.push("kinds:"+Array.from(c).join(",")),s.size>0&&o.push(Array.from(s).join(","))}let y=o.join("-");return y.length>MAX_SUBID_LENGTH&&(y=y.substring(0,MAX_SUBID_LENGTH)),1!==r.length&&(y+="-"+Math.floor(999*Math.random()).toString()),y}function filterFromId(i){let a;if(i.match(NIP33_A_REGEX)){const[r,o,s]=i.split(":"),c={authors:[o],kinds:[parseInt(r)]};return s&&(c["#d"]=[s]),c}try{switch(a=nip19_exports.decode(i),a.type){case"nevent":return{ids:[a.data.id]};case"note":return{ids:[a.data]};case"naddr":return{authors:[a.data.pubkey],"#d":[a.data.identifier],kinds:[a.data.kind]}}}catch{}return{ids:[i]}}function isNip33AValue(i){return null!==i.match(NIP33_A_REGEX)}var NIP33_A_REGEX=/^(\d+):([0-9A-Fa-f]+)(?::(.*))?$/;function relaysFromBech32(i){try{const a=nip19_exports.decode(i);if(["naddr","nevent"].includes(a?.type)){const r=a.data;if(r?.relays)return r.relays.map(o=>new NDKRelay(o))}}catch{}return[]}var NDKGroupedSubscriptions=class extends lib$1.EventEmitter{subscriptions;req;debug;constructor(i,a){super(),this.subscriptions=i,this.debug=a||this.subscriptions[0].subscription.debug.extend("grouped");for(const r of i)this.handleSubscriptionClosure(r)}addSubscription(i){this.subscriptions.push(i),this.handleSubscriptionClosure(i)}eventReceived(i){for(const a of this.subscriptions)a.eventReceived(i)}eoseReceived(i){Array.from(this.subscriptions).forEach(function(){var a=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(r){r.subscription.eoseReceived(i)});return function(r){return a.apply(this,arguments)}}())}handleSubscriptionClosure(i){i.subscription.on("close",()=>{const a=this.subscriptions.findIndex(r=>r.subscription===i.subscription);this.subscriptions.splice(a,1),this.subscriptions.length<=0&&this.emit("close")})}map(i){return this.subscriptions.map(i)}[Symbol.iterator](){let i=0;const a=this.subscriptions;return{next:()=>imatchFilter(r,a))}};function findMatchingActiveSubscriptions(i,a){if(i.length!==a.length)return!1;for(let r=0;r{this.delayedItems.get(r)&&this.delayedItems.delete(r)}));let y=this.executionTimeoutsByGroupId.get(r);y&&"at-most"!==i.opts.groupableDelayType||(y=setTimeout(()=>{this.executeGroup(r,i)},i.opts.groupableDelay),this.executionTimeoutsByGroupId.set(r,y)),this.delayedTimers.has(r)?this.delayedTimers.get(r).push(y):this.delayedTimers.set(r,[y])}executeGroup(i,a){const r=this.delayedItems.get(i);this.delayedItems.delete(i);const o=this.delayedTimers.get(i);if(this.delayedTimers.delete(i),o)for(const s of o)clearTimeout(s);if(r){const s=r.subscriptions[0].filters.length,c=[];for(let y=0;yS.filters[y]);c.push(mergeFilters(k))}this.executeSubscriptions(i,r,c)}}executeSubscriptionsWhenConnected(i,a,r){const o=()=>{this.debug("new relay coming online for active subscription",{relay:this.ndkRelay.url,mergeFilters}),this.executeSubscriptionsConnected(i,a,r)};this.ndkRelay.once("ready",o),a.once("close",()=>{this.ndkRelay.removeListener("ready",o)})}executeSubscriptions(i,a,r){this.conn.isAvailable()?this.executeSubscriptionsConnected(i,a,r):this.executeSubscriptionsWhenConnected(i,a,r)}executeSubscriptionsConnected(i,a,r){const o=[];for(const{subscription:k}of a)o.push(k);const s=generateSubId(o,r);a.req=r;const c={id:s};(this.ndkRelay.trusted||o.every(k=>k.opts.skipVerification))&&(c.skipVerification=!0);const y=this.conn.relay.sub(r,c);return this.activeSubscriptions.set(y,a),i&&this.activeSubscriptionsByGroupId.set(i,{filters:r,sub:y}),y.on("event",k=>{const S=new NDKEvent(void 0,k);S.relay=this.ndkRelay,this.activeSubscriptions.get(y)?.eventReceived(S)}),y.on("eose",()=>{this.activeSubscriptions.get(y)?.eoseReceived(this.ndkRelay)}),a.once("close",()=>{y.unsub(),this.activeSubscriptions.delete(y),i&&this.activeSubscriptionsByGroupId.delete(i)}),this.executeSubscriptionsWhenConnected(i,a,r),y}executedFilters(){const i=new Map;for(const[,a]of this.activeSubscriptions)i.set(a.req,a.map(r=>r.subscription));return i}},NDKRelay=class extends lib$1.EventEmitter{url;scores;connectivity;subs;publisher;authPolicy;authRequired=!1;trusted=!1;complaining=!1;debug;constructor(i,a){super(),this.url=i,this.scores=new Map,this.debug=debug3(`ndk:relay:${i}`),this.connectivity=new NDKRelayConnectivity(this),this.subs=new NDKRelaySubscriptions(this),this.publisher=new NDKRelayPublisher(this),this.authPolicy=a}get status(){return this.connectivity.status}get connectionStats(){return this.connectivity.connectionStats}connect(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return i.connectivity.connect()})()}disconnect(){3!==this.status&&this.connectivity.disconnect()}subscribe(i,a){this.subs.subscribe(i,a)}publish(i,a=2500){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.publisher.publish(i,a)})()}auth(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.publisher.auth(i)})()}scoreSlowerEvent(i){}tagReference(i){const a=["r",this.url];return i&&a.push(i),a}referenceTags(){return[["r",this.url]]}activeSubscriptions(){return this.subs.executedFilters()}},PublishError=class extends Error{errors;constructor(i,a){super(i),this.errors=a}},NDKRelaySet=class vE{relays;debug;ndk;constructor(a,r){this.relays=a,this.ndk=r,this.debug=r.debug.extend("relayset")}addRelay(a){this.relays.add(a)}static fromRelayUrls(a,r){const o=new Set;for(const s of a){const c=r.pool.relays.get(s);if(c)o.add(c);else{const y=new NDKRelay(s);r.pool.useTemporaryRelay(y),o.add(y)}}return new vE(new Set(o),r)}publish(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=new Set,c=new Map,y=a.isEphemeral(),k=Array.from(o.relays).map(S=>new Promise(I=>{S.publish(a,r).then(()=>{s.add(S),I()}).catch(T=>{y||(c.set(S,T),o.debug("error publishing to relay",{relay:S.url,err:T})),I()})}));if(yield Promise.all(k),0===s.size&&!y)throw new PublishError("No relay was able to receive the event",c);return s})()}size(){return this.relays.size}};function calculateRelaySetFromEvent(i,a){const r=new Set;return i.pool?.relays.forEach(o=>r.add(o)),new NDKRelaySet(r,i)}function getWriteRelaysFor(i,a){if(i.outboxTracker)return i.outboxTracker.data.get(a)?.writeRelays}function calculateRelaySetsFromFilter(i,a){const r=new Map,o=new Set;if(a.forEach(s=>{s.authors&&s.authors.forEach(c=>o.add(c))}),o.size>0){const s=new Map;for(const c of o){const y=getWriteRelaysFor(i,c);y&&y.size>0?(i.debug(`Adding ${y.size} relays for ${c}`),y.forEach(k=>{const S=s.get(k)||[];S.push(c),s.set(k,S)})):i.explicitRelayUrls?.forEach(k=>{const S=s.get(k)||[];S.push(c),s.set(k,S)})}for(const c of s.keys())r.set(c,[]);for(const c of a)if(c.authors)for(const[y,k]of s.entries()){const S=c.authors.filter(I=>k.includes(I));r.set(y,[...r.get(y),{...c,authors:S}])}else for(const y of s.keys())r.set(y,[...r.get(y),c])}else i.explicitRelayUrls?.forEach(s=>{r.set(s,a)});return r}function calculateRelaySetsFromFilters(i,a){return calculateRelaySetsFromFilter(i,a)}var DEFAULT_RELAYS=["wss://nos.lol","wss://relay.nostr.band","wss://relay.f7z.io","wss://relay.damus.io","wss://nostr.mom","wss://no.str.cr"],Zap=class extends lib$1.EventEmitter{ndk;zappedEvent;zappedUser;constructor(i){super(),this.ndk=i.ndk,this.zappedEvent=i.zappedEvent,this.zappedUser=i.zappedUser||this.ndk.getUser({hexpubkey:this.zappedEvent?.pubkey})}getZapEndpoint(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let a,r,o,s;if(i.zappedUser&&(i.zappedUser.profile||(yield i.zappedUser.fetchProfile({groupable:!1})),a=(i.zappedUser.profile||{}).lud06,r=(i.zappedUser.profile||{}).lud16),r&&!r.startsWith("LNURL")){const[c,y]=r.split("@");o=`https://${y}/.well-known/lnurlp/${c}`}else if(a){const{words:c}=bech32.decode(a,1e3),y=bech32.fromWords(c);o=new TextDecoder("utf-8").decode(y)}if(!o)throw new Error("No zap endpoint found");try{const c=i.ndk.httpFetch||fetch,y=yield c(o);if(200!==y.status){const S=yield y.text();throw new Error(`Unable to fetch zap endpoint ${o}: ${S}`)}const k=yield y.json();return k?.allowsNostr&&(k?.nostrPubkey||k?.nostrPubKey)&&(s=k.callback),s}catch(c){throw new Error(`Unable to fetch zap endpoint ${o}: ${c}`)}})()}createZapRequest(i,a,r,o,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=yield c.generateZapRequest(i,a,r,o);if(!y)return null;const{event:k,zapEndpoint:S}=y;if(!k)throw new Error("No zap request event found");let I;yield k.sign(s);try{I=yield c.getInvoice(k,i,S)}catch(T){throw new Error("Failed to get invoice: "+T)}return I})()}getInvoice(i,a,r){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return(yield(yield fetch(`${r}?`+new URLSearchParams({amount:a.toString(),nostr:JSON.stringify(i.rawEvent())}))).json()).pr})()}generateZapRequest(i,a,r,o,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=yield c.getZapEndpoint();if(!y)throw new Error("No zap endpoint found");if(!c.zappedEvent&&!c.zappedUser)throw new Error("No zapped event or user found");const k=nip57_exports.makeZapRequest({profile:c.zappedUser.pubkey,event:null,amount:i,comment:a||"",relays:o??c.relays()});if(c.zappedEvent){const I=c.zappedEvent.referenceTags();k.tags.push(...I)}k.tags.push(["lnurl",y]);const S=new NDKEvent(c.ndk,k);return r&&(S.tags=S.tags.concat(r)),{event:S,zapEndpoint:y}})()}relays(){let i=[];return this.ndk?.pool?.relays&&(i=this.ndk.pool.urls()),i.length||(i=DEFAULT_RELAYS),i}};function mergeTags(i,a){const r=new Map,o=(s,c)=>s.every((y,k)=>y===c[k]);return i.concat(a).forEach(s=>{for(let[c,y]of r)if(o(y,s)||o(s,y))return void(s.length>=y.length&&r.set(c,s));r.set(s.join(","),s)}),Array.from(r.values())}function generateContentTags(i){return _generateContentTags.apply(this,arguments)}function _generateContentTags(){return _generateContentTags=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a=[]){let r=[];const o=s=>{a.find(c=>c[0]===s[0]&&c[1]===s[1])||a.push(s)};return i=i.replace(/(@|nostr:)(npub|nprofile|note|nevent|naddr)[a-zA-Z0-9]+/g,s=>{try{const c=s.split(/(@|nostr:)/)[2],{type:y,data:k}=nip19_exports.decode(c);let S;switch(y){case"npub":S=["p",k];break;case"nprofile":S=["p",k.pubkey];break;case"note":r.push(new Promise(function(){var I=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(T){o(["e",k,yield maybeGetEventRelayUrl(c),"mention"]),T()});return function(T){return I.apply(this,arguments)}}()));break;case"nevent":r.push(new Promise(function(){var I=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(T){let{id:M,relays:R,author:L}=k;R&&0!==R.length||(R=[yield maybeGetEventRelayUrl(c)]),o(["e",M,R[0],"mention"]),L&&o(["p",L]),T()});return function(T){return I.apply(this,arguments)}}()));break;case"naddr":r.push(new Promise(function(){var I=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(T){const M=[k.kind,k.pubkey,k.identifier].join(":");let R=k.relays??[];0===R.length&&(R=[yield maybeGetEventRelayUrl(c)]),o(["a",M,R[0],"mention"]),o(["p",k.pubkey]),T()});return function(T){return I.apply(this,arguments)}}()));break;default:return s}return S&&o(S),`nostr:${c}`}catch{return s}}),yield Promise.all(r),{content:i=i.replace(/#(\w+)/g,(s,c)=>{const y=["t",c];return a.find(k=>k[0]===y[0]&&k[1]===y[1])||a.push(y),s}),tags:a}}),_generateContentTags.apply(this,arguments)}function maybeGetEventRelayUrl(i){return _maybeGetEventRelayUrl.apply(this,arguments)}function _maybeGetEventRelayUrl(){return(_maybeGetEventRelayUrl=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){return""})).apply(this,arguments)}function isReplaceable(){if(void 0===this.kind)throw new Error("Kind not set");return this.kind>=1e4&&this.kind<2e4}function isEphemeral(){if(void 0===this.kind)throw new Error("Kind not set");return this.kind>=2e4&&this.kind<3e4}function isParamReplaceable(){if(void 0===this.kind)throw new Error("Kind not set");return this.kind>=3e4&&this.kind<4e4}function encrypt(i,a){return _encrypt.apply(this,arguments)}function _encrypt(){return _encrypt=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a){if(!this.ndk)throw new Error("No NDK instance found!");if(a||(yield this.ndk.assertSigner(),a=this.ndk.signer),!i){const r=this.getMatchingTags("p");if(1!==r.length)throw new Error("No recipient could be determined and no explicit recipient was provided");i=this.ndk.getUser({hexpubkey:r[0][1]})}this.content=yield a?.encrypt(i,this.content)}),_encrypt.apply(this,arguments)}function decrypt(i,a){return _decrypt.apply(this,arguments)}function _decrypt(){return _decrypt=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a){if(!this.ndk)throw new Error("No NDK instance found!");a||(yield this.ndk.assertSigner(),a=this.ndk.signer),i||(i=this.author),this.content=yield a?.decrypt(i,this.content)}),_decrypt.apply(this,arguments)}function encode(){return this.isParamReplaceable()?nip19_exports.naddrEncode({kind:this.kind,pubkey:this.pubkey,identifier:this.replaceableDTag(),relays:this.relay?[this.relay.url]:[]}):this.relay?nip19_exports.neventEncode({id:this.tagId(),relays:[this.relay.url],author:this.pubkey}):nip19_exports.noteEncode(this.tagId())}function repost(){return _repost.apply(this,arguments)}function _repost(){return _repost=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i=!0,a){if(!a&&i){if(!this.ndk)throw new Error("No NDK instance found");this.ndk.assertSigner(),a=this.ndk.signer}const r=new NDKEvent(this.ndk,{kind:getKind(this),content:""});return r.tag(this),16===r.kind&&r.tags.push(["k",`${this.kind}`]),a&&(yield r.sign(a)),i&&(yield r.publish()),r}),_repost.apply(this,arguments)}function getKind(i){return 1===i.kind?6:16}var NDKEvent=class Pw extends lib$1.EventEmitter{ndk;created_at;content="";tags=[];kind;id="";sig;pubkey="";_author=void 0;relay;constructor(a,r){super(),this.ndk=a,this.created_at=r?.created_at,this.content=r?.content||"",this.tags=r?.tags||[],this.id=r?.id||"",this.sig=r?.sig,this.pubkey=r?.pubkey||"",this.kind=r?.kind}rawEvent(){return{created_at:this.created_at,content:this.content,tags:this.tags,kind:this.kind,pubkey:this.pubkey,id:this.id,sig:this.sig}}set author(a){this.pubkey=a.hexpubkey,this._author=void 0}get author(){if(this._author)return this._author;if(!this.ndk)throw new Error("No NDK instance found");const a=this.ndk.getUser({hexpubkey:this.pubkey});return this._author=a,a}tag(a,r){let o=[];if(a instanceof NDKUser){const s=["p",a.pubkey];r&&s.push(r),o.push(s)}else if(a instanceof Pw){const s=a;o=s.referenceTags(r,s?.pubkey===this.pubkey);for(const y of s.getMatchingTags("p"))y[1]!==this.pubkey&&(this.tags.find(k=>"p"===k[0]&&k[1]===y[1])||this.tags.push(["p",y[1]]))}else o=[a];this.tags=mergeTags(this.tags,o)}toNostrEvent(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a&&""===r.pubkey){const y=yield r.ndk?.signer?.user();r.pubkey=y?.hexpubkey||""}r.created_at||(r.created_at=Math.floor(Date.now()/1e3));const o=r.rawEvent(),{content:s,tags:c}=yield r.generateTags();o.content=s||"",o.tags=c;try{r.id=getEventHash(o)}catch{}return r.id&&(o.id=r.id),r.sig&&(o.sig=r.sig),o})()}isReplaceable=isReplaceable.bind(this);isEphemeral=isEphemeral.bind(this);isParamReplaceable=isParamReplaceable.bind(this);encode=encode.bind(this);encrypt=encrypt.bind(this);decrypt=decrypt.bind(this);getMatchingTags(a){return this.tags.filter(r=>r[0]===a)}tagValue(a){const r=this.getMatchingTags(a);if(0!==r.length)return r[0][1]}get alt(){return this.tagValue("alt")}set alt(a){this.removeTag("alt"),a&&this.tags.push(["alt",a])}removeTag(a){this.tags=this.tags.filter(r=>r[0]!==a)}sign(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a?r.author=yield a.user():(r.ndk?.assertSigner(),a=r.ndk.signer),yield r.generateTags(),r.isReplaceable()&&(r.created_at=Math.floor(Date.now()/1e3));const o=yield r.toNostrEvent();return r.sig=yield a.sign(o),r.sig})()}publish(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(o.sig||(yield o.sign()),!o.ndk)throw new Error("NDKEvent must be associated with an NDK instance to publish");return a||(a=o.ndk.devWriteRelaySet||calculateRelaySetFromEvent(o.ndk)),a.publish(o,r)})()}generateTags(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let r=[];const o=yield generateContentTags(a.content,a.tags),s=o.content;if(r=o.tags,a.kind&&a.isParamReplaceable()&&!a.getMatchingTags("d")[0]){const c=a.tagValue("title");let y=[...Array(c?6:16)].map(()=>Math.random().toString(36)[2]).join("");c&&c.length>0&&(y=c.replace(/[^a-z0-9]+/gi,"-").replace(/^-|-$/g,"")+"-"+y),r.push(["d",y])}if((a.ndk?.clientName||a.ndk?.clientNip89)&&!a.tagValue("client")){const c=["client",a.ndk.clientName??""];a.ndk.clientNip89&&c.push(a.ndk.clientNip89),r.push(c)}return{content:s||"",tags:r}})()}muted(){const a=this.ndk?.mutedIds.get(this.pubkey);if(a&&"p"===a)return"author";const r=this.tagReference(),o=this.ndk?.mutedIds.get(r[1]);return o&&o===r[0]?"event":null}replaceableDTag(){if(this.kind&&this.kind>=3e4&&this.kind<=4e4){const a=this.getMatchingTags("d")[0];return a?a[1]:""}throw new Error("Event is not a parameterized replaceable event")}deduplicationKey(){return 0===this.kind||3===this.kind||this.kind&&this.kind>=1e4&&this.kind<2e4?`${this.kind}:${this.pubkey}`:this.tagId()}tagId(){return this.isParamReplaceable()?this.tagAddress():this.id}tagAddress(){if(!this.isParamReplaceable())throw new Error("This must only be called on replaceable events");const a=this.replaceableDTag();return`${this.kind}:${this.pubkey}:${a}`}tagReference(a){let r;return r=this.isParamReplaceable()?["a",this.tagAddress()]:["e",this.tagId()],r.push(this.relay?this.relay.url:""),a&&r.push(a),r}referenceTags(a,r){let o=[];return o=this.isParamReplaceable()?[["a",this.tagAddress()],["e",this.id]]:[["e",this.id]],this.relay?.url?o=o.map(s=>(s.push(this.relay?.url),s)):a&&(o=o.map(s=>(s.push(""),s))),a&&o.forEach(s=>s.push(a)),r||o.push(...this.author.referenceTags()),o}filter(){return this.isParamReplaceable()?{"#a":[this.tagId()]}:{"#e":[this.tagId()]}}zap(a,r,o,s,c){var y=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!y.ndk)throw new Error("No NDK instance found");c||y.ndk.assertSigner();const k=new Zap({ndk:y.ndk,zappedEvent:y,zappedUser:s}),S=Array.from(y.ndk.pool.relays.keys());return yield k.createZapRequest(a,r,o,S,c)})()}delete(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.ndk)throw new Error("No NDK instance found");r.ndk.assertSigner();const o=new Pw(r.ndk,{kind:5,content:a||""});return o.tag(r),yield o.publish(),o})()}repost=repost.bind(this);react(a,r=!0){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.ndk)throw new Error("No NDK instance found");o.ndk.assertSigner();const s=new Pw(o.ndk,{kind:7,content:a});return s.tag(o),r?yield s.publish():yield s.sign(),s})()}get isValid(){return!0}},READ_MARKER="read",WRITE_MARKER="write",NDKRelayList=class xE extends NDKEvent{constructor(a,r){super(a,r),this.kind??=10002}static from(a){return new xE(a.ndk,a.rawEvent())}get readRelayUrls(){return this.getMatchingTags("r").filter(a=>!a[2]||a[2]&&a[2]===READ_MARKER).map(a=>a[1])}set readRelayUrls(a){for(const r of a)this.tags.push(["r",r,READ_MARKER])}get writeRelayUrls(){return this.getMatchingTags("r").filter(a=>!a[2]||a[2]&&a[2]===WRITE_MARKER).map(a=>a[1])}set writeRelayUrls(a){for(const r of a)this.tags.push(["r",r,WRITE_MARKER])}get bothRelayUrls(){return this.getMatchingTags("r").filter(a=>!a[2]).map(a=>a[1])}set bothRelayUrls(a){for(const r of a)this.tags.push(["r",r])}get relays(){return this.getMatchingTags("r").map(a=>a[1])}},defaultOpts={closeOnEose:!1,cacheUsage:"CACHE_FIRST",groupable:!0,groupableDelay:100,groupableDelayType:"at-most"},NDKSubscription=class extends lib$1.EventEmitter{subId;filters;opts;pool;skipVerification=!1;skipValidation=!1;relayFilters;relaySet;ndk;debug;eoseDebug;eventFirstSeen=new Map;eosesSeen=new Set;eventsPerRelay=new Map;lastEventReceivedAt;internalId;constructor(i,a,r,o,s){if(super(),this.ndk=i,this.pool=r?.pool||i.pool,this.opts={...defaultOpts,...r||{}},this.filters=a instanceof Array?a:[a],this.subId=s||r?.subId,this.internalId=Math.random().toString(36).substring(7),this.relaySet=o,this.debug=i.debug.extend(`subscription[${r?.subId??this.internalId}]`),this.eoseDebug=this.debug.extend("eose"),this.skipVerification=r?.skipVerification||!1,this.skipValidation=r?.skipValidation||!1,this.opts.closeOnEose||this.debug("Creating a permanent subscription",this.opts,JSON.stringify(this.filters)),"ONLY_CACHE"===this.opts.cacheUsage&&!this.opts.closeOnEose)throw new Error("Cannot use cache-only options with a persistent subscription")}get filter(){return this.filters[0]}isGroupable(){return this.opts?.groupable||!1}shouldQueryCache(){return"ONLY_RELAY"!==this.opts?.cacheUsage}shouldQueryRelays(){return"ONLY_CACHE"!==this.opts?.cacheUsage}shouldWaitForCache(){return this.opts.closeOnEose&&!!this.ndk.cacheAdapter?.locking&&"PARALLEL"!==this.opts.cacheUsage}start(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let a;i.shouldQueryCache()&&(a=i.startWithCache(),i.shouldWaitForCache()&&(yield a,queryFullyFilled(i)))?i.emit("eose",i):i.shouldQueryRelays()?i.startWithRelays():i.emit("eose",i)})()}stop(){this.emit("close",this),this.removeAllListeners()}hasAuthorsFilter(){return this.filters.some(i=>i.authors?.length)}startWithCache(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(i.ndk.cacheAdapter?.query){const a=i.ndk.cacheAdapter.query(i);i.ndk.cacheAdapter.locking&&(yield a)}})()}startWithRelays(){if(this.relaySet){this.relayFilters=new Map;for(const i of this.relaySet.relays)this.relayFilters.set(i.url,this.filters)}else this.relayFilters=calculateRelaySetsFromFilters(this.ndk,this.filters);if(this.relayFilters&&0!==this.relayFilters.size)for(const[i,a]of this.relayFilters)this.pool.getRelay(i).subscribe(this,a);else this.debug("No relays to subscribe to",this.ndk.explicitRelayUrls)}eventReceived(i,a,r=!1){if(a&&(i.relay=a),a||(a=i.relay),this.skipValidation||i.isValid){if(!r&&a){let o=this.eventsPerRelay.get(a);if(o||(o=new Set,this.eventsPerRelay.set(a,o)),o.add(i.id),this.eventFirstSeen.has(i.id)){const s=Date.now()-(this.eventFirstSeen.get(i.id)||0);return a.scoreSlowerEvent(s),void this.emit("event:dup",i,a,s,this)}this.ndk.cacheAdapter&&this.ndk.cacheAdapter.setEvent(i,this.filters,a),this.eventFirstSeen.set(i.id,Date.now())}else this.eventFirstSeen.set(i.id,0);i.ndk||(i.ndk=this.ndk),this.emit("event",i,a,this),this.lastEventReceivedAt=Date.now()}else this.debug("Event failed validation",i)}eoseTimeout;eoseReceived(i){this.eosesSeen.add(i),this.eoseDebug(`received from ${i.url}`);let a=this.lastEventReceivedAt?Date.now()-this.lastEventReceivedAt:void 0;const r=this.eosesSeen.size===this.relayFilters?.size;if(queryFullyFilled(this))this.emit("eose"),this.eoseDebug("Query fully filled"),this.opts?.closeOnEose&&this.stop();else if(r)this.emit("eose"),this.eoseDebug("All EOSEs seen"),this.opts?.closeOnEose&&this.stop();else{let o=1e3;const s=this.eosesSeen.size/this.relayFilters.size;if(this.eosesSeen.size>=2&&s>=.5){o*=1-s,this.eoseTimeout&&clearTimeout(this.eoseTimeout);const c=()=>{a=this.lastEventReceivedAt?Date.now()-this.lastEventReceivedAt:void 0,void 0!==a&&a<20?this.eoseTimeout=setTimeout(c,o):(this.emit("eose"),this.opts?.closeOnEose&&this.stop())};this.eoseTimeout=setTimeout(c,o)}}}};function follows(i,a){return _follows.apply(this,arguments)}function _follows(){return _follows=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r=3){if(!this.ndk)throw new Error("NDK not set");const o=Array.from(yield this.ndk.fetchEvents({kinds:[r],authors:[this.pubkey]},i||{groupable:!1}))[0];if(o){const s=new Set;return o.tags.forEach(c=>{if("p"===c[0])try{s.add(c[1]),a&&this.ndk?.outboxTracker?.trackUsers([c[1]])}catch{}}),[...s].reduce((c,y)=>{const k=new NDKUser({pubkey:y});return k.ndk=this.ndk,c.add(k),c},new Set)}return new Set}),_follows.apply(this,arguments)}function profileFromEvent(i){const a={};let r;try{r=JSON.parse(i.content)}catch(o){throw new Error(`Failed to parse profile event: ${o}`)}return Object.keys(r).forEach(o=>{switch(o){case"name":a.name=r.name;break;case"display_name":a.displayName=r.display_name;break;case"image":case"picture":a.image=r.image||r.picture;break;case"banner":a.banner=r.banner;break;case"bio":a.bio=r.bio;break;case"nip05":a.nip05=r.nip05;break;case"lud06":a.lud06=r.lud06;break;case"lud16":a.lud16=r.lud16;break;case"about":a.about=r.about;break;case"zapService":a.zapService=r.zapService;break;case"website":a.website=r.website;break;default:a[o]=r[o]}}),a}function serializeProfile(i){const a={};for(const[r,o]of Object.entries(i))switch(r){case"username":case"name":a.name=o;break;case"displayName":a.display_name=o;break;case"image":case"picture":a.picture=o;break;case"bio":case"about":a.about=o;break;default:a[r]=o}return JSON.stringify(a)}var NDKList=class _E extends NDKEvent{_encryptedTags;encryptedTagsLength;constructor(a,r){super(a,r),this.kind??=30001}static from(a){return new _E(a.ndk,a.rawEvent())}get title(){const a=this.tagValue("title")||this.tagValue("name");return 3!==this.kind||a?1e4!==this.kind||a?10001!==this.kind||a?10002!==this.kind||a?10003!==this.kind||a?10004!==this.kind||a?10005!==this.kind||a?10006!==this.kind||a?10007!==this.kind||a?10015!==this.kind||a?10030!==this.kind||a?a??this.tagValue("d"):"Emojis":"Interests":"Search Relays":"Blocked Relays":"Public Chats":"Communities":"Bookmarks":"Relay Metadata":"Pinned Notes":"Mute":"Contacts"}set title(a){if(this.removeTag("title"),this.removeTag("name"),!a)throw new Error("Title cannot be empty");this.tags.push(["title",a])}get name(){const a=this.tagValue("name");return 3!==this.kind||a?1e4!==this.kind||a?10001!==this.kind||a?10002!==this.kind||a?10003!==this.kind||a?10004!==this.kind||a?10005!==this.kind||a?10006!==this.kind||a?10007!==this.kind||a?10015!==this.kind||a?10030!==this.kind||a?a??this.tagValue("d"):"Emojis":"Interests":"Search Relays":"Blocked Relays":"Public Chats":"Communities":"Bookmarks":"Relay Metadata":"Pinned Notes":"Mute":"Contacts"}set name(a){if(this.removeTag("name"),!a)throw new Error("Name cannot be empty");this.tags.push(["title",a])}get description(){return this.tagValue("description")}set description(a){a?this.tags.push(["description",a]):this.removeTag("description")}isEncryptedTagsCacheValid(){return!(!this._encryptedTags||this.encryptedTagsLength!==this.content.length)}encryptedTags(a=!0){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(a&&r.isEncryptedTagsCacheValid())return r._encryptedTags;if(!r.ndk)throw new Error("NDK instance not set");if(!r.ndk.signer)throw new Error("NDK signer not set");const o=yield r.ndk.signer.user();try{if(r.content.length>0)try{const s=yield r.ndk.signer.decrypt(o,r.content),c=JSON.parse(s);return c&&c[0]?(r.encryptedTagsLength=r.content.length,r._encryptedTags=c):(r.encryptedTagsLength=r.content.length,r._encryptedTags=[])}catch{console.log(`error decrypting ${r.content}`)}}catch{}return[]})()}validateTag(a){return!0}get items(){return this.tags.filter(a=>!["d","L","l","title","name","description","summary","image","thumb","alt","expiration","subject"].includes(a[0]))}addItem(a,r=void 0,o=!1){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s.ndk)throw new Error("NDK instance not set");if(!s.ndk.signer)throw new Error("NDK signer not set");let c;if(a instanceof NDKEvent)c=a.referenceTags();else if(a instanceof NDKUser)c=a.referenceTags();else if(a instanceof NDKRelay)c=a.referenceTags();else{if(!Array.isArray(a))throw new Error("Invalid object type");c=[a]}if(r&&c[0].push(r),o){const y=yield s.ndk.signer.user(),k=yield s.encryptedTags();k.push(...c),s._encryptedTags=k,s.encryptedTagsLength=s.content.length,s.content=JSON.stringify(k),yield s.encrypt(y)}else s.tags.push(...c);s.created_at=Math.floor(Date.now()/1e3),s.emit("change")})()}removeItem(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.ndk)throw new Error("NDK instance not set");if(!o.ndk.signer)throw new Error("NDK signer not set");if(r){const s=yield o.ndk.signer.user(),c=yield o.encryptedTags();c.splice(a,1),o._encryptedTags=c,o.encryptedTagsLength=o.content.length,o.content=JSON.stringify(c),yield o.encrypt(s)}else o.tags.splice(a,1);return o.created_at=Math.floor(Date.now()/1e3),o.emit("change"),o})()}},lists_default=NDKList;function pin(i,a,r){return _pin.apply(this,arguments)}function _pin(){return _pin=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){if(!this.ndk)throw new Error("No NDK instance found");if(this.ndk.assertSigner(),!a){const o=yield this.ndk.fetchEvents({kinds:[10001],authors:[this.pubkey]},{cacheUsage:"ONLY_RELAY"});a=o.size>0?lists_default.from(Array.from(o)[0]):new NDKEvent(this.ndk,{kind:10001})}return a.tag(i),r&&(yield a.publish()),a}),_pin.apply(this,arguments)}var NIP05_REGEX=/^(?:([\w.+-]+)@)?([\w.-]+)$/;function getNip05For(i){return _getNip05For.apply(this,arguments)}function _getNip05For(){return _getNip05For=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a=fetch,r={}){const o=i.match(NIP05_REGEX);if(!o)return null;const[s,c="_",y]=o;try{const k=yield a(`https://${y}/.well-known/nostr.json?name=${c}`,r),{names:S,relays:I,nip46:T}=parseNIP05Result(yield k.json()),M=S[c];return M?{pubkey:M,relays:I?.[M],nip46:T?.[M]}:null}catch{return null}}),_getNip05For.apply(this,arguments)}function parseNIP05Result(i){const a={names:{}};for(const[r,o]of Object.entries(i.names))"string"==typeof r&&"string"==typeof o&&(a.names[r]=o);if(i.relays){a.relays={};for(const[r,o]of Object.entries(i.relays))"string"==typeof r&&Array.isArray(o)&&(a.relays[r]=o.filter(s=>"string"==typeof s))}if(i.nip46){a.nip46={};for(const[r,o]of Object.entries(i.relays))"string"==typeof r&&Array.isArray(o)&&(a.nip46[r]=o.filter(s=>"string"==typeof s))}return a}var NDKUser=class Kv{ndk;profile;_npub;_pubkey;relayUrls=[];nip46Urls=[];constructor(a){a.npub&&(this._npub=a.npub),a.hexpubkey&&(this._pubkey=a.hexpubkey),a.pubkey&&(this._pubkey=a.pubkey),a.relayUrls&&(this.relayUrls=a.relayUrls),a.nip46Urls&&(this.nip46Urls=a.nip46Urls)}get npub(){if(!this._npub){if(!this._pubkey)throw new Error("hexpubkey not set");this._npub=nip19_exports.npubEncode(this.pubkey)}return this._npub}set npub(a){this._npub=a}get hexpubkey(){return this.pubkey}set hexpubkey(a){this._pubkey=a}get pubkey(){if(!this._pubkey){if(!this._npub)throw new Error("npub not set");this._pubkey=nip19_exports.decode(this.npub).data}return this._pubkey}set pubkey(a){this._pubkey=a}static fromNip05(a,r,o=!1){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r?.cacheAdapter&&r.cacheAdapter.loadNip05){const y=yield r.cacheAdapter.loadNip05(a);if(y){const k=new Kv({pubkey:y.pubkey,relayUrls:y.relays,nip46Urls:y.nip46});return k.ndk=r,k}}let s={};o&&(s.cache="no-cache");const c=yield getNip05For(a,r?.httpFetch,s);if(c&&r?.cacheAdapter&&r.cacheAdapter.saveNip05&&r?.cacheAdapter.saveNip05(a,c),c){const y=new Kv({pubkey:c.pubkey,relayUrls:c.relays,nip46Urls:c.nip46});return y.ndk=r,y}})()}fetchProfile(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.ndk)throw new Error("NDK not set");r.profile||(r.profile={});let o=null;if(r.ndk.cacheAdapter&&r.ndk.cacheAdapter.fetchProfile&&"ONLY_RELAY"!==a?.cacheUsage){const c=yield r.ndk.cacheAdapter.fetchProfile(r.pubkey);if(c)return r.profile=c,c}!a&&r.ndk.cacheAdapter&&r.ndk.cacheAdapter.locking&&(o=yield r.ndk.fetchEvents({kinds:[0],authors:[r.pubkey]},{cacheUsage:"ONLY_CACHE",closeOnEose:!0,groupable:!1}),a={cacheUsage:"ONLY_RELAY",closeOnEose:!0,groupable:!0,groupableDelay:250}),o&&0!==o.size||(o=yield r.ndk.fetchEvents({kinds:[0],authors:[r.pubkey]},a));const s=Array.from(o).sort((c,y)=>c.created_at-y.created_at);return 0===s.length?null:(r.profile=profileFromEvent(s[0]),r.profile&&r.ndk.cacheAdapter&&r.ndk.cacheAdapter.saveProfile&&r.ndk.cacheAdapter.saveProfile(r.pubkey,r.profile),r.profile)})()}follows=follows.bind(this);pin=pin.bind(this);relayList(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("NDK not set");const r=a.ndk.outboxPool||a.ndk.pool,o=new Set;for(const y of r.relays.values())o.add(y);const s=new NDKRelaySet(o,a.ndk),c=yield a.ndk.fetchEvent({kinds:[10002],authors:[a.pubkey]},{closeOnEose:!0,pool:r,groupable:!0,subId:`relay-list-${a.pubkey.slice(0,6)}`},s);return c?NDKRelayList.from(c):yield a.relayListFromKind3()})()}relayListFromKind3(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("NDK not set");const r=yield a.ndk.fetchEvent({kinds:[3],authors:[a.pubkey]});if(r)try{const o=JSON.parse(r.content),s=new NDKRelayList(a.ndk),c=new Set,y=new Set;for(const[k,S]of Object.entries(o))if(S){const I=S;I.write&&y.add(k),I.read&&c.add(k)}else c.add(k),y.add(k);return s.readRelayUrls=Array.from(c),s.writeRelayUrls=Array.from(y),s}catch{}})()}tagReference(){return["p",this.pubkey]}referenceTags(a){const r=[["p",this.pubkey]];return a&&r[0].push("",a),r}publish(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("No NDK instance found");if(!a.profile)throw new Error("No profile available");a.ndk.assertSigner(),yield new NDKEvent(a.ndk,{kind:0,content:serializeProfile(a.profile)}).publish()})()}follow(a,r,o=3){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s.ndk)throw new Error("No NDK instance found");if(s.ndk.assertSigner(),r||(r=yield s.follows(void 0,void 0,o)),r.has(a))return!1;r.add(a);const c=new NDKEvent(s.ndk,{kind:o});for(const y of r)c.tag(y);return yield c.publish(),!0})()}validateNip05(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.ndk)throw new Error("No NDK instance found");const o=yield getNip05For(a);return null===o?null:o.pubkey===r.pubkey})()}zap(a,r,o,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!c.ndk)throw new Error("No NDK instance found");s||c.ndk.assertSigner();const y=new Zap({ndk:c.ndk,zappedUser:c}),k=Array.from(c.ndk.pool.relays.keys());return yield y.createZapRequest(a,r,o,k,s)})()}},NDKPrivateKeySigner=class kE{_user;privateKey;constructor(a){a&&(this.privateKey=a,this._user=new NDKUser({hexpubkey:getPublicKey(this.privateKey)}))}static generate(){const a=generatePrivateKey();return new kE(a)}blockUntilReady(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a._user)throw new Error("NDKUser not initialized");return a._user})()}user(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return yield a.blockUntilReady(),a._user})()}sign(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.privateKey)throw Error("Attempted to sign without a private key");return getSignature(a,r.privateKey)})()}encrypt(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.privateKey)throw Error("Attempted to encrypt without a private key");const s=a.hexpubkey;return yield nip04_exports.encrypt(o.privateKey,s,r)})()}decrypt(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.privateKey)throw Error("Attempted to decrypt without a private key");const s=a.hexpubkey;return yield nip04_exports.decrypt(o.privateKey,s,r)})()}},NDKNostrRpc=class extends lib$1.EventEmitter{ndk;signer;debug;constructor(i,a,r){super(),this.ndk=i,this.signer=a,this.debug=r.extend("rpc")}subscribe(i){var a=this;const r=this.ndk.subscribe(i,{closeOnEose:!1,groupable:!1});return r.on("event",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){try{const c=yield a.parseEvent(s);a.emit(c.method?"request":`response-${c.id}`,c)}catch(c){a.debug("error parsing event",c,s.rawEvent())}});return function(s){return o.apply(this,arguments)}}()),new Promise((o,s)=>{r.on("eose",()=>o(r))})}parseEvent(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const r=a.ndk.getUser({hexpubkey:i.pubkey});r.ndk=a.ndk;const o=yield a.signer.decrypt(r,i.content),s=JSON.parse(o),{id:c,method:y,params:k,result:S,error:I}=s;return y?{id:c,pubkey:i.pubkey,method:y,params:k,event:i}:{id:c,result:S,error:I,event:i}})()}sendResponse(i,a,r,o=24133,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y={id:i,result:r};s&&(y.error=s);const k=yield c.signer.user(),S=c.ndk.getUser({hexpubkey:a}),I=new NDKEvent(c.ndk,{kind:o,content:JSON.stringify(y),tags:[["p",a]],pubkey:k.hexpubkey});I.content=yield c.signer.encrypt(S,I.content),yield I.sign(c.signer),yield I.publish()})()}sendRequest(i,a,r=[],o=24133,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=Math.random().toString(36).substring(7),k=yield c.signer.user(),S=c.ndk.getUser({hexpubkey:i}),I={id:y,method:a,params:r},T=new Promise(R=>{const L=J=>{"auth_url"===J.result?(c.once(`response-${y}`,L),c.emit("authUrl",J.error)):s&&s(J)};c.once(`response-${y}`,L)}),M=new NDKEvent(c.ndk,{kind:o,content:JSON.stringify(I),tags:[["p",i]],pubkey:k.pubkey});return M.content=yield c.signer.encrypt(S,M.content),yield M.sign(c.signer),c.debug(`sending ${a} request to`,i),yield M.publish(),T})()}},NDKNip46Signer=class extends lib$1.EventEmitter{ndk;remoteUser;remotePubkey;token;localSigner;nip05;rpc;debug;relayUrls=[];constructor(i,a,r){let o,s;if(super(),a.includes("#")){const c=a.split("#");o=new NDKUser({npub:c[0]}).pubkey,s=c[1]}else a.startsWith("npub")?o=new NDKUser({npub:a}).pubkey:a.match(/\./)?this.nip05=a:o=a;this.ndk=i,o&&(this.remotePubkey=o),this.token=s,this.debug=i.debug.extend("nip46:signer"),this.remoteUser=new NDKUser({pubkey:o}),this.localSigner=r||NDKPrivateKeySigner.generate(),this.rpc=new NDKNostrRpc(i,this.localSigner,this.debug),this.rpc.on("authUrl",(...c)=>{this.emit("authUrl",...c)}),this.localSigner.user().then(c=>{this.rpc.subscribe({kinds:[24133,24134],"#p":[c.pubkey]})})}user(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return i.remoteUser})()}blockUntilReady(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=yield i.localSigner.user(),r=i.ndk.getUser({pubkey:i.remotePubkey});if(i.nip05&&!i.remotePubkey&&NDKUser.fromNip05(i.nip05).then(o=>{o&&(i.remoteUser=o,i.remotePubkey=o.pubkey,i.relayUrls=o.nip46Urls)}),!i.remotePubkey)throw new Error("Remote pubkey not set");return new Promise((o,s)=>{setTimeout(()=>{const c=[a.pubkey];i.token&&c.push(i.token),i.rpc.sendRequest(i.remotePubkey,"connect",c,24133,y=>{"ack"===y.result?o(r):s(y.error)})},100)})})()}encrypt(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.debug("asking for encryption"),new Promise((o,s)=>{r.rpc.sendRequest(r.remotePubkey,"nip04_encrypt",[i.pubkey,a],24133,c=>{c.error?s(c.error):o(c.result)})})})()}decrypt(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.debug("asking for decryption"),new Promise((o,s)=>{r.rpc.sendRequest(r.remotePubkey,"nip04_decrypt",[i.pubkey,a],24133,c=>{if(c.error)s(c.error);else{const y=JSON.parse(c.result);o(y[0])}})})})()}sign(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.debug("asking for a signature"),new Promise((r,o)=>{a.rpc.sendRequest(a.remotePubkey,"sign_event",[JSON.stringify(i)],24133,s=>{if(a.debug("got a response",s),s.error)o(s.error);else{const c=JSON.parse(s.result);r(c.sig)}})})})()}createAccount(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.debug("asking to create an account");const s=[];return i&&s.push(i),a&&s.push(a),r&&s.push(r),new Promise((c,y)=>{o.rpc.sendRequest(o.remotePubkey,"create_account",s,24134,k=>{o.debug("got a response",k),k.error?y(k.error):c(k.result)})})})()}};function dedup(i,a){return i.created_at>a.created_at?i:a}var OutboxItem=class{type;relayUrlScores;readRelays;writeRelays;constructor(i){this.type=i,this.relayUrlScores=new Map,this.readRelays=new Set,this.writeRelays=new Set}},OutboxTracker=class extends lib$1.EventEmitter{data;ndk;debug;constructor(i){super(),this.ndk=i,this.debug=i.debug.extend("outbox-tracker"),this.data=new dist.LRUCache({maxSize:1e5,entryExpirationTimeInMS:5e3})}trackUsers(i){for(const a of i){const r=getKeyFromItem(a);if(this.data.has(r))continue;const o=this.track(a,"user"),s=a instanceof NDKUser?a:new NDKUser({hexpubkey:a});s.ndk=this.ndk,s.relayList().then(c=>{if(c){o.readRelays=new Set(c.readRelayUrls),o.writeRelays=new Set(c.writeRelayUrls);for(const y of o.readRelays)this.ndk.pool.blacklistRelayUrls.has(y)&&(this.debug(`removing blacklisted relay ${y} from read relays`),o.readRelays.delete(y));for(const y of o.writeRelays)this.ndk.pool.blacklistRelayUrls.has(y)&&(this.debug(`removing blacklisted relay ${y} from write relays`),o.writeRelays.delete(y));this.data.set(r,o),this.debug(`Adding ${o.readRelays.size} read relays and ${o.writeRelays.size} write relays for ${s.hexpubkey}`)}})}}track(i,a){const r=getKeyFromItem(i);a??=getTypeFromItem(i);let o=this.data.get(r);return o||(o=new OutboxItem(a)),this.data.set(r,o),o}};function getKeyFromItem(i){return i instanceof NDKUser?i.hexpubkey:i}function getTypeFromItem(i){return i instanceof NDKUser?"user":"kind"}var NDKPool=class extends lib$1.EventEmitter{relays=new Map;blacklistRelayUrls;debug;temporaryRelayTimers=new Map;flappingRelays=new Set;backoffTimes=new Map;constructor(i=[],a=[],r,o){super(),this.debug=o??r.debug.extend("pool");for(const s of i){const c=new NDKRelay(s);this.addRelay(c,!1)}this.blacklistRelayUrls=new Set(a)}useTemporaryRelay(i,a=6e5){const r=this.relays.has(i.url);r||this.addRelay(i);const o=this.temporaryRelayTimers.get(i.url);if(o&&clearTimeout(o),!r||o){const s=setTimeout(()=>{this.removeRelay(i.url)},a);this.temporaryRelayTimers.set(i.url,s)}}addRelay(i,a=!0){var r=this;const o=i.url;this.blacklistRelayUrls?.has(o)?this.debug(`Relay ${o} is blacklisted`):(i.on("notice",function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(c,y){return r.emit("notice",c,y)});return function(c,y){return s.apply(this,arguments)}}()),i.on("connect",()=>this.handleRelayConnect(o)),i.on("ready",()=>this.handleRelayReady(i)),i.on("disconnect",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.emit("relay:disconnect",i)})),i.on("flapping",()=>this.handleFlapping(i)),i.on("auth",function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(c){return r.emit("relay:auth",i,c)});return function(c){return s.apply(this,arguments)}}()),this.relays.set(o,i),a&&i.connect().catch(s=>{this.debug(`Failed to connect to relay ${o}`,s)}))}removeRelay(i){const a=this.relays.get(i);if(a)return a.disconnect(),this.relays.delete(i),this.emit("relay:disconnect",a),!0;const r=this.temporaryRelayTimers.get(i);return r&&(clearTimeout(r),this.temporaryRelayTimers.delete(i)),!1}getRelay(i,a=!0){let r=this.relays.get(i);return r||(r=new NDKRelay(i),this.addRelay(r,a)),r}handleRelayConnect(i){this.debug(`Relay ${i} connected`),this.emit("relay:connect",this.relays.get(i)),this.stats().connected===this.relays.size&&this.emit("connect")}handleRelayReady(i){this.debug(`Relay ${i.url} ready`),this.emit("relay:ready",i)}connect(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const r=[];a.debug(`Connecting to ${a.relays.size} relays${i?`, timeout ${i}...`:""}`);for(const o of a.relays.values())if(i){const s=new Promise((c,y)=>{setTimeout(()=>y(`Timed out after ${i}ms`),i)});r.push(Promise.race([o.connect(),s]).catch(c=>{a.debug(`Failed to connect to relay ${o.url}: ${c??"No reason specified"}`)}))}else r.push(o.connect());i&&setTimeout(()=>{const o=a.stats().connected===a.relays.size,s=a.stats().connected>0;!o&&s&&a.emit("connect")},i),yield Promise.all(r)})()}checkOnFlappingRelays(){if(this.flappingRelays.size/this.relays.size>=.8)for(const i of this.flappingRelays)this.backoffTimes.set(i,0)}handleFlapping(i){this.debug(`Relay ${i.url} is flapping`);let a=this.backoffTimes.get(i.url)||5e3;a*=2,this.backoffTimes.set(i.url,a),this.debug(`Backoff time for ${i.url} is ${a}ms`),setTimeout(()=>{this.debug(`Attempting to reconnect to ${i.url}`),i.connect(),this.checkOnFlappingRelays()},a),i.disconnect(),this.emit("flapping",i)}size(){return this.relays.size}stats(){const i={total:0,connected:0,disconnected:0,connecting:0};for(const a of this.relays.values())i.total++,1===a.status?i.connected++:3===a.status?i.disconnected++:0===a.status&&i.connecting++;return i}connectedRelays(){return Array.from(this.relays.values()).filter(i=>1===i.status)}urls(){return Array.from(this.relays.keys())}};function correctRelaySet(i,a){const r=a.connectedRelays();if(!Array.from(i.relays).some(o=>r.map(s=>s.url).includes(o.url)))for(const o of r)i.addRelay(o);if(0===r.length)for(const o of a.relays.values())i.addRelay(o);return i}var SPEC_PATH="/.well-known/nostr/nip96.json",Nip96=class{ndk;spec;url;nip98Required=!1;constructor(i,a){this.url=`https://${i}${SPEC_PATH}`,this.ndk=a}prepareUpload(i,a="POST"){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r.validateHttpFetch(),r.spec||(yield r.fetchSpec()),!r.spec)throw new Error("Failed to fetch NIP96 spec");let o={};return r.nip98Required&&(o={Authorization:yield r.generateNip98Header(r.spec.api_url,a,i)}),{url:r.spec.api_url,headers:o}})()}xhrUpload(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o="POST",{url:s,headers:c}=yield r.prepareUpload(a,o);i.open(o,s,!0),c.Authorization&&i.setRequestHeader("Authorization",c.Authorization);const y=new FormData;return y.append("file",a),new Promise((k,S)=>{i.onload=function(){i.status>=200&&i.status<300?k(JSON.parse(i.responseText)):S(new Error(i.statusText))},i.onerror=function(){S(new Error("Network Error"))},i.send(y)})})()}upload(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const r="POST",{url:o,headers:s}=yield a.prepareUpload(i,r),c=new FormData;c.append("file",i);const y=yield a.ndk.httpFetch(a.spec.api_url,{method:r,headers:s,body:c});if(200!==y.status)throw new Error(`Failed to upload file to ${o}`);const k=yield y.json();if("success"!==k.status)throw new Error(k.message);return k})()}validateHttpFetch(){if(!this.ndk)throw new Error("NDK is required to fetch NIP96 spec");if(!this.ndk.httpFetch)throw new Error("NDK must have an httpFetch method to fetch NIP96 spec")}fetchSpec(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){i.validateHttpFetch();const a=yield i.ndk.httpFetch(i.url);if(200!==a.status)throw new Error(`Failed to fetch NIP96 spec from ${i.url}`);const r=yield a.json();if(!r)throw new Error(`Failed to parse NIP96 spec from ${i.url}`);i.spec=r,i.nip98Required=i.spec.plans.free.is_nip98_required})()}generateNip98Header(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=new NDKEvent(o.ndk,{kind:27235,tags:[["u",i],["method",a]]});if(["POST","PUT","PATCH"].includes(a)){const c=yield o.calculateSha256(r);s.tags.push(["payload",c])}return yield s.sign(),`Nostr ${btoa(JSON.stringify(s.rawEvent()))}`})()}calculateSha256(i){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=yield i.arrayBuffer(),r=yield crypto.subtle.digest("SHA-256",a);return Array.from(new Uint8Array(r)).map(o=>o.toString(16).padStart(2,"0")).join("")})()}},DEFAULT_OUTBOX_RELAYS=["wss://purplepag.es","wss://relay.snort.social"],DEFAULT_BLACKLISTED_RELAYS=["wss://brb.io"],NDK=class extends lib$1.EventEmitter{explicitRelayUrls;pool;outboxPool;_signer;_activeUser;cacheAdapter;debug;devWriteRelaySet;outboxTracker;mutedIds;clientName;clientNip89;relayAuthDefaultPolicy;httpFetch;autoConnectUserRelays=!0;autoFetchUserMutelist=!0;constructor(i={}){var a;super(),a=this,this.debug=i.debug||debug3("ndk"),this.explicitRelayUrls=i.explicitRelayUrls||[],this.pool=new NDKPool(i.explicitRelayUrls||[],i.blacklistRelayUrls,this),this.debug(`Starting with explicit relays: ${JSON.stringify(this.explicitRelayUrls)}`),this.pool.on("relay:auth",function(){var r=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(o,s){a.relayAuthDefaultPolicy&&(yield a.relayAuthDefaultPolicy(o,s))});return function(o,s){return r.apply(this,arguments)}}()),this.autoConnectUserRelays=i.autoConnectUserRelays??!0,this.autoFetchUserMutelist=i.autoFetchUserMutelist??!0,this.clientName=i.clientName,this.clientNip89=i.clientNip89,this.relayAuthDefaultPolicy=i.relayAuthDefaultPolicy,i.enableOutboxModel&&(this.outboxPool=new NDKPool(i.outboxRelayUrls||DEFAULT_OUTBOX_RELAYS,i.blacklistRelayUrls||DEFAULT_BLACKLISTED_RELAYS,this,this.debug.extend("outbox-pool")),this.outboxTracker=new OutboxTracker(this)),this.signer=i.signer,this.cacheAdapter=i.cacheAdapter,this.mutedIds=i.mutedIds||new Map,i.devWriteRelayUrls&&(this.devWriteRelaySet=NDKRelaySet.fromRelayUrls(i.devWriteRelayUrls,this));try{this.httpFetch=fetch}catch{}}addExplicitRelay(i,a,r=!0){let o;return o="string"==typeof i?new NDKRelay(i,a):i,this.pool.addRelay(o,r),this.explicitRelayUrls.push(o.url),o}toJSON(){return{relayCount:this.pool.relays.size}.toString()}get activeUser(){return this._activeUser}set activeUser(i){var a=this;const r=this._activeUser?.pubkey!==i?.pubkey;if(this._activeUser=i,i&&r){const o=function(){var S=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(I){const T=yield I.relayList();if(T){a.debug("Connecting to user relays",{npub:I.npub,relays:T.relays});for(const M of T.relays){let R=a.pool.relays.get(M);R||(R=new NDKRelay(M),a.pool.addRelay(R))}}else a.debug("No relay list found for user",{npub:I.npub})});return function(T){return S.apply(this,arguments)}}(),s=function(){var S=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(I){const T=yield a.fetchEvents([{kinds:[1e4],authors:[I.pubkey]},{kinds:[3e4],authors:[I.pubkey],"#d":["mute"],limit:1}]);if(T)for(const M of T){const R=lists_default.from(M);for(const L of R.items)a.mutedIds.set(L[1],L[0])}else a.debug("No mute list found for user",{npub:I.npub})});return function(T){return S.apply(this,arguments)}}(),c=[];this.autoConnectUserRelays&&c.push(o),this.autoFetchUserMutelist&&c.push(s);const y=function(){var S=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(I){for(const T of c)yield T(I)});return function(T){return S.apply(this,arguments)}}(),k=this.outboxPool||this.pool;k.connectedRelays.length>0?y(i):(this.debug("Waiting for connection to main relays"),k.once("relay:ready",S=>{this.debug("New relay ready",S?.url),y(i)}))}else i||(this.mutedIds=new Map)}get signer(){return this._signer}set signer(i){this._signer=i,this.emit("signer:ready",i),i?.user().then(a=>{a.ndk=this,this.activeUser=a})}connect(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a._signer&&a.autoConnectUserRelays&&(a.debug("Attempting to connect to user relays specified by signer"),a._signer.relays)&&(yield a._signer.relays()).forEach(o=>a.pool.addRelay(o));const r=[a.pool.connect(i)];return a.outboxPool&&r.push(a.outboxPool.connect(i)),a.debug("Connecting to relays",{timeoutMs:i}),Promise.allSettled(r).then(()=>{})})()}getUser(i){const a=new NDKUser(i);return a.ndk=this,a}getUserFromNip05(i,a=!1){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return NDKUser.fromNip05(i,r,a)})()}subscribe(i,a,r,o=!0){const s=new NDKSubscription(this,i,a,r);if(r)for(const c of r.relays)this.pool.useTemporaryRelay(c);if(this.outboxPool&&s.hasAuthorsFilter()){const c=s.filters.filter(y=>y.authors&&y.authors?.length>0).map(y=>y.authors).flat();this.outboxTracker?.trackUsers(c)}return o&&s.start(),s}publish(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.debug("Deprecated: Use `event.publish()` instead"),i.publish(a,r)})()}fetchEvent(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let s,c;if(r instanceof NDKRelay?c=new NDKRelaySet(new Set([r]),o):r instanceof NDKRelaySet&&(c=r),!r&&"string"==typeof i&&!isNip33AValue(i)){const y=relaysFromBech32(i);y.length>0&&(c=new NDKRelaySet(new Set(y),o),c=correctRelaySet(c,o.pool))}if(s="string"==typeof i?filterFromId(i):i,!s)throw new Error(`Invalid filter: ${JSON.stringify(i)}`);return new Promise(y=>{const k=o.subscribe(s,{...a||{},closeOnEose:!0},c,!1);k.on("event",S=>{S.ndk=o,y(S)}),k.on("eose",()=>{y(null)}),k.start()})})()}fetchEvents(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return new Promise(s=>{const c=new Map,y=o.subscribe(i,{...a||{},closeOnEose:!0},r,!1),k=S=>{const I=S.deduplicationKey(),T=c.get(I);T&&(S=dedup(T,S)),S.ndk=o,c.set(I,S)};y.on("event",k),y.on("event:dup",k),y.on("eose",()=>{s(new Set(c.values()))}),y.start()})})()}assertSigner(){if(!this.signer)throw this.emit("signerRequired"),new Error("Signer required")}getNip96(i){return new Nip96(i,this)}};const LOCAL_STORE_KEY="__nostrlogin_nip46",LOGGED_IN_ACCOUNTS="__nostrlogin_accounts",RECENT_ACCOUNTS="__nostrlogin_recent",OUTBOX_RELAYS$1=["wss://purplepag.es","wss://relay.nos.social","wss://user.kindpag.es","wss://relay.damus.io","wss://nos.lol"],DEFAULT_SIGNUP_RELAYS=["wss://relay.damus.io/","wss://nos.lol/","wss://relay.primal.net/"],localStorageSetItem=(i,a)=>{localStorage.setItem(i,a)},localStorageGetItem=i=>{const a=window.localStorage.getItem(i);if(a)try{return JSON.parse(a)}catch{}return null},localStorageRemoveItem=i=>{localStorage.removeItem(i)},fetchProfile=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r){const o=new NDKUser({pubkey:a.pubkey});return o.ndk=r,yield o.fetchProfile()});return function(r,o){return i.apply(this,arguments)}}(),createProfile=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r,o,s){const c={name:a.name},y=new NDKEvent(r,{kind:0,created_at:Math.floor(Date.now()/1e3),pubkey:a.pubkey,content:JSON.stringify(c),tags:[]});window.location.hostname&&y.tags.push(["client",window.location.hostname]);const k=new NDKEvent(r,{kind:10002,created_at:Math.floor(Date.now()/1e3),pubkey:a.pubkey,content:"",tags:[]}),S=(s||"").split(",").map(I=>I.trim()).filter(I=>I.startsWith("ws"));S.length||S.push(...DEFAULT_SIGNUP_RELAYS);for(const I of S)k.tags.push(["r",I]);yield y.sign(o),console.log("signed profile",y),yield k.sign(o),console.log("signed relays",k),yield y.publish(NDKRelaySet.fromRelayUrls(OUTBOX_RELAYS$1,r)),console.log("published profile",y),yield k.publish(NDKRelaySet.fromRelayUrls(OUTBOX_RELAYS$1,r)),console.log("published relays",k)});return function(r,o,s,c){return i.apply(this,arguments)}}(),bunkerUrlToInfo=(i,a="")=>{const r=new URL(i);return{pubkey:r.hostname||r.pathname.split("//")[1],sk:a||generatePrivateKey(),relays:r.searchParams.getAll("relay"),token:r.searchParams.get("secret")||"",authMethod:"connect"}},isBunkerUrl=i=>i.startsWith("bunker://"),getBunkerUrl=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r){if(!a)return"";if(isBunkerUrl(a))return a;if(a.includes("@")){const[o,s]=a.toLocaleLowerCase().split("@"),c=r.devOverrideBunkerOrigin||`https://${s}`,y=`${c}/.well-known/nostr.json?name=_`,k=`${c}/.well-known/nostr.json?name=${o}`,S=yield fetch(y),I=yield S.json(),M=I.nip46[I.names._],R=yield fetch(k),L=(yield R.json()).names[o];if(!M.length)throw new Error("Bunker relay not provided");return`bunker://${L}?relay=${M[0]}`}throw new Error("Invalid user name or bunker url")});return function(r,o){return i.apply(this,arguments)}}(),checkNip05=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){let r=!1,o="",s="";return yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a||!a.includes("@"))return;const[c,y]=a.toLocaleLowerCase().split("@");if(!c)return;if(!new RegExp(/^[\w-.]+@([\w-]+\.)+[\w-]{2,8}$/g).test(a))return void(o="Invalid name");if(!y)return void(o="Select service");const k=`https://${y}/.well-known/nostr.json?name=${c.toLowerCase()}`;try{const S=yield fetch(k),I=yield S.json();if(I.names[c])return void(s=I.names[c])}catch{}r=!0})(),{available:r,taken:""!=s,error:o,pubkey:s}});return function(r){return i.apply(this,arguments)}}(),upgradeInfo=i=>{"typeAuthMethod"in i&&delete i.typeAuthMethod,i.authMethod||(i.authMethod="extension"in i&&i.extension?"extension":"readOnly"in i&&i.readOnly?"readOnly":"connect"),i.nip05&&isBunkerUrl(i.nip05)&&(i.bunkerUrl=i.nip05,i.nip05="")},localStorageAddAccount=i=>{localStorageSetItem(LOCAL_STORE_KEY,JSON.stringify(i));const a=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[],r=localStorageGetItem(RECENT_ACCOUNTS)||[];a.forEach(y=>upgradeInfo(y)),r.forEach(y=>upgradeInfo(y));const o=a,s=a.findIndex(y=>y.pubkey===i.pubkey&&y.authMethod===i.authMethod);-1!==s?o[s]=i:o.push(i);const c=r.filter(y=>y.pubkey!==i.pubkey||y.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(c)),localStorageSetItem(LOGGED_IN_ACCOUNTS,JSON.stringify(o))},localStorageRemoveCurrentAccount=()=>{const i=localStorageGetItem(LOCAL_STORE_KEY);if(!i)return;upgradeInfo(i);const a={...i};delete a.sk,delete a.otpData;const r=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[],o=localStorageGetItem(RECENT_ACCOUNTS)||[];r.forEach(y=>upgradeInfo(y)),o.forEach(y=>upgradeInfo(y));const s=o;if("connect"===a.authMethod&&a.bunkerUrl&&a.bunkerUrl.includes("secret="))console.log("nostr login bunker conn with a secret not saved to recent");else if("local"===a.authMethod)console.log("nostr login temporary local keys not save to recent");else{const y=o.findIndex(k=>k.pubkey===a.pubkey&&k.authMethod===a.authMethod);-1!==y?s[y]=a:s.push(a)}const c=r.filter(y=>y.pubkey!==i.pubkey||y.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(s)),localStorageSetItem(LOGGED_IN_ACCOUNTS,JSON.stringify(c)),localStorageRemoveItem(LOCAL_STORE_KEY)},localStorageRemoveRecent=i=>{const a=localStorageGetItem(RECENT_ACCOUNTS)||[];a.forEach(o=>upgradeInfo(o));const r=a.filter(o=>o.pubkey!==i.pubkey||o.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(r))},localStorageGetRecents=()=>{const i=localStorageGetItem(RECENT_ACCOUNTS)||[];return i.forEach(a=>upgradeInfo(a)),i},localStorageGetAccounts=()=>{const i=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[];return i.forEach(a=>upgradeInfo(a)),i},localStorageGetCurrent=()=>{const i=localStorageGetItem(LOCAL_STORE_KEY);return i&&upgradeInfo(i),i},getDarkMode=i=>{const a=localStorage.getItem("nl-dark-mode");return a?!!JSON.parse(a):void 0!==i.darkMode?i.darkMode:!(!window.matchMedia||!window.matchMedia("(prefers-color-scheme: dark)").matches)},getIcon=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return document.location.origin+"/favicon.ico"});return function(){return i.apply(this,arguments)}}();class BannerManager extends lib$1.EventEmitter{banner=null;listNotifies=[];params;constructor(a){super(),this.params=a}onAuthUrl(a){this.banner&&(this.banner.notify={confirm:Date.now(),url:a})}onUserInfo(a){this.banner&&(this.banner.userInfo=a)}onCallTimeout(){this.banner&&(this.banner.notify={confirm:Date.now(),timeOut:{domain:this.params.userInfo?.nip05?.split("@")[1]}})}onCallStart(){this.banner&&(this.banner.isLoading=!0)}onCallEnd(){this.banner&&(this.banner.isLoading=!1)}onUpdateAccounts(a){this.banner&&(this.banner.accounts=a)}onDarkMode(a){this.banner&&(this.banner.darkMode=a)}launchAuthBanner(a){var r=this;this.banner=document.createElement("nl-banner"),this.banner.setAttribute("dark-mode",String(getDarkMode(a))),a.theme&&this.banner.setAttribute("theme",a.theme),a.noBanner&&this.banner.setAttribute("hidden-mode","true"),this.banner.addEventListener("handleLoginBanner",o=>{this.emit("launch",o.detail)}),this.banner.addEventListener("handleConfirmLogout",()=>{this.emit("onConfirmLogout")}),this.banner.addEventListener("handleLogoutBanner",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){r.emit("logout")})),this.banner.addEventListener("handleImportModal",o=>{this.emit("import")}),this.banner.addEventListener("handleNotifyConfirmBanner",o=>{this.emit("onAuthUrlClick",o.detail)}),this.banner.addEventListener("handleSetConfirmBanner",o=>{this.listNotifies.push(o.detail),this.banner&&(this.banner.listNotifies=this.listNotifies)}),this.banner.addEventListener("handleSwitchAccount",o=>{this.emit("onSwitchAccount",o.detail)}),this.banner.addEventListener("handleOpenWelcomeModal",()=>{this.emit("launch",this.params.optionsModal.startScreen),this.banner&&(this.banner.isOpen=!1)}),this.banner.addEventListener("handleRetryConfirmBanner",()=>{const o=this.listNotifies.pop();o&&(this.banner&&(this.banner.listNotifies=this.listNotifies),this.emit("onAuthUrlClick",o))}),document.body.appendChild(this.banner)}}function extract(i,a,r){return hash$1(i),void 0===r&&(r=new Uint8Array(i.outputLen)),hmac$1(i,toBytes$1(r),toBytes$1(a))}const HKDF_COUNTER=new Uint8Array([0]),EMPTY_BUFFER=new Uint8Array;function expand(i,a,r,o=32){if(hash$1(i),number$1(o),o>255*i.outputLen)throw new Error("Length should be <= 255*HashLen");const s=Math.ceil(o/i.outputLen);void 0===r&&(r=EMPTY_BUFFER);const c=new Uint8Array(s*i.outputLen),y=hmac$1.create(i,a),k=y._cloneInto(),S=new Uint8Array(y.outputLen);for(let I=0;Idecoder.decode(i),getConversationKey(i,a){const r=secp256k1.getSharedSecret(i,"02"+a).subarray(1,33);return extract(sha256,r,"nip44-v2")},getMessageKeys(i,a){const r=expand(sha256,i,a,76);return{chacha_key:r.subarray(0,32),chacha_nonce:r.subarray(32,44),hmac_key:r.subarray(44,76)}},calcPaddedLen(i){if(!Number.isSafeInteger(i)||i<1)throw new Error("expected positive integer");if(i<=32)return 32;const a=1<u.maxPlaintextSize)throw new Error("invalid plaintext size: must be between 1 and 65535 bytes");const a=new Uint8Array(2);return new DataView(a.buffer).setUint16(0,i,!1),a},pad(i){const a=u.utf8Encode(i),r=a.length;return concatBytes(u.writeU16BE(r),a,new Uint8Array(u.calcPaddedLen(r)-r))},unpad(i){const a=new DataView(i.buffer).getUint16(0),r=i.subarray(2,2+a);if(au.maxPlaintextSize||r.length!==a||i.length!==2+u.calcPaddedLen(a))throw new Error("invalid padding");return u.utf8Decode(r)},hmacAad(i,a,r){if(32!==r.length)throw new Error("AAD associated data must be 32 bytes");const o=concatBytes(r,a);return hmac$1(sha256,i,o)},decodePayload(i){if("string"!=typeof i)throw new Error("payload must be a valid string");const a=i.length;if(a<132||a>87472)throw new Error("invalid payload length: "+a);if("#"===i[0])throw new Error("unknown encryption version");let r;try{r=base64.decode(i)}catch(c){throw new Error("invalid base64: "+c.message)}const o=r.length;if(o<99||o>65603)throw new Error("invalid data length: "+o);const s=r[0];if(2!==s)throw new Error("unknown encryption version "+s);return{nonce:r.subarray(1,33),ciphertext:r.subarray(33,-32),mac:r.subarray(-32)}}};function encryptNip44(i,a,r=randomBytes(32)){const{chacha_key:o,chacha_nonce:s,hmac_key:c}=u.getMessageKeys(a,r),y=u.pad(i),k=chacha20(o,s,y),S=u.hmacAad(c,k,r);return base64.encode(concatBytes(new Uint8Array([2]),r,k,S))}function decryptNip44(i,a){const{nonce:r,ciphertext:o,mac:s}=u.decodePayload(i),{chacha_key:c,chacha_nonce:y,hmac_key:k}=u.getMessageKeys(a,r);if(!equalBytes(u.hmacAad(k,o,r),s))throw new Error("invalid MAC");const S=chacha20(c,y,o);return u.unpad(S)}class Nip44{cache=new Map;createKey(a,r){return u.getConversationKey(a,r)}getKey(a,r,o){const s=getPublicKey(a)+r;let c=this.cache.get(s);if(c)return c;const y=this.createKey(a,r);return this.cache.set(s,y),y}encrypt(a,r,o){return encryptNip44(o,this.getKey(a,r))}decrypt(a,r,o){return decryptNip44(o,this.getKey(a,r))}}const OUTBOX_RELAYS=["wss://user.kindpag.es","wss://purplepag.es","wss://relay.nos.social"],DEFAULT_NOSTRCONNECT_RELAY="wss://relay.nsec.app/",NOSTRCONNECT_APPS=[{name:"Nsec.app",domain:"nsec.app",canImport:!0,img:"https://nsec.app/assets/favicon.ico",link:"https://use.nsec.app/",relay:"wss://relay.nsec.app/"},{name:"Amber",img:"https://raw.githubusercontent.com/greenart7c3/Amber/master/app/src/main/res/mipmap-hdpi/ic_launcher.webp",link:"",relay:"wss://relay.nsec.app/"},{name:"Other key stores",img:"",link:"",relay:"wss://relay.nsec.app/"}];class AuthNostrService extends lib$1.EventEmitter{ndk;profileNdk;signer=null;localSigner=null;params;signerPromise;launcherPromise;nip44Codec=new Nip44;nostrConnectKey="";nostrConnectSecret="";nip04;nip44;constructor(a){super(),this.params=a,this.ndk=new NDK({enableOutboxModel:!1}),this.profileNdk=new NDK({enableOutboxModel:!0,explicitRelayUrls:OUTBOX_RELAYS}),this.profileNdk.connect(),this.nip04={encrypt:this.encrypt04.bind(this),decrypt:this.decrypt04.bind(this)},this.nip44={encrypt:this.encrypt44.bind(this),decrypt:this.decrypt44.bind(this)}}waitReady(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(a.signerPromise)try{yield a.signerPromise}catch{}if(a.launcherPromise)try{yield a.launcherPromise}catch{}})()}nostrConnect(a,r=!1){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s={authMethod:"connect",pubkey:"",sk:o.nostrConnectKey,relays:[a=a||DEFAULT_NOSTRCONNECT_RELAY]},c=yield o.initSigner(s,{listen:!0});if(!c)throw new Error("Bad remote pubkey");return s.pubkey=c,s.bunkerUrl=`bunker://${c}?relay=${a}`,r||o.onAuth("login",s),s})()}getNostrConnectServices(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a.nostrConnectKey=generatePrivateKey(),a.nostrConnectSecret=Math.random().toString(36).substring(7);const r=getPublicKey(a.nostrConnectKey),o={name:document.location.host,url:document.location.href,icon:yield getIcon(),perms:a.params.optionsModal.perms},s=`nostrconnect://${r}?metadata=${encodeURIComponent(JSON.stringify(o))}&secret=${a.nostrConnectSecret}`,c=a.localSigner?"#import="+nip19_exports.nsecEncode(a.localSigner.privateKey):"",y=NOSTRCONNECT_APPS.map(k=>({...k}));for(const k of y){let S=DEFAULT_NOSTRCONNECT_RELAY;if(k.link.startsWith("https://")){const T=new URL(k.link);try{const M=yield(yield fetch(`${T.origin}/.well-known/nostr.json`)).json(),L=M.nip46[M.names._];L&&L.length&&(S=L[0])}catch(M){console.log("Bad app info",M,T)}}k.link=k.link.replace("",s+"&relay="+S+c)}return[s+c,y]})()}localSignup(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=generatePrivateKey(),s={pubkey:getPublicKey(o),sk:o,name:a,authMethod:"local"};console.log(`localSignup name: ${a}`),yield r.setLocal(s,!0)})()}setLocal(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.releaseSigner(),o.localSigner=new NDKPrivateKeySigner(a.sk),r&&(yield createProfile(a,o.profileNdk,o.localSigner,o.params.optionsModal.signupRelays)),o.onAuth("login",a)})()}importAndConnect(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=yield r.nostrConnect(a,!0);yield r.logout(!0),r.localSigner=null,r.onAuth("login",o)})()}setReadOnly(a){this.onAuth("login",{pubkey:a,authMethod:"readOnly"})}setExtension(a){this.onAuth("login",{pubkey:a,authMethod:"extension"})}setOTP(a,r){this.onAuth("login",{pubkey:a,authMethod:"otp",otpData:r})}setConnect(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){r.releaseSigner(),yield r.initSigner(a),r.onAuth("login",a)})()}createAccount(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const[o,s]=a.split("@"),c=yield getBunkerUrl(`_@${s}`,r.params.optionsModal);console.log("create account bunker's url",c);const y=bunkerUrlToInfo(c),k=!!r.params.userInfo;yield r.initSigner(y,{eventToAddAccount:k});const S=[o,s,"",r.params.optionsModal.perms||""];console.log("signer",r.signer);const I=yield new Promise(T=>{r.signer.rpc.sendRequest(y.pubkey,"create_account",S,void 0,T)});if(console.log("create_account pubkey",I),"error"===I.result)throw new Error(I.error);return{bunkerUrl:`bunker://${I.result}?relay=${y.relays?.[0]}`,sk:y.sk}})()}releaseSigner(){this.signer=null,this.localSigner=null;for(const a of this.ndk.pool.relays.keys())this.ndk.pool.removeRelay(a)}logout(a=!1){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a||r.releaseSigner(),localStorageRemoveCurrentAccount(),r.onAuth("logout"),r.emit("updateAccounts")})()}setUserInfo(a){this.params.userInfo=a,this.emit("onUserInfo",a),a&&(localStorageAddAccount(a),this.emit("updateAccounts"))}exportKeys(){return this.params.userInfo?"local"!==this.params.userInfo.authMethod?"":nip19_exports.nsecEncode(this.params.userInfo.sk):""}onAuth(a,r=null){if("logout"!==a&&!r)throw new Error("No user info in onAuth");if(r&&this.params.userInfo&&(r.pubkey!==this.params.userInfo.pubkey||r.authMethod!==this.params.userInfo.authMethod)){const o=new CustomEvent("nlAuth",{detail:{type:"logout"}});console.log("nostr-login auth",o.detail),document.dispatchEvent(o)}this.setUserInfo(r),r&&fetchProfile(r,this.profileNdk).then(o=>{if(this.params.userInfo!==r)return;const s={...this.params.userInfo,picture:o?.image||o?.picture,name:o?.name||o?.displayName||o?.nip05||nip19_exports.npubEncode(r.pubkey)};this.setUserInfo(s)});try{const o=r?nip19_exports.npubEncode(r.pubkey):"",s={type:a};"logout"!==a&&(s.pubkey=r.pubkey,r.sk&&(s.localNsec=nip19_exports.nsecEncode(r.sk)),r.relays&&(s.relays=r.relays),r.otpData&&(s.otpData=r.otpData),s.method=r.authMethod||"connect");const c=new CustomEvent("nlAuth",{detail:s});console.log("nostr-login auth",s),document.dispatchEvent(c),this.params.optionsModal.onAuth&&this.params.optionsModal.onAuth(o,s)}catch(o){console.log("onAuth error",o)}}initSigner(a,{listen:r=!1,connect:o=!1,eventToAddAccount:s=!1}={}){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(c.signerPromise)try{yield c.signerPromise}catch{}return c.signerPromise=new Promise(function(){var y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(k,S){try{if(a.relays)for(const I of a.relays)c.ndk.addExplicitRelay(I,void 0);if(yield c.ndk.connect(),c.signer=new NDKNip46Signer(c.ndk,a.pubkey,new NDKPrivateKeySigner(a.sk)),r||c.signer.on("authUrl",I=>{console.log("nostr login auth url",I),c.emit("onAuthUrl",{url:I,eventToAddAccount:s})}),r){const I=getPublicKey(a.sk);console.log("nostr-login listening for conn to",I);const T=yield c.signer.rpc.subscribe({kinds:[24133],"#p":[I]});T.on("event",function(){var M=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(R){try{const L=yield c.signer.rpc.parseEvent(R);if(!L.method){const J=L;if("auth_url"===J.result)return;"ack"===J.result||J.result===c.nostrConnectSecret?(c.signer.remotePubkey=R.pubkey,c.signer.remoteUser=new NDKUser({pubkey:R.pubkey}),a.pubkey=R.pubkey,k(R.pubkey)):S(J.error)}}catch(L){console.log("error parsing event",L,R.rawEvent())}T.stop()});return function(R){return M.apply(this,arguments)}}())}else o&&(yield new Promise((I,T)=>{c.signer&&a.sk&&c.signer.rpc.sendRequest(a.pubkey,"connect",[a.pubkey,a.token||"",c.params.optionsModal.perms||""],24133,R=>{"ack"===R.result?I():T(R.error)})})),k(void 0)}catch(I){console.log("initSigner failure",I),c.signer=null,S(I)}});return function(k,S){return y.apply(this,arguments)}}()),c.signerPromise})()}authNip46(a,r,o,s=""){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{const y=bunkerUrlToInfo(o,s);if(isBunkerUrl(r)?y.bunkerUrl=r:y.nip05=r,!y.pubkey||!y.sk||!y.relays?.[0])throw new Error(`Bad bunker url ${o}`);const k=!!c.params.userInfo;yield c.initSigner(y,{connect:!0,eventToAddAccount:k}),c.onAuth(a,y)}catch(y){throw console.log("nostr login auth failed",y),y}})()}signEvent(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.localSigner?(a.pubkey=getPublicKey(r.localSigner.privateKey),a.id=getEventHash(a),a.sig=yield r.localSigner.sign(a)):(a.pubkey=r.signer?.remotePubkey,a.id=getEventHash(a),a.sig=yield r.signer?.sign(a)),console.log("signed",{event:a}),a})()}codec_call(a,r,o){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return new Promise((c,y)=>{s.signer.rpc.sendRequest(s.signer.remotePubkey,a,[r,o],24133,k=>{k.error?y(k.error):c(k.result)})})})()}encrypt04(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.localSigner.encrypt(new NDKUser({pubkey:a}),r):o.signer.encrypt(new NDKUser({pubkey:a}),r)})()}decrypt04(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.localSigner.decrypt(new NDKUser({pubkey:a}),r):o.codec_call("nip04_decrypt",a,r)})()}encrypt44(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.nip44Codec.encrypt(o.localSigner.privateKey,a,r):o.codec_call("nip44_encrypt",a,r)})()}decrypt44(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.nip44Codec.decrypt(o.localSigner.privateKey,a,r):o.codec_call("nip44_decrypt",a,r)})()}}class ModalManager extends lib$1.EventEmitter{modal=null;params;extensionService;authNostrService;launcherPromise;accounts=[];recents=[];opt;constructor(a,r,o){super(),this.params=a,this.extensionService=o,this.authNostrService=r}waitReady(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(a.launcherPromise)try{yield a.launcherPromise}catch{}})()}launch(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r.launcherPromise)try{yield r.launcherPromise}catch{}r.opt=a;const o=document.createElement("dialog");r.modal=document.createElement("nl-auth"),r.modal.accounts=r.accounts,r.modal.recents=r.recents,r.modal.setAttribute("dark-mode",String(getDarkMode(a))),a.theme&&r.modal.setAttribute("theme",a.theme),a.startScreen&&r.modal.setAttribute("start-screen",a.startScreen),r.modal.setAttribute("bunkers",a.bunkers?a.bunkers:"nsec.app,highlighter.com"),void 0!==a.methods&&(r.modal.authMethods=a.methods),void 0!==a.localSignup&&(r.modal.localSignup=a.localSignup),a.title&&(r.modal.welcomeTitle=a.title),a.description&&(r.modal.welcomeDescription=a.description),r.modal.hasExtension=r.extensionService.hasExtension(),r.modal.hasOTP=!!a.otpRequestUrl&&!!a.otpReplyUrl,r.modal.isLoadingExtension=!1,r.modal.isLoading=!1,[r.modal.connectionString,r.modal.connectionStringServices]=yield r.authNostrService.getNostrConnectServices(),o.appendChild(r.modal),document.body.appendChild(o);let s="";return r.launcherPromise=new Promise((c,y)=>{o.addEventListener("close",()=>{y(new Error("Closed")),r.modal&&(r.modal.isLoading=!1,r.modal.authUrl="",r.modal.error="",r.modal.isLoadingExtension=!1,document.body.removeChild(r.modal.parentNode),r.modal=null)});const k=W=>{r.modal&&(r.modal.isLoading=!0),getBunkerUrl(W,r.params.optionsModal).then(q=>r.authNostrService.authNip46("login",W,q)).then(()=>{r.modal&&(r.modal.isLoading=!1),o.close(),c()}).catch(q=>{console.log("error",q),r.modal&&(r.modal.isLoading=!1,r.modal.error=q.toString())})},I=function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{yield navigator.clipboard.writeText(r.authNostrService.exportKeys()),localStorageSetItem("backupKey","true")}catch(q){console.error("Failed to copy to clipboard: ",q)}});return function(){return W.apply(this,arguments)}}(),T=function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){r.modal&&(r.modal.isLoading=!0);try{yield r.authNostrService.importAndConnect(q),r.modal&&(r.modal.isLoading=!1),o.close(),c()}catch(ct){console.log("error",ct),r.modal&&(r.modal.isLoading=!1,r.modal.error=ct.toString())}});return function(ct){return W.apply(this,arguments)}}(),M=function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){q&&r.modal&&(r.modal.isLoading=!0);try{yield r.authNostrService.nostrConnect(q),r.modal&&(r.modal.isLoading=!1),o.close(),c()}catch(ct){console.log("error",ct),r.modal&&(r.modal.isLoading=!1,r.modal.error=ct.toString())}});return function(ct){return W.apply(this,arguments)}}(),R=function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){r.modal&&(r.modal.isLoading=!0);try{if(!q)throw new Error("Please enter some nickname");yield r.authNostrService.localSignup(q),r.modal&&(r.modal.isLoading=!1),o.close(),c()}catch(ct){console.log("error",ct),r.modal&&(r.modal.isLoading=!1,r.modal.error=ct.toString())}});return function(ct){return W.apply(this,arguments)}}();if(!r.modal)throw new Error("WTH?");r.modal.addEventListener("handleContinue",()=>{r.modal&&(r.modal.isLoading=!0,r.emit("onAuthUrlClick",r.modal.authUrl))}),r.modal.addEventListener("nlLogin",W=>{k(W.detail)}),r.modal.addEventListener("nlSignup",W=>{(W=>{r.modal&&(r.modal.isLoading=!0),r.authNostrService.createAccount(W).then(({bunkerUrl:q,sk:ct})=>r.authNostrService.authNip46("signup",W,q,ct)).then(()=>{r.modal&&(r.modal.isLoading=!1),o.close(),c()}).catch(q=>{console.log("error",q),r.modal&&(r.modal.isLoading=!1,r.modal.error=q.toString())})})(W.detail)}),r.modal.addEventListener("nlLocalSignup",W=>{R(W.detail)}),r.modal.addEventListener("nlImportAccount",W=>{T(W.detail)}),r.modal.addEventListener("nlExportKeys",W=>{I()}),r.modal.addEventListener("handleLogoutBanner",()=>{r.emit("onLogoutBanner")}),r.modal.addEventListener("nlNostrConnect",W=>{M(W.detail)}),r.modal.addEventListener("nlNostrConnectDefault",()=>{M()}),r.modal.addEventListener("nlSwitchAccount",W=>{r.emit("onSwitchAccount",W.detail),setTimeout(()=>o.close(),300)}),r.modal.addEventListener("nlLoginRecentAccount",function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){const ct=q.detail;if("readOnly"===ct.authMethod)r.authNostrService.setReadOnly(ct.pubkey),o.close();else if("otp"===ct.authMethod){console.log("recent otp login",ct);try{r.modal.dispatchEvent(new CustomEvent("nlLoginOTPUser",{detail:ct.nip05||ct.pubkey}))}catch(ht){console.error(ht)}}else if("extension"===ct.authMethod)yield r.extensionService.trySetExtensionForPubkey(ct.pubkey),o.close();else{const ht=ct.bunkerUrl||ct.nip05;if(!ht)throw new Error("Bad connect info");k(ht)}});return function(q){return W.apply(this,arguments)}}()),r.modal.addEventListener("nlRemoveRecent",W=>{localStorageRemoveRecent(W.detail),r.emit("updateAccounts")});const L=function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){let ct="";if(q.includes("@")){const{error:ht,pubkey:tt}=yield checkNip05(q);if(!tt)throw new Error(ht);ct=tt}else if(q.startsWith("npub")){const{type:ht,data:tt}=nip19_exports.decode(q);if("npub"!==ht)throw new Error("Bad npub");ct=tt}else 64===q.trim().length&&(ct=q.trim(),nip19_exports.npubEncode(ct));return ct});return function(ct){return W.apply(this,arguments)}}();r.modal.addEventListener("nlLoginReadOnly",function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){if(!r.modal)return;r.modal.isLoading=!0;const ct=q.detail;try{const ht=yield L(ct);r.authNostrService.setReadOnly(ht),r.modal.isLoading=!1,o.close(),c()}catch(ht){console.log("error",ht),r.modal.isLoading=!1,r.modal.error=ht.toString()||ht}});return function(q){return W.apply(this,arguments)}}()),r.modal.addEventListener("nlLoginExtension",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.extensionService.hasExtension())throw new Error("No extension");if(r.modal)try{r.modal.isLoadingExtension=!0,yield r.extensionService.setExtension(),r.modal.isLoadingExtension=!1,o.close(),c()}catch(W){console.log("extension error",W),r.modal.error=W.toString()}})),r.modal.addEventListener("nlLoginOTPUser",function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){if(!r.modal)return;r.modal.isLoading=!0;const ct=q.detail;try{const ht=yield L(ct),tt=r.opt.otpRequestUrl+(r.opt.otpRequestUrl.includes("?")?"&":"?")+"pubkey="+ht,_t=yield fetch(tt);if(200!==_t.status)throw console.warn("nostr-login: bad otp reply",_t),new Error("Failed to send DM");r.modal.isOTP=!0,s=ht,r.modal.isLoading=!1}catch(ht){console.log("error",ht),r.modal.isLoading=!1,r.modal.error=ht.toString()||ht}});return function(q){return W.apply(this,arguments)}}()),r.modal.addEventListener("nlLoginOTPCode",function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){if(!r.modal)return;r.modal.isLoading=!0;const ct=q.detail;try{const ht=r.opt.otpReplyUrl+(r.opt.otpRequestUrl.includes("?")?"&":"?")+"pubkey="+s+"&code="+ct,tt=yield fetch(ht);if(200!==tt.status)throw console.warn("nostr-login: bad otp reply",tt),new Error("Invalid code");const _t=yield tt.text();r.authNostrService.setOTP(s,_t),r.modal.isOTP=!1,r.modal.isLoading=!1,o.close(),c()}catch(ht){console.log("error",ht),r.modal.isLoading=!1,r.modal.error=ht.toString()||ht}});return function(q){return W.apply(this,arguments)}}()),r.modal.addEventListener("nlCheckSignup",function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){const{available:ct,taken:ht,error:tt}=yield checkNip05(q.detail);r.modal&&(r.modal.error=String(tt),!tt&&ht&&(r.modal.error="Already taken"),r.modal.signupNameIsAvailable=ct)});return function(q){return W.apply(this,arguments)}}()),r.modal.addEventListener("nlCheckLogin",function(){var W=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){const{available:ct,taken:ht,error:tt}=yield checkNip05(q.detail);r.modal&&(r.modal.error=String(tt),ct&&(r.modal.error="Name not found"),r.modal.loginIsGood=ht)});return function(q){return W.apply(this,arguments)}}());const J=()=>{r.modal&&(r.modal.isLoading=!1),o.close(),y(new Error("Cancelled"))};r.modal.addEventListener("stopFetchHandler",J),r.modal.addEventListener("nlCloseModal",J),r.modal.addEventListener("nlChangeDarkMode",W=>{setDarkMode(W.detail),document.dispatchEvent(new CustomEvent("nlDarkMode",{detail:W.detail}))}),o.showModal()}),r.launcherPromise})()}connectModals(a){var r=this;const o=function(){var c=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(y){yield r.launch(y)});return function(k){return c.apply(this,arguments)}}(),s=document.getElementsByTagName("nl-button");for(let c=0;c{this.checkExtension(a)&&clearTimeout(r)},100)}checkExtension(a){return!(this.nostrExtension||!window.nostr||window.nostr===a||(this.initExtension(a),0))}initExtension(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.nostrExtension=window.nostr,window.nostr=a,"extension"===o.params.userInfo?.authMethod&&(yield o.trySetExtensionForPubkey(o.params.userInfo.pubkey)),r||setTimeout(()=>{window.nostr!==a&&o.nostrExtension!==window.nostr&&o.initExtension(a,!0)},300)})()}setExtensionReadPubkey(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){window.nostr=r.nostrExtension;const o=yield window.nostr.getPublicKey();a&&a!==o?r.emit("extensionLogout"):r.emit("extensionLogin",o)})()}trySetExtensionForPubkey(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r.nostrExtension)return r.setExtensionReadPubkey(a)})()}setExtension(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.setExtensionReadPubkey()})()}unsetExtension(a){window.nostr===this.nostrExtension&&(window.nostr=a)}getExtension(){return this.nostrExtension}hasExtension(){return!!this.nostrExtension}}class NostrParams{userInfo;optionsModal;constructor(){this.userInfo=null,this.optionsModal={theme:"default",startScreen:"welcome",devOverrideBunkerOrigin:""}}}class Popup{popup=null;constructor(){}ensurePopup(a){if(!this.popup||this.popup.closed){if(this.popup=window.open(a,"_blank","width=400,height=700"),console.log("popup",this.popup),!this.popup)throw new Error("Popup blocked. Try again, please!");this.popup.opener=null}}closePopup(){try{this.popup?.close(),this.popup=null}catch{}}}const CALL_TIMEOUT=5e3;class ProcessManager extends lib$1.EventEmitter{callCount=0;callTimer;constructor(){super()}onAuthUrl(){this.callTimer&&clearTimeout(this.callTimer)}wait(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let o,s;r.callTimer||(r.callTimer=setTimeout(()=>r.emit("onCallTimeout"),CALL_TIMEOUT)),r.callCount||(yield r.emit("onCallStart")),r.callCount++;try{s=yield a()}catch(c){o=c}if(r.callCount--,yield r.emit("onCallEnd"),r.callTimer&&clearTimeout(r.callTimer),r.callTimer=void 0,o)throw o;return s})()}}class NostrLoginInitializer{extensionService;params;authNostrService;nostr;processManager;popupManager;bannerManager;modalManager;constructor(){var a=this;this.params=new NostrParams,this.processManager=new ProcessManager,this.popupManager=new Popup,this.bannerManager=new BannerManager(this.params),this.authNostrService=new AuthNostrService(this.params),this.extensionService=new NostrExtensionService(this.params),this.modalManager=new ModalManager(this.params,this.authNostrService,this.extensionService);const r={waitReady:(o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield a.authNostrService.waitReady(),yield a.modalManager.waitReady()}),function(){return o.apply(this,arguments)}),getUserInfo:()=>this.params.userInfo,getSigner:()=>{if("readOnly"===this.params.userInfo.authMethod)throw new Error("Read only");return"extension"===this.params.userInfo.authMethod?this.extensionService.getExtension():this.authNostrService},launch:()=>this.launch(),wait:o=>this.processManager.wait(o)};var o;this.nostr=new Nostr(r),this.processManager.on("onCallTimeout",()=>{this.bannerManager.onCallTimeout()}),this.processManager.on("onCallEnd",()=>{this.bannerManager.onCallEnd()}),this.processManager.on("onCallStart",()=>{this.bannerManager.onCallStart()}),this.authNostrService.on("onAuthUrl",({url:o,eventToAddAccount:s})=>{this.processManager.onAuthUrl(),s?this.modalManager.onAuthUrl(o):this.params.userInfo?this.bannerManager.onAuthUrl(o):this.modalManager.onAuthUrl(o)}),this.authNostrService.on("updateAccounts",()=>{this.updateAccounts()}),this.authNostrService.on("onUserInfo",o=>{this.bannerManager.onUserInfo(o)}),this.modalManager.on("onAuthUrlClick",o=>{this.popupManager.ensurePopup(o)}),this.modalManager.on("onSwitchAccount",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){a.switchAccount(s)});return function(s){return o.apply(this,arguments)}}()),this.modalManager.on("onLogoutBanner",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){logout()});return function(s){return o.apply(this,arguments)}}()),this.bannerManager.on("onConfirmLogout",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){console.log(4),a.launch("confirm-logout")})),this.modalManager.on("updateAccounts",()=>{this.updateAccounts()}),this.bannerManager.on("logout",()=>{logout()}),this.bannerManager.on("onAuthUrlClick",o=>{this.popupManager.ensurePopup(o)}),this.bannerManager.on("onSwitchAccount",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){a.switchAccount(s)});return function(s){return o.apply(this,arguments)}}()),this.bannerManager.on("import",()=>{this.launch("import")}),this.extensionService.on("extensionLogin",o=>{this.authNostrService.setExtension(o)}),this.extensionService.on("extensionLogout",()=>{logout()}),this.bannerManager.on("launch",o=>{this.launch(o)})}switchAccount(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(console.log("nostr login switch to info",a),r.extensionService.unsetExtension(r.nostr),"readOnly"===a.authMethod)r.authNostrService.setReadOnly(a.pubkey);else if("otp"===a.authMethod)r.authNostrService.setOTP(a.pubkey,a.otpData||"");else if("local"===a.authMethod&&a.sk)r.authNostrService.setLocal(a);else if("extension"===a.authMethod)yield r.extensionService.trySetExtensionForPubkey(a.pubkey);else{if(!("connect"===a.authMethod&&a.sk&&a.relays&&a.relays[0]))throw new Error("Bad auth info");r.authNostrService.setConnect(a)}})()}updateAccounts(){const a=localStorageGetAccounts(),r=localStorageGetRecents();this.bannerManager.onUpdateAccounts(a),this.modalManager.onUpdateAccounts(a,r)}launch=a=>{const r=localStorageGetRecents(),o=localStorageGetAccounts(),s=a?{startScreen:a}:this.params.optionsModal;return a||!r?.length&&!o?.length||(s.startScreen="switch-account"),this.modalManager.launch(s).catch(()=>{})};init=(()=>{var r,a=this;return r=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(o){a.extensionService.startCheckingExtension(a.nostr),window.nostr=a.nostr,a.modalManager.connectModals(o),a.bannerManager.launchAuthBanner(o),o&&(a.params.optionsModal={...o});try{const s=localStorageGetCurrent();if(s){if(!s.pubkey)throw new Error("Bad stored info");yield a.switchAccount(s)}}catch(s){console.log("nostr login init error",s),yield logout()}a.updateAccounts()}),function(o){return r.apply(this,arguments)}})();logout=(()=>{var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a.extensionService.unsetExtension(a.nostr),yield a.authNostrService.logout()})})();setDarkMode=a=>{localStorageSetItem("nl-dark-mode",`${a}`),this.bannerManager.onDarkMode(a),this.modalManager.onDarkMode(a)}}const initializer=new NostrLoginInitializer,{init,launch,logout,setDarkMode}=initializer;document.addEventListener("nlLogout",logout),document.addEventListener("nlLaunch",i=>{launch(i.detail||"")}),document.addEventListener("nlDarkMode",i=>{setDarkMode(!!i.detail)})},5766:(i,a,r)=>{"use strict";r.d(a,{My:()=>At,aT:()=>at}),new Uint8Array(new Uint32Array([287454020]).buffer);const $t=Array.from({length:256},(gt,Nt)=>Nt.toString(16).padStart(2,"0"));function At(gt){!function y(gt,...Nt){if(!function c(gt){return gt instanceof Uint8Array||null!=gt&&"object"==typeof gt&&"Uint8Array"===gt.constructor.name}(gt))throw new Error("Uint8Array expected");if(Nt.length>0&&!Nt.includes(gt.length))throw new Error(`Uint8Array expected of length ${Nt}, not of length=${gt.length}`)}(gt);let Nt="";for(let Ae=0;Ae=kt._0&><=kt._9?gt-kt._0:gt>=kt._A&><=kt._F?gt-(kt._A-10):gt>=kt._a&><=kt._f?gt-(kt._a-10):void 0}function at(gt){if("string"!=typeof gt)throw new Error("hex string expected, got "+typeof gt);const Nt=gt.length,Ae=Nt/2;if(Nt%2)throw new Error("padded hex string expected, got unpadded hex of length "+Nt);const Rt=new Uint8Array(Ae);for(let de=0,jt=0;de{"use strict";function s(ie){return ie instanceof Uint8Array||null!=ie&&"object"==typeof ie&&"Uint8Array"===ie.constructor.name}function c(...ie){const He=We=>We,Wt=(We,Or)=>ko=>We(Or(ko));return{encode:ie.map(We=>We.encode).reduceRight(Wt,He),decode:ie.map(We=>We.decode).reduce(Wt,He)}}function y(ie){return{encode:He=>{if(!Array.isArray(He)||He.length&&"number"!=typeof He[0])throw new Error("alphabet.encode input should be an array of numbers");return He.map(Wt=>{if(Wt<0||Wt>=ie.length)throw new Error(`Digit index outside alphabet: ${Wt} (alphabet: ${ie.length})`);return ie[Wt]})},decode:He=>{if(!Array.isArray(He)||He.length&&"string"!=typeof He[0])throw new Error("alphabet.decode input should be array of strings");return He.map(Wt=>{if("string"!=typeof Wt)throw new Error(`alphabet.decode: not string element=${Wt}`);const Me=ie.indexOf(Wt);if(-1===Me)throw new Error(`Unknown letter: "${Wt}". Allowed: ${ie}`);return Me})}}}function k(ie=""){if("string"!=typeof ie)throw new Error("join separator should be string");return{encode:He=>{if(!Array.isArray(He)||He.length&&"string"!=typeof He[0])throw new Error("join.encode input should be array of strings");for(let Wt of He)if("string"!=typeof Wt)throw new Error(`join.encode: non-string input=${Wt}`);return He.join(ie)},decode:He=>{if("string"!=typeof He)throw new Error("join.decode input should be string");return He.split(ie)}}}function S(ie,He="="){if("string"!=typeof He)throw new Error("padding chr should be string");return{encode(Wt){if(!Array.isArray(Wt)||Wt.length&&"string"!=typeof Wt[0])throw new Error("padding.encode input should be array of strings");for(let Me of Wt)if("string"!=typeof Me)throw new Error(`padding.encode: non-string input=${Me}`);for(;Wt.length*ie%8;)Wt.push(He);return Wt},decode(Wt){if(!Array.isArray(Wt)||Wt.length&&"string"!=typeof Wt[0])throw new Error("padding.encode input should be array of strings");for(let Fe of Wt)if("string"!=typeof Fe)throw new Error(`padding.decode: non-string input=${Fe}`);let Me=Wt.length;if(Me*ie%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;Me>0&&Wt[Me-1]===He;Me--)if(!((Me-1)*ie%8))throw new Error("Invalid padding: string has too much padding");return Wt.slice(0,Me)}}}function T(ie,He,Wt){if(He<2)throw new Error(`convertRadix: wrong from=${He}, base cannot be less than 2`);if(Wt<2)throw new Error(`convertRadix: wrong to=${Wt}, base cannot be less than 2`);if(!Array.isArray(ie))throw new Error("convertRadix: data should be array");if(!ie.length)return[];let Me=0;const Fe=[],We=Array.from(ie);for(We.forEach(Or=>{if(Or<0||Or>=He)throw new Error(`Wrong integer: ${Or}`)});;){let Or=0,ko=!0;for(let dr=Me;drAe,K3:()=>nt,Tq:()=>vr,Wp:()=>ht});const M=(ie,He)=>He?M(He,ie%He):ie,R=(ie,He)=>ie+(He-M(ie,He));function L(ie,He,Wt,Me){if(!Array.isArray(ie))throw new Error("convertRadix2: data should be array");if(He<=0||He>32)throw new Error(`convertRadix2: wrong from=${He}`);if(Wt<=0||Wt>32)throw new Error(`convertRadix2: wrong to=${Wt}`);if(R(He,Wt)>32)throw new Error(`convertRadix2: carry overflow from=${He} to=${Wt} carryBits=${R(He,Wt)}`);let Fe=0,We=0;const Or=2**Wt-1,ko=[];for(const dr of ie){if(dr>=2**He)throw new Error(`convertRadix2: invalid data word=${dr} from=${He}`);if(Fe=Fe<32)throw new Error(`convertRadix2: carry overflow pos=${We} from=${He}`);for(We+=He;We>=Wt;We-=Wt)ko.push((Fe>>We-Wt&Or)>>>0);Fe&=2**We-1}if(Fe=Fe<=He)throw new Error("Excess padding");if(!Me&&Fe)throw new Error(`Non-zero padding: ${Fe}`);return Me&&We>0&&ko.push(Fe>>>0),ko}function J(ie){return{encode:He=>{if(!s(He))throw new Error("radix.encode input should be Uint8Array");return T(Array.from(He),256,ie)},decode:He=>{if(!Array.isArray(He)||He.length&&"number"!=typeof He[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(T(He,ie,256))}}}function W(ie,He=!1){if(ie<=0||ie>32)throw new Error("radix2: bits should be in (0..32]");if(R(8,ie)>32||R(ie,8)>32)throw new Error("radix2: carry overflow");return{encode:Wt=>{if(!s(Wt))throw new Error("radix2.encode input should be Uint8Array");return L(Array.from(Wt),8,ie,!He)},decode:Wt=>{if(!Array.isArray(Wt)||Wt.length&&"number"!=typeof Wt[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(L(Wt,ie,8,He))}}}function q(ie){if("function"!=typeof ie)throw new Error("unsafeWrapper fn should be function");return function(...He){try{return ie.apply(null,He)}catch{}}}function ct(ie,He){if("function"!=typeof He)throw new Error("checksum fn should be function");return{encode(Wt){if(!s(Wt))throw new Error("checksum.encode: input should be Uint8Array");const Me=He(Wt).slice(0,ie),Fe=new Uint8Array(Wt.length+ie);return Fe.set(Wt),Fe.set(Me,Wt.length),Fe},decode(Wt){if(!s(Wt))throw new Error("checksum.decode: input should be Uint8Array");const Me=Wt.slice(0,-ie),Fe=He(Me).slice(0,ie),We=Wt.slice(-ie);for(let Or=0;Orc(J(58),y("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),k("")))(),vr=ie=>c(ct(4,He=>ie(ie(He))),Vt),Gr=c(y("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),k("")),xe=[996825010,642813549,513874426,1027748829,705979059];function Le(ie){const He=ie>>25;let Wt=(33554431&ie)<<5;for(let Me=0;Me>Me&1)&&(Wt^=xe[Me]);return Wt}function gt(ie,He,Wt=1){const Me=ie.length;let Fe=1;for(let We=0;We126)throw new Error(`Invalid prefix (${ie})`);Fe=Le(Fe)^Or>>5}Fe=Le(Fe);for(let We=0;Webr)throw new TypeError(`Length ${mt} exceeds limit ${br}`);const $=se.toLowerCase(),Y=gt($,Ie,He);return`${$}1${Gr.encode(Ie)}${Y}`}function ko(se,Ie=90){if("string"!=typeof se)throw new Error("bech32.decode input should be string, not "+typeof se);if(se.length<8||!1!==Ie&&se.length>Ie)throw new TypeError(`Wrong string length: ${se.length} (${se}). Expected (8..${Ie})`);const br=se.toLowerCase();if(se!==br&&se!==se.toUpperCase())throw new Error("String must be lowercase or uppercase");const mt=br.lastIndexOf("1");if(0===mt||-1===mt)throw new Error('Letter "1" must be present between prefix and data only');const $=br.slice(0,mt),Y=br.slice(mt+1);if(Y.length<6)throw new Error("Data must be at least 6 characters long");const it=Gr.decode(Y).slice(0,-6),Tt=gt($,it,He);if(!Y.endsWith(Tt))throw new Error(`Invalid checksum in ${se}: expected "${Tt}"`);return{prefix:$,words:it}}return{encode:Or,decode:ko,encodeFromBytes:function be(se,Ie){return Or(se,Fe(Ie))},decodeToBytes:function Lt(se){const{prefix:Ie,words:br}=ko(se,!1);return{prefix:Ie,words:br,bytes:Me(br)}},decodeUnsafe:q(ko),fromWords:Me,fromWordsUnsafe:We,toWords:Fe}}const Ae=Nt("bech32")},9608:(i,a,r)=>{"use strict";r.d(a,{c:()=>Et});var o={};function s(x){if(!Number.isSafeInteger(x)||x<0)throw new Error(`Wrong positive integer: ${x}`)}function k(x,...C){if(!function y(x){return x instanceof Uint8Array||null!=x&&"object"==typeof x&&"Uint8Array"===x.constructor.name}(x))throw new Error("Expected Uint8Array");if(C.length>0&&!C.includes(x.length))throw new Error(`Expected Uint8Array of length ${C}, not of length=${x.length}`)}function I(x,C=!0){if(x.destroyed)throw new Error("Hash instance has been destroyed");if(C&&x.finished)throw new Error("Hash#digest() has already been called")}function W(x){return x instanceof Uint8Array||null!=x&&"object"==typeof x&&"Uint8Array"===x.constructor.name}r.r(o),r.d(o,{OG:()=>mi,My:()=>Si,Ph:()=>Mn,lX:()=>na,Id:()=>Jn,fg:()=>fa,qj:()=>qn,aT:()=>ua,lq:()=>fi,z:()=>Go,Q5:()=>hi});const q=x=>new DataView(x.buffer,x.byteOffset,x.byteLength),ct=(x,C)=>x<<32-C|x>>>C;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const tt=Array.from({length:256},(x,C)=>C.toString(16).padStart(2,"0")),Mt={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function $t(x){return x>=Mt._0&&x<=Mt._9?x-Mt._0:x>=Mt._A&&x<=Mt._F?x-(Mt._A-10):x>=Mt._a&&x<=Mt._f?x-(Mt._a-10):void 0}function rt(x){if("string"!=typeof x)throw new Error("utf8ToBytes expected string, got "+typeof x);return new Uint8Array((new TextEncoder).encode(x))}function yt(x){if("string"==typeof x&&(x=rt(x)),!W(x))throw new Error("expected Uint8Array, got "+typeof x);return x}function Ct(...x){let C=0;for(let pt=0;ptx().update(yt(pt)).digest(),F=x();return C.outputLen=F.outputLen,C.blockLen=F.blockLen,C.create=()=>x(),C}class Gr extends Vt{constructor(C,F){super(),this.finished=!1,this.destroyed=!1,function S(x){if("function"!=typeof x||"function"!=typeof x.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");s(x.outputLen),s(x.blockLen)}(C);const pt=yt(F);if(this.iHash=C.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Ot=this.blockLen,ae=new Uint8Array(Ot);ae.set(pt.length>Ot?C.create().update(pt).digest():pt);for(let Ue=0;Uenew Gr(x,C).update(F).digest();xe.create=(x,C)=>new Gr(x,C);class gt extends Vt{constructor(C,F,pt,Ot){super(),this.blockLen=C,this.outputLen=F,this.padOffset=pt,this.isLE=Ot,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(C),this.view=q(this.buffer)}update(C){I(this);const{view:F,buffer:pt,blockLen:Ot}=this,ae=(C=yt(C)).length;for(let Ue=0;UeOt-Ue&&(this.process(pt,0),Ue=0);for(let ze=Ue;ze>Ot&ae),Ve=Number(F&ae),sr=pt?0:4;x.setUint32(C+(pt?4:0),Ue,pt),x.setUint32(C+sr,Ve,pt)})(pt,Ot-8,BigInt(8*this.length),ae),this.process(pt,0);const Ve=q(C),Ze=this.outputLen;if(Ze%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=Ze/4,Ir=this.get();if(sr>Ir.length)throw new Error("_sha2: outputLen bigger than state");for(let ze=0;zeC);let de=[Ae],jt=[Ae.map(x=>(9*x+5)%16)];for(let x=0;x<4;x++)for(let C of[de,jt])C.push(C[x].map(F=>Nt[F]));const De=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(x=>new Uint8Array(x)),Ye=de.map((x,C)=>x.map(F=>De[C][F])),ft=jt.map((x,C)=>x.map(F=>De[C][F])),pe=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Ut=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),Ee=(x,C)=>x<>>32-C;function ie(x,C,F,pt){return 0===x?C^F^pt:1===x?C&F|~C&pt:2===x?(C|~F)^pt:3===x?C&pt|F&~pt:C^(F|~pt)}const He=new Uint32Array(16);class Wt extends gt{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:C,h1:F,h2:pt,h3:Ot,h4:ae}=this;return[C,F,pt,Ot,ae]}set(C,F,pt,Ot,ae){this.h0=0|C,this.h1=0|F,this.h2=0|pt,this.h3=0|Ot,this.h4=0|ae}process(C,F){for(let _r=0;_r<16;_r++,F+=4)He[_r]=C.getUint32(F,!0);let pt=0|this.h0,Ot=pt,ae=0|this.h1,Ue=ae,Ve=0|this.h2,Ze=Ve,sr=0|this.h3,Ir=sr,ze=0|this.h4,nr=ze;for(let _r=0;_r<5;_r++){const Zr=4-_r,Mr=pe[_r],Xr=Ut[_r],Jr=de[_r],fo=jt[_r],Vr=Ye[_r],Do=ft[_r];for(let Io=0;Io<16;Io++){const Yr=Ee(pt+ie(_r,ae,Ve,sr)+He[Jr[Io]]+Mr,Vr[Io])+ze|0;pt=ze,ze=sr,sr=0|Ee(Ve,10),Ve=ae,ae=Yr}for(let Io=0;Io<16;Io++){const Yr=Ee(Ot+ie(Zr,Ue,Ze,Ir)+He[fo[Io]]+Xr,Do[Io])+nr|0;Ot=nr,nr=Ir,Ir=0|Ee(Ze,10),Ze=Ue,Ue=Yr}}this.set(this.h1+Ve+Ir|0,this.h2+sr+nr|0,this.h3+ze+Ot|0,this.h4+pt+Ue|0,this.h0+ae+Ze|0)}roundClean(){He.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const Me=Xe(()=>new Wt),Fe=(x,C,F)=>x&C^~x&F,We=(x,C,F)=>x&C^x&F^C&F,Or=new Uint32Array([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]),ko=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),dr=new Uint32Array(64);class Lt extends gt{constructor(){super(64,32,8,!1),this.A=0|ko[0],this.B=0|ko[1],this.C=0|ko[2],this.D=0|ko[3],this.E=0|ko[4],this.F=0|ko[5],this.G=0|ko[6],this.H=0|ko[7]}get(){const{A:C,B:F,C:pt,D:Ot,E:ae,F:Ue,G:Ve,H:Ze}=this;return[C,F,pt,Ot,ae,Ue,Ve,Ze]}set(C,F,pt,Ot,ae,Ue,Ve,Ze){this.A=0|C,this.B=0|F,this.C=0|pt,this.D=0|Ot,this.E=0|ae,this.F=0|Ue,this.G=0|Ve,this.H=0|Ze}process(C,F){for(let ze=0;ze<16;ze++,F+=4)dr[ze]=C.getUint32(F,!1);for(let ze=16;ze<64;ze++){const nr=dr[ze-15],_r=dr[ze-2],Zr=ct(nr,7)^ct(nr,18)^nr>>>3,Mr=ct(_r,17)^ct(_r,19)^_r>>>10;dr[ze]=Mr+dr[ze-7]+Zr+dr[ze-16]|0}let{A:pt,B:Ot,C:ae,D:Ue,E:Ve,F:Ze,G:sr,H:Ir}=this;for(let ze=0;ze<64;ze++){const _r=Ir+(ct(Ve,6)^ct(Ve,11)^ct(Ve,25))+Fe(Ve,Ze,sr)+Or[ze]+dr[ze]|0,Mr=(ct(pt,2)^ct(pt,13)^ct(pt,22))+We(pt,Ot,ae)|0;Ir=sr,sr=Ze,Ze=Ve,Ve=Ue+_r|0,Ue=ae,ae=Ot,Ot=pt,pt=_r+Mr|0}pt=pt+this.A|0,Ot=Ot+this.B|0,ae=ae+this.C|0,Ue=Ue+this.D|0,Ve=Ve+this.E|0,Ze=Ze+this.F|0,sr=sr+this.G|0,Ir=Ir+this.H|0,this.set(pt,Ot,ae,Ue,Ve,Ze,sr,Ir)}roundClean(){dr.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const se=Xe(()=>new Lt),br=BigInt(2**32-1),mt=BigInt(32);function $(x,C=!1){return C?{h:Number(x&br),l:Number(x>>mt&br)}:{h:0|Number(x>>mt&br),l:0|Number(x&br)}}const $e_split=function Y(x,C=!1){let F=new Uint32Array(x.length),pt=new Uint32Array(x.length);for(let Ot=0;Otx>>>F,$e_shrSL=(x,C,F)=>x<<32-F|C>>>F,$e_rotrSH=(x,C,F)=>x>>>F|C<<32-F,$e_rotrSL=(x,C,F)=>x<<32-F|C>>>F,$e_rotrBH=(x,C,F)=>x<<64-F|C>>>F-32,$e_rotrBL=(x,C,F)=>x>>>F-32|C<<64-F,$e_add=function qt(x,C,F,pt){const Ot=(C>>>0)+(pt>>>0);return{h:x+F+(Ot/2**32|0)|0,l:0|Ot}},$e_add3L=(x,C,F)=>(x>>>0)+(C>>>0)+(F>>>0),$e_add3H=(x,C,F,pt)=>C+F+pt+(x/2**32|0)|0,$e_add4L=(x,C,F,pt)=>(x>>>0)+(C>>>0)+(F>>>0)+(pt>>>0),$e_add4H=(x,C,F,pt,Ot)=>C+F+pt+Ot+(x/2**32|0)|0,$e_add5H=(x,C,F,pt,Ot,ae)=>C+F+pt+Ot+ae+(x/2**32|0)|0,$e_add5L=(x,C,F,pt,Ot)=>(x>>>0)+(C>>>0)+(F>>>0)+(pt>>>0)+(Ot>>>0),[_e,qe]=$e_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(x=>BigInt(x))),ke=new Uint32Array(80),me=new Uint32Array(80);class Yt extends gt{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:C,Al:F,Bh:pt,Bl:Ot,Ch:ae,Cl:Ue,Dh:Ve,Dl:Ze,Eh:sr,El:Ir,Fh:ze,Fl:nr,Gh:_r,Gl:Zr,Hh:Mr,Hl:Xr}=this;return[C,F,pt,Ot,ae,Ue,Ve,Ze,sr,Ir,ze,nr,_r,Zr,Mr,Xr]}set(C,F,pt,Ot,ae,Ue,Ve,Ze,sr,Ir,ze,nr,_r,Zr,Mr,Xr){this.Ah=0|C,this.Al=0|F,this.Bh=0|pt,this.Bl=0|Ot,this.Ch=0|ae,this.Cl=0|Ue,this.Dh=0|Ve,this.Dl=0|Ze,this.Eh=0|sr,this.El=0|Ir,this.Fh=0|ze,this.Fl=0|nr,this.Gh=0|_r,this.Gl=0|Zr,this.Hh=0|Mr,this.Hl=0|Xr}process(C,F){for(let Vr=0;Vr<16;Vr++,F+=4)ke[Vr]=C.getUint32(F),me[Vr]=C.getUint32(F+=4);for(let Vr=16;Vr<80;Vr++){const Do=0|ke[Vr-15],Io=0|me[Vr-15],Yr=$e_rotrSH(Do,Io,1)^$e_rotrSH(Do,Io,8)^$e_shrSH(Do,Io,7),tn=$e_rotrSL(Do,Io,1)^$e_rotrSL(Do,Io,8)^$e_shrSL(Do,Io,7),Xo=0|ke[Vr-2],Cn=0|me[Vr-2],qo=$e_rotrSH(Xo,Cn,19)^$e_rotrBH(Xo,Cn,61)^$e_shrSH(Xo,Cn,6),_n=$e_rotrSL(Xo,Cn,19)^$e_rotrBL(Xo,Cn,61)^$e_shrSL(Xo,Cn,6),Ei=$e_add4L(tn,_n,me[Vr-7],me[Vr-16]),oi=$e_add4H(Ei,Yr,qo,ke[Vr-7],ke[Vr-16]);ke[Vr]=0|oi,me[Vr]=0|Ei}let{Ah:pt,Al:Ot,Bh:ae,Bl:Ue,Ch:Ve,Cl:Ze,Dh:sr,Dl:Ir,Eh:ze,El:nr,Fh:_r,Fl:Zr,Gh:Mr,Gl:Xr,Hh:Jr,Hl:fo}=this;for(let Vr=0;Vr<80;Vr++){const Do=$e_rotrSH(ze,nr,14)^$e_rotrSH(ze,nr,18)^$e_rotrBH(ze,nr,41),Io=$e_rotrSL(ze,nr,14)^$e_rotrSL(ze,nr,18)^$e_rotrBL(ze,nr,41),Yr=ze&_r^~ze&Mr,Xo=$e_add5L(fo,Io,nr&Zr^~nr&Xr,qe[Vr],me[Vr]),Cn=$e_add5H(Xo,Jr,Do,Yr,_e[Vr],ke[Vr]),qo=0|Xo,_n=$e_rotrSH(pt,Ot,28)^$e_rotrBH(pt,Ot,34)^$e_rotrBH(pt,Ot,39),Ei=$e_rotrSL(pt,Ot,28)^$e_rotrBL(pt,Ot,34)^$e_rotrBL(pt,Ot,39),oi=pt&ae^pt&Ve^ae&Ve,Wi=Ot&Ue^Ot&Ze^Ue&Ze;Jr=0|Mr,fo=0|Xr,Mr=0|_r,Xr=0|Zr,_r=0|ze,Zr=0|nr,({h:ze,l:nr}=$e_add(0|sr,0|Ir,0|Cn,0|qo)),sr=0|Ve,Ir=0|Ze,Ve=0|ae,Ze=0|Ue,ae=0|pt,Ue=0|Ot;const To=$e_add3L(qo,Ei,Wi);pt=$e_add3H(To,Cn,_n,oi),Ot=0|To}({h:pt,l:Ot}=$e_add(0|this.Ah,0|this.Al,0|pt,0|Ot)),({h:ae,l:Ue}=$e_add(0|this.Bh,0|this.Bl,0|ae,0|Ue)),({h:Ve,l:Ze}=$e_add(0|this.Ch,0|this.Cl,0|Ve,0|Ze)),({h:sr,l:Ir}=$e_add(0|this.Dh,0|this.Dl,0|sr,0|Ir)),({h:ze,l:nr}=$e_add(0|this.Eh,0|this.El,0|ze,0|nr)),({h:_r,l:Zr}=$e_add(0|this.Fh,0|this.Fl,0|_r,0|Zr)),({h:Mr,l:Xr}=$e_add(0|this.Gh,0|this.Gl,0|Mr,0|Xr)),({h:Jr,l:fo}=$e_add(0|this.Hh,0|this.Hl,0|Jr,0|fo)),this.set(pt,Ot,ae,Ue,Ve,Ze,sr,Ir,ze,nr,_r,Zr,Mr,Xr,Jr,fo)}roundClean(){ke.fill(0),me.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const Eo=Xe(()=>new Yt);function ni(x){if(!Number.isSafeInteger(x)||x<0)throw new Error(`Wrong positive integer: ${x}`)}function pi(x,...C){if(!(x instanceof Uint8Array))throw new Error("Expected Uint8Array");if(C.length>0&&!C.includes(x.length))throw new Error(`Expected Uint8Array of length ${C}, not of length=${x.length}`)}const Lr={number:ni,bool:function Fo(x){if("boolean"!=typeof x)throw new Error(`Expected boolean, not ${x}`)},bytes:pi,hash:function ei(x){if("function"!=typeof x||"function"!=typeof x.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");ni(x.outputLen),ni(x.blockLen)},exists:function Oe(x,C=!0){if(x.destroyed)throw new Error("Hash instance has been destroyed");if(C&&x.finished)throw new Error("Hash#digest() has already been called")},output:function Ke(x,C){pi(x);const F=C.outputLen;if(x.lengthx instanceof Uint8Array,Co=x=>new DataView(x.buffer,x.byteOffset,x.byteLength),ro=(x,C)=>x<<32-C|x>>>C;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function Ce(x){if("string"==typeof x&&(x=function Re(x){if("string"!=typeof x)throw new Error("utf8ToBytes expected string, got "+typeof x);return new Uint8Array((new TextEncoder).encode(x))}(x)),!ao(x))throw new Error("expected Uint8Array, got "+typeof x);return x}Array.from({length:256},(x,C)=>C.toString(16).padStart(2,"0"));class Cr{clone(){return this._cloneInto()}}function Fr(x){const C=pt=>x().update(Ce(pt)).digest(),F=x();return C.outputLen=F.outputLen,C.blockLen=F.blockLen,C.create=()=>x(),C}function xo(x=32){if(Ur&&"function"==typeof Ur.getRandomValues)return Ur.getRandomValues(new Uint8Array(x));throw new Error("crypto.getRandomValues must be defined")}class po extends Cr{constructor(C,F,pt,Ot){super(),this.blockLen=C,this.outputLen=F,this.padOffset=pt,this.isLE=Ot,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(C),this.view=Co(this.buffer)}update(C){Lr.exists(this);const{view:F,buffer:pt,blockLen:Ot}=this,ae=(C=Ce(C)).length;for(let Ue=0;UeOt-Ue&&(this.process(pt,0),Ue=0);for(let ze=Ue;ze>Ot&ae),Ve=Number(F&ae),sr=pt?0:4;x.setUint32(C+(pt?4:0),Ue,pt),x.setUint32(C+sr,Ve,pt)})(pt,Ot-8,BigInt(8*this.length),ae),this.process(pt,0);const Ve=Co(C),Ze=this.outputLen;if(Ze%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=Ze/4,Ir=this.get();if(sr>Ir.length)throw new Error("_sha2: outputLen bigger than state");for(let ze=0;zex&C^~x&F,Zn=(x,C,F)=>x&C^x&F^C&F,Di=new Uint32Array([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]),jn=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),$o=new Uint32Array(64);class Bn extends po{constructor(){super(64,32,8,!1),this.A=0|jn[0],this.B=0|jn[1],this.C=0|jn[2],this.D=0|jn[3],this.E=0|jn[4],this.F=0|jn[5],this.G=0|jn[6],this.H=0|jn[7]}get(){const{A:C,B:F,C:pt,D:Ot,E:ae,F:Ue,G:Ve,H:Ze}=this;return[C,F,pt,Ot,ae,Ue,Ve,Ze]}set(C,F,pt,Ot,ae,Ue,Ve,Ze){this.A=0|C,this.B=0|F,this.C=0|pt,this.D=0|Ot,this.E=0|ae,this.F=0|Ue,this.G=0|Ve,this.H=0|Ze}process(C,F){for(let ze=0;ze<16;ze++,F+=4)$o[ze]=C.getUint32(F,!1);for(let ze=16;ze<64;ze++){const nr=$o[ze-15],_r=$o[ze-2],Zr=ro(nr,7)^ro(nr,18)^nr>>>3,Mr=ro(_r,17)^ro(_r,19)^_r>>>10;$o[ze]=Mr+$o[ze-7]+Zr+$o[ze-16]|0}let{A:pt,B:Ot,C:ae,D:Ue,E:Ve,F:Ze,G:sr,H:Ir}=this;for(let ze=0;ze<64;ze++){const _r=Ir+(ro(Ve,6)^ro(Ve,11)^ro(Ve,25))+io(Ve,Ze,sr)+Di[ze]+$o[ze]|0,Mr=(ro(pt,2)^ro(pt,13)^ro(pt,22))+Zn(pt,Ot,ae)|0;Ir=sr,sr=Ze,Ze=Ve,Ve=Ue+_r|0,Ue=ae,ae=Ot,Ot=pt,pt=_r+Mr|0}pt=pt+this.A|0,Ot=Ot+this.B|0,ae=ae+this.C|0,Ue=Ue+this.D|0,Ve=Ve+this.E|0,Ze=Ze+this.F|0,sr=sr+this.G|0,Ir=Ir+this.H|0,this.set(pt,Ot,ae,Ue,Ve,Ze,sr,Ir)}roundClean(){$o.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class Hi extends Bn{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const nn=Fr(()=>new Bn),vi=(Fr(()=>new Hi),BigInt(0),BigInt(1)),ds=BigInt(2),da=x=>x instanceof Uint8Array,va=Array.from({length:256},(x,C)=>C.toString(16).padStart(2,"0"));function Si(x){if(!da(x))throw new Error("Uint8Array expected");let C="";for(let F=0;Fpt+Ot.length,0));let F=0;return x.forEach(pt=>{if(!da(pt))throw new Error("Uint8Array expected");C.set(pt,F),F+=pt.length}),C}const mi=x=>(ds<new Uint8Array(x),us=x=>Uint8Array.from(x);function fa(x,C,F){if("number"!=typeof x||x<2)throw new Error("hashLen must be a number");if("number"!=typeof C||C<2)throw new Error("qByteLen must be a number");if("function"!=typeof F)throw new Error("hmacFn must be a function");let pt=qi(x),Ot=qi(x),ae=0;const Ue=()=>{pt.fill(1),Ot.fill(0),ae=0},Ve=(...ze)=>F(Ot,pt,...ze),Ze=(ze=qi())=>{Ot=Ve(us([0]),ze),pt=Ve(),0!==ze.length&&(Ot=Ve(us([1]),ze),pt=Ve())},sr=()=>{if(ae++>=1e3)throw new Error("drbg: tried 1000 values");let ze=0;const nr=[];for(;ze{let _r;for(Ue(),Ze(ze);!(_r=nr(sr()));)Ze();return Ue(),_r}}const Ua={bigint:x=>"bigint"==typeof x,function:x=>"function"==typeof x,boolean:x=>"boolean"==typeof x,string:x=>"string"==typeof x,isSafeInteger:x=>Number.isSafeInteger(x),array:x=>Array.isArray(x),field:(x,C)=>C.Fp.isValid(x),hash:x=>"function"==typeof x&&Number.isSafeInteger(x.outputLen)};function hi(x,C,F={}){const pt=(Ot,ae,Ue)=>{const Ve=Ua[ae];if("function"!=typeof Ve)throw new Error(`Invalid validator "${ae}", expected function`);const Ze=x[Ot];if(!(Ue&&void 0===Ze||Ve(Ze,x)))throw new Error(`Invalid param ${String(Ot)}=${Ze} (${typeof Ze}), expected ${ae}`)};for(const[Ot,ae]of Object.entries(C))pt(Ot,ae,!1);for(const[Ot,ae]of Object.entries(F))pt(Ot,ae,!0);return x}const Jo=BigInt(0),On=BigInt(1),ia=BigInt(2),bi=BigInt(3),qa=BigInt(4),Vn=BigInt(5),xi=BigInt(8);function ti(x,C){const F=x%C;return F>=Jo?F:C+F}function aa(x,C,F){if(F<=Jo||C 0");if(F===On)return Jo;let pt=On;for(;C>Jo;)C&On&&(pt=pt*x%F),x=x*x%F,C>>=On;return pt}function Li(x,C,F){let pt=x;for(;C-- >Jo;)pt*=pt,pt%=F;return pt}function ma(x,C){if(x===Jo||C<=Jo)throw new Error(`invert: expected positive integers, got n=${x} mod=${C}`);let F=ti(x,C),pt=C,Ot=Jo,ae=On,Ue=On,Ve=Jo;for(;F!==Jo;){const sr=pt/F,Ir=pt%F,ze=Ot-Ue*sr,nr=ae-Ve*sr;pt=F,F=Ir,Ot=Ue,ae=Ve,Ue=ze,Ve=nr}if(pt!==On)throw new Error("invert: does not exist");return ti(Ot,C)}BigInt(9),BigInt(16);const G=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function jr(x,C){const F=void 0!==C?C:x.toString(2).length;return{nBitLength:F,nByteLength:Math.ceil(F/8)}}const Lo=BigInt(0),In=BigInt(1);function Un(x){return function Qt(x){hi(x,G.reduce((pt,Ot)=>(pt[Ot]="function",pt),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}(x.Fp),hi(x,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...jr(x.n,x.nBitLength),...x,p:x.Fp.ORDER})}const{Ph:wi,aT:Ji}=o,ri={Err:class extends Error{constructor(C=""){super(C)}},_parseInt(x){const{Err:C}=ri;if(x.length<2||2!==x[0])throw new C("Invalid signature integer tag");const F=x[1],pt=x.subarray(2,F+2);if(!F||pt.length!==F)throw new C("Invalid signature integer: wrong length");if(128&pt[0])throw new C("Invalid signature integer: negative");if(0===pt[0]&&!(128&pt[1]))throw new C("Invalid signature integer: unnecessary leading zero");return{d:wi(pt),l:x.subarray(F+2)}},toSig(x){const{Err:C}=ri,F="string"==typeof x?Ji(x):x;if(!(F instanceof Uint8Array))throw new Error("ui8a expected");let pt=F.length;if(pt<2||48!=F[0])throw new C("Invalid signature tag");if(F[1]!==pt-2)throw new C("Invalid signature: incorrect length");const{d:Ot,l:ae}=ri._parseInt(F.subarray(2)),{d:Ue,l:Ve}=ri._parseInt(ae);if(Ve.length)throw new C("Invalid signature: left bytes after parsing");return{r:Ot,s:Ue}},hexFromSig(x){const C=sr=>8&Number.parseInt(sr[0],16)?"00"+sr:sr,F=sr=>{const Ir=sr.toString(16);return 1&Ir.length?`0${Ir}`:Ir},pt=C(F(x.s)),Ot=C(F(x.r)),ae=pt.length/2,Ue=Ot.length/2,Ve=F(ae),Ze=F(Ue);return`30${F(Ue+ae+4)}02${Ze}${Ot}02${Ve}${pt}`}},Ki=BigInt(0),zn=BigInt(1),st=(BigInt(2),BigInt(3));function je(x){const C=function Bt(x){const C=Un(x);return hi(C,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...C})}(x),{Fp:F,n:pt}=C,Ot=F.BYTES+1,ae=2*F.BYTES+1;function Ve(To){return ti(To,pt)}function Ze(To){return ma(To,pt)}const{ProjectivePoint:sr,normPrivateKeyToScalar:Ir,weierstrassEquation:ze,isWithinCurveOrder:nr}=function X(x){const C=function Ti(x){const C=Un(x);hi(C,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:F,Fp:pt,a:Ot}=C;if(F){if(!pt.eql(Ot,pt.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof F||"bigint"!=typeof F.beta||"function"!=typeof F.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...C})}(x),{Fp:F}=C,pt=C.toBytes||((Zr,Mr,Xr)=>{const Jr=Mr.toAffine();return Jn(Uint8Array.from([4]),F.toBytes(Jr.x),F.toBytes(Jr.y))}),Ot=C.fromBytes||(Zr=>{const Mr=Zr.subarray(1);return{x:F.fromBytes(Mr.subarray(0,F.BYTES)),y:F.fromBytes(Mr.subarray(F.BYTES,2*F.BYTES))}});function ae(Zr){const{a:Mr,b:Xr}=C,Jr=F.sqr(Zr),fo=F.mul(Jr,Zr);return F.add(F.add(fo,F.mul(Zr,Mr)),Xr)}if(!F.eql(F.sqr(C.Gy),ae(C.Gx)))throw new Error("bad generator point: equation left != right");function Ue(Zr){return"bigint"==typeof Zr&&KiF.eql(Vr,F.ZERO);return fo(Xr)&&fo(Jr)?ze.ZERO:new ze(Xr,Jr,F.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Mr){const Xr=F.invertBatch(Mr.map(Jr=>Jr.pz));return Mr.map((Jr,fo)=>Jr.toAffine(Xr[fo])).map(ze.fromAffine)}static fromHex(Mr){const Xr=ze.fromAffine(Ot(qn("pointHex",Mr)));return Xr.assertValidity(),Xr}static fromPrivateKey(Mr){return ze.BASE.multiply(Ze(Mr))}_setWindowSize(Mr){this._WINDOW_SIZE=Mr,sr.delete(this)}assertValidity(){if(this.is0()){if(C.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:Mr,y:Xr}=this.toAffine();if(!F.isValid(Mr)||!F.isValid(Xr))throw new Error("bad point: x or y not FE");const Jr=F.sqr(Xr),fo=ae(Mr);if(!F.eql(Jr,fo))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Mr}=this.toAffine();if(F.isOdd)return!F.isOdd(Mr);throw new Error("Field doesn't support isOdd")}equals(Mr){Ir(Mr);const{px:Xr,py:Jr,pz:fo}=this,{px:Vr,py:Do,pz:Io}=Mr,Yr=F.eql(F.mul(Xr,Io),F.mul(Vr,fo)),tn=F.eql(F.mul(Jr,Io),F.mul(Do,fo));return Yr&&tn}negate(){return new ze(this.px,F.neg(this.py),this.pz)}double(){const{a:Mr,b:Xr}=C,Jr=F.mul(Xr,st),{px:fo,py:Vr,pz:Do}=this;let Io=F.ZERO,Yr=F.ZERO,tn=F.ZERO,Xo=F.mul(fo,fo),Cn=F.mul(Vr,Vr),qo=F.mul(Do,Do),_n=F.mul(fo,Vr);return _n=F.add(_n,_n),tn=F.mul(fo,Do),tn=F.add(tn,tn),Io=F.mul(Mr,tn),Yr=F.mul(Jr,qo),Yr=F.add(Io,Yr),Io=F.sub(Cn,Yr),Yr=F.add(Cn,Yr),Yr=F.mul(Io,Yr),Io=F.mul(_n,Io),tn=F.mul(Jr,tn),qo=F.mul(Mr,qo),_n=F.sub(Xo,qo),_n=F.mul(Mr,_n),_n=F.add(_n,tn),tn=F.add(Xo,Xo),Xo=F.add(tn,Xo),Xo=F.add(Xo,qo),Xo=F.mul(Xo,_n),Yr=F.add(Yr,Xo),qo=F.mul(Vr,Do),qo=F.add(qo,qo),Xo=F.mul(qo,_n),Io=F.sub(Io,Xo),tn=F.mul(qo,Cn),tn=F.add(tn,tn),tn=F.add(tn,tn),new ze(Io,Yr,tn)}add(Mr){Ir(Mr);const{px:Xr,py:Jr,pz:fo}=this,{px:Vr,py:Do,pz:Io}=Mr;let Yr=F.ZERO,tn=F.ZERO,Xo=F.ZERO;const Cn=C.a,qo=F.mul(C.b,st);let _n=F.mul(Xr,Vr),Ei=F.mul(Jr,Do),oi=F.mul(fo,Io),Wi=F.add(Xr,Jr),To=F.add(Vr,Do);Wi=F.mul(Wi,To),To=F.add(_n,Ei),Wi=F.sub(Wi,To),To=F.add(Xr,fo);let lo=F.add(Vr,Io);return To=F.mul(To,lo),lo=F.add(_n,oi),To=F.sub(To,lo),lo=F.add(Jr,fo),Yr=F.add(Do,Io),lo=F.mul(lo,Yr),Yr=F.add(Ei,oi),lo=F.sub(lo,Yr),Xo=F.mul(Cn,To),Yr=F.mul(qo,oi),Xo=F.add(Yr,Xo),Yr=F.sub(Ei,Xo),Xo=F.add(Ei,Xo),tn=F.mul(Yr,Xo),Ei=F.add(_n,_n),Ei=F.add(Ei,_n),oi=F.mul(Cn,oi),To=F.mul(qo,To),Ei=F.add(Ei,oi),oi=F.sub(_n,oi),oi=F.mul(Cn,oi),To=F.add(To,oi),_n=F.mul(Ei,To),tn=F.add(tn,_n),_n=F.mul(lo,To),Yr=F.mul(Wi,Yr),Yr=F.sub(Yr,_n),_n=F.mul(Wi,Ei),Xo=F.mul(lo,Xo),Xo=F.add(Xo,_n),new ze(Yr,tn,Xo)}subtract(Mr){return this.add(Mr.negate())}is0(){return this.equals(ze.ZERO)}wNAF(Mr){return _r.wNAFCached(this,sr,Mr,Xr=>{const Jr=F.invertBatch(Xr.map(fo=>fo.pz));return Xr.map((fo,Vr)=>fo.toAffine(Jr[Vr])).map(ze.fromAffine)})}multiplyUnsafe(Mr){const Xr=ze.ZERO;if(Mr===Ki)return Xr;if(Ve(Mr),Mr===zn)return this;const{endo:Jr}=C;if(!Jr)return _r.unsafeLadder(this,Mr);let{k1neg:fo,k1:Vr,k2neg:Do,k2:Io}=Jr.splitScalar(Mr),Yr=Xr,tn=Xr,Xo=this;for(;Vr>Ki||Io>Ki;)Vr&zn&&(Yr=Yr.add(Xo)),Io&zn&&(tn=tn.add(Xo)),Xo=Xo.double(),Vr>>=zn,Io>>=zn;return fo&&(Yr=Yr.negate()),Do&&(tn=tn.negate()),tn=new ze(F.mul(tn.px,Jr.beta),tn.py,tn.pz),Yr.add(tn)}multiply(Mr){Ve(Mr);let Jr,fo,Xr=Mr;const{endo:Vr}=C;if(Vr){const{k1neg:Do,k1:Io,k2neg:Yr,k2:tn}=Vr.splitScalar(Xr);let{p:Xo,f:Cn}=this.wNAF(Io),{p:qo,f:_n}=this.wNAF(tn);Xo=_r.constTimeNegate(Do,Xo),qo=_r.constTimeNegate(Yr,qo),qo=new ze(F.mul(qo.px,Vr.beta),qo.py,qo.pz),Jr=Xo.add(qo),fo=Cn.add(_n)}else{const{p:Do,f:Io}=this.wNAF(Xr);Jr=Do,fo=Io}return ze.normalizeZ([Jr,fo])[0]}multiplyAndAddUnsafe(Mr,Xr,Jr){const fo=ze.BASE,Vr=(Io,Yr)=>Yr!==Ki&&Yr!==zn&&Io.equals(fo)?Io.multiply(Yr):Io.multiplyUnsafe(Yr),Do=Vr(this,Xr).add(Vr(Mr,Jr));return Do.is0()?void 0:Do}toAffine(Mr){const{px:Xr,py:Jr,pz:fo}=this,Vr=this.is0();null==Mr&&(Mr=Vr?F.ONE:F.inv(fo));const Do=F.mul(Xr,Mr),Io=F.mul(Jr,Mr),Yr=F.mul(fo,Mr);if(Vr)return{x:F.ZERO,y:F.ZERO};if(!F.eql(Yr,F.ONE))throw new Error("invZ was invalid");return{x:Do,y:Io}}isTorsionFree(){const{h:Mr,isTorsionFree:Xr}=C;if(Mr===zn)return!0;if(Xr)return Xr(ze,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Mr,clearCofactor:Xr}=C;return Mr===zn?this:Xr?Xr(ze,this):this.multiplyUnsafe(C.h)}toRawBytes(Mr=!0){return this.assertValidity(),pt(ze,this,Mr)}toHex(Mr=!0){return Si(this.toRawBytes(Mr))}}ze.BASE=new ze(C.Gx,C.Gy,F.ONE),ze.ZERO=new ze(F.ZERO,F.ONE,F.ZERO);const nr=C.nBitLength,_r=function Ai(x,C){const F=(Ot,ae)=>{const Ue=ae.negate();return Ot?Ue:ae},pt=Ot=>({windows:Math.ceil(C/Ot)+1,windowSize:2**(Ot-1)});return{constTimeNegate:F,unsafeLadder(Ot,ae){let Ue=x.ZERO,Ve=Ot;for(;ae>Lo;)ae&In&&(Ue=Ue.add(Ve)),Ve=Ve.double(),ae>>=In;return Ue},precomputeWindow(Ot,ae){const{windows:Ue,windowSize:Ve}=pt(ae),Ze=[];let sr=Ot,Ir=sr;for(let ze=0;ze>=_r,Xr>Ze&&(Xr-=nr,Ue+=In);const Jr=Mr,fo=Mr+Math.abs(Xr)-1,Do=Xr<0;0===Xr?Ir=Ir.add(F(Zr%2!=0,ae[Jr])):sr=sr.add(F(Do,ae[fo]))}return{p:sr,f:Ir}},wNAFCached(Ot,ae,Ue,Ve){const Ze=Ot._WINDOW_SIZE||1;let sr=ae.get(Ot);return sr||(sr=this.precomputeWindow(Ot,Ze),1!==Ze&&ae.set(Ot,Ve(sr))),this.wNAF(Ze,sr,Ue)}}}(ze,C.endo?Math.ceil(nr/2):nr);return{CURVE:C,ProjectivePoint:ze,normPrivateKeyToScalar:Ze,weierstrassEquation:ae,isWithinCurveOrder:Ue}}({...C,toBytes(To,lo,vn){const Rn=lo.toAffine(),mo=F.toBytes(Rn.x),Mi=Jn;return vn?Mi(Uint8Array.from([lo.hasEvenY()?2:3]),mo):Mi(Uint8Array.from([4]),mo,F.toBytes(Rn.y))},fromBytes(To){const lo=To.length,vn=To[0],Rn=To.subarray(1);if(lo!==Ot||2!==vn&&3!==vn){if(lo===ae&&4===vn)return{x:F.fromBytes(Rn.subarray(0,F.BYTES)),y:F.fromBytes(Rn.subarray(F.BYTES,2*F.BYTES))};throw new Error(`Point of length ${lo} was invalid. Expected ${Ot} compressed bytes or ${ae} uncompressed bytes`)}{const mo=Mn(Rn);if(!function Ue(To){return KiSi(fi(To,C.nByteLength));function Zr(To){return To>pt>>zn}const Xr=(To,lo,vn)=>Mn(To.slice(lo,vn));class Jr{constructor(lo,vn,Rn){this.r=lo,this.s=vn,this.recovery=Rn,this.assertValidity()}static fromCompact(lo){const vn=C.nByteLength;return lo=qn("compactSignature",lo,2*vn),new Jr(Xr(lo,0,vn),Xr(lo,vn,2*vn))}static fromDER(lo){const{r:vn,s:Rn}=ri.toSig(qn("DER",lo));return new Jr(vn,Rn)}assertValidity(){if(!nr(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!nr(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(lo){return new Jr(this.r,this.s,lo)}recoverPublicKey(lo){const{r:vn,s:Rn,recovery:mo}=this,Mi=tn(qn("msgHash",lo));if(null==mo||![0,1,2,3].includes(mo))throw new Error("recovery id invalid");const ra=2===mo||3===mo?vn+C.n:vn;if(ra>=F.ORDER)throw new Error("recovery id 2 or 3 invalid");const bs=sr.fromHex((1&mo?"03":"02")+_r(ra)),ba=Ze(ra),yi=Ve(-Mi*ba),Po=Ve(Rn*ba),li=sr.BASE.multiplyAndAddUnsafe(bs,yi,Po);if(!li)throw new Error("point at infinify");return li.assertValidity(),li}hasHighS(){return Zr(this.s)}normalizeS(){return this.hasHighS()?new Jr(this.r,Ve(-this.s),this.recovery):this}toDERRawBytes(){return ua(this.toDERHex())}toDERHex(){return ri.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return ua(this.toCompactHex())}toCompactHex(){return _r(this.r)+_r(this.s)}}const fo={isValidPrivateKey(To){try{return Ir(To),!0}catch{return!1}},normPrivateKeyToScalar:Ir,randomPrivateKey:()=>{const lo=function mn(x,C,F=!1){const pt=(x=qn("privateHash",x)).length,Ot=jr(C).nByteLength+8;if(Ot<24||pt1024)throw new Error(`hashToPrivateScalar: expected ${Ot}-1024 bytes of input, got ${pt}`);return ti(F?na(x):Mn(x),C-On)+On}(C.randomBytes(F.BYTES+8),pt);return fi(lo,C.nByteLength)},precompute:(To=8,lo=sr.BASE)=>(lo._setWindowSize(To),lo.multiply(BigInt(3)),lo)};function Do(To){const lo=To instanceof Uint8Array,vn="string"==typeof To,Rn=(lo||vn)&&To.length;return lo?Rn===Ot||Rn===ae:vn?Rn===2*Ot||Rn===2*ae:To instanceof sr}const Yr=C.bits2int||function(To){const lo=Mn(To),vn=8*To.length-C.nBitLength;return vn>0?lo>>BigInt(vn):lo},tn=C.bits2int_modN||function(To){return Ve(Yr(To))},Xo=mi(C.nBitLength);function Cn(To){if("bigint"!=typeof To)throw new Error("bigint expected");if(!(Ki<=To&&ToHa in vn))throw new Error("sign() legacy options not supported");const{hash:Rn,randomBytes:mo}=C;let{lowS:Mi,prehash:ra,extraEntropy:Bi}=vn;null==Mi&&(Mi=!0),To=qn("msgHash",To),ra&&(To=qn("prehashed msgHash",Rn(To)));const bs=tn(To),ba=Ir(lo),yi=[Cn(ba),Cn(bs)];if(null!=Bi){const Ha=!0===Bi?mo(F.BYTES):Bi;yi.push(qn("extraEntropy",Ha,F.BYTES))}const Po=Jn(...yi),li=bs;return{seed:Po,k2sig:function Ii(Ha){const la=Yr(Ha);if(!nr(la))return;const jo=Ze(la),Ci=sr.BASE.multiply(la).toAffine(),Ca=Ve(Ci.x);if(Ca===Ki)return;const ws=Ve(jo*Ve(li+Ca*ba));if(ws===Ki)return;let El=(Ci.x===Ca?0:2)|Number(Ci.y&zn),Uc=ws;return Mi&&Zr(ws)&&(Uc=function Mr(To){return Zr(To)?Ve(-To):To}(ws),El^=1),new Jr(Ca,Uc,El)}}}(To,lo,vn);return fa(C.hash.outputLen,C.nByteLength,C.hmac)(Rn,mo)},verify:function Wi(To,lo,vn,Rn=Ei){const mo=To;if(lo=qn("msgHash",lo),vn=qn("publicKey",vn),"strict"in Rn)throw new Error("options.strict was renamed to lowS");const{lowS:Mi,prehash:ra}=Rn;let Bi,bs;try{if("string"==typeof mo||mo instanceof Uint8Array)try{Bi=Jr.fromDER(mo)}catch(Ci){if(!(Ci instanceof ri.Err))throw Ci;Bi=Jr.fromCompact(mo)}else{if("object"!=typeof mo||"bigint"!=typeof mo.r||"bigint"!=typeof mo.s)throw new Error("PARSE");{const{r:Ci,s:Ca}=mo;Bi=new Jr(Ci,Ca)}}bs=sr.fromHex(vn)}catch(Ci){if("PARSE"===Ci.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(Mi&&Bi.hasHighS())return!1;ra&&(lo=C.hash(lo));const{r:ba,s:yi}=Bi,Po=tn(lo),li=Ze(yi),Ii=Ve(Po*li),Ha=Ve(ba*li),la=sr.BASE.multiplyAndAddUnsafe(bs,Ii,Ha)?.toAffine();return!!la&&Ve(la.x)===ba},ProjectivePoint:sr,Signature:Jr,utils:fo}}BigInt(4);class rl extends Cr{constructor(C,F){super(),this.finished=!1,this.destroyed=!1,Lr.hash(C);const pt=Ce(F);if(this.iHash=C.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Ot=this.blockLen,ae=new Uint8Array(Ot);ae.set(pt.length>Ot?C.create().update(pt).digest():pt);for(let Ue=0;Uenew rl(x,C).update(F).digest();function Fi(x){return{hash:x,hmac:(C,...F)=>cn(x,C,function or(...x){const C=new Uint8Array(x.reduce((pt,Ot)=>pt+Ot.length,0));let F=0;return x.forEach(pt=>{if(!ao(pt))throw new Error("Uint8Array expected");C.set(pt,F),F+=pt.length}),C}(...F)),randomBytes:xo}}cn.create=(x,C)=>new rl(x,C);const ta=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Vi=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Ks=BigInt(1),Ss=BigInt(2),sa=(x,C)=>(x+C/Ss)/C;const As=function Oo(x,C,F=!1,pt={}){if(x<=Jo)throw new Error(`Expected Fp ORDER > 0, got ${x}`);const{nBitLength:Ot,nByteLength:ae}=jr(x,C);if(ae>2048)throw new Error("Field lengths over 2048 bytes are not supported");const Ue=function _i(x){if(x%qa===bi){const C=(x+On)/qa;return function(pt,Ot){const ae=pt.pow(Ot,C);if(!pt.eql(pt.sqr(ae),Ot))throw new Error("Cannot find square root");return ae}}if(x%xi===Vn){const C=(x-Vn)/xi;return function(pt,Ot){const ae=pt.mul(Ot,ia),Ue=pt.pow(ae,C),Ve=pt.mul(Ot,Ue),Ze=pt.mul(pt.mul(Ve,ia),Ue),sr=pt.mul(Ve,pt.sub(Ze,pt.ONE));if(!pt.eql(pt.sqr(sr),Ot))throw new Error("Cannot find square root");return sr}}return function Ja(x){const C=(x-On)/ia;let F,pt,Ot;for(F=x-On,pt=0;F%ia===Jo;F/=ia,pt++);for(Ot=ia;Otti(Ze,x),isValid:Ze=>{if("bigint"!=typeof Ze)throw new Error("Invalid field element: expected bigint, got "+typeof Ze);return Jo<=Ze&&ZeZe===Jo,isOdd:Ze=>(Ze&On)===On,neg:Ze=>ti(-Ze,x),eql:(Ze,sr)=>Ze===sr,sqr:Ze=>ti(Ze*Ze,x),add:(Ze,sr)=>ti(Ze+sr,x),sub:(Ze,sr)=>ti(Ze-sr,x),mul:(Ze,sr)=>ti(Ze*sr,x),pow:(Ze,sr)=>function et(x,C,F){if(F 0");if(F===Jo)return x.ONE;if(F===On)return C;let pt=x.ONE,Ot=C;for(;F>Jo;)F&On&&(pt=x.mul(pt,Ot)),Ot=x.sqr(Ot),F>>=On;return pt}(Ve,Ze,sr),div:(Ze,sr)=>ti(Ze*ma(sr,x),x),sqrN:Ze=>Ze*Ze,addN:(Ze,sr)=>Ze+sr,subN:(Ze,sr)=>Ze-sr,mulN:(Ze,sr)=>Ze*sr,inv:Ze=>ma(Ze,x),sqrt:pt.sqrt||(Ze=>Ue(Ve,Ze)),invertBatch:Ze=>function te(x,C){const F=new Array(C.length),pt=C.reduce((ae,Ue,Ve)=>x.is0(Ue)?ae:(F[Ve]=ae,x.mul(ae,Ue)),x.ONE),Ot=x.inv(pt);return C.reduceRight((ae,Ue,Ve)=>x.is0(Ue)?ae:(F[Ve]=x.mul(ae,F[Ve]),x.mul(ae,Ue)),Ot),F}(Ve,Ze),cmov:(Ze,sr,Ir)=>Ir?sr:Ze,toBytes:Ze=>F?Go(Ze,ae):fi(Ze,ae),fromBytes:Ze=>{if(Ze.length!==ae)throw new Error(`Fp.fromBytes: expected ${ae}, got ${Ze.length}`);return F?na(Ze):Mn(Ze)}});return Object.freeze(Ve)}(ta,void 0,void 0,{sqrt:function xc(x){const C=ta,F=BigInt(3),pt=BigInt(6),Ot=BigInt(11),ae=BigInt(22),Ue=BigInt(23),Ve=BigInt(44),Ze=BigInt(88),sr=x*x*x%C,Ir=sr*sr*x%C,ze=Li(Ir,F,C)*Ir%C,nr=Li(ze,F,C)*Ir%C,_r=Li(nr,Ss,C)*sr%C,Zr=Li(_r,Ot,C)*_r%C,Mr=Li(Zr,ae,C)*Zr%C,Xr=Li(Mr,Ve,C)*Mr%C,Jr=Li(Xr,Ze,C)*Xr%C,fo=Li(Jr,Ve,C)*Mr%C,Vr=Li(fo,F,C)*Ir%C,Do=Li(Vr,Ue,C)*Zr%C,Io=Li(Do,pt,C)*sr%C,Yr=Li(Io,Ss,C);if(!As.eql(As.sqr(Yr),x))throw new Error("Cannot find square root");return Yr}}),Oi=function rn(x,C){const F=pt=>je({...x,...Fi(pt)});return Object.freeze({...F(C),create:F})}({a:BigInt(0),b:BigInt(7),Fp:As,n:Vi,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:x=>{const C=Vi,F=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),pt=-Ks*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),Ot=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),ae=F,Ue=BigInt("0x100000000000000000000000000000000"),Ve=sa(ae*x,C),Ze=sa(-pt*x,C);let sr=ti(x-Ve*F-Ze*Ot,C),Ir=ti(-Ve*pt-Ze*ae,C);const ze=sr>Ue,nr=Ir>Ue;if(ze&&(sr=C-sr),nr&&(Ir=C-Ir),sr>Ue||Ir>Ue)throw new Error("splitScalar: Endomorphism failed, k="+x);return{k1neg:ze,k1:sr,k2neg:nr,k2:Ir}}}},nn);BigInt(0);var hs=r(3813);const gi=Oi.ProjectivePoint,gs=(0,hs.Tq)(se);function lc(x){return BigInt(`0x${function _t(x){if(!W(x))throw new Error("Uint8Array expected");let C="";for(let F=0;F{if(!Number.isSafeInteger(x)||x<0||x>2**32-1)throw new Error(`Invalid number=${x}. Should be from 0 to 2 ** 32 - 1`);const C=new Uint8Array(4);return q(C).setUint32(0,x,!1),C};class Et{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return q(this.pubHash).getUint32(0,!1)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const C=this.privateKey;if(!C)throw new Error("No private key");return gs.encode(this.serialize(this.versions.private,Ct(new Uint8Array([0]),C)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return gs.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(C,F=fs){if(k(C),8*C.length<128||8*C.length>512)throw new Error(`HDKey: wrong seed length=${C.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const pt=xe(Eo,ca,C);return new Et({versions:F,chainCode:pt.slice(32),privateKey:pt.slice(0,32)})}static fromExtendedKey(C,F=fs){const pt=gs.decode(C),Ot=q(pt),ae=Ot.getUint32(0,!1),Ue={versions:F,depth:pt[4],parentFingerprint:Ot.getUint32(5,!1),index:Ot.getUint32(9,!1),chainCode:pt.slice(13,45)},Ve=pt.slice(45),Ze=0===Ve[0];if(ae!==F[Ze?"private":"public"])throw new Error("Version mismatch");return new Et(Ze?{...Ue,privateKey:Ve.slice(1)}:{...Ue,publicKey:Ve})}static fromJSON(C){return Et.fromExtendedKey(C.xpriv)}constructor(C){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!C||"object"!=typeof C)throw new Error("HDKey.constructor must not be called directly");if(this.versions=C.versions||fs,this.depth=C.depth||0,this.chainCode=C.chainCode,this.index=C.index||0,this.parentFingerprint=C.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(C.publicKey&&C.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(C.privateKey){if(!Oi.utils.isValidPrivateKey(C.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof C.privateKey?C.privateKey:lc(C.privateKey),this.privKeyBytes=function Is(x){return function At(x){if("string"!=typeof x)throw new Error("hex string expected, got "+typeof x);const C=x.length,F=C/2;if(C%2)throw new Error("padded hex string expected, got unpadded hex of length "+C);const pt=new Uint8Array(F);for(let Ot=0,ae=0;Ot=gn)throw new Error("Invalid index");"'"===ae[2]&&(Ue+=gn),pt=pt.deriveChild(Ue)}return pt}deriveChild(C){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let F=B(C);if(C>=gn){const Ve=this.privateKey;if(!Ve)throw new Error("Could not derive hardened child key");F=Ct(new Uint8Array([0]),Ve,F)}else F=Ct(this.pubKey,F);const pt=xe(Eo,this.chainCode,F),Ot=lc(pt.slice(0,32)),ae=pt.slice(32);if(!Oi.utils.isValidPrivateKey(Ot))throw new Error("Tweak bigger than curve order");const Ue={versions:this.versions,chainCode:ae,depth:this.depth+1,parentFingerprint:this.fingerprint,index:C};try{if(this.privateKey){const Ve=ti(this.privKey+Ot,Oi.CURVE.n);if(!Oi.utils.isValidPrivateKey(Ve))throw new Error("The tweak was out of range or the resulted private key is invalid");Ue.privateKey=Ve}else{const Ve=gi.fromHex(this.pubKey).add(gi.fromPrivateKey(Ot));if(Ve.equals(gi.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");Ue.publicKey=Ve.toRawBytes(!0)}return new Et(Ue)}catch{return this.deriveChild(C+1)}}sign(C){if(!this.privateKey)throw new Error("No privateKey set!");return k(C,32),Oi.sign(C,this.privKey).toCompactRawBytes()}verify(C,F){if(k(C,32),k(F,64),!this.publicKey)throw new Error("No publicKey set!");let pt;try{pt=Oi.Signature.fromCompact(F)}catch{return!1}return Oi.verify(pt,C,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(C,F){if(!this.chainCode)throw new Error("No chainCode set");return k(F,33),Ct(B(C),new Uint8Array([this.depth]),B(this.parentFingerprint),B(this.index),this.chainCode,F)}}},9673:(i,a,r)=>{"use strict";function o(Oe){if(!Number.isSafeInteger(Oe)||Oe<0)throw new Error(`Wrong positive integer: ${Oe}`)}function y(Oe,...Ke){if(!function c(Oe){return Oe instanceof Uint8Array||null!=Oe&&"object"==typeof Oe&&"Uint8Array"===Oe.constructor.name}(Oe))throw new Error("Expected Uint8Array");if(Ke.length>0&&!Ke.includes(Oe.length))throw new Error(`Expected Uint8Array of length ${Ke}, not of length=${Oe.length}`)}function k(Oe){if("function"!=typeof Oe||"function"!=typeof Oe.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");o(Oe.outputLen),o(Oe.blockLen)}function S(Oe,Ke=!0){if(Oe.destroyed)throw new Error("Hash instance has been destroyed");if(Ke&&Oe.finished)throw new Error("Hash#digest() has already been called")}function I(Oe,Ke){y(Oe);const Dr=Ke.outputLen;if(Oe.lengthxr,kw:()=>ei,JB:()=>ni});const M={number:o,bool:function s(Oe){if("boolean"!=typeof Oe)throw new Error(`Expected boolean, not ${Oe}`)},bytes:y,hash:k,exists:S,output:I},R="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;const q=Oe=>new DataView(Oe.buffer,Oe.byteOffset,Oe.byteLength),ct=(Oe,Ke)=>Oe<<32-Ke|Oe>>>Ke;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function yt(Oe){if("string"==typeof Oe&&(Oe=function rt(Oe){if("string"!=typeof Oe)throw new Error("utf8ToBytes expected string, got "+typeof Oe);return new Uint8Array((new TextEncoder).encode(Oe))}(Oe)),!function W(Oe){return Oe instanceof Uint8Array||null!=Oe&&"object"==typeof Oe&&"Uint8Array"===Oe.constructor.name}(Oe))throw new Error("expected Uint8Array, got "+typeof Oe);return Oe}class Vt{clone(){return this._cloneInto()}}const Xt={}.toString;function Xe(Oe){const Ke=Lr=>Oe().update(yt(Lr)).digest(),Dr=Oe();return Ke.outputLen=Dr.outputLen,Ke.blockLen=Dr.blockLen,Ke.create=()=>Oe(),Ke}class Gr extends Vt{constructor(Ke,Dr){super(),this.finished=!1,this.destroyed=!1,k(Ke);const Lr=yt(Dr);if(this.iHash=Ke.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Ur=this.blockLen,ao=new Uint8Array(Ur);ao.set(Lr.length>Ur?Ke.create().update(Lr).digest():Lr);for(let no=0;nonew Gr(Oe,Ke).update(Dr).digest();xe.create=(Oe,Ke)=>new Gr(Oe,Ke);class jt extends Vt{constructor(Ke,Dr,Lr,Ur){super(),this.blockLen=Ke,this.outputLen=Dr,this.padOffset=Lr,this.isLE=Ur,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(Ke),this.view=q(this.buffer)}update(Ke){S(this);const{view:Dr,buffer:Lr,blockLen:Ur}=this,ao=(Ke=yt(Ke)).length;for(let no=0;noUr-no&&(this.process(Lr,0),no=0);for(let he=no;he>Ur&ao),vo=Number(Dr&ao),ro=Lr?0:4;Oe.setUint32(Ke+(Lr?4:0),no,Lr),Oe.setUint32(Ke+ro,vo,Lr)})(Lr,Ur-8,BigInt(8*this.length),ao),this.process(Lr,0);const vo=q(Ke),Co=this.outputLen;if(Co%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const ro=Co/4,Ht=this.get();if(ro>Ht.length)throw new Error("_sha2: outputLen bigger than state");for(let he=0;heOe&Ke^~Oe&Dr,Ye=(Oe,Ke,Dr)=>Oe&Ke^Oe&Dr^Ke&Dr,ft=new Uint32Array([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]),pe=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Ut=new Uint32Array(64);class Ee extends jt{constructor(){super(64,32,8,!1),this.A=0|pe[0],this.B=0|pe[1],this.C=0|pe[2],this.D=0|pe[3],this.E=0|pe[4],this.F=0|pe[5],this.G=0|pe[6],this.H=0|pe[7]}get(){const{A:Ke,B:Dr,C:Lr,D:Ur,E:ao,F:no,G:vo,H:Co}=this;return[Ke,Dr,Lr,Ur,ao,no,vo,Co]}set(Ke,Dr,Lr,Ur,ao,no,vo,Co){this.A=0|Ke,this.B=0|Dr,this.C=0|Lr,this.D=0|Ur,this.E=0|ao,this.F=0|no,this.G=0|vo,this.H=0|Co}process(Ke,Dr){for(let he=0;he<16;he++,Dr+=4)Ut[he]=Ke.getUint32(Dr,!1);for(let he=16;he<64;he++){const ce=Ut[he-15],dt=Ut[he-2],Gt=ct(ce,7)^ct(ce,18)^ce>>>3,Dt=ct(dt,17)^ct(dt,19)^dt>>>10;Ut[he]=Dt+Ut[he-7]+Gt+Ut[he-16]|0}let{A:Lr,B:Ur,C:ao,D:no,E:vo,F:Co,G:ro,H:Ht}=this;for(let he=0;he<64;he++){const dt=Ht+(ct(vo,6)^ct(vo,11)^ct(vo,25))+De(vo,Co,ro)+ft[he]+Ut[he]|0,Dt=(ct(Lr,2)^ct(Lr,13)^ct(Lr,22))+Ye(Lr,Ur,ao)|0;Ht=ro,ro=Co,Co=vo,vo=no+dt|0,no=ao,ao=Ur,Ur=Lr,Lr=dt+Dt|0}Lr=Lr+this.A|0,Ur=Ur+this.B|0,ao=ao+this.C|0,no=no+this.D|0,vo=vo+this.E|0,Co=Co+this.F|0,ro=ro+this.G|0,Ht=Ht+this.H|0,this.set(Lr,Ur,ao,no,vo,Co,ro,Ht)}roundClean(){Ut.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const He=Xe(()=>new Ee),Me=BigInt(2**32-1),Fe=BigInt(32);function We(Oe,Ke=!1){return Ke?{h:Number(Oe&Me),l:Number(Oe>>Fe&Me)}:{h:0|Number(Oe>>Fe&Me),l:0|Number(Oe&Me)}}const Pr_split=function Or(Oe,Ke=!1){let Dr=new Uint32Array(Oe.length),Lr=new Uint32Array(Oe.length);for(let Ur=0;UrOe>>>Dr,Pr_shrSL=(Oe,Ke,Dr)=>Oe<<32-Dr|Ke>>>Dr,Pr_rotrSH=(Oe,Ke,Dr)=>Oe>>>Dr|Ke<<32-Dr,Pr_rotrSL=(Oe,Ke,Dr)=>Oe<<32-Dr|Ke>>>Dr,Pr_rotrBH=(Oe,Ke,Dr)=>Oe<<64-Dr|Ke>>>Dr-32,Pr_rotrBL=(Oe,Ke,Dr)=>Oe>>>Dr-32|Ke<<64-Dr,Pr_add=function ye(Oe,Ke,Dr,Lr){const Ur=(Ke>>>0)+(Lr>>>0);return{h:Oe+Dr+(Ur/2**32|0)|0,l:0|Ur}},Pr_add3L=(Oe,Ke,Dr)=>(Oe>>>0)+(Ke>>>0)+(Dr>>>0),Pr_add3H=(Oe,Ke,Dr,Lr)=>Ke+Dr+Lr+(Oe/2**32|0)|0,Pr_add4L=(Oe,Ke,Dr,Lr)=>(Oe>>>0)+(Ke>>>0)+(Dr>>>0)+(Lr>>>0),Pr_add4H=(Oe,Ke,Dr,Lr,Ur)=>Ke+Dr+Lr+Ur+(Oe/2**32|0)|0,Pr_add5H=(Oe,Ke,Dr,Lr,Ur,ao)=>Ke+Dr+Lr+Ur+ao+(Oe/2**32|0)|0,Pr_add5L=(Oe,Ke,Dr,Lr,Ur)=>(Oe>>>0)+(Ke>>>0)+(Dr>>>0)+(Lr>>>0)+(Ur>>>0),[re,qt]=Pr_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(Oe=>BigInt(Oe))),Pt=new Uint32Array(80),ue=new Uint32Array(80);class mr extends jt{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:Ke,Al:Dr,Bh:Lr,Bl:Ur,Ch:ao,Cl:no,Dh:vo,Dl:Co,Eh:ro,El:Ht,Fh:he,Fl:ce,Gh:dt,Gl:Gt,Hh:Dt,Hl:ne}=this;return[Ke,Dr,Lr,Ur,ao,no,vo,Co,ro,Ht,he,ce,dt,Gt,Dt,ne]}set(Ke,Dr,Lr,Ur,ao,no,vo,Co,ro,Ht,he,ce,dt,Gt,Dt,ne){this.Ah=0|Ke,this.Al=0|Dr,this.Bh=0|Lr,this.Bl=0|Ur,this.Ch=0|ao,this.Cl=0|no,this.Dh=0|vo,this.Dl=0|Co,this.Eh=0|ro,this.El=0|Ht,this.Fh=0|he,this.Fl=0|ce,this.Gh=0|dt,this.Gl=0|Gt,this.Hh=0|Dt,this.Hl=0|ne}process(Ke,Dr){for(let or=0;or<16;or++,Dr+=4)Pt[or]=Ke.getUint32(Dr),ue[or]=Ke.getUint32(Dr+=4);for(let or=16;or<80;or++){const Cr=0|Pt[or-15],Er=0|ue[or-15],Nr=Pr_rotrSH(Cr,Er,1)^Pr_rotrSH(Cr,Er,8)^Pr_shrSH(Cr,Er,7),Fr=Pr_rotrSL(Cr,Er,1)^Pr_rotrSL(Cr,Er,8)^Pr_shrSL(Cr,Er,7),qr=0|Pt[or-2],to=0|ue[or-2],xo=Pr_rotrSH(qr,to,19)^Pr_rotrBH(qr,to,61)^Pr_shrSH(qr,to,6),Ao=Pr_rotrSL(qr,to,19)^Pr_rotrBL(qr,to,61)^Pr_shrSL(qr,to,6),po=Pr_add4L(Fr,Ao,ue[or-7],ue[or-16]),io=Pr_add4H(po,Nr,xo,Pt[or-7],Pt[or-16]);Pt[or]=0|io,ue[or]=0|po}let{Ah:Lr,Al:Ur,Bh:ao,Bl:no,Ch:vo,Cl:Co,Dh:ro,Dl:Ht,Eh:he,El:ce,Fh:dt,Fl:Gt,Gh:Dt,Gl:ne,Hh:Re,Hl:Ce}=this;for(let or=0;or<80;or++){const Cr=Pr_rotrSH(he,ce,14)^Pr_rotrSH(he,ce,18)^Pr_rotrBH(he,ce,41),Er=Pr_rotrSL(he,ce,14)^Pr_rotrSL(he,ce,18)^Pr_rotrBL(he,ce,41),Nr=he&dt^~he&Dt,qr=Pr_add5L(Ce,Er,ce&Gt^~ce&ne,qt[or],ue[or]),to=Pr_add5H(qr,Re,Cr,Nr,re[or],Pt[or]),xo=0|qr,Ao=Pr_rotrSH(Lr,Ur,28)^Pr_rotrBH(Lr,Ur,34)^Pr_rotrBH(Lr,Ur,39),po=Pr_rotrSL(Lr,Ur,28)^Pr_rotrBL(Lr,Ur,34)^Pr_rotrBL(Lr,Ur,39),io=Lr&ao^Lr&vo^ao&vo,Zn=Ur&no^Ur&Co^no&Co;Re=0|Dt,Ce=0|ne,Dt=0|dt,ne=0|Gt,dt=0|he,Gt=0|ce,({h:he,l:ce}=Pr_add(0|ro,0|Ht,0|to,0|xo)),ro=0|vo,Ht=0|Co,vo=0|ao,Co=0|no,ao=0|Lr,no=0|Ur;const Di=Pr_add3L(xo,po,Zn);Lr=Pr_add3H(Di,to,Ao,io),Ur=0|Di}({h:Lr,l:Ur}=Pr_add(0|this.Ah,0|this.Al,0|Lr,0|Ur)),({h:ao,l:no}=Pr_add(0|this.Bh,0|this.Bl,0|ao,0|no)),({h:vo,l:Co}=Pr_add(0|this.Ch,0|this.Cl,0|vo,0|Co)),({h:ro,l:Ht}=Pr_add(0|this.Dh,0|this.Dl,0|ro,0|Ht)),({h:he,l:ce}=Pr_add(0|this.Eh,0|this.El,0|he,0|ce)),({h:dt,l:Gt}=Pr_add(0|this.Fh,0|this.Fl,0|dt,0|Gt)),({h:Dt,l:ne}=Pr_add(0|this.Gh,0|this.Gl,0|Dt,0|ne)),({h:Re,l:Ce}=Pr_add(0|this.Hh,0|this.Hl,0|Re,0|Ce)),this.set(Lr,Ur,ao,no,vo,Co,ro,Ht,he,ce,dt,Gt,Dt,ne,Re,Ce)}roundClean(){Pt.fill(0),ue.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const tr=Xe(()=>new mr);var ke=r(3813);const me=Oe=>"\u3042\u3044\u3053\u304f\u3057\u3093"===Oe[0];function Yt(Oe){if("string"!=typeof Oe)throw new TypeError("Invalid mnemonic type: "+typeof Oe);return Oe.normalize("NFKD")}function Se(Oe){const Ke=Yt(Oe),Dr=Ke.split(" ");if(![12,15,18,21,24].includes(Dr.length))throw new Error("Invalid mnemonic");return{nfkd:Ke,words:Dr}}function ar(Oe){M.bytes(Oe,16,20,24,28,32)}function xr(Oe,Ke=128){if(M.number(Ke),Ke%32!=0||Ke>256)throw new TypeError("Invalid entropy");return function Yo(Oe,Ke){return ar(Oe),$n(Ke).encode(Oe).join(me(Ke)?"\u3000":" ")}(function vr(Oe=32){if(R&&"function"==typeof R.getRandomValues)return R.getRandomValues(new Uint8Array(Oe));throw new Error("crypto.getRandomValues must be defined")}(Ke/8),Oe)}const Eo=Oe=>{const Ke=8-Oe.length/4;return new Uint8Array([He(Oe)[0]>>Ke<{if("string"!=typeof Ke)throw new Error(`Wordlist: non-string element: ${Ke}`)}),ke.Wp.chain(ke.Wp.checksum(1,Eo),ke.Wp.radix2(11,!0),ke.Wp.alphabet(Oe))}function ni(Oe,Ke){try{!function Yn(Oe,Ke){const{words:Dr}=Se(Oe),Lr=$n(Ke).decode(Dr);ar(Lr)}(Oe,Ke)}catch{return!1}return!0}const Fo=Oe=>Yt(`mnemonic${Oe}`);function ei(Oe,Ke=""){return function Nt(Oe,Ke,Dr,Lr){const{c:Ur,dkLen:ao,DK:no,PRF:vo,PRFSalt:Co}=function Le(Oe,Ke,Dr,Lr){k(Oe);const Ur=function oe(Oe,Ke){if(void 0!==Ke&&"[object Object]"!==Xt.call(Ke))throw new Error("Options should be object or undefined");return Object.assign(Oe,Ke)}({dkLen:32,asyncTick:10},Lr),{c:ao,dkLen:no,asyncTick:vo}=Ur;if(o(ao),o(no),o(vo),ao<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const Co=yt(Ke),ro=yt(Dr),Ht=new Uint8Array(no),he=xe.create(Oe,Co),ce=he._cloneInto().update(ro);return{c:ao,dkLen:no,asyncTick:vo,DK:Ht,PRF:he,PRFSalt:ce}}(Oe,Ke,Dr,Lr);let ro;const Ht=new Uint8Array(4),he=q(Ht),ce=new Uint8Array(vo.outputLen);for(let dt=1,Gt=0;Gt{"use strict";r.d(a,{p:()=>o});const o="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n")},6568:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var o=r(4713),s=r(1860);const y=(0,o.A)(s.A,"Map")},7730:(i,a,r)=>{"use strict";r.d(a,{A:()=>Tt});var c=r(1319);const k=function y(It,ye){for(var ir=It.length;ir--;)if((0,c.A)(It[ir][0],ye))return ir;return-1};var I=Array.prototype.splice;function ht(It){var ye=-1,ir=null==It?0:It.length;for(this.clear();++ye-1},ht.prototype.set=function q(It,ye){var ir=this.__data__,Je=k(ir,It);return Je<0?(++this.size,ir.push([It,ye])):ir[Je][1]=ye,this};const tt=ht;var yt=r(6568);const Xt=(0,r(4713).A)(Object,"create");var xe=Object.prototype.hasOwnProperty;var Ae=Object.prototype.hasOwnProperty;function ft(It){var ye=-1,ir=null==It?0:It.length;for(this.clear();++ye{"use strict";r.d(a,{A:()=>c});const c=r(1860).A.Symbol},6726:(i,a,r)=>{"use strict";r.d(a,{A:()=>L});var c=r(6513),y=r(3744),k=r(9377),S=r(8606),I=r(8885),M=Object.prototype.hasOwnProperty;const L=function R(J,W){var q=(0,y.A)(J),ct=!q&&(0,c.A)(J),ht=!q&&!ct&&(0,k.A)(J),tt=!q&&!ct&&!ht&&(0,I.A)(J),_t=q||ct||ht||tt,Mt=_t?function o(J,W){for(var q=-1,ct=Array(J);++q{"use strict";r.d(a,{A:()=>S});var o=r(1827),s=r(1319),y=Object.prototype.hasOwnProperty;const S=function k(I,T,M){var R=I[T];(!y.call(I,T)||!(0,s.A)(R,M)||void 0===M&&!(T in I))&&(0,o.A)(I,T,M)}},1827:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});var o=r(4746);const c=function s(y,k,S){"__proto__"==k&&o.A?(0,o.A)(y,k,{configurable:!0,enumerable:!0,value:S,writable:!0}):y[k]=S}},5281:(i,a,r)=>{"use strict";r.d(a,{A:()=>ht});var o=r(6944),s=Object.prototype,c=s.hasOwnProperty,y=s.toString,k=o.A?o.A.toStringTag:void 0;var M=Object.prototype.toString;var q=o.A?o.A.toStringTag:void 0;const ht=function ct(tt){return null==tt?void 0===tt?"[object Undefined]":"[object Null]":q&&q in Object(tt)?function S(tt){var _t=c.call(tt,k),Mt=tt[k];try{tt[k]=void 0;var $t=!0}catch{}var At=y.call(tt);return $t&&(_t?tt[k]=Mt:delete tt[k]),At}(tt):function R(tt){return M.call(tt)}(tt)}},778:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){return function(y){return c(y)}}},9750:(i,a,r)=>{"use strict";r.d(a,{A:()=>k});const c=r(1860).A.Uint8Array,k=function y(S){var I=new S.constructor(S.byteLength);return new c(I).set(new c(S)),I}},9933:(i,a,r)=>{"use strict";r.d(a,{A:()=>T});var o=r(1860),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,c=s&&"object"==typeof module&&module&&!module.nodeType&&module,k=c&&c.exports===s?o.A.Buffer:void 0,S=k?k.allocUnsafe:void 0;const T=function I(M,R){if(R)return M.slice();var L=M.length,J=S?S(L):new M.constructor(L);return M.copy(J),J}},4314:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});var o=r(9750);const c=function s(y,k){var S=k?(0,o.A)(y.buffer):y.buffer;return new y.constructor(S,y.byteOffset,y.length)}},4528:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c,y){var k=-1,S=c.length;for(y||(y=Array(S));++k{"use strict";r.d(a,{A:()=>y});var o=r(1984),s=r(1827);const y=function c(k,S,I,T){var M=!I;I||(I={});for(var R=-1,L=S.length;++R{"use strict";r.d(a,{A:()=>c});var o=r(4713);const c=function(){try{var y=(0,o.A)(Object,"defineProperty");return y({},"",{}),y}catch{}}()},7133:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s="object"==typeof global&&global&&global.Object===Object&&global},4713:(i,a,r)=>{"use strict";r.d(a,{A:()=>kt});var nt,o=r(129),c=r(1860).A["__core-js_shared__"],k=(nt=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+nt:"";var T=r(554),M=r(8736),L=/^\[object .+?Constructor\]$/,ht=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const _t=function tt(nt){return!(!(0,T.A)(nt)||function S(nt){return!!k&&k in nt}(nt))&&((0,o.A)(nt)?ht:L).test((0,M.A)(nt))},kt=function At(nt,at){var rt=function Mt(nt,at){return nt?.[at]}(nt,at);return _t(rt)?rt:void 0}},8010:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});const c=(0,r(8992).A)(Object.getPrototypeOf,Object)},923:(i,a,r)=>{"use strict";r.d(a,{A:()=>T});var o=r(554),s=Object.create;const y=function(){function M(){}return function(R){if(!(0,o.A)(R))return{};if(s)return s(R);M.prototype=R;var L=new M;return M.prototype=void 0,L}}();var k=r(8010),S=r(5776);const T=function I(M){return"function"!=typeof M.constructor||(0,S.A)(M)?{}:y((0,k.A)(M))}},8606:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var s=/^(?:0|[1-9]\d*)$/;const y=function c(k,S){var I=typeof k;return!!(S=S??9007199254740991)&&("number"==I||"symbol"!=I&&s.test(k))&&k>-1&&k%1==0&&k{"use strict";r.d(a,{A:()=>c});var o=Object.prototype;const c=function s(y){var k=y&&y.constructor;return y===("function"==typeof k&&k.prototype||o)}},3340:(i,a,r)=>{"use strict";r.d(a,{A:()=>I});var o=r(7133),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,c=s&&"object"==typeof module&&module&&!module.nodeType&&module,k=c&&c.exports===s&&o.A.process;const I=function(){try{return c&&c.require&&c.require("util").types||k&&k.binding&&k.binding("util")}catch{}}()},8992:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c,y){return function(k){return c(y(k))}}},1860:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var o=r(7133),s="object"==typeof self&&self&&self.Object===Object&&self;const y=o.A||s||Function("return this")()},8736:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var s=Function.prototype.toString;const y=function c(k){if(null!=k){try{return s.call(k)}catch{}try{return k+""}catch{}}return""}},1319:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c,y){return c===y||c!=c&&y!=y}},7680:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){for(var y=-1,k=null==c?0:c.length,S={};++y{"use strict";r.d(a,{A:()=>R});var o=r(5281),s=r(2661);const k=function y(L){return(0,s.A)(L)&&"[object Arguments]"==(0,o.A)(L)};var S=Object.prototype,I=S.hasOwnProperty,T=S.propertyIsEnumerable;const R=k(function(){return arguments}())?k:function(L){return(0,s.A)(L)&&I.call(L,"callee")&&!T.call(L,"callee")}},3744:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=Array.isArray},1287:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var o=r(129),s=r(5481);const y=function c(k){return null!=k&&(0,s.A)(k.length)&&!(0,o.A)(k)}},9377:(i,a,r)=>{"use strict";r.d(a,{A:()=>R});var o=r(1860),y="object"==typeof exports&&exports&&!exports.nodeType&&exports,k=y&&"object"==typeof module&&module&&!module.nodeType&&module,I=k&&k.exports===y?o.A.Buffer:void 0;const R=(I?I.isBuffer:void 0)||function s(){return!1}},129:(i,a,r)=>{"use strict";r.d(a,{A:()=>T});var o=r(5281),s=r(554);const T=function I(M){if(!(0,s.A)(M))return!1;var R=(0,o.A)(M);return"[object Function]"==R||"[object GeneratorFunction]"==R||"[object AsyncFunction]"==R||"[object Proxy]"==R}},5481:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});const c=function s(y){return"number"==typeof y&&y>-1&&y%1==0&&y<=9007199254740991}},554:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){var y=typeof c;return null!=c&&("object"==y||"function"==y)}},2661:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){return null!=c&&"object"==typeof c}},8885:(i,a,r)=>{"use strict";r.d(a,{A:()=>Gr});var o=r(5281),s=r(5481),c=r(2661),Vt={};Vt["[object Float32Array]"]=Vt["[object Float64Array]"]=Vt["[object Int8Array]"]=Vt["[object Int16Array]"]=Vt["[object Int32Array]"]=Vt["[object Uint8Array]"]=Vt["[object Uint8ClampedArray]"]=Vt["[object Uint16Array]"]=Vt["[object Uint32Array]"]=!0,Vt["[object Arguments]"]=Vt["[object Array]"]=Vt["[object ArrayBuffer]"]=Vt["[object Boolean]"]=Vt["[object DataView]"]=Vt["[object Date]"]=Vt["[object Error]"]=Vt["[object Function]"]=Vt["[object Map]"]=Vt["[object Number]"]=Vt["[object Object]"]=Vt["[object RegExp]"]=Vt["[object Set]"]=Vt["[object String]"]=Vt["[object WeakMap]"]=!1;var Xe=r(778),kr=r(3340),gr=kr.A&&kr.A.isTypedArray;const Gr=gr?(0,Xe.A)(gr):function Xt(xe){return(0,c.A)(xe)&&(0,s.A)(xe.length)&&!!Vt[(0,o.A)(xe)]}},133:(i,a,r)=>{"use strict";r.d(a,{A:()=>J});var o=r(6726),s=r(554),c=r(5776);var I=Object.prototype.hasOwnProperty;const M=function T(W){if(!(0,s.A)(W))return function y(W){var q=[];if(null!=W)for(var ct in Object(W))q.push(ct);return q}(W);var q=(0,c.A)(W),ct=[];for(var ht in W)"constructor"==ht&&(q||!I.call(W,ht))||ct.push(ht);return ct};var R=r(1287);const J=function L(W){return(0,R.A)(W)?(0,o.A)(W,!0):M(W)}},2401:(i,a,r)=>{"use strict";r.d(a,{A:()=>ir});var o=r(7730),s=r(1827),c=r(1319);const k=function y(Je,er,Wr){(void 0!==Wr&&!(0,c.A)(Je[er],Wr)||void 0===Wr&&!(er in Je))&&(0,s.A)(Je,er,Wr)},M=function S(Je){return function(er,Wr,eo){for(var Uo=-1,fr=Object(er),Pr=eo(er),re=Pr.length;re--;){var qt=Pr[Je?re:++Uo];if(!1===Wr(fr[qt],qt,fr))break}return er}}();var R=r(9933),L=r(4314),J=r(4528),W=r(923),q=r(6513),ct=r(3744),ht=r(1287),tt=r(2661);var $t=r(9377),At=r(129),kt=r(554),nt=r(5281),at=r(8010),Vt=Function.prototype.toString,Xt=Object.prototype.hasOwnProperty,oe=Vt.call(Object);var gr=r(8885);const Gr=function vr(Je,er){if(("constructor"!==er||"function"!=typeof Je[er])&&"__proto__"!=er)return Je[er]};var xe=r(7517),Le=r(133);const Rt=function Ae(Je,er,Wr,eo,Uo,fr,Pr){var re=Gr(Je,Wr),qt=Gr(er,Wr),Pt=Pr.get(qt);if(Pt)k(Je,Wr,Pt);else{var ue=fr?fr(re,qt,Wr+"",Je,er,Pr):void 0,mr=void 0===ue;if(mr){var Qr=(0,ct.A)(qt),Ro=!Qr&&(0,$t.A)(qt),Ko=!Qr&&!Ro&&(0,gr.A)(qt);ue=qt,Qr||Ro||Ko?(0,ct.A)(re)?ue=re:function _t(Je){return(0,tt.A)(Je)&&(0,ht.A)(Je)}(re)?ue=(0,J.A)(re):Ro?(mr=!1,ue=(0,R.A)(qt,!0)):Ko?(mr=!1,ue=(0,L.A)(qt,!0)):ue=[]:function Xe(Je){if(!(0,tt.A)(Je)||"[object Object]"!=(0,nt.A)(Je))return!1;var er=(0,at.A)(Je);if(null===er)return!0;var Wr=Xt.call(er,"constructor")&&er.constructor;return"function"==typeof Wr&&Wr instanceof Wr&&Vt.call(Wr)==oe}(qt)||(0,q.A)(qt)?(ue=re,(0,q.A)(re)?ue=function gt(Je){return(0,xe.A)(Je,(0,Le.A)(Je))}(re):(!(0,kt.A)(re)||(0,At.A)(re))&&(ue=(0,W.A)(qt))):mr=!1}mr&&(Pr.set(qt,ue),Uo(ue,qt,eo,fr,Pr),Pr.delete(qt)),k(Je,Wr,ue)}},jt=function de(Je,er,Wr,eo,Uo){Je!==er&&M(er,function(fr,Pr){if(Uo||(Uo=new o.A),(0,kt.A)(fr))Rt(Je,er,Pr,Wr,de,eo,Uo);else{var re=eo?eo(Gr(Je,Pr),fr,Pr+"",Je,er,Uo):void 0;void 0===re&&(re=fr),k(Je,Pr,re)}},Le.A)},Ye=function De(Je){return Je};var Ut=Math.max;const Wt=function He(Je){return function(){return Je}};var Me=r(4746),dr=Date.now;const Ie=function Lt(Je){var er=0,Wr=0;return function(){var eo=dr(),Uo=16-(eo-Wr);if(Wr=eo,Uo>0){if(++er>=800)return arguments[0]}else er=0;return Je.apply(void 0,arguments)}}(Me.A?function(Je,er){return(0,Me.A)(Je,"toString",{configurable:!0,enumerable:!1,value:Wt(er),writable:!0})}:Ye),mt=function br(Je,er){return Ie(function Ee(Je,er,Wr){return er=Ut(void 0===er?Je.length-1:er,0),function(){for(var eo=arguments,Uo=-1,fr=Ut(eo.length-er,0),Pr=Array(fr);++Uo1?Wr[Uo-1]:void 0,Pr=Uo>2?Wr[2]:void 0;for(fr=Je.length>3&&"function"==typeof fr?(Uo--,fr):void 0,Pr&&function Y(Je,er,Wr){if(!(0,kt.A)(Wr))return!1;var eo=typeof er;return!!("number"==eo?(0,ht.A)(Wr)&&(0,$.A)(er,Wr.length):"string"==eo&&er in Wr)&&(0,c.A)(Wr[er],Je)}(Wr[0],Wr[1],Pr)&&(fr=Uo<3?void 0:fr,Uo=1),er=Object(er);++eo{"use strict";r.d(a,{lo:()=>Yg,pC:()=>Zs,Bq:()=>Dl,dq:()=>Hn,lG:()=>Aa,sh:()=>ph,Qe:()=>Wu});var o={};r.r(o),r.d(o,{OG:()=>Y,My:()=>ie,Ph:()=>Fe,lX:()=>We,Id:()=>be,fg:()=>It,qj:()=>Lt,aT:()=>Me,lq:()=>Or,z:()=>ko,Q5:()=>ir});var s=r(467);function c(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`Wrong positive integer: ${v}`)}function k(v,..._){if(!(v instanceof Uint8Array))throw new Error("Expected Uint8Array");if(_.length>0&&!_.includes(v.length))throw new Error(`Expected Uint8Array of length ${_}, not of length=${v.length}`)}function I(v,_=!0){if(v.destroyed)throw new Error("Hash instance has been destroyed");if(_&&v.finished)throw new Error("Hash#digest() has already been called")}const L="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,J=v=>v instanceof Uint8Array,ct=v=>new DataView(v.buffer,v.byteOffset,v.byteLength),ht=(v,_)=>v<<32-_|v>>>_;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function rt(v){if("string"==typeof v&&(v=function at(v){if("string"!=typeof v)throw new Error("utf8ToBytes expected string, got "+typeof v);return new Uint8Array((new TextEncoder).encode(v))}(v)),!J(v))throw new Error("expected Uint8Array, got "+typeof v);return v}class Ct{clone(){return this._cloneInto()}}function oe(v){const _=j=>v().update(rt(j)).digest(),A=v();return _.outputLen=A.outputLen,_.blockLen=A.blockLen,_.create=()=>v(),_}function gr(v=32){if(L&&"function"==typeof L.getRandomValues)return L.getRandomValues(new Uint8Array(v));throw new Error("crypto.getRandomValues must be defined")}class Gr extends Ct{constructor(_,A,j,Z){super(),this.blockLen=_,this.outputLen=A,this.padOffset=j,this.isLE=Z,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(_),this.view=ct(this.buffer)}update(_){I(this);const{view:A,buffer:j,blockLen:Z}=this,lt=(_=rt(_)).length;for(let St=0;StZ-St&&(this.process(j,0),St=0);for(let Pe=St;Pe>Z<),Ft=Number(A<),ve=j?0:4;v.setUint32(_+(j?4:0),St,j),v.setUint32(_+ve,Ft,j)})(j,Z-8,BigInt(8*this.length),lt),this.process(j,0);const Ft=ct(_),Zt=this.outputLen;if(Zt%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const ve=Zt/4,Ne=this.get();if(ve>Ne.length)throw new Error("_sha2: outputLen bigger than state");for(let Pe=0;Pev&_^~v&A,Le=(v,_,A)=>v&_^v&A^_&A,gt=new Uint32Array([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]),Nt=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Ae=new Uint32Array(64);class Rt extends Gr{constructor(){super(64,32,8,!1),this.A=0|Nt[0],this.B=0|Nt[1],this.C=0|Nt[2],this.D=0|Nt[3],this.E=0|Nt[4],this.F=0|Nt[5],this.G=0|Nt[6],this.H=0|Nt[7]}get(){const{A:_,B:A,C:j,D:Z,E:lt,F:St,G:Ft,H:Zt}=this;return[_,A,j,Z,lt,St,Ft,Zt]}set(_,A,j,Z,lt,St,Ft,Zt){this.A=0|_,this.B=0|A,this.C=0|j,this.D=0|Z,this.E=0|lt,this.F=0|St,this.G=0|Ft,this.H=0|Zt}process(_,A){for(let Pe=0;Pe<16;Pe++,A+=4)Ae[Pe]=_.getUint32(A,!1);for(let Pe=16;Pe<64;Pe++){const ur=Ae[Pe-15],yr=Ae[Pe-2],cr=ht(ur,7)^ht(ur,18)^ur>>>3,Qe=ht(yr,17)^ht(yr,19)^yr>>>10;Ae[Pe]=Qe+Ae[Pe-7]+cr+Ae[Pe-16]|0}let{A:j,B:Z,C:lt,D:St,E:Ft,F:Zt,G:ve,H:Ne}=this;for(let Pe=0;Pe<64;Pe++){const yr=Ne+(ht(Ft,6)^ht(Ft,11)^ht(Ft,25))+xe(Ft,Zt,ve)+gt[Pe]+Ae[Pe]|0,Qe=(ht(j,2)^ht(j,13)^ht(j,22))+Le(j,Z,lt)|0;Ne=ve,ve=Zt,Zt=Ft,Ft=St+yr|0,St=lt,lt=Z,Z=j,j=yr+Qe|0}j=j+this.A|0,Z=Z+this.B|0,lt=lt+this.C|0,St=St+this.D|0,Ft=Ft+this.E|0,Zt=Zt+this.F|0,ve=ve+this.G|0,Ne=Ne+this.H|0,this.set(j,Z,lt,St,Ft,Zt,ve,Ne)}roundClean(){Ae.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const jt=oe(()=>new Rt),ft=(BigInt(0),BigInt(1)),pe=BigInt(2),Ut=v=>v instanceof Uint8Array,Ee=Array.from({length:256},(v,_)=>_.toString(16).padStart(2,"0"));function ie(v){if(!Ut(v))throw new Error("Uint8Array expected");let _="";for(let A=0;Aj+Z.length,0));let A=0;return v.forEach(j=>{if(!Ut(j))throw new Error("Uint8Array expected");_.set(j,A),A+=j.length}),_}const Y=v=>(pe<new Uint8Array(v),Tt=v=>Uint8Array.from(v);function It(v,_,A){if("number"!=typeof v||v<2)throw new Error("hashLen must be a number");if("number"!=typeof _||_<2)throw new Error("qByteLen must be a number");if("function"!=typeof A)throw new Error("hmacFn must be a function");let j=it(v),Z=it(v),lt=0;const St=()=>{j.fill(1),Z.fill(0),lt=0},Ft=(...Pe)=>A(Z,j,...Pe),Zt=(Pe=it())=>{Z=Ft(Tt([0]),Pe),j=Ft(),0!==Pe.length&&(Z=Ft(Tt([1]),Pe),j=Ft())},ve=()=>{if(lt++>=1e3)throw new Error("drbg: tried 1000 values");let Pe=0;const ur=[];for(;Pe<_;){j=Ft();const yr=j.slice();ur.push(yr),Pe+=j.length}return be(...ur)};return(Pe,ur)=>{let yr;for(St(),Zt(Pe);!(yr=ur(ve()));)Zt();return St(),yr}}const ye={bigint:v=>"bigint"==typeof v,function:v=>"function"==typeof v,boolean:v=>"boolean"==typeof v,string:v=>"string"==typeof v,stringOrUint8Array:v=>"string"==typeof v||v instanceof Uint8Array,isSafeInteger:v=>Number.isSafeInteger(v),array:v=>Array.isArray(v),field:(v,_)=>_.Fp.isValid(v),hash:v=>"function"==typeof v&&Number.isSafeInteger(v.outputLen)};function ir(v,_,A={}){const j=(Z,lt,St)=>{const Ft=ye[lt];if("function"!=typeof Ft)throw new Error(`Invalid validator "${lt}", expected function`);const Zt=v[Z];if(!(St&&void 0===Zt||Ft(Zt,v)))throw new Error(`Invalid param ${String(Z)}=${Zt} (${typeof Zt}), expected ${lt}`)};for(const[Z,lt]of Object.entries(_))j(Z,lt,!1);for(const[Z,lt]of Object.entries(A))j(Z,lt,!0);return v}const Je=BigInt(0),er=BigInt(1),Wr=BigInt(2),eo=BigInt(3),Uo=BigInt(4),fr=BigInt(5),Pr=BigInt(8);function Pt(v,_){const A=v%_;return A>=Je?A:_+A}function ue(v,_,A){if(A<=Je||_ 0");if(A===er)return Je;let j=er;for(;_>Je;)_&er&&(j=j*v%A),v=v*v%A,_>>=er;return j}function mr(v,_,A){let j=v;for(;_-- >Je;)j*=j,j%=A;return j}function Qr(v,_){if(v===Je||_<=Je)throw new Error(`invert: expected positive integers, got n=${v} mod=${_}`);let A=Pt(v,_),j=_,Z=Je,lt=er,St=er,Ft=Je;for(;A!==Je;){const ve=j/A,Ne=j%A,Pe=Z-St*ve,ur=lt-Ft*ve;j=A,A=Ne,Z=St,lt=Ft,St=Pe,Ft=ur}if(j!==er)throw new Error("invert: does not exist");return Pt(Z,_)}BigInt(9),BigInt(16);const $e=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Se(v,_){const A=void 0!==_?_:v.toString(2).length;return{nBitLength:A,nByteLength:Math.ceil(A/8)}}function Yn(v){if("bigint"!=typeof v)throw new Error("field order must be bigint");const _=v.toString(2).length;return Math.ceil(_/8)}function Yo(v){const _=Yn(v);return _+Math.ceil(_/2)}class Fo extends Ct{constructor(_,A){super(),this.finished=!1,this.destroyed=!1,function S(v){if("function"!=typeof v||"function"!=typeof v.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");c(v.outputLen),c(v.blockLen)}(_);const j=rt(A);if(this.iHash=_.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Z=this.blockLen,lt=new Uint8Array(Z);lt.set(j.length>Z?_.create().update(j).digest():j);for(let St=0;Stnew Fo(v,_).update(A).digest();pi.create=(v,_)=>new Fo(v,_);const ei=BigInt(0),Oe=BigInt(1);function Dr(v){return function _e(v){ir(v,$e.reduce((j,Z)=>(j[Z]="function",j),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}(v.Fp),ir(v,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Se(v.n,v.nBitLength),...v,p:v.Fp.ORDER})}const{Ph:Ur,aT:ao}=o,no={Err:class extends Error{constructor(_=""){super(_)}},_parseInt(v){const{Err:_}=no;if(v.length<2||2!==v[0])throw new _("Invalid signature integer tag");const A=v[1],j=v.subarray(2,A+2);if(!A||j.length!==A)throw new _("Invalid signature integer: wrong length");if(128&j[0])throw new _("Invalid signature integer: negative");if(0===j[0]&&!(128&j[1]))throw new _("Invalid signature integer: unnecessary leading zero");return{d:Ur(j),l:v.subarray(A+2)}},toSig(v){const{Err:_}=no,A="string"==typeof v?ao(v):v;if(!(A instanceof Uint8Array))throw new Error("ui8a expected");let j=A.length;if(j<2||48!=A[0])throw new _("Invalid signature tag");if(A[1]!==j-2)throw new _("Invalid signature: incorrect length");const{d:Z,l:lt}=no._parseInt(A.subarray(2)),{d:St,l:Ft}=no._parseInt(lt);if(Ft.length)throw new _("Invalid signature: left bytes after parsing");return{r:Z,s:St}},hexFromSig(v){const _=ve=>8&Number.parseInt(ve[0],16)?"00"+ve:ve,A=ve=>{const Ne=ve.toString(16);return 1&Ne.length?`0${Ne}`:Ne},j=_(A(v.s)),Z=_(A(v.r)),lt=j.length/2,St=Z.length/2,Ft=A(lt),Zt=A(St);return`30${A(St+lt+4)}02${Zt}${Z}02${Ft}${j}`}},vo=BigInt(0),Co=BigInt(1),Ht=(BigInt(2),BigInt(3));function Gt(v){const _=function dt(v){const _=Dr(v);return ir(_,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,..._})}(v),{Fp:A,n:j}=_,Z=A.BYTES+1,lt=2*A.BYTES+1;function Ft(so){return Pt(so,j)}function Zt(so){return Qr(so,j)}const{ProjectivePoint:ve,normPrivateKeyToScalar:Ne,weierstrassEquation:Pe,isWithinCurveOrder:ur}=function ce(v){const _=function Lr(v){const _=Dr(v);ir(_,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:A,Fp:j,a:Z}=_;if(A){if(!j.eql(Z,j.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof A||"bigint"!=typeof A.beta||"function"!=typeof A.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({..._})}(v),{Fp:A}=_,j=_.toBytes||((cr,Qe,rr)=>{const Tr=Qe.toAffine();return be(Uint8Array.from([4]),A.toBytes(Tr.x),A.toBytes(Tr.y))}),Z=_.fromBytes||(cr=>{const Qe=cr.subarray(1);return{x:A.fromBytes(Qe.subarray(0,A.BYTES)),y:A.fromBytes(Qe.subarray(A.BYTES,2*A.BYTES))}});function lt(cr){const{a:Qe,b:rr}=_,Tr=A.sqr(cr),Ar=A.mul(Tr,cr);return A.add(A.add(Ar,A.mul(cr,Qe)),rr)}if(!A.eql(A.sqr(_.Gy),lt(_.Gx)))throw new Error("bad generator point: equation left != right");function St(cr){return"bigint"==typeof cr&&voA.eql(oo,A.ZERO);return Ar(rr)&&Ar(Tr)?Pe.ZERO:new Pe(rr,Tr,A.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Qe){const rr=A.invertBatch(Qe.map(Tr=>Tr.pz));return Qe.map((Tr,Ar)=>Tr.toAffine(rr[Ar])).map(Pe.fromAffine)}static fromHex(Qe){const rr=Pe.fromAffine(Z(Lt("pointHex",Qe)));return rr.assertValidity(),rr}static fromPrivateKey(Qe){return Pe.BASE.multiply(Zt(Qe))}_setWindowSize(Qe){this._WINDOW_SIZE=Qe,ve.delete(this)}assertValidity(){if(this.is0()){if(_.allowInfinityPoint&&!A.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:Qe,y:rr}=this.toAffine();if(!A.isValid(Qe)||!A.isValid(rr))throw new Error("bad point: x or y not FE");const Tr=A.sqr(rr),Ar=lt(Qe);if(!A.eql(Tr,Ar))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Qe}=this.toAffine();if(A.isOdd)return!A.isOdd(Qe);throw new Error("Field doesn't support isOdd")}equals(Qe){Ne(Qe);const{px:rr,py:Tr,pz:Ar}=this,{px:oo,py:uo,pz:Vo}=Qe,_o=A.eql(A.mul(rr,Vo),A.mul(oo,Ar)),Bo=A.eql(A.mul(Tr,Vo),A.mul(uo,Ar));return _o&&Bo}negate(){return new Pe(this.px,A.neg(this.py),this.pz)}double(){const{a:Qe,b:rr}=_,Tr=A.mul(rr,Ht),{px:Ar,py:oo,pz:uo}=this;let Vo=A.ZERO,_o=A.ZERO,Bo=A.ZERO,Wo=A.mul(Ar,Ar),xn=A.mul(oo,oo),dn=A.mul(uo,uo),sn=A.mul(Ar,oo);return sn=A.add(sn,sn),Bo=A.mul(Ar,uo),Bo=A.add(Bo,Bo),Vo=A.mul(Qe,Bo),_o=A.mul(Tr,dn),_o=A.add(Vo,_o),Vo=A.sub(xn,_o),_o=A.add(xn,_o),_o=A.mul(Vo,_o),Vo=A.mul(sn,Vo),Bo=A.mul(Tr,Bo),dn=A.mul(Qe,dn),sn=A.sub(Wo,dn),sn=A.mul(Qe,sn),sn=A.add(sn,Bo),Bo=A.add(Wo,Wo),Wo=A.add(Bo,Wo),Wo=A.add(Wo,dn),Wo=A.mul(Wo,sn),_o=A.add(_o,Wo),dn=A.mul(oo,uo),dn=A.add(dn,dn),Wo=A.mul(dn,sn),Vo=A.sub(Vo,Wo),Bo=A.mul(dn,xn),Bo=A.add(Bo,Bo),Bo=A.add(Bo,Bo),new Pe(Vo,_o,Bo)}add(Qe){Ne(Qe);const{px:rr,py:Tr,pz:Ar}=this,{px:oo,py:uo,pz:Vo}=Qe;let _o=A.ZERO,Bo=A.ZERO,Wo=A.ZERO;const xn=_.a,dn=A.mul(_.b,Ht);let sn=A.mul(rr,oo),Kn=A.mul(Tr,uo),Gn=A.mul(Ar,Vo),Xn=A.add(rr,Tr),so=A.add(oo,uo);Xn=A.mul(Xn,so),so=A.add(sn,Kn),Xn=A.sub(Xn,so),so=A.add(rr,Ar);let yo=A.add(oo,Vo);return so=A.mul(so,yo),yo=A.add(sn,Gn),so=A.sub(so,yo),yo=A.add(Tr,Ar),_o=A.add(uo,Vo),yo=A.mul(yo,_o),_o=A.add(Kn,Gn),yo=A.sub(yo,_o),Wo=A.mul(xn,so),_o=A.mul(dn,Gn),Wo=A.add(_o,Wo),_o=A.sub(Kn,Wo),Wo=A.add(Kn,Wo),Bo=A.mul(_o,Wo),Kn=A.add(sn,sn),Kn=A.add(Kn,sn),Gn=A.mul(xn,Gn),so=A.mul(dn,so),Kn=A.add(Kn,Gn),Gn=A.sub(sn,Gn),Gn=A.mul(xn,Gn),so=A.add(so,Gn),sn=A.mul(Kn,so),Bo=A.add(Bo,sn),sn=A.mul(yo,so),_o=A.mul(Xn,_o),_o=A.sub(_o,sn),sn=A.mul(Xn,Kn),Wo=A.mul(yo,Wo),Wo=A.add(Wo,sn),new Pe(_o,Bo,Wo)}subtract(Qe){return this.add(Qe.negate())}is0(){return this.equals(Pe.ZERO)}wNAF(Qe){return yr.wNAFCached(this,ve,Qe,rr=>{const Tr=A.invertBatch(rr.map(Ar=>Ar.pz));return rr.map((Ar,oo)=>Ar.toAffine(Tr[oo])).map(Pe.fromAffine)})}multiplyUnsafe(Qe){const rr=Pe.ZERO;if(Qe===vo)return rr;if(Ft(Qe),Qe===Co)return this;const{endo:Tr}=_;if(!Tr)return yr.unsafeLadder(this,Qe);let{k1neg:Ar,k1:oo,k2neg:uo,k2:Vo}=Tr.splitScalar(Qe),_o=rr,Bo=rr,Wo=this;for(;oo>vo||Vo>vo;)oo&Co&&(_o=_o.add(Wo)),Vo&Co&&(Bo=Bo.add(Wo)),Wo=Wo.double(),oo>>=Co,Vo>>=Co;return Ar&&(_o=_o.negate()),uo&&(Bo=Bo.negate()),Bo=new Pe(A.mul(Bo.px,Tr.beta),Bo.py,Bo.pz),_o.add(Bo)}multiply(Qe){Ft(Qe);let Tr,Ar,rr=Qe;const{endo:oo}=_;if(oo){const{k1neg:uo,k1:Vo,k2neg:_o,k2:Bo}=oo.splitScalar(rr);let{p:Wo,f:xn}=this.wNAF(Vo),{p:dn,f:sn}=this.wNAF(Bo);Wo=yr.constTimeNegate(uo,Wo),dn=yr.constTimeNegate(_o,dn),dn=new Pe(A.mul(dn.px,oo.beta),dn.py,dn.pz),Tr=Wo.add(dn),Ar=xn.add(sn)}else{const{p:uo,f:Vo}=this.wNAF(rr);Tr=uo,Ar=Vo}return Pe.normalizeZ([Tr,Ar])[0]}multiplyAndAddUnsafe(Qe,rr,Tr){const Ar=Pe.BASE,oo=(Vo,_o)=>_o!==vo&&_o!==Co&&Vo.equals(Ar)?Vo.multiply(_o):Vo.multiplyUnsafe(_o),uo=oo(this,rr).add(oo(Qe,Tr));return uo.is0()?void 0:uo}toAffine(Qe){const{px:rr,py:Tr,pz:Ar}=this,oo=this.is0();null==Qe&&(Qe=oo?A.ONE:A.inv(Ar));const uo=A.mul(rr,Qe),Vo=A.mul(Tr,Qe),_o=A.mul(Ar,Qe);if(oo)return{x:A.ZERO,y:A.ZERO};if(!A.eql(_o,A.ONE))throw new Error("invZ was invalid");return{x:uo,y:Vo}}isTorsionFree(){const{h:Qe,isTorsionFree:rr}=_;if(Qe===Co)return!0;if(rr)return rr(Pe,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Qe,clearCofactor:rr}=_;return Qe===Co?this:rr?rr(Pe,this):this.multiplyUnsafe(_.h)}toRawBytes(Qe=!0){return this.assertValidity(),j(Pe,this,Qe)}toHex(Qe=!0){return ie(this.toRawBytes(Qe))}}Pe.BASE=new Pe(_.Gx,_.Gy,A.ONE),Pe.ZERO=new Pe(A.ZERO,A.ONE,A.ZERO);const ur=_.nBitLength,yr=function Ke(v,_){const A=(Z,lt)=>{const St=lt.negate();return Z?St:lt},j=Z=>({windows:Math.ceil(_/Z)+1,windowSize:2**(Z-1)});return{constTimeNegate:A,unsafeLadder(Z,lt){let St=v.ZERO,Ft=Z;for(;lt>ei;)lt&Oe&&(St=St.add(Ft)),Ft=Ft.double(),lt>>=Oe;return St},precomputeWindow(Z,lt){const{windows:St,windowSize:Ft}=j(lt),Zt=[];let ve=Z,Ne=ve;for(let Pe=0;Pe>=yr,rr>Zt&&(rr-=ur,St+=Oe);const Tr=Qe,Ar=Qe+Math.abs(rr)-1,uo=rr<0;0===rr?Ne=Ne.add(A(cr%2!=0,lt[Tr])):ve=ve.add(A(uo,lt[Ar]))}return{p:ve,f:Ne}},wNAFCached(Z,lt,St,Ft){const Zt=Z._WINDOW_SIZE||1;let ve=lt.get(Z);return ve||(ve=this.precomputeWindow(Z,Zt),1!==Zt&<.set(Z,Ft(ve))),this.wNAF(Zt,ve,St)}}}(Pe,_.endo?Math.ceil(ur/2):ur);return{CURVE:_,ProjectivePoint:Pe,normPrivateKeyToScalar:Zt,weierstrassEquation:lt,isWithinCurveOrder:St}}({..._,toBytes(so,yo,Zo){const an=yo.toAffine(),So=A.toBytes(an.x),Sn=be;return Zo?Sn(Uint8Array.from([yo.hasEvenY()?2:3]),So):Sn(Uint8Array.from([4]),So,A.toBytes(an.y))},fromBytes(so){const yo=so.length,Zo=so[0],an=so.subarray(1);if(yo!==Z||2!==Zo&&3!==Zo){if(yo===lt&&4===Zo)return{x:A.fromBytes(an.subarray(0,A.BYTES)),y:A.fromBytes(an.subarray(A.BYTES,2*A.BYTES))};throw new Error(`Point of length ${yo} was invalid. Expected ${Z} compressed bytes or ${lt} uncompressed bytes`)}{const So=Fe(an);if(!function St(so){return voie(Or(so,_.nByteLength));function cr(so){return so>j>>Co}const rr=(so,yo,Zo)=>Fe(so.slice(yo,Zo));class Tr{constructor(yo,Zo,an){this.r=yo,this.s=Zo,this.recovery=an,this.assertValidity()}static fromCompact(yo){const Zo=_.nByteLength;return yo=Lt("compactSignature",yo,2*Zo),new Tr(rr(yo,0,Zo),rr(yo,Zo,2*Zo))}static fromDER(yo){const{r:Zo,s:an}=no.toSig(Lt("DER",yo));return new Tr(Zo,an)}assertValidity(){if(!ur(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!ur(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(yo){return new Tr(this.r,this.s,yo)}recoverPublicKey(yo){const{r:Zo,s:an,recovery:So}=this,Sn=Bo(Lt("msgHash",yo));if(null==So||![0,1,2,3].includes(So))throw new Error("recovery id invalid");const Fn=2===So||3===So?Zo+_.n:Zo;if(Fn>=A.ORDER)throw new Error("recovery id 2 or 3 invalid");const Yi=ve.fromHex((1&So?"03":"02")+yr(Fn)),Xa=Zt(Fn),ns=Ft(-Sn*Xa),is=Ft(an*Xa),Ya=ve.BASE.multiplyAndAddUnsafe(Yi,ns,is);if(!Ya)throw new Error("point at infinify");return Ya.assertValidity(),Ya}hasHighS(){return cr(this.s)}normalizeS(){return this.hasHighS()?new Tr(this.r,Ft(-this.s),this.recovery):this}toDERRawBytes(){return Me(this.toDERHex())}toDERHex(){return no.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return Me(this.toCompactHex())}toCompactHex(){return yr(this.r)+yr(this.s)}}const Ar={isValidPrivateKey(so){try{return Ne(so),!0}catch{return!1}},normPrivateKeyToScalar:Ne,randomPrivateKey:()=>{const so=Yo(_.n);return function ni(v,_,A=!1){const j=v.length,Z=Yn(_),lt=Yo(_);if(j<16||j1024)throw new Error(`expected ${lt}-1024 bytes of input, got ${j}`);const Ft=Pt(A?Fe(v):We(v),_-er)+er;return A?ko(Ft,Z):Or(Ft,Z)}(_.randomBytes(so),_.n)},precompute:(so=8,yo=ve.BASE)=>(yo._setWindowSize(so),yo.multiply(BigInt(3)),yo)};function uo(so){const yo=so instanceof Uint8Array,Zo="string"==typeof so,an=(yo||Zo)&&so.length;return yo?an===Z||an===lt:Zo?an===2*Z||an===2*lt:so instanceof ve}const _o=_.bits2int||function(so){const yo=Fe(so),Zo=8*so.length-_.nBitLength;return Zo>0?yo>>BigInt(Zo):yo},Bo=_.bits2int_modN||function(so){return Ft(_o(so))},Wo=Y(_.nBitLength);function xn(so){if("bigint"!=typeof so)throw new Error("bigint expected");if(!(vo<=so&&soas in Zo))throw new Error("sign() legacy options not supported");const{hash:an,randomBytes:So}=_;let{lowS:Sn,prehash:Fn,extraEntropy:Nn}=Zo;null==Sn&&(Sn=!0),so=Lt("msgHash",so),Fn&&(so=Lt("prehashed msgHash",an(so)));const Yi=Bo(so),Xa=Ne(yo),ns=[xn(Xa),xn(Yi)];if(null!=Nn){const as=!0===Nn?So(A.BYTES):Nn;ns.push(Lt("extraEntropy",as))}const is=be(...ns),Ya=Yi;return{seed:is,k2sig:function Zc(as){const bc=_o(as);if(!ur(bc))return;const Bh=Zt(bc),Rs=ve.BASE.multiply(bc).toAffine(),Gl=Ft(Rs.x);if(Gl===vo)return;const bu=Ft(Bh*Ft(Ya+Gl*Xa));if(bu===vo)return;let wu=(Rs.x===Gl?0:2)|Number(Rs.y&Co),_d=bu;return Sn&&cr(bu)&&(_d=function Qe(so){return cr(so)?Ft(-so):so}(bu),wu^=1),new Tr(Gl,_d,wu)}}}(so,yo,Zo);return It(_.hash.outputLen,_.nByteLength,_.hmac)(an,So)},verify:function Xn(so,yo,Zo,an=Kn){const So=so;if(yo=Lt("msgHash",yo),Zo=Lt("publicKey",Zo),"strict"in an)throw new Error("options.strict was renamed to lowS");const{lowS:Sn,prehash:Fn}=an;let Nn,Yi;try{if("string"==typeof So||So instanceof Uint8Array)try{Nn=Tr.fromDER(So)}catch(Rs){if(!(Rs instanceof no.Err))throw Rs;Nn=Tr.fromCompact(So)}else{if("object"!=typeof So||"bigint"!=typeof So.r||"bigint"!=typeof So.s)throw new Error("PARSE");{const{r:Rs,s:Gl}=So;Nn=new Tr(Rs,Gl)}}Yi=ve.fromHex(Zo)}catch(Rs){if("PARSE"===Rs.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(Sn&&Nn.hasHighS())return!1;Fn&&(yo=_.hash(yo));const{r:Xa,s:ns}=Nn,is=Bo(yo),Ya=Zt(ns),Zc=Ft(is*Ya),as=Ft(Xa*Ya),bc=ve.BASE.multiplyAndAddUnsafe(Yi,Zc,as)?.toAffine();return!!bc&&Ft(bc.x)===Xa},ProjectivePoint:ve,Signature:Tr,utils:Ar}}function Re(v){return{hash:v,hmac:(_,...A)=>pi(v,_,function yt(...v){const _=new Uint8Array(v.reduce((j,Z)=>j+Z.length,0));let A=0;return v.forEach(j=>{if(!J(j))throw new Error("Uint8Array expected");_.set(j,A),A+=j.length}),_}(...A)),randomBytes:gr}}BigInt(4);const or=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Cr=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Er=BigInt(1),Nr=BigInt(2),Fr=(v,_)=>(v+_/Nr)/_;function qr(v){const _=or,A=BigInt(3),j=BigInt(6),Z=BigInt(11),lt=BigInt(22),St=BigInt(23),Ft=BigInt(44),Zt=BigInt(88),ve=v*v*v%_,Ne=ve*ve*v%_,Pe=mr(Ne,A,_)*Ne%_,ur=mr(Pe,A,_)*Ne%_,yr=mr(ur,Nr,_)*ve%_,cr=mr(yr,Z,_)*yr%_,Qe=mr(cr,lt,_)*cr%_,rr=mr(Qe,Ft,_)*Qe%_,Tr=mr(rr,Zt,_)*rr%_,Ar=mr(Tr,Ft,_)*Qe%_,oo=mr(Ar,A,_)*Ne%_,uo=mr(oo,St,_)*cr%_,Vo=mr(uo,j,_)*ve%_,_o=mr(Vo,Nr,_);if(!to.eql(to.sqr(_o),v))throw new Error("Cannot find square root");return _o}const to=function ar(v,_,A=!1,j={}){if(v<=Je)throw new Error(`Expected Field ORDER > 0, got ${v}`);const{nBitLength:Z,nByteLength:lt}=Se(v,_);if(lt>2048)throw new Error("Field lengths over 2048 bytes are not supported");const St=function Ko(v){if(v%Uo===eo){const _=(v+er)/Uo;return function(j,Z){const lt=j.pow(Z,_);if(!j.eql(j.sqr(lt),Z))throw new Error("Cannot find square root");return lt}}if(v%Pr===fr){const _=(v-fr)/Pr;return function(j,Z){const lt=j.mul(Z,Wr),St=j.pow(lt,_),Ft=j.mul(Z,St),Zt=j.mul(j.mul(Ft,Wr),St),ve=j.mul(Ft,j.sub(Zt,j.ONE));if(!j.eql(j.sqr(ve),Z))throw new Error("Cannot find square root");return ve}}return function Ro(v){const _=(v-er)/Wr;let A,j,Z;for(A=v-er,j=0;A%Wr===Je;A/=Wr,j++);for(Z=Wr;ZPt(Zt,v),isValid:Zt=>{if("bigint"!=typeof Zt)throw new Error("Invalid field element: expected bigint, got "+typeof Zt);return Je<=Zt&&ZtZt===Je,isOdd:Zt=>(Zt&er)===er,neg:Zt=>Pt(-Zt,v),eql:(Zt,ve)=>Zt===ve,sqr:Zt=>Pt(Zt*Zt,v),add:(Zt,ve)=>Pt(Zt+ve,v),sub:(Zt,ve)=>Pt(Zt-ve,v),mul:(Zt,ve)=>Pt(Zt*ve,v),pow:(Zt,ve)=>function qe(v,_,A){if(A 0");if(A===Je)return v.ONE;if(A===er)return _;let j=v.ONE,Z=_;for(;A>Je;)A&er&&(j=v.mul(j,Z)),Z=v.sqr(Z),A>>=er;return j}(Ft,Zt,ve),div:(Zt,ve)=>Pt(Zt*Qr(ve,v),v),sqrN:Zt=>Zt*Zt,addN:(Zt,ve)=>Zt+ve,subN:(Zt,ve)=>Zt-ve,mulN:(Zt,ve)=>Zt*ve,inv:Zt=>Qr(Zt,v),sqrt:j.sqrt||(Zt=>St(Ft,Zt)),invertBatch:Zt=>function ke(v,_){const A=new Array(_.length),j=_.reduce((lt,St,Ft)=>v.is0(St)?lt:(A[Ft]=lt,v.mul(lt,St)),v.ONE),Z=v.inv(j);return _.reduceRight((lt,St,Ft)=>v.is0(St)?lt:(A[Ft]=v.mul(lt,A[Ft]),v.mul(lt,St)),Z),A}(Ft,Zt),cmov:(Zt,ve,Ne)=>Ne?ve:Zt,toBytes:Zt=>A?ko(Zt,lt):Or(Zt,lt),fromBytes:Zt=>{if(Zt.length!==lt)throw new Error(`Fp.fromBytes: expected ${lt}, got ${Zt.length}`);return A?We(Zt):Fe(Zt)}});return Object.freeze(Ft)}(or,void 0,void 0,{sqrt:qr}),xo=function Ce(v,_){const A=j=>Gt({...v,...Re(j)});return Object.freeze({...A(_),create:A})}({a:BigInt(0),b:BigInt(7),Fp:to,n:Cr,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:v=>{const _=Cr,A=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),j=-Er*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),Z=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),lt=A,St=BigInt("0x100000000000000000000000000000000"),Ft=Fr(lt*v,_),Zt=Fr(-j*v,_);let ve=Pt(v-Ft*A-Zt*Z,_),Ne=Pt(-Ft*j-Zt*lt,_);const Pe=ve>St,ur=Ne>St;if(Pe&&(ve=_-ve),ur&&(Ne=_-Ne),ve>St||Ne>St)throw new Error("splitScalar: Endomorphism failed, k="+v);return{k1neg:Pe,k1:ve,k2neg:ur,k2:Ne}}}},jt),Ao=BigInt(0),po=v=>"bigint"==typeof v&&AoZ.charCodeAt(0)));A=be(j,j),Zn[v]=A}return jt(be(A,..._))}const jn=v=>v.toRawBytes(!0).slice(1),$o=v=>Or(v,32),Bn=v=>Pt(v,or),Hi=v=>Pt(v,Cr),nn=xo.ProjectivePoint;function Tn(v){let _=xo.utils.normPrivateKeyToScalar(v),A=nn.fromPrivateKey(_);return{scalar:A.hasEvenY()?_:Hi(-_),bytes:jn(A)}}function vi(v){if(!po(v))throw new Error("bad x: need 0 < x < p");const _=Bn(v*v);let j=qr(Bn(_*v+BigInt(7)));j%Nr!==Ao&&(j=Bn(-j));const Z=new nn(v,j,Er);return Z.assertValidity(),Z}function ds(...v){return Hi(Fe(Di("BIP0340/challenge",...v)))}function Si(v,_,A){const j=Lt("signature",v,64),Z=Lt("message",_),lt=Lt("publicKey",A,32);try{const St=vi(Fe(lt)),Ft=Fe(j.subarray(0,32));if(!po(Ft))return!1;const Zt=Fe(j.subarray(32,64));if(!(v=>"bigint"==typeof v&&Aonn.BASE.multiplyAndAddUnsafe(v,_,A))(St,Zt,Hi(-ve));return!(!Ne||!Ne.hasEvenY()||Ne.toAffine().x!==Ft)}catch{return!1}}const Qi={getPublicKey:function da(v){return Tn(v).bytes},sign:function va(v,_,A=gr(32)){const j=Lt("message",v),{bytes:Z,scalar:lt}=Tn(_),St=Lt("auxRand",A,32),Ft=$o(lt^Fe(Di("BIP0340/aux",St))),Zt=Di("BIP0340/nonce",Ft,Z,j),ve=Hi(Fe(Zt));if(ve===Ao)throw new Error("sign failed: k is zero");const{bytes:Ne,scalar:Pe}=Tn(ve),ur=ds(Ne,Z,j),yr=new Uint8Array(64);if(yr.set(Ne,0),yr.set($o(Hi(Pe+ur*lt)),32),!Si(yr,j,Z))throw new Error("sign: Invalid signature produced");return yr},verify:Si,utils:{randomPrivateKey:xo.utils.randomPrivateKey,lift_x:vi,pointToBytes:jn,numberToBytesBE:Or,bytesToNumberBE:Fe,taggedHash:Di,mod:Pt}};var Go=r(6391);function pa(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`Wrong positive integer: ${v}`)}function Jn(v,..._){if(!(v instanceof Uint8Array))throw new Error("Expected Uint8Array");if(_.length>0&&!_.includes(v.length))throw new Error(`Expected Uint8Array of length ${_}, not of length=${v.length}`)}const ii={number:pa,bool:function qn(v){if("boolean"!=typeof v)throw new Error(`Expected boolean, not ${v}`)},bytes:Jn,hash:function Ln(v){if("function"!=typeof v||"function"!=typeof v.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");pa(v.outputLen),pa(v.blockLen)},exists:function Fa(v,_=!0){if(v.destroyed)throw new Error("Hash instance has been destroyed");if(_&&v.finished)throw new Error("Hash#digest() has already been called")},output:function zo(v,_){Jn(v);const A=_.outputLen;if(v.lengthZ-St&&(this.process(j,0),St=0);for(let Pe=St;Pe>Z<),Ft=Number(A<),ve=j?0:4;v.setUint32(_+(j?4:0),St,j),v.setUint32(_+ve,Ft,j)})(j,Z-8,BigInt(8*this.length),lt),this.process(j,0);const Ft=(0,Go.O8)(_),Zt=this.outputLen;if(Zt%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const ve=Zt/4,Ne=this.get();if(ve>Ne.length)throw new Error("_sha2: outputLen bigger than state");for(let Pe=0;Pev&_^~v&A,fa=(v,_,A)=>v&_^v&A^_&A,Ua=new Uint32Array([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]),hi=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Jo=new Uint32Array(64);class On extends qi{constructor(){super(64,32,8,!1),this.A=0|hi[0],this.B=0|hi[1],this.C=0|hi[2],this.D=0|hi[3],this.E=0|hi[4],this.F=0|hi[5],this.G=0|hi[6],this.H=0|hi[7]}get(){const{A:_,B:A,C:j,D:Z,E:lt,F:St,G:Ft,H:Zt}=this;return[_,A,j,Z,lt,St,Ft,Zt]}set(_,A,j,Z,lt,St,Ft,Zt){this.A=0|_,this.B=0|A,this.C=0|j,this.D=0|Z,this.E=0|lt,this.F=0|St,this.G=0|Ft,this.H=0|Zt}process(_,A){for(let Pe=0;Pe<16;Pe++,A+=4)Jo[Pe]=_.getUint32(A,!1);for(let Pe=16;Pe<64;Pe++){const ur=Jo[Pe-15],yr=Jo[Pe-2],cr=(0,Go.Ow)(ur,7)^(0,Go.Ow)(ur,18)^ur>>>3,Qe=(0,Go.Ow)(yr,17)^(0,Go.Ow)(yr,19)^yr>>>10;Jo[Pe]=Qe+Jo[Pe-7]+cr+Jo[Pe-16]|0}let{A:j,B:Z,C:lt,D:St,E:Ft,F:Zt,G:ve,H:Ne}=this;for(let Pe=0;Pe<64;Pe++){const yr=Ne+((0,Go.Ow)(Ft,6)^(0,Go.Ow)(Ft,11)^(0,Go.Ow)(Ft,25))+us(Ft,Zt,ve)+Ua[Pe]+Jo[Pe]|0,Qe=((0,Go.Ow)(j,2)^(0,Go.Ow)(j,13)^(0,Go.Ow)(j,22))+fa(j,Z,lt)|0;Ne=ve,ve=Zt,Zt=Ft,Ft=St+yr|0,St=lt,lt=Z,Z=j,j=yr+Qe|0}j=j+this.A|0,Z=Z+this.B|0,lt=lt+this.C|0,St=St+this.D|0,Ft=Ft+this.E|0,Zt=Zt+this.F|0,ve=ve+this.G|0,Ne=Ne+this.H|0,this.set(j,Z,lt,St,Ft,Zt,ve,Ne)}roundClean(){Jo.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class ia extends On{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const bi=(0,Go.ld)(()=>new On);function Vn(v){if(!Number.isSafeInteger(v))throw new Error(`Wrong integer: ${v}`)}function xi(...v){const _=(Z,lt)=>St=>Z(lt(St));return{encode:Array.from(v).reverse().reduce((Z,lt)=>Z?_(Z,lt.encode):lt.encode,void 0),decode:v.reduce((Z,lt)=>Z?_(Z,lt.decode):lt.decode,void 0)}}function ci(v){return{encode:_=>{if(!Array.isArray(_)||_.length&&"number"!=typeof _[0])throw new Error("alphabet.encode input should be an array of numbers");return _.map(A=>{if(Vn(A),A<0||A>=v.length)throw new Error(`Digit index outside alphabet: ${A} (alphabet: ${v.length})`);return v[A]})},decode:_=>{if(!Array.isArray(_)||_.length&&"string"!=typeof _[0])throw new Error("alphabet.decode input should be array of strings");return _.map(A=>{if("string"!=typeof A)throw new Error(`alphabet.decode: not string element=${A}`);const j=v.indexOf(A);if(-1===j)throw new Error(`Unknown letter: "${A}". Allowed: ${v}`);return j})}}}function ji(v=""){if("string"!=typeof v)throw new Error("join separator should be string");return{encode:_=>{if(!Array.isArray(_)||_.length&&"string"!=typeof _[0])throw new Error("join.encode input should be array of strings");for(let A of _)if("string"!=typeof A)throw new Error(`join.encode: non-string input=${A}`);return _.join(v)},decode:_=>{if("string"!=typeof _)throw new Error("join.decode input should be string");return _.split(v)}}}function ti(v,_="="){if(Vn(v),"string"!=typeof _)throw new Error("padding chr should be string");return{encode(A){if(!Array.isArray(A)||A.length&&"string"!=typeof A[0])throw new Error("padding.encode input should be array of strings");for(let j of A)if("string"!=typeof j)throw new Error(`padding.encode: non-string input=${j}`);for(;A.length*v%8;)A.push(_);return A},decode(A){if(!Array.isArray(A)||A.length&&"string"!=typeof A[0])throw new Error("padding.encode input should be array of strings");for(let Z of A)if("string"!=typeof Z)throw new Error(`padding.decode: non-string input=${Z}`);let j=A.length;if(j*v%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;j>0&&A[j-1]===_;j--)if(!((j-1)*v%8))throw new Error("Invalid padding: string has too much padding");return A.slice(0,j)}}}function aa(v){if("function"!=typeof v)throw new Error("normalize fn should be function");return{encode:_=>_,decode:_=>v(_)}}function Li(v,_,A){if(_<2)throw new Error(`convertRadix: wrong from=${_}, base cannot be less than 2`);if(A<2)throw new Error(`convertRadix: wrong to=${A}, base cannot be less than 2`);if(!Array.isArray(v))throw new Error("convertRadix: data should be array");if(!v.length)return[];let j=0;const Z=[],lt=Array.from(v);for(lt.forEach(St=>{if(Vn(St),St<0||St>=_)throw new Error(`Wrong integer: ${St}`)});;){let St=0,Ft=!0;for(let Zt=j;Ztnew ia);const ma=(v,_)=>_?ma(_,v%_):v,Ja=(v,_)=>v+(_-ma(v,_));function _i(v,_,A,j){if(!Array.isArray(v))throw new Error("convertRadix2: data should be array");if(_<=0||_>32)throw new Error(`convertRadix2: wrong from=${_}`);if(A<=0||A>32)throw new Error(`convertRadix2: wrong to=${A}`);if(Ja(_,A)>32)throw new Error(`convertRadix2: carry overflow from=${_} to=${A} carryBits=${Ja(_,A)}`);let Z=0,lt=0;const St=2**A-1,Ft=[];for(const Zt of v){if(Vn(Zt),Zt>=2**_)throw new Error(`convertRadix2: invalid data word=${Zt} from=${_}`);if(Z=Z<<_|Zt,lt+_>32)throw new Error(`convertRadix2: carry overflow pos=${lt} from=${_}`);for(lt+=_;lt>=A;lt-=A)Ft.push((Z>>lt-A&St)>>>0);Z&=2**lt-1}if(Z=Z<=_)throw new Error("Excess padding");if(!j&&Z)throw new Error(`Non-zero padding: ${Z}`);return j&<>0&&Ft.push(Z>>>0),Ft}function G(v,_=!1){if(Vn(v),v<=0||v>32)throw new Error("radix2: bits should be in (0..32]");if(Ja(8,v)>32||Ja(v,8)>32)throw new Error("radix2: carry overflow");return{encode:A=>{if(!(A instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return _i(Array.from(A),8,v,!_)},decode:A=>{if(!Array.isArray(A)||A.length&&"number"!=typeof A[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(_i(A,v,8,_))}}}function Qt(v){if("function"!=typeof v)throw new Error("unsafeWrapper fn should be function");return function(..._){try{return v.apply(null,_)}catch{}}}xi(G(4),ci("0123456789ABCDEF"),ji("")),xi(G(5),ci("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),ti(5),ji(""));const co=(xi(G(5),ci("0123456789ABCDEFGHIJKLMNOPQRSTUV"),ti(5),ji("")),xi(G(5),ci("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),ji(""),aa(v=>v.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),xi(G(6),ci("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),ti(6),ji(""))),mn=(xi(G(6),ci("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),ti(6),ji("")),v=>xi(function ts(v){return Vn(v),{encode:_=>{if(!(_ instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return Li(Array.from(_),256,v)},decode:_=>{if(!Array.isArray(_)||_.length&&"number"!=typeof _[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(Li(_,v,256))}}}(58),ci(v),ji(""))),Ji=(mn("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),mn("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),mn("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"),xi(ci("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),ji(""))),ri=[996825010,642813549,513874426,1027748829,705979059];function Ki(v){const _=v>>25;let A=(33554431&v)<<5;for(let j=0;j>j&1)&&(A^=ri[j]);return A}function zn(v,_,A=1){const j=v.length;let Z=1;for(let lt=0;lt126)throw new Error(`Invalid prefix (${v})`);Z=Ki(Z)^St>>5}Z=Ki(Z);for(let lt=0;ltPe)throw new TypeError(`Wrong string length: ${Ne.length} (${Ne}). Expected (8..${Pe})`);const ur=Ne.toLowerCase();if(Ne!==ur&&Ne!==Ne.toUpperCase())throw new Error("String must be lowercase or uppercase");const yr=(Ne=ur).lastIndexOf("1");if(0===yr||-1===yr)throw new Error('Letter "1" must be present between prefix and data only');const cr=Ne.slice(0,yr),Qe=Ne.slice(yr+1);if(Qe.length<6)throw new Error("Data must be at least 6 characters long");const rr=Ji.decode(Qe).slice(0,-6),Tr=zn(cr,rr,_);if(!Qe.endsWith(Tr))throw new Error(`Invalid checksum in ${Ne}: expected "${Tr}"`);return{prefix:cr,words:rr}}return{encode:function St(Ne,Pe,ur=90){if("string"!=typeof Ne)throw new Error("bech32.encode prefix should be string, not "+typeof Ne);if(!Array.isArray(Pe)||Pe.length&&"number"!=typeof Pe[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof Pe);const yr=Ne.length+7+Pe.length;if(!1!==ur&&yr>ur)throw new TypeError(`Length ${yr} exceeds limit ${ur}`);return`${Ne=Ne.toLowerCase()}1${Ji.encode(Pe)}${zn(Ne,Pe,_)}`},decode:Ft,decodeToBytes:function ve(Ne){const{prefix:Pe,words:ur}=Ft(Ne,!1);return{prefix:Pe,words:ur,bytes:j(ur)}},decodeUnsafe:Qt(Ft),fromWords:j,fromWordsUnsafe:lt,toWords:Z}}const st=Gi("bech32");function Ps(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`positive integer expected, not ${v}`)}function Fs(v){if("boolean"!=typeof v)throw new Error(`boolean expected, not ${v}`)}function ja(v){return v instanceof Uint8Array||null!=v&&"object"==typeof v&&"Uint8Array"===v.constructor.name}function yn(v,..._){if(!ja(v))throw new Error("Uint8Array expected");if(_.length>0&&!_.includes(v.length))throw new Error(`Uint8Array expected of length ${_}, not of length=${v.length}`)}function xa(v,_=!0){if(v.destroyed)throw new Error("Hash instance has been destroyed");if(_&&v.finished)throw new Error("Hash#digest() has already been called")}function ps(v,_){yn(v);const A=_.outputLen;if(v.length{if("string"!=typeof v||v.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof v} with length ${v.length}`);return v.toLowerCase()}));const rn=v=>new Uint32Array(v.buffer,v.byteOffset,Math.floor(v.byteLength/4)),ta=v=>new DataView(v.buffer,v.byteOffset,v.byteLength);if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function Va(v){if("string"==typeof v)v=function Cc(v){if("string"!=typeof v)throw new Error("string expected, got "+typeof v);return new Uint8Array((new TextEncoder).encode(v))}(v);else{if(!ja(v))throw new Error("Uint8Array expected, got "+typeof v);v=v.slice()}return v}function ka(v,_){if(v.length!==_.length)return!1;let A=0;for(let j=0;j(Object.assign(_,v),_);function ea(v,_,A,j){if("function"==typeof v.setBigUint64)return v.setBigUint64(_,A,j);const Z=BigInt(32),lt=BigInt(4294967295),St=Number(A>>Z<),Ft=Number(A<),ve=j?0:4;v.setUint32(_+(j?4:0),St,j),v.setUint32(_+ve,Ft,j)}const Ts=new Uint8Array(16),ai=rn(Ts),Ms=(v,_,A,j)=>({s3:A<<31|j>>>1,s2:_<<31|A>>>1,s1:v<<31|_>>>1,s0:v>>>1^225<<24&-(1&j)}),Ea=v=>(v>>>0&255)<<24|(v>>>8&255)<<16|(v>>>16&255)<<8|v>>>24&255;class hs{constructor(_,A){this.blockLen=16,this.outputLen=16,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,yn(_=Va(_),16);const j=ta(_);let Z=j.getUint32(0,!1),lt=j.getUint32(4,!1),St=j.getUint32(8,!1),Ft=j.getUint32(12,!1);const Zt=[];for(let cr=0;cr<128;cr++)Zt.push({s0:Ea(Z),s1:Ea(lt),s2:Ea(St),s3:Ea(Ft)}),({s0:Z,s1:lt,s2:St,s3:Ft}=Ms(Z,lt,St,Ft));const ve=(v=A||1024)>65536?8:v>1024?4:2;var v;if(![1,2,4,8].includes(ve))throw new Error(`ghash: wrong window size=${ve}, should be 2, 4 or 8`);this.W=ve;const Pe=128/ve,ur=this.windowSize=2**ve,yr=[];for(let cr=0;cr>>ve-uo-1&1))continue;const{s0:_o,s1:Bo,s2:Wo,s3:xn}=Zt[ve*cr+uo];rr^=_o,Tr^=Bo,Ar^=Wo,oo^=xn}yr.push({s0:rr,s1:Tr,s2:Ar,s3:oo})}this.t=yr}_updateBlock(_,A,j,Z){_^=this.s0,A^=this.s1,j^=this.s2,Z^=this.s3;const{W:lt,t:St,windowSize:Ft}=this;let Zt=0,ve=0,Ne=0,Pe=0;const ur=(1<>>8*Qe&255;for(let Tr=8/lt-1;Tr>=0;Tr--){const Ar=rr>>>lt*Tr&ur,{s0:oo,s1:uo,s2:Vo,s3:_o}=St[yr*Ft+Ar];Zt^=oo,ve^=uo,Ne^=Vo,Pe^=_o,yr+=1}}this.s0=Zt,this.s1=ve,this.s2=Ne,this.s3=Pe}update(_){_=Va(_),xa(this);const A=rn(_),j=Math.floor(_.length/16),Z=_.length%16;for(let lt=0;lt>>1|A,A=(1&Z)<<7}return v[0]^=225&-_,v}((_=Va(_)).slice());super(j,A),j.fill(0)}update(_){_=Va(_),xa(this);const A=rn(_),j=_.length%16,Z=Math.floor(_.length/16);for(let lt=0;ltv(Z,j.length).update(Va(j)).digest(),A=v(new Uint8Array(16),0);return _.outputLen=A.outputLen,_.blockLen=A.blockLen,_.create=(j,Z)=>v(j,Z),_}gs((v,_)=>new hs(v,_)),gs((v,_)=>new gi(v,_)),new Uint8Array(16);const dc=283;function Dc(v){return v<<1^dc&-(v>>7)}function B(v,_){let A=0;for(;_>0;_>>=1)A^=v&-(1&_),v=Dc(v);return A}const Et=(()=>{let v=new Uint8Array(256);for(let A=0,j=1;A<256;A++,j^=Dc(j))v[A]=j;const _=new Uint8Array(256);_[0]=99;for(let A=0;A<255;A++){let j=v[255-A];j|=j<<8,_[v[A]]=255&(j^j>>4^j>>5^j>>6^j>>7^99)}return _})(),x=Et.map((v,_)=>Et.indexOf(_)),C=v=>v<<24|v>>>8,F=v=>v<<8|v>>>24;function pt(v,_){if(256!==v.length)throw new Error("Wrong sbox length");const A=new Uint32Array(256).map((ve,Ne)=>_(v[Ne])),j=A.map(F),Z=j.map(F),lt=Z.map(F),St=new Uint32Array(65536),Ft=new Uint32Array(65536),Zt=new Uint16Array(65536);for(let ve=0;ve<256;ve++)for(let Ne=0;Ne<256;Ne++){const Pe=256*ve+Ne;St[Pe]=A[ve]^j[Ne],Ft[Pe]=Z[ve]^lt[Ne],Zt[Pe]=v[ve]<<8|v[Ne]}return{sbox:v,sbox2:Zt,T0:A,T1:j,T2:Z,T3:lt,T01:St,T23:Ft}}const Ot=pt(Et,v=>B(v,3)<<24|v<<16|v<<8|B(v,2)),ae=pt(x,v=>B(v,11)<<24|B(v,13)<<16|B(v,9)<<8|B(v,14)),Ue=(()=>{const v=new Uint8Array(16);for(let _=0,A=1;_<16;_++,A=Dc(A))v[_]=A;return v})();function Ve(v){yn(v);const _=v.length;if(![16,24,32].includes(_))throw new Error(`aes: wrong key size: should be 16, 24 or 32, got: ${_}`);const{sbox2:A}=Ot,j=rn(v),Z=j.length,lt=Ft=>Ir(A,Ft,Ft,Ft,Ft),St=new Uint32Array(_+28);St.set(j);for(let Ft=Z;Ft6&&Ft%Z==4&&(Zt=lt(Zt)),St[Ft]=St[Ft-Z]^Zt}return St}function sr(v,_,A,j,Z,lt){return v[A<<8&65280|j>>>8&255]^_[Z>>>8&65280|lt>>>24&255]}function Ir(v,_,A,j,Z){return v[255&_|65280&A]|v[j>>>16&255|Z>>>16&65280]<<16}function ze(v,_,A,j,Z){const{sbox2:lt,T01:St,T23:Ft}=Ot;let Zt=0;_^=v[Zt++],A^=v[Zt++],j^=v[Zt++],Z^=v[Zt++];const ve=v.length/4-2;for(let cr=0;cr{const Ft=Ve(_),{b:Zt,o:ve,out:Ne}=function fo(v,_,A){let j=v.length;const Z=j%16;if(!_&&0!==Z)throw new Error("aec/(cbc-ecb): unpadded plaintext with disabled padding");const lt=rn(v);if(_){let Zt=16-Z;Zt||(Zt=16),j+=Zt}const St=_r(j,A);return{b:lt,o:rn(St),out:St}}(lt,Z,St),Pe=rn(A);let ur=Pe[0],yr=Pe[1],cr=Pe[2],Qe=Pe[3],rr=0;for(;rr+4<=Zt.length;)ur^=Zt[rr+0],yr^=Zt[rr+1],cr^=Zt[rr+2],Qe^=Zt[rr+3],({s0:ur,s1:yr,s2:cr,s3:Qe}=ze(Ft,ur,yr,cr,Qe)),ve[rr++]=ur,ve[rr++]=yr,ve[rr++]=cr,ve[rr++]=Qe;if(Z){const Tr=function Do(v){const _=new Uint8Array(16),A=rn(_);_.set(v);const j=16-v.length;for(let Z=16-j;Z<16;Z++)_[Z]=j;return A}(lt.subarray(4*rr));ur^=Tr[0],yr^=Tr[1],cr^=Tr[2],Qe^=Tr[3],({s0:ur,s1:yr,s2:cr,s3:Qe}=ze(Ft,ur,yr,cr,Qe)),ve[rr++]=ur,ve[rr++]=yr,ve[rr++]=cr,ve[rr++]=Qe}return Ft.fill(0),Ne},decrypt:(lt,St)=>{!function Jr(v){if(yn(v),v.length%16!=0)throw new Error("aes/(cbc-ecb).decrypt ciphertext should consist of blocks with size 16")}(lt);const Ft=function Ze(v){const _=Ve(v),A=_.slice(),j=_.length,{sbox2:Z}=Ot,{T0:lt,T1:St,T2:Ft,T3:Zt}=ae;for(let ve=0;ve>>8&255]^Ft[Pe>>>16&255]^Zt[Pe>>>24]}return A}(_),Zt=rn(A),ve=_r(lt.length,St),Ne=rn(lt),Pe=rn(ve);let ur=Zt[0],yr=Zt[1],cr=Zt[2],Qe=Zt[3];for(let rr=0;rr+4<=Ne.length;){const Tr=ur,Ar=yr,oo=cr,uo=Qe;ur=Ne[rr+0],yr=Ne[rr+1],cr=Ne[rr+2],Qe=Ne[rr+3];const{s0:Vo,s1:_o,s2:Bo,s3:Wo}=nr(Ft,ur,yr,cr,Qe);Pe[rr++]=Vo^Tr,Pe[rr++]=_o^Ar,Pe[rr++]=Bo^oo,Pe[rr++]=Wo^uo}return Ft.fill(0),function Vr(v,_){if(!_)return v;const A=v.length;if(!A)throw new Error("aes/pcks5: empty ciphertext not allowed");const j=v[A-1];if(j<=0||j>16)throw new Error(`aes/pcks5: wrong padding byte: ${j}`);const Z=v.subarray(0,-j);for(let lt=0;lt255&v[_++]|(255&v[_++])<<8;class vn{constructor(_){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,yn(_=Va(_),32);const A=lo(_,0),j=lo(_,2),Z=lo(_,4),lt=lo(_,6),St=lo(_,8),Ft=lo(_,10),Zt=lo(_,12),ve=lo(_,14);this.r[0]=8191&A,this.r[1]=8191&(A>>>13|j<<3),this.r[2]=7939&(j>>>10|Z<<6),this.r[3]=8191&(Z>>>7|lt<<9),this.r[4]=255&(lt>>>4|St<<12),this.r[5]=St>>>1&8190,this.r[6]=8191&(St>>>14|Ft<<2),this.r[7]=8065&(Ft>>>11|Zt<<5),this.r[8]=8191&(Zt>>>8|ve<<8),this.r[9]=ve>>>5&127;for(let Ne=0;Ne<8;Ne++)this.pad[Ne]=lo(_,16+2*Ne)}process(_,A,j=!1){const Z=j?0:2048,{h:lt,r:St}=this,Ft=St[0],Zt=St[1],ve=St[2],Ne=St[3],Pe=St[4],ur=St[5],yr=St[6],cr=St[7],Qe=St[8],rr=St[9],Tr=lo(_,A+0),Ar=lo(_,A+2),oo=lo(_,A+4),uo=lo(_,A+6),Vo=lo(_,A+8),_o=lo(_,A+10),Bo=lo(_,A+12),Wo=lo(_,A+14);let xn=lt[0]+(8191&Tr),dn=lt[1]+(8191&(Tr>>>13|Ar<<3)),sn=lt[2]+(8191&(Ar>>>10|oo<<6)),Kn=lt[3]+(8191&(oo>>>7|uo<<9)),Gn=lt[4]+(8191&(uo>>>4|Vo<<12)),Xn=lt[5]+(Vo>>>1&8191),so=lt[6]+(8191&(Vo>>>14|_o<<2)),yo=lt[7]+(8191&(_o>>>11|Bo<<5)),Zo=lt[8]+(8191&(Bo>>>8|Wo<<8)),an=lt[9]+(Wo>>>5|Z),So=0,Sn=So+xn*Ft+dn*(5*rr)+sn*(5*Qe)+Kn*(5*cr)+Gn*(5*yr);So=Sn>>>13,Sn&=8191,Sn+=Xn*(5*ur)+so*(5*Pe)+yo*(5*Ne)+Zo*(5*ve)+an*(5*Zt),So+=Sn>>>13,Sn&=8191;let Fn=So+xn*Zt+dn*Ft+sn*(5*rr)+Kn*(5*Qe)+Gn*(5*cr);So=Fn>>>13,Fn&=8191,Fn+=Xn*(5*yr)+so*(5*ur)+yo*(5*Pe)+Zo*(5*Ne)+an*(5*ve),So+=Fn>>>13,Fn&=8191;let Nn=So+xn*ve+dn*Zt+sn*Ft+Kn*(5*rr)+Gn*(5*Qe);So=Nn>>>13,Nn&=8191,Nn+=Xn*(5*cr)+so*(5*yr)+yo*(5*ur)+Zo*(5*Pe)+an*(5*Ne),So+=Nn>>>13,Nn&=8191;let Yi=So+xn*Ne+dn*ve+sn*Zt+Kn*Ft+Gn*(5*rr);So=Yi>>>13,Yi&=8191,Yi+=Xn*(5*Qe)+so*(5*cr)+yo*(5*yr)+Zo*(5*ur)+an*(5*Pe),So+=Yi>>>13,Yi&=8191;let Xa=So+xn*Pe+dn*Ne+sn*ve+Kn*Zt+Gn*Ft;So=Xa>>>13,Xa&=8191,Xa+=Xn*(5*rr)+so*(5*Qe)+yo*(5*cr)+Zo*(5*yr)+an*(5*ur),So+=Xa>>>13,Xa&=8191;let ns=So+xn*ur+dn*Pe+sn*Ne+Kn*ve+Gn*Zt;So=ns>>>13,ns&=8191,ns+=Xn*Ft+so*(5*rr)+yo*(5*Qe)+Zo*(5*cr)+an*(5*yr),So+=ns>>>13,ns&=8191;let is=So+xn*yr+dn*ur+sn*Pe+Kn*Ne+Gn*ve;So=is>>>13,is&=8191,is+=Xn*Zt+so*Ft+yo*(5*rr)+Zo*(5*Qe)+an*(5*cr),So+=is>>>13,is&=8191;let Ya=So+xn*cr+dn*yr+sn*ur+Kn*Pe+Gn*Ne;So=Ya>>>13,Ya&=8191,Ya+=Xn*ve+so*Zt+yo*Ft+Zo*(5*rr)+an*(5*Qe),So+=Ya>>>13,Ya&=8191;let Zc=So+xn*Qe+dn*cr+sn*yr+Kn*ur+Gn*Pe;So=Zc>>>13,Zc&=8191,Zc+=Xn*Ne+so*ve+yo*Zt+Zo*Ft+an*(5*rr),So+=Zc>>>13,Zc&=8191;let as=So+xn*rr+dn*Qe+sn*cr+Kn*yr+Gn*ur;So=as>>>13,as&=8191,as+=Xn*Pe+so*Ne+yo*ve+Zo*Zt+an*Ft,So+=as>>>13,as&=8191,So=(So<<2)+So|0,So=So+Sn|0,Sn=8191&So,So>>>=13,Fn+=So,lt[0]=Sn,lt[1]=Fn,lt[2]=Nn,lt[3]=Yi,lt[4]=Xa,lt[5]=ns,lt[6]=is,lt[7]=Ya,lt[8]=Zc,lt[9]=as}finalize(){const{h:_,pad:A}=this,j=new Uint16Array(10);let Z=_[1]>>>13;_[1]&=8191;for(let Ft=2;Ft<10;Ft++)_[Ft]+=Z,Z=_[Ft]>>>13,_[Ft]&=8191;_[0]+=5*Z,Z=_[0]>>>13,_[0]&=8191,_[1]+=Z,Z=_[1]>>>13,_[1]&=8191,_[2]+=Z,j[0]=_[0]+5,Z=j[0]>>>13,j[0]&=8191;for(let Ft=1;Ft<10;Ft++)j[Ft]=_[Ft]+Z,Z=j[Ft]>>>13,j[Ft]&=8191;j[9]-=8192;let lt=(1^Z)-1;for(let Ft=0;Ft<10;Ft++)j[Ft]&=lt;lt=~lt;for(let Ft=0;Ft<10;Ft++)_[Ft]=_[Ft]<|j[Ft];_[0]=65535&(_[0]|_[1]<<13),_[1]=65535&(_[1]>>>3|_[2]<<10),_[2]=65535&(_[2]>>>6|_[3]<<7),_[3]=65535&(_[3]>>>9|_[4]<<4),_[4]=65535&(_[4]>>>12|_[5]<<1|_[6]<<14),_[5]=65535&(_[6]>>>2|_[7]<<11),_[6]=65535&(_[7]>>>5|_[8]<<8),_[7]=65535&(_[8]>>>8|_[9]<<5);let St=_[0]+A[0];_[0]=65535&St;for(let Ft=1;Ft<8;Ft++)St=(_[Ft]+A[Ft]|0)+(St>>>16)|0,_[Ft]=65535&St}update(_){xa(this);const{buffer:A,blockLen:j}=this,Z=(_=Va(_)).length;for(let lt=0;lt>>0,_[lt++]=j[St]>>>8;return _}digest(){const{buffer:_,outputLen:A}=this;this.digestInto(_);const j=_.slice(0,A);return this.destroy(),j}}const mo=function Rn(v){const _=(j,Z)=>v(Z).update(Va(j)).digest(),A=v(new Uint8Array(32));return _.outputLen=A.outputLen,_.blockLen=A.blockLen,_.create=j=>v(j),_}(v=>new vn(v)),Mi=v=>Uint8Array.from(v.split("").map(_=>_.charCodeAt(0))),ra=Mi("expand 16-byte k"),Bi=Mi("expand 32-byte k"),bs=rn(ra),ba=rn(Bi);function Po(v,_){return v<<_|v>>>32-_}function li(v){return v.byteOffset%4==0}ba.slice();const la=2**32-1,jo=new Uint32Array;function Ca(v,_){const{allowShortKeys:A,extendNonceFn:j,counterLength:Z,counterRight:lt,rounds:St}=function $s(v,_){if(null==_||"object"!=typeof _)throw new Error("options must be defined");return Object.assign(v,_)}({allowShortKeys:!1,counterLength:8,counterRight:!1,rounds:20},_);if("function"!=typeof v)throw new Error("core must be a function");return Ps(Z),Ps(St),Fs(lt),Fs(A),(Ft,Zt,ve,Ne,Pe=0)=>{yn(Ft),yn(Zt),yn(ve);const ur=ve.length;if(Ne||(Ne=new Uint8Array(ur)),yn(Ne),Ps(Pe),Pe<0||Pe>=la)throw new Error("arx: counter overflow");if(Ne.length=la)throw new Error("arx: counter overflow");const Qe=Math.min(64,Zt-cr);if(Pe&&64===Qe){const rr=cr/4;if(cr%4!=0)throw new Error("arx: invalid block position");for(let Ar,Tr=0;Tr<16;Tr++)Ar=rr+Tr,yr[Ar]=ur[Ar]^Ne[Tr];cr+=64}else{for(let Tr,rr=0;rr0;)yr.pop().fill(0);return Ne}}function ws(v,_,A,j,Z,lt=20){let St=v[0],Ft=v[1],Zt=v[2],ve=v[3],Ne=_[0],Pe=_[1],ur=_[2],yr=_[3],cr=_[4],Qe=_[5],rr=_[6],Tr=_[7],Ar=Z,oo=A[0],uo=A[1],Vo=A[2],_o=St,Bo=Ft,Wo=Zt,xn=ve,dn=Ne,sn=Pe,Kn=ur,Gn=yr,Xn=cr,so=Qe,yo=rr,Zo=Tr,an=Ar,So=oo,Sn=uo,Fn=Vo;for(let Yi=0;Yi{v.update(_);const A=_.length%16;A&&v.update(xm.subarray(A))},_m=new Uint8Array(32);function N(v,_,A,j,Z){const lt=v(_,A,_m),St=mo.create(lt);Z&&Ho(St,Z),Ho(St,j);const Ft=new Uint8Array(16),Zt=ta(Ft);ea(Zt,0,BigInt(Z?Z.length:0),!0),ea(Zt,8,BigInt(j.length),!0),St.update(Ft);const ve=St.digest();return lt.fill(0),ve}const z=v=>(_,A,j)=>(yn(_,32),yn(A),{encrypt:(lt,St)=>{const Ft=lt.length,Zt=Ft+16;St?yn(St,Zt):St=new Uint8Array(Zt),v(_,A,lt,St,1);const ve=N(v,_,A,St.subarray(0,-16),j);return St.set(ve,Ft),St},decrypt:(lt,St)=>{const Ft=lt.length,Zt=Ft-16;if(Ft<16)throw new Error("encrypted data must be at least 16 bytes");St?yn(St,Zt):St=new Uint8Array(Zt);const ve=lt.subarray(0,-16);if(!ka(lt.subarray(-16),N(v,_,A,ve,j)))throw new Error("invalid tag");return v(_,A,ve,St,1),St}});z(il),z(Pp);class wt extends Go.Vw{constructor(_,A){super(),this.finished=!1,this.destroyed=!1,ii.hash(_);const j=(0,Go.ZJ)(A);if(this.iHash=_.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Z=this.blockLen,lt=new Uint8Array(Z);lt.set(j.length>Z?_.create().update(j).digest():j);for(let St=0;Stnew wt(v,_).update(A).digest();Kt.create=(v,_)=>new wt(v,_);const Sr=new Uint8Array([0]),pr=new Uint8Array;var kn=Object.defineProperty,bn=(v,_)=>{for(var A in _)kn(v,A,{get:_[A],enumerable:!0})},Da=Symbol("verified"),Sa=v=>v instanceof Object;function Os(v){if(!Sa(v)||"number"!=typeof v.kind||"string"!=typeof v.content||"number"!=typeof v.created_at||"string"!=typeof v.pubkey||!v.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(v.tags))return!1;for(let _=0;_Ys,QueueNode:()=>$p,binarySearch:()=>nd,insertEventIntoAscendingList:()=>jg,insertEventIntoDescendingList:()=>Up,normalizeURL:()=>al,utf8Decoder:()=>Xs,utf8Encoder:()=>Wa});var Xs=new TextDecoder("utf-8"),Wa=new TextEncoder;function al(v){-1===v.indexOf("://")&&(v="wss://"+v);let _=new URL(v);return _.pathname=_.pathname.replace(/\/+/g,"/"),_.pathname.endsWith("/")&&(_.pathname=_.pathname.slice(0,-1)),("80"===_.port&&"ws:"===_.protocol||"443"===_.port&&"wss:"===_.protocol)&&(_.port=""),_.searchParams.sort(),_.hash="",_.toString()}function Up(v,_){const[A,j]=nd(v,Z=>_.id===Z.id?0:_.created_at===Z.created_at?-1:Z.created_at-_.created_at);return j||v.splice(A,0,_),v}function jg(v,_){const[A,j]=nd(v,Z=>_.id===Z.id?0:_.created_at===Z.created_at?-1:_.created_at-Z.created_at);return j||v.splice(A,0,_),v}function nd(v,_){let A=0,j=v.length-1;for(;A<=j;){const Z=Math.floor((A+j)/2),lt=_(v[Z]);if(0===lt)return[Z,!0];lt<0?j=Z-1:A=Z+1}return[A,!1]}var $p=class{value;next=null;prev=null;constructor(v){this.value=v}},Ys=class{first;last;constructor(){this.first=null,this.last=null}enqueue(v){const _=new $p(v);return this.last?this.last===this.first?(this.last=_,this.last.prev=this.first,this.first.next=_):(_.prev=this.last,this.last.next=_,this.last=_):(this.first=_,this.last=_),!0}dequeue(){if(!this.first)return null;if(this.first===this.last){const _=this.first;return this.first=null,this.last=null,_.value}const v=this.first;return this.first=v.next,v.value}};function Hn(v){let _=bi(Wa.encode(function Vp(v){if(!Os(v))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,v.pubkey,v.created_at,v.kind,v.tags,v.content])}(v)));return(0,Go.My)(_)}var Cl=new class{generateSecretKey(){return Qi.utils.randomPrivateKey()}getPublicKey(v){return(0,Go.My)(Qi.getPublicKey(v))}finalizeEvent(v,_){const A=v;return A.pubkey=(0,Go.My)(Qi.getPublicKey(_)),A.id=Hn(A),A.sig=(0,Go.My)(Qi.sign(Hn(A),_)),A[Da]=!0,A}verifyEvent(v){if("boolean"==typeof v[Da])return v[Da];const _=Hn(v);if(_!==v.id)return v[Da]=!1,!1;try{const A=Qi.verify(v.sig,_,v.pubkey);return v[Da]=A,A}catch{return v[Da]=!1,!1}}},Dl=Cl.generateSecretKey,Aa=Cl.getPublicKey,Zs=Cl.finalizeEvent,Sc=Cl.verifyEvent;function vs(v){return 1e3<=v&&v<1e4||[1,2,4,5,6,7,8,16,40,41,42,43,44].includes(v)}function Nu(v){return[0,3].includes(v)||1e4<=v&&v<2e4}function Qs(v){return 2e4<=v&&v<3e4}function Md(v){return 3e4<=v&&v<4e4}function xs(v){return vs(v)?"regular":Nu(v)?"replaceable":Qs(v)?"ephemeral":Md(v)?"parameterized":"unknown"}function Od(v,_){const A=_ instanceof Array?_:[_];return Os(v)&&A.includes(v.kind)||!1}bn({},{Application:()=>th,BadgeAward:()=>fn,BadgeDefinition:()=>Jp,BlockedRelaysList:()=>ga,BookmarkList:()=>Kp,Bookmarksets:()=>ld,Calendar:()=>cl,CalendarEventRSVP:()=>Il,ChannelCreation:()=>zp,ChannelHideMessage:()=>Fd,ChannelMessage:()=>Pd,ChannelMetadata:()=>Vg,ChannelMuteUser:()=>ad,ClassifiedListing:()=>rh,ClientAuth:()=>Gp,CommunitiesList:()=>zd,CommunityDefinition:()=>zu,CommunityPostApproval:()=>Uu,Contacts:()=>Lu,CreateOrUpdateProduct:()=>wa,CreateOrUpdateStall:()=>Wd,Curationsets:()=>Qp,Date:()=>dd,DirectMessageRelaysList:()=>Tc,DraftClassifiedListing:()=>oh,DraftLong:()=>Ri,Emojisets:()=>Kd,EncryptedDirectMessage:()=>Al,EventDeletion:()=>Nd,FileMetadata:()=>Wp,FileServerPreference:()=>Hg,Followsets:()=>km,GenericRepost:()=>Fu,Genericlists:()=>Wg,GiftWrap:()=>Hp,HTTPAuth:()=>cd,Handlerinformation:()=>ll,Handlerrecommendation:()=>Ol,Highlights:()=>jd,InterestsList:()=>Hd,Interestsets:()=>Ml,JobFeedback:()=>$d,JobRequest:()=>Ud,JobResult:()=>Wn,Label:()=>Dn,LightningPubRPC:()=>Vu,LiveChatMessage:()=>zg,LiveEvent:()=>eh,LongFormArticle:()=>Vc,Metadata:()=>Rd,Mutelist:()=>tc,NWCWalletInfo:()=>ks,NWCWalletRequest:()=>sd,NWCWalletResponse:()=>Xp,NostrConnect:()=>Yp,OpenTimestamps:()=>sl,Pinlist:()=>Tl,PrivateDirectMessage:()=>Pu,ProblemTracker:()=>Bu,ProfileBadges:()=>qp,PublicChatsList:()=>ju,Reaction:()=>js,RecommendRelay:()=>id,RelayList:()=>Vd,Relaysets:()=>Zp,Report:()=>Bd,Reporting:()=>Rr,Repost:()=>qs,Seal:()=>Ld,SearchRelaysList:()=>Ac,ShortTextNote:()=>_s,Time:()=>pc,UserEmojiList:()=>uc,UserStatuses:()=>Kg,Zap:()=>$u,ZapGoal:()=>jc,ZapRequest:()=>Js,classifyKind:()=>xs,isEphemeralKind:()=>Qs,isKind:()=>Od,isParameterizedReplaceableKind:()=>Md,isRegularKind:()=>vs,isReplaceableKind:()=>Nu});var Rd=0,_s=1,id=2,Lu=3,Al=4,Nd=5,qs=6,js=7,fn=8,Ld=13,Pu=14,Fu=16,zp=40,Vg=41,Pd=42,Fd=43,ad=44,sl=1040,Hp=1059,Wp=1063,zg=1311,Bu=1971,Bd=1984,Rr=1984,Dn=1985,Uu=4550,Ud=5999,Wn=6999,$d=7e3,jc=9041,Js=9734,$u=9735,jd=9802,tc=1e4,Tl=10001,Vd=10002,Kp=10003,zd=10004,ju=10005,ga=10006,Ac=10007,Hd=10015,uc=10030,Tc=10050,Hg=10096,ks=13194,Vu=21e3,Gp=22242,sd=23194,Xp=23195,Yp=24133,cd=27235,km=3e4,Wg=30001,Zp=30002,ld=30003,Qp=30004,qp=30008,Jp=30009,Ml=30015,Wd=30017,wa=30018,Vc=30023,Ri=30024,Kd=30030,th=30078,eh=30311,Kg=30315,rh=30402,oh=30403,dd=31922,pc=31923,cl=31924,Il=31925,Ol=31989,ll=31990,zu=34550;function nh(v,_){if(v.ids&&-1===v.ids.indexOf(_.id)||v.kinds&&-1===v.kinds.indexOf(_.kind)||v.authors&&-1===v.authors.indexOf(_.pubkey))return!1;for(let A in v)if("#"===A[0]){let Z=v[`#${A.slice(1)}`];if(Z&&!_.tags.find(([lt,St])=>lt===A.slice(1)&&-1!==Z.indexOf(St)))return!1}return!(v.since&&_.created_atv.until)}function Gd(v,_){let A=_.length+3,j=v.indexOf(`"${_}":`)+A,Z=v.slice(j).indexOf('"')+j+1;return v.slice(Z,Z+64)}function ul(v,_){let A=_.length,j=v.indexOf(`"${_}":`)+A+3,Z=v.slice(j),lt=Math.min(Z.indexOf(","),Z.indexOf("}"));return parseInt(Z.slice(0,lt),10)}function pd(v){let _=v.slice(0,22).indexOf('"EVENT"');if(-1===_)return null;let A=v.slice(_+7+1).indexOf('"');if(-1===A)return null;let j=_+7+1+A,Z=v.slice(j+1,80).indexOf('"');return-1===Z?null:v.slice(j+1,j+1+Z)}function Xd(v,_){return _===Gd(v,"id")}function Gg(v,_){return _===Gd(v,"pubkey")}function ah(v,_){return _===ul(v,"kind")}function sh(v,_){return{kind:Gp,created_at:Math.floor(Date.now()/1e3),tags:[["relay",v],["challenge",_]],content:""}}function hd(){return hc.apply(this,arguments)}function hc(){return(hc=(0,s.A)(function*(){return new Promise(v=>{const _=new MessageChannel,A=()=>{_.port1.removeEventListener("message",A),v()};_.port1.addEventListener("message",A),_.port2.postMessage(0),_.port1.start()})})).apply(this,arguments)}bn({},{getHex64:()=>Gd,getInt:()=>ul,getSubscriptionId:()=>pd,matchEventId:()=>Xd,matchEventKind:()=>ah,matchEventPubkey:()=>Gg}),bn({},{makeAuthEvent:()=>sh});var ch=v=>(v[Da]=!0,!0),pl=class{url;_connected=!1;onclose=null;onnotice=v=>console.debug(`NOTICE from ${this.url}: ${v}`);_onauth=null;baseEoseTimeout=4400;connectionTimeout=4400;publishTimeout=4400;openSubs=new Map;connectionTimeoutHandle;connectionPromise;openCountRequests=new Map;openEventPublishes=new Map;ws;incomingMessageQueue=new Ys;queueRunning=!1;challenge;serial=0;verifyEvent;_WebSocket;constructor(v,_){this.url=al(v),this.verifyEvent=_.verifyEvent,this._WebSocket=_.websocketImplementation||WebSocket}static connect(v,_){return(0,s.A)(function*(){const A=new pl(v,_);return yield A.connect(),A})()}closeAllSubscriptions(v){for(let[_,A]of this.openSubs)A.close(v);this.openSubs.clear();for(let[_,A]of this.openEventPublishes)A.reject(new Error(v));this.openEventPublishes.clear();for(let[_,A]of this.openCountRequests)A.reject(new Error(v));this.openCountRequests.clear()}get connected(){return this._connected}connect(){var v=this;return(0,s.A)(function*(){return v.connectionPromise||(v.challenge=void 0,v.connectionPromise=new Promise((_,A)=>{v.connectionTimeoutHandle=setTimeout(()=>{A("connection timed out"),v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection timed out")},v.connectionTimeout);try{v.ws=new v._WebSocket(v.url)}catch(j){return void A(j)}v.ws.onopen=()=>{clearTimeout(v.connectionTimeoutHandle),v._connected=!0,_()},v.ws.onerror=j=>{A(j.message||"websocket error"),v._connected&&(v._connected=!1,v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection errored"))},v.ws.onclose=(0,s.A)(function*(){v._connected&&(v._connected=!1,v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection closed"))}),v.ws.onmessage=v._onmessage.bind(v)})),v.connectionPromise})()}runQueue(){var v=this;return(0,s.A)(function*(){for(v.queueRunning=!0;!1!==v.handleNext();)yield hd();v.queueRunning=!1})()}handleNext(){const v=this.incomingMessageQueue.dequeue();if(!v)return!1;const _=pd(v);if(_){const A=this.openSubs.get(_);if(!A)return;const j=Gd(v,"id"),Z=A.alreadyHaveEvent?.(j);if(A.receivedEvent?.(this,j),Z)return}try{let A=JSON.parse(v);switch(A[0]){case"EVENT":{const j=this.openSubs.get(A[1]),Z=A[2];return void(this.verifyEvent(Z)&&function ih(v,_){for(let A=0;A{_.ws?.send(v)})})()}auth(v){var _=this;return(0,s.A)(function*(){if(!_.challenge)throw new Error("can't perform auth, no challenge was received");const A=yield v(sh(_.url,_.challenge)),j=new Promise((Z,lt)=>{_.openEventPublishes.set(A.id,{resolve:Z,reject:lt})});return _.send('["AUTH",'+JSON.stringify(A)+"]"),j})()}publish(v){var _=this;return(0,s.A)(function*(){const A=new Promise((j,Z)=>{_.openEventPublishes.set(v.id,{resolve:j,reject:Z})});return _.send('["EVENT",'+JSON.stringify(v)+"]"),setTimeout(()=>{const j=_.openEventPublishes.get(v.id);j&&(j.reject(new Error("publish timed out")),_.openEventPublishes.delete(v.id))},_.publishTimeout),A})()}count(v,_){var A=this;return(0,s.A)(function*(){A.serial++;const j=_?.id||"count:"+A.serial,Z=new Promise((lt,St)=>{A.openCountRequests.set(j,{resolve:lt,reject:St})});return A.send('["COUNT","'+j+'",'+JSON.stringify(v).substring(1)),Z})()}subscribe(v,_){const A=this.prepareSubscription(v,_);return A.fire(),A}prepareSubscription(v,_){this.serial++;const A=_.id||"sub:"+this.serial,j=new lh(this,A,v,_);return this.openSubs.set(A,j),j}close(){this.closeAllSubscriptions("relay connection closed by us"),this._connected=!1,this.ws?.close()}_onmessage(v){this.incomingMessageQueue.enqueue(v.data),this.queueRunning||this.runQueue()}},lh=class{relay;id;closed=!1;eosed=!1;filters;alreadyHaveEvent;receivedEvent;onevent;oneose;onclose;eoseTimeout;eoseTimeoutHandle;constructor(v,_,A,j){this.relay=v,this.filters=A,this.id=_,this.alreadyHaveEvent=j.alreadyHaveEvent,this.receivedEvent=j.receivedEvent,this.eoseTimeout=j.eoseTimeout||v.baseEoseTimeout,this.oneose=j.oneose,this.onclose=j.onclose,this.onevent=j.onevent||(Z=>{console.warn(`onevent() callback not defined for subscription '${this.id}' in relay ${this.relay.url}. event received:`,Z)})}fire(){this.relay.send('["REQ","'+this.id+'",'+JSON.stringify(this.filters).substring(1)),this.eoseTimeoutHandle=setTimeout(this.receivedEose.bind(this),this.eoseTimeout)}receivedEose(){this.eosed||(clearTimeout(this.eoseTimeoutHandle),this.eosed=!0,this.oneose?.())}close(v="closed by caller"){!this.closed&&this.relay.connected&&(this.relay.send('["CLOSE",'+JSON.stringify(this.id)+"]"),this.closed=!0),this.relay.openSubs.delete(this.id),this.onclose?.(v)}};try{WebSocket}catch{}var gd,Hu=class{relays=new Map;seenOn=new Map;trackRelays=!1;verifyEvent;trustedRelayURLs=new Set;_WebSocket;constructor(v){this.verifyEvent=v.verifyEvent,this._WebSocket=v.websocketImplementation}ensureRelay(v,_){var A=this;return(0,s.A)(function*(){v=al(v);let j=A.relays.get(v);return j||(j=new pl(v,{verifyEvent:A.trustedRelayURLs.has(v)?ch:A.verifyEvent,websocketImplementation:A._WebSocket}),_?.connectionTimeout&&(j.connectionTimeout=_.connectionTimeout),A.relays.set(v,j)),yield j.connect(),j})()}close(v){v.map(al).forEach(_=>{this.relays.get(_)?.close()})}subscribeMany(v,_,A){return this.subscribeManyMap(Object.fromEntries(v.map(j=>[j,_])),A)}subscribeManyMap(v,_){var A=this;this.trackRelays&&(_.receivedEvent=(ur,yr)=>{let cr=this.seenOn.get(yr);cr||(cr=new Set,this.seenOn.set(yr,cr)),cr.add(ur)});const j=new Set,Z=[],lt=Object.keys(v).length,St=[];let Ft=ur=>{St[ur]=!0,St.filter(yr=>yr).length===lt&&(_.oneose?.(),Ft=()=>{})};const Zt=[];let ve=(ur,yr)=>{Ft(ur),Zt[ur]=yr,Zt.filter(cr=>cr).length===lt&&(_.onclose?.(Zt),ve=()=>{})};const Ne=ur=>{if(_.alreadyHaveEvent?.(ur))return!0;const yr=j.has(ur);return j.add(ur),yr},Pe=Promise.all(Object.entries(v).map(function(){var ur=(0,s.A)(function*(yr,cr,Qe){if(Qe.indexOf(yr)!==cr)return void ve(cr,"duplicate url");let Ar,[rr,Tr]=yr;rr=al(rr);try{Ar=yield A.ensureRelay(rr,{connectionTimeout:_.maxWait?Math.max(.8*_.maxWait,_.maxWait-1e3):void 0})}catch(uo){return void ve(cr,uo?.message||String(uo))}let oo=Ar.subscribe(Tr,{..._,oneose:()=>Ft(cr),onclose:uo=>ve(cr,uo),alreadyHaveEvent:Ne,eoseTimeout:_.maxWait});Z.push(oo)});return function(yr,cr,Qe){return ur.apply(this,arguments)}}()));return{close:()=>(0,s.A)(function*(){yield Pe,Z.forEach(ur=>{ur.close()})})()}}subscribeManyEose(v,_,A){const j=this.subscribeMany(v,_,{...A,oneose(){j.close()}});return j}querySync(v,_,A){var j=this;return(0,s.A)(function*(){return new Promise(function(){var Z=(0,s.A)(function*(lt){const St=[];j.subscribeManyEose(v,[_],{...A,onevent(Ft){St.push(Ft)},onclose(Ft){lt(St)}})});return function(lt){return Z.apply(this,arguments)}}())})()}get(v,_,A){var j=this;return(0,s.A)(function*(){_.limit=1;const Z=yield j.querySync(v,_,A);return Z.sort((lt,St)=>St.created_at-lt.created_at),Z[0]||null})()}publish(v,_){var A=this;return v.map(al).map(function(){var j=(0,s.A)(function*(Z,lt,St){if(St.indexOf(Z)!==lt)return Promise.reject("duplicate url");let Ft=yield A.ensureRelay(Z);return Ft.publish(_).then(Zt=>{if(A.trackRelays){let ve=A.seenOn.get(_.id);ve||(ve=new Set,A.seenOn.set(_.id,ve)),ve.add(Ft)}return Zt})});return function(Z,lt,St){return j.apply(this,arguments)}}())}listConnectionStatus(){const v=new Map;return this.relays.forEach((_,A)=>v.set(A,_.connected)),v}destroy(){this.relays.forEach(v=>v.close()),this.relays=new Map}};try{gd=WebSocket}catch{}var Yg=class extends Hu{constructor(){super({verifyEvent:Sc,websocketImplementation:gd})}},Wu={};bn(Wu,{BECH32_REGEX:()=>ec,Bech32MaxSize:()=>Yd,NostrTypeGuard:()=>dh,decode:()=>zc,encodeBytes:()=>es,naddrEncode:()=>tu,neventEncode:()=>Nl,noteEncode:()=>Qd,nprofileEncode:()=>Jd,npubEncode:()=>Zd,nsecEncode:()=>uh});var dh={isNProfile:v=>/^nprofile1[a-z\d]+$/.test(v||""),isNEvent:v=>/^nevent1[a-z\d]+$/.test(v||""),isNAddr:v=>/^naddr1[a-z\d]+$/.test(v||""),isNSec:v=>/^nsec1[a-z\d]{58}$/.test(v||""),isNPub:v=>/^npub1[a-z\d]{58}$/.test(v||""),isNote:v=>/^note1[a-z\d]+$/.test(v||""),isNcryptsec:v=>/^ncryptsec1[a-z\d]+$/.test(v||"")},Yd=5e3,ec=/[\x21-\x7E]{1,83}1[023456789acdefghjklmnpqrstuvwxyz]{6,}/;function zc(v){let{prefix:_,words:A}=st.decode(v,Yd),j=new Uint8Array(st.fromWords(A));switch(_){case"nprofile":{let Z=fd(j);if(!Z[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==Z[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:(0,Go.My)(Z[0][0]),relays:Z[1]?Z[1].map(lt=>Xs.decode(lt)):[]}}}case"nevent":{let Z=fd(j);if(!Z[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==Z[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(Z[2]&&32!==Z[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(Z[3]&&4!==Z[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"nevent",data:{id:(0,Go.My)(Z[0][0]),relays:Z[1]?Z[1].map(lt=>Xs.decode(lt)):[],author:Z[2]?.[0]?(0,Go.My)(Z[2][0]):void 0,kind:Z[3]?.[0]?parseInt((0,Go.My)(Z[3][0]),16):void 0}}}case"naddr":{let Z=fd(j);if(!Z[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!Z[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==Z[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!Z[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==Z[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:Xs.decode(Z[0][0]),pubkey:(0,Go.My)(Z[2][0]),kind:parseInt((0,Go.My)(Z[3][0]),16),relays:Z[1]?Z[1].map(lt=>Xs.decode(lt)):[]}}}case"nsec":return{type:_,data:j};case"npub":case"note":return{type:_,data:(0,Go.My)(j)};default:throw new Error(`unknown prefix ${_}`)}}function fd(v){let _={},A=v;for(;A.length>0;){let j=A[0],Z=A[1],lt=A.slice(2,2+Z);if(A=A.slice(2+Z),lt.lengthWa.encode(A))}))}function Nl(v){let _;return void 0!==v.kind&&(_=function Ku(v){const _=new Uint8Array(4);return _[0]=v>>24&255,_[1]=v>>16&255,_[2]=v>>8&255,_[3]=255&v,_}(v.kind)),qd("nevent",Gu({0:[(0,Go.aT)(v.id)],1:(v.relays||[]).map(j=>Wa.encode(j)),2:v.author?[(0,Go.aT)(v.author)]:[],3:_?[new Uint8Array(_)]:[]}))}function tu(v){let _=new ArrayBuffer(4);return new DataView(_).setUint32(0,v.kind,!1),qd("naddr",Gu({0:[Wa.encode(v.identifier)],1:(v.relays||[]).map(j=>Wa.encode(j)),2:[(0,Go.aT)(v.pubkey)],3:[new Uint8Array(_)]}))}function Gu(v){let _=[];return Object.entries(v).reverse().forEach(([A,j])=>{j.forEach(Z=>{let lt=new Uint8Array(Z.length+2);lt.set([parseInt(A)],0),lt.set([Z.length],1),lt.set(Z,2),_.push(lt)})}),(0,Go.Id)(..._)}var ph={};function Xu(v,_,A){return hl.apply(this,arguments)}function hl(){return(hl=(0,s.A)(function*(v,_,A){const j=v instanceof Uint8Array?(0,Go.My)(v):v,lt=oa(xo.getSharedSecret(j,"02"+_));let St=Uint8Array.from((0,Go.po)(16)),Ft=Wa.encode(A),Zt=Yr(lt,St).encrypt(Ft);return`${co.encode(new Uint8Array(Zt))}?iv=${co.encode(new Uint8Array(St.buffer))}`})).apply(this,arguments)}function Ll(v,_,A){return Mc.apply(this,arguments)}function Mc(){return(Mc=(0,s.A)(function*(v,_,A){const j=v instanceof Uint8Array?(0,Go.My)(v):v;let[Z,lt]=A.split("?iv="),Ft=oa(xo.getSharedSecret(j,"02"+_)),Zt=co.decode(lt),ve=co.decode(Z),Ne=Yr(Ft,Zt).decrypt(ve);return Xs.decode(Ne)})).apply(this,arguments)}function oa(v){return v.slice(1,33)}bn(ph,{decrypt:()=>Ll,encrypt:()=>Xu}),bn({},{NIP05_REGEX:()=>rs,isNip05:()=>Wc,isValid:()=>nu,queryProfile:()=>ou,searchDomain:()=>md,useFetchImplementation:()=>gh});var ru,rs=/^(?:([\w.+-]+)@)?([\w_-]+(\.[\w_-]+)+)$/,Wc=v=>rs.test(v||"");try{ru=fetch}catch{}function gh(v){ru=v}function md(v){return Yu.apply(this,arguments)}function Yu(){return(Yu=(0,s.A)(function*(v,_=""){try{const A=`https://${v}/.well-known/nostr.json?name=${_}`,j=yield ru(A,{redirect:"manual"});if(200!==j.status)throw Error("Wrong response code");return(yield j.json()).names}catch{return{}}})).apply(this,arguments)}function ou(v){return Ic.apply(this,arguments)}function Ic(){return(Ic=(0,s.A)(function*(v){const _=v.match(rs);if(!_)return null;const[,A="_",j]=_;try{const Z=`https://${j}/.well-known/nostr.json?name=${A}`,lt=yield ru(Z,{redirect:"manual"});if(200!==lt.status)throw Error("Wrong response code");const St=yield lt.json(),Ft=St.names[A];return Ft?{pubkey:Ft,relays:St.relays?.[Ft]}:null}catch{return null}})).apply(this,arguments)}function nu(v,_){return Kc.apply(this,arguments)}function Kc(){return(Kc=(0,s.A)(function*(v,_){const A=yield ou(_);return!!A&&A.pubkey===v})).apply(this,arguments)}function Zg(v){const _={reply:void 0,root:void 0,mentions:[],profiles:[]},A=[];for(const j of v.tags)"e"===j[0]&&j[1]&&A.push(j),"p"===j[0]&&j[1]&&_.profiles.push({pubkey:j[1],relays:j[2]?[j[2]]:[]});for(let j=0;jZg}),bn({},{fetchRelayInformation:()=>Qg,useFetchImplementation:()=>Dm});try{fetch}catch{}function Dm(v){}function Qg(v){return Pl.apply(this,arguments)}function Pl(){return(Pl=(0,s.A)(function*(v){return yield(yield fetch(v.replace("ws://","http://").replace("wss://","https://"),{headers:{Accept:"application/nostr+json"}})).json()})).apply(this,arguments)}function bh(v){let _=0;for(let A=0;A<64;A+=8){const j=parseInt(v.substring(A,A+8),16);if(0!==j){_+=Math.clz32(j);break}_+=32}return _}function wh(v,_){let A=0;const j=v,Z=["nonce",A.toString(),_.toString()];for(j.tags.push(Z);;){const lt=Math.floor((new Date).getTime()/1e3);if(lt!==j.created_at&&(A=0,j.created_at=lt),Z[1]=(++A).toString(),j.id=Qu(j),bh(j.id)>=_)break}return j}function Qu(v){return(0,Go.My)(bi(Wa.encode(JSON.stringify([0,v.pubkey,v.created_at,v.kind,v.tags,v.content]))))}function Sm(v,_,A,j){return Zs({kind:qs,tags:[...v.tags??[],["e",_.id,A],["p",_.pubkey]],content:""===v.content?"":JSON.stringify(_),created_at:v.created_at},j)}function yh(v){if(v.kind!==qs)return;let _,A;for(let j=v.tags.length-1;j>=0&&(void 0===_||void 0===A);j--){const Z=v.tags[j];Z.length>=2&&("e"===Z[0]&&void 0===_?_=Z:"p"===Z[0]&&void 0===A&&(A=Z))}return void 0!==_?{id:_[1],relays:[_[2],A?.[2]].filter(j=>"string"==typeof j),author:A?.[1]}:void 0}function Am(v,{skipVerification:_}={}){const A=yh(v);if(void 0===A||""===v.content)return;let j;try{j=JSON.parse(v.content)}catch{return}return j.id===A.id&&(_||Sc(j))?j:void 0}bn({},{fastEventHash:()=>Qu,getPow:()=>bh,minePow:()=>wh}),bn({},{finishRepostEvent:()=>Sm,getRepostedEvent:()=>Am,getRepostedEventPointer:()=>yh}),bn({},{NOSTR_URI_REGEX:()=>au,parse:()=>xh,test:()=>qu});var au=new RegExp(`nostr:(${ec.source})`);function qu(v){return"string"==typeof v&&new RegExp(`^${au.source}$`).test(v)}function xh(v){const _=v.match(new RegExp(`^${au.source}$`));if(!_)throw new Error(`Invalid Nostr URI: ${v}`);return{uri:_[0],value:_[1],decoded:zc(_[1])}}function qg(v,_,A){const j=_.tags.filter(Z=>Z.length>=2&&("e"===Z[0]||"p"===Z[0]));return Zs({...v,kind:js,tags:[...v.tags??[],...j,["e",_.id],["p",_.pubkey]],content:v.content??"+"},A)}function Tm(v){if(v.kind!==js)return;let _,A;for(let j=v.tags.length-1;j>=0&&(void 0===_||void 0===A);j--){const Z=v.tags[j];Z.length>=2&&("e"===Z[0]&&void 0===_?_=Z:"p"===Z[0]&&void 0===A&&(A=Z))}return void 0!==_&&void 0!==A?{id:_[1],relays:[_[2],A[2]].filter(j=>void 0!==j),author:A[1]}:void 0}bn({},{finishReactionEvent:()=>qg,getReactedEventPointer:()=>Tm}),bn({},{matchAll:()=>bd,regex:()=>cu,replaceAll:()=>gc});var cu=()=>new RegExp(`\\b${au.source}\\b`,"g");function*bd(v){const _=v.matchAll(cu());for(const A of _)try{const[j,Z]=A;yield{uri:j,value:Z,decoded:zc(Z),start:A.index,end:A.index+j.length}}catch{}}function gc(v,_){return v.replaceAll(cu(),(A,j)=>_({uri:A,value:j,decoded:zc(j)}))}bn({},{channelCreateEvent:()=>_h,channelHideMessageEvent:()=>Gc,channelMessageEvent:()=>Bw,channelMetadataEvent:()=>gl,channelMuteUserEvent:()=>Bl});var _h=(v,_)=>{let A;if("object"==typeof v.content)A=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;A=v.content}return Zs({kind:zp,tags:[...v.tags??[]],content:A,created_at:v.created_at},_)},gl=(v,_)=>{let A;if("object"==typeof v.content)A=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;A=v.content}return Zs({kind:Vg,tags:[["e",v.channel_create_event_id],...v.tags??[]],content:A,created_at:v.created_at},_)},Bw=(v,_)=>{const A=[["e",v.channel_create_event_id,v.relay_url,"root"]];return v.reply_to_channel_message_event_id&&A.push(["e",v.reply_to_channel_message_event_id,v.relay_url,"reply"]),Zs({kind:Pd,tags:[...A,...v.tags??[]],content:v.content,created_at:v.created_at},_)},Gc=(v,_)=>{let A;if("object"==typeof v.content)A=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;A=v.content}return Zs({kind:Fd,tags:[["e",v.channel_message_event_id],...v.tags??[]],content:A,created_at:v.created_at},_)},Bl=(v,_)=>{let A;if("object"==typeof v.content)A=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;A=v.content}return Zs({kind:ad,tags:[["p",v.pubkey_to_mute],...v.tags??[]],content:A,created_at:v.created_at},_)};bn({},{EMOJI_SHORTCODE_REGEX:()=>Ui,matchAll:()=>du,regex:()=>lu,replaceAll:()=>kh});var wd,Ui=/:(\w+):/,lu=()=>new RegExp(`\\B${Ui.source}\\B`,"g");function*du(v){const _=v.matchAll(lu());for(const A of _)try{const[j,Z]=A;yield{shortcode:j,name:Z,start:A.index,end:A.index+j.length}}catch{}}function kh(v,_){return v.replaceAll(lu(),(A,j)=>_({shortcode:A,name:j}))}bn({},{useFetchImplementation:()=>Ju,validateGithub:()=>Eh});try{wd=fetch}catch{}function Ju(v){wd=v}function Eh(v,_,A){return yd.apply(this,arguments)}function yd(){return(yd=(0,s.A)(function*(v,_,A){try{return(yield(yield wd(`https://gist.github.com/${_}/${A}/raw`)).text())===`Verifying that I control the following Nostr public key: ${v}`}catch{return!1}})).apply(this,arguments)}bn({},{decrypt:()=>Sh,encrypt:()=>Dh,getConversationKey:()=>$l,v2:()=>Oc});var Ul=1,tp=65535;function $l(v,_){const A=xo.getSharedSecret(v,"02"+_).subarray(1,33);return function Te(v,_,A){return ii.hash(v),void 0===A&&(A=new Uint8Array(v.outputLen)),Kt(v,(0,Go.ZJ)(A),(0,Go.ZJ)(_))}(bi,A,"nip44-v2")}function fc(v,_){const A=function wo(v,_,A,j=32){if(ii.hash(v),ii.number(j),j>255*v.outputLen)throw new Error("Length should be <= 255*HashLen");const Z=Math.ceil(j/v.outputLen);void 0===A&&(A=pr);const lt=new Uint8Array(Z*v.outputLen),St=Kt.create(v,_),Ft=St._cloneInto(),Zt=new Uint8Array(St.outputLen);for(let ve=0;vetp)throw new Error("invalid plaintext size: must be between 1 and 65535 bytes");const _=new Uint8Array(2);return new DataView(_.buffer).setUint16(0,v,!1),_}(A),Z=new Uint8Array(uu(A)-A);return(0,Go.Id)(j,_,Z)}(v),Ft=il(j,Z,St),Zt=ef(lt,Ft,A);return co.encode((0,Go.Id)(new Uint8Array([2]),A,Ft,Zt))}function Sh(v,_){const{nonce:A,ciphertext:j,mac:Z}=function Ch(v){if("string"!=typeof v)throw new Error("payload must be a valid string");const _=v.length;if(_<132||_>87472)throw new Error("invalid payload length: "+_);if("#"===v[0])throw new Error("unknown encryption version");let A;try{A=co.decode(v)}catch(lt){throw new Error("invalid base64: "+lt.message)}const j=A.length;if(j<99||j>65603)throw new Error("invalid data length: "+j);const Z=A[0];if(2!==Z)throw new Error("unknown encryption version "+Z);return{nonce:A.subarray(1,33),ciphertext:A.subarray(33,-32),mac:A.subarray(-32)}}(v),{chacha_key:lt,chacha_nonce:St,hmac_key:Ft}=fc(_,A);if(!ka(ef(Ft,j,A),Z))throw new Error("invalid MAC");return function tf(v){const _=new DataView(v.buffer).getUint16(0),A=v.subarray(2,2+_);if(_tp||A.length!==_||v.length!==2+uu(_))throw new Error("invalid padding");return Xs.decode(A)}(il(lt,St,j))}var rp,Oc={utils:{getConversationKey:$l,calcPaddedLen:uu},encrypt:Dh,decrypt:Sh};function Ah(v){const{pathname:_,searchParams:A}=new URL(v),j=_,Z=A.get("relay"),lt=A.get("secret");if(!j||!Z||!lt)throw new Error("invalid connection string");return{pubkey:j,relay:Z,secret:lt}}function Th(v,_,A){return Vl.apply(this,arguments)}function Vl(){return(Vl=(0,s.A)(function*(v,_,A){const Z=yield Xu(_,v,JSON.stringify({method:"pay_invoice",params:{invoice:A}})),lt={kind:sd,created_at:Math.round(Date.now()/1e3),content:Z,tags:[["p",v]]};return Zs(lt,_)})).apply(this,arguments)}bn({},{makeNwcRequestEvent:()=>Th,parseConnectionString:()=>Ah}),bn({},{getZapEndpoint:()=>Mh,makeZapReceipt:()=>hu,makeZapRequest:()=>Hl,useFetchImplementation:()=>pu,validateZapRequest:()=>op});try{rp=fetch}catch{}function pu(v){rp=v}function Mh(v){return Xc.apply(this,arguments)}function Xc(){return(Xc=(0,s.A)(function*(v){try{let _="",{lud06:A,lud16:j}=JSON.parse(v.content);if(A){let{words:St}=st.decode(A,1e3),Ft=st.fromWords(St);_=Xs.decode(Ft)}else{if(!j)return null;{let[St,Ft]=j.split("@");_=new URL(`/.well-known/lnurlp/${St}`,`https://${Ft}`).toString()}}let lt=yield(yield rp(_)).json();if(lt.allowsNostr&<.nostrPubkey)return lt.callback}catch{}return null})).apply(this,arguments)}function Hl({profile:v,event:_,amount:A,relays:j,comment:Z=""}){if(!A)throw new Error("amount not given");if(!v)throw new Error("profile not given");let lt={kind:9734,created_at:Math.round(Date.now()/1e3),content:Z,tags:[["p",v],["amount",A.toString()],["relays",...j]]};return _&<.tags.push(["e",_]),lt}function op(v){let _;try{_=JSON.parse(v)}catch{return"Invalid zap request JSON."}if(!Os(_))return"Zap request is not a valid Nostr event.";if(!Sc(_))return"Invalid signature on zap request.";let A=_.tags.find(([lt,St])=>"p"===lt&&St);if(!A)return"Zap request doesn't have a 'p' tag.";if(!A[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let j=_.tags.find(([lt,St])=>"e"===lt&&St);return j&&!j[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":_.tags.find(([lt,St])=>"relays"===lt&&St)?null:"Zap request doesn't have a 'relays' tag."}function hu({zapRequest:v,preimage:_,bolt11:A,paidAt:j}){let Z=JSON.parse(v),lt=Z.tags.filter(([Ft])=>"e"===Ft||"p"===Ft||"a"===Ft),St={kind:9735,created_at:Math.round(j.getTime()/1e3),content:"",tags:[...lt,["P",Z.pubkey],["bolt11",A],["description",v]]};return _&&St.tags.push(["preimage",_]),St}bn({},{createRumor:()=>mc,createSeal:()=>ap,createWrap:()=>fl,unwrapEvent:()=>ya,unwrapManyEvents:()=>Yc,wrapEvent:()=>nf,wrapManyEvents:()=>af});var np=()=>Math.round(Date.now()/1e3),ip=()=>Math.round(np()-172800*Math.random()),xd=(v,_)=>$l(v,_),Oh=(v,_,A)=>Dh(JSON.stringify(v),xd(_,A)),os=(v,_)=>JSON.parse(Sh(v.content,xd(_,v.pubkey)));function mc(v,_){const A={created_at:np(),content:"",tags:[],...v,pubkey:Aa(_)};return A.id=Hn(A),A}function ap(v,_,A){return Zs({kind:Ld,content:Oh(v,_,A),created_at:ip(),tags:[]},_)}function fl(v,_){const A=Dl();return Zs({kind:Hp,content:Oh(v,A,_),created_at:ip(),tags:[["p",_]]},A)}function nf(v,_,A){return fl(ap(mc(v,_),_,A),A)}function af(v,_,A){if(!A||0===A.length)throw new Error("At least one recipient is required.");const j=Aa(_),Z=[nf(v,_,j)];return A.forEach(lt=>{Z.push(nf(v,_,lt))}),Z}function ya(v,_){const A=os(v,_);return os(A,_)}function Yc(v,_){let A=[];return v.forEach(j=>{A.push(ya(j,_))}),A.sort((j,Z)=>j.created_at-Z.created_at),A}bn({},{getToken:()=>cp,hashPayload:()=>mu,unpackEventFromToken:()=>lp,validateEvent:()=>Fh,validateEventKind:()=>Nh,validateEventMethodTag:()=>Lh,validateEventPayloadTag:()=>Ph,validateEventTimestamp:()=>Wl,validateEventUrlTag:()=>dp,validateToken:()=>sf});var Rh="Nostr ";function cp(v,_,A){return gu.apply(this,arguments)}function gu(){return(gu=(0,s.A)(function*(v,_,A,j=!1,Z){const lt={kind:cd,tags:[["u",v],["method",_]],created_at:Math.round((new Date).getTime()/1e3),content:""};Z&<.tags.push(["payload",mu(Z)]);const St=yield A(lt);return(j?Rh:"")+co.encode(Wa.encode(JSON.stringify(St)))})).apply(this,arguments)}function sf(v,_,A){return fu.apply(this,arguments)}function fu(){return(fu=(0,s.A)(function*(v,_,A){const j=yield lp(v).catch(lt=>{throw lt});return yield Fh(j,_,A).catch(lt=>{throw lt})})).apply(this,arguments)}function lp(v){return Rc.apply(this,arguments)}function Rc(){return(Rc=(0,s.A)(function*(v){if(!v)throw new Error("Missing token");v=v.replace(Rh,"");const _=Xs.decode(co.decode(v));if(!_||0===_.length||!_.startsWith("{"))throw new Error("Invalid token");return JSON.parse(_)})).apply(this,arguments)}function Wl(v){return!!v.created_at&&Math.round((new Date).getTime()/1e3)-v.created_at<60}function Nh(v){return v.kind===cd}function dp(v,_){const A=v.tags.find(j=>"u"===j[0]);return!!A&&A.length>0&&A[1]===_}function Lh(v,_){const A=v.tags.find(j=>"method"===j[0]);return!!A&&A.length>0&&A[1].toLowerCase()===_.toLowerCase()}function mu(v){const _=bi(Wa.encode(JSON.stringify(v)));return(0,Go.My)(_)}function Ph(v,_){const A=v.tags.find(Z=>"payload"===Z[0]);if(!A)return!1;const j=mu(_);return A.length>0&&A[1]===j}function Fh(v,_,A,j){return ml.apply(this,arguments)}function ml(){return(ml=(0,s.A)(function*(v,_,A,j){if(!Sc(v))throw new Error("Invalid nostr event, signature invalid");if(!Nh(v))throw new Error("Invalid nostr event, kind invalid");if(!Wl(v))throw new Error("Invalid nostr event, created_at timestamp invalid");if(!dp(v,_))throw new Error("Invalid nostr event, url tag invalid");if(!Lh(v,A))throw new Error("Invalid nostr event, method tag invalid");if(j&&"object"==typeof j&&Object.keys(j).length>0&&!Ph(v,j))throw new Error("Invalid nostr event, payload tag does not match request body hash");return!0})).apply(this,arguments)}},8418:(i,a,r)=>{"use strict";r.d(a,{In:()=>W,rV:()=>q}),Symbol("verified");var W=3,q=4},6391:(i,a,r)=>{"use strict";r.d(a,{Vw:()=>tt,My:()=>M,Id:()=>ht,O8:()=>k,aT:()=>R,po:()=>nt,Ow:()=>S,ZJ:()=>ct,ld:()=>$t});const o="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,s=at=>at instanceof Uint8Array,k=at=>new DataView(at.buffer,at.byteOffset,at.byteLength),S=(at,rt)=>at<<32-rt|at>>>rt;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const T=Array.from({length:256},(at,rt)=>rt.toString(16).padStart(2,"0"));function M(at){if(!s(at))throw new Error("Uint8Array expected");let rt="";for(let yt=0;ytCt+Vt.length,0));let yt=0;return at.forEach(Ct=>{if(!s(Ct))throw new Error("Uint8Array expected");rt.set(Ct,yt),yt+=Ct.length}),rt}class tt{clone(){return this._cloneInto()}}function $t(at){const rt=Ct=>at().update(ct(Ct)).digest(),yt=at();return rt.outputLen=yt.outputLen,rt.blockLen=yt.blockLen,rt.create=()=>at(),rt}function nt(at=32){if(o&&"function"==typeof o.getRandomValues)return o.getRandomValues(new Uint8Array(at));throw new Error("crypto.getRandomValues must be defined")}},7106:(i,a,r)=>{"use strict";function o(s,c){this.v=s,this.k=c}r.d(a,{A:()=>o})},467:(i,a,r)=>{"use strict";function o(c,y,k,S,I,T,M){try{var R=c[T](M),L=R.value}catch(J){return void k(J)}R.done?y(L):Promise.resolve(L).then(S,I)}function s(c){return function(){var y=this,k=arguments;return new Promise(function(S,I){var T=c.apply(y,k);function M(L){o(T,S,I,M,R,"next",L)}function R(L){o(T,S,I,M,R,"throw",L)}M(void 0)})}}r.d(a,{A:()=>s})},6218:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});var o=r(7106);function s(c){return new o.A(c,0)}},600:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});var o=r(7106);function s(y){return function(){return new c(y.apply(this,arguments))}}function c(y){var k,S;function I(M,R){try{var L=y[M](R),J=L.value,W=J instanceof o.A;Promise.resolve(W?J.v:J).then(function(q){if(W){var ct="return"===M?"return":"next";if(!J.k||q.done)return I(ct,q);q=y[ct](q).value}T(L.done?"return":"normal",q)},function(q){I("throw",q)})}catch(q){T("throw",q)}}function T(M,R){switch(M){case"return":k.resolve({value:R,done:!0});break;case"throw":k.reject(R);break;default:k.resolve({value:R,done:!1})}(k=k.next)?I(k.key,k.arg):S=null}this._invoke=function(M,R){return new Promise(function(L,J){var W={key:M,arg:R,resolve:L,reject:J,next:null};S?S=S.next=W:(k=S=W,I(M,R))})},"function"!=typeof y.return&&(this.return=void 0)}c.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},c.prototype.next=function(y){return this._invoke("next",y)},c.prototype.throw=function(y){return this._invoke("throw",y)},c.prototype.return=function(y){return this._invoke("return",y)}},1635:(i,a,r)=>{"use strict";function J(gt,Nt,Ae,Rt){return new(Ae||(Ae=Promise))(function(jt,De){function Ye(Ut){try{pe(Rt.next(Ut))}catch(Ee){De(Ee)}}function ft(Ut){try{pe(Rt.throw(Ut))}catch(Ee){De(Ee)}}function pe(Ut){Ut.done?jt(Ut.value):function de(jt){return jt instanceof Ae?jt:new Ae(function(De){De(jt)})}(Ut.value).then(Ye,ft)}pe((Rt=Rt.apply(gt,Nt||[])).next())})}function At(gt){return this instanceof At?(this.v=gt,this):new At(gt)}function kt(gt,Nt,Ae){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,Rt=Ae.apply(gt,Nt||[]),jt=[];return de=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Ye("next"),Ye("throw"),Ye("return",function De(He){return function(Wt){return Promise.resolve(Wt).then(He,Ee)}}),de[Symbol.asyncIterator]=function(){return this},de;function Ye(He,Wt){Rt[He]&&(de[He]=function(Me){return new Promise(function(Fe,We){jt.push([He,Me,Fe,We])>1||ft(He,Me)})},Wt&&(de[He]=Wt(de[He])))}function ft(He,Wt){try{!function pe(He){He.value instanceof At?Promise.resolve(He.value.v).then(Ut,Ee):ie(jt[0][2],He)}(Rt[He](Wt))}catch(Me){ie(jt[0][3],Me)}}function Ut(He){ft("next",He)}function Ee(He){ft("throw",He)}function ie(He,Wt){He(Wt),jt.shift(),jt.length&&ft(jt[0][0],jt[0][1])}}function at(gt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ae,Nt=gt[Symbol.asyncIterator];return Nt?Nt.call(gt):(gt=function ht(gt){var Nt="function"==typeof Symbol&&Symbol.iterator,Ae=Nt&>[Nt],Rt=0;if(Ae)return Ae.call(gt);if(gt&&"number"==typeof gt.length)return{next:function(){return gt&&Rt>=gt.length&&(gt=void 0),{value:gt&>[Rt++],done:!gt}}};throw new TypeError(Nt?"Object is not iterable.":"Symbol.iterator is not defined.")}(gt),Ae={},Rt("next"),Rt("throw"),Rt("return"),Ae[Symbol.asyncIterator]=function(){return this},Ae);function Rt(jt){Ae[jt]=gt[jt]&&function(De){return new Promise(function(Ye,ft){!function de(jt,De,Ye,ft){Promise.resolve(ft).then(function(pe){jt({value:pe,done:Ye})},De)}(Ye,ft,(De=gt[jt](De)).done,De.value)})}}}r.d(a,{AQ:()=>kt,N3:()=>At,sH:()=>J,xN:()=>at}),"function"==typeof SuppressedError&&SuppressedError}},i=>{i(i.s=4248)}]); \ No newline at end of file diff --git a/ngsw-worker.js b/ngsw-worker.js index 3deb2a5..03f1c4d 100644 --- a/ngsw-worker.js +++ b/ngsw-worker.js @@ -19,7 +19,7 @@ }; var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/named-cache-storage.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/named-cache-storage.mjs var NamedCacheStorage = class { constructor(original, cacheNamePrefix) { this.original = original; @@ -46,7 +46,7 @@ } }; - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/adapter.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/adapter.mjs var Adapter = class { constructor(scopeUrl, caches) { this.scopeUrl = scopeUrl; @@ -84,7 +84,7 @@ } }; - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/database.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/database.mjs var NotFound = class { constructor(table, key) { this.table = table; @@ -92,7 +92,7 @@ } }; - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/db-cache.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/db-cache.mjs var CacheDatabase = class { constructor(adapter2) { this.adapter = adapter2; @@ -150,7 +150,7 @@ } }; - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/api.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/api.mjs var UpdateCacheStatus; (function(UpdateCacheStatus2) { UpdateCacheStatus2[UpdateCacheStatus2["NOT_CACHED"] = 0] = "NOT_CACHED"; @@ -158,7 +158,7 @@ UpdateCacheStatus2[UpdateCacheStatus2["CACHED"] = 2] = "CACHED"; })(UpdateCacheStatus || (UpdateCacheStatus = {})); - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/error.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/error.mjs var SwCriticalError = class extends Error { constructor() { super(...arguments); @@ -180,7 +180,7 @@ ${error.stack}`; } }; - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/sha1.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/sha1.mjs function sha1(str) { const utf8 = str; const words32 = stringToWords32(utf8, Endian.Big); @@ -295,7 +295,7 @@ ${error.stack}`; return hex.toLowerCase(); } - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/assets.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/assets.mjs var AssetGroup = class { constructor(scope2, adapter2, idle, config, hashes, db, cacheNamePrefix) { this.scope = scope2; @@ -583,7 +583,7 @@ ${error.stack}`; } }; - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/data.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/data.mjs var LruList = class { constructor(state) { if (state === void 0) { @@ -877,7 +877,7 @@ ${error.stack}`; } }; - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/app-version.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/app-version.mjs var BACKWARDS_COMPATIBILITY_NAVIGATION_URLS = [ { positive: true, regex: "^/.*$" }, { positive: false, regex: "^/.*\\.[^/]*$" }, @@ -1028,8 +1028,8 @@ ${error.stack}`; } }; - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/debug.mjs - var SW_VERSION = "18.2.9"; + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/debug.mjs + var SW_VERSION = "18.2.10"; var DEBUG_LOG_BUFFER_SIZE = 100; var DebugHandler = class { constructor(driver, adapter2) { @@ -1102,7 +1102,7 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" } } }; - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/idle.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/idle.mjs var IdleScheduler = class { constructor(adapter2, delay, maxDelay, debug) { this.adapter = adapter2; @@ -1180,12 +1180,12 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" } } }; - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/manifest.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/manifest.mjs function hashManifest(manifest) { return sha1(JSON.stringify(manifest)); } - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/msg.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/msg.mjs function isMsgCheckForUpdates(msg) { return msg.action === "CHECK_FOR_UPDATES"; } @@ -1193,7 +1193,7 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" } return msg.action === "ACTIVATE_UPDATE"; } - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/driver.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/driver.mjs var IDLE_DELAY = 5e3; var MAX_IDLE_DELAY = 3e4; var SUPPORTED_CONFIG_VERSION = 1; @@ -1849,7 +1849,7 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" } } }; - // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/main.mjs + // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/main.mjs var scope = self; var adapter = new Adapter(scope.registration.scope, self.caches); new Driver(scope, adapter, new CacheDatabase(adapter)); diff --git a/ngsw.json b/ngsw.json index e3324d6..2698caa 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1730452274819, + "timestamp": 1730522224517, "index": "/index.html", "assetGroups": [], "dataGroups": [],