From c10834b6a0e784645dae9ff47822829bec882172 Mon Sep 17 00:00:00 2001 From: missmeowness Date: Sun, 23 Apr 2023 11:04:25 +0000 Subject: [PATCH] deploy: be32df1b2a1379f889c80c533485254f9dcba68f --- 404.html | 2 +- assets/i18n/en.json | 89 +++++++++++++++++++++++++- assets/i18n/no.json | 81 +++++++++++++++++++++++- assets/i18n/ru.json | 132 ++++++++++++++++++++++++++++++++------- index.html | 2 +- main.104b7e3d1c506475.js | 1 + main.3540de48f1f27cb7.js | 1 - ngsw.json | 14 ++--- 8 files changed, 287 insertions(+), 35 deletions(-) create mode 100644 main.104b7e3d1c506475.js delete mode 100644 main.3540de48f1f27cb7.js diff --git a/404.html b/404.html index c762e40..b3a605c 100644 --- a/404.html +++ b/404.html @@ -25,6 +25,6 @@
Blockcore Notes loading...
- + \ No newline at end of file diff --git a/assets/i18n/en.json b/assets/i18n/en.json index 6e7d545..d9e23ba 100644 --- a/assets/i18n/en.json +++ b/assets/i18n/en.json @@ -12,6 +12,7 @@ "ConvertKey": "Convert Key" }, "Settings": { + "Options": "Options", "OptionsTitle": "App Options", "OptionsDescription": "Choose important options for your user experience", "Settings": "Settings", @@ -19,6 +20,92 @@ "DisplayLanguage": "Display Language", "ChooseMode": "Choose your mode", "Dark": "Dark", - "Light": "Light" + "Light": "Light", + "MediaTitle": "Media Upload Service", + "MediaSubtitle": "Choose which service to use for uploading photos and films", + "Reactions": "Reactions", + "ReactionsSubtitle": "Control if likes should be loaded and displayed", + "ReactionsNote": "Reactions is not for everyone and it might consider clutter by some. It also takes up additional bandwidth to download.", + "EnableReactions": "Enable Reactions", + "Zapping": "Zapping", + "ZappingSubtitle": "Control if zapping features should be enabled", + "EnableZapping": "Enable Zapping", + "MediaWidgets": "Media widgets", + "MediaWidgetsSubtitle": "Control how content are rendered", + "MediaWidgetsNote": "Enable this to allow the app to render music widgets when URLs linked to the services is seen in notes.", + "EnableSpotify": "Enable Spotify", + "EnableTidal": "Enable Tidal", + "OpenMediaPlayer": "Open Media Player" + }, + "Notifications": { + "Options": "Options", + "ResetNotifications": "Reset Notifications", + "ShowMore": "Show More..." + }, + "People": { + "Options": "Options", + "Show": "Show", + "Following": "Following", + "Muted": "Muted", + "Blocked": "Blocked", + "Cached": "Cached", + "Sorting": "Sorting", + "NameAZ": "Name (A-Z)", + "NameZA": "Name (Z-A)", + "FollowedNewest": "Followed (Newest)", + "FollowedOldest": "Followed (Oldest)", + "UpdatedNewest": "Updated (Newest)", + "UpdatedOldest": "Updated (Oldest)", + "LargeIcons": "Large icons", + "MediumIcons": "Medium icons", + "SmallIcons": "Small icons", + "Details": "Details", + "Tiles": "Tiles", + "Content": "Content", + "PublishFollowList": "Publish Follow (and Relays) List", + "SavePublicFollowing": "Save Public Following (backup)", + "Followed": "Followed" + }, + "Profile": { + "PickProfileImage": "Pick Profile Image", + "PickProfileBanner": "Pick Profile Banner", + "DisplayName": "Display Name", + "Nickname": "Nickname", + "About": "About", + "MailDomainIdentifier": "E-mail/Domain Identifier (NIP05)", + "Website": "Website", + "BitcoinPaymentLink": "Bitcoin Payment Link (LUD06)", + "BitoinPaymenAlias": "Bitcoin Payment Alias (LUD16)", + "LastUpdated": "Last updated", + "Cancel": "Cancel", + "Save": "Save" + }, + "Relays": { + "Options": "Options", + "AppendFromExtension": "Append from extension", + "AppendFromApp": "Append from app", + "PublishRelay(and following)list": "Publish relay (and following) list", + "PublishRelay(NIP-65)list": "Publish relay (NIP-65) list", + "DeleteAllRelays": "Delete All Relays" + }, + "RelayDialog": { + "AddARelay": "Add a relay", + "Read": "Read", + "Write": "Write", + "Cancel": "Cancel", + "Add": "Add" + }, + "Relay": { + "Administrator": "Administrator", + "Contact": "Contact", + "Software": "Software", + "Timeouts": "Timeouts", + "Events": "Events", + "RelayOptions": "Relay Options", + "RelayStatus": "Relay Status", + "RelayStatusSubtitle": "Allows you to disable a relay locally.", + "RelayPrivacy": "Relay Privacy", + "PrimaryRelay": "Primary Relay", + "Delete": "Delete" } } diff --git a/assets/i18n/no.json b/assets/i18n/no.json index ea3f4a6..7ac34b1 100644 --- a/assets/i18n/no.json +++ b/assets/i18n/no.json @@ -19,6 +19,85 @@ "DisplayLanguage": "Velg språk", "ChooseMode": "Velg fargetema", "Dark": "Mørk", - "Light": "Lys" + "Light": "Lys", + "MediaTitle": "Media Upload Service", + "MediaSubtitle": "Choose which service to use for uploading photos and films", + "Reactions": "Reactions", + "ReactionsSubtitle": "Control if likes should be loaded and displayed", + "ReactionsNote": "Reactions is not for everyone and it might consider clutter by some. It also takes up additional bandwidth to download.", + "EnableReactions": "Enable Reactions", + "Zapping": "Zapping", + "ZappingSubtitle": "Control if zapping features should be enabled", + "EnableZapping": "Enable Zapping", + "MediaWidgets": "Media widgets", + "MediaWidgetsSubtitle": "Control how content are rendered", + "MediaWidgetsNote": "Enable this to allow the app to render music widgets when URLs linked to the services is seen in notes.", + "EnableSpotify": "Enable Spotify", + "EnableTidal": "Enable Tidal", + "OpenMediaPlayer": "Open Media Player" + }, + "Notifications": { + "Options": "Alternativ", + "ResetNotifications": "Tilbakestill varsler", + "ShowMore": "Vis flere..." + }, + "People": { + "Options": "Options", + "Show": "Show", + "Following": "Following", + "Muted": "Muted", + "Blocked": "Blocked", + "Cached": "Cached", + "Sorting": "Sorting", + "NameAZ": "Name (A-Z)", + "NameZA": "Name (Z-A)", + "FollowedNewest": "Followed (Newest)", + "FollowedOldest": "Followed (Oldest)", + "UpdatedNewest": "Updated (Newest)", + "UpdatedOldest": "Updated (Oldest)", + "LargeIcons": "Large icons", + "MediumIcons": "Medium icons", + "SmallIcons": "Small icons", + "Details": "Details", + "Tiles": "Tiles", + "Content": "Content", + "PublishFollowList": "Publish Follow (and Relays) List", + "SavePublicFollowing": "Save Public Following (backup)", + "Followed": "Followed" + }, + "Profile": { + "PickProfileImage": "Pick Profile Image", + "PickProfileBanner": "Pick Profile Banner", + "DisplayName": "Display Name", + "Nickname": "Nickname", + "About": "About", + "MailDomainIdentifier": "E-mail/Domain Identifier (NIP05)", + "Website": "Website", + "BitcoinPaymentLink": "Bitcoin Payment Link (LUD06)", + "BitoinPaymenAlias": "Bitcoin Payment Alias (LUD16)", + "LastUpdated": "Last updated", + "Cancel": "Cancel", + "Save": "Save" + }, + "Relays": { + "Options": "Alternativ", + "AppendFromExtension": "Legg til fra utvidelse", + "AppendFromApp": "Legg til fra app", + "PublishRelay(and following)list": "Publiser relay (og følgende) liste", + "PublishRelay(NIP-65)list": "Publiser relay (NIP-65) liste", + "DeleteAllRelays": "Slett alle relays" + }, + "Relay": { + "Administrator": "Administrator", + "Contact": "Kontakt", + "Software": "Programvare", + "Timeouts": "Tidsavbrudd", + "Events": "Hendelser", + "RelayOptions": "Relay alternativ", + "RelayStatus": "Relay status", + "RelayStatusSubtitle": "Lar deg deaktivere en relay lokalt.", + "RelayPrivacy": "Relay personvern", + "PrimaryRelay": "Primær relay", + "Delete": "Slett" } } diff --git a/assets/i18n/ru.json b/assets/i18n/ru.json index d019015..d9e23ba 100644 --- a/assets/i18n/ru.json +++ b/assets/i18n/ru.json @@ -1,25 +1,111 @@ { - "en": "English", - "no": "Norsk", - "fr": "French", - "el": "Greek", - "fa": "Persian", - "ar": "Arabic", - "he": "Hebrew", - "ru": "Русский", - "App": { - "Hide": "Скрыть", - "ConvertKey": "Преобразовать ключ" - }, - "Settings": { - "OptionsTitle": "Параметры приложения", - "OptionsDescription": "Выберите важные параметры для вашего пользовательского интерфейса", - "Settings": "Настройки", - "Save": "Сохранить", - "DisplayLanguage": "Язык отображения", - "ChooseMode": "Выберите тему", - "Dark": "Тёмная", - "Light": "Светлая" - } + "en": "English", + "no": "Norsk", + "fr": "French", + "el": "Greek", + "fa": "Persian", + "ar": "Arabic", + "he": "Hebrew", + "ru": "Русский", + "App": { + "Hide": "Hide", + "ConvertKey": "Convert Key" + }, + "Settings": { + "Options": "Options", + "OptionsTitle": "App Options", + "OptionsDescription": "Choose important options for your user experience", + "Settings": "Settings", + "Save": "Save", + "DisplayLanguage": "Display Language", + "ChooseMode": "Choose your mode", + "Dark": "Dark", + "Light": "Light", + "MediaTitle": "Media Upload Service", + "MediaSubtitle": "Choose which service to use for uploading photos and films", + "Reactions": "Reactions", + "ReactionsSubtitle": "Control if likes should be loaded and displayed", + "ReactionsNote": "Reactions is not for everyone and it might consider clutter by some. It also takes up additional bandwidth to download.", + "EnableReactions": "Enable Reactions", + "Zapping": "Zapping", + "ZappingSubtitle": "Control if zapping features should be enabled", + "EnableZapping": "Enable Zapping", + "MediaWidgets": "Media widgets", + "MediaWidgetsSubtitle": "Control how content are rendered", + "MediaWidgetsNote": "Enable this to allow the app to render music widgets when URLs linked to the services is seen in notes.", + "EnableSpotify": "Enable Spotify", + "EnableTidal": "Enable Tidal", + "OpenMediaPlayer": "Open Media Player" + }, + "Notifications": { + "Options": "Options", + "ResetNotifications": "Reset Notifications", + "ShowMore": "Show More..." + }, + "People": { + "Options": "Options", + "Show": "Show", + "Following": "Following", + "Muted": "Muted", + "Blocked": "Blocked", + "Cached": "Cached", + "Sorting": "Sorting", + "NameAZ": "Name (A-Z)", + "NameZA": "Name (Z-A)", + "FollowedNewest": "Followed (Newest)", + "FollowedOldest": "Followed (Oldest)", + "UpdatedNewest": "Updated (Newest)", + "UpdatedOldest": "Updated (Oldest)", + "LargeIcons": "Large icons", + "MediumIcons": "Medium icons", + "SmallIcons": "Small icons", + "Details": "Details", + "Tiles": "Tiles", + "Content": "Content", + "PublishFollowList": "Publish Follow (and Relays) List", + "SavePublicFollowing": "Save Public Following (backup)", + "Followed": "Followed" + }, + "Profile": { + "PickProfileImage": "Pick Profile Image", + "PickProfileBanner": "Pick Profile Banner", + "DisplayName": "Display Name", + "Nickname": "Nickname", + "About": "About", + "MailDomainIdentifier": "E-mail/Domain Identifier (NIP05)", + "Website": "Website", + "BitcoinPaymentLink": "Bitcoin Payment Link (LUD06)", + "BitoinPaymenAlias": "Bitcoin Payment Alias (LUD16)", + "LastUpdated": "Last updated", + "Cancel": "Cancel", + "Save": "Save" + }, + "Relays": { + "Options": "Options", + "AppendFromExtension": "Append from extension", + "AppendFromApp": "Append from app", + "PublishRelay(and following)list": "Publish relay (and following) list", + "PublishRelay(NIP-65)list": "Publish relay (NIP-65) list", + "DeleteAllRelays": "Delete All Relays" + }, + "RelayDialog": { + "AddARelay": "Add a relay", + "Read": "Read", + "Write": "Write", + "Cancel": "Cancel", + "Add": "Add" + }, + "Relay": { + "Administrator": "Administrator", + "Contact": "Contact", + "Software": "Software", + "Timeouts": "Timeouts", + "Events": "Events", + "RelayOptions": "Relay Options", + "RelayStatus": "Relay Status", + "RelayStatusSubtitle": "Allows you to disable a relay locally.", + "RelayPrivacy": "Relay Privacy", + "PrimaryRelay": "Primary Relay", + "Delete": "Delete" } - \ No newline at end of file +} diff --git a/index.html b/index.html index c762e40..b3a605c 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,6 @@
Blockcore Notes loading...
- + \ No newline at end of file diff --git a/main.104b7e3d1c506475.js b/main.104b7e3d1c506475.js new file mode 100644 index 0000000..2ecb1d7 --- /dev/null +++ b/main.104b7e3d1c506475.js @@ -0,0 +1 @@ +(self.webpackChunkblockcore_notes=self.webpackChunkblockcore_notes||[]).push([[179],{7411:(Se,O,y)=>{"use strict";y.d(O,{d:()=>x});var f=y(8505),e=y(4650),g=y(6233),_=y(529);class x{constructor(F,S,D){this.cd=F,this.appState=S,this.http=D}ngOnInit(){this.appState.showBackButton=!0,this.appState.updateTitle("Licenses"),this.appState.actions=[],this.showContent("3rdpartylicenses.txt",S=>`
${S.replace(//g,">")}
`)}showContent(F,S=(D=>D)){this.http.get(F,{responseType:"text"}).pipe((0,f.b)(D=>{this.licenses=D,this.cd.markForCheck()},D=>{this.licenses=`Unable to get content (${D.statusText})`,this.cd.markForCheck()})).subscribe()}}x.\u0275fac=function(F){return new(F||x)(e.Y36(e.sBO),e.Y36(g.i),e.Y36(_.eN))},x.\u0275cmp=e.Xpm({type:x,selectors:[["app-licenses"]],decls:9,vars:1,consts:[[1,"page"],["href","https://github.com/block-core/blockcore-notes","target","_blank"],[1,"marginless","heading"],[1,"linebreaks"]],template:function(F,S){1&F&&(e.TgZ(0,"div",0)(1,"p"),e._uU(2,"Blockcore Note is an open source project published under the MIT license. You can view the source code on "),e.TgZ(3,"a",1),e._uU(4,"GitHub"),e.qZA()(),e.TgZ(5,"h1",2),e._uU(6,"Third Party Licenses"),e.qZA(),e.TgZ(7,"div",3),e._uU(8),e.qZA()()),2&F&&(e.xp6(8),e.Oqu(S.licenses))},styles:[".mascot[_ngcontent-%COMP%]{width:100%;max-width:1024px}.logo[_ngcontent-%COMP%]{float:left;margin-bottom:1em;margin-right:1em;max-width:128px;margin-left:-8em}.help[_ngcontent-%COMP%]{padding-left:10em}@media only screen and (max-width: 599px){.help[_ngcontent-%COMP%]{font-size:.8em;padding-left:8em}.logo[_ngcontent-%COMP%]{max-width:64px;margin-left:-6em}}"]})},6233:(Se,O,y)=>{"use strict";y.d(O,{i:()=>P});var f=y(1135),e=y(4004),g=y(3151),_=y(4650),x=y(9383),k=y(2289),F=y(592),S=y(6895),D=y(1481);class P{constructor(I,L,J,Z,ne){this.translate=I,this.breakpointObserver=L,this.authService=J,this.location=Z,this.titleService=ne,this.title="Blockcore Notes",this.titleChanged=new f.X(this.title),this.goBack=!1,this.showBackButton=!1,this.showSearch=!1,this.showLogo=!0,this.actions=[],this.documentDirection="ltr",this.connected=!1,this.connectedChanged=new f.X(this.connected),this.initializedChanged=new f.X(!1),this.visibilityChanged=new f.X(!1),this.initialized=!1,this.isSmallScreen$=this.breakpointObserver.observe("(max-width: 599px)").pipe((0,e.U)(V=>V.matches),(0,g.d)()),this.displayLabels$=this.breakpointObserver.observe("(max-width: 720px)").pipe((0,e.U)(V=>V.matches),(0,g.d)()),this.connected$=this.connectedChanged.asObservable(),this.visibility$=this.visibilityChanged.asObservable(),this.title$=this.titleChanged.asObservable(),this.initialized$=this.initializedChanged.asObservable()}getPublicKey(){return this.authService.authInfo$.getValue().publicKeyHex}getPublicKeyDisplay(){return this.authService.authInfo$.getValue().publicKey}navigateBack(){this.location.back()}updateTitle(I){this.title=I,this.titleService.setTitle(I+" - Blockcore Notes"),this.titleChanged.next(this.title)}updateConnectionStatus(I){this.connected!=I&&(this.connected=I,this.connectedChanged.next(I))}visibility(I){this.visibilityChanged.next(I)}setInitialized(){this.initialized=!0,this.initializedChanged.next(this.initialized)}setLanguage(I){this.translate.use(I)}}P.\u0275fac=function(I){return new(I||P)(_.LFG(x.sK),_.LFG(k.Yg),_.LFG(F.$),_.LFG(S.Ye),_.LFG(D.Dx))},P.\u0275prov=_.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})},5301:(Se,O,y)=>{"use strict";y.d(O,{P:()=>x});var f=y(4650),e=y(6233),g=y(592),_=y(9132);class x{constructor(F,S,D){this.appState=F,this.authService=S,this.router=D}canActivate(){return!!this.authService.authInfo$.getValue().authenticated()||this.authService.getAuthInfo().then(F=>!!F.authenticated()||(this.router.navigateByUrl("/connect"),!1))}}x.\u0275fac=function(F){return new(F||x)(f.LFG(e.i),f.LFG(g.$),f.LFG(_.F0))},x.\u0275prov=f.Yz7({token:x,factory:x.\u0275fac})},592:(Se,O,y)=>{"use strict";y.d(O,{$:()=>F});var f=y(5861),e=y(1135),g=y(4650),_=y(7949),x=y(9132);class k{authenticated(){return!!this.publicKeyHex}}class F{constructor(D,P){this.utilities=D,this.router=P,this.authInfo$=new e.X(F.UNKNOWN_USER)}login(){var D=this;return(0,f.Z)(function*(){const U=yield globalThis.nostr.getPublicKey(),I=D.createUser(U);return localStorage.setItem("blockcore:notes:nostr:pubkey",U),D.authInfo$.next(I),I})()}anonymous(D){D&&(D=this.utilities.ensureHexIdentifier(D));const P=D||"354faab36ca511a7956f0bfc2b64e06fe5395cd7208d9b65d6665270298743d8",U=this.createUser(P);return localStorage.setItem("blockcore:notes:nostr:pubkey",P),this.authInfo$.next(U),U}logout(){localStorage.removeItem("blockcore:notes:nostr:pubkey"),localStorage.removeItem("blockcore:notes:nostr:prvkey"),this.authInfo$.next(F.UNKNOWN_USER),this.router.navigateByUrl("/connect")}createUser(D){const P=new k;return P.publicKeyHex=D,P.publicKey=this.utilities.getNostrIdentifier(D),P.short=D.substring(0,10)+"...",P}getAuthInfo(){var D=this;return(0,f.Z)(function*(){let P=localStorage.getItem("blockcore:notes:nostr:pubkey");if(P){try{D.utilities.getNostrIdentifier(P)}catch{return P="",localStorage.setItem("blockcore:notes:nostr:pubkey",""),F.UNKNOWN_USER}const U=D.createUser(P);return D.authInfo$.next(U),U}return D.authInfo$.next(F.UNKNOWN_USER),F.UNKNOWN_USER})()}}F.UNKNOWN_USER=new k,F.\u0275fac=function(D){return new(D||F)(g.LFG(_.dU),g.LFG(x.F0))},F.\u0275prov=g.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})},9784:(Se,O,y)=>{"use strict";y.d(O,{Y:()=>x});var f=y(3839),g=y(4650),_=y(7096);class x{constructor(F){this.options=F,this.contentLimit=16384,this.tagsLimit=50,this.profileLimit=16384,this.profileTagsLimit=1e3,this.contactsContentLimit=16384}sanitizeEvent(F){let S=f(F.content,{allowedTags:["b","i","em","strong","a","img"],allowedAttributes:{a:["href"],img:["src"]},allowedIframeHostnames:["www.youtube.com"]});return F.content=S,F}filterEvent(F){return this.options.values.hideInvoice&&F.content.indexOf("lnbc")>-1||this.options.values.hideSpam&&-1==F.content.substring(0,200).indexOf(" ")?null:F}filterEvents(F){return F.filter(S=>this.filterEvent(S))}validateEvent(F){return F.pubkey.length<60||F.pubkey.length>70||!F.sig||!F.id||F.sig.length<100||F.pubkey.length>150||64!==F.id.length||"number"!=typeof F.kind||"number"!=typeof F.created_at?null:(0===F.kind?F.content.length>this.profileLimit&&(F.content=F.content.substring(0,this.profileLimit),F.contentCut=!0):F.content.length>this.contentLimit&&(F.content=F.content.substring(0,this.contentLimit),F.contentCut=!0),F.tags&&F.tags.length>this.tagsLimit&&(F.tags=F.tags.splice(0,this.tagsLimit),F.tagsCut=!0),F)}validateContacts(F){return F.pubkey.length<60||F.pubkey.length>70||!F.sig||!F.id||F.sig.length<100||F.pubkey.length>150||64!==F.id.length||"number"!=typeof F.kind||"number"!=typeof F.created_at||3!==F.kind?null:(F.content.length>this.contactsContentLimit&&(F.content=F.content.substring(0,this.contactsContentLimit),F.contentCut=!0),F)}escapeNewLineChars(F){return null!=F&&""!=F?F.replace(/\n/g," "):F}sanitizeProfile(F){let S=f(F.about,{allowedTags:[],allowedAttributes:{}});return F.about=S,F}validateProfile(F){return F.picture.length>2e3||F.name.length>280||F.about.length>280||F.nip05.length>2e3?null:F}}x.\u0275fac=function(F){return new(F||x)(g.LFG(_.I))},x.\u0275prov=g.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"})},6826:(Se,O,y)=>{"use strict";y.d(O,{T:()=>x});var f=y(9300),e=y(4650),g=y(6233),_=y(9132);class x{constructor(F,S){this.appState=F,this.router=S}resolve(F,S){return this.appState.initialized$.pipe((0,f.h)(D=>D))}}x.\u0275fac=function(F){return new(F||x)(e.LFG(g.i),e.LFG(_.F0))},x.\u0275prov=e.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"})},7096:(Se,O,y)=>{"use strict";y.d(O,{I:()=>g});var f=y(9766),e=y(4650);class g{constructor(){this.values={mediaService:f.C.defaultService,language:"en",dir:"ltr",enableReactions:!0,enableZapping:!0,showLines:!0,peopleDisplayType:1,peopleDisplayView:0,peopleDisplaySort:"name-asc"},this.load()}load(){let x=localStorage.getItem("blockcore:notes:nostr:options");x&&(this.values=JSON.parse(x)),null==this.values.enableReactions&&(this.values.enableReactions=!0),null==this.values.enableZapping&&(this.values.enableZapping=!0),null==this.values.peopleDisplayType&&(this.values.peopleDisplayType=1),null==this.values.peopleDisplayView&&(this.values.peopleDisplayView=0),null==this.values.peopleDisplaySort&&(this.values.peopleDisplaySort="name-asc"),null==this.values.mediaService&&(this.values.mediaService=f.C.defaultService)}save(){localStorage.setItem("blockcore:notes:nostr:options",JSON.stringify(this.values))}}g.\u0275fac=function(x){return new(x||g)},g.\u0275prov=e.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"})},9766:(Se,O,y)=>{"use strict";y.d(O,{C:()=>F});var f=y(5861),e=y(5062),g=y(4650),_=y(7096);class x{upload(D,P){return(0,f.Z)(function*(){let U="",I="";U="https://void.cat",I="https://void.cat/upload";const L=D.name,J=yield D.arrayBuffer(),Z=yield crypto.subtle.digest("SHA-256",J),ne=yield fetch("https://void.cat/upload",{mode:"cors",method:"POST",headers:{"Content-Type":"application/octet-stream","V-Strip-Metadata":"true","V-Filename":L,"V-Content-Type":D.type,"V-Full-Digest":e.P6.bytesToHex(new Uint8Array(Z)),"V-Description":"Upload from https://notes.blockcore.net"},body:J});if(ne.ok){const V=yield ne.json();return V.ok?{url:V.file?.metadata?.url??`https://void.cat/d/${V.file?.id}${P?`.${P[1]}`:""}`}:{error:V.errorMessage}}return console.warn(ne),{error:"Upload failed."}})()}}class k{upload(D,P){return(0,f.Z)(function*(){const I=new FormData;I.append("fileToUpload",D),I.append("submit","Upload Image");const L=yield fetch("https://nostr.build/api/upload/snort.php",{body:I,method:"POST",headers:{accept:"application/json"}});if(L.ok){const J=yield L.json();return{url:new URL(J).toString()}}return{error:"Upload failed"}})()}}class F{constructor(D){this.options=D}extension(D){return D.substring(D.lastIndexOf(".")+1,D.length)||D}upload(D){var P=this;return(0,f.Z)(function*(){const I=P.extension(D.name);let L=null;if("void.cat"==P.options.values.mediaService)return L=new x,L.upload(D,I);if("nostr.build"==P.options.values.mediaService)return L=new k,L.upload(D,I);throw new Error("Unknown media service.")})()}}F.defaultService="nostr.build",F.\u0275fac=function(D){return new(D||F)(g.LFG(_.I))},F.\u0275prov=g.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})},7949:(Se,O,y)=>{"use strict";y.d(O,{dU:()=>P,zO:()=>D});var f=y(5062),e=y(7494),g=y(7957),_=y(4650),x=y(7009),k=y(9784),F=y(1481);function D(){return Math.floor(Date.now()/1e3)}class P{constructor(I,L,J){this.snackBar=I,this.validator=L,this.sanitizer=J,this.defaultBackground="url(/assets/gradient.jpg)"}unsubscribe(I){if(I)for(let L=0;L{"use strict";function e(g){var _=document.createElement("textarea");_.style.position="fixed",_.style.top=0,_.style.left=0,_.style.width="2em",_.style.height="2em",_.style.padding=0,_.style.border="none",_.style.outline="none",_.style.boxShadow="none",_.style.background="transparent",_.value=g,document.body.appendChild(_),_.focus(),_.select();try{document.execCommand("copy")}catch{console.error("Oops, unable to copy")}document.body.removeChild(_)}y.d(O,{v:()=>e})},55:(Se,O,y)=>{"use strict";var f=y(1481),e=y(4650),g=y(2687),_=y(8184),x=y(3353),k=y(4080),F=y(6895),S=y(9521),D=y(7579),P=y(9770),U=y(9646),I=y(445),L=y(8675);function J(r,i){}class Z{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 V=(()=>{class r extends k.en{constructor(t,n,a,l,v,T,G,z){super(),this._elementRef=t,this._focusTrapFactory=n,this._config=l,this._interactivityChecker=v,this._ngZone=T,this._overlayRef=G,this._focusMonitor=z,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=be=>{this._portalOutlet.hasAttached();const Ve=this._portalOutlet.attachDomPortal(be);return this._contentAttached(),Ve},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=a}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),n}attachTemplatePortal(t){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,n){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const a=()=>{t.removeEventListener("blur",a),t.removeEventListener("mousedown",a),t.removeAttribute("tabindex")};t.addEventListener("blur",a),t.addEventListener("mousedown",a)})),t.focus(n)}_focusByCssSelector(t,n){let a=this._elementRef.nativeElement.querySelector(t);a&&this._forceFocus(a,n)}_trapFocus(){const t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(n=>{n||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const t=this._config.restoreFocus;let n=null;if("string"==typeof t?n=this._document.querySelector(t):"boolean"==typeof t?n=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(n=t),this._config.restoreFocus&&n&&"function"==typeof n.focus){const a=(0,x.ht)(),l=this._elementRef.nativeElement;(!a||a===this._document.body||a===l||l.contains(a))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,n=(0,x.ht)();return t===n||t.contains(n)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,x.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.qV),e.Y36(F.K0,8),e.Y36(Z),e.Y36(g.ic),e.Y36(e.R0b),e.Y36(_.Iu),e.Y36(g.tE))},r.\u0275cmp=e.Xpm({type:r,selectors:[["cdk-dialog-container"]],viewQuery:function(t,n){if(1&t&&e.Gf(k.Pl,7),2&t){let a;e.iGM(a=e.CRH())&&(n._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,n){2&t&&e.uIk("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null)},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){1&t&&e.YNc(0,J,0,0,"ng-template",0)},dependencies:[k.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),r})();class W{constructor(i,t){this.overlayRef=i,this.config=t,this.closed=new D.x,this.disableClose=t.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(n=>{n.keyCode===S.hY&&!this.disableClose&&!(0,S.Vb)(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=i.detachments().subscribe(()=>{!1!==t.closeOnOverlayDetachments&&this.close()})}close(i,t){if(this.containerInstance){const n=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(i),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",t=""){return this.overlayRef.updateSize({width:i,height:t}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}}const ue=new e.OlP("DialogScrollStrategy"),fe=new e.OlP("DialogData"),$=new e.OlP("DefaultDialogConfig"),X={provide:ue,deps:[_.aV],useFactory:function Y(r){return()=>r.scrollStrategies.block()}};let ie=0,te=(()=>{class r{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,n,a,l,v,T){this._overlay=t,this._injector=n,this._defaultOptions=a,this._parentDialog=l,this._overlayContainer=v,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new D.x,this._afterOpenedAtThisLevel=new D.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,P.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,L.O)(void 0))),this._scrollStrategy=T}open(t,n){(n={...this._defaultOptions||new Z,...n}).id=n.id||"cdk-dialog-"+ie++,n.id&&this.getDialogById(n.id);const l=this._getOverlayConfig(n),v=this._overlay.create(l),T=new W(v,n),G=this._attachContainer(v,T,n);return T.containerInstance=G,this._attachDialogContent(t,T,G,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(T),T.closed.subscribe(()=>this._removeOpenDialog(T,!0)),this.afterOpened.next(T),T}closeAll(){le(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(n=>n.id===t)}ngOnDestroy(){le(this._openDialogsAtThisLevel,t=>{!1===t.config.closeOnDestroy&&this._removeOpenDialog(t,!1)}),le(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){const n=new _.X_({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(n.backdropClass=t.backdropClass),n}_attachContainer(t,n,a){const l=a.injector||a.viewContainerRef?.injector,v=[{provide:Z,useValue:a},{provide:W,useValue:n},{provide:_.Iu,useValue:t}];let T;a.container?"function"==typeof a.container?T=a.container:(T=a.container.type,v.push(...a.container.providers(a))):T=V;const G=new k.C5(T,a.viewContainerRef,e.zs3.create({parent:l||this._injector,providers:v}),a.componentFactoryResolver);return t.attach(G).instance}_attachDialogContent(t,n,a,l){if(t instanceof e.Rgc){const v=this._createInjector(l,n,a,void 0);let T={$implicit:l.data,dialogRef:n};l.templateContext&&(T={...T,..."function"==typeof l.templateContext?l.templateContext():l.templateContext}),a.attachTemplatePortal(new k.UE(t,null,T,v))}else{const v=this._createInjector(l,n,a,this._injector),T=a.attachComponentPortal(new k.C5(t,l.viewContainerRef,v,l.componentFactoryResolver));n.componentInstance=T.instance}}_createInjector(t,n,a,l){const v=t.injector||t.viewContainerRef?.injector,T=[{provide:fe,useValue:t.data},{provide:W,useValue:n}];return t.providers&&("function"==typeof t.providers?T.push(...t.providers(n,t,a)):T.push(...t.providers)),t.direction&&(!v||!v.get(I.Is,null,{optional:!0}))&&T.push({provide:I.Is,useValue:{value:t.direction,change:(0,U.of)()}}),e.zs3.create({parent:v||l,providers:T})}_removeOpenDialog(t,n){const a=this.openDialogs.indexOf(t);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((l,v)=>{l?v.setAttribute("aria-hidden",l):v.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const n=t.parentElement.children;for(let a=n.length-1;a>-1;a--){const l=n[a];l!==t&&"SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(_.aV),e.LFG(e.zs3),e.LFG($,8),e.LFG(r,12),e.LFG(_.Xj),e.LFG(ue))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();function le(r,i){let t=r.length;for(;t--;)i(r[t])}let pe=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[te,X],imports:[_.U8,k.eL,g.rt,k.eL]}),r})();var ae=y(3238),De=y(2289),Ce=y(7340),Ue=y(6451),Je=y(9300),Ie=y(5698);function rt(r,i){}const Fe={bottomSheetState:(0,Ce.X$)("state",[(0,Ce.SB)("void, hidden",(0,Ce.oB)({transform:"translateY(100%)"})),(0,Ce.SB)("visible",(0,Ce.oB)({transform:"translateY(0%)"})),(0,Ce.eR)("visible => void, visible => hidden",(0,Ce.ru)([(0,Ce.jt)(`${ae.mZ.COMPLEX} ${ae.yN.ACCELERATION_CURVE}`),(0,Ce.IO)("@*",(0,Ce.pV)(),{optional:!0})])),(0,Ce.eR)("void => visible",(0,Ce.ru)([(0,Ce.jt)(`${ae.mZ.EXITING} ${ae.yN.DECELERATION_CURVE}`),(0,Ce.IO)("@*",(0,Ce.pV)(),{optional:!0})]))])};let Le=(()=>{class r extends V{constructor(t,n,a,l,v,T,G,z,be,Ve){super(t,n,a,l,v,T,G,Ve),this._changeDetectorRef=be,this._animationState="void",this._animationStateChanged=new e.vpe,this._breakpointSubscription=z.observe([De.u3.Medium,De.u3.Large,De.u3.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",z.isMatched(De.u3.Medium)),this._toggleClass("mat-bottom-sheet-container-large",z.isMatched(De.u3.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",z.isMatched(De.u3.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(t){"visible"===t.toState&&this._trapFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_captureInitialFocus(){}_toggleClass(t,n){this._elementRef.nativeElement.classList.toggle(t,n)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.qV),e.Y36(F.K0,8),e.Y36(Z),e.Y36(g.ic),e.Y36(e.R0b),e.Y36(_.Iu),e.Y36(De.Yg),e.Y36(e.sBO),e.Y36(g.tE))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(t,n){1&t&&e.WFA("@state.start",function(l){return n._onAnimationStart(l)})("@state.done",function(l){return n._onAnimationDone(l)}),2&t&&(e.uIk("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-label",n._config.ariaLabel),e.d8E("@state",n._animationState))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){1&t&&e.YNc(0,rt,0,0,"ng-template",0)},dependencies:[k.Pl],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[Fe.bottomSheetState]}}),r})(),at=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[pe,ae.BQ,k.eL,ae.BQ]}),r})();const Ze=new e.OlP("MatBottomSheetData");class xt{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}}class lt{get instance(){return this._ref.componentInstance}constructor(i,t,n){this._ref=i,this._afterOpened=new D.x,this.containerInstance=n,this.disableClose=t.disableClose,n._animationStateChanged.pipe((0,Je.h)(a=>"done"===a.phaseName&&"visible"===a.toState),(0,Ie.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe((0,Je.h)(a=>"done"===a.phaseName&&"hidden"===a.toState),(0,Ie.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),i.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),(0,Ue.T)(this.backdropClick(),this.keydownEvents().pipe((0,Je.h)(a=>a.keyCode===S.hY))).subscribe(a=>{!this.disableClose&&("keydown"!==a.type||!(0,S.Vb)(a))&&(a.preventDefault(),this.dismiss())})}dismiss(i){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe((0,Je.h)(t=>"start"===t.phaseName),(0,Ie.q)(1)).subscribe(t=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},t.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=i,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}}const We=new e.OlP("mat-bottom-sheet-default-options");let $t=(()=>{class r{get _openedBottomSheetRef(){const t=this._parentBottomSheet;return t?t._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(t){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=t:this._bottomSheetRefAtThisLevel=t}constructor(t,n,a,l){this._overlay=t,this._parentBottomSheet=a,this._defaultOptions=l,this._bottomSheetRefAtThisLevel=null,this._dialog=n.get(te)}open(t,n){const a={...this._defaultOptions||new xt,...n};let l;return this._dialog.open(t,{...a,disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:Le,scrollStrategy:a.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:l}),providers:(v,T,G)=>(l=new lt(v,a,G),[{provide:lt,useValue:l},{provide:Ze,useValue:a.data}])}),l.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===l&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>l.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):l.containerInstance.enter(),this._openedBottomSheetRef=l,l}dismiss(t){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(t)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(_.aV),e.LFG(e.zs3),e.LFG(r,12),e.LFG(We,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:at}),r})();var Yt=y(9132),we=y(5861),st=y(1281);function Jt(r,i){}class Et{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",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 Ft="mdc-dialog--open",ht="mdc-dialog--opening",ot="mdc-dialog--closing";let ze=(()=>{class r extends V{constructor(t,n,a,l,v,T,G,z){super(t,n,a,l,v,T,G,z),this._animationStateChanged=new e.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.qV),e.Y36(F.K0,8),e.Y36(Et),e.Y36(g.ic),e.Y36(e.R0b),e.Y36(_.Iu),e.Y36(g.tE))},r.\u0275cmp=e.Xpm({type:r,selectors:[["ng-component"]],features:[e.qOj],decls:0,vars:0,template:function(t,n){},encapsulation:2}),r})();const ft="--mat-dialog-transition-duration";function Ct(r){return null==r?null:"number"==typeof r?r:r.endsWith("ms")?(0,st.su)(r.substring(0,r.length-2)):r.endsWith("s")?1e3*(0,st.su)(r.substring(0,r.length-1)):"0"===r?0:null}let it=(()=>{class r extends ze{constructor(t,n,a,l,v,T,G,z,be){super(t,n,a,l,v,T,G,be),this._animationMode=z,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?Ct(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?Ct(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(ft,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(ht),this._hostElement.classList.add(Ft),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Ft),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(Ft),this._animationsEnabled?(this._hostElement.style.setProperty(ft,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(ot),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(ht),this._hostElement.classList.remove(ot)}_waitForAnimationToComplete(t,n){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.qV),e.Y36(F.K0,8),e.Y36(Et),e.Y36(g.ic),e.Y36(e.R0b),e.Y36(_.Iu),e.Y36(e.QbO,8),e.Y36(g.tE))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(t,n){2&t&&(e.Ikx("id",n._config.id),e.uIk("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),e.ekj("_mat-animation-noopable",!n._animationsEnabled))},features:[e.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(t,n){1&t&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,Jt,0,0,"ng-template",2),e.qZA()())},dependencies:[k.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.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}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.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)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 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))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{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}'],encapsulation:2}),r})();class Ae{constructor(i,t,n){this._ref=i,this._containerInstance=n,this._afterOpened=new D.x,this._beforeClosed=new D.x,this._state=0,this.disableClose=t.disableClose,this.id=i.id,n._animationStateChanged.pipe((0,Je.h)(a=>"opened"===a.state),(0,Ie.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe((0,Je.h)(a=>"closed"===a.state),(0,Ie.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Ue.T)(this.backdropClick(),this.keydownEvents().pipe((0,Je.h)(a=>a.keyCode===S.hY&&!this.disableClose&&!(0,S.Vb)(a)))).subscribe(a=>{this.disableClose||(a.preventDefault(),$e(this,"keydown"===a.type?"keyboard":"mouse"))})}close(i){this._result=i,this._containerInstance._animationStateChanged.pipe((0,Je.h)(t=>"closing"===t.state),(0,Ie.q)(1)).subscribe(t=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,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(i){let t=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?t.left(i.left):t.right(i.right):t.centerHorizontally(),i&&(i.top||i.bottom)?i.top?t.top(i.top):t.bottom(i.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",t=""){return this._ref.updateSize(i,t),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function $e(r,i,t){return r._closeInteractionType=i,r.close(t)}const _t=new e.OlP("MatMdcDialogData"),Tt=new e.OlP("mat-mdc-dialog-default-options"),Vt=new e.OlP("mat-mdc-dialog-scroll-strategy"),Qt={provide:Vt,deps:[_.aV],useFactory:function Ut(r){return()=>r.scrollStrategies.block()}};let vi=0,ki=(()=>{class r{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,n,a,l,v,T,G,z,be,Ve){this._overlay=t,this._defaultOptions=a,this._parentDialog=l,this._dialogRefConstructor=G,this._dialogContainerType=z,this._dialogDataToken=be,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new D.x,this._afterOpenedAtThisLevel=new D.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=Et,this.afterAllClosed=(0,P.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,L.O)(void 0))),this._scrollStrategy=T,this._dialog=n.get(te)}open(t,n){let a;(n={...this._defaultOptions||new Et,...n}).id=n.id||`${this._idPrefix}${vi++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();const l=this._dialog.open(t,{...n,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:Z,useValue:n}]},templateContext:()=>({dialogRef:a}),providers:(v,T,G)=>(a=new this._dialogRefConstructor(v,n,G),a.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:G},{provide:this._dialogDataToken,useValue:T.data},{provide:this._dialogRefConstructor,useValue:a}])});return a.componentInstance=l.componentInstance,this.openDialogs.push(a),this.afterOpened.next(a),a.afterClosed().subscribe(()=>{const v=this.openDialogs.indexOf(a);v>-1&&(this.openDialogs.splice(v,1),this.openDialogs.length||this._getAfterAllClosed().next())}),a}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(n=>n.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let n=t.length;for(;n--;)t[n].close()}}return r.\u0275fac=function(t){e.$Z()},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),yi=(()=>{class r extends ki{constructor(t,n,a,l,v,T,G,z){super(t,n,l,T,G,v,Ae,it,_t,z),this._idPrefix="mat-mdc-dialog-"}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(_.aV),e.LFG(e.zs3),e.LFG(F.Ye,8),e.LFG(Tt,8),e.LFG(Vt),e.LFG(r,12),e.LFG(_.Xj),e.LFG(e.QbO,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),ni=0,tn=(()=>{class r{constructor(t,n,a){this.dialogRef=t,this._elementRef=n,this._dialog=a,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Ii(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const n=t._matDialogClose||t._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(t){$e(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ae,8),e.Y36(e.SBq),e.Y36(yi))},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,n){1&t&&e.NdJ("click",function(l){return n._onButtonClick(l)}),2&t&&e.uIk("aria-label",n.ariaLabel||null)("type",n.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[e.TTD]}),r})(),kt=(()=>{class r{constructor(t,n,a){this._dialogRef=t,this._elementRef=n,this._dialog=a,this.id="mat-mdc-dialog-title-"+ni++}ngOnInit(){this._dialogRef||(this._dialogRef=Ii(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ae,8),e.Y36(e.SBq),e.Y36(yi))},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,n){2&t&&e.Ikx("id",n.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),r})(),yt=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),r})(),Bi=(()=>{class r{constructor(){this.align="start"}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("mat-mdc-dialog-actions-align-center","center"===n.align)("mat-mdc-dialog-actions-align-end","end"===n.align)},inputs:{align:"align"}}),r})();function Ii(r,i){let t=r.nativeElement.parentElement;for(;t&&!t.classList.contains("mat-mdc-dialog-container");)t=t.parentElement;return t?i.find(n=>n.id===t.id):null}let un=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[yi,Qt],imports:[pe,_.U8,k.eL,ae.BQ,ae.BQ]}),r})();const ui={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},hn={dialogContainer:(0,Ce.X$)("dialogContainer",[(0,Ce.SB)("void, exit",(0,Ce.oB)({opacity:0,transform:"scale(0.7)"})),(0,Ce.SB)("enter",(0,Ce.oB)({transform:"none"})),(0,Ce.eR)("* => enter",(0,Ce.ru)([(0,Ce.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,Ce.oB)({transform:"none",opacity:1})),(0,Ce.IO)("@*",(0,Ce.pV)(),{optional:!0})]),ui),(0,Ce.eR)("* => void, * => exit",(0,Ce.ru)([(0,Ce.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,Ce.oB)({opacity:0})),(0,Ce.IO)("@*",(0,Ce.pV)(),{optional:!0})]),ui)])};var Dt=y(4859);class ke{constructor(i,t){this.dialogRef=i,this.consent=t}onNoClick(){this.consent=!1,this.dialogRef.close()}}ke.\u0275fac=function(i){return new(i||ke)(e.Y36(Ae),e.Y36(_t))},ke.\u0275cmp=e.Xpm({type:ke,selectors:[["add-consent-dialog"]],decls:24,vars:1,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["href","https://www.blockcore.net/policy","target","_blank"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h1",1),e._uU(2,"Give consent"),e.qZA(),e.TgZ(3,"div",2)(4,"p"),e._uU(5," Nostr is a decentralized and distributed network of relays that relays data by users. That means there is no centralized service where filtering or censoring is occurring. You may be exposed to content that will be disturbing and against your morality and world views. "),e.qZA(),e.TgZ(6,"p"),e._uU(7,"Content you publish are your responsibility and you cannot undo/delete after you publish. Don't publish or share a note (post) you wouldn't say to your neighbour."),e.qZA(),e.TgZ(8,"p"),e._uU(9,"Blockcore has no involvement in the type of content being produced and shown to you in this app."),e.qZA(),e.TgZ(10,"p"),e._uU(11,"You accept that all usage of Blockcore Notes, Blockcore infrastructure and software must be the result of peaceful voluntary human interactions."),e.qZA(),e.TgZ(12,"p"),e._uU(13,"If you're young and still living with your parents, consider asking them for permission before you continue."),e.qZA(),e.TgZ(14,"p"),e._uU(15,"To continue you must agree with our "),e.TgZ(16,"a",3),e._uU(17,"Privacy Policy and Terms & Conditions"),e.qZA(),e._uU(18,"."),e.qZA()(),e.TgZ(19,"div",4)(20,"button",5),e.NdJ("click",function(){return t.onNoClick()}),e._uU(21,"I don't consent"),e.qZA(),e.TgZ(22,"button",6),e._uU(23,"I consent"),e.qZA()()()),2&i&&(e.xp6(22),e.Q6J("mat-dialog-close",!0))},dependencies:[Dt.lW,tn,kt,yt,Bi],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}.dialog[_ngcontent-%COMP%]{max-width:800px}"]});class oe{constructor(){this.spaces=[],this.load()}load(){let i=localStorage.getItem("blockcore:notes:nostr:spaces");this.spaces=i?JSON.parse(i):[{name:"SondreB",title:"sondreb.com",comment:"Liberstad Membership Organization",npub:"npub1zl3g38a6qypp6py2z07shggg45cu8qex992xpss7d8zrl28mu52s4cjajh",picture:"https://nostr.build/i/nostr.build_11eaf429c0c74a9b7822072531e1c6d54a7e4c084b49d0aab776dbb13d81ef27.jpg",banner:"https://nostr.build/i/nostr.build_74ee63e85287e5b3351d757724e57d53d17b9f029bfad7d77dcb913b325727bb.png",relayCount:1,relaySync:!1},{name:"SondreB",title:"sondreb.com",comment:"Public Space",npub:"npub1zl3g38a6qypp6py2z07shggg45cu8qex992xpss7d8zrl28mu52s4cjajh",picture:"https://nostr.build/i/nostr.build_11eaf429c0c74a9b7822072531e1c6d54a7e4c084b49d0aab776dbb13d81ef27.jpg",banner:"https://nostr.build/i/nostr.build_74ee63e85287e5b3351d757724e57d53d17b9f029bfad7d77dcb913b325727bb.png",relayCount:12,relaySync:!0},{name:"Liberstad",title:"liberstad.com",comment:"Public Space",npub:"npub1qutr6g66j7fpd4dyly9u2dwmkta8cywc9lucm4ze8p7xdtrlkhcsn2n9hn",picture:"https://nostr.build/i/p/nostr.build_392926c2220b31a78708d11afeb92a9aa4731e19b233a130c34a81211c4bca3e.png",banner:"https://nostr.build/i/nostr.build_955535ae6cc45caa1d8639e72dbdf69b0ade7c92d519877eeefaf1d586caad6e.jpg",relayCount:10,relaySync:!0},{name:"Liberstad",title:"liberstad.com",comment:"Liberstad Membership Organization",npub:"npub1qutr6g66j7fpd4dyly9u2dwmkta8cywc9lucm4ze8p7xdtrlkhcsn2n9hn",picture:"https://nostr.build/i/p/nostr.build_392926c2220b31a78708d11afeb92a9aa4731e19b233a130c34a81211c4bca3e.png",banner:"https://nostr.build/i/nostr.build_955535ae6cc45caa1d8639e72dbdf69b0ade7c92d519877eeefaf1d586caad6e.jpg",relayCount:1,relaySync:!1}]}}oe.\u0275fac=function(i){return new(i||oe)},oe.\u0275prov=e.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"});class de{constructor(i){this._renderer=i,this.renderer=i.createRenderer(null,null)}get darkMode(){if(localStorage.getItem("theme")){if("dark"===localStorage.getItem("theme"))return!0}else if(window.matchMedia("(prefers-color-scheme: dark)").matches)return!0;return!1}set darkMode(i){i?localStorage.setItem("theme","dark"):localStorage.setItem("theme","light"),this.updateMode()}init(){this.updateMode()}updateMode(){this.darkMode?this.renderer.addClass(document.body,"dark"):this.renderer.removeClass(document.body,"dark")}}de.\u0275fac=function(i){return new(i||de)(e.LFG(e.FYo))},de.\u0275prov=e.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"});var Oe=y(6233);function Xe(r,i){if(i.has(r))throw new TypeError("Cannot initialize the same private elements twice on an object")}function St(r,i,t){Xe(r,i),i.set(r,t)}function Ni(r,i,t){if(!i.has(r))throw new TypeError("attempted to "+t+" private field on non-instance");return i.get(r)}function Wt(r,i,t){return function fi(r,i,t){if(i.set)i.set.call(r,t);else{if(!i.writable)throw new TypeError("attempted to set read only private field");i.value=t}}(r,Ni(r,i,"set"),t),t}function _e(r,i){return function Ui(r,i){return i.get?i.get.call(r):i.value}(r,Ni(r,i,"get"))}var Ne=y(1135),Qe=y(5062);const qe={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0},et=r=>new DataView(r.buffer,r.byteOffset,r.byteLength),Re=(r,i)=>r<<32-i|r>>>i;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function vr(r){if("string"==typeof r&&(r=function Un(r){if("string"!=typeof r)throw new TypeError("utf8ToBytes expected string, got "+typeof r);return(new TextEncoder).encode(r)}(r)),!(r instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof r})`);return r}function Dn(r){if(!Number.isSafeInteger(r)||r<0)throw new Error(`Wrong positive integer: ${r}`)}Array.from({length:256},(r,i)=>i.toString(16).padStart(2,"0")),(()=>{const r=typeof module<"u"&&"function"==typeof module.require&&module.require.bind(module);try{if(r){const{setImmediate:i}=r("timers")}}catch{}})();class tr{clone(){return this._cloneInto()}}class ur extends tr{constructor(i,t,n,a){super(),this.blockLen=i,this.outputLen=t,this.padOffset=n,this.isLE=a,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=et(this.buffer)}update(i){if(this.destroyed)throw new Error("instance is destroyed");const{view:t,buffer:n,blockLen:a,finished:l}=this;if(l)throw new Error("digest() was already called");const v=(i=vr(i)).length;for(let T=0;Ta-v&&(this.process(n,0),v=0);for(let G=v;G>a&l),T=Number(t&l),z=n?0:4;r.setUint32(i+(n?4:0),v,n),r.setUint32(i+z,T,n)})(n,a-8,BigInt(8*this.length),l),this.process(n,0);const T=et(i);this.get().forEach((G,z)=>T.setUint32(4*z,G,l))}digest(){const{buffer:i,outputLen:t}=this;this.digestInto(i);const n=i.slice(0,t);return this.destroy(),n}_cloneInto(i){i||(i=new this.constructor),i.set(...this.get());const{blockLen:t,buffer:n,length:a,finished:l,destroyed:v,pos:T}=this;return i.length=a,i.pos=T,i.finished=l,i.destroyed=v,a%t&&i.buffer.set(n),i}}const yn=(r,i,t)=>r&i^~r&t,vn=(r,i,t)=>r&i^r&t^i&t,da=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]),Vi=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Zi=new Uint32Array(64);class pr extends ur{constructor(){super(64,32,8,!1),this.A=0|Vi[0],this.B=0|Vi[1],this.C=0|Vi[2],this.D=0|Vi[3],this.E=0|Vi[4],this.F=0|Vi[5],this.G=0|Vi[6],this.H=0|Vi[7]}get(){const{A:i,B:t,C:n,D:a,E:l,F:v,G:T,H:G}=this;return[i,t,n,a,l,v,T,G]}set(i,t,n,a,l,v,T,G){this.A=0|i,this.B=0|t,this.C=0|n,this.D=0|a,this.E=0|l,this.F=0|v,this.G=0|T,this.H=0|G}process(i,t){for(let Ve=0;Ve<16;Ve++,t+=4)Zi[Ve]=i.getUint32(t,!1);for(let Ve=16;Ve<64;Ve++){const bt=Zi[Ve-15],Pt=Zi[Ve-2],Gt=Re(bt,7)^Re(bt,18)^bt>>>3,ii=Re(Pt,17)^Re(Pt,19)^Pt>>>10;Zi[Ve]=ii+Zi[Ve-7]+Gt+Zi[Ve-16]|0}let{A:n,B:a,C:l,D:v,E:T,F:G,G:z,H:be}=this;for(let Ve=0;Ve<64;Ve++){const Pt=be+(Re(T,6)^Re(T,11)^Re(T,25))+yn(T,G,z)+da[Ve]+Zi[Ve]|0,ii=(Re(n,2)^Re(n,13)^Re(n,22))+vn(n,a,l)|0;be=z,z=G,G=T,T=v+Pt|0,v=l,l=a,a=n,n=Pt+ii|0}n=n+this.A|0,a=a+this.B|0,l=l+this.C|0,v=v+this.D|0,T=T+this.E|0,G=G+this.F|0,z=z+this.G|0,be=be+this.H|0,this.set(n,a,l,v,T,G,z,be)}roundClean(){Zi.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const ji=function bn(r){const i=n=>r().update(vr(n)).digest(),t=r();return i.outputLen=t.outputLen,i.blockLen=t.blockLen,i.create=()=>r(),i}(()=>new pr);var zi=y(7494),ir=y(3439),Ht=y(6837);function tt(r){if(!Number.isSafeInteger(r)||r<0)throw new Error(`Wrong positive integer: ${r}`)}function On(r,...i){if(!(r instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(i.length>0&&!i.includes(r.length))throw new TypeError(`Expected Uint8Array of length ${i}, not of length=${r.length}`)}const Ei={number:tt,bool:function Ri(r){if("boolean"!=typeof r)throw new Error(`Expected boolean, not ${r}`)},bytes:On,hash:function Qn(r){if("function"!=typeof r||"function"!=typeof r.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");tt(r.outputLen),tt(r.blockLen)},exists:function ta(r,i=!0){if(r.destroyed)throw new Error("Hash instance has been destroyed");if(i&&r.finished)throw new Error("Hash#digest() has already been called")},output:function Wa(r,i){On(r);const t=i.outputLen;if(r.lengthnew DataView(r.buffer,r.byteOffset,r.byteLength)),wr=(r,i)=>r<<32-i|r>>>i;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const Ir=Array.from({length:256},(r,i)=>i.toString(16).padStart(2,"0"));function nn(r){if("string"!=typeof r)throw new TypeError("utf8ToBytes expected string, got "+typeof r);return(new TextEncoder).encode(r)}function Rn(r){if("string"==typeof r&&(r=nn(r)),!(r instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof r})`);return r}function ha(...r){if(!r.every(n=>n instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===r.length)return r[0];const i=r.reduce((n,a)=>n+a.length,0),t=new Uint8Array(i);for(let n=0,a=0;nr().update(Rn(n)).digest(),t=r();return i.outputLen=t.outputLen,i.blockLen=t.blockLen,i.create=()=>r(),i}class so extends To{constructor(i,t){super(),this.finished=!1,this.destroyed=!1,Ei.hash(i);const n=Rn(t);if(this.iHash=i.create(),"function"!=typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const a=this.blockLen,l=new Uint8Array(a);l.set(n.length>a?i.create().update(n).digest():n);for(let v=0;vnew so(r,i).update(t).digest();Qa.create=(r,i)=>new so(r,i);class Ja extends To{constructor(i,t,n,a){super(),this.blockLen=i,this.outputLen=t,this.padOffset=n,this.isLE=a,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=ua(this.buffer)}update(i){Ei.exists(this);const{view:t,buffer:n,blockLen:a}=this,l=(i=Rn(i)).length;for(let v=0;va-v&&(this.process(n,0),v=0);for(let Ve=v;Ve>a&l),T=Number(t&l),z=n?0:4;r.setUint32(i+(n?4:0),v,n),r.setUint32(i+z,T,n)})(n,a-8,BigInt(8*this.length),l),this.process(n,0);const T=ua(i),G=this.outputLen;if(G%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const z=G/4,be=this.get();if(z>be.length)throw new Error("_sha2: outputLen bigger than state");for(let Ve=0;Vei),Ua=So.map(r=>(9*r+5)%16);let Qr=[So],Sa=[Ua];for(let r=0;r<4;r++)for(let i of[Qr,Sa])i.push(i[r].map(t=>gr[t]));const bo=[[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(r=>new Uint8Array(r)),ja=Qr.map((r,i)=>r.map(t=>bo[i][t])),an=Sa.map((r,i)=>r.map(t=>bo[i][t])),Ur=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),_r=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),Or=(r,i)=>r<>>32-i;function Wo(r,i,t,n){return 0===r?i^t^n:1===r?i&t|~i&n:2===r?(i|~t)^n:3===r?i&n|t&~n:i^(t|~n)}const Kt=new Uint32Array(16);class _n extends Ja{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:i,h1:t,h2:n,h3:a,h4:l}=this;return[i,t,n,a,l]}set(i,t,n,a,l){this.h0=0|i,this.h1=0|t,this.h2=0|n,this.h3=0|a,this.h4=0|l}process(i,t){for(let Pt=0;Pt<16;Pt++,t+=4)Kt[Pt]=i.getUint32(t,!0);let n=0|this.h0,a=n,l=0|this.h1,v=l,T=0|this.h2,G=T,z=0|this.h3,be=z,Ve=0|this.h4,bt=Ve;for(let Pt=0;Pt<5;Pt++){const Gt=4-Pt,ii=Ur[Pt],ti=_r[Pt],di=Qr[Pt],Fi=Sa[Pt],_i=ja[Pt],Li=an[Pt];for(let fn=0;fn<16;fn++){const Fn=Or(n+Wo(Pt,l,T,z)+Kt[di[fn]]+ii,_i[fn])+Ve|0;n=Ve,Ve=z,z=0|Or(T,10),T=l,l=Fn}for(let fn=0;fn<16;fn++){const Fn=Or(a+Wo(Gt,v,G,be)+Kt[Fi[fn]]+ti,Li[fn])+bt|0;a=bt,bt=be,be=0|Or(G,10),G=v,v=Fn}}this.set(this.h1+T+be|0,this.h2+z+bt|0,this.h3+Ve+a|0,this.h4+n+v|0,this.h0+l+G|0)}roundClean(){Kt.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const hr=oo(()=>new _n),_a=(r,i,t)=>r&i^~r&t,Io=(r,i,t)=>r&i^r&t^i&t,yo=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]),jr=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Lr=new Uint32Array(64);class ba extends Ja{constructor(){super(64,32,8,!1),this.A=0|jr[0],this.B=0|jr[1],this.C=0|jr[2],this.D=0|jr[3],this.E=0|jr[4],this.F=0|jr[5],this.G=0|jr[6],this.H=0|jr[7]}get(){const{A:i,B:t,C:n,D:a,E:l,F:v,G:T,H:G}=this;return[i,t,n,a,l,v,T,G]}set(i,t,n,a,l,v,T,G){this.A=0|i,this.B=0|t,this.C=0|n,this.D=0|a,this.E=0|l,this.F=0|v,this.G=0|T,this.H=0|G}process(i,t){for(let Ve=0;Ve<16;Ve++,t+=4)Lr[Ve]=i.getUint32(t,!1);for(let Ve=16;Ve<64;Ve++){const bt=Lr[Ve-15],Pt=Lr[Ve-2],Gt=wr(bt,7)^wr(bt,18)^bt>>>3,ii=wr(Pt,17)^wr(Pt,19)^Pt>>>10;Lr[Ve]=ii+Lr[Ve-7]+Gt+Lr[Ve-16]|0}let{A:n,B:a,C:l,D:v,E:T,F:G,G:z,H:be}=this;for(let Ve=0;Ve<64;Ve++){const Pt=be+(wr(T,6)^wr(T,11)^wr(T,25))+_a(T,G,z)+yo[Ve]+Lr[Ve]|0,ii=(wr(n,2)^wr(n,13)^wr(n,22))+Io(n,a,l)|0;be=z,z=G,G=T,T=v+Pt|0,v=l,l=a,a=n,n=Pt+ii|0}n=n+this.A|0,a=a+this.B|0,l=l+this.C|0,v=v+this.D|0,T=T+this.E|0,G=G+this.F|0,z=z+this.G|0,be=be+this.H|0,this.set(n,a,l,v,T,G,z,be)}roundClean(){Lr.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class Gn extends ba{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 Nr=oo(()=>new ba),En=(oo(()=>new Gn),BigInt(2**32-1)),na=BigInt(32);function An(r,i=!1){return i?{h:Number(r&En),l:Number(r>>na&En)}:{h:0|Number(r>>na&En),l:0|Number(r&En)}}const gi_split=function Pi(r,i=!1){let t=new Uint32Array(r.length),n=new Uint32Array(r.length);for(let a=0;ar>>>t,gi_shrSL=(r,i,t)=>r<<32-t|i>>>t,gi_rotrSH=(r,i,t)=>r>>>t|i<<32-t,gi_rotrSL=(r,i,t)=>r<<32-t|i>>>t,gi_rotrBH=(r,i,t)=>r<<64-t|i>>>t-32,gi_rotrBL=(r,i,t)=>r>>>t-32|i<<64-t,gi_add=function nt(r,i,t,n){const a=(i>>>0)+(n>>>0);return{h:r+t+(a/2**32|0)|0,l:0|a}},gi_add3L=(r,i,t)=>(r>>>0)+(i>>>0)+(t>>>0),gi_add3H=(r,i,t,n)=>i+t+n+(r/2**32|0)|0,gi_add4L=(r,i,t,n)=>(r>>>0)+(i>>>0)+(t>>>0)+(n>>>0),gi_add4H=(r,i,t,n,a)=>i+t+n+a+(r/2**32|0)|0,gi_add5H=(r,i,t,n,a,l)=>i+t+n+a+l+(r/2**32|0)|0,gi_add5L=(r,i,t,n,a)=>(r>>>0)+(i>>>0)+(t>>>0)+(n>>>0)+(a>>>0),[Kn,rr]=gi_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(r=>BigInt(r))),Rr=new Uint32Array(80),Pr=new Uint32Array(80);class sr extends Ja{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:i,Al:t,Bh:n,Bl:a,Ch:l,Cl:v,Dh:T,Dl:G,Eh:z,El:be,Fh:Ve,Fl:bt,Gh:Pt,Gl:Gt,Hh:ii,Hl:ti}=this;return[i,t,n,a,l,v,T,G,z,be,Ve,bt,Pt,Gt,ii,ti]}set(i,t,n,a,l,v,T,G,z,be,Ve,bt,Pt,Gt,ii,ti){this.Ah=0|i,this.Al=0|t,this.Bh=0|n,this.Bl=0|a,this.Ch=0|l,this.Cl=0|v,this.Dh=0|T,this.Dl=0|G,this.Eh=0|z,this.El=0|be,this.Fh=0|Ve,this.Fl=0|bt,this.Gh=0|Pt,this.Gl=0|Gt,this.Hh=0|ii,this.Hl=0|ti}process(i,t){for(let _i=0;_i<16;_i++,t+=4)Rr[_i]=i.getUint32(t),Pr[_i]=i.getUint32(t+=4);for(let _i=16;_i<80;_i++){const Li=0|Rr[_i-15],fn=0|Pr[_i-15],Fn=gi_rotrSH(Li,fn,1)^gi_rotrSH(Li,fn,8)^gi_shrSH(Li,fn,7),Cn=gi_rotrSL(Li,fn,1)^gi_rotrSL(Li,fn,8)^gi_shrSL(Li,fn,7),cr=0|Rr[_i-2],or=0|Pr[_i-2],Dr=gi_rotrSH(cr,or,19)^gi_rotrBH(cr,or,61)^gi_shrSH(cr,or,6),Zo=gi_rotrSL(cr,or,19)^gi_rotrBL(cr,or,61)^gi_shrSL(cr,or,6),Eo=gi_add4L(Cn,Zo,Pr[_i-7],Pr[_i-16]),Wr=gi_add4H(Eo,Fn,Dr,Rr[_i-7],Rr[_i-16]);Rr[_i]=0|Wr,Pr[_i]=0|Eo}let{Ah:n,Al:a,Bh:l,Bl:v,Ch:T,Cl:G,Dh:z,Dl:be,Eh:Ve,El:bt,Fh:Pt,Fl:Gt,Gh:ii,Gl:ti,Hh:di,Hl:Fi}=this;for(let _i=0;_i<80;_i++){const Li=gi_rotrSH(Ve,bt,14)^gi_rotrSH(Ve,bt,18)^gi_rotrBH(Ve,bt,41),fn=gi_rotrSL(Ve,bt,14)^gi_rotrSL(Ve,bt,18)^gi_rotrBL(Ve,bt,41),Fn=Ve&Pt^~Ve&ii,cr=gi_add5L(Fi,fn,bt&Gt^~bt&ti,rr[_i],Pr[_i]),or=gi_add5H(cr,di,Li,Fn,Kn[_i],Rr[_i]),Dr=0|cr,Zo=gi_rotrSH(n,a,28)^gi_rotrBH(n,a,34)^gi_rotrBH(n,a,39),Eo=gi_rotrSL(n,a,28)^gi_rotrBL(n,a,34)^gi_rotrBL(n,a,39),Wr=n&l^n&T^l&T,Su=a&v^a&G^v&G;di=0|ii,Fi=0|ti,ii=0|Pt,ti=0|Gt,Pt=0|Ve,Gt=0|bt,({h:Ve,l:bt}=gi_add(0|z,0|be,0|or,0|Dr)),z=0|T,be=0|G,T=0|l,G=0|v,l=0|n,v=0|a;const Xh=gi_add3L(Dr,Eo,Su);n=gi_add3H(Xh,or,Zo,Wr),a=0|Xh}({h:n,l:a}=gi_add(0|this.Ah,0|this.Al,0|n,0|a)),({h:l,l:v}=gi_add(0|this.Bh,0|this.Bl,0|l,0|v)),({h:T,l:G}=gi_add(0|this.Ch,0|this.Cl,0|T,0|G)),({h:z,l:be}=gi_add(0|this.Dh,0|this.Dl,0|z,0|be)),({h:Ve,l:bt}=gi_add(0|this.Eh,0|this.El,0|Ve,0|bt)),({h:Pt,l:Gt}=gi_add(0|this.Fh,0|this.Fl,0|Pt,0|Gt)),({h:ii,l:ti}=gi_add(0|this.Gh,0|this.Gl,0|ii,0|ti)),({h:di,l:Fi}=gi_add(0|this.Hh,0|this.Hl,0|di,0|Fi)),this.set(n,a,l,v,T,G,z,be,Ve,bt,Pt,Gt,ii,ti,di,Fi)}roundClean(){Rr.fill(0),Pr.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)}}class wa extends sr{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class Ia extends sr{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class xo extends sr{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}const Pn=oo(()=>new sr);oo(()=>new wa),oo(()=>new Ia),oo(()=>new xo),Qe.P6.hmacSha256Sync=(r,...i)=>Qa(Nr,r,Qe.P6.concatBytes(...i));const d=(0,zi.Av)(Nr);function h(r){return BigInt(`0x${function Go(r){if(!(r instanceof Uint8Array))throw new Error("Uint8Array expected");let i="";for(let t=0;t{if(!Number.isSafeInteger(r)||r<0||r>2**32-1)throw new Error(`Invalid number=${r}. Should be from 0 to 2 ** 32 - 1`);const i=new Uint8Array(4);return ua(i).setUint32(0,r,!1),i};class Te{constructor(i){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!i||"object"!=typeof i)throw new Error("HDKey.constructor must not be called directly");if(this.versions=i.versions||C,this.depth=i.depth||0,this.chainCode=i.chainCode,this.index=i.index||0,this.parentFingerprint=i.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(i.publicKey&&i.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(i.privateKey){if(!Qe.P6.isValidPrivateKey(i.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof i.privateKey?i.privateKey:h(i.privateKey),this.privKeyBytes=function p(r){return function Mr(r){if("string"!=typeof r)throw new TypeError("hexToBytes: expected string, got "+typeof r);if(r.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const i=new Uint8Array(r.length/2);for(let t=0;t512)throw new Error(`HDKey: wrong seed length=${i.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const n=Qa(Pn,b,i);return new Te({versions:t,chainCode:n.slice(32),privateKey:n.slice(0,32)})}static fromExtendedKey(i,t=C){const n=d.decode(i),a=ua(n),l=a.getUint32(0,!1),v={versions:t,depth:n[4],parentFingerprint:a.getUint32(5,!1),index:a.getUint32(9,!1),chainCode:n.slice(13,45)},T=n.slice(45),G=0===T[0];if(l!==t[G?"private":"public"])throw new Error("Version mismatch");return new Te(G?{...v,privateKey:T.slice(1)}:{...v,publicKey:T})}static fromJSON(i){return Te.fromExtendedKey(i.xpriv)}derive(i){if(!/^[mM]'?/.test(i))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(i))return this;const t=i.replace(/^[mM]'?\//,"").split("/");let n=this;for(const a of t){const l=/^(\d+)('?)$/.exec(a);if(!l||3!==l.length)throw new Error(`Invalid child index: ${a}`);let v=+l[1];if(!Number.isSafeInteger(v)||v>=A)throw new Error("Invalid index");"'"===l[2]&&(v+=A),n=n.deriveChild(v)}return n}deriveChild(i){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let t=he(i);if(i>=A){const T=this.privateKey;if(!T)throw new Error("Could not derive hardened child key");t=ha(new Uint8Array([0]),T,t)}else t=ha(this.pubKey,t);const n=Qa(Pn,this.chainCode,t),a=h(n.slice(0,32)),l=n.slice(32);if(!Qe.P6.isValidPrivateKey(a))throw new Error("Tweak bigger than curve order");const v={versions:this.versions,chainCode:l,depth:this.depth+1,parentFingerprint:this.fingerprint,index:i};try{if(this.privateKey){const T=Qe.P6.mod(this.privKey+a,Qe.iH.n);if(!Qe.P6.isValidPrivateKey(T))throw new Error("The tweak was out of range or the resulted private key is invalid");v.privateKey=T}else{const T=Qe.E9.fromHex(this.pubKey).add(Qe.E9.fromPrivateKey(a));if(T.equals(Qe.E9.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");v.publicKey=T.toRawBytes(!0)}return new Te(v)}catch{return this.deriveChild(i+1)}}sign(i){if(!this.privateKey)throw new Error("No privateKey set!");return On(i,32),Qe.kS(i,this.privKey,{canonical:!0,der:!1})}verify(i,t){if(On(i,32),On(t,64),!this.publicKey)throw new Error("No publicKey set!");let n;try{n=Qe.Pc.fromCompact(t)}catch{return!1}return Qe.T(n,i,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(i,t){if(!this.chainCode)throw new Error("No chainCode set");return On(t,33),ha(he(i),new Uint8Array([this.depth]),he(this.parentFingerprint),he(this.index),this.chainCode,t)}}class je extends tr{constructor(i,t){super(),this.finished=!1,this.destroyed=!1,function rn(r){if("function"!=typeof r||"function"!=typeof r.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Dn(r.outputLen),Dn(r.blockLen)}(i);const n=vr(t);if(this.iHash=i.create(),!(this.iHash instanceof tr))throw new TypeError("Expected instance of class which extends utils.Hash");const a=this.blockLen=this.iHash.blockLen;this.outputLen=this.iHash.outputLen;const l=new Uint8Array(a);l.set(n.length>this.iHash.blockLen?i.create().update(n).digest():n);for(let v=0;vnew je(r,i).update(t).digest();ct.create=(r,i)=>new je(r,i);var wt=Object.defineProperty,Mt=(r,i)=>{for(var t in i)wt(r,t,{get:i[t],enumerable:!0})};function qt(r){return Qe.P6.bytesToHex(Qe.xW.getPublicKey(r))}Mt({},{insertEventIntoAscendingList:()=>Vn,insertEventIntoDescendingList:()=>dn,normalizeURL:()=>Tn,utf8Decoder:()=>Ai,utf8Encoder:()=>ri});var Ai=new TextDecoder("utf-8"),ri=new TextEncoder;function Tn(r){let i=new URL(r);return i.pathname=i.pathname.replace(/\/+/g,"/"),i.pathname.endsWith("/")&&(i.pathname=i.pathname.slice(0,-1)),("80"===i.port&&"ws:"===i.protocol||"443"===i.port&&"wss:"===i.protocol)&&(i.port=""),i.searchParams.sort(),i.hash="",i.toString()}function dn(r,i){let a,t=0,n=r.length-1,l=t;if(n<0)l=0;else if(i.created_at=r[t].created_at)l=t;else for(;;){if(n<=t+1){l=n;break}if(a=Math.floor(t+(n-t)/2),r[a].created_at>i.created_at)t=a;else{if(!(r[a].created_atr[n].created_at)l=n+1;else if(i.created_at<=r[t].created_at)l=t;else for(;;){if(n<=t+1){l=n;break}if(a=Math.floor(t+(n-t)/2),r[a].created_ati.created_at)){l=a;break}n=a}}return r[l]?.id!==i.id?[...r.slice(0,l),i,...r.slice(l)]:r}var Qi=(r=>(r[r.Metadata=0]="Metadata",r[r.Text=1]="Text",r[r.RecommendRelay=2]="RecommendRelay",r[r.Contacts=3]="Contacts",r[r.EncryptedDirectMessage=4]="EncryptedDirectMessage",r[r.EventDeletion=5]="EventDeletion",r[r.Reaction=7]="Reaction",r[r.ChannelCreation=40]="ChannelCreation",r[r.ChannelMetadata=41]="ChannelMetadata",r[r.ChannelMessage=42]="ChannelMessage",r[r.ChannelHideMessage=43]="ChannelHideMessage",r[r.ChannelMuteUser=44]="ChannelMuteUser",r[r.Report=1984]="Report",r[r.ZapRequest=9734]="ZapRequest",r[r.Zap=9735]="Zap",r[r.RelayList=10002]="RelayList",r[r.ClientAuth=22242]="ClientAuth",r[r.Article=30023]="Article",r))(Qi||{});function Ar(r){let i=ji(ri.encode(function Gr(r){if(!xa(r))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,r.pubkey,r.created_at,r.kind,r.tags,r.content])}(r)));return Qe.P6.bytesToHex(i)}function xa(r){if("object"!=typeof r||"number"!=typeof r.kind||"string"!=typeof r.content||"number"!=typeof r.created_at||"string"!=typeof r.pubkey||!r.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(r.tags))return!1;for(let i=0;ire,getInt:()=>Ee,getSubscriptionId:()=>me,matchEventId:()=>Ye,matchEventKind:()=>ei,matchEventPubkey:()=>vt});var gn={};Mt(gn,{decode:()=>$n,naddrEncode:()=>Fo,neventEncode:()=>co,noteEncode:()=>Kr,nprofileEncode:()=>ra,npubEncode:()=>lr,nsecEncode:()=>Tr});var zn=5e3;function $n(r){let{prefix:i,words:t}=zi.gW.decode(r,zn),n=new Uint8Array(zi.gW.fromWords(t));switch(i){case"nprofile":{let a=jn(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==a[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:Qe.P6.bytesToHex(a[0][0]),relays:a[1]?a[1].map(l=>Ai.decode(l)):[]}}}case"nevent":{let a=jn(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==a[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(a[2]&&32!==a[2][0].length)throw new Error("TLV 2 should be 32 bytes");return{type:"nevent",data:{id:Qe.P6.bytesToHex(a[0][0]),relays:a[1]?a[1].map(l=>Ai.decode(l)):[],author:a[2]?.[0]?Qe.P6.bytesToHex(a[2][0]):void 0}}}case"naddr":{let a=jn(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!a[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==a[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!a[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==a[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:Ai.decode(a[0][0]),pubkey:Qe.P6.bytesToHex(a[2][0]),kind:parseInt(Qe.P6.bytesToHex(a[3][0]),16),relays:a[1]?a[1].map(l=>Ai.decode(l)):[]}}}case"nsec":case"npub":case"note":return{type:i,data:Qe.P6.bytesToHex(n)};default:throw new Error(`unknown prefix ${i}`)}}function jn(r){let i={},t=r;for(;t.length>0;){let n=t[0],a=t[1],l=t.slice(2,2+a);t=t.slice(2+a),!(l.lengthri.encode(n))}),t=zi.gW.toWords(i);return zi.gW.encode("nprofile",t,zn)}function co(r){let i=uo({0:[Qe.P6.hexToBytes(r.id)],1:(r.relays||[]).map(n=>ri.encode(n)),2:r.author?[Qe.P6.hexToBytes(r.author)]:[]}),t=zi.gW.toWords(i);return zi.gW.encode("nevent",t,zn)}function Fo(r){let i=new ArrayBuffer(4);new DataView(i).setUint32(0,r.kind,!1);let t=uo({0:[ri.encode(r.identifier)],1:(r.relays||[]).map(a=>ri.encode(a)),2:[Qe.P6.hexToBytes(r.pubkey)],3:[new Uint8Array(i)]}),n=zi.gW.toWords(t);return zi.gW.encode("naddr",n,zn)}function uo(r){let i=[];return Object.entries(r).forEach(([t,n])=>{n.forEach(a=>{let l=new Uint8Array(a.length+2);l.set([parseInt(t)],0),l.set([a.length],1),l.set(a,2),i.push(l)})}),Qe.P6.concatBytes(...i)}function Ko(r,i,t){return kl.apply(this,arguments)}function kl(){return(kl=(0,we.Z)(function*(r,i,t){const a=Ic(Qe.ZV(r,"02"+i));let l=Uint8Array.from(function sn(r=32){if(qe.web)return qe.web.getRandomValues(new Uint8Array(r));if(qe.node)return new Uint8Array(qe.node.randomBytes(r).buffer);throw new Error("The environment doesn't have randomBytes function")}(16)),v=ri.encode(t),T=yield crypto.subtle.importKey("raw",a,{name:"AES-CBC"},!1,["encrypt"]),G=yield crypto.subtle.encrypt({name:"AES-CBC",iv:l},T,v);return`${zi.US.encode(new Uint8Array(G))}?iv=${zi.US.encode(new Uint8Array(l.buffer))}`})).apply(this,arguments)}function $s(r,i,t){return $o.apply(this,arguments)}function $o(){return($o=(0,we.Z)(function*(r,i,t){let[n,a]=t.split("?iv="),v=Ic(Qe.ZV(r,"02"+i)),T=yield crypto.subtle.importKey("raw",v,{name:"AES-CBC"},!1,["decrypt"]),G=zi.US.decode(n),z=zi.US.decode(a),be=yield crypto.subtle.decrypt({name:"AES-CBC",iv:z},T,G);return Ai.decode(be)})).apply(this,arguments)}function Ic(r){return r.slice(1,33)}Mt({},{decrypt:()=>$s,encrypt:()=>Ko});var $l,Va={};Mt(Va,{queryProfile:()=>La,searchDomain:()=>Oc,useFetchImplementation:()=>Xl});try{$l=fetch}catch{}function Xl(r){$l=r}function Oc(r){return ec.apply(this,arguments)}function ec(){return(ec=(0,we.Z)(function*(r,i=""){try{return(yield(yield $l(`https://${r}/.well-known/nostr.json?name=${i}`)).json()).names}catch{return{}}})).apply(this,arguments)}function La(r){return Dl.apply(this,arguments)}function Dl(){return(Dl=(0,we.Z)(function*(r){let n,[i,t]=r.split("@");if(t||(t=i,i="_"),!i.match(/^[A-Za-z0-9-_]+$/)||!t.includes("."))return null;try{n=yield(yield $l(`https://${t}/.well-known/nostr.json?name=${i}`)).json()}catch{return null}if(!n?.names?.[i])return null;let a=n.names[i];return{pubkey:a,relays:n.relays?.[a]||[]}})).apply(this,arguments)}var ic,El,Ds={};function Lc(r,i){let n=Te.fromMasterSeed((0,Ht.Z1)(r,i)).derive("m/44'/1237'/0'/0/0").privateKey;if(!n)throw new Error("could not derive private key");return Qe.P6.bytesToHex(n)}function dd(){return(0,Ht.OF)(ir.U)}function Nc(r){return(0,Ht._I)(r,ir.U)}function tm(r){const i={reply:void 0,root:void 0,mentions:[],profiles:[]},t=[];for(const n of r.tags)"e"===n[0]&&n[1]&&t.push(n),"p"===n[0]&&n[1]&&i.profiles.push({pubkey:n[1],relays:n[2]?[n[2]]:[]});for(let n=0;n=0&&t.push(`kind=${i.kind}`),i.until&&t.push(`created_at<${i.until}`),i.since&&t.push(`created_at>${i.since}`);let n=t.join("&");if(""===n)throw new Error("refusing to create a delegation without any conditions");let a=ji(ri.encode(`nostr:delegation:${i.pubkey}:${n}`)),l=Qe.P6.bytesToHex(Qe.xW.signSync(a,r));return{from:qt(r),to:i.pubkey,cond:n,sig:l}}function ud(r){let i=r.tags.find(T=>"delegation"===T[0]&&T.length>=4);if(!i)return null;let t=i[1],n=i[2],a=i[3],l=n.split("&");for(let T=0;T"===z&&r.created_at>parseInt(be))continue;return null}}let v=ji(ri.encode(`nostr:delegation:${r.pubkey}:${n}`));return Qe.xW.verifySync(a,v,t)?t:null}Mt(Ds,{generateSeedWords:()=>dd,privateKeyFromSeedWords:()=>Lc,validateWords:()=>Nc}),Mt({},{parse:()=>tm}),Mt({},{createDelegation:()=>Xo,getDelegator:()=>ud}),Mt({},{useFetchImplementation:()=>Oo,validateGithub:()=>im});try{ic=fetch}catch{}function Oo(r){ic=r}function im(r,i,t){return Ml.apply(this,arguments)}function Ml(){return(Ml=(0,we.Z)(function*(r,i,t){try{return(yield(yield ic(`https://gist.github.com/${i}/${t}/raw`)).text())===`Verifying that I control the following Nostr public key: ${r}`}catch{return!1}})).apply(this,arguments)}Mt({},{getZapEndpoint:()=>hd,makeZapReceipt:()=>As,makeZapRequest:()=>Es,useFetchImplementation:()=>nc,validateZapRequest:()=>es});try{El=fetch}catch{}function nc(r){El=r}function hd(r){return Ms.apply(this,arguments)}function Ms(){return(Ms=(0,we.Z)(function*(r){try{let i="",{lud06:t,lud16:n}=JSON.parse(r.content);if(t){let{words:v}=zi.gW.decode(t,1e3),T=zi.gW.fromWords(v);i=Ai.decode(T)}else{if(!n)return null;{let[v,T]=n.split("@");i=`https://${T}/.well-known/lnurlp/${v}`}}let l=yield(yield El(i)).json();if(l.allowsNostr&&l.nostrPubkey)return l.callback}catch{}return null})).apply(this,arguments)}function Es({profile:r,event:i,amount:t,relays:n,comment:a=""}){if(!t)throw new Error("amount not given");if(!r)throw new Error("profile not given");let l={kind:9734,created_at:Math.round(Date.now()/1e3),content:a,tags:[["p",r],["amount",t.toString()],["relays",...n]]};return i&&l.tags.push(["e",i]),l}function es(r){let i;try{i=JSON.parse(r)}catch{return"Invalid zap request JSON."}if(!xa(i))return"Zap request is not a valid Nostr event.";if(!Oa(i))return"Invalid signature on zap request.";let t=i.tags.find(([l,v])=>"p"===l&&v);if(!t)return"Zap request doesn't have a 'p' tag.";if(!t[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let n=i.tags.find(([l,v])=>"e"===l&&v);return n&&!n[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":i.tags.find(([l,v])=>"relays"===l&&v)?null:"Zap request doesn't have a 'relays' tag."}function As({zapRequest:r,preimage:i,bolt11:t,paidAt:n}){let l=JSON.parse(r).tags.filter(([T])=>"e"===T||"p"===T||"a"===T),v={kind:9735,created_at:Math.round(n.getTime()/1e3),content:"",tags:[...l,["bolt11",t],["description",r]]};return i&&v.tags.push(["preimage",i]),v}Qe.P6.hmacSha256Sync=(r,...i)=>ct(ji,r,Qe.P6.concatBytes(...i)),Qe.P6.sha256Sync=(...r)=>ji(Qe.P6.concatBytes(...r));class Rc{constructor(i){this.url=i,this.status="ok"}start(){return console.log(`${this.url}: start method new Worker called.`),this.worker=new Worker(y.tu(new URL(y.p+y.u(911),y.b))),this.worker}connect(i,t){this.action("connect",{url:this.url,subscriptions:i,event:t})}disconnect(){this.action("disconnect")}terminate(){this.action("terminate")}enque(i){this.action("enque",i)}publish(i){this.action("publish",i)}download(i,t,n){this.action("download",{filters:i,id:t,type:n})}subscribe(i,t){this.action("subscribe",{filters:i,id:t})}unsubscribe(i){this.action("unsubscribe",i)}action(i,t){if("ok"!=this.status)throw new Error("The status of this relay worker is: "+this.status);this.worker?.postMessage({type:i,data:t})}}const Lu={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Tl;const xr=new Uint8Array(16);function Qf(){if(!Tl&&(Tl=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Tl))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Tl(xr)}const Na=[];for(let r=0;r<256;++r)Na.push((r+256).toString(16).slice(1));const Bc=function Nu(r,i,t){if(Lu.randomUUID&&!i&&!r)return Lu.randomUUID();const n=(r=r||{}).random||(r.rng||Qf)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,i){t=t||0;for(let a=0;a<16;++a)i[t+a]=n[a];return i}return function nm(r,i=0){return(Na[r[i+0]]+Na[r[i+1]]+Na[r[i+2]]+Na[r[i+3]]+"-"+Na[r[i+4]]+Na[r[i+5]]+"-"+Na[r[i+6]]+Na[r[i+7]]+"-"+Na[r[i+8]]+Na[r[i+9]]+"-"+Na[r[i+10]]+Na[r[i+11]]+Na[r[i+12]]+Na[r[i+13]]+Na[r[i+14]]+Na[r[i+15]]).toLowerCase()}(n)};var Co=new WeakMap;class Br{get queues$(){return _e(this,Co).asObservable()}constructor(){St(this,Co,{writable:!0,value:void 0}),Wt(this,Co,new Ne.X(void 0))}enqueProfile(i){_e(this,Co).next({identifier:i,type:"Profile"})}enqueEvent(i){_e(this,Co).next({identifier:i,type:"Event"})}enqueArticle(i){_e(this,Co).next({identifier:i,type:"Article"})}enqueBadgeDefinition(i){_e(this,Co).next({identifier:i,type:"BadgeDefinition"})}enqueContacts(i){_e(this,Co).next({identifier:i,type:"Contacts"})}enque(i,t){"Profile"===t?this.enqueProfile(i):"Event"===t?this.enqueEvent(i):"Contacts"===t?this.enqueContacts(i):"Article"===t?this.enqueArticle(i):"BadgeDefinition"===t&&this.enqueBadgeDefinition(i)}}Br.\u0275fac=function(i){return new(i||Br)},Br.\u0275prov=e.Yz7({token:Br,factory:Br.\u0275fac,providedIn:"root"});const Ru=(r,i)=>i.some(t=>r instanceof t);let $r,rc;const Xa=new WeakMap,ts=new WeakMap,Yc=new WeakMap,H=new WeakMap,Q=new WeakMap;let ve={get(r,i,t){if(r instanceof IDBTransaction){if("done"===i)return ts.get(r);if("objectStoreNames"===i)return r.objectStoreNames||Yc.get(r);if("store"===i)return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return ai(r[i])},set:(r,i,t)=>(r[i]=t,!0),has:(r,i)=>r instanceof IDBTransaction&&("done"===i||"store"===i)||i in r};function Rt(r){return"function"==typeof r?function Ge(r){return r!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function Ci(){return rc||(rc=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(r)?function(...i){return r.apply(Oi(this),i),ai(Xa.get(this))}:function(...i){return ai(r.apply(Oi(this),i))}:function(i,...t){const n=r.call(Oi(this),i,...t);return Yc.set(n,i.sort?i.sort():[i]),ai(n)}}(r):(r instanceof IDBTransaction&&function se(r){if(ts.has(r))return;const i=new Promise((t,n)=>{const a=()=>{r.removeEventListener("complete",l),r.removeEventListener("error",v),r.removeEventListener("abort",v)},l=()=>{t(),a()},v=()=>{n(r.error||new DOMException("AbortError","AbortError")),a()};r.addEventListener("complete",l),r.addEventListener("error",v),r.addEventListener("abort",v)});ts.set(r,i)}(r),Ru(r,function Sl(){return $r||($r=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(r,ve):r)}function ai(r){if(r instanceof IDBRequest)return function R(r){const i=new Promise((t,n)=>{const a=()=>{r.removeEventListener("success",l),r.removeEventListener("error",v)},l=()=>{t(ai(r.result)),a()},v=()=>{n(r.error),a()};r.addEventListener("success",l),r.addEventListener("error",v)});return i.then(t=>{t instanceof IDBCursor&&Xa.set(t,r)}).catch(()=>{}),Q.set(i,r),i}(r);if(H.has(r))return H.get(r);const i=Rt(r);return i!==r&&(H.set(r,i),Q.set(i,r)),i}const Oi=r=>Q.get(r),ma=["get","getKey","getAll","getAllKeys","count"],ms=["put","add","delete","clear"],ko=new Map;function fs(r,i){if(!(r instanceof IDBDatabase)||i in r||"string"!=typeof i)return;if(ko.get(i))return ko.get(i);const t=i.replace(/FromIndex$/,""),n=i!==t,a=ms.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!a&&!ma.includes(t))return;const l=function(){var v=(0,we.Z)(function*(T,...G){const z=this.transaction(T,a?"readwrite":"readonly");let be=z.store;return n&&(be=be.index(G.shift())),(yield Promise.all([be[t](...G),a&&z.done]))[0]});return function(G){return v.apply(this,arguments)}}();return ko.set(i,l),l}function Fa(){return Math.floor(Date.now()/1e3)}!function Be(r){ve=r(ve)}(r=>({...r,get:(i,t,n)=>fs(i,t)||r.get(i,t,n),has:(i,t)=>!!fs(i,t)||r.has(i,t)}));class ac{constructor(i){this.name=i}open(){var i=this;return(0,we.Z)(function*(){i.db=yield function Yi(r,i,{blocked:t,upgrade:n,blocking:a,terminated:l}={}){const v=indexedDB.open(r,i),T=ai(v);return n&&v.addEventListener("upgradeneeded",G=>{n(ai(v.result),G.oldVersion,G.newVersion,ai(v.transaction),G)}),t&&v.addEventListener("blocked",G=>t(G.oldVersion,G.newVersion,G)),T.then(G=>{l&&G.addEventListener("close",()=>l()),a&&G.addEventListener("versionchange",z=>a(z.oldVersion,z.newVersion,z))}).catch(()=>{}),T}(i.name,2,{upgrade(t,n,a,l,v){switch(n){case 0:!function T(){t.createObjectStore("relays",{keyPath:"url"}),t.createObjectStore("notes",{keyPath:"id"}),t.createObjectStore("circles",{keyPath:"id",autoIncrement:!0}),t.createObjectStore("state",{keyPath:"id"}),t.createObjectStore("contacts",{keyPath:"pubkey"}),t.createObjectStore("labels",{keyPath:"id"}),t.createObjectStore("notifications",{keyPath:"id"}).createIndex("created","created");const be=t.createObjectStore("events",{keyPath:"id"});be.createIndex("pubkey","pubkey"),be.createIndex("created","created_at"),be.createIndex("kind","kind"),t.createObjectStore("profiles",{keyPath:"pubkey"}).createIndex("status","status")}();case 1:case 2:!function G(){t.createObjectStore("badges",{keyPath:"id"})}();break;default:console.error("Unknown database version.")}},blocked(t,n,a){},blocking(t,n,a){},terminated(){}})})()}close(){this.db.close()}getState(){var i=this;return(0,we.Z)(function*(){return i.db.get("state",1)})()}putState(i){var t=this;return(0,we.Z)(function*(){return i.id=1,i.modified=Fa(),t.db.put("state",i)})()}getCircle(i){var t=this;return(0,we.Z)(function*(){return t.db.get("circles",i)})()}getCircles(){var i=this;return(0,we.Z)(function*(){return i.db.getAll("circles")})()}putNote(i){var t=this;return(0,we.Z)(function*(){return i.saved=Fa(),t.db.put("notes",i)})()}deleteNote(i){var t=this;return(0,we.Z)(function*(){return t.db.delete("notes",i)})()}putCircle(i){var t=this;return(0,we.Z)(function*(){return i.modified=Fa(),t.db.put("circles",i)})()}getContacts(i){var t=this;return(0,we.Z)(function*(){return t.db.get("contacts",i)})()}putContacts(i){var t=this;return(0,we.Z)(function*(){return t.db.put("contacts",i)})()}putNotification(i){var t=this;return(0,we.Z)(function*(){return t.db.put("notifications",i)})()}deleteContacts(i){var t=this;return(0,we.Z)(function*(){return t.db.delete("contacts",i)})()}getProfile(i){var t=this;return(0,we.Z)(function*(){return t.db.get("profiles",i)})()}putProfile(i){var t=this;return(0,we.Z)(function*(){return i.modified=Fa(),t.db.put("profiles",i)})()}getBadge(i){var t=this;return(0,we.Z)(function*(){return t.db.get("badges",i)})()}putBadge(i){var t=this;return(0,we.Z)(function*(){return i.modified=Fa(),t.db.put("badges",i)})()}getProfilesByStatus(i){var t=this;return(0,we.Z)(function*(){return t.db.getAllFromIndex("profiles","status",i)})()}getProfilesByStatusCount(i){var t=this;return(0,we.Z)(function*(){return t.db.countFromIndex("profiles","status",i)})()}getEvent(i){var t=this;return(0,we.Z)(function*(){return t.db.get("events",i)})()}getNotification(i){var t=this;return(0,we.Z)(function*(){return t.db.get("notifications",i)})()}putEvents(i){var t=this;return(0,we.Z)(function*(){return t.db.put("events",i)})()}getEventsByPubKey(i,t){var n=this;return(0,we.Z)(function*(){return n.db.getAllFromIndex("events","pubkey",i,t)})()}getNotifications2(i){var t=this;return(0,we.Z)(function*(){return t.db.getAllFromIndex("notifications","created",void 0,i)})()}getNotifications(i){var t=this;return(0,we.Z)(function*(){let n=yield t.db.transaction("notifications").store.index("created").openCursor(void 0,"prev");const a=[];let l=0;for(;n&&(a.push(n.value),l++,!(l>=i));)n=yield n.continue();return a})()}getEventsByCreated2(i,t){var n=this;return(0,we.Z)(function*(){return n.db.getAllFromIndex("events","created",i,t)})()}getEventsByCreated(i){var t=this;return(0,we.Z)(function*(){let n=yield t.db.transaction("events").store.index("created").openCursor(void 0,"prev");const a=[];let l=0;for(;n&&(a.push(n.value),l++,!(l>=i));)n=yield n.continue();return a})()}getEventsByCreatedAndKind(i,t){var n=this;return(0,we.Z)(function*(){let a=yield n.db.transaction("events").store.index("created").openCursor(void 0,"prev");const l=[];let v=0;for(;a&&!(a.value.kind==t&&(l.push(a.value),v++,v>=i));)a=yield a.continue();return l})()}getRelay(i){var t=this;return(0,we.Z)(function*(){return t.db.get("relays",i)})()}getRelays(){var i=this;return(0,we.Z)(function*(){return i.db.getAll("relays")})()}getBadges(){var i=this;return(0,we.Z)(function*(){return i.db.getAll("badges")})()}getNotes(){var i=this;return(0,we.Z)(function*(){return i.db.getAll("notes")})()}putRelay(i){var t=this;return(0,we.Z)(function*(){return i.modified=Fa(),t.db.put("relays",i)})()}deleteCircle(i){var t=this;return(0,we.Z)(function*(){return t.db.delete("circles",i)})()}deleteProfile(i){var t=this;return(0,we.Z)(function*(){return t.db.delete("profiles",i)})()}deleteRelay(i){var t=this;return(0,we.Z)(function*(){return t.db.delete("relays",i)})()}deleteRelays(){var i=this;return(0,we.Z)(function*(){return i.db.clear("relays")})()}deleteNotes(){var i=this;return(0,we.Z)(function*(){return i.db.clear("notes")})()}deleteNotesByAuthor(i){var t=this;return(0,we.Z)(function*(){t.db.transaction("events","readwrite").store.index("pubkey").openCursor(i).then(function(){var v=(0,we.Z)(function*(T){for(;T;)T.delete(),T=yield T.continue()});return function(T){return v.apply(this,arguments)}}())})()}deleteNotifications(){var i=this;return(0,we.Z)(function*(){return i.db.clear("notifications")})()}delete(){var i=this;return(0,we.Z)(function*(){yield function Xn(r,{blocked:i}={}){const t=indexedDB.deleteDatabase(r);return i&&t.addEventListener("blocked",n=>i(n.oldVersion,n)),ai(t).then(()=>{})}(i.name,{blocked(){console.log("BLOCKED...")}})})()}getLabel(i){var t=this;return(0,we.Z)(function*(){return t.db.get("labels",i)})()}getLabels(){var i=this;return(0,we.Z)(function*(){return i.db.getAll("labels")})()}putLabel(i){var t=this;return(0,we.Z)(function*(){return t.db.put("labels",i)})()}deleteLabel(i){var t=this;return(0,we.Z)(function*(){return t.db.delete("labels",i)})()}}var is=y(5439);class Fr{constructor(i){this.appState=i}initialize(i){var t=this;return(0,we.Z)(function*(){t.storage=new ac("blockcore-notes-"+t.appState.getPublicKey()),yield t.storage.open();let n=yield t.storage.getState();n||(n={id:1,since:is().subtract(2,"days").unix()}),t.state=n,setTimeout((0,we.Z)(function*(){console.log("Persisting state...");const a=is().subtract(10,"minutes").unix();t.state.since=a,yield t.storage.putState(t.state)}),6e4)})()}clearAndReload(){var i=this;return(0,we.Z)(function*(){console.log("Deleting storage..."),setTimeout(()=>{console.log("Reloading!"),location.reload()},1e3);try{yield i.delete()}catch(t){console.error(t)}})()}close(){try{this.storage.close()}catch(i){console.error("Failed to close storage.",i)}}delete(){var i=this;return(0,we.Z)(function*(){yield i.storage.delete()})()}}Fr.\u0275fac=function(i){return new(i||Fr)(e.LFG(Oe.i))},Fr.\u0275prov=e.Yz7({token:Fr,factory:Fr.\u0275fac,providedIn:"root"});var pn=y(7949),ns=y(9784);class Zr{constructor(i){this.validator=i}processEvent(i){let t;return i?(t=i.kind==Qi.Contacts?this.validator.validateContacts(i):this.validator.validateEvent(i),t?(t=this.validator.sanitizeEvent(t),t||null):(console.log("INVALID EVENT!"),null)):null}getPublicKeyAndEventTags(i){return i?i.filter(n=>"e"===n[0]||"p"===n[0]):[]}lastETag(i){const t=this.eTags(i);if(0!=t.length)return t[t.length-1][1]}titleTag(i){const t=this.tagsOfType(i,"title");if(0!=t.length)return t[t.length-1][1]}firstATag(i){const t=this.tagsOfType(i,"a");if(0!=t.length)return t[0][1]}firstDTag(i){const t=this.tagsOfType(i,"d");if(0!=t.length)return t[0][1]}lastTagOfType(i,t){const n=this.tagsOfType(i,t);if(0!=n.length)return n[n.length-1][1]}hashTags(i){return this.tagsOfTypeValues(i,"t")}parseContentReturnTags(i){return this.getUniqueHashtags(i).map(a=>["t",a.substring(1)])}getUniqueHashtags(i){const n=i.match(/#\w+/g);return[...new Set(n)]}tagsOfType(i,t){return i?i.tags.filter(a=>a[0]===t):[]}tagsOfTypeValues(i,t){return i?i.tags.filter(a=>a[0]===t).map(a=>a[1]):[]}eTags(i){return i?i.tags.filter(n=>"e"===n[0]):[]}pTags(i){return i?i.tags.filter(n=>"p"===n[0]):[]}parentEventId(i){if(!i)return;const t=i.tags.filter(n=>"e"===n[0]);return 0!=t.length?t[t.length-1][1]:void 0}rootEventId(i){if(!i)return;const t=i.tags.filter(n=>"e"===n[0]);for(let n=0;n3&&"root"==a[3])return a[1]}return 0==t.length?null:t[0][1]}replyEventId(i){if(!i)return;const t=i.tags.filter(n=>"e"===n[0]);for(let n=0;n3&&"reply"==a[3])return a[1]}return t.length<2?null:t[1][1]}}Zr.\u0275fac=function(i){return new(i||Zr)(e.LFG(ns.Y))},Zr.\u0275prov=e.Yz7({token:Zr,factory:Zr.\u0275fac,providedIn:"root"});class rs{get editable(){return this.definitions.filter(t=>t.pubkey==this.appState.getPublicKey())}constructor(i,t,n,a,l){this.queueService=i,this.storage=t,this.appState=n,this.utilities=a,this.eventService=l,this.definitions=[]}getDefinition(i){return this.definitions.find(t=>t.slug==i)}initialize(){var i=this;return(0,we.Z)(function*(){const t=yield i.storage.storage.getBadges();t.length>0&&(i.definitions=i.convert(t))})()}convert(i){const t=[];for(let n=0;nl.id==n.id);if(a>-1){if(t.definitions[a].created_at>n.created_at)return;t.definitions[a]=n,yield t.saveDefinition(n)}else t.definitions.push(n),yield t.saveDefinition(n)})()}saveDefinition(i){var t=this;return(0,we.Z)(function*(){let n={id:i.id,slug:i.slug,pubkey:i.pubkey,created:i.created_at,created_at:i.created_at,description:i.description,name:i.name,thumb:i.thumb,image:i.image,hashtags:i.hashtags};yield t.storage.storage.putBadge(n)})()}}rs.\u0275fac=function(i){return new(i||rs)(e.LFG(Br),e.LFG(Fr),e.LFG(Oe.i),e.LFG(pn.dU),e.LFG(Zr))},rs.\u0275prov=e.Yz7({token:rs,factory:rs.\u0275fac,providedIn:"root"});var Lo=y(529),Xs=y(5191),oc=y(2843),Cr=y(4004),md=y(4482),fd=y(5403),sc=y(4671),el=y(2805),ps=y(8421),pd=y(3151),tl=y(262),z_=y(4351);let rm={},am={};function Kf(r){let i=[],t=0,n=0;for(let a=0;a>>=1,i.push(T?0===n?-2147483648:-n:n),n=t=0}}return i}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(r,i){rm[r]=i,am[i]=r});const Ts="TOKEN_LOGGER_CONFIG";class om{constructor(i){this.config=this._clone(i)}get level(){return this.config.level}get serverLogLevel(){return this.config.serverLogLevel}updateConfig(i){this.config=this._clone(i)}partialUpdateConfig(i){i&&Object.keys(i).forEach(t=>{this.config[t]=i[t]})}getConfig(){return this._clone(this.config)}_clone(i){const t={level:null};return Object.keys(i).forEach(n=>{t[n]=i[n]}),t}}const gd="TOKEN_LOGGER_CONFIG_ENGINE_FACTORY";class sm{provideConfigEngine(i){return new om(i)}}const _d="TOKEN_LOGGER_MAPPER_SERVICE";let $f=(()=>{class r{constructor(t){this.httpBackend=t,this.sourceMapCache=new Map,this.logPositionCache=new Map}getLogPosition(t,n){const a=this.getStackLine(t);if(!a)return(0,U.of)({fileName:"",lineNumber:0,columnNumber:0});const l=this.getLocalPosition(a);if(!t.enableSourceMaps)return(0,U.of)(l);const v=this.getSourceMapLocation(a);return this.getSourceMap(v,l)}getStackLine(t){const n=new Error;try{throw n}catch{try{let l=4;return n.stack.split("\n")[0].includes(".js:")||(l+=1),n.stack.split("\n")[l+(t.proxiedSteps||0)]}catch{return null}}}getLocalPosition(t){const n=t.lastIndexOf("/");let a=t.indexOf(")");a<0&&(a=void 0);const v=t.substring(n+1,a).split(":");return 3===v.length?{fileName:v[0],lineNumber:+v[1],columnNumber:+v[2]}:{fileName:"unknown",lineNumber:0,columnNumber:0}}getTranspileLocation(t){let n=t.indexOf("(");n<0&&(n=t.lastIndexOf("@"),n<0&&(n=t.lastIndexOf(" ")));let a=t.indexOf(")");return a<0&&(a=void 0),t.substring(n+1,a)}getSourceMapLocation(t){const n=this.getTranspileLocation(t),a=n.substring(0,n.lastIndexOf(":"));return a.substring(0,a.lastIndexOf(":"))+".map"}getMapping(t,n){let a=0,l=0,v=0;const T=t.mappings.split(";");for(let G=0;G=4&&(z+=bt[0],a+=bt[1],l+=bt[2],v+=bt[3]),G===n.lineNumber){if(z===n.columnNumber)return{fileName:t.sources[a],lineNumber:l,columnNumber:v};if(Ve+1===be.length)return{fileName:t.sources[a],lineNumber:l,columnNumber:0}}}}return{fileName:"unknown",lineNumber:0,columnNumber:0}}getSourceMap(t,n){const a=new Lo.aW("GET",t),l=`${n.fileName}:${n.lineNumber}:${n.columnNumber}`;if(this.logPositionCache.has(l))return this.logPositionCache.get(l);this.sourceMapCache.has(t)||(this.httpBackend?this.sourceMapCache.set(t,this.httpBackend.handle(a).pipe((0,Je.h)(T=>T instanceof Lo.Zn),(0,Cr.U)(T=>T.body),function Z_(r=1/0){let i;i=r&&"object"==typeof r?r:{count:r};const{count:t=1/0,delay:n,resetOnSuccess:a=!1}=i;return t<=0?sc.y:(0,md.e)((l,v)=>{let G,T=0;const z=()=>{let be=!1;G=l.subscribe((0,fd.x)(v,Ve=>{a&&(T=0),v.next(Ve)},void 0,Ve=>{if(T++{G?(G.unsubscribe(),G=null,z()):be=!0};if(null!=n){const Pt="number"==typeof n?(0,el.H)(n):(0,ps.Xf)(n(Ve,T)),Gt=(0,fd.x)(v,()=>{Gt.unsubscribe(),bt()},()=>{v.complete()});Pt.subscribe(Gt)}else bt()}else v.error(Ve)})),be&&(G.unsubscribe(),G=null,z())};z()})}(3),(0,pd.d)(1))):(console.error("NGXLogger : Can't get sourcemap because HttpBackend is not provided. You need to import HttpClientModule"),this.sourceMapCache.set(t,(0,U.of)(null))));const v=this.sourceMapCache.get(t).pipe((0,Cr.U)(T=>T?this.getMapping(T,n):n),(0,tl.K)(()=>(0,U.of)(n)),(0,pd.d)(1));return this.logPositionCache.set(l,v),v}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(Lo.jN,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const Il="TOKEN_LOGGER_METADATA_SERVICE";let il=(()=>{class r{constructor(t){this.datePipe=t}computeTimestamp(t){const n=()=>(new Date).toISOString();return t.timestampFormat?this.datePipe?this.datePipe.transform(new Date,t.timestampFormat):(console.error("NGXLogger : Can't use timeStampFormat because DatePipe is not provided. You need to provide DatePipe"),n()):n()}getMetadata(t,n,a,l){const v={level:t,additional:l};return v.message=a&&"function"==typeof a?a():a,v.timestamp=this.computeTimestamp(n),v}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(F.uU,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const er="TOKEN_LOGGER_RULES_SERVICE";let E=(()=>{class r{shouldCallWriter(t,n,a,l){return!n.disableConsoleLogging&&t>=n.level}shouldCallServer(t,n,a,l){return!!n.serverLoggingUrl&&t>=n.serverLogLevel}shouldCallMonitor(t,n,a,l){return this.shouldCallWriter(t,n,a,l)||this.shouldCallServer(t,n,a,l)}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const j="TOKEN_LOGGER_SERVER_SERVICE";let ge=(()=>{class r{constructor(t){this.httpBackend=t}secureErrorObject(t){return t?.stack}secureAdditionalParameters(t){return null==t?null:t.map((n,a)=>{try{return n instanceof Error?this.secureErrorObject(n):("object"==typeof n&&JSON.stringify(n),n)}catch{return`The additional[${a}] value could not be parsed using JSON.stringify().`}})}secureMessage(t){try{if(t instanceof Error)return this.secureErrorObject(t);"string"!=typeof t&&(t=JSON.stringify(t,null,2))}catch{t='The provided "message" value could not be parsed with JSON.stringify().'}return t}alterHttpRequest(t){return t}logOnServer(t,n,a){if(!this.httpBackend)return console.error("NGXLogger : Can't log on server because HttpBackend is not provided. You need to import HttpClientModule"),(0,U.of)(null);let l=new Lo.aW("POST",t,n,a||{}),v=(0,U.of)(l);const T=this.alterHttpRequest(l);return(0,Xs.b)(T)?v=T:T?v=(0,U.of)(T):console.warn("NGXLogger : alterHttpRequest returned an invalid request. Using default one instead"),v.pipe((0,z_.b)(G=>G?this.httpBackend.handle(G):(console.warn("NGXLogger : alterHttpRequest returned an invalid request (observable). Using default one instead"),this.httpBackend.handle(l))),(0,Je.h)(G=>G instanceof Lo.Zn),(0,Cr.U)(G=>G.body))}customiseRequestBody(t){return t}sendToServer(t,n){const a={...t};a.additional=this.secureAdditionalParameters(a.additional),a.message=this.secureMessage(a.message);const l=this.customiseRequestBody(a),v=n.customHttpHeaders||new Lo.WM;v.has("Content-Type")||v.set("Content-Type","application/json"),this.logOnServer(n.serverLoggingUrl,l,{headers:v,params:n.customHttpParams||new Lo.LE,responseType:n.httpResponseType||"json",withCredentials:n.withCredentials||!1}).pipe((0,tl.K)(T=>(console.error("NGXLogger: Failed to log on server",T),(0,oc._)(T)))).subscribe()}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(Lo.jN,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const Me="TOKEN_LOGGER_WRITER_SERVICE";var Pe=(()=>{return(r=Pe||(Pe={}))[r.TRACE=0]="TRACE",r[r.DEBUG=1]="DEBUG",r[r.INFO=2]="INFO",r[r.LOG=3]="LOG",r[r.WARN=4]="WARN",r[r.ERROR=5]="ERROR",r[r.FATAL=6]="FATAL",r[r.OFF=7]="OFF",Pe;var r})();const It=["purple","teal","gray","gray","red","red","red"];let oi=(()=>{class r{constructor(t){this.platformId=t,this.prepareMetaStringFuncs=[this.getTimestampToWrite,this.getLevelToWrite,this.getFileDetailsToWrite,this.getContextToWrite],this.isIE=(0,F.NF)(t)&&navigator&&navigator.userAgent&&!(-1===navigator.userAgent.indexOf("MSIE")&&!navigator.userAgent.match(/Trident\//)&&!navigator.userAgent.match(/Edge\//)),this.logFunc=this.isIE?this.logIE.bind(this):this.logModern.bind(this)}getTimestampToWrite(t,n){return t.timestamp}getLevelToWrite(t,n){return Pe[t.level]}getFileDetailsToWrite(t,n){return!0===n.disableFileDetails?"":`[${t.fileName}:${t.lineNumber}:${t.columnNumber}]`}getContextToWrite(t,n){return n.context?`{${n.context}}`:""}prepareMetaString(t,n){let a="";return this.prepareMetaStringFuncs.forEach(l=>{const v=l(t,n);v&&(a=a+" "+v)}),a.trim()}getColor(t,n){if(t.level!==Pe.OFF)return(n.colorScheme??It)[t.level]}logIE(t,n,a){const l=t.additional||[];switch(t.level){case Pe.WARN:console.warn(`${a} `,t.message,...l);break;case Pe.ERROR:case Pe.FATAL:console.error(`${a} `,t.message,...l);break;case Pe.INFO:console.info(`${a} `,t.message,...l);break;default:console.log(`${a} `,t.message,...l)}}logModern(t,n,a){const l=this.getColor(t,n),v=t.additional||[];switch(t.level){case Pe.WARN:console.warn(`%c${a}`,`color:${l}`,t.message,...v);break;case Pe.ERROR:case Pe.FATAL:console.error(`%c${a}`,`color:${l}`,t.message,...v);break;case Pe.INFO:console.info(`%c${a}`,`color:${l}`,t.message,...v);break;case Pe.DEBUG:console.debug(`%c${a}`,`color:${l}`,t.message,...v);break;default:console.log(`%c${a}`,`color:${l}`,t.message,...v)}}writeMessage(t,n){const a=this.prepareMetaString(t,n);this.logFunc(t,n,a)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(e.Lbi))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),on=(()=>{class r{constructor(t,n,a,l,v,T,G){this.metadataService=a,this.ruleService=l,this.mapperService=v,this.writerService=T,this.serverService=G,this.configEngine=n.provideConfigEngine(t)}get level(){return this.configEngine.level}get serverLogLevel(){return this.configEngine.serverLogLevel}trace(t,...n){this._log(Pe.TRACE,t,n)}debug(t,...n){this._log(Pe.DEBUG,t,n)}info(t,...n){this._log(Pe.INFO,t,n)}log(t,...n){this._log(Pe.LOG,t,n)}warn(t,...n){this._log(Pe.WARN,t,n)}error(t,...n){this._log(Pe.ERROR,t,n)}fatal(t,...n){this._log(Pe.FATAL,t,n)}setCustomHttpHeaders(t){const n=this.getConfigSnapshot();n.customHttpHeaders=t,this.updateConfig(n)}setCustomParams(t){const n=this.getConfigSnapshot();n.customHttpParams=t,this.updateConfig(n)}setWithCredentialsOptionValue(t){const n=this.getConfigSnapshot();n.withCredentials=t,this.updateConfig(n)}registerMonitor(t){this._loggerMonitor=t}updateConfig(t){this.configEngine.updateConfig(t)}partialUpdateConfig(t){this.configEngine.partialUpdateConfig(t)}getConfigSnapshot(){return this.configEngine.getConfig()}_log(t,n,a=[]){const l=this.configEngine.getConfig(),v=this.ruleService.shouldCallWriter(t,l,n,a),T=this.ruleService.shouldCallServer(t,l,n,a),G=this.ruleService.shouldCallMonitor(t,l,n,a);if(!v&&!T&&!G)return;const z=this.metadataService.getMetadata(t,l,n,a);this.mapperService.getLogPosition(l,z).pipe((0,Ie.q)(1)).subscribe(be=>{be&&(z.fileName=be.fileName,z.lineNumber=be.lineNumber,z.columnNumber=be.columnNumber),G&&this._loggerMonitor&&this._loggerMonitor.onLog(z,l),v&&this.writerService.writeMessage(z,l),T&&this.serverService.sendToServer(z,l)})}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ts),e.LFG(gd),e.LFG(Il),e.LFG(er),e.LFG(_d),e.LFG(Me),e.LFG(j))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Bn=(()=>{class r{constructor(t,n,a,l,v,T,G){this.logger=t,this.configEngineFactory=n,this.metadataService=a,this.ruleService=l,this.mapperService=v,this.writerService=T,this.serverService=G}create(t,n,a,l){return this.getNewInstance({config:t,serverService:n,logMonitor:a,mapperService:l})}getNewInstance(t){const n=new on(t?.config??this.logger.getConfigSnapshot(),t?.configEngineFactory??this.configEngineFactory,t?.metadataService??this.metadataService,t?.ruleService??this.ruleService,t?.mapperService??this.mapperService,t?.writerService??this.writerService,t?.serverService??this.serverService);return t?.partialConfig&&n.partialUpdateConfig(t.partialConfig),t?.logMonitor&&n.registerMonitor(t.logMonitor),n}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(on),e.LFG(gd),e.LFG(Il),e.LFG(er),e.LFG(_d),e.LFG(Me),e.LFG(j))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),br=(()=>{class r{static forRoot(t,n){if(n||(n={}),n.configProvider){if(n.configProvider.provide!==Ts)throw new Error(`Wrong injection token for configProvider, it should be ${Ts} and you used ${n.configProvider.provide}`)}else n.configProvider={provide:Ts,useValue:t||{}};if(n.configEngineFactoryProvider){if(n.configEngineFactoryProvider.provide!==gd)throw new Error(`Wrong injection token for configEngineFactoryProvider, it should be '${gd}' and you used '${n.configEngineFactoryProvider.provide}'`)}else n.configEngineFactoryProvider={provide:gd,useClass:sm};if(n.metadataProvider){if(n.metadataProvider.provide!==Il)throw new Error(`Wrong injection token for metadataProvider, it should be '${Il}' and you used '${n.metadataProvider.provide}'`)}else n.metadataProvider={provide:Il,useClass:il};if(n.ruleProvider){if(n.ruleProvider.provide!==er)throw new Error(`Wrong injection token for ruleProvider, it should be '${er}' and you used '${n.ruleProvider.provide}'`)}else n.ruleProvider={provide:er,useClass:E};if(n.mapperProvider){if(n.mapperProvider.provide!==_d)throw new Error(`Wrong injection token for mapperProvider, it should be '${_d}' and you used '${n.mapperProvider.provide}'`)}else n.mapperProvider={provide:_d,useClass:$f};if(n.writerProvider){if(n.writerProvider.provide!==Me)throw new Error(`Wrong injection token for writerProvider, it should be '${Me}' and you used '${n.writerProvider.provide}'`)}else n.writerProvider={provide:Me,useClass:oi};if(n.serverProvider){if(n.serverProvider.provide!==j)throw new Error(`Wrong injection token for serverProvider, it should be '${j}' and you used '${n.writerProvider.provide}'`)}else n.serverProvider={provide:j,useClass:ge};return{ngModule:r,providers:[on,n.configProvider,n.configEngineFactoryProvider,n.metadataProvider,n.ruleProvider,n.mapperProvider,n.writerProvider,n.serverProvider,Bn]}}static forChild(){return{ngModule:r}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez]}),r})();class aa{constructor(i){this.logger=i}enableDebug(){this.logger.updateConfig({level:Pe.TRACE})}disableDebug(){this.logger.updateConfig({level:Pe.INFO})}trace(i,...t){this.logger.trace(i,...t)}debug(i,...t){this.logger.debug(i,...t)}info(i,...t){this.logger.info(i,...t)}log(i,...t){this.logger.log(i,...t)}warn(i,...t){this.logger.warn(i,...t)}error(i,...t){this.logger.error(i,...t)}fatal(i,...t){this.logger.fatal(i,...t)}}aa.\u0275fac=function(i){return new(i||aa)(e.LFG(on))},aa.\u0275prov=e.Yz7({token:aa,factory:aa.\u0275fac,providedIn:"root"});class eo{constructor(i,t,n){this.appState=i,this.utilities=t,this.eventService=n,this.articles=[]}get(i){return this.articles.find(t=>t.slug==i)}put(i){const t=i;t.slug=this.eventService.firstDTag(i),t.title=this.eventService.lastTagOfType(i,"title"),t.summary=this.eventService.lastTagOfType(i,"summary"),t.image=this.eventService.lastTagOfType(i,"image"),t.metatags=this.eventService.tagsOfTypeValues(i,"t");const n=this.eventService.lastTagOfType(i,"published_at");if(n&&(t.published_at=Number(n)),t.pubkey==this.appState.getPublicKey()){const a=this.articles.findIndex(l=>l.slug==t.slug);if(a>-1){if(this.articles[a].created_at>t.created_at)return;this.articles[a]=t}else this.articles.push(t)}}}eo.\u0275fac=function(i){return new(i||eo)(e.LFG(Oe.i),e.LFG(pn.dU),e.LFG(Zr))},eo.\u0275prov=e.Yz7({token:eo,factory:eo.\u0275fac,providedIn:"root"});var Ra=y(515);const G_=(0,x.i$)({passive:!0});let Bv=(()=>{class r{constructor(t,n){this._platform=t,this._ngZone=n,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return Ra.E;const n=(0,st.fI)(t),a=this._monitoredElements.get(n);if(a)return a.subject;const l=new D.x,v="cdk-text-field-autofilled",T=G=>{"cdk-text-field-autofill-start"!==G.animationName||n.classList.contains(v)?"cdk-text-field-autofill-end"===G.animationName&&n.classList.contains(v)&&(n.classList.remove(v),this._ngZone.run(()=>l.next({target:G.target,isAutofilled:!1}))):(n.classList.add(v),this._ngZone.run(()=>l.next({target:G.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",T,G_),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:l,unlisten:()=>{n.removeEventListener("animationstart",T,G_)}}),l}stopMonitoring(t){const n=(0,st.fI)(t),a=this._monitoredElements.get(n);a&&(a.unlisten(),a.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((t,n)=>this.stopMonitoring(n))}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(x.t4),e.LFG(e.R0b))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Bu=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();var W_=y(2076),q_=y(4128);let Q_=(()=>{class r{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=a=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Qsj),e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r}),r})(),lc=(()=>{class r extends Q_{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,features:[e.qOj]}),r})();const fa=new e.OlP("NgValueAccessor"),Xf={provide:fa,useExisting:(0,e.Gpc)(()=>ar),multi:!0},ep=new e.OlP("CompositionEventMode");let ar=(()=>{class r extends Q_{constructor(t,n,a){super(t,n),this._compositionMode=a,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function J_(){const r=(0,F.q)()?(0,F.q)().getUserAgent():"";return/android (\d+)/.test(r.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(ep,8))},r.\u0275dir=e.lG2({type:r,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(t,n){1&t&&e.NdJ("input",function(l){return n._handleInput(l.target.value)})("blur",function(){return n.onTouched()})("compositionstart",function(){return n._compositionStart()})("compositionend",function(l){return n._compositionEnd(l.target.value)})},features:[e._Bn([Xf]),e.qOj]}),r})();const Yu=!1;function Ol(r){return null==r||("string"==typeof r||Array.isArray(r))&&0===r.length}function tp(r){return null!=r&&"number"==typeof r.length}const Pa=new e.OlP("NgValidators"),Ll=new e.OlP("NgAsyncValidators"),Uv=/^(?=.{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 to{static min(i){return function K_(r){return i=>{if(Ol(i.value)||Ol(r))return null;const t=parseFloat(i.value);return!isNaN(t)&&t{if(Ol(i.value)||Ol(r))return null;const t=parseFloat(i.value);return!isNaN(t)&&t>r?{max:{max:r,actual:i.value}}:null}}(i)}static required(i){return $_(i)}static requiredTrue(i){return function X_(r){return!0===r.value?null:{required:!0}}(i)}static email(i){return function cm(r){return Ol(r.value)||Uv.test(r.value)?null:{email:!0}}(i)}static minLength(i){return function dm(r){return i=>Ol(i.value)||!tp(i.value)?null:i.value.lengthtp(i.value)&&i.value.length>r?{maxlength:{requiredLength:r,actualLength:i.value.length}}:null}(i)}static pattern(i){return function bd(r){if(!r)return um;let i,t;return"string"==typeof r?(t="","^"!==r.charAt(0)&&(t+="^"),t+=r,"$"!==r.charAt(r.length-1)&&(t+="$"),i=new RegExp(t)):(t=r.toString(),i=r),n=>{if(Ol(n.value))return null;const a=n.value;return i.test(a)?null:{pattern:{requiredPattern:t,actualValue:a}}}}(i)}static nullValidator(i){return null}static compose(i){return rp(i)}static composeAsync(i){return pm(i)}}function $_(r){return Ol(r.value)?{required:!0}:null}function um(r){return null}function t0(r){return null!=r}function hm(r){const i=(0,e.QGY)(r)?(0,W_.D)(r):r;if(Yu&&!(0,e.CqO)(i)){let t="Expected async validator to return Promise or Observable.";throw"object"==typeof r&&(t+=" Are you using a synchronous validator where an async validator is expected?"),new e.vHH(-1101,t)}return i}function mm(r){let i={};return r.forEach(t=>{i=null!=t?{...i,...t}:i}),0===Object.keys(i).length?null:i}function np(r,i){return i.map(t=>t(r))}function fm(r){return r.map(i=>function yd(r){return!r.validate}(i)?i:t=>i.validate(t))}function rp(r){if(!r)return null;const i=r.filter(t0);return 0==i.length?null:function(t){return mm(np(t,i))}}function ap(r){return null!=r?rp(fm(r)):null}function pm(r){if(!r)return null;const i=r.filter(t0);return 0==i.length?null:function(t){const n=np(t,i).map(hm);return(0,q_.D)(n).pipe((0,Cr.U)(mm))}}function op(r){return null!=r?pm(fm(r)):null}function n0(r,i){return null===r?[i]:Array.isArray(r)?[...r,i]:[r,i]}function r0(r){return r._rawValidators}function a0(r){return r._rawAsyncValidators}function sp(r){return r?Array.isArray(r)?r:[r]:[]}function gm(r,i){return Array.isArray(r)?r.includes(i):r===i}function lp(r,i){const t=sp(i);return sp(r).forEach(a=>{gm(t,a)||t.push(a)}),t}function _m(r,i){return sp(i).filter(t=>!gm(r,t))}class cp{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(i){this._rawValidators=i||[],this._composedValidatorFn=ap(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=op(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i){this.control&&this.control.reset(i)}hasError(i,t){return!!this.control&&this.control.hasError(i,t)}getError(i,t){return this.control?this.control.getError(i,t):null}}class ho extends cp{get formDirective(){return null}get path(){return null}}class Ss extends cp{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class o0{constructor(i){this._cd=i}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Sr=(()=>{class r extends o0{constructor(t){super(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ss,2))},r.\u0275dir=e.lG2({type:r,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,n){2&t&&e.ekj("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)},features:[e.qOj]}),r})(),Nl=(()=>{class r extends o0{constructor(t){super(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(ho,10))},r.\u0275dir=e.lG2({type:r,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,n){2&t&&e.ekj("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)("ng-submitted",n.isSubmitted)},features:[e.qOj]}),r})();function vm(r,i){return r?`with name: '${i}'`:`at index: ${i}`}const fp=!1,wd="VALID",wm="INVALID",xd="PENDING",Uu="DISABLED";function xm(r){return(Rl(r)?r.validators:r)||null}function Fd(r,i){return(Rl(i)?i.asyncValidators:r)||null}function Rl(r){return null!=r&&!Array.isArray(r)&&"object"==typeof r}function d0(r,i,t){const n=r.controls;if(!(i?Object.keys(n):n).length)throw new e.vHH(1e3,fp?function hp(r){return`\n There are no form controls registered with this ${r?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(i):"");if(!n[t])throw new e.vHH(1001,fp?function mp(r,i){return`Cannot find form control ${vm(r,i)}`}(i,t):"")}function u0(r,i,t){r._forEachChild((n,a)=>{if(void 0===t[a])throw new e.vHH(1002,fp?function Hu(r,i){return`Must supply a value for form control ${vm(r,i)}`}(i,a):"")})}class gp{constructor(i,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(i),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get valid(){return this.status===wd}get invalid(){return this.status===wm}get pending(){return this.status==xd}get disabled(){return this.status===Uu}get enabled(){return this.status!==Uu}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(lp(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(lp(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(_m(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(_m(i,this._rawAsyncValidators))}hasValidator(i){return gm(this._rawValidators,i)}hasAsyncValidator(i){return gm(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){this.touched=!0,this._parent&&!i.onlySelf&&this._parent.markAsTouched(i)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(i=>i.markAllAsTouched())}markAsUntouched(i={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i)}markAsDirty(i={}){this.pristine=!1,this._parent&&!i.onlySelf&&this._parent.markAsDirty(i)}markAsPristine(i={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i)}markAsPending(i={}){this.status=xd,!1!==i.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!i.onlySelf&&this._parent.markAsPending(i)}disable(i={}){const t=this._parentMarkedDirty(i.onlySelf);this.status=Uu,this.errors=null,this._forEachChild(n=>{n.disable({...i,onlySelf:!0})}),this._updateValue(),!1!==i.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...i,skipPristineCheck:t}),this._onDisabledChange.forEach(n=>n(!0))}enable(i={}){const t=this._parentMarkedDirty(i.onlySelf);this.status=wd,this._forEachChild(n=>{n.enable({...i,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors({...i,skipPristineCheck:t}),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===wd||this.status===xd)&&this._runAsyncValidator(i.emitEvent)),!1!==i.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(i)}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Uu:wd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i){if(this.asyncValidator){this.status=xd,this._hasOwnPendingAsyncValidator=!0;const t=hm(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:i})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(i,t={}){this.errors=i,this._updateControlsErrors(!1!==t.emitEvent)}get(i){let t=i;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((n,a)=>n&&n._find(a),this)}getError(i,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[i]:null}hasError(i,t){return!!this.getError(i,t)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(i)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?Uu:this.errors?wm:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(xd)?xd:this._anyControlsHaveStatus(wm)?wm:wd}_anyControlsHaveStatus(i){return this._anyControls(t=>t.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i={}){this.pristine=!this._anyControlsDirty(),this._parent&&!i.onlySelf&&this._parent._updatePristine(i)}_updateTouched(i={}){this.touched=this._anyControlsTouched(),this._parent&&!i.onlySelf&&this._parent._updateTouched(i)}_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){Rl(i)&&null!=i.updateOn&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){return!i&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=function c0(r){return Array.isArray(r)?ap(r):r||null}(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=function pp(r){return Array.isArray(r)?op(r):r||null}(this._rawAsyncValidators)}}class ju extends gp{constructor(i,t,n){super(xm(t),Fd(n,t)),this.controls=i,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(i,t){return this.controls[i]?this.controls[i]:(this.controls[i]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(i,t,n={}){this.registerControl(i,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,t={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(i,t,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],t&&this.registerControl(i,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,t={}){u0(this,!0,i),Object.keys(i).forEach(n=>{d0(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(i,t={}){null!=i&&(Object.keys(i).forEach(n=>{const a=this.controls[n];a&&a.patchValue(i[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(i={},t={}){this._forEachChild((n,a)=>{n.reset(i[a],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(i,t,n)=>(i[n]=t.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(t,n)=>!!n._syncPendingControls()||t);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&i(n,t)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(const[t,n]of Object.entries(this.controls))if(this.contains(t)&&i(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,n,a)=>((n.enabled||this.disabled)&&(t[a]=n.value),t))}_reduceChildren(i,t){let n=i;return this._forEachChild((a,l)=>{n=t(n,a,l)}),n}_allControlsDisabled(){for(const i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}}class _p extends ju{}const Pl=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Cd}),Cd="always";function Vu(r,i){return[...i.path,r]}function kd(r,i,t=Cd){yp(r,i),i.valueAccessor.writeValue(r.value),(r.disabled||"always"===t)&&i.valueAccessor.setDisabledState?.(r.disabled),function Jv(r,i){i.valueAccessor.registerOnChange(t=>{r._pendingValue=t,r._pendingChange=!0,r._pendingDirty=!0,"change"===r.updateOn&&Hc(r,i)})}(r,i),function Kv(r,i){const t=(n,a)=>{i.valueAccessor.writeValue(n),a&&i.viewToModelUpdate(n)};r.registerOnChange(t),i._registerOnDestroy(()=>{r._unregisterOnChange(t)})}(r,i),function Bl(r,i){i.valueAccessor.registerOnTouched(()=>{r._pendingTouched=!0,"blur"===r.updateOn&&r._pendingChange&&Hc(r,i),"submit"!==r.updateOn&&r.markAsTouched()})}(r,i),function Qv(r,i){if(i.valueAccessor.setDisabledState){const t=n=>{i.valueAccessor.setDisabledState(n)};r.registerOnDisabledChange(t),i._registerOnDestroy(()=>{r._unregisterOnDisabledChange(t)})}}(r,i)}function nl(r,i,t=!0){const n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),Cm(r,i),r&&(i._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=>{}))}function Fm(r,i){r.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(i)})}function yp(r,i){const t=r0(r);null!==i.validator?r.setValidators(n0(t,i.validator)):"function"==typeof t&&r.setValidators([t]);const n=a0(r);null!==i.asyncValidator?r.setAsyncValidators(n0(n,i.asyncValidator)):"function"==typeof n&&r.setAsyncValidators([n]);const a=()=>r.updateValueAndValidity();Fm(i._rawValidators,a),Fm(i._rawAsyncValidators,a)}function Cm(r,i){let t=!1;if(null!==r){if(null!==i.validator){const a=r0(r);if(Array.isArray(a)&&a.length>0){const l=a.filter(v=>v!==i.validator);l.length!==a.length&&(t=!0,r.setValidators(l))}}if(null!==i.asyncValidator){const a=a0(r);if(Array.isArray(a)&&a.length>0){const l=a.filter(v=>v!==i.asyncValidator);l.length!==a.length&&(t=!0,r.setAsyncValidators(l))}}}const n=()=>{};return Fm(i._rawValidators,n),Fm(i._rawAsyncValidators,n),t}function Hc(r,i){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function m0(r,i){yp(r,i)}function wp(r,i){if(!r.hasOwnProperty("model"))return!1;const t=r.model;return!!t.isFirstChange()||!Object.is(i,t.currentValue)}function f0(r,i){r._syncPendingControls(),i.forEach(t=>{const n=t.control;"submit"===n.updateOn&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Dd(r,i){if(!i)return null;let t,n,a;return Array.isArray(i),i.forEach(l=>{l.constructor===ar?t=l:function tw(r){return Object.getPrototypeOf(r.constructor)===lc}(l)?n=l:a=l}),a||n||t||null}const p0={provide:ho,useExisting:(0,e.Gpc)(()=>Is)},Md=(()=>Promise.resolve())();let Is=(()=>{class r extends ho{constructor(t,n,a){super(),this.callSetDisabledState=a,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new ju({},ap(t),op(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Md.then(()=>{const n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),kd(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Md.then(()=>{const n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Md.then(()=>{const n=this._findContainer(t.path),a=new ju({});m0(a,t),n.registerControl(t.name,a),a.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Md.then(()=>{const n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){Md.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,f0(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Pa,10),e.Y36(Ll,10),e.Y36(Pl,8))},r.\u0275dir=e.lG2({type:r,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,n){1&t&&e.NdJ("submit",function(l){return n.onSubmit(l)})("reset",function(){return n.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([p0]),e.qOj]}),r})();function iw(r,i){const t=r.indexOf(i);t>-1&&r.splice(t,1)}function nw(r){return"object"==typeof r&&null!==r&&2===Object.keys(r).length&&"value"in r&&"disabled"in r}const Uc=class extends gp{constructor(i=null,t,n){super(xm(t),Fd(n,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(i),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Rl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=nw(i)?i.value:i)}setValue(i,t={}){this.value=this._pendingValue=i,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(i,t={}){this.setValue(i,t)}reset(i=this.defaultValue,t={}){this._applyFormState(i),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){iw(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){iw(this._onDisabledChange,i)}_forEachChild(i){}_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(i){nw(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}},b0={provide:Ss,useExisting:(0,e.Gpc)(()=>oa)},Zu=(()=>Promise.resolve())();let oa=(()=>{class r extends Ss{constructor(t,n,a,l,v,T){super(),this._changeDetectorRef=v,this.callSetDisabledState=T,this.control=new Uc,this._registered=!1,this.update=new e.vpe,this._parent=t,this._setValidators(n),this._setAsyncValidators(a),this.valueAccessor=Dd(0,l)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),wp(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){kd(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(t){Zu.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const n=t.isDisabled.currentValue,a=0!==n&&(0,e.D6c)(n);Zu.then(()=>{a&&!this.control.disabled?this.control.disable():!a&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Vu(t,this._parent):[t]}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(ho,9),e.Y36(Pa,10),e.Y36(Ll,10),e.Y36(fa,10),e.Y36(e.sBO,8),e.Y36(Pl,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([b0]),e.qOj,e.TTD]}),r})(),rl=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),r})();const sw={provide:fa,useExisting:(0,e.Gpc)(()=>sa),multi:!0};let sa=(()=>{class r extends lc{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=n=>{t(""==n?null:parseFloat(n))}}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,n){1&t&&e.NdJ("input",function(l){return n.onChange(l.target.value)})("blur",function(){return n.onTouched()})},features:[e._Bn([sw]),e.qOj]}),r})(),Dm=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();const Cp=new e.OlP("NgModelWithFormControlWarning"),w0={provide:Ss,useExisting:(0,e.Gpc)(()=>x0)};let x0=(()=>{class r extends Ss{set isDisabled(t){}constructor(t,n,a,l,v){super(),this._ngModelWarningConfig=l,this.callSetDisabledState=v,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=Dd(0,a)}ngOnChanges(t){if(this._isControlChanged(t)){const n=t.form.previousValue;n&&nl(n,this,!1),kd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}wp(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&nl(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return r._ngModelWarningSentOnce=!1,r.\u0275fac=function(t){return new(t||r)(e.Y36(Pa,10),e.Y36(Ll,10),e.Y36(fa,10),e.Y36(Cp,8),e.Y36(Pl,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([w0]),e.qOj,e.TTD]}),r})();const ok={provide:ho,useExisting:(0,e.Gpc)(()=>os)};let os=(()=>{class r extends ho{constructor(t,n,a){super(),this.callSetDisabledState=a,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Cm(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const n=this.form.get(t.path);return kd(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){nl(t.control||null,t,!1),function Yl(r,i){const t=r.indexOf(i);t>-1&&r.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,f0(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const n=t.control,a=this.form.get(t.path);n!==a&&(nl(n||null,t),(r=>r instanceof Uc)(a)&&(kd(a,t,this.callSetDisabledState),t.control=a))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const n=this.form.get(t.path);m0(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const n=this.form.get(t.path);n&&function $v(r,i){return Cm(r,i)}(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){yp(this.form,this),this._oldForm&&Cm(this._oldForm,this)}_checkFormPresent(){}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Pa,10),e.Y36(Ll,10),e.Y36(Pl,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","formGroup",""]],hostBindings:function(t,n){1&t&&e.NdJ("submit",function(l){return n.onSubmit(l)})("reset",function(){return n.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([ok]),e.qOj,e.TTD]}),r})();const dw={provide:Ss,useExisting:(0,e.Gpc)(()=>Ed)};let Ed=(()=>{class r extends Ss{set isDisabled(t){}constructor(t,n,a,l,v){super(),this._ngModelWarningConfig=v,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(n),this._setAsyncValidators(a),this.valueAccessor=Dd(0,l)}ngOnChanges(t){this._added||this._setUpControl(),wp(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Vu(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}}return r._ngModelWarningSentOnce=!1,r.\u0275fac=function(t){return new(t||r)(e.Y36(ho,13),e.Y36(Pa,10),e.Y36(Ll,10),e.Y36(fa,10),e.Y36(Cp,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([dw]),e.qOj,e.TTD]}),r})(),Hl=(()=>{class r{constructor(){this._validator=um}ngOnChanges(t){if(this.inputName in t){const n=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):um,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,features:[e.TTD]}),r})();const hw={provide:Pa,useExisting:(0,e.Gpc)(()=>Wu),multi:!0};let Wu=(()=>{class r extends Hl{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.D6c,this.createValidator=t=>$_}enabled(t){return t}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,n){2&t&&e.uIk("required",n._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([hw]),e.qOj]}),r})(),T0=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[Dm]}),r})();class jc extends gp{constructor(i,t,n){super(xm(t),Fd(n,t)),this.controls=i,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(i){return this.controls[this._adjustIndex(i)]}push(i,t={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(i,t,n={}){this.controls.splice(i,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,t={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(i,t,n={}){let a=this._adjustIndex(i);a<0&&(a=0),this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),t&&(this.controls.splice(a,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,t={}){u0(this,!1,i),i.forEach((n,a)=>{d0(this,!1,a),this.at(a).setValue(n,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(i,t={}){null!=i&&(i.forEach((n,a)=>{this.at(a)&&this.at(a).patchValue(n,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(i=[],t={}){this._forEachChild((n,a)=>{n.reset(i[a],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((t,n)=>!!n._syncPendingControls()||t,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((t,n)=>{i(t,n)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(t=>t.enabled&&i(t))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(const i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}}function Ip(r){return!!r&&(void 0!==r.asyncValidators||void 0!==r.validators||void 0!==r.updateOn)}let Op=(()=>{class r{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new r;return t.useNonNullable=!0,t}group(t,n=null){const a=this._reduceControls(t);let l={};return Ip(n)?l=n:null!==n&&(l.validators=n.validator,l.asyncValidators=n.asyncValidator),new ju(a,l)}record(t,n=null){const a=this._reduceControls(t);return new _p(a,n)}control(t,n,a){let l={};return this.useNonNullable?(Ip(n)?l=n:(l.validators=n,l.asyncValidators=a),new Uc(t,{...l,nonNullable:!0})):new Uc(t,n,a)}array(t,n,a){const l=t.map(v=>this._createControl(v));return new jc(l,n,a)}_reduceControls(t){const n={};return Object.keys(t).forEach(a=>{n[a]=this._createControl(t[a])}),n}_createControl(t){return t instanceof Uc||t instanceof gp?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),S0=(()=>{class r extends Op{group(t,n=null){return super.group(t,n)}control(t,n,a){return super.control(t,n,a)}array(t,n,a){return super.array(t,n,a)}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Nm=(()=>{class r{static withConfig(t){return{ngModule:r,providers:[{provide:Pl,useValue:t.callSetDisabledState??Cd}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[T0]}),r})(),Rm=(()=>{class r{static withConfig(t){return{ngModule:r,providers:[{provide:Cp,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Pl,useValue:t.callSetDisabledState??Cd}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[T0]}),r})();var Ji=y(2722),al=y(9643);const Lp=["matFormFieldNotchedOutline",""],qu=["*"],yw=["textField"],vw=["iconPrefixContainer"],ww=["textPrefixContainer"];function xw(r,i){1&r&&e._UZ(0,"span",19)}function I0(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"label",17),e.NdJ("cdkObserveContent",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a._refreshOutlineNotchWidth())}),e.Hsn(1,1),e.YNc(2,xw,1,0,"span",18),e.qZA()}if(2&r){const t=e.oxw(2);e.Q6J("floating",t._shouldLabelFloat())("cdkObserveContentDisabled",!t._hasOutline())("id",t._labelId),e.uIk("for",t._control.id)("aria-owns",t._control.id),e.xp6(2),e.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required)}}function O0(r,i){if(1&r&&e.YNc(0,I0,3,6,"label",16),2&r){const t=e.oxw();e.Q6J("ngIf",t._hasFloatingLabel())}}function L0(r,i){1&r&&e._UZ(0,"div",20)}function Td(r,i){}function jl(r,i){if(1&r&&e.YNc(0,Td,0,0,"ng-template",22),2&r){e.oxw(2);const t=e.MAs(1);e.Q6J("ngTemplateOutlet",t)}}function Fw(r,i){if(1&r&&(e.TgZ(0,"div",21),e.YNc(1,jl,1,1,"ng-template",9),e.qZA()),2&r){const t=e.oxw();e.Q6J("matFormFieldNotchedOutlineOpen",t._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",t._labelWidth),e.xp6(1),e.Q6J("ngIf",!t._forceDisplayInfixLabel())}}function Cw(r,i){1&r&&(e.TgZ(0,"div",23,24),e.Hsn(2,2),e.qZA())}function uk(r,i){1&r&&(e.TgZ(0,"div",25,26),e.Hsn(2,3),e.qZA())}function hk(r,i){}function N0(r,i){if(1&r&&e.YNc(0,hk,0,0,"ng-template",22),2&r){e.oxw();const t=e.MAs(1);e.Q6J("ngTemplateOutlet",t)}}function mk(r,i){1&r&&(e.TgZ(0,"div",27),e.Hsn(1,4),e.qZA())}function R0(r,i){1&r&&(e.TgZ(0,"div",28),e.Hsn(1,5),e.qZA())}function P0(r,i){1&r&&e._UZ(0,"div",29)}function kw(r,i){if(1&r&&(e.TgZ(0,"div",30),e.Hsn(1,6),e.qZA()),2&r){const t=e.oxw();e.Q6J("@transitionMessages",t._subscriptAnimationState)}}function B0(r,i){if(1&r&&(e.TgZ(0,"mat-hint",34),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.Q6J("id",t._hintLabelId),e.xp6(1),e.Oqu(t.hintLabel)}}function Dw(r,i){if(1&r&&(e.TgZ(0,"div",31),e.YNc(1,B0,2,2,"mat-hint",32),e.Hsn(2,7),e._UZ(3,"div",33),e.Hsn(4,8),e.qZA()),2&r){const t=e.oxw();e.Q6J("@transitionMessages",t._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",t.hintLabel)}}const Mw=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Os=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ba=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-label"]]}),r})(),Y0=0;const Np=new e.OlP("MatError");let Ew=(()=>{class r{constructor(t,n){this.id="mat-mdc-error-"+Y0++,t||n.nativeElement.setAttribute("aria-live","polite")}}return r.\u0275fac=function(t){return new(t||r)(e.$8M("aria-live"),e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(t,n){2&t&&e.Ikx("id",n.id)},inputs:{id:"id"},features:[e._Bn([{provide:Np,useExisting:r}])]}),r})(),Aw=0,Rp=(()=>{class r{constructor(){this.align="start",this.id="mat-mdc-hint-"+Aw++}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,n){2&t&&(e.Ikx("id",n.id),e.uIk("align",null),e.ekj("mat-mdc-form-field-hint-end","end"===n.align))},inputs:{align:"align",id:"id"}}),r})();const Pm=new e.OlP("MatPrefix");let ol=(()=>{class r{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[e._Bn([{provide:Pm,useExisting:r}])]}),r})();const Pp=new e.OlP("MatSuffix");let H0=(()=>{class r{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[e._Bn([{provide:Pp,useExisting:r}])]}),r})(),Ln=(()=>{class r{constructor(t){this._elementRef=t,this.floating=!1}getWidth(){return function U0(r){if(null!==r.offsetParent)return r.scrollWidth;const t=r.cloneNode(!0);t.style.setProperty("position","absolute"),t.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(t);const n=t.scrollWidth;return t.remove(),n}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating"}}),r})();const Bp="mdc-line-ripple--active",Qu="mdc-line-ripple--deactivating";let j0=(()=>{class r{constructor(t,n){this._elementRef=t,this._handleTransitionEnd=a=>{const l=this._elementRef.nativeElement.classList,v=l.contains(Qu);"opacity"===a.propertyName&&v&&l.remove(Bp,Qu)},n.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const t=this._elementRef.nativeElement.classList;t.remove(Qu),t.add(Bp)}deactivate(){this._elementRef.nativeElement.classList.add(Qu)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b))},r.\u0275dir=e.lG2({type:r,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),r})(),V0=(()=>{class r{constructor(t,n){this._elementRef=t,this._ngZone=n,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b))},r.\u0275cmp=e.Xpm({type:r,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("mdc-notched-outline--notched",n.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:Lp,ngContentSelectors:qu,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(t,n){1&t&&(e.F$t(),e._UZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e._UZ(3,"div",2)),2&t&&(e.xp6(1),e.Udp("width",n._getNotchWidth()))},encapsulation:2,changeDetection:0}),r})();const Yp={transitionMessages:(0,Ce.X$)("transitionMessages",[(0,Ce.SB)("enter",(0,Ce.oB)({opacity:1,transform:"translateY(0%)"})),(0,Ce.eR)("void => enter",[(0,Ce.oB)({opacity:0,transform:"translateY(-5px)"}),(0,Ce.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Sd=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r}),r})();const Id=new e.OlP("MatFormField"),Hp=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Up=0,Ca=(()=>{class r{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,st.Ig)(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){const n=this._appearance;this._appearance=t||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==n&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,n,a,l,v,T,G,z){this._elementRef=t,this._changeDetectorRef=n,this._ngZone=a,this._dir=l,this._platform=v,this._defaults=T,this._animationMode=G,this._document=z,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-"+Up++,this._hintLabelId="mat-mdc-hint-"+Up++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new D.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,T&&(T.appearance&&(this.appearance=T.appearance),this._hideRequiredMarker=Boolean(T?.hideRequiredMarker),T.color&&(this.color=T.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Ue.T)(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._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){const n=this._control?this._control.ngControl:null;return n&&n[t]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const n=this._hintChildren?this._hintChildren.find(l=>"start"===l.align):null,a=this._hintChildren?this._hintChildren.find(l=>"end"===l.align):null;n?t.push(n.id):this._hintLabel&&t.push(this._hintLabelId),a&&t.push(a.id)}else this._errorChildren&&t.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const t=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(t.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const n=this._iconPrefixContainer?.nativeElement,a=this._textPrefixContainer?.nativeElement,l=n?.getBoundingClientRect().width??0,v=a?.getBoundingClientRect().width??0;t.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${l+v}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const t=this._elementRef.nativeElement;if(t.getRootNode){const n=t.getRootNode();return n&&n!==t}return document.documentElement.contains(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(I.Is),e.Y36(x.t4),e.Y36(Hp,8),e.Y36(e.QbO,8),e.Y36(F.K0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-form-field"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,Ba,5),e.Suo(a,Ba,7),e.Suo(a,Sd,5),e.Suo(a,Pm,5),e.Suo(a,Pp,5),e.Suo(a,Np,5),e.Suo(a,Rp,5)),2&t){let l;e.iGM(l=e.CRH())&&(n._labelChildNonStatic=l.first),e.iGM(l=e.CRH())&&(n._labelChildStatic=l.first),e.iGM(l=e.CRH())&&(n._formFieldControl=l.first),e.iGM(l=e.CRH())&&(n._prefixChildren=l),e.iGM(l=e.CRH())&&(n._suffixChildren=l),e.iGM(l=e.CRH())&&(n._errorChildren=l),e.iGM(l=e.CRH())&&(n._hintChildren=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(yw,5),e.Gf(vw,5),e.Gf(ww,5),e.Gf(Ln,5),e.Gf(V0,5),e.Gf(j0,5)),2&t){let a;e.iGM(a=e.CRH())&&(n._textField=a.first),e.iGM(a=e.CRH())&&(n._iconPrefixContainer=a.first),e.iGM(a=e.CRH())&&(n._textPrefixContainer=a.first),e.iGM(a=e.CRH())&&(n._floatingLabel=a.first),e.iGM(a=e.CRH())&&(n._notchedOutline=a.first),e.iGM(a=e.CRH())&&(n._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(t,n){2&t&&e.ekj("mat-mdc-form-field-label-always-float",n._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",n._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",n._hasIconSuffix)("mat-form-field-invalid",n._control.errorState)("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===n._animationMode)("mat-form-field-appearance-fill","fill"==n.appearance)("mat-form-field-appearance-outline","outline"==n.appearance)("mat-form-field-hide-placeholder",n._hasFloatingLabel()&&!n._shouldLabelFloat())("mat-focused",n._control.focused)("mat-primary","accent"!==n.color&&"warn"!==n.color)("mat-accent","accent"===n.color)("mat-warn","warn"===n.color)("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:Id,useExisting:r}])],ngContentSelectors:Os,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(t,n){1&t&&(e.F$t(Mw),e.YNc(0,O0,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.NdJ("click",function(l){return n._control.onContainerClick&&n._control.onContainerClick(l)}),e.YNc(4,L0,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,Fw,2,3,"div",5),e.YNc(7,Cw,3,0,"div",6),e.YNc(8,uk,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,N0,1,1,"ng-template",9),e.Hsn(11),e.qZA(),e.YNc(12,mk,2,0,"div",10),e.YNc(13,R0,2,0,"div",11),e.qZA(),e.YNc(14,P0,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,kw,2,1,"div",14),e.YNc(17,Dw,5,2,"div",15),e.qZA()),2&t&&(e.xp6(2),e.ekj("mdc-text-field--filled",!n._hasOutline())("mdc-text-field--outlined",n._hasOutline())("mdc-text-field--no-label",!n._hasFloatingLabel())("mdc-text-field--disabled",n._control.disabled)("mdc-text-field--invalid",n._control.errorState),e.xp6(2),e.Q6J("ngIf",!n._hasOutline()&&!n._control.disabled),e.xp6(2),e.Q6J("ngIf",n._hasOutline()),e.xp6(1),e.Q6J("ngIf",n._hasIconPrefix),e.xp6(1),e.Q6J("ngIf",n._hasTextPrefix),e.xp6(2),e.Q6J("ngIf",!n._hasOutline()||n._forceDisplayInfixLabel()),e.xp6(2),e.Q6J("ngIf",n._hasTextSuffix),e.xp6(1),e.Q6J("ngIf",n._hasIconSuffix),e.xp6(1),e.Q6J("ngIf",!n._hasOutline()),e.xp6(1),e.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===n.subscriptSizing),e.Q6J("ngSwitch",n._getDisplayedMessages()),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","hint"))},dependencies:[F.O5,F.tP,F.RF,F.n9,al.wD,Rp,Ln,V0,j0],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.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__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.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-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;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,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.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,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.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-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{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{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.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{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.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}.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-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-text-field-wrapper::before{content:none}.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}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}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}.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}[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-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{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.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-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.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 .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-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .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__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.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-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.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)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.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)}'],encapsulation:2,data:{animation:[Yp.transitionMessages]},changeDetection:0}),r})(),Z0=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,F.ez,al.Q8,ae.BQ]}),r})();const z0=new e.OlP("MAT_INPUT_VALUE_ACCESSOR"),Iw=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let G0=0;const gk=(0,ae.FD)(class{constructor(r,i,t,n){this._defaultErrorStateMatcher=r,this._parentForm=i,this._parentFormGroup=t,this.ngControl=n,this.stateChanges=new D.x}});let io=(()=>{class r extends gk{get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(to.required)??!1}set required(t){this._required=(0,st.Ig)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&(0,x.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=(0,st.Ig)(t)}constructor(t,n,a,l,v,T,G,z,be,Ve){super(T,l,v,a),this._elementRef=t,this._platform=n,this._autofillMonitor=z,this._formField=Ve,this._uid="mat-input-"+G0++,this.focused=!1,this.stateChanges=new D.x,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,x.qK)().has(Gt)),this._iOSKeyupListener=Gt=>{const ii=Gt.target;!ii.value&&0===ii.selectionStart&&0===ii.selectionEnd&&(ii.setSelectionRange(1,1),ii.setSelectionRange(0,0))};const bt=this._elementRef.nativeElement,Pt=bt.nodeName.toLowerCase();this._inputValueAccessor=G||bt,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&be.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Pt,this._isTextarea="textarea"===Pt,this._isInFormField=!!Ve,this._isNativeSelect&&(this.controlType=bt.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.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)}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(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){const t=this._getPlaceholder();if(t!==this._previousPlaceholder){const n=this._elementRef.nativeElement;this._previousPlaceholder=t,t?n.setAttribute("placeholder",t):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Iw.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,n=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&n&&n.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(x.t4),e.Y36(Ss,10),e.Y36(Is,8),e.Y36(os,8),e.Y36(ae.rD),e.Y36(z0,10),e.Y36(Bv),e.Y36(e.R0b),e.Y36(Id,8))},r.\u0275dir=e.lG2({type:r,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),2&t&&(e.Ikx("id",n.id)("disabled",n.disabled)("required",n.required),e.uIk("name",n.name||null)("readonly",n.readonly&&!n._isNativeSelect||null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required)("id",n.id),e.ekj("mat-input-server",n._isServer)("mat-mdc-form-field-textarea-control",n._isInFormField&&n._isTextarea)("mat-mdc-form-field-input-control",n._isInFormField)("mdc-text-field__input",n._isInFormField)("mat-mdc-native-select-inline",n._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[e._Bn([{provide:Sd,useExisting:r}]),e.qOj,e.TTD]}),r})(),Od=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,Z0,Z0,Bu,ae.BQ]}),r})();var mo=y(727),uc=y(8505),Ju=y(8746),Ow=y(3099);const W0=["*"];let Ym;function Ku(r){return function Lw(){if(void 0===Ym&&(Ym=null,typeof window<"u")){const r=window;void 0!==r.trustedTypes&&(Ym=r.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return Ym}()?.createHTML(r)||r}function q0(r){return Error(`Unable to find icon with the name "${r}"`)}function Vp(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function Q0(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}class hc{constructor(i,t,n){this.url=i,this.svgText=t,this.options=n}}let $u=(()=>{class r{constructor(t,n,a,l){this._httpClient=t,this._sanitizer=n,this._errorHandler=l,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=a}addSvgIcon(t,n,a){return this.addSvgIconInNamespace("",t,n,a)}addSvgIconLiteral(t,n,a){return this.addSvgIconLiteralInNamespace("",t,n,a)}addSvgIconInNamespace(t,n,a,l){return this._addSvgIconConfig(t,n,new hc(a,null,l))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,n,a,l){const v=this._sanitizer.sanitize(e.q3G.HTML,a);if(!v)throw Q0(a);const T=Ku(v);return this._addSvgIconConfig(t,n,new hc("",T,l))}addSvgIconSet(t,n){return this.addSvgIconSetInNamespace("",t,n)}addSvgIconSetLiteral(t,n){return this.addSvgIconSetLiteralInNamespace("",t,n)}addSvgIconSetInNamespace(t,n,a){return this._addSvgIconSetConfig(t,new hc(n,null,a))}addSvgIconSetLiteralInNamespace(t,n,a){const l=this._sanitizer.sanitize(e.q3G.HTML,n);if(!l)throw Q0(n);const v=Ku(l);return this._addSvgIconSetConfig(t,new hc("",v,a))}registerFontClassAlias(t,n=t){return this._fontCssClassesByAlias.set(t,n),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const n=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,t);if(!n)throw Vp(t);const a=this._cachedIconsByUrl.get(n);return a?(0,U.of)(Ld(a)):this._loadSvgIconFromConfig(new hc(t,null)).pipe((0,uc.b)(l=>this._cachedIconsByUrl.set(n,l)),(0,Cr.U)(l=>Ld(l)))}getNamedSvgIcon(t,n=""){const a=J0(n,t);let l=this._svgIconConfigs.get(a);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(n,t),l)return this._svgIconConfigs.set(a,l),this._getSvgFromConfig(l);const v=this._iconSetConfigs.get(n);return v?this._getSvgFromIconSetConfigs(t,v):(0,oc._)(q0(a))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,U.of)(Ld(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,Cr.U)(n=>Ld(n)))}_getSvgFromIconSetConfigs(t,n){const a=this._extractIconWithNameFromAnySet(t,n);if(a)return(0,U.of)(a);const l=n.filter(v=>!v.svgText).map(v=>this._loadSvgIconSetFromConfig(v).pipe((0,tl.K)(T=>{const z=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,v.url)} failed: ${T.message}`;return this._errorHandler.handleError(new Error(z)),(0,U.of)(null)})));return(0,q_.D)(l).pipe((0,Cr.U)(()=>{const v=this._extractIconWithNameFromAnySet(t,n);if(!v)throw q0(t);return v}))}_extractIconWithNameFromAnySet(t,n){for(let a=n.length-1;a>=0;a--){const l=n[a];if(l.svgText&&l.svgText.toString().indexOf(t)>-1){const v=this._svgElementFromConfig(l),T=this._extractSvgIconFromSet(v,t,l.options);if(T)return T}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,uc.b)(n=>t.svgText=n),(0,Cr.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,U.of)(null):this._fetchIcon(t).pipe((0,uc.b)(n=>t.svgText=n))}_extractSvgIconFromSet(t,n,a){const l=t.querySelector(`[id="${n}"]`);if(!l)return null;const v=l.cloneNode(!0);if(v.removeAttribute("id"),"svg"===v.nodeName.toLowerCase())return this._setSvgAttributes(v,a);if("symbol"===v.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(v),a);const T=this._svgElementFromString(Ku(""));return T.appendChild(v),this._setSvgAttributes(T,a)}_svgElementFromString(t){const n=this._document.createElement("DIV");n.innerHTML=t;const a=n.querySelector("svg");if(!a)throw Error(" tag not found");return a}_toSvgElement(t){const n=this._svgElementFromString(Ku("")),a=t.attributes;for(let l=0;lKu(z)),(0,Ju.x)(()=>this._inProgressUrlFetches.delete(v)),(0,Ow.B)());return this._inProgressUrlFetches.set(v,G),G}_addSvgIconConfig(t,n,a){return this._svgIconConfigs.set(J0(t,n),a),this}_addSvgIconSetConfig(t,n){const a=this._iconSetConfigs.get(t);return a?a.push(n):this._iconSetConfigs.set(t,[n]),this}_svgElementFromConfig(t){if(!t.svgElement){const n=this._svgElementFromString(t.svgText);this._setSvgAttributes(n,t.options),t.svgElement=n}return t.svgElement}_getIconConfigFromResolvers(t,n){for(let a=0;ai?i.pathname+i.search:""}}}),X0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Pw=X0.map(r=>`[${r}]`).join(", "),Hm=/^url\(['"]?#(.*?)['"]?\)$/;let Wn=(()=>{class r extends Nd{get inline(){return this._inline}set inline(t){this._inline=(0,st.Ig)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const n=this._cleanupFontValue(t);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const n=this._cleanupFontValue(t);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(t,n,a,l,v,T){super(t),this._iconRegistry=n,this._location=l,this._errorHandler=v,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=mo.w0.EMPTY,T&&(T.color&&(this.color=this.defaultColor=T.color),T.fontSet&&(this.fontSet=T.fontSet)),a||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];const n=t.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let n=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){const a=t.childNodes[n];(1!==a.nodeType||"svg"===a.nodeName.toLowerCase())&&a.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(a=>a.length>0);this._previousFontSetClass.forEach(a=>t.classList.remove(a)),n.forEach(a=>t.classList.add(a)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const n=this._elementsWithExternalReferences;n&&n.forEach((a,l)=>{a.forEach(v=>{l.setAttribute(v.name,`url('${t}#${v.value}')`)})})}_cacheChildrenWithExternalReferences(t){const n=t.querySelectorAll(Pw),a=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const T=n[l],G=T.getAttribute(v),z=G?G.match(Hm):null;if(z){let be=a.get(T);be||(be=[],a.set(T,be)),be.push({name:v,value:z[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[n,a]=this._splitIconName(t);n&&(this._svgNamespace=n),a&&(this._svgName=a),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(a,n).pipe((0,Ie.q)(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${n}:${a}! ${l.message}`))})}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36($u),e.$8M("aria-hidden"),e.Y36(Rw),e.Y36(e.qLn),e.Y36(K0,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(t,n){2&t&&(e.uIk("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),e.ekj("mat-icon-inline",n.inline)("mat-icon-no-color","primary"!==n.color&&"accent"!==n.color&&"warn"!==n.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:W0,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[".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}),r})(),Rd=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,ae.BQ]}),r})();class sl{constructor(i,t,n){this.appState=i,this.dialogRef=t,this.data=n,this.publicKey=this.appState.getPublicKeyDisplay()}onNoClick(){this.data.password="",this.dialogRef.close()}}sl.\u0275fac=function(i){return new(i||sl)(e.Y36(Oe.i),e.Y36(Ae),e.Y36(_t))},sl.\u0275cmp=e.Xpm({type:sl,selectors:[["password-dialog"]],decls:24,vars:6,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width","connect-input"],["matPrefix","",1,"circle"],["autocomplete","username","name","email","placeholder","npub...","matInput","","type","email",3,"readonly","ngModel","ngModelChange"],["appearance","fill",1,"input-full-width"],["matInput","","type","password","autocomplete","current-password","name","password",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h1",1),e._uU(2),e.qZA(),e.TgZ(3,"div",2)(4,"p"),e._uU(5),e.qZA(),e.TgZ(6,"form")(7,"mat-form-field",3)(8,"mat-icon",4),e._uU(9,"person_add"),e.qZA(),e.TgZ(10,"mat-label"),e._uU(11,"Public Key"),e.qZA(),e.TgZ(12,"input",5),e.NdJ("ngModelChange",function(a){return t.publicKey=a}),e.qZA()(),e.TgZ(13,"mat-form-field",6)(14,"mat-icon",4),e._uU(15,"password"),e.qZA(),e.TgZ(16,"mat-label"),e._uU(17,"Password"),e.qZA(),e.TgZ(18,"input",7),e.NdJ("ngModelChange",function(a){return t.data.password=a}),e.qZA()()()(),e.TgZ(19,"div",8)(20,"button",9),e.NdJ("click",function(){return t.onNoClick()}),e._uU(21,"Cancel"),e.qZA(),e.TgZ(22,"button",10),e._uU(23,"Approve"),e.qZA()()()),2&i&&(e.xp6(2),e.hij("Approve Action: ",t.data.action,""),e.xp6(3),e.hij('Do you want to approve action "',t.data.action,'"?'),e.xp6(7),e.Q6J("readonly",!0)("ngModel",t.publicKey),e.xp6(6),e.Q6J("ngModel",t.data.password),e.xp6(4),e.Q6J("mat-dialog-close",t.data))},dependencies:[io,Ca,Ba,ol,Dt.lW,Wn,rl,ar,Sr,Nl,oa,Is,tn,kt,yt,Bi],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});var no=y(7009);const Xu=new TextEncoder,e1=new TextDecoder;class gs{getPasswordKey(i){return window.crypto.subtle.importKey("raw",Xu.encode(i),"PBKDF2",!1,["deriveKey"])}deriveKey(i,t,n){return window.crypto.subtle.deriveKey({name:"PBKDF2",salt:t,iterations:25e4,hash:"SHA-256"},i,{name:"AES-GCM",length:256},!1,n)}encryptData(i,t){var n=this;return(0,we.Z)(function*(){try{const a=window.crypto.getRandomValues(new Uint8Array(16)),l=window.crypto.getRandomValues(new Uint8Array(12)),v=yield n.getPasswordKey(t),T=yield n.deriveKey(v,a,["encrypt"]),G=yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:l},T,Xu.encode(i)),z=new Uint8Array(G);let be=new Uint8Array(a.byteLength+l.byteLength+z.byteLength);return be.set(a,0),be.set(l,a.byteLength),be.set(z,a.byteLength+l.byteLength),zi.US.encode(be)}catch(a){return console.error(a),""}})()}decryptData(i,t){var n=this;return(0,we.Z)(function*(){try{const a=zi.US.decode(i),l=a.slice(0,16),v=a.slice(16,28),T=a.slice(28),G=yield n.getPasswordKey(t.toString()),z=yield n.deriveKey(G,l,["decrypt"]),be=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:v},z,T);return e1.decode(be)}catch(a){return console.error(a),""}})()}}gs.\u0275fac=function(i){return new(i||gs)},gs.\u0275prov=e.Yz7({token:gs,factory:gs.\u0275fac,providedIn:"root"});class Ho{constructor(i,t,n){this.dialog=i,this.snackBar=t,this.security=n,this.defaultRelays={"wss://relay.plebstr.com":{read:!0,write:!0},"wss://relay.nostr.info":{read:!0,write:!0},"wss://nos.lol":{read:!0,write:!0},"wss://relay.nostr.wirednet.jp":{read:!0,write:!0},"wss://relay.damus.io":{read:!0,write:!0},"wss://nostr.mom":{read:!0,write:!0},"wss://relay.snort.social":{read:!0,write:!0},"wss://relay.nostr.bg":{read:!0,write:!0},"wss://nostr.fmt.wiz.biz":{read:!0,write:!0}}}sign(i){var t=this;return(0,we.Z)(function*(){let n=localStorage.getItem("blockcore:notes:nostr:prvkey");return n?new Promise((a,l)=>{t.dialog.open(sl,{data:{action:"Sign",password:""},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var T=(0,we.Z)(function*(G){if(!G)return void l();const z=yield t.security.decryptData(n,G.password);if(!z)return t.snackBar.open("Unable to decrypt data. Probably wrong password. Try again.","Hide",{duration:3e3,horizontalPosition:"center",verticalPosition:"bottom"}),void l("Unable to decrypt data. Probably wrong password.");const be=qt(z);i.pubkey!=be&&l("The event public key is not correct for this private key"),i.id||(i.id=yield Ar(i)),xa(i)||l("Invalid Nostr event.");const Ve=qs(i,z);i.sig=Ve,a(i)});return function(G){return T.apply(this,arguments)}}())}):globalThis.nostr.signEvent(i)})()}relays(){var i=this;return(0,we.Z)(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))return i.defaultRelays;try{return globalThis.nostr.getRelays()}catch{return i.defaultRelays}})()}decrypt(i,t){return(0,we.Z)(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))throw new Error("Private key based decrypt not implemented yet.");return yield globalThis.nostr.nip04.decrypt(i,t)})()}encrypt(i,t){return(0,we.Z)(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))throw new Error("Private key based encrypt not implemented yet.");return yield globalThis.nostr.nip04.encrypt(i,t)})()}}Ho.\u0275fac=function(i){return new(i||Ho)(e.LFG(yi),e.LFG(no.ux),e.LFG(gs))},Ho.\u0275prov=e.Yz7({token:Ho,factory:Ho.\u0275fac,providedIn:"root"});var Ls=(()=>{return(r=Ls||(Ls={}))["\u2764\ufe0f"]="\u2764\ufe0f",r["\u{1f494}"]="\u{1f494}",Ls;var r})(),ka=(()=>{return(r=ka||(ka={}))[r.Public=0]="Public",r[r.Follow=1]="Follow",r[r.Mute=2]="Mute",r[r.Block=3]="Block",ka;var r})(),la=y(7096),Bw=y(1188);class mc{constructor(i){this.util=i}parseZap(i){const{amount:t,hash:n}=this.getInvoice(i),a=n?this.getZapper(i,n):{isValid:!1,content:""},l=this.zappedAuthor(i),v=this.zappedPost(i);return{id:i.id,e:v??void 0,p:l??"",amount:this.util.millisatoshisToSatoshis(Number(t)),zapper:a?.pubkey,content:a?.content,valid:a?.isValid,zapService:i.pubkey}}getInvoice(i){const t=this.lnInvoice(i);if(!t)return console.error("Invalid zap: No bolt11 tag found in event",i),{};try{const n=(0,Bw.decode)(t),a=n.sections.find(v=>"amount"===v.name)?.value,l=n.sections.find(v=>"description_hash"===v.name)?.value;return{amount:a,hash:l}}catch{return console.error("Invalid zap: Could not decode bolt11",i),{}}}getZapper(i,t){let n=this.description(i);if(n)try{n.startsWith("%")&&(n=decodeURIComponent(n));const a=JSON.parse(n),l=this.util.arrayToHex(ji(n));return{pubkey:a.pubkey,isValid:t===l,content:a.content}}catch{console.error("Invalid zap: Could not decode zap request",i)}return{isValid:!1,content:""}}lnInvoice(i){return i.tags.filter(t=>"bolt11"===t[0]).map(t=>t[1]).find(t=>null!=t)||null}zappedPost(i){return i.tags.filter(t=>"e"===t[0]).map(t=>t[1]??null).find(t=>null!=t)??null}zappedAuthor(i){return i.tags.filter(t=>"p"===t[0]).map(t=>t[1]??null).find(t=>null!=t)??null}description(i){return i.tags.filter(t=>"description"===t[0]).map(t=>t[1]??null).find(t=>null!=t)??null}}mc.\u0275fac=function(i){return new(i||mc)(e.LFG(pn.dU))},mc.\u0275prov=e.Yz7({token:mc,factory:mc.\u0275fac,providedIn:"root"});var Ti=new WeakMap,Pd=new WeakMap,fc=new WeakMap,Um=new WeakMap,Bd=new WeakMap,Do=new WeakMap,Ns=new WeakMap,Yd=new WeakMap,eh=new WeakMap,Hd=new WeakMap,th=new WeakMap,Vl=new WeakMap,ih=new WeakMap,ss=new WeakMap,Vc=new WeakMap,nh=new WeakMap,Ud=new WeakMap,jd=new WeakMap,rh=new WeakMap,jm=new WeakMap,ah=new WeakMap,Vm=new WeakMap,Zm=new WeakMap,Uo=new WeakMap,ll=new WeakMap,oh=new WeakMap,_s=new WeakMap,Zc=new WeakMap,sh=new WeakMap,zm=new WeakMap;class zr{constructor(i,t,n){St(this,Ti,{writable:!0,value:void 0}),St(this,Pd,{writable:!0,value:void 0}),St(this,fc,{writable:!0,value:void 0}),St(this,Um,{writable:!0,value:void 0}),St(this,Bd,{writable:!0,value:void 0}),St(this,Do,{writable:!0,value:void 0}),St(this,Ns,{writable:!0,value:void 0}),St(this,Yd,{writable:!0,value:void 0}),St(this,eh,{writable:!0,value:void 0}),St(this,Hd,{writable:!0,value:void 0}),St(this,th,{writable:!0,value:void 0}),St(this,Vl,{writable:!0,value:void 0}),St(this,ih,{writable:!0,value:void 0}),St(this,ss,{writable:!0,value:void 0}),St(this,Vc,{writable:!0,value:void 0}),St(this,nh,{writable:!0,value:void 0}),St(this,Ud,{writable:!0,value:void 0}),St(this,jd,{writable:!0,value:void 0}),St(this,rh,{writable:!0,value:void 0}),St(this,jm,{writable:!0,value:void 0}),St(this,ah,{writable:!0,value:void 0}),St(this,Vm,{writable:!0,value:void 0}),St(this,Zm,{writable:!0,value:void 0}),St(this,Uo,{writable:!0,value:void 0}),St(this,ll,{writable:!0,value:void 0}),St(this,oh,{writable:!0,value:void 0}),St(this,_s,{writable:!0,value:void 0}),St(this,Zc,{writable:!0,value:void 0}),St(this,sh,{writable:!0,value:void 0}),St(this,zm,{writable:!0,value:void 0}),this.eventService=i,this.options=t,this.zapService=n,Wt(this,Ti,{feedEvents:[],feedEventsView:[],threadEvents:[],followingEvents:[],followingEventsView:[],rootEvents:[],replyEvents:[],rootEventsView:[],replyEventsView:[],reactions:new Map}),this.viewCounts={feedEventsViewCount:5,feedEventsViewCountExhausted:!1,followingEventsViewCount:5,followingEventsViewExhausted:!1,rootEventsViewCount:5,rootEventsViewCountExhausted:!1,replyEventsViewCount:5,replyEventsViewCountExhausted:!1},Wt(this,Pd,new Ne.X(0)),Wt(this,fc,void 0),Wt(this,Um,new Ne.X(this.eventId)),Wt(this,Bd,void 0),Wt(this,Do,new Ne.X(this.pubkey)),Wt(this,Ns,void 0),Wt(this,Yd,new Ne.X(this.profile)),this.viewEvents=[],Wt(this,eh,new Ne.X(this.viewEvents)),Wt(this,Hd,new Ne.X(void 0)),this.viewReplyEvents=[],Wt(this,th,new Ne.X(this.viewReplyEvents)),this.events=[],Wt(this,Vl,new Ne.X(this.events)),Wt(this,ih,new Ne.X(void 0)),this.previousProfileSinceValue=0,this.previousFeedSinceValue=0,this.exhausted=!1,Wt(this,ss,[]),Wt(this,Vc,[]),this.viewEventsStart=0,this.viewEventsCount=5,Wt(this,nh,new Ne.X(_e(this,Ti).feedEvents)),Wt(this,Ud,new Ne.X(_e(this,Ti).feedEventsView)),Wt(this,jd,new Ne.X(_e(this,Ti).rootEvents)),Wt(this,rh,new Ne.X(_e(this,Ti).rootEventsView)),Wt(this,jm,new Ne.X(_e(this,Ti).replyEvents)),Wt(this,ah,new Ne.X(_e(this,Ti).replyEventsView)),Wt(this,Vm,new Ne.X(_e(this,Ti).threadEvents)),Wt(this,Zm,new Ne.X(_e(this,Ti).followingEvents)),Wt(this,Uo,new Ne.X(_e(this,Ti).followingEventsView)),Wt(this,oh,new Ne.X(_e(this,ll))),Wt(this,Zc,new Ne.X(_e(this,_s))),Wt(this,zm,new Ne.X(_e(this,sh)))}get unreadNotifications$(){return _e(this,Pd).asObservable()}get eventId(){return _e(this,fc)}get eventId$(){return _e(this,Um).asObservable()}get pubkey(){return _e(this,Bd)}get pubkey$(){return _e(this,Do).asObservable()}setPubKey(i,t=!0){Wt(this,Bd,i),t&&(Wt(this,Ns,void 0),this.events=[],this.viewEvents=[],this.previousProfileSinceValue=0,this.exhausted=!1,this.clearLists(),_e(this,Vl).next(this.events),_e(this,Yd).next(_e(this,Ns)),_e(this,Do).next(_e(this,Bd)))}setProfile(i,t=!1){const n=_e(this,Ns);Wt(this,Ns,i),(t||n?.pubkey!=i?.pubkey)&&_e(this,Yd).next(_e(this,Ns))}setEventId(i){console.log("setEventId:",i),Wt(this,fc,i),Wt(this,_s,void 0),this.events=[],_e(this,Um).next(_e(this,fc)),_e(this,Zc).next(_e(this,_s)),_e(this,Vl).next(this.events)}get profile(){return _e(this,Ns)}get profile$(){return _e(this,Yd).asObservable()}get viewEvents$(){return _e(this,eh).asObservable()}get reactions$(){return _e(this,Hd).asObservable()}get viewReplyEvents$(){return _e(this,th).asObservable()}get events$(){return _e(this,Vl).asObservable()}get loadMore$(){return _e(this,ih).asObservable()}triggerLoadMoreProfileEvents(){let i=0,t=0;_e(this,Ti).rootEvents.length>0&&(i=_e(this,Ti).rootEvents[_e(this,Ti).rootEvents.length-1].created_at),_e(this,Ti).replyEvents.length>0&&(t=_e(this,Ti).replyEvents[_e(this,Ti).replyEvents.length-1].created_at);let n=i>t?i:t;n>this.previousProfileSinceValue&&(this.previousProfileSinceValue=n,_e(this,ih).next({until:n,type:"profile"}))}triggerLoadMoreFeedEvents(){const i=_e(this,Ti).feedEvents[_e(this,Ti).feedEvents.length-1].created_at;i>this.previousFeedSinceValue&&(this.previousFeedSinceValue=i,_e(this,ih).next({circle:_e(this,sh),until:i,type:"feed"}))}children(i){return this.events.filter(n=>n.parentEventId===i)}children$(i){return this.events$.pipe((0,uc.b)(t=>t.filter(n=>n.replyEventId===i)))}get notifications(){return _e(this,ss)}get activityFeed$(){return(0,U.of)(_e(this,Vc))}putNotifications(i){i=i.sort((t,n)=>t.created!t.seen).length;_e(this,Pd).next(i)}putNotification(i){const t=_e(this,ss).findIndex(n=>n.id==i.id);-1==t?(_e(this,ss).unshift(i),Wt(this,ss,_e(this,ss).sort((n,a)=>n.created=t&&(this.viewCounts.feedEventsViewCountExhausted=t>=_e(this,Ti).feedEvents.length,_e(this,Ti).feedEvents.length>0&&this.viewCounts.feedEventsViewCountExhausted&&this.triggerLoadMoreFeedEvents())}updateRootEventsView(i,t){this.viewCounts.rootEventsViewCount=t,_e(this,Ti).rootEventsView=_e(this,Ti).rootEvents.slice(i,t),_e(this,rh).next(_e(this,Ti).rootEventsView),_e(this,Ti).rootEvents.length>=t&&(this.viewCounts.rootEventsViewCountExhausted=t>=_e(this,Ti).rootEvents.length,_e(this,Ti).rootEvents.length>0&&this.viewCounts.rootEventsViewCountExhausted&&this.triggerLoadMoreProfileEvents())}updateReplyEventsView(i,t){this.viewCounts.replyEventsViewCount=t,_e(this,Ti).replyEventsView=_e(this,Ti).replyEvents.slice(i,t),_e(this,ah).next(_e(this,Ti).replyEventsView),_e(this,Ti).replyEvents.length>=t&&(this.viewCounts.replyEventsViewCountExhausted=t>=_e(this,Ti).replyEvents.length,_e(this,Ti).replyEvents.length>0&&this.viewCounts.replyEventsViewCountExhausted&&this.triggerLoadMoreProfileEvents())}updateFollowingEventsView(i,t){this.viewCounts.followingEventsViewCount=t,_e(this,Ti).followingEventsView=_e(this,Ti).followingEvents.slice(i,t),this.viewCounts.followingEventsViewExhausted=t>=_e(this,Ti).followingEvents.length,_e(this,Uo).next(_e(this,Ti).followingEventsView),_e(this,Ti)}sortAscending(i,t){return i.created_atn.id==i.id);-1==t?(_e(this,Ti).feedEvents.push(i),_e(this,Ti).feedEvents=_e(this,Ti).feedEvents.sort(this.sortDescending),this.updateFeedEventsView(0,this.viewCounts.feedEventsViewCount)):_e(this,Ti).feedEvents[t]=i}}putEvent(i){if(i.kind==Qi.Reaction){if(!this.options.values.enableReactions)return;const t=this.eventService.lastETag(i);if(t){const n=this.getThreadEntry(t);if(n.reactionIds.includes(i.id))return;""==i.content||"+"==i.content?n.reactions[Ls["\u2764\ufe0f"]]?n.reactions[Ls["\u2764\ufe0f"]]++:n.reactions[Ls["\u2764\ufe0f"]]=1:"-"==i.content?n.reactions[Ls["\u{1f494}"]]?n.reactions[Ls["\u{1f494}"]]++:n.reactions[Ls["\u{1f494}"]]=1:n.reactions[i.content]?n.reactions[i.content]++:n.reactions[i.content]=1,n.reactionIds.push(i.id),this.putThreadEntry(n)}}else if(6==i.kind){const t=this.eventService.lastETag(i);if(t){const n=this.getThreadEntry(t);if(n.reactionIds.includes(i.id))return;n.boosts++,n.reactionIds.push(i.id),this.putThreadEntry(n)}}else if(i.kind==Qi.Text){if(i=this.calculateFields(i),this.pubkey)if(i.parentEventId){if(i.pubkey!=this.pubkey)return void console.log("EVENT BY OTHERS ON PROFILE:",i);const n=_e(this,Ti).replyEvents.findIndex(a=>a.id==i.id);-1==n?(_e(this,Ti).replyEvents.push(i),_e(this,Ti).replyEvents=_e(this,Ti).replyEvents.sort(this.sortDescending),this.updateReplyEventsView(0,this.viewCounts.replyEventsViewCount)):_e(this,Ti).replyEvents[n]=i}else{if(i.pubkey!=this.pubkey)return void console.log("EVENT BY OTHERS ON PROFILE:",i);const n=_e(this,Ti).rootEvents.findIndex(a=>a.id==i.id);-1==n?(_e(this,Ti).rootEvents.push(i),_e(this,Ti).rootEvents=_e(this,Ti).rootEvents.sort(this.sortDescending),this.updateRootEventsView(0,this.viewCounts.rootEventsViewCount)):_e(this,Ti).rootEvents[n]=i}else if(this.eventId){const n=_e(this,Ti).threadEvents.findIndex(a=>a.id==i.id);-1==n?(_e(this,Ti).threadEvents.push(i),_e(this,Ti).threadEvents=_e(this,Ti).threadEvents.sort(this.sortDescending)):_e(this,Ti).threadEvents[n]=i}else{const n=_e(this,Ti).followingEvents.findIndex(a=>a.id==i.id);-1==n?(_e(this,Ti).followingEvents.push(i),_e(this,Ti).followingEvents=_e(this,Ti).followingEvents.sort(this.sortDescending),this.updateFollowingEventsView(0,this.viewCounts.followingEventsViewCount)):_e(this,Ti).followingEvents[n]=i}const t=this.events.findIndex(n=>n.id==i.id);t>-1?this.events[t]=i:(this.events.unshift(i),this.pubkey?(this.events=this.events.sort((n,a)=>n.created_atn.created_att.kind==Qi.Text),this.viewEvents=[],this.events=this.events.map(t=>this.calculateFields(t)),this.events=this.events.sort(this.pubkey?(t,n)=>t.created_att.created_at"e"===n[0]);for(let n=0;n3&&("root"==a[3]&&(i.rootEventId=a[1]),"reply"==a[3]&&(i.replyEventId=a[1]))}return t.length>0&&(i.rootEventId=t[0][1],i.parentEventId=t[t.length-1][1]),t.length<2||(i.replyEventId=t[1][1]),i.rootEventId==i.parentEventId&&(i.rootEventId=void 0),i}setEvent(i){const t=_e(this,_s)?.id;Wt(this,fc,i?.id),Wt(this,_s,i?this.calculateFields(i):i),_e(this,_s)?.id!=t&&(_e(this,Zc).next(_e(this,_s)),this.parentEventId=_e(this,_s)?.parentEventId,_e(this,oh).next(void 0))}setParentEvent(i){const t=_e(this,ll)?.id;i?(Wt(this,ll,this.calculateFields(i)),this.parentEventId=_e(this,ll).id):this.parentEventId=void 0,_e(this,ll)?.id!=t&&_e(this,oh).next(_e(this,ll))}get circle$(){return _e(this,zm).asObservable()}setFeedCircle(i){Wt(this,sh,i),_e(this,zm).next(_e(this,sh))}}function pc(r,i){Xe(r,i),i.add(r)}function Mo(r,i,t){if(!i.has(r))throw new TypeError("attempted to get private field on non-instance");return t}zr.\u0275fac=function(i){return new(i||zr)(e.LFG(Zr),e.LFG(la.I),e.LFG(mc))},zr.\u0275prov=e.Yz7({token:zr,factory:zr.\u0275fac,providedIn:"root"});var lh=y(9751),cl=new WeakMap;class zp{constructor(i){St(this,cl,{writable:!0,value:void 0}),this.maxEntries=i,Wt(this,cl,new Map)}get(i){const t=_e(this,cl).get(i);if(t)return _e(this,cl).size>this.maxEntries&&Array.from(_e(this,cl).entries()).sort(l=>l[1].accessed).slice(0,20).forEach(l=>{_e(this,cl).delete(l[0])}),t.accessed=Date.now(),t}set(i,t){_e(this,cl).set(i,{accessed:Date.now(),value:t})}}var dl=new WeakMap,n1=new WeakMap,Vd=new WeakMap,ch=new WeakMap,Gm=new WeakMap,gc=new WeakSet,dh=new WeakMap,r1=new WeakSet,Gp=new WeakSet,ul=new WeakSet,bs=new WeakSet;class Yn{get following$(){return _e(this,ch).asObservable().pipe((0,Cr.U)(i=>i.filter(n=>n.status==ka.Follow)))}get profile$(){return _e(this,Vd).asObservable()}userProfileUpdated(i){this.profile=i,_e(this,Vd).next(i)}get profiles$(){return _e(this,ch).asObservable()}get profileRequested$(){return _e(this,Gm).asObservable()}updated(){Mo(this,gc,hl).call(this)}updateItemIfSelected(i){this.ui.pubkey===i?.pubkey&&this.ui.setProfile(i)}getProfilesByStatus(i){return this.db.storage.getProfilesByStatus(i)}search(i){return(0,we.Z)(function*(){})()}get profilesChanged$(){return _e(this,dh).asObservable()}constructor(i,t,n,a,l){pc(this,bs),pc(this,ul),pc(this,Gp),pc(this,r1),pc(this,gc),St(this,dl,{writable:!0,value:void 0}),St(this,n1,{writable:!0,value:void 0}),St(this,Vd,{writable:!0,value:void 0}),St(this,ch,{writable:!0,value:void 0}),St(this,Gm,{writable:!0,value:void 0}),St(this,dh,{writable:!0,value:void 0}),this.db=i,this.ui=t,this.queueService=n,this.appState=a,this.utilities=l,this.initialized=!1,Wt(this,dl,new zp(500)),this.following=[],this.followingKeys=[],this.blocked=[],this.muted=[],Wt(this,n1,new Ne.X(this.following)),Wt(this,Vd,new Ne.X(void 0)),Wt(this,ch,new Ne.X(this.following)),Wt(this,Gm,new Ne.X("")),Wt(this,dh,new Ne.X(void 0))}getProfileOrDownload(i){return new lh.y(t=>(this.db.storage.getProfile(i).then(n=>{if(n)return t.next(n),void t.complete();this.queueService.enqueProfile(i)}).catch(n=>{console.warn("FAILED TO GET PROFILE:",n)}).finally(()=>{}),()=>{})).pipe((0,uc.b)(t=>{}))}getLocalProfile(i){var t=this;return(0,we.Z)(function*(){return t.db.storage.getProfile(i)})()}getCachedProfile(i){let t=this.following.findIndex(a=>a.pubkey==i);if(t>-1)return this.following[t];let n=_e(this,dl).get(i);return n?n.value:void 0}getProfile(i){var t=this;return(0,we.Z)(function*(){let n=t.following.findIndex(v=>v.pubkey==i);if(n>-1)return t.following[n];let a=_e(t,dl).get(i);if(a)return a.value;let l=yield t.db.storage.getProfile(i);if(l)return _e(t,dl).set(i,l),l;t.queueService.enqueProfile(i)})()}putProfile(i){var t=this;return(0,we.Z)(function*(){null==i.status&&(i.status=0),i.npub=t.utilities.getNostrIdentifier(i.pubkey),_e(t,dl).set(i.pubkey,i),yield t.db.storage.putProfile(i),t.updateItemIfSelected(i);const n=t.following.findIndex(a=>a.pubkey==i.pubkey);null!=i.circle?1==i.status&&-1==n?(t.following.push(i),Mo(t,gc,hl).call(t)):2==i.status&&n>-1?(t.following.splice(n,1),Mo(t,gc,hl).call(t)):(t.following[n]=i,Mo(t,gc,hl).call(t)):n>-1&&(t.following.splice(n,1),Mo(t,gc,hl).call(t))})()}initialize(i){var t=this;return(0,we.Z)(function*(){const n=yield t.getLocalProfile(i);t.userProfileUpdated(n);const a=yield t.db.storage.getProfilesByStatus(ka.Follow);t.following=a,_e(t,ch).next(t.following);const l=yield t.db.storage.getProfilesByStatus(ka.Block),v=yield t.db.storage.getProfilesByStatus(ka.Mute);t.blocked=l.map(T=>T.pubkey),t.muted=v.map(T=>T.pubkey),t.followingKeys=t.following.map(T=>T.pubkey)})()}follow(i,t=0,n){var a=this;return(0,we.Z)(function*(){if(!i)return;const l=yield a.getLocalProfile(i),v=a.utilities.now();return l?(l.status=ka.Follow,l.modified=v,l.followed=v,l.circle=t,yield a.putProfile(l),l):(n||(n=a.emptyProfile(i)),n.followed=v,n.circle=t,n.status=ka.Follow,n.npub=a.utilities.getNostrIdentifier(n.pubkey),yield a.db.storage.putProfile(n),Mo(a,ul,Hw).call(a,n),a.queueService.enqueProfile(n.pubkey),n)})()}setFollowing(i,t){var n=this;return(0,we.Z)(function*(){return Mo(n,bs,_c).call(n,i,a=>(a.following=t,a))})()}followingAndRelays(i,t,n){var a=this;return(0,we.Z)(function*(){return Mo(a,bs,_c).call(a,i,l=>(l.following=t,l.relays=n,l))})()}setCircle(i,t){var n=this;return(0,we.Z)(function*(){return Mo(n,bs,_c).call(n,i,a=>(a.circle=t,a))})()}unfollow(i){var t=this;return(0,we.Z)(function*(){const n=yield Mo(t,bs,_c).call(t,i,a=>(a.status=ka.Public,a.followed=void 0,a.circle=void 0,a));return yield t.db.storage.deleteNotesByAuthor(i),n})()}block(i){var t=this;return(0,we.Z)(function*(){const n=yield Mo(t,bs,_c).call(t,i,a=>(a.status=ka.Block,a.followed=void 0,a.circle=void 0,a));return yield t.db.storage.deleteNotesByAuthor(i),n})()}unblock(i){var t=this;return(0,we.Z)(function*(){return Mo(t,bs,_c).call(t,i,n=>(n.status=ka.Public,n))})()}mute(i){var t=this;return(0,we.Z)(function*(){return Mo(t,bs,_c).call(t,i,n=>(n.status=ka.Mute,n))})()}unmute(i){var t=this;return(0,we.Z)(function*(){return Mo(t,bs,_c).call(t,i,n=>(n.status=ka.Follow,n))})()}deleteProfile(i){var t=this;return(0,we.Z)(function*(){yield t.db.storage.deleteProfile(i)})()}isFollowing(i){const t=this.following.findIndex(a=>a.pubkey==i);if(-1===t)return!1;const n=this.following[t];return!!n&&n.status==ka.Follow}updateProfile(i,t){var n=this;return(0,we.Z)(function*(){let a=yield n.db.storage.getProfile(i);const l=n.utilities.now();if(a){if(a.created_at&&t.created_at&&a.created_at>=t.created_at)return a;a.name=t.name,a.about=t.about,a.nip05=t.nip05,a.lud06=t.lud06,a.lud16=t.lud16,a.website=t.website,a.display_name=t.display_name,a.picture=t.picture,a.banner=t.banner,a.created_at=t.created_at}else a=t;if(a.modified=l,a.retrieved=l,console.log("START PUT PROFILE",a.name),yield n.putProfile(a),console.log("END PUT PROFILE",a.pubkey),_e(n,dl).set(a.pubkey,a),n.appState.getPublicKey()===i&&n.userProfileUpdated(a),a&&a.followed){const v=n.following.findIndex(T=>T.pubkey==a.pubkey);-1===v?n.following.push(a):n.following[v]=a}return Mo(n,gc,hl).call(n),a})()}emptyProfile(i){return{npub:this.utilities.getNostrIdentifier(i),name:this.utilities.getShortenedIdentifier(i),about:"",picture:"/assets/profile.png",nip05:"",lud06:"",lud16:"",display_name:"",status:ka.Public,website:"",created:Math.floor(Date.now()/1e3),verifications:[],pubkey:i}}}function hl(){_e(this,ch).next(this.following),_e(this,n1).next(this.following)}function Hw(r){const i=this.following.findIndex(t=>t.pubkey==r.pubkey);-1===i?this.following.push(r):this.following[i]=r}function _c(r,i){return zc.apply(this,arguments)}function zc(){return(zc=(0,we.Z)(function*(r,i){let t=yield this.db.storage.getProfile(r);if(t)return t.modified=this.utilities.now(),t=i(t,t.pubkey),yield this.putProfile(t),t})).apply(this,arguments)}Yn.\u0275fac=function(i){return new(i||Yn)(e.LFG(Fr),e.LFG(zr),e.LFG(Br),e.LFG(Oe.i),e.LFG(pn.dU))},Yn.\u0275prov=e.Yz7({token:Yn,factory:Yn.\u0275fac,providedIn:"root"});class Gc{constructor(i,t){this.zapService=i,this.eventService=t,this.events=new Map,this.profiles=new Map}reset(){this.events.clear(),this.profiles.clear()}getEventZapAmount(i){const t=this.events.get(i);return t?t.amount:null}getProfileZapAmount(i){const t=this.profiles.get(i);return t?t.amount:null}addZap(i){const t=this.zapService.parseZap(i);if(t.e){let a=this.events.get(t.e);if(a){if(a.ids.includes(t.id))return;a.ids.push(t.id),a.amount+=t.amount}else a={ids:[t.id],amount:t.amount};this.events.set(t.e,a)}let n=this.profiles.get(t.p);if(n){if(n.ids.includes(t.id))return;n.ids.push(t.id),n.amount+=t.amount}else n={ids:[t.id],amount:t.amount};this.profiles.set(t.p,n)}}Gc.\u0275fac=function(i){return new(i||Gc)(e.LFG(mc),e.LFG(Zr))},Gc.\u0275prov=e.Yz7({token:Gc,factory:Gc.\u0275fac,providedIn:"root"});class uh{constructor(i){this.state=i}addEvent(i){}addIfMissing(i,t){t.has(i.id)||t.set(i.id,i)}addIfNewer(i,t){if(t.has(i.id)){if(t.get(i.id).created_at>i.created_at)return;t.set(i.id,i)}else t.set(i.id,i)}}uh.\u0275fac=function(i){return new(i||uh)(e.LFG(Zd))},uh.\u0275prov=e.Yz7({token:uh,factory:uh.\u0275fac,providedIn:"root"});class Zd{constructor(){this.profiles=[],this.circles=[],this.events={metadata:new Map,shortTextNote:new Map,recommendRelay:new Map,contacts:new Map,encryptedDirectMessages:new Map,eventDeletion:new Map,reposts:new Map,reaction:new Map,badgeAward:new Map,channelCreation:new Map,channelMetadata:new Map,channelMessage:new Map,channelHideMessage:new Map,channelMuteUser:new Map,reporting:new Map,zapRequest:new Map,zap:new Map,muteList:new Map,relayListMetadata:new Map,clientAuthentication:new Map,nostrConnect:new Map,categorizedPeopleList:new Map,categorizedBookmarkList:new Map,profileBadges:new Map,badgeDefinition:new Map,longFormContent:new Map,applicationSpecificData:new Map,regularEvents:new Map,replaceableEvents:new Map,ephemeralEvents:new Map,parameterizedReplaceableEvents:new Map},this.relays={notice:new Map,auth:new Map}}}Zd.\u0275fac=function(i){return new(i||Zd)},Zd.\u0275prov=e.Yz7({token:Zd,factory:Zd.\u0275fac,providedIn:"root"});var Wp=new WeakMap;class ro{get relays$(){return _e(this,Wp).asObservable()}constructor(i,t,n,a,l,v,T,G,z,be,Ve,bt,Pt,Gt,ii){var ti=this;St(this,Wp,{writable:!0,value:void 0}),this.badgeService=i,this.logger=t,this.articleService=n,this.nostr=a,this.ui=l,this.queue=v,this.utilities=T,this.profileService=G,this.db=z,this.options=be,this.eventService=Ve,this.appState=bt,this.zapUi=Pt,this.stateService=Gt,this.snackBar=ii,this.items=[],this.subs=new Map,this.relays=[],Wt(this,Wp,new Ne.X(this.relays)),this.workers=[],this.appState.visibility$.subscribe(di=>{di&&this.createRelayWorkers()}),this.queue.queues$.subscribe(di=>{di&&this.enque(di)}),this.ui.loadMore$.subscribe(di=>{if(di&&di.until)if("profile"==di.type){if(!this.profileEventSubscription)return;this.unsubscribe(this.profileEventSubscription);const Fi=this.options.values.enableReactions?[Qi.Text,Qi.Reaction,6]:[Qi.Text,6];this.options.values.enableZapping&&Fi.push(Qi.Zap),this.profileEventSubscription=this.subscribe([{authors:[this.ui.profile.pubkey],kinds:Fi,until:di.until,limit:100}]).id}else if("feed"==di.type){if(!this.circleEventSubscription)return;this.circleEventSubscription&&(this.unsubscribe(this.circleEventSubscription),this.circleEventSubscription=void 0);let Fi=[];Fi=di.circle>-1?this.profileService.following.filter(Li=>Li.circle==di.circle).map(Li=>Li.pubkey):this.profileService.following.map(Li=>Li.pubkey);const _i=this.options.values.enableReactions?[Qi.Text,Qi.Reaction,6]:[Qi.Text,6];this.options.values.enableZapping&&_i.push(Qi.Zap),this.circleEventSubscription=this.subscribe([{authors:Fi,kinds:_i,until:di.until,limit:100}],"feed").id}}),this.ui.circle$.subscribe(di=>{if(null==di)return;let Fi=[];Fi=di>-1?this.profileService.following.filter(Li=>Li.circle==di).map(Li=>Li.pubkey):this.profileService.following.map(Li=>Li.pubkey),this.circleEventSubscription&&(this.unsubscribe(this.circleEventSubscription),this.circleEventSubscription=void 0);const _i=this.options.values.enableReactions?[Qi.Text,Qi.Reaction,6]:[Qi.Text,6];this.options.values.enableZapping&&_i.push(Qi.Zap),this.circleEventSubscription=this.subscribe([{authors:Fi,kinds:_i,limit:100}],"feed").id}),this.ui.pubkey$.subscribe(function(){var di=(0,we.Z)(function*(Fi){if(!Fi)return void(ti.profileEventSubscription&&(ti.unsubscribe(ti.profileEventSubscription),ti.profileEventSubscription=void 0));const _i=yield ti.profileService.getProfile(Fi);_i&&ti.ui.setProfile(_i),ti.zapUi.reset(),ti.profileEventSubscription=ti.subscribe([{"#p":[Fi],kinds:[Qi.Zap]},{authors:[Fi],kinds:[Qi.Text,Qi.Reaction,6],limit:100}]).id});return function(Fi){return di.apply(this,arguments)}}()),this.ui.eventId$.subscribe(function(){var di=(0,we.Z)(function*(Fi){if(!Fi)return;const _i=yield ti.db.storage.getEvent(Fi);_i?ti.ui.setEvent(_i):ti.enque({type:"Event",identifier:Fi})});return function(Fi){return di.apply(this,arguments)}}()),this.ui.event$.subscribe(function(){var di=(0,we.Z)(function*(Fi){if(!Fi)return ti.ui.clearEvents(),void(ti.threadSubscription&&(ti.unsubscribe(ti.threadSubscription),ti.threadSubscription=void 0));if(ti.threadSubscription!=Fi?.id&&(ti.threadSubscription&&ti.unsubscribe(ti.threadSubscription),ti.threadSubscription=ti.subscribe([{"#e":[Fi.id]}]).id,Fi.parentEventId)){const _i=yield ti.db.storage.getEvent(Fi.parentEventId);_i?ti.ui.setParentEvent(_i):ti.enque({type:"Event",identifier:Fi.parentEventId})}});return function(Fi){return di.apply(this,arguments)}}())}terminate(i){const t=this.workers.find(n=>n.url==i);t&&t.terminate()}terminateAll(){for(let i=0;iv.url==i);a&&(a.type=t,l.type=t,yield n.db.storage.putRelay(a))})()}setRelayPublic(i,t){var n=this;return(0,we.Z)(function*(){const a=yield n.db.storage.getRelay(i),l=n.items.find(v=>v.url==i);a&&(a.public=t,l.public=t,yield n.db.storage.putRelay(a))})()}setRelayStatus(i,t){var n=this;return(0,we.Z)(function*(){n.logger.debug("setRelayStatus:",t);const a=yield n.db.storage.getRelay(i),l=n.items.find(v=>v.url==i);a&&(a.status=t,l.status=t,yield n.db.storage.putRelay(a))})()}setRelayEnabled(i,t){var n=this;return(0,we.Z)(function*(){n.logger.debug("setRelayEnabled:",t);const a=yield n.db.storage.getRelay(i),l=n.items.find(v=>v.url==i);a&&(a.enabled=t,l.enabled=t,yield n.db.storage.putRelay(a))})()}setRelayTimeout(i,t){const n=this.items.find(a=>a.url==i);n&&(null==n.timeouts&&(n.timeouts=0),n.timeouts++)}setRelayCounter(i){const t=this.items.find(n=>n.url==i);t&&(null==t.eventcount&&(t.eventcount=0),t.eventcount++)}setRelayNIP11(i,t){var n=this;return(0,we.Z)(function*(){const a=yield n.db.storage.getRelay(i),l=n.items.find(v=>v.url==i);a&&(t.error?(a.error=t.error,l.error=t.error):(a.error=void 0,l.error=void 0,a.nip11=t,l.nip11=t),yield n.db.storage.putRelay(a))})()}addRelay(i,t,n){var a=this;return(0,we.Z)(function*(){let l=a.items.find(T=>T.url==i),v=1;n&&!t?v=3:!n&&t&&(v=2),l?(null==l.enabled&&(l.enabled=!0),l.type!==v&&(l.type=v,a.db.storage.putRelay(l))):(l={enabled:!0,public:!0,url:i,type:v},a.db.storage.putRelay(l),a.items.push(l)),v<3?a.createRelayWorker(l.url):a.terminate(l.url)})()}deleteRelays(i){var t=this;return(0,we.Z)(function*(){const n=t.items.filter(a=>-1==i.indexOf(a.url));t.logger.debug("relaysToRemove:",n);for(let a=0;aT.url==l.url);t.logger.info(`${l.url}: Terminating this Web Worker!`,v?.url),v?.terminate()}t.items=t.items.filter(a=>i.indexOf(a.url)>-1)})()}processEvent(i){var t=this;return(0,we.Z)(function*(){const a=t.eventService.processEvent(i.data);if(a){if(t.logger.debug("SAVE EVENT?:",a),t.stateService.addEvent(a),a.kind==Qi.Zap&&t.zapUi.addZap(a),i.subscription){const l=t.subs.get(i.subscription);if(l)if("Event"==l.type)-1===l.events.findIndex(T=>T.id==a.id)&&l.events.push(a);else if("Profile"==l.type){const v=l.events.findIndex(T=>T.pubkey==a.pubkey);v>-1?a.created_at>=l.events[v].created_at&&(l.events[v]=a):l.events.push(a)}else if("Contacts"==l.type){const v=l.events.findIndex(T=>T.pubkey==a.pubkey);v>-1?a.created_at>=l.events[v].created_at&&(l.events[v]=a):l.events.push(a)}else if("Replaceable"==l.type){const v=l.events.findIndex(T=>T.pubkey==a.pubkey&&t.eventService.firstDTag(T)==t.eventService.firstDTag(a));return void(v>-1?a.created_at>l.events[v].created_at&&(l.events[v]=a,yield t.badgeService.putDefinition(a)):(l.events.push(a),yield t.badgeService.putDefinition(a)))}}if("feed"==i.subscription)t.ui.putFeedEvent(a);else if("notifications"==i.subscription){let l=yield t.db.storage.getNotification(a.id);if(!l){let v="";if(a.kind==Qi.Reaction){let G=a.content;"+"===G||""===G?G="\u2764\ufe0f":"-"===G&&(G="\u{1f494}"),v=G}else if(a.kind==Qi.Text)v="replied to your note.";else if(a.kind==Qi.Contacts){if(v="started following you.",yield t.db.storage.getNotification(a.pubkey))return;a.id=a.pubkey}else v=6==a.kind?"boosted your note.":`Event kind ${a.kind} notification.`;const T=t.eventService.lastETag(a);l={id:a.id,relatedId:T,kind:a.kind,pubkey:a.pubkey,message:v,seen:!1,created:a.created_at},yield t.db.storage.putNotification(l),t.ui.putNotification(l)}}if(30009==a.kind)yield t.badgeService.putDefinition(a);else if(a.kind==Qi.Article)t.articleService.put(a);else if(a.kind==Qi.Metadata){const l=t.utilities.mapProfileEvent(a);if(l){const v=yield t.profileService.updateProfile(l.pubkey,l);t.ui.pubkey==a.pubkey&&t.ui.setProfile(v)}}else if(a.kind==Qi.Contacts){const l=t.appState.getPublicKey();if(a.pubkey===l){let v=yield t.db.storage.getContacts(l);if(!v||v.created_atbe[1]);t.profileService.followingAndRelays(a.pubkey,T,a.content),v=a;const z={pubkeys:v.tags.map(be=>be[1]),pubkey:l,relays:[],relaysCount:0};if(v.content&&(z.relays=JSON.parse(v.content),z.relaysCount=Object.keys(z.relays).length),z.pubkeys.length>0||z.relaysCount>0){if(z.relaysCount>0){const Ve=t.utilities.getRelayUrls(z.relays);yield t.deleteRelays(Ve),yield t.appendRelays(z.relays)}const be=z.pubkeys;for(let Ve=0;Ve=a.created_at)return;yield t.db.storage.putContacts(a);const T=a.tags.map(z=>z[1]),G=yield t.profileService.followingAndRelays(a.pubkey,T,a.content);G&&t.ui.pubkey==G.pubkey&&t.ui.setProfile(G,!0)}}else t.ui.eventId==a.id?t.ui.setEvent(a):t.ui.parentEventId==a.id?t.ui.setParentEvent(a):(t.ui.pubkey==a.pubkey||i.subscription==t.threadSubscription)&&t.ui.putEvent(a)}})()}enque(i){this.action("enque",i)}handleRelayMessage(i,t){var n=this;return(0,we.Z)(function*(){const a=i.data;switch(a.type){case"failure":n.logger.debug(`Relay ${t} failure: ${a.data}.`),n.snackBar.open(`Failure: ${a.data}. (${t})`,"Hide",{duration:3500,horizontalPosition:"center",verticalPosition:"bottom"});break;case"timeout":n.logger.debug(`Relay ${t} timeout: ${a.data}.`),n.setRelayTimeout(t,a.data);break;case"status":if(n.logger.debug(`Relay ${t} changed status to ${a.data}.`),yield n.setRelayStatus(t,a.data),1===a.data){n.appState.updateConnectionStatus(!0);const T=n.workers.findIndex(z=>z.url==t),G=n.workers[T];n.subs.forEach(z=>{G.subscribe(z.filters,z.id)})}break;case"terminated":n.logger.info(`${t}: WE HAVE TERMINATED`);const l=n.workers.findIndex(T=>T.url==t),v=n.workers[l];v.status="terminated",n.logger.debug(`${t}: Calling actually TERMINATE on Web Worker!`),v.worker?.terminate(),l>-1&&n.workers.splice(l,1),yield n.setRelayStatus(t,-1);break;case"event":n.setRelayCounter(t),yield n.processEvent(a);break;case"nip11":yield n.setRelayNIP11(t,a.data)}})()}handleRelayError(i,t){var n=this;return(0,we.Z)(function*(){yield n.setRelayStatus(t,-1),console.warn("ERROR IN WEB WORKER FOR RELAY!",i),console.warn("ERROR IN WEB WORKER FOR RELAY22!",i.error)})()}createRelayWorker(i,t){var n=this;if(!i)return void console.warn("SUPPLIED EMPTY URL TO CREATE RELAY WORKER!");const a=this.workers.findIndex(T=>T.url==i);if(a>-1)return this.logger.debug(`${i}: This relay already exists, calling connect on it.`),void this.workers[a].connect(void 0,t);const l=new Rc(i);this.logger.info(`${i}: Creating this web worker.`),this.workers.push(l);const v=l.start();v.onmessage=function(){var T=(0,we.Z)(function*(G){n.logger.debug(`${l.url}: onmessage`,G.data),yield n.handleRelayMessage(G,l.url)});return function(G){return T.apply(this,arguments)}}(),v.onerror=function(){var T=(0,we.Z)(function*(G){n.logger.error(`${l.url}: onerror`,G.error),yield n.handleRelayError(G,l.url)});return function(G){return T.apply(this,arguments)}}(),l.connect(Array.from(this.subs.values()),t)}getActiveRelay(i){const t=this.relays.findIndex(n=>n.url==i);return-1==t?null:this.relays[t]}appendRelays(i){var t=this;return(0,we.Z)(function*(){let n=i;if(Array.isArray(n)){n={};for(let v=0;vl.url==i);-1!=n&&(t.workers.find(l=>l.url==i)?.terminate(),yield t.db.storage.deleteRelay(i),t.items.splice(n,1))})()}connectedRelays(){return this.relays.filter(i=>1===i.status)}queueSubscription(i){const t=Bc();return this.subs.set(t,{id:t,filters:i,events:[],type:"Event"}),t}subscribe(i,t,n="Event"){t||(t=Bc());const a={id:t,filters:i,events:[],type:n};this.subs.set(t,a);for(let l=0;l3==a.type);for(let a=0;a{class r{constructor(t){this.appearance=t?.appearance||"raised"}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Zw,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("mat-mdc-card-outlined","outlined"===n.appearance)("mdc-card--outlined","outlined"===n.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Uw,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{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;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0}),r})(),hh=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),r})(),Rs=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),r})(),mh=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),r})(),fh=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:qp,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(t,n){1&t&&(e.F$t(a1),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0}),r})(),o1=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-mdc-card-footer"]}),r})(),qm=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]}),r})(),vk=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,F.ez,ae.BQ]}),r})();const Jm=["determinateSpinner"];function qw(r,i){if(1&r&&(e.O4$(),e.TgZ(0,"svg",11),e._UZ(1,"circle",12),e.qZA()),2&r){const t=e.oxw();e.uIk("viewBox",t._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",t._strokeCircumference(),"px")("stroke-dashoffset",t._strokeCircumference()/2,"px")("stroke-width",t._circleStrokeWidth(),"%"),e.uIk("r",t._circleRadius())}}const Qw=(0,ae.pj)(class{constructor(r){this._elementRef=r}},"primary"),Qp=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function Jw(){return{diameter:Ps}}}),Ps=100;let Za=(()=>{class r extends Qw{constructor(t,n,a){super(t),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=Ps,this._noopAnimations="NoopAnimations"===n&&!!a&&!a._forceAnimations,a&&(a.color&&(this.color=this.defaultColor=a.color),a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,(0,st.su)(t)))}get diameter(){return this._diameter}set diameter(t){this._diameter=(0,st.su)(t)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(t){this._strokeWidth=(0,st.su)(t)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const t=2*this._circleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.QbO,8),e.Y36(Qp))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(t,n){if(1&t&&e.Gf(Jm,5),2&t){let a;e.iGM(a=e.CRH())&&(n._determinateCircle=a.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(t,n){2&t&&(e.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===n.mode?n.value:null)("mode",n.mode),e.Udp("width",n.diameter,"px")("height",n.diameter,"px"),e.ekj("_mat-animation-noopable",n._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===n.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(t,n){if(1&t&&(e.YNc(0,qw,2,8,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.O4$(),e.TgZ(4,"svg",3),e._UZ(5,"circle",4),e.qZA()(),e.kcU(),e.TgZ(6,"div",5)(7,"div",6)(8,"div",7),e.GkF(9,8),e.qZA(),e.TgZ(10,"div",9),e.GkF(11,8),e.qZA(),e.TgZ(12,"div",10),e.GkF(13,8),e.qZA()()()),2&t){const a=e.MAs(1);e.xp6(4),e.uIk("viewBox",n._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",n._strokeCircumference(),"px")("stroke-dashoffset",n._strokeDashOffset(),"px")("stroke-width",n._circleStrokeWidth(),"%"),e.uIk("r",n._circleRadius()),e.xp6(4),e.Q6J("ngTemplateOutlet",a),e.xp6(2),e.Q6J("ngTemplateOutlet",a),e.xp6(2),e.Q6J("ngTemplateOutlet",a)}},dependencies:[F.tP],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),r})(),Km=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,ae.BQ]}),r})();function ys(r,i){1&r&&(e.TgZ(0,"div",17)(1,"button",18),e._UZ(2,"mat-spinner",19),e.qZA()())}function Jp(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",17)(1,"a",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.connect())}),e._uU(2,"Install "),e.TgZ(3,"span",4),e._uU(4,"extension"),e.qZA()()()}}function Wd(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.connect())}),e._uU(1,"Connect "),e.TgZ(2,"span",4),e._uU(3,"using extension"),e.qZA()()}}function qd(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.giveConsent())}),e._uU(1,"Give consent"),e.qZA()}}function Qd(r,i){if(1&r&&(e.TgZ(0,"div",17),e.YNc(1,Wd,4,0,"button",21),e.YNc(2,qd,2,0,"button",21),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.consent),e.xp6(1),e.Q6J("ngIf",!t.consent)}}function Jd(r,i){1&r&&(e.TgZ(0,"p",11)(1,"button",23),e._uU(2,"Create new profile"),e.qZA(),e._UZ(3,"br")(4,"br"),e.TgZ(5,"button",24),e._uU(6,"Log in"),e.qZA(),e._UZ(7,"br")(8,"br"),e.qZA())}function Kd(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"p",11)(1,"button",22),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.giveConsent())}),e._uU(2,"Give consent"),e.qZA()()}}function $d(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"p",11),e._UZ(1,"br"),e.TgZ(2,"button",25),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return a.consent=!1,e.KtG(a.persist())}),e._uU(3,"Withdraw consent"),e.qZA()()}}class ml{constructor(i,t,n,a,l,v,T,G,z,be){this.spacesService=i,this.theme=t,this.appState=n,this.cd=a,this.relayService=l,this.authService=v,this.utilities=T,this.router=G,this.ngZone=z,this.dialog=be,this.extensionDiscovered=!1,this.consent=!1,this.readOnlyLogin=!1,this.readOnlyKey="npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m",this.checkedTimes=0,this.showInstallLink=!1,this.searchingForExtension=!0}persist(){localStorage.setItem("blockcore:notes:nostr:consent",this.consent.toString())}giveConsent(){var i=this;this.dialog.open(ke,{data:!1,maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,we.Z)(function*(a){a&&!0===a&&(i.consent=!0,i.persist())});return function(a){return n.apply(this,arguments)}}())}connect(){var i=this;return(0,we.Z)(function*(){(yield i.authService.login()).authenticated()&&i.router.navigateByUrl("/")})()}scroll(i){const t=document.getElementById("container");t?t.scroll(0,i):console.log("NOT FOUND!")}anonymous(i){var t=this;return(0,we.Z)(function*(){(yield t.authService.anonymous(i)).authenticated()&&t.router.navigateByUrl("/")})()}ngOnInit(){this.consent="true"===localStorage.getItem("blockcore:notes:nostr:consent"),this.checkForExtension()}ngOnDestroy(){this.timeout&&clearTimeout(this.timeout)}checkForExtension(){return this.checkedTimes++,globalThis.nostr?(this.searchingForExtension=!1,void(this.extensionDiscovered=!0)):this.checkedTimes>10?(this.searchingForExtension=!1,void(this.showInstallLink=!0)):void(this.timeout=setTimeout(()=>{this.ngZone.run(()=>{this.checkForExtension()})},250))}}ml.\u0275fac=function(i){return new(i||ml)(e.Y36(oe),e.Y36(de),e.Y36(Oe.i),e.Y36(e.sBO),e.Y36(ro),e.Y36(Wc.$),e.Y36(pn.dU),e.Y36(Yt.F0),e.Y36(e.R0b),e.Y36(yi))},ml.\u0275cmp=e.Xpm({type:ml,selectors:[["app-connect"]],decls:51,vars:7,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],["class","connect-button",4,"ngIf"],[1,"connect-content"],[1,"card","first-card"],[1,"centered"],["class","centered",4,"ngIf"],[1,"card","card-image"],["loading","lazy","width","1079","height","776","src","/assets/blockcore-notes-screenshot.png"],[1,"card"],[1,"notice"],[1,"connect-button"],["mat-flat-button","","color","accent",1,"start-button"],["color","accent","diameter","30",1,"spinner"],["mat-flat-button","","color","accent","href","https://chrome.google.com/webstore/detail/blockcore-wallet/peigonhbenoefaeplkpalmafieegnapj","target","_blank",1,"start-button",3,"click"],["class","start-button","mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","accent",1,"start-button",3,"click"],["color","accent","routerLink","/connect/create","mat-flat-button","",1,"start-button"],["color","accent","routerLink","/connect/login","mat-flat-button","",1,"start-button"],["mat-stroked-button","",3,"click"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"img",2),e.TgZ(3,"div",3)(4,"span",4),e._uU(5,"Blockcore"),e.qZA(),e._uU(6," Notes"),e.qZA(),e._UZ(7,"div",5),e.TgZ(8,"button",6),e.NdJ("click",function(){return t.theme.darkMode=!t.theme.darkMode}),e.TgZ(9,"mat-icon",7),e._uU(10),e.qZA()(),e.YNc(11,ys,3,0,"div",8),e.YNc(12,Jp,5,0,"div",8),e.YNc(13,Qd,3,2,"div",8),e.qZA(),e.TgZ(14,"div",9)(15,"mat-card",10)(16,"mat-card-content")(17,"h1",11),e._uU(18,"New ways to connect with humanity"),e.qZA(),e.YNc(19,Jd,9,0,"p",12),e.YNc(20,Kd,3,0,"p",12),e.qZA()(),e.TgZ(21,"mat-card",13),e._UZ(22,"img",14),e.qZA(),e.TgZ(23,"mat-card",15)(24,"mat-card-content")(25,"h1"),e._uU(26,"Freedom of expression"),e.qZA(),e.TgZ(27,"p"),e._uU(28," Share your thoughts and interact with others in a fully transparent and open manner that is not restricted by any boundaries. Experience the world of "),e.TgZ(29,"strong"),e._uU(30,"Nostr"),e.qZA(),e._uU(31,". Nostr is a uncensorable protocol for communication with your friends and the world. "),e.qZA(),e.TgZ(32,"p",16)(33,"strong"),e._uU(34,"PROTOTYPE:"),e.qZA(),e._uU(35," This app is currently under development and should be considered prototype-quality."),e.qZA()()(),e.TgZ(36,"mat-card",15)(37,"mat-card-content")(38,"h1"),e._uU(39,"Follow your favorite creators"),e.qZA(),e.TgZ(40,"p"),e._uU(41," No matter if they are photographers, film makers, bloggers, journalists or anyone else who likes to share and engage in communities and chats, Blockcore Notes have you covered with dynamic content layouts and organization of people. "),e.qZA()()(),e.TgZ(42,"mat-card",15)(43,"mat-card-content")(44,"h1"),e._uU(45,"Be humble and kind"),e.qZA(),e.TgZ(46,"p"),e._uU(47,"Being uncensorable and uncancellable means more responsibility is on you, you are in control and you are responsible."),e.qZA(),e.TgZ(48,"p"),e._uU(49,"\u{1f49b}\u{1f5a4}"),e.qZA(),e.YNc(50,$d,4,0,"p",12),e.qZA()()()()),2&i&&(e.xp6(10),e.Oqu(t.theme.darkMode?"dark_mode":"light_mode"),e.xp6(1),e.Q6J("ngIf",t.searchingForExtension),e.xp6(1),e.Q6J("ngIf",t.showInstallLink),e.xp6(1),e.Q6J("ngIf",t.extensionDiscovered),e.xp6(6),e.Q6J("ngIf",t.consent),e.xp6(1),e.Q6J("ngIf",!t.consent),e.xp6(30),e.Q6J("ngIf",t.consent))},dependencies:[F.O5,Yt.rH,Dt.zs,Dt.lW,Dt.RK,ca,Rs,Wn,Za],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.spaces[_ngcontent-%COMP%]{border-radius:10px;margin:1em 2em 1em 11em;padding:1.5em}.spaces-card[_ngcontent-%COMP%]{max-width:274px;border-radius:15px}.spaces-add[_ngcontent-%COMP%]{max-width:274px;border-radius:15px;box-sizing:border-box}.spaces-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}.spaces-header-image[_ngcontent-%COMP%]{background-image:url(https://material.angular.io/assets/img/examples/shiba1.jpg);background-size:cover}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%], .spaces[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%], .spaces[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}.spaces[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:1em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%], .spaces[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}.spaces-card[_ngcontent-%COMP%]{width:100%;max-width:100%}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}"]});var fl=y(5577),bc=y(4986),c1=y(1165),d1=y(3888),u1=y(9672);const h1=(0,d1.d)(r=>function(t=null){r(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function gh(r,i){const{first:t,each:n,with:a=m1,scheduler:l=i??bc.z,meta:v=null}=(0,c1.q)(r)?{first:r}:"number"==typeof r?{each:r}:r;if(null==t&&null==n)throw new TypeError("No timeout provided.");return(0,md.e)((T,G)=>{let z,be,Ve=null,bt=0;const Pt=Gt=>{be=(0,u1.f)(G,l,()=>{try{z.unsubscribe(),(0,ps.Xf)(a({meta:v,lastValue:Ve,seen:bt})).subscribe(G)}catch(ii){G.error(ii)}},Gt)};z=T.subscribe((0,fd.x)(G,Gt=>{be?.unsubscribe(),bt++,G.next(Ve=Gt),n>0&&Pt(n)},void 0,void 0,()=>{be?.closed||be?.unsubscribe(),Ve=null})),!bt&&Pt(null!=t?"number"==typeof t?t:+t-l.now():n)})}function m1(r){throw new h1(r)}class ao{constructor(i,t){this.db=i,this.utilities=t,this.circles=[]}initialize(){var i=this;return(0,we.Z)(function*(){if(!(yield i.db.storage.getCircle(0)))for(let n=0;n0)return this.circles.find(t=>t.id==i)}get(i){var t=this;return(0,we.Z)(function*(){if(null!=i)return t.circles.length>0?t.circles.find(n=>n.id==i):yield t.db.storage.getCircle(i)})()}put(i){var t=this;return(0,we.Z)(function*(){const n=t.utilities.now();i.created||(i.created=n),i.modified=n;const a=t.circles.findIndex(v=>v.id==i.id);a>-1?t.circles[a]=i:t.circles.push(i);const l=yield t.db.storage.putCircle(i);i.id=l})()}delete(i){var t=this;return(0,we.Z)(function*(){const n=t.circles.findIndex(a=>a.id==i);n>-1&&t.circles.splice(n,1),yield t.db.storage.deleteCircle(i)})()}}ao.DEFAULT=[{id:0,name:"Following",color:"#e91e63",style:1,public:!0},{id:1,name:"Text",color:"#7cb342",style:2,public:!0},{id:2,name:"Photo",color:"#ffb300",style:3,public:!0},{id:3,name:"Film",color:"#26c6da",style:4,public:!0},{id:4,name:"Music",color:"#ba9eea",style:5,public:!0},{id:5,name:"Podcast",color:"#ff8a65",style:6,public:!0},{id:6,name:"Private",color:"#607d8b",style:1,public:!1}],ao.\u0275fac=function(i){return new(i||ao)(e.LFG(Fr),e.LFG(pn.dU))},ao.\u0275prov=e.Yz7({token:ao,factory:ao.\u0275fac,providedIn:"root"});class pa{constructor(i,t,n,a,l,v,T,G,z,be,Ve){this.nostr=i,this.ui=t,this.circleService=n,this.storage=a,this.queueService=l,this.profileService=v,this.appState=T,this.utilities=G,this.validator=z,this.eventService=be,this.relayService=Ve,this.daysToKeepProfiles=14,this.cleanProfileInterval=36e5,this.profileBatchSize=20,this.refreshUserProfile=72e5,this.connected=!1,this.connected$=this.appState.connected$.pipe((0,Cr.U)(bt=>!0===bt)),this.isFetching=!1,this.profileQueue=[],this.queue=[],this.appState.connected$.subscribe(bt=>{console.log("Connection state changed: ",bt),this.connected=bt,this.connected&&this.initialDataLoad()})}publishRelays(){var i=this;return(0,we.Z)(function*(){const t=i.getArrayFomattedRelayList();let n={kind:10002,created_at:Math.floor(Date.now()/1e3),content:"",pubkey:i.appState.getPublicKey(),tags:t};const a=yield i.createAndSignEvent(n);a&&(console.log("PUBLISH EVENT:",a),i.relayService.publish(a))})()}getArrayFomattedRelayList(){return this.relayService.items.filter(i=>!0===i.public).map(i=>{let t=["r",i.url];return 2==i.type?t.push("read"):3==i.type&&t.push("write"),t})}getJsonFormattedRelayList(){let i={};return this.relayService.items.filter(t=>t.public).map(t=>{i[t.url]={read:1===t.type||2===t.type,write:1===t.type||3===t.type}}),i}createAndSignEvent(i){var t=this;return(0,we.Z)(function*(){let n=i;n.id=Ar(i),n=yield t.nostr.sign(i);const a=t.eventService.processEvent(n);if(!a)throw new Error("The event is not valid. Cannot publish.");if(!xa(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield Oa(a)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return a})()}getContactsAndRelays(){var i=this;return(0,we.Z)(function*(){return yield i.storage.storage.getContacts(i.appState.getPublicKey())})()}publishContactsAndRelays(){var i=this;return(0,we.Z)(function*(){const t=i.circleService.circles.filter(G=>!G.public).map(G=>G.id),a=i.profileService.following.filter(G=>-1==t.indexOf(G.circle)).map(G=>G.pubkey).map(G=>["p",G]),l=i.getJsonFormattedRelayList();let v={kind:Qi.Contacts,created_at:Math.floor(Date.now()/1e3),content:JSON.stringify(l),pubkey:i.appState.getPublicKey(),tags:a};const T=yield i.createAndSignEvent(v);T&&(console.log("PUBLISH EVENT:",T),i.relayService.publish(T))})()}initialDataLoad(){var i=this;return(0,we.Z)(function*(){i.relayService.subscribe([{authors:[i.appState.getPublicKey()],kinds:[Qi.Metadata,Qi.Contacts]}],"self"),i.profileService.following.map(a=>a.pubkey).unshift(i.appState.getPublicKey()),i.relayService.subscribe([{"#p":[i.appState.getPublicKey()],limit:100,kinds:[Qi.Text,Qi.Reaction,6]}],"notifications");const n=yield i.storage.storage.getNotifications(10);i.ui.putNotifications(n)})()}initialize(){var i=this;return(0,we.Z)(function*(){setTimeout((0,we.Z)(function*(){yield i.cleanProfiles()}),i.cleanProfileInterval)})()}enque(i){this.relayService.action("enque",i)}processQueues(){}processEventQueue(){}processProfileQueue(){}processContactsQueue(){}downloadNewestProfiles(i,t=1e4,n=-1){return this.downloadNewestProfileEvents(i,t,n).pipe((0,Cr.U)(a=>a?this.utilities.mapProfileEvent(a):void 0))}downloadNewestProfileEvents(i,t=1e4,n=-1){return this.downloadNewestProfileEventByQuery([{kinds:[0],authors:i}],t,n)}downloadNewestEvents(i,t,n=1e4,a=-1){return this.downloadNewestEventsByQuery([{kinds:t,authors:i}],n,a)}downloadEventsByTags(i,t=1e4){return this.downloadEventsByQuery(i)}downloadEvent(i,t=5e3){return this.downloadEventByQuery([{ids:[i]}],t)}downloadEventByQuery(i,t=1e4){let n;return this.connected$.pipe((0,fl.z)(()=>this.relayService.connectedRelays())).pipe((0,fl.z)(a=>this.downloadFromRelay(i,a,t))).pipe((0,Je.h)(a=>!n&&(n=a,!0))).pipe(gh(t),(0,tl.K)(a=>(console.warn("The observable was timed out."),(0,U.of)(void 0))))}downloadNewestEventsByQuery(i,t=1e4,n=-1){const a=[],l=this.relayService.connectedRelays().map(v=>this.downloadFromRelay(i,v));return(0,Ue.T)(...l).pipe((0,Je.h)((v,T)=>{let G=!1;return a.findIndex(be=>be.id===v.id)>-1?G=!1:(a.push(v),G=!0),n>-1&&0!=n&&n--,G})).pipe(gh(t),(0,tl.K)(v=>(console.warn("The observable was timed out."),(0,U.of)(void 0))))}downloadNewestProfileEventByQuery(i,t=1e4,n=-1){const a=this.relayService.connectedRelays().map(l=>this.downloadFromRelay(i,l));return(0,Ue.T)(...a).pipe(gh(t),(0,tl.K)(l=>(console.warn("The observable was timed out."),(0,U.of)(void 0))))}downloadEventsByQuery(i,t=1e4){return this.connected$.pipe((0,fl.z)(()=>this.relayService.connectedRelays())).pipe((0,fl.z)(n=>this.downloadFromRelay(i,n)))}updateMetadata(i){var t=this;return(0,we.Z)(function*(){const n=t.utilities.reduceProfile(i);let a=t.createEvent(Qi.Metadata,JSON.stringify(n));const l=yield t.signEvent(a);i.created_at=a.created_at,yield t.profileService.updateProfile(i.pubkey,i),yield t.publishEvent(l)})()}downloadFromRelay(i,t,n=1e4){return new lh.y(a=>{const l=t.sub([...i],{});return l.on("event",v=>{const T=this.eventService.processEvent(v);T&&a.next(T)}),l.on("eose",()=>{a.complete()}),()=>{l.unsub()}}).pipe(gh(n),(0,tl.K)(a=>(console.warn("The observable was timed out."),(0,U.of)())))}fetchProfiles(i,t){var n=this;if(!t||0===t.length)return;setTimeout(()=>{this.isFetching=!1;try{a.unsub()}catch(l){console.warn("Error during automatic failover for profile fetch.",l)}},3e4),this.isFetching=!0;let a=i.sub([{kinds:[0],authors:t}],{});a.on("event",function(){var l=(0,we.Z)(function*(v){const G=n.eventService.processEvent(v);if(G)try{const z=JSON.parse(G.content);n.validator.sanitizeProfile(z).created_at=G.created_at}catch{console.warn("This profile event was not parsed due to errors:",G)}});return function(v){return l.apply(this,arguments)}}()),a.on("eose",()=>{a.unsub(),this.isFetching=!1})}cleanProfiles(){return(0,we.Z)(function*(){})()}createEvent(i,t){return this.createEventWithPubkey(i,t,this.appState.getPublicKey())}createEventWithPubkey(i,t,n){return{kind:i,created_at:Math.floor(Date.now()/1e3),content:t,pubkey:n,tags:[]}}signArticle(i){var t=this;return(0,we.Z)(function*(){let n=i;if(n=yield t.nostr.sign(i),!t.eventService.processEvent(n))throw new Error("The event is not valid. Cannot publish.");if(!xa(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield Oa(n)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return n})()}signBadgeDefinition(i){var t=this;return(0,we.Z)(function*(){return t.signArticle(i)})()}signEvent(i){var t=this;return(0,we.Z)(function*(){let n=i;return n.id||(n.id=Ar(i)),t.signArticle(n)})()}publishEvent(i){var t=this;return(0,we.Z)(function*(){t.relayService.publish(i)})()}publishContacts(i){var t=this;return(0,we.Z)(function*(){const n=i.map(z=>["p",z]);let a={kind:3,created_at:Math.floor(Date.now()/1e3),content:"",pubkey:t.appState.getPublicKey(),tags:n},l=a;l.id=Ar(a),l=yield t.nostr.sign(a);const v=t.eventService.processEvent(l);if(!xa(l))throw new Error("The event is not valid. Cannot publish.");if(!(yield Oa(l)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");if(v){console.log("PUBLISH EVENT:",l);for(let z=0;z{console.log(`${be.url} has accepted our event`)}),Ve.on("failed",bt=>{console.log(`failed to publish to ${be.url}: ${bt}`)})}}})()}}pa.\u0275fac=function(i){return new(i||pa)(e.LFG(Ho),e.LFG(zr),e.LFG(ao),e.LFG(Fr),e.LFG(Br),e.LFG(Yn),e.LFG(Oe.i),e.LFG(pn.dU),e.LFG(ns.Y),e.LFG(Zr),e.LFG(ro))},pa.\u0275prov=e.Yz7({token:pa,factory:pa.\u0275fac,providedIn:"root"});var _h=new WeakMap;class za{constructor(i,t,n,a,l){St(this,_h,{writable:!0,value:void 0}),this.eventService=i,this.router=t,this.dialog=n,this.appState=a,this.dataService=l,Wt(this,_h,new Ne.X(void 0)),this.showMore$=_e(this,_h).asObservable(),this.currentThread=[]}showMore(){_e(this,_h).next()}openFeed(i,t){const n=i.composedPath();!n||0==n.length||-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/feed",t.id])}openEvent(i,t){this.currentEvent=t;const n=i.composedPath();n&&0!=n.length&&-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/e",t.id])}openProfile(i,t){this.currentProfile=t;const n=i.composedPath();!n||0==n.length||-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/p",t.pubkey])}saveNote(i){var t=this;return(0,we.Z)(function*(){console.log("save note data:",i);let n=i;"string"!=typeof n&&(n=JSON.stringify(n));let a=t.dataService.createEvent(Qi.Text,n);a.tags=t.eventService.parseContentReturnTags(a.content);const l=yield t.dataService.signEvent(a);yield t.dataService.publishEvent(l),t.router.navigate(["/e",l.id])})()}saveArticle(i){var t=this;return(0,we.Z)(function*(){console.log("save article data:",i);let n=i.content;"string"!=typeof n&&(n=JSON.stringify(n));let a=t.dataService.createEvent(Qi.Article,n);i.slug&&a.tags.push(["d",i.slug]),i.summary&&a.tags.push(["summary",i.summary]),i.title&&a.tags.push(["title",i.title]),i.image&&a.tags.push(["image",i.image]),a.tags.push(i.published_at?["published_at",i.published_at.toString()]:["published_at",a.created_at.toString()]);const l=i.tags.split(",").filter(T=>T);for(let T=0;T{class r{constructor(t){this.display="inline-block",this._dragDisabled=!1,this._elementRef=t}get dragDisabled(){return this._dragDisabled}set dragDisabled(t){this._dragDisabled=t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","drag-scroll-item",""]],hostVars:2,hostBindings:function(t,n){2&t&&e.Udp("display",n.display)},inputs:{dragDisabled:["drag-disabled","dragDisabled"]}}),r})(),p1=(()=>{class r{constructor(t,n,a){this._elementRef=t,this._renderer=n,this._document=a,this._index=0,this._scrollbarHidden=!1,this._disabled=!1,this._xDisabled=!1,this._xWheelEnabled=!1,this._yDisabled=!1,this._dragDisabled=!1,this._snapDisabled=!1,this._snapOffset=0,this._snapDuration=500,this._isDragging=!1,this.isPressed=!1,this.isScrolling=!1,this.scrollTimer=-1,this.scrollToTimer=-1,this.downX=0,this.downY=0,this.displayType="block",this.elWidth=null,this.elHeight=null,this._pointerEvents="auto",this.scrollbarWidth=null,this.isAnimating=!1,this.prevChildrenLength=0,this.indexBound=0,this.rtl=!1,this.dsInitialized=new e.vpe,this.indexChanged=new e.vpe,this.reachesLeftBound=new e.vpe,this.reachesRightBound=new e.vpe,this.snapAnimationFinished=new e.vpe,this.dragStart=new e.vpe,this.dragEnd=new e.vpe,this.scrollbarWidth=`${this.getScrollbarWidth()}px`}get isDragging(){return this._isDragging}get currIndex(){return this._index}set currIndex(t){t!==this._index&&(this._index=t,this.indexChanged.emit(t))}get scrollbarHidden(){return this._scrollbarHidden}set scrollbarHidden(t){this._scrollbarHidden=t}get disabled(){return this._disabled}set disabled(t){this._disabled=t}get xDisabled(){return this._xDisabled}set xDisabled(t){this._xDisabled=t}get yDisabled(){return this._yDisabled}set yDisabled(t){this._yDisabled=t}get xWheelEnabled(){return this._xWheelEnabled}set xWheelEnabled(t){this._xWheelEnabled=t}get dragDisabled(){return this._dragDisabled}set dragDisabled(t){this._dragDisabled=t}get snapDisabled(){return this._snapDisabled}set snapDisabled(t){this._snapDisabled=t}get snapOffset(){return this._snapOffset}set snapOffset(t){this._snapOffset=t}get snapDuration(){return this._snapDuration}set snapDuration(t){this._snapDuration=t}ngOnChanges(){this.setScrollBar(),this.xDisabled||this.disabled||this._scrollbarHidden?this.disableScroll("x"):this.enableScroll("x"),this.yDisabled||this.disabled?this.disableScroll("y"):this.enableScroll("y")}ngAfterViewInit(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","true"),this.displayType=typeof window<"u"?window.getComputedStyle(this._elementRef.nativeElement).display:"block",this._renderer.setStyle(this._contentRef.nativeElement,"display",this.displayType),this._renderer.setStyle(this._contentRef.nativeElement,"whiteSpace","noWrap"),this.markElDimension(),this._renderer.setStyle(this._contentRef.nativeElement,"width",this.elWidth),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.elHeight),this.wrapper&&this.checkScrollbar(),this._onMouseDownListener=this._renderer.listen(this._contentRef.nativeElement,"mousedown",this.onMouseDownHandler.bind(this)),this._onScrollListener=this._renderer.listen(this._contentRef.nativeElement,"scroll",this.onScrollHandler.bind(this)),this._onDragStartListener=this._renderer.listen(this._contentRef.nativeElement,"dragstart",t=>{t.preventDefault()}),this.checkNavStatus(),this.dsInitialized.emit(),this.adjustMarginToLastChild(),this.rtl="rtl"===getComputedStyle(this._contentRef.nativeElement).getPropertyValue("direction")}ngAfterViewChecked(){this._children.length!==this.prevChildrenLength&&(this.markElDimension(),this.checkScrollbar(),this.prevChildrenLength=this._children.length,this.checkNavStatus())}ngOnDestroy(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","false"),this._onMouseDownListener&&(this._onMouseDownListener=this._onMouseDownListener()),this._onScrollListener&&(this._onScrollListener=this._onScrollListener()),this._onDragStartListener&&(this._onDragStartListener=this._onDragStartListener())}onMouseMoveHandler(t){this.onMouseMove(t)}onMouseMove(t){if((t.clientX!==this.downX||t.clientY!==this.downY)&&this.isPressed&&!this.disabled){if(!t.buttons&&!t.which)return this.onMouseUpHandler(t);if(this._pointerEvents="none",this._setIsDragging(!0),!this.xDisabled&&!this.dragDisabled){const n=t.clientX;this._contentRef.nativeElement.scrollLeft=this._contentRef.nativeElement.scrollLeft-n+this.downX,this.downX=n}if(!this.yDisabled&&!this.dragDisabled){const n=t.clientY;this._contentRef.nativeElement.scrollTop=this._contentRef.nativeElement.scrollTop-n+this.downY,this.downY=n}}}onMouseDownHandler(t){const n=this.locateDragScrollItem(t.target);if(n&&n.dragDisabled)return;this._startGlobalListening("touchstart"===t.type),this.isPressed=!0;const l=t;this.downX=l.clientX,this.downY=l.clientY,clearTimeout(this.scrollToTimer)}onScrollHandler(){this.checkNavStatus(),this.isPressed||this.isAnimating||this.snapDisabled?this.locateCurrentIndex():(this.isScrolling=!0,clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.isScrolling=!1,this.locateCurrentIndex(!0)},500))}onMouseUpHandler(t){this.isPressed&&(this.isPressed=!1,this._pointerEvents="auto",this._setIsDragging(!1),this.snapDisabled?this.locateCurrentIndex():this.locateCurrentIndex(!0),this._stopGlobalListening())}moveLeft(){(0!==this.currIndex||this.snapDisabled)&&(this.currIndex--,clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}moveRight(){const t=this.wrapper||this.parentNode,n=t?t.clientWidth:0;!this.isScrollReachesRightEnd()&&this.currIndex=0&&t!==this.currIndex&&this.currIndex<=this.maximumIndex(a,this._children.toArray())&&(this.currIndex=Math.min(t,this.maximumIndex(a,this._children.toArray())),clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}checkNavStatus(){setTimeout(()=>{const t=Boolean(this._children.length<=1),n=Boolean(this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth);t||n?(this.reachesLeftBound.emit(!0),this.reachesRightBound.emit(!0)):this.isScrollReachesRightEnd()?(this.reachesLeftBound.emit(!1),this.reachesRightBound.emit(!0)):0===this._contentRef.nativeElement.scrollLeft&&this._contentRef.nativeElement.scrollWidth>this._contentRef.nativeElement.clientWidth?(this.reachesLeftBound.emit(!0),this.reachesRightBound.emit(!1)):(this.reachesLeftBound.emit(!1),this.reachesRightBound.emit(!1))},0)}onWheel(t){this._xWheelEnabled&&(t.preventDefault(),this._snapDisabled?this._contentRef.nativeElement.scrollBy(t.deltaY,0):t.deltaY<0?this.moveLeft():t.deltaY>0&&this.moveRight())}onWindowResize(){this.refreshWrapperDimensions(),this.checkNavStatus()}_setIsDragging(t){this._isDragging!==t&&(this._isDragging=t,t?this.dragStart.emit():this.dragEnd.emit())}_startGlobalListening(t){this._onMouseMoveListener||(this._onMouseMoveListener=this._renderer.listen("document",t?"touchmove":"mousemove",this.onMouseMoveHandler.bind(this))),this._onMouseUpListener||(this._onMouseUpListener=this._renderer.listen("document",t?"touchend":"mouseup",this.onMouseUpHandler.bind(this)))}_stopGlobalListening(){this._onMouseMoveListener&&(this._onMouseMoveListener=this._onMouseMoveListener()),this._onMouseUpListener&&(this._onMouseUpListener=this._onMouseUpListener())}disableScroll(t){this._renderer.setStyle(this._contentRef.nativeElement,`overflow-${t}`,"hidden")}enableScroll(t){this._renderer.setStyle(this._contentRef.nativeElement,`overflow-${t}`,"auto")}hideScrollbar(){"none"!==this._contentRef.nativeElement.style.display&&!this.wrapper&&(this.parentNode=this._contentRef.nativeElement.parentNode,this.wrapper=this._renderer.createElement("div"),this._renderer.setAttribute(this.wrapper,"class","drag-scroll-wrapper"),this._renderer.addClass(this.wrapper,"drag-scroll-container"),this.refreshWrapperDimensions(),this._renderer.setStyle(this.wrapper,"overflow","hidden"),this._renderer.setStyle(this._contentRef.nativeElement,"width",`calc(100% + ${this.scrollbarWidth})`),this._renderer.setStyle(this._contentRef.nativeElement,"height",`calc(100% + ${this.scrollbarWidth})`),this._renderer.appendChild(this._elementRef.nativeElement,this.wrapper),this._renderer.appendChild(this.wrapper,this._contentRef.nativeElement),this.adjustMarginToLastChild())}showScrollbar(){this.wrapper&&(this._renderer.setStyle(this._contentRef.nativeElement,"width","100%"),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.wrapper.style.height),null!==this.parentNode&&(this.parentNode.removeChild(this.wrapper),this.parentNode.appendChild(this._contentRef.nativeElement)),this.wrapper=null,this.adjustMarginToLastChild())}checkScrollbar(){this._renderer.setStyle(this._contentRef.nativeElement,"height",this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth?"100%":`calc(100% + ${this.scrollbarWidth})`),this._renderer.setStyle(this._contentRef.nativeElement,"width",this._contentRef.nativeElement.scrollHeight<=this._contentRef.nativeElement.clientHeight?"100%":`calc(100% + ${this.scrollbarWidth})`)}setScrollBar(){this.scrollbarHidden?this.hideScrollbar():this.showScrollbar()}getScrollbarWidth(){const t=this._renderer.createElement("div");this._renderer.setStyle(t,"visibility","hidden"),this._renderer.setStyle(t,"width","100px"),this._renderer.setStyle(t,"msOverflowStyle","scrollbar"),this._renderer.appendChild(this._document.body,t);const n=t.offsetWidth;this._renderer.setStyle(t,"overflow","scroll");const a=this._renderer.createElement("div");this._renderer.setStyle(a,"width","100%"),this._renderer.appendChild(t,a);const l=a.offsetWidth;return this._renderer.removeChild(this._document.body,t),n-l||20}refreshWrapperDimensions(){this.wrapper&&(this._renderer.setStyle(this.wrapper,"width","100%"),this._renderer.setStyle(this.wrapper,"height",this._elementRef.nativeElement.style.height>0||this._elementRef.nativeElement.offsetHeight>0?this._elementRef.nativeElement.style.height||this._elementRef.nativeElement.offsetHeight+"px":"100%"))}scrollTo(t,n,a){const l=this;l.isAnimating=!0;const T=t.scrollLeft,G=(this.rtl?-1:1)*n-T-this.snapOffset;let be=0;const bt=function(){var Pt,Gt,ii;be+=20,t.scrollLeft=(Pt=be,Gt=T,ii=G,(Pt/=a/2)<1?ii/2*Pt*Pt+Gt:-ii/2*(--Pt*(Pt-2)-1)+Gt),be{l.isAnimating=!1,l.snapAnimationFinished.emit(l.currIndex)},20)};bt()}locateCurrentIndex(t){const n=Math.abs(this._contentRef.nativeElement.scrollLeft);this.currentChildWidth((a,l,v,T,G)=>{n>=v&&n<=l?(l-n>a/2&&!this.isScrollReachesRightEnd()?(this.isAnimating||(this.currIndex=T),t&&this.scrollTo(this._contentRef.nativeElement,v,this.snapDuration)):0!==n&&(this.isAnimating||(this.currIndex=T+1),t&&this.scrollTo(this._contentRef.nativeElement,v+a,this.snapDuration)),G()):T+1===this._children.length-1&&(this.isAnimating||(this.currIndex=T+1),G())})}currentChildWidth(t){let n=0,a=!1;const l=function(){a=!0},v=this._children.toArray();for(let T=0;T1&&(this.indexBound=this.maximumIndex(t?t.clientWidth:0,this._children.toArray()))}maximumIndex(t,n){let a=0,l=0;for(let v=0;v<=n.length;v++){const T=n[n.length-1-v];if(!T)break;{const G=T._elementRef.nativeElement;let z=G.clientWidth;if(0===z&&G.firstElementChild&&(z=T._elementRef.nativeElement.firstElementChild.clientWidth),l+=z,!(l=this._contentRef.nativeElement.scrollWidth}adjustMarginToLastChild(){if(this._children&&this._children.length>0&&this.hideScrollbar){const t=this._children.toArray();this._renderer.setStyle(t[t.length-1]._elementRef.nativeElement,"margin-right",this.wrapper&&t.length>1?this.scrollbarWidth:0)}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(F.K0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["drag-scroll"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,$w,5),2&t){let l;e.iGM(l=e.CRH())&&(n._children=l)}},viewQuery:function(t,n){if(1&t&&e.Gf(Kw,7),2&t){let a;e.iGM(a=e.CRH())&&(n._contentRef=a.first)}},hostVars:2,hostBindings:function(t,n){1&t&&e.NdJ("wheel",function(l){return n.onWheel(l)})("resize",function(){return n.onWindowResize()},!1,e.Jf7),2&t&&e.Udp("pointer-events",n._pointerEvents)},inputs:{scrollbarHidden:["scrollbar-hidden","scrollbarHidden"],disabled:["drag-scroll-disabled","disabled"],xDisabled:["drag-scroll-x-disabled","xDisabled"],yDisabled:["drag-scroll-y-disabled","yDisabled"],xWheelEnabled:["scroll-x-wheel-enabled","xWheelEnabled"],dragDisabled:["drag-disabled","dragDisabled"],snapDisabled:["snap-disabled","snapDisabled"],snapOffset:["snap-offset","snapOffset"],snapDuration:["snap-duration","snapDuration"]},outputs:{dsInitialized:"dsInitialized",indexChanged:"indexChanged",reachesLeftBound:"reachesLeftBound",reachesRightBound:"reachesRightBound",snapAnimationFinished:"snapAnimationFinished",dragStart:"dragStart",dragEnd:"dragEnd"},features:[e.TTD],ngContentSelectors:f1,decls:3,vars:0,consts:[[1,"drag-scroll-content"],["contentRef",""]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},styles:["[_nghost-%COMP%]{overflow:hidden;display:block}.drag-scroll-content[_ngcontent-%COMP%]{height:100%;overflow:auto;white-space:nowrap}"]}),r})(),Kp=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();var kr=y(5589);const Xw=["tooltip"],Xm=new e.OlP("mat-tooltip-scroll-strategy"),ef={provide:Xm,deps:[_.aV],useFactory:function e2(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},Xp=new e.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function tf(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),nf="tooltip-panel",eg=(0,x.i$)({passive:!0});let b1=(()=>{class r{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=(0,st.Ig)(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=(0,st.su)(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=(0,st.su)(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,n,a,l,v,T,G,z,be,Ve,bt,Pt){this._overlay=t,this._elementRef=n,this._scrollDispatcher=a,this._viewContainerRef=l,this._ngZone=v,this._platform=T,this._ariaDescriber=G,this._focusMonitor=z,this._dir=Ve,this._defaultOptions=bt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new D.x,this._scrollStrategy=be,this._document=Pt,bt&&(bt.position&&(this.position=bt.position),bt.positionAtOrigin&&(this.positionAtOrigin=bt.positionAtOrigin),bt.touchGestures&&(this.touchGestures=bt.touchGestures)),Ve.change.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,Ji.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([n,a])=>{t.removeEventListener(n,a,eg)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,n){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const a=this._createOverlay(n);this._detach(),this._portal=this._portal||new k.C5(this._tooltipComponent,this._viewContainerRef);const l=this._tooltipInstance=a.attach(this._portal).instance;l._triggerElement=this._elementRef.nativeElement,l._mouseLeaveHideDelay=this._hideDelay,l.afterHidden().pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),l.show(t)}hide(t=this.hideDelay){const n=this._tooltipInstance;n&&(n.isVisible()?n.hide(t):(n._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){const l=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&l._origin instanceof e.SBq)return this._overlayRef;this._detach()}const n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),a=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&t||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n);return a.positionChanges.pipe((0,Ji.R)(this._destroyed)).subscribe(l=>{this._updateCurrentPositionClass(l.connectionPair),this._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:`${this._cssClassPrefix}-${nf}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,Ji.R)(this._destroyed)).subscribe(l=>{this._isTooltipVisible()&&l.keyCode===S.hY&&!(0,S.Vb)(l)&&(l.preventDefault(),l.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(t){const n=t.getConfig().positionStrategy,a=this._getOrigin(),l=this._getOverlayPosition();n.withPositions([this._addOffset({...a.main,...l.main}),this._addOffset({...a.fallback,...l.fallback})])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,n=this.position;let a;"above"==n||"below"==n?a={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&t||"right"==n&&!t?a={originX:"start",originY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(a={originX:"end",originY:"center"});const{x:l,y:v}=this._invertPosition(a.originX,a.originY);return{main:a,fallback:{originX:l,originY:v}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,n=this.position;let a;"above"==n?a={overlayX:"center",overlayY:"bottom"}:"below"==n?a={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&t||"right"==n&&!t?a={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(a={overlayX:"start",overlayY:"center"});const{x:l,y:v}=this._invertPosition(a.overlayX,a.overlayY);return{main:a,fallback:{overlayX:l,overlayY:v}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Ie.q)(1),(0,Ji.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,n){return"above"===this.position||"below"===this.position?"top"===n?n="bottom":"bottom"===n&&(n="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:n}}_updateCurrentPositionClass(t){const{overlayY:n,originX:a,originY:l}=t;let v;if(v="center"===n?this._dir&&"rtl"===this._dir.value?"end"===a?"left":"right":"start"===a?"left":"right":"bottom"===n&&"top"===l?"above":"below",v!==this._currentPosition){const T=this._overlayRef;if(T){const G=`${this._cssClassPrefix}-${nf}-`;T.removePanelClass(G+this._currentPosition),T.addPanelClass(G+v)}this._currentPosition=v}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{let n;this._setupPointerExitEventsIfNeeded(),void 0!==t.x&&void 0!==t.y&&(n=t),this.show(void 0,n)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{const n=t.targetTouches?.[0],a=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,a),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",n=>{const a=n.relatedTarget;(!a||!this._overlayRef?.overlayElement.contains(a))&&this.hide()}],["wheel",n=>this._wheelListener(n)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",n],["touchcancel",n])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([n,a])=>{this._elementRef.nativeElement.addEventListener(n,a,eg)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const n=this._document.elementFromPoint(t.clientX,t.clientY),a=this._elementRef.nativeElement;n!==a&&!a.contains(n)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const n=this._elementRef.nativeElement,a=n.style;("on"===t||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName)&&(a.userSelect=a.msUserSelect=a.webkitUserSelect=a.MozUserSelect="none"),("on"===t||!n.draggable)&&(a.webkitUserDrag="none"),a.touchAction="none",a.webkitTapHighlightColor="transparent"}}}return r.\u0275fac=function(t){e.$Z()},r.\u0275dir=e.lG2({type:r,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),r})(),fo=(()=>{class r extends b1{constructor(t,n,a,l,v,T,G,z,be,Ve,bt,Pt){super(t,n,a,l,v,T,G,z,be,Ve,bt,Pt),this._tooltipComponent=r2,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(t){const a=!this._dir||"ltr"==this._dir.value;return"top"===t.originY?t.offsetY=-8:"bottom"===t.originY?t.offsetY=8:"start"===t.originX?t.offsetX=a?-8:8:"end"===t.originX&&(t.offsetX=a?8:-8),t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(_.aV),e.Y36(e.SBq),e.Y36(kr.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(g.$s),e.Y36(g.tE),e.Y36(Xm),e.Y36(I.Is,8),e.Y36(Xp,8),e.Y36(F.K0))},r.\u0275dir=e.lG2({type:r,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[e.qOj]}),r})(),y1=(()=>{class r{constructor(t,n){this._changeDetectorRef=t,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new D.x,this._animationsDisabled="NoopAnimations"===n}show(t){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}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:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){const n=this._tooltip.nativeElement,a=this._showAnimation,l=this._hideAnimation;if(n.classList.remove(t?l:a),n.classList.add(t?a:l),this._isVisible=t,t&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const v=getComputedStyle(n);("0s"===v.getPropertyValue("animation-duration")||"none"===v.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r}),r})(),r2=(()=>{class r extends y1{constructor(t,n,a){super(t,a),this._elementRef=n,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>24&&t.width>=200}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tooltip-component"]],viewQuery:function(t,n){if(1&t&&e.Gf(Xw,7),2&t){let a;e.iGM(a=e.CRH())&&(n._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,n){1&t&&e.NdJ("mouseleave",function(l){return n._handleMouseLeave(l)}),2&t&&e.Udp("zoom",n.isVisible()?1:null)},features:[e.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0,1),e.NdJ("animationend",function(l){return n._handleAnimationEnd(l)}),e.TgZ(2,"div",2),e._uU(3),e.qZA()()),2&t&&(e.ekj("mdc-tooltip--multiline",n._isMultiline),e.Q6J("ngClass",n.tooltipClass),e.xp6(3),e.Oqu(n.message))},dependencies:[F.mk],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.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}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.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}),r})(),ng=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[ef],imports:[g.rt,F.ez,_.U8,ae.BQ,ae.BQ,kr.ZD]}),r})();function v1(r,i){1&r&&(e.TgZ(0,"mat-icon",1),e._uU(1,"public"),e.qZA()),2&r&&e.Q6J("matTooltip",i.$implicit)}class jo{constructor(i){this.profiles=i,this.pubkey=""}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.profile||(i.profile=yield i.profiles.getLocalProfile(i.pubkey)),i.profile&&(i.verifications=i.profile.verifications)})()}}function w1(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,", "),e.qZA())}function x1(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,w1,2,0,"span",1),e.qZA()),2&r){const t=i.$implicit,n=i.last;e.xp6(1),e.hij(" ",t,""),e.xp6(1),e.Q6J("ngIf",!n)}}jo.\u0275fac=function(i){return new(i||jo)(e.Y36(Yn))},jo.\u0275cmp=e.Xpm({type:jo,selectors:[["app-directory-icon"]],inputs:{pubkey:"pubkey",profile:"profile"},decls:1,vars:1,consts:[["class","directory-icon",3,"matTooltip",4,"ngFor","ngForOf"],[1,"directory-icon",3,"matTooltip"]],template:function(i,t){1&i&&e.YNc(0,v1,2,1,"mat-icon",0),2&i&&e.Q6J("ngForOf",t.verifications)},dependencies:[F.sg,Wn,fo],encapsulation:2});class Xd{constructor(i){this.utilities=i,this.relayNames=[]}ngOnInit(){var i=this;return(0,we.Z)(function*(){if(i.relayNames=[],null==i.relays)return;const t=JSON.parse(i.relays);i.relayNames=i.utilities.getRelayUrls(t)})()}}Xd.\u0275fac=function(i){return new(i||Xd)(e.Y36(pn.dU))},Xd.\u0275cmp=e.Xpm({type:Xd,selectors:[["app-relay-list"]],inputs:{relays:"relays"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(i,t){1&i&&e.YNc(0,x1,3,2,"span",0),2&i&&e.Q6J("ngForOf",t.relayNames)},dependencies:[F.sg,F.O5],encapsulation:2});class eu{constructor(i){this.utilities=i}transform(i){return i&&(i.startsWith("npub")?i:this.utilities.getNostrIdentifier(i))}}function F1(r,i){if(1&r&&e._UZ(0,"img",8),2&r){const t=e.oxw();e.Udp("border-color",null==t.circle?null:t.circle.color),e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}function C1(r,i){if(1&r&&e._UZ(0,"img",9),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}eu.\u0275fac=function(i){return new(i||eu)(e.Y36(pn.dU,16))},eu.\u0275pipe=e.Yjl({name:"bech32",type:eu,pure:!0});const rg=function(r){return["/p",r]};function k1(r,i){if(1&r&&(e.TgZ(0,"div",10)(1,"a",2)(2,"span",11),e._uU(3),e.qZA()()()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("routerLink",e.VKq(5,rg,t.pubkey)),e.xp6(1),e.ekj("muted",2==(null==t.profile?null:t.profile.status)),e.Q6J("matTooltip",t.tooltipName),e.xp6(1),e.Oqu(t.profileName)}}function rf(r,i){if(1&r&&(e.TgZ(0,"div"),e._uU(1),e.qZA(),e.TgZ(2,"div"),e._uU(3),e.qZA(),e.TgZ(4,"div"),e._uU(5),e.qZA(),e.TgZ(6,"div"),e._uU(7),e.qZA(),e.TgZ(8,"div"),e._uU(9),e.qZA(),e.TgZ(10,"div"),e._uU(11),e.qZA(),e.TgZ(12,"div"),e._uU(13),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(null==t.profile?null:t.profile.display_name),e.xp6(2),e.Oqu(null==t.profile?null:t.profile.name),e.xp6(2),e.Oqu(null==t.profile?null:t.profile.nip05),e.xp6(2),e.Oqu(null==t.profile?null:t.profile.website),e.xp6(2),e.Oqu(null==t.profile?null:t.profile.lud06),e.xp6(2),e.Oqu(null==t.profile?null:t.profile.lud16),e.xp6(2),e.Oqu(null==t.profile||null==t.profile.following?null:t.profile.following.length)}}function yc(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Display Name:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.display_name,"")}}function o2(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Name:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.name,"")}}function s2(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"NIP05:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.nip05,"")}}function ag(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Public Key (npub):"),e.qZA(),e._uU(3),e.ALo(4,"bech32"),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",e.lcZ(4,1,t.profile.pubkey),"")}}function qc(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Public Key (hex):"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.pubkey,"")}}function og(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Website:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.website,"")}}function l2(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"lud06:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.lud06,"")}}function sg(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"lud16:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.lud16,"")}}function wk(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Following:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.following.length,"")}}function xk(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"About:"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.hij(" ",t.profile.about,"")}}function c2(r,i){if(1&r&&(e.TgZ(0,"div")(1,"span",16),e._uU(2,"Relays:"),e.qZA(),e._UZ(3,"app-relay-list",17),e.qZA()),2&r){const t=e.oxw(3);e.xp6(3),e.Q6J("relays",t.profile.relays)}}function d2(r,i){if(1&r&&(e.TgZ(0,"div",14),e.YNc(1,yc,4,1,"div",15),e.YNc(2,o2,4,1,"div",15),e.YNc(3,s2,4,1,"div",15),e.YNc(4,ag,5,3,"div",15),e.YNc(5,qc,4,1,"div",15),e.YNc(6,og,4,1,"div",15),e.YNc(7,l2,4,1,"div",15),e.YNc(8,sg,4,1,"div",15),e.YNc(9,wk,4,1,"div",15),e.YNc(10,xk,4,1,"div",15),e.YNc(11,c2,4,1,"div",15),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.profile.display_name),e.xp6(1),e.Q6J("ngIf",t.profile.name),e.xp6(1),e.Q6J("ngIf",t.profile.nip05),e.xp6(1),e.Q6J("ngIf",t.profile.pubkey),e.xp6(1),e.Q6J("ngIf",t.profile.pubkey),e.xp6(1),e.Q6J("ngIf",t.profile.website),e.xp6(1),e.Q6J("ngIf",t.profile.lud06),e.xp6(1),e.Q6J("ngIf",t.profile.lud16),e.xp6(1),e.Q6J("ngIf",t.profile.following),e.xp6(1),e.Q6J("ngIf",t.profile.about),e.xp6(1),e.Q6J("ngIf",t.profile.relays)}}function D1(r,i){if(1&r&&(e.TgZ(0,"div",12),e.Hsn(1),e.YNc(2,d2,12,11,"div",13),e.qZA()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.profile&&"content"==t.listType)}}const M1=function(r){return[r]};var bh=new WeakMap,yh=new WeakMap;class Ro{set profile(i){Wt(this,bh,i),Wt(this,yh,i.pubkey),this.updateProfileDetails()}get profile(){return _e(this,bh)}set pubkey(i){var t=this;Wt(this,yh,i),this.profiles.getProfile(i).then(function(){var n=(0,we.Z)(function*(a){Wt(t,bh,a),yield t.updateProfileDetails()});return function(a){return n.apply(this,arguments)}}())}get pubkey(){return _e(this,yh)}constructor(i,t,n,a,l){St(this,bh,{writable:!0,value:void 0}),St(this,yh,{writable:!0,value:void 0}),this.ui=i,this.queueService=t,this.profiles=n,this.circleService=a,this.utilities=l,this.displayName=!0,this.displayContent=!0,this.iconSize="small",this.listType="list",Wt(this,yh,""),this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.subscriptions=[]}ngAfterViewInit(){}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}ngOnChanges(i){}ngOnInit(){return(0,we.Z)(function*(){})()}updateProfileDetails(){var i=this;return(0,we.Z)(function*(){i.profile&&(i.profile.picture&&(i.imagePath=i.profile.picture),i.tooltip=i.profile.about,i.tooltipName=i.profileName,i.profileName=i.profile.display_name||i.profile.name||i.profileName,i.circle=yield i.circleService.get(i.profile.circle))})()}}Ro.\u0275fac=function(i){return new(i||Ro)(e.Y36(zr),e.Y36(Br),e.Y36(Yn),e.Y36(ao),e.Y36(pn.dU))},Ro.\u0275cmp=e.Xpm({type:Ro,selectors:[["app-event-header"]],inputs:{displayName:"displayName",displayContent:"displayContent",iconSize:"iconSize",listType:"listType",profile:"profile",pubkey:"pubkey"},features:[e.TTD],ngContentSelectors:["*"],decls:8,vars:14,consts:[[1,"event-header",3,"ngClass"],[1,"icon",3,"ngClass"],[3,"routerLink"],["onerror","this.src='/assets/profile.png'","class","profile-image profile-image-follow","matTooltipPosition","above",3,"matTooltip","borderColor","src",4,"ngIf"],["loading","lazy","onerror","this.src='/assets/profile.png'","class","profile-image","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],["class","name clickable",4,"ngIf"],[3,"ngIf"],["class","date clickable",4,"ngIf"],["onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image","profile-image-follow",3,"matTooltip","src"],["loading","lazy","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image",3,"matTooltip","src"],[1,"name","clickable"],["matTooltipPosition","above",3,"matTooltip"],[1,"date","clickable"],["class","content-items",4,"ngIf"],[1,"content-items"],[4,"ngIf"],[1,"content-item-label"],[3,"relays"]],template:function(i,t){1&i&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"a",2),e.YNc(3,F1,1,4,"img",3),e.YNc(4,C1,1,2,"img",4),e.qZA()(),e.YNc(5,k1,4,7,"div",5),e.YNc(6,rf,14,7,"ng-template",6),e.YNc(7,D1,3,1,"div",7),e.qZA()),2&i&&(e.Q6J("ngClass",e.VKq(8,M1,"event-header-"+t.listType)),e.xp6(1),e.Q6J("ngClass",e.VKq(10,M1,"icon-"+t.iconSize)),e.xp6(1),e.Q6J("routerLink",e.VKq(12,rg,t.pubkey)),e.xp6(1),e.Q6J("ngIf",1==(null==t.profile?null:t.profile.status)||2==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",1!=(null==t.profile?null:t.profile.status)&&2!=(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",t.displayName),e.xp6(1),e.Q6J("ngIf","details"==t.listType),e.xp6(1),e.Q6J("ngIf",t.displayContent))},dependencies:[F.mk,F.O5,Yt.rH,fo,Xd,eu],styles:[".icon-large[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{width:256px;height:256px}.icon-medium[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{object-fit:cover;width:128px;height:128px;border-radius:50%}.icon-thumbnail[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{object-fit:cover;width:64px;height:64px;border-radius:50%;border-width:2px;margin-left:2px;margin-right:2px;margin-bottom:2px}.icon-small[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{object-fit:cover;width:48px;height:48px;border-radius:50%;border-width:2px;margin-left:4px;margin-right:4px;margin-bottom:2px}.content-items[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-wrap:break-word;line-break:anywhere}"]});class pl{constructor(i,t){this.dialogRef=i,this.data=t}onNoClick(){this.data.picture="",this.dialogRef.close()}}pl.\u0275fac=function(i){return new(i||pl)(e.Y36(Ae),e.Y36(_t))},pl.\u0275cmp=e.Xpm({type:pl,selectors:[["profile-image-dialog"]],decls:1,vars:1,consts:[["loading","lazy",1,"profile-image-original",3,"src","click"]],template:function(i,t){1&i&&(e.TgZ(0,"img",0),e.NdJ("click",function(){return t.onNoClick()}),e.qZA()),2&i&&e.Q6J("src",t.data.picture,e.LSH)},styles:[".profile-image-original[_ngcontent-%COMP%]{max-width:100%;cursor:pointer}"]});class Qc{getKeyword(i){return this.keywords.get(i)}constructor(){this.regexpVideo=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:mp4|webm))/gi,this.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/gi,this.regexpYouTube=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,this.regexpThisIsTheWay=/(?:thisistheway.gif)/g,this.regexpAlwaysHasBeen=/(?:alwayshasbeen.jpg)/g,this.regexpSpotify=/((http|https?)?(.+?\.?)(open.spotify.com)(.+?\.?)?)/gi,this.regexpTidal=/((http|https?)?(.+?\.?)(tidal.com)(.+?\.?)?)/gi,this.regexpUrl=/([\w+]+\:\/\/)?([\w\d-]+\.)*[\w-]+[\.\:]\w+([\/\?\=\&\#.]?[\w-]+)*\/?/gi,this.keywords=new Map,this.keywords.set("
",{token:"linebreak"}),this.keywords.set("
",{token:"linebreak"}),this.keywords.set("thisistheway.gif",{token:"meme",tooltip:"This is the way (thisistheway.gif)",word:"https://i.ytimg.com/vi/LaiN63o_BxA/maxresdefault.jpg"}),this.keywords.set("thisistheway.jpg",{token:"meme",tooltip:"This is the way (thisistheway.jpg)",word:"https://i.ytimg.com/vi/LaiN63o_BxA/maxresdefault.jpg"}),this.keywords.set("alwayshasbeen.gif",{token:"meme",tooltip:"Always has been (alwayshasbeen.gif)",word:"https://imgflip.com/s/meme/Always-Has-Been.png"}),this.keywords.set("alwayshasbeen.jpg",{token:"meme",tooltip:"Always has been (alwayshasbeen.jpg)",word:"https://imgflip.com/s/meme/Always-Has-Been.png"}),this.keywords.set("onehourlater.gif",{token:"meme",tooltip:"One hour later (onehourlater.gif)",word:"https://i.giphy.com/media/3ogwG36LKIkM937ZG8/giphy.webp"}),this.keywords.set("onehourlater.jpg",{token:"meme",tooltip:"One hour later (onehourlater.jpg)",word:"https://i.giphy.com/media/3ogwG36LKIkM937ZG8/giphy.webp"});for(let i=0;i<100;i++)this.keywords.set("#["+i+"]",{token:"username"})}}Qc.\u0275fac=function(i){return new(i||Qc)},Qc.\u0275prov=e.Yz7({token:Qc,factory:Qc.\u0275fac,providedIn:"root"});class gl{get canPrevious(){return this.index>0}get canNext(){return this.index{this.audio&&this.audio.pause()}),navigator.mediaSession.setActionHandler("seekbackward",()=>{this.rewind(10)}),navigator.mediaSession.setActionHandler("seekforward",()=>{this.forward(10)}),navigator.mediaSession.setActionHandler("previoustrack",()=>{this.canPrevious&&this.previous()}),navigator.mediaSession.setActionHandler("nexttrack",()=>{this.canNext&&this.next()})}exit(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.audio=void 0),this.index=-1,this.current=void 0,this.options.values.showMediaPlayer=!1,this.media=[]}play(i){this.options.values.showMediaPlayer=!0,this.media=[],this.media.push(i),this.start()}enque(i){this.options.values.showMediaPlayer=!0,this.media.push(i)}dequeue(i){const t=this.media.findIndex(n=>n===i);-1!==t&&this.media.splice(t,1)}start(){var i=this;return(0,we.Z)(function*(){-1===i.index&&(i.index=0);const t=i.media[i.index];t&&(i.current=t,i.options.values.showMediaPlayer=!0,"YouTube"===t.type?(i.videoMode=!0,i.youtubeUrl=i.utilities.sanitizeUrlAndBypassFrame(t.source+"?autoplay=1")):"Video"===t.type?(i.videoMode=!0,i.videoUrl=i.utilities.sanitizeUrlAndBypassFrame(t.source)):(i.videoMode=!1,i.audio?i.audio.src=t.source:i.audio=new Audio(t.source),yield i.audio.play()),navigator.mediaSession.metadata=new MediaMetadata({title:t.title,artist:t.artist,album:"Blockcore Notes",artwork:[{src:t.artwork}]}),navigator.mediaSession.playbackState="playing")})()}resume(){var i=this;return(0,we.Z)(function*(){if(i.videoMode)i.youtubeUrl=i.pausedYouTubeUrl,i.pausedYouTubeUrl=void 0;else{if(!i.audio)return void i.start();console.log("RESUME!");try{yield i.audio.play()}catch(t){console.error(t)}}navigator.mediaSession.playbackState="playing"})()}pause(){if(this.videoMode)this.pausedYouTubeUrl=this.youtubeUrl,this.youtubeUrl=void 0;else{if(!this.audio)return;this.audio.pause()}navigator.mediaSession.playbackState="paused"}next(){this.index++,this.start()}previous(){this.index--,this.start()}get error(){return this.audio?.error}get paused(){return this.videoMode?null==this.youtubeUrl:!this.audio||this.audio.paused}get muted(){return!!this.audio&&this.audio.muted}get time(){return this.audio?Math.floor(this.audio.currentTime):10}set time(i){this.audio&&(this.audio.currentTime=i)}get duration(){return this.audio?Math.floor(this.audio.duration):100}mute(){this.audio&&(this.audio.muted=!this.audio.muted)}forward(i){this.audio&&(this.audio.currentTime+=i)}rewind(i){this.audio&&(this.audio.currentTime-=i)}rate(){this.audio&&(console.log(this.audio.playbackRate),this.audio.playbackRate=2==this.audio.playbackRate?1:2)}}gl.\u0275fac=function(i){return new(i||gl)(e.LFG(la.I),e.LFG(no.ux),e.LFG(pn.dU))},gl.\u0275prov=e.Yz7({token:gl,factory:gl.\u0275fac,providedIn:"root"});var Vo=y(3900);function tu(r,i){1&r&&(e.TgZ(0,"span",8),e.Hsn(1,1),e.qZA())}function u2(r,i){1&r&&(e.TgZ(0,"span",9),e.Hsn(1,2),e.qZA())}const E1=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],lg=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function h2(r,i){1&r&&(e.TgZ(0,"span",9),e.Hsn(1,1),e.TgZ(2,"span",10),e.O4$(),e.TgZ(3,"svg",11),e._UZ(4,"path",12),e.qZA()()())}function A1(r,i){1&r&&(e.TgZ(0,"span",13),e.Hsn(1,2),e.qZA())}const m2='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}';function cg(r,i){if(1&r&&(e.ynx(0),e._UZ(1,"span",9)(2,"span",10),e.BQk()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t._isRippleCentered)("matRippleTrigger",t._elementRef.nativeElement)}}function dg(r,i){1&r&&(e.TgZ(0,"span",11),e.Hsn(1),e.qZA())}function Bs(r,i){1&r&&(e.ynx(0),e.Hsn(1,1),e.BQk())}function f2(r,i){1&r&&e.Hsn(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function T1(r,i){1&r&&e._UZ(0,"span",14)}function _l(r,i){if(1&r&&(e.ynx(0),e.YNc(1,f2,1,0,"ng-content",12),e.YNc(2,T1,1,0,"ng-template",null,13,e.W1O),e.BQk()),2&r){const t=e.MAs(3),n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.contentEditInput)("ngIfElse",t)}}function Ys(r,i){1&r&&(e.TgZ(0,"span",15),e.Hsn(1,3),e.qZA())}const Hs=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],S1=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],af=["*"],I1=".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",sf=new e.OlP("mat-chips-default-options"),O1=new e.OlP("MatChipAvatar"),L1=new e.OlP("MatChipTrailingIcon"),lf=new e.OlP("MatChipRemove"),vc=new e.OlP("MatChip");class p2{}const N1=(0,ae.sb)(p2,-1);let iu=(()=>{class r extends N1{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(t){this._disabled=(0,st.Ig)(t)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(t,n){super(),this._elementRef=t,this._parentChip=n,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===t.nativeElement.nodeName&&t.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(t){!this.disabled&&this.isInteractive&&this._isPrimary&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(t){(t.keyCode===S.K5||t.keyCode===S.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(vc))},r.\u0275dir=e.lG2({type:r,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(t,n){1&t&&e.NdJ("click",function(l){return n._handleClick(l)})("keydown",function(l){return n._handleKeydown(l)}),2&t&&(e.uIk("tabindex",n._getTabindex())("disabled",n._getDisabledAttribute())("aria-disabled",n.disabled),e.ekj("mdc-evolution-chip__action--primary",n._isPrimary)("mdc-evolution-chip__action--presentational",!n.isInteractive)("mdc-evolution-chip__action--trailing",!n._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[e.qOj]}),r})(),vh=(()=>{class r extends iu{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(t){this.disabled||(t.stopPropagation(),t.preventDefault(),this._parentChip.remove())}_handleKeydown(t){(t.keyCode===S.K5||t.keyCode===S.L_)&&!this.disabled&&(t.stopPropagation(),t.preventDefault(),this._parentChip.remove())}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(t,n){2&t&&e.uIk("aria-hidden",null)},features:[e._Bn([{provide:lf,useExisting:r}]),e.qOj]}),r})(),g2=0;const B1=(0,ae.sb)((0,ae.pj)((0,ae.Kr)((0,ae.Id)(class{constructor(r){this._elementRef=r}})),"primary"),-1);let Zl=(()=>{class r extends B1{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(t){this._value=t}get removable(){return this._removable}set removable(t){this._removable=(0,st.Ig)(t)}get highlighted(){return this._highlighted}set highlighted(t){this._highlighted=(0,st.Ig)(t)}constructor(t,n,a,l,v,T,G,z){super(n),this._changeDetectorRef=t,this._ngZone=a,this._focusMonitor=l,this._globalRippleOptions=G,this._isRippleCentered=!1,this._onFocus=new D.x,this._onBlur=new D.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+g2++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new e.vpe,this.destroyed=new e.vpe,this.basicChipAttrName="mat-basic-chip";const be=n.nativeElement;this._document=v,this._animationsDisabled="NoopAnimations"===T,this._isBasicChip=be.hasAttribute(this.basicChipAttrName)||be.tagName.toLowerCase()===this.basicChipAttrName,null!=z&&(this.tabIndex=parseInt(z)??this.defaultTabIndex),this._monitorFocus()}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(t){(t.keyCode===S.ZH||t.keyCode===S.yY)&&(t.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(t){return this._getActions().find(n=>{const a=n._elementRef.nativeElement;return a===t||a.contains(t)})}_getActions(){const t=[];return this.primaryAction&&t.push(this.primaryAction),this.removeIcon&&t.push(this.removeIcon),this.trailingIcon&&t.push(this.trailingIcon),t}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const n=null!==t;n!==this._hasFocusInternal&&(this._hasFocusInternal=n,n?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,Ie.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(g.tE),e.Y36(F.K0),e.Y36(e.QbO,8),e.Y36(ae.Y2,8),e.$8M("tabindex"))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-basic-chip"],["mat-chip"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,O1,5),e.Suo(a,L1,5),e.Suo(a,lf,5)),2&t){let l;e.iGM(l=e.CRH())&&(n.leadingIcon=l.first),e.iGM(l=e.CRH())&&(n.trailingIcon=l.first),e.iGM(l=e.CRH())&&(n.removeIcon=l.first)}},viewQuery:function(t,n){if(1&t&&(e.Gf(ae.wG,5),e.Gf(iu,5)),2&t){let a;e.iGM(a=e.CRH())&&(n.ripple=a.first),e.iGM(a=e.CRH())&&(n.primaryAction=a.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(t,n){1&t&&e.NdJ("keydown",function(l){return n._handleKeydown(l)}),2&t&&(e.Ikx("id",n.id),e.uIk("role",n.role)("tabindex",n.role?n.tabIndex:null)("aria-label",n.ariaLabel),e.ekj("mdc-evolution-chip",!n._isBasicChip)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",n.leadingIcon)("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-basic-chip",n._isBasicChip)("mat-mdc-standard-chip",!n._isBasicChip)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon())("_mat-animation-noopable",n._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[e._Bn([{provide:vc,useExisting:r}]),e.qOj],ngContentSelectors:lg,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,n){1&t&&(e.F$t(E1),e._UZ(0,"span",0)(1,"span",1),e.TgZ(2,"span",2)(3,"span",3),e.YNc(4,tu,2,0,"span",4),e.TgZ(5,"span",5),e.Hsn(6),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,u2,2,0,"span",7)),2&t&&(e.Q6J("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n._isRippleCentered)("matRippleTrigger",n._elementRef.nativeElement),e.xp6(3),e.Q6J("isInteractive",!1),e.xp6(1),e.Q6J("ngIf",n.leadingIcon),e.xp6(4),e.Q6J("ngIf",n._hasTrailingIcon()))},dependencies:[F.O5,ae.wG,iu],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),r})(),nu=(()=>{class r extends Zl{constructor(){super(...arguments),this._defaultOptions=(0,e.f3M)(sf,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new e.vpe}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=(0,st.Ig)(t),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(t){this._setSelectedState((0,st.Ig)(t),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(t=!1){return this._setSelectedState(!this.selected,t,!0),this.selected}_handlePrimaryActionInteraction(){this.selectable&&!this.disabled&&this.toggleSelected(!0)}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(t,n,a){t!==this.selected&&(this._selected=t,a&&this.selectionChange.emit({source:this,isUserInput:n,selected:this.selected}),this._changeDetectorRef.markForCheck())}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-basic-chip-option"],["mat-chip-option"]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option","mdc-evolution-chip","mdc-evolution-chip--filter","mdc-evolution-chip--selectable"],hostVars:31,hostBindings:function(t,n){2&t&&(e.Ikx("id",n.id),e.uIk("tabindex",null)("aria-label",null)("aria-description",null)("role",n.role),e.ekj("mat-mdc-chip-selected",n.selected)("mat-mdc-chip-multiple",n._chipListMultiple)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-chip-with-avatar",n.leadingIcon)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--selected",n.selected)("mdc-evolution-chip--selecting",!n._animationsDisabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-primary-graphic",n._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[e._Bn([{provide:Zl,useExisting:r},{provide:vc,useExisting:r}]),e.qOj],ngContentSelectors:lg,decls:11,vars:12,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,n){1&t&&(e.F$t(E1),e._UZ(0,"span",0)(1,"span",1),e.TgZ(2,"span",2)(3,"button",3),e.YNc(4,h2,5,0,"span",4),e.TgZ(5,"span",5),e.Hsn(6),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,A1,2,0,"span",7),e.TgZ(9,"span",8),e._uU(10),e.qZA()),2&t&&(e.Q6J("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n._isRippleCentered)("matRippleTrigger",n._elementRef.nativeElement),e.xp6(3),e.Q6J("tabIndex",n.tabIndex)("_allowFocusWhenDisabled",!0),e.uIk("aria-selected",n.ariaSelected)("aria-label",n.ariaLabel)("aria-describedby",n._ariaDescriptionId),e.xp6(1),e.Q6J("ngIf",n._hasLeadingGraphic()),e.xp6(4),e.Q6J("ngIf",n._hasTrailingIcon()),e.xp6(1),e.Q6J("id",n._ariaDescriptionId),e.xp6(1),e.Oqu(n.ariaDescription))},dependencies:[F.O5,ae.wG,iu],styles:[m2],encapsulation:2,changeDetection:0}),r})(),ru=(()=>{class r{constructor(t,n){this._elementRef=t,this._document=n}initialize(t){this.getNativeElement().focus(),this.setValue(t)}getNativeElement(){return this._elementRef.nativeElement}setValue(t){this.getNativeElement().textContent=t,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const t=this._document.createRange();t.selectNodeContents(this.getNativeElement()),t.collapse(!1);const n=window.getSelection();n.removeAllRanges(),n.addRange(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(F.K0))},r.\u0275dir=e.lG2({type:r,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]}),r})(),wh=(()=>{class r extends Zl{constructor(t,n,a,l,v,T,G,z){super(t,n,a,l,v,T,G,z),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new e.vpe,this._isEditing=!1,this.role="row",this._onBlur.pipe((0,Ji.R)(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_mousedown(t){this._isEditing||(this.disabled||this.focus(),t.preventDefault())}_handleKeydown(t){t.keyCode!==S.K5||this.disabled?this._isEditing?t.stopPropagation():super._handleKeydown(t):this._isEditing?(t.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(t)}_doubleclick(t){!this.disabled&&this.editable&&this._startEditing(t)}_startEditing(t){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(t.target)===this.removeIcon)return;const n=this.value;this._isEditing=!0,this._editStartPending=!0,setTimeout(()=>{this._getEditInput().initialize(n),this._editStartPending=!1})}_onEditFinish(){this._isEditing=!1,this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(g.tE),e.Y36(F.K0),e.Y36(e.QbO,8),e.Y36(ae.Y2,8),e.$8M("tabindex"))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-chip-row"],["mat-basic-chip-row"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,ru,5),2&t){let l;e.iGM(l=e.CRH())&&(n.contentEditInput=l.first)}},viewQuery:function(t,n){if(1&t&&e.Gf(ru,5),2&t){let a;e.iGM(a=e.CRH())&&(n.defaultEditInput=a.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(t,n){1&t&&e.NdJ("mousedown",function(l){return n._mousedown(l)})("dblclick",function(l){return n._doubleclick(l)}),2&t&&(e.Ikx("id",n.id),e.uIk("tabindex",null)("aria-label",null)("aria-description",null)("role",n.role),e.ekj("mat-mdc-chip-with-avatar",n.leadingIcon)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-chip-editing",n._isEditing)("mat-mdc-chip-editable",n.editable)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",n.leadingIcon)("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[e._Bn([{provide:Zl,useExisting:r},{provide:vc,useExisting:r}]),e.qOj],ngContentSelectors:S1,decls:11,vars:13,consts:[[4,"ngIf"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,n){1&t&&(e.F$t(Hs),e.YNc(0,cg,3,3,"ng-container",0),e.TgZ(1,"span",1)(2,"span",2),e.YNc(3,dg,2,0,"span",3),e.TgZ(4,"span",4),e.YNc(5,Bs,2,0,"ng-container",5),e.YNc(6,_l,4,2,"ng-container",5),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,Ys,2,0,"span",7),e.TgZ(9,"span",8),e._uU(10),e.qZA()),2&t&&(e.Q6J("ngIf",!n._isEditing),e.xp6(2),e.Q6J("tabIndex",n.tabIndex)("disabled",n.disabled),e.uIk("role",n.editable?"button":null)("aria-label",n.ariaLabel)("aria-describedby",n._ariaDescriptionId),e.xp6(1),e.Q6J("ngIf",n.leadingIcon),e.xp6(1),e.Q6J("ngSwitch",n._isEditing),e.xp6(1),e.Q6J("ngSwitchCase",!1),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(2),e.Q6J("ngIf",n._hasTrailingIcon()),e.xp6(1),e.Q6J("id",n._ariaDescriptionId),e.xp6(1),e.Oqu(n.ariaDescription))},dependencies:[F.O5,F.RF,F.n9,ae.wG,iu,ru],styles:[m2],encapsulation:2,changeDetection:0}),r})();class H1{constructor(i){}}const U1=(0,ae.sb)(H1);let au=(()=>{class r extends U1{get chipFocusChanges(){return this._getChipStream(t=>t._onFocus)}get chipDestroyedChanges(){return this._getChipStream(t=>t.destroyed)}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(t){this._explicitRole=t}get focused(){return this._hasFocusedChip()}constructor(t,n,a){super(t),this._elementRef=t,this._changeDetectorRef=n,this._dir=a,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new D.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new e.n_E}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(t=>t._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(t=>{t.disabled=this._disabled,t._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(t){this._originatesFromChip(t)&&this._keyManager.onKeydown(t)}_isValidIndex(t){return t>=0&&t{this.tabIndex=t,this._changeDetectorRef.markForCheck()}))}_getChipStream(t){return this._chips.changes.pipe((0,L.O)(null),(0,Vo.w)(()=>(0,Ue.T)(...this._chips.map(t))))}_originatesFromChip(t){let n=t.target;for(;n&&n!==this._elementRef.nativeElement;){if(n.classList&&n.classList.contains("mdc-evolution-chip"))return!0;n=n.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,L.O)(this._chips)).subscribe(t=>{const n=[];t.forEach(a=>a._getActions().forEach(l=>n.push(l))),this._chipActions.reset(n),this._chipActions.notifyOnChanges()}),this._keyManager=new g.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(t=>this._skipPredicate(t)),this.chipFocusChanges.pipe((0,Ji.R)(this._destroyed)).subscribe(({chip:t})=>{const n=t._getSourceAction(document.activeElement);n&&this._keyManager.updateActiveItem(n)}),this._dir?.change.pipe((0,Ji.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t))}_skipPredicate(t){return!t.isInteractive||t.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,L.O)(null),(0,Ji.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,Ji.R)(this._destroyed)).subscribe(t=>{const a=this._chips.toArray().indexOf(t.chip);this._isValidIndex(a)&&t.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=a)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const t=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),n=this._chips.toArray()[t];n.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():n.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(I.Is,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-chip-set"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,Zl,5),2&t){let l;e.iGM(l=e.CRH())&&(n._chips=l)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(t,n){1&t&&e.NdJ("keydown",function(l){return n._handleKeydown(l)}),2&t&&e.uIk("role",n.role)},inputs:{disabled:"disabled",role:"role"},features:[e.qOj],ngContentSelectors:af,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),r})();class j1{constructor(i,t){this.source=i,this.value=t}}const V1={provide:fa,useExisting:(0,e.Gpc)(()=>cf),multi:!0};let cf=(()=>{class r extends au{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=(0,e.f3M)(sf,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(t,n)=>t===n,this._required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new e.vpe}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,st.Ig)(t),this._syncListboxProperties()}get selected(){const t=this._chips.toArray().filter(n=>n.selected);return this.multiple?t:t[0]}get selectable(){return this._selectable}set selectable(t){this._selectable=(0,st.Ig)(t),this._syncListboxProperties()}get required(){return this._required}set required(t){this._required=(0,st.Ig)(t)}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=(0,st.Ig)(t),this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(t=>t.selectionChange)}get chipBlurChanges(){return this._getChipStream(t=>t._onBlur)}get value(){return this._value}set value(t){this.writeValue(t),this._value=t}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe((0,L.O)(null),(0,Ji.R)(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe((0,Ji.R)(this._destroyed)).subscribe(t=>{this.multiple||this._chips.forEach(n=>{n!==t.source&&n._setSelectedState(!1,!1,!1)}),t.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const t=this._getFirstSelectedChip();t&&!t.disabled?t.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(t){this._chips?this._setSelectionByValue(t,!1):null!=t&&(this._pendingInitialValue=t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_setSelectionByValue(t,n=!0){this._clearSelection(),Array.isArray(t)?t.forEach(a=>this._selectValue(a,n)):this._selectValue(t,n)}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_keydown(t){t.keyCode===S.Mf&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let t=null;t=Array.isArray(this.selected)?this.selected.map(n=>n.value):this.selected?this.selected.value:void 0,this._value=t,this.change.emit(new j1(this,t)),this._onChange(t),this._changeDetectorRef.markForCheck()}_clearSelection(t){this._chips.forEach(n=>{n!==t&&n.deselect()})}_selectValue(t,n){const a=this._chips.find(l=>null!=l.value&&this.compareWith(l.value,t));return a&&(n?a.selectViaInteraction():a.select()),a}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(t=>{t._chipListMultiple=this.multiple,t.chipListSelectable=this._selectable,t._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,t._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(t){return!t.isInteractive}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-chip-listbox"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,nu,5),2&t){let l;e.iGM(l=e.CRH())&&(n._chips=l)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n.focus()})("blur",function(){return n._blur()})("keydown",function(l){return n._keydown(l)}),2&t&&(e.Ikx("tabIndex",n.empty?-1:n.tabIndex),e.uIk("role",n.role)("aria-describedby",n._ariaDescribedby||null)("aria-required",n.role?n.required:null)("aria-disabled",n.disabled.toString())("aria-multiselectable",n.multiple)("aria-orientation",n.ariaOrientation),e.ekj("mat-mdc-chip-list-disabled",n.disabled)("mat-mdc-chip-list-required",n.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[e._Bn([V1]),e.qOj],ngContentSelectors:af,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA())},styles:[I1],encapsulation:2,changeDetection:0}),r})();class Z1{constructor(i,t){this.source=i,this.value=t}}class _2 extends au{constructor(i,t,n,a,l,v,T){super(i,t,n),this._defaultErrorStateMatcher=a,this._parentForm=l,this._parentFormGroup=v,this.ngControl=T,this.stateChanges=new D.x}}const b2=(0,ae.FD)(_2);let z1=(()=>{class r extends b2{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(to.required)??!1}set required(t){this._required=(0,st.Ig)(t),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(t){this._value=t}get chipBlurChanges(){return this._getChipStream(t=>t._onBlur)}constructor(t,n,a,l,v,T,G){super(t,n,a,T,l,v,G),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new e.vpe,this.valueChange=new e.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,Ue.T)(this.chipFocusChanges,this._chips.changes).pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(t){this._chipInput=t,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(t){!this.disabled&&!this._originatesFromChip(t)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(t){this._ariaDescribedbyIds=t,this._chipInput?.setDescribedByIds(t)}writeValue(t){this._value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(t){t.keyCode===S.Mf?this._chipInput.focused&&(0,S.Vb)(t,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(t.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(t),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const t=this._chips.length?this._chips.toArray().map(n=>n.value):[];this._value=t,this.change.emit(new Z1(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(I.Is,8),e.Y36(Is,8),e.Y36(os,8),e.Y36(ae.rD),e.Y36(Ss,10))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-chip-grid"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,wh,5),2&t){let l;e.iGM(l=e.CRH())&&(n._chips=l)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n.focus()})("blur",function(){return n._blur()}),2&t&&(e.Ikx("tabIndex",n._chips&&0===n._chips.length?-1:n.tabIndex),e.uIk("role",n.role)("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState),e.ekj("mat-mdc-chip-list-disabled",n.disabled)("mat-mdc-chip-list-invalid",n.errorState)("mat-mdc-chip-list-required",n.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[e._Bn([{provide:Sd,useExisting:r}]),e.qOj],ngContentSelectors:af,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA())},styles:[I1],encapsulation:2,changeDetection:0}),r})(),y2=0,G1=(()=>{class r{set chipGrid(t){t&&(this._chipGrid=t,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(t){this._addOnBlur=(0,st.Ig)(t)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(t){this._disabled=(0,st.Ig)(t)}get empty(){return!this.inputElement.value}constructor(t,n,a){this._elementRef=t,this._defaultOptions=n,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new e.vpe,this.placeholder="",this.id="mat-mdc-chip-list-input-"+y2++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,a&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(t){if(t){if(t.keyCode===S.ZH&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void t.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(t)}_keyup(t){!this._focusLastChipOnBackspace&&t.keyCode===S.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,t.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(t){(!t||this._isSeparatorKey(t))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),t?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(t){const n=this._elementRef.nativeElement;t.length?n.setAttribute("aria-describedby",t.join(" ")):n.removeAttribute("aria-describedby")}_isSeparatorKey(t){return!(0,S.Vb)(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(sf),e.Y36(Id,8))},r.\u0275dir=e.lG2({type:r,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(t,n){1&t&&e.NdJ("keydown",function(l){return n._keydown(l)})("keyup",function(l){return n._keyup(l)})("blur",function(){return n._blur()})("focus",function(){return n._focus()})("input",function(){return n._onInput()}),2&t&&(e.Ikx("id",n.id),e.uIk("disabled",n.disabled||null)("placeholder",n.placeholder||null)("aria-invalid",n._chipGrid&&n._chipGrid.ngControl?n._chipGrid.ngControl.invalid:null)("aria-required",n._chipGrid&&n._chipGrid.required||null)("required",n._chipGrid&&n._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[e.TTD]}),r})(),v2=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[ae.rD,{provide:sf,useValue:{separatorKeyCodes:[S.K5]}}],imports:[ae.BQ,F.ez,ae.si,ae.BQ]}),r})();function w2(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,", "),e.qZA())}const x2=function(r){return["/p",r]};function F2(r,i){if(1&r&&(e.TgZ(0,"span")(1,"a",1),e._uU(2),e.qZA(),e.YNc(3,w2,2,0,"span",2),e.qZA()),2&r){const t=i.$implicit,n=i.last;e.xp6(1),e.Q6J("routerLink",e.VKq(3,x2,t.pubkey)),e.xp6(1),e.Oqu(t.name),e.xp6(1),e.Q6J("ngIf",!n)}}class xh{constructor(i,t){this.profileService=i,this.utilities=t,this.keys=[],this.profiles=[]}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.profiles=[];for(let t=0;t0),e.xp6(1),e.Q6J("keys",t)}}function S2(r,i){if(1&r&&e.YNc(0,T2,3,2,"div",18),2&r){const t=e.oxw(2);e.Q6J("ngIf",t.repliesTo(t.event))}}function I2(r,i){if(1&r&&(e.TgZ(0,"mat-chip"),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.hij("#",t,"")}}const su=function(r){return{"event-content-big":r}};function O2(r,i){if(1&r&&(e.TgZ(0,"div",1)(1,"span",2),e.YNc(2,rb,4,5,"ng-container",3),e.YNc(3,Dk,2,0,"span",4),e.qZA(),e.YNc(4,S2,1,1,"ng-template",5),e.TgZ(5,"mat-chip-set",6),e.YNc(6,I2,2,1,"mat-chip",3),e.qZA()()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(5,su,t.bigSize)),e.xp6(1),e.Q6J("ngForOf",t.dynamicText),e.xp6(1),e.Q6J("ngIf",t.event.contentCut),e.xp6(1),e.Q6J("ngIf",t.displayRepliesTo),e.xp6(2),e.Q6J("ngForOf",t.hashtags(t.event.tags))}}var lu=new WeakMap;class Po{set event(i){Wt(this,lu,i),this.initialize()}get event(){return _e(this,lu)}constructor(i,t,n,a,l,v,T){St(this,lu,{writable:!0,value:void 0}),this.eventService=i,this.contentService=t,this.mediaService=n,this.optionsService=a,this.profileService=l,this.utilities=v,this.dialog=T,this.displayRepliesTo=!0,this.profileName="",this.tooltip="",this.profiles=[],this.isFollowing=!1,this.dynamicText=[],this.imageExtensions=[".jpg",".jpeg",".gif",".png",".webp",".apng",".jfif",".svg"],this.videoExtensions=[".mp4",".m4v",".m4p",".mpg",".mpeg",".webm",".avif",".mov",".ogv"],this.audioExtensions=[".mp3",".m4a",".flac",".ogg",".wav"],this.bigSize=!1}enque(i,t){this.mediaService.enque({artist:"",artwork:"/assets/logos/youtube.png",title:i,source:i,type:t})}isString(i){return"string"==typeof i}isNewline(i){return"newline"==i.token}getTooltip(i){return i.tooltip||""}getWord(i){return i.word}ngOnInit(){this.initialize()}initialize(){this.event&&(this.dynamicText=this.toDynamicText(this.event),this.isFollowing=this.profileService.isFollowing(this.event.pubkey))}expandImage(i){this.dialog.open(pl,{data:{picture:i}})}expandImageUrl(i){this.dialog.open(pl,{data:{picture:i}})}hashtags(i){const t=i.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==t.length?null:t}repliesTo(i){if(!i)return null;let t=i.tags.filter(a=>"p"===a[0]).map(a=>a[1]);return t=t.filter(a=>a!==i.pubkey),0==t.length?null:t.filter((a,l)=>t.indexOf(a)===l)}getDisplayName(i){const t=this.profileService.getCachedProfile(i);return t?this.utilities.getProfileDisplayName(t):this.utilities.getShortenedIdentifier(i)}replyTo(i,t){return i?i.tags[t][1]:void 0}isImage(i){for(let t=0;t-1||i.indexOf("https://www.youtube.com")>-1||i.indexOf("https://youtube.com")>-1}isTidal(i){return!!this.optionsService.values.enableTidal&&i.indexOf("https://tidal.com")>-1}isSpotify(i){return!!this.optionsService.values.enableSpotify&&i.indexOf("https://open.spotify.com")>-1}toDynamicText(i){let t=i.content;t=t.replaceAll(/\p{Cf}/gu,""),this.bigSize=t.length<9;const n=[],a=t.split(/\r?\n/),l=[];for(let T=0;T""!=be),z.push("
"),l.push(...z)}let v=0;for(const T of l){let G=this.contentService.getKeyword(T.toLowerCase());if(G){if("username"==G.token){let z=Number(T.replace("#[","").replace("]","")),be=i.tags;G.word=be.length>z?be[z][1]:T}v=n.push(G)}else if(T.startsWith("http://")||T.startsWith("https://"))if(this.isImage(T))v=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(T),word:T,token:"image"});else if(this.isVideo(T))v=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(T),word:T,token:"video"});else if(this.isAudio(T))v=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(T),word:T,token:"audio"});else if(this.isYouTube(T)){const z=[...T.matchAll(this.contentService.regexpYouTube)];v=n.push(z.length>0?{safeWord:this.utilities.bypassFrameUrl(`https://www.youtube.com/embed/${z[0][1]}`),word:`https://www.youtube.com/embed/${z[0][1]}`,token:"youtube"}:{word:T,token:"link"})}else if(this.isSpotify(T))v=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(T.replace("open.spotify.com/","open.spotify.com/embed/")),word:T,token:"spotify"});else if(this.isTidal(T))if(T.startsWith("https://tidal.com/browse/track/")){const z=T.replace("tidal.com/browse/track/","embed.tidal.com/tracks/");v=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(z),word:T,token:"tidal"})}else if(T.startsWith("https://tidal.com/track/")){const z=T.replace("tidal.com/track/","embed.tidal.com/tracks/");v=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(z),word:T,token:"tidal"})}else v=n.push({word:T,token:"link"});else v=n.push({word:T,token:"link"});else n[v]?n[v]+=T:n[v]=T}return n}}Po.\u0275fac=function(i){return new(i||Po)(e.Y36(Zr),e.Y36(Qc),e.Y36(gl),e.Y36(la.I),e.Y36(Yn),e.Y36(pn.dU),e.Y36(yi))},Po.\u0275cmp=e.Xpm({type:Po,selectors:[["app-content"]],inputs:{event:"event",displayRepliesTo:"displayRepliesTo"},decls:1,vars:1,consts:[["class","content clickable",4,"ngIf"],[1,"content","clickable"],[1,"event-content","clickable",3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngIf"],[1,"hashtags"],[3,"ngIf","ngSwitch"],[4,"ngSwitchCase"],[1,"reply-link",3,"routerLink"],["target","_blank",3,"href"],["mat-card-image","","loading","lazy","decoding","async",1,"event-image",3,"matTooltip","alt","src","click"],["sandbox","allow-scripts allow-same-origin","width","100%","height","152","frameborder","0","allowfullscreen","","allow","autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture","loading","lazy",2,"border-radius","12px",3,"src"],["controls","","preload","none",1,"event-video"],[3,"src"],["mat-icon-button","","matTooltip","Add to media player",3,"click"],["sandbox","allow-scripts allow-same-origin allow-presentation","id","ytplayer","type","text/html","frameborder","0","allowfullscreen","",1,"event-video",3,"src"],["loading","lazy",1,"meme",3,"matTooltip","src","click"],["class","reply-to dimmed clickable",4,"ngIf"],[1,"reply-to","dimmed","clickable"],["class","clickable",4,"ngIf"],[3,"keys"],[1,"clickable"]],template:function(i,t){1&i&&e.YNc(0,O2,7,7,"div",0),2&i&&e.Q6J("ngIf",t.event)},dependencies:[F.mk,F.sg,F.O5,F.RF,F.n9,Yt.rH,Dt.RK,qm,Wn,fo,Zl,au,xh],styles:[".event-image[_ngcontent-%COMP%]{width:100%;max-width:480px;display:inline-block;margin-top:.2em}.event-images[_ngcontent-%COMP%]{text-align:left}.event-video[_ngcontent-%COMP%]{width:100%;display:inline-block;margin-top:.2em;aspect-ratio:16 / 9}.embed-iframe[_ngcontent-%COMP%]{min-width:300px;min-height:300px}.events-videos[_ngcontent-%COMP%]{text-align:left}.reply-to[_ngcontent-%COMP%]{margin-top:.2em}.event-content[_ngcontent-%COMP%]{overflow-wrap:break-word}.event-content-big[_ngcontent-%COMP%]{font-size:2.2em}@media only screen and (max-width: 599px){.event-video[_ngcontent-%COMP%]{width:100vw!important;height:50vh!important;margin-left:-1.6em}.event-image[_ngcontent-%COMP%]{width:100vw!important;margin-left:-1.6em;max-width:max-content}}.meme[_ngcontent-%COMP%]{max-width:128px}"]});var Xr=y(7957);class ls{constructor(i){this.storage=i,this.labels=[]}getName(i){const t=this.labels.find(n=>n.id==i);return t?t.name:""}saveLabel(i){var t=this;return(0,we.Z)(function*(){if(!i)return;let n={name:i,id:Bc()};yield t.storage.storage.putLabel(n),t.labels.push(n),t.sort()})()}sort(){this.labels=this.labels.sort((i,t)=>i.name?.toLowerCase()null!=t.labels&&t.labels.some(n=>i.includes(n)))}wipe(){var i=this;return(0,we.Z)(function*(){yield i.db.storage.deleteNotes()})()}}Us.\u0275fac=function(i){return new(i||Us)(e.LFG(Fr))},Us.\u0275prov=e.Yz7({token:Us,factory:Us.\u0275fac,providedIn:"root"});var fg=y(3101),pg=y(7272),gg=y(5032),df=y(9718);function _g(r,i){return i?t=>(0,pg.z)(i.pipe((0,Ie.q)(1),function ab(){return(0,md.e)((r,i)=>{r.subscribe((0,fd.x)(i,gg.Z))})}()),t.pipe(_g(r))):(0,fl.z)((t,n)=>(0,ps.Xf)(r(t,n)).pipe((0,Ie.q)(1),(0,df.h)(t)))}function uf(r,i=bc.z){const t=(0,el.H)(r,i);return _g(()=>t)}const L2=["mat-menu-item",""];function N2(r,i){1&r&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"polygon",4),e.qZA())}const Fh=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],R2=["mat-icon, [matMenuItemIcon]","*"];function P2(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._handleKeydown(a))})("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closed.emit("click"))})("@transformMenu.start",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._onAnimationStart(a))})("@transformMenu.done",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._onAnimationDone(a))}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()()}if(2&r){const t=e.oxw();e.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),e.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const B2=["*"],cu=new e.OlP("MAT_MENU_PANEL"),ob=(0,ae.Kr)((0,ae.Id)(class{}));let bl=(()=>{class r extends ob{constructor(t,n,a,l,v){super(),this._elementRef=t,this._document=n,this._focusMonitor=a,this._parentMenu=l,this._changeDetectorRef=v,this.role="menuitem",this._hovered=new D.x,this._focused=new D.x,this._highlighted=!1,this._triggersSubmenu=!1,l?.addItem?.(this)}focus(t,n){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,n):this._getHostElement().focus(n),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(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const t=this._elementRef.nativeElement.cloneNode(!0),n=t.querySelectorAll("mat-icon, .material-icons");for(let a=0;a enter",(0,Ce.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Ce.oB)({opacity:1,transform:"scale(1)"}))),(0,Ce.eR)("* => void",(0,Ce.jt)("100ms 25ms linear",(0,Ce.oB)({opacity:0})))]),fadeInItems:(0,Ce.X$)("fadeInItems",[(0,Ce.SB)("showing",(0,Ce.oB)({opacity:1})),(0,Ce.eR)("void => *",[(0,Ce.oB)({opacity:0}),(0,Ce.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let sb=0;const lb=new e.OlP("mat-menu-default-options",{providedIn:"root",factory:function cb(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let kh=(()=>{class r{get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,st.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,st.Ig)(t)}set panelClass(t){const n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(a=>{this._classList[a]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(a=>{this._classList[a]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,n,a,l){this._elementRef=t,this._ngZone=n,this._defaultOptions=a,this._changeDetectorRef=l,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new e.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new D.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+sb++}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new g.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,L.O)(this._directDescendantItems),(0,Vo.w)(t=>(0,Ue.T)(...t.map(n=>n._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{const n=this._keyManager;if("enter"===this._panelAnimationState&&n.activeItem?._hasFocus()){const a=t.toArray(),l=Math.max(0,Math.min(a.length-1,n.activeItemIndex||0));a[l]&&!a[l].disabled?n.setActiveItem(l):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,L.O)(this._directDescendantItems),(0,Vo.w)(n=>(0,Ue.T)(...n.map(a=>a._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const n=t.keyCode,a=this._keyManager;switch(n){case S.hY:(0,S.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case S.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case S.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(n===S.LH||n===S.JH)&&a.setFocusOrigin("keyboard"),void a.onKeydown(t)}t.stopPropagation()}focusFirstItem(t="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,Ie.q)(1)).subscribe(()=>{let n=null;if(this._directDescendantItems.length&&(n=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!n||!n.contains(document.activeElement)){const a=this._keyManager;a.setFocusOrigin(t).setFirstItemActive(),!a.activeItem&&n&&n.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const n=Math.min(this._baseElevation+t,24),a=`${this._elevationPrefix}${n}`,l=Object.keys(this._classList).find(v=>v.startsWith(this._elevationPrefix));(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)}setPositionClasses(t=this.xPosition,n=this.yPosition){const a=this._classList;a["mat-menu-before"]="before"===t,a["mat-menu-after"]="after"===t,a["mat-menu-above"]="above"===n,a["mat-menu-below"]="below"===n,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,L.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(lb),e.Y36(e.sBO))},r.\u0275dir=e.lG2({type:r,contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,Ch,5),e.Suo(a,bl,5),e.Suo(a,bl,4)),2&t){let l;e.iGM(l=e.CRH())&&(n.lazyContent=l.first),e.iGM(l=e.CRH())&&(n._allItems=l),e.iGM(l=e.CRH())&&(n.items=l)}},viewQuery:function(t,n){if(1&t&&e.Gf(e.Rgc,5),2&t){let a;e.iGM(a=e.CRH())&&(n.templateRef=a.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),r})(),du=(()=>{class r extends kh{constructor(t,n,a,l){super(t,n,a,l),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(lb),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,n){2&t&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[e._Bn([{provide:cu,useExisting:r}]),e.qOj],ngContentSelectors:B2,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(t,n){1&t&&(e.F$t(),e.YNc(0,P2,3,6,"ng-template"))},dependencies:[F.mk],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-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}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.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 .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.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:[mf.transformMenu,mf.fadeInItems]},changeDetection:0}),r})();const j2=new e.OlP("mat-menu-scroll-strategy"),Sk={provide:j2,deps:[_.aV],useFactory:function Tk(r){return()=>r.scrollStrategies.reposition()}},V2=(0,x.i$)({passive:!0});let ff=(()=>{class r{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(n=>{this._destroyMenu(n),("click"===n||"tab"===n)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,n,a,l,v,T,G,z,be){this._overlay=t,this._element=n,this._viewContainerRef=a,this._menuItemInstance=T,this._dir=G,this._focusMonitor=z,this._ngZone=be,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=mo.w0.EMPTY,this._hoverSubscription=mo.w0.EMPTY,this._menuCloseSubscription=mo.w0.EMPTY,this._changeDetectorRef=(0,e.f3M)(e.sBO),this._handleTouchStart=Ve=>{(0,g.yG)(Ve)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=l,this._parentMaterialMenu=v instanceof kh?v:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,V2)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,V2),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 t=this.menu;if(this._menuOpen||!t)return;const n=this._createOverlay(t),a=n.getConfig(),l=a.positionStrategy;this._setPosition(t,l),a.hasBackdrop=null==t.hasBackdrop?!this.triggersSubmenu():t.hasBackdrop,n.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof kh&&(t._startAnimation(),t._directDescendantItems.changes.pipe((0,Ji.R)(t.close)).subscribe(()=>{l.withLockedPosition(!1).reapplyLastPosition(),l.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(t,n){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,n):this._element.nativeElement.focus(n)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof kh?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe((0,Je.h)(a=>"void"===a.toState),(0,Ie.q)(1),(0,Ji.R)(n.lazyContent._attached)).subscribe({next:()=>n.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n?.lazyContent?.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let n=0,a=t.parentMenu;for(;a;)n++,a=a.parentMenu;t.setElevation(n)}}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){const n=this._getOverlayConfig(t);this._subscribeToPositions(t,n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new _.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,n){t.setPositionClasses&&n.positionChanges.subscribe(a=>{const l="start"===a.connectionPair.overlayX?"after":"before",v="top"===a.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(l,v)):t.setPositionClasses(l,v)})}_setPosition(t,n){let[a,l]="before"===t.xPosition?["end","start"]:["start","end"],[v,T]="above"===t.yPosition?["bottom","top"]:["top","bottom"],[G,z]=[v,T],[be,Ve]=[a,l],bt=0;if(this.triggersSubmenu()){if(Ve=a="before"===t.xPosition?"start":"end",l=be="end"===a?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Pt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Pt?Pt._getHostElement().offsetTop:0}bt="bottom"===v?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(G="top"===v?"bottom":"top",z="top"===T?"bottom":"top");n.withPositions([{originX:a,originY:G,overlayX:be,overlayY:v,offsetY:bt},{originX:l,originY:G,overlayX:Ve,overlayY:v,offsetY:bt},{originX:a,originY:z,overlayX:be,overlayY:T,offsetY:-bt},{originX:l,originY:z,overlayX:Ve,overlayY:T,offsetY:-bt}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),a=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,U.of)(),l=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Je.h)(v=>v!==this._menuItemInstance),(0,Je.h)(()=>this._menuOpen)):(0,U.of)();return(0,Ue.T)(t,a,l,n)}_handleMousedown(t){(0,g.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const n=t.keyCode;(n===S.K5||n===S.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(n===S.SV&&"ltr"===this.dir||n===S.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Je.h)(t=>t===this._menuItemInstance&&!t.disabled),uf(0,fg.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof kh&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Ie.q)(1),uf(0,fg.E),(0,Ji.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new k.UE(t.templateRef,this._viewContainerRef)),this._portal}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(_.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(j2),e.Y36(cu,8),e.Y36(bl,10),e.Y36(I.Is,8),e.Y36(g.tE),e.Y36(e.R0b))},r.\u0275dir=e.lG2({type:r,hostVars:3,hostBindings:function(t,n){1&t&&e.NdJ("click",function(l){return n._handleClick(l)})("mousedown",function(l){return n._handleMousedown(l)})("keydown",function(l){return n._handleKeydown(l)}),2&t&&e.uIk("aria-haspopup",n.menu?"menu":null)("aria-expanded",n.menuOpen)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),r})(),Dh=(()=>{class r extends ff{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[e.qOj]}),r})(),z2=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[Sk],imports:[F.ez,ae.si,ae.BQ,_.U8,kr.ZD,ae.BQ]}),r})();function db(r,i){if(1&r&&(e.TgZ(0,"button",13)(1,"mat-icon",14),e._uU(2,"more_vert"),e.qZA()()),2&r){e.oxw();const t=e.MAs(3);e.Q6J("matMenuTriggerFor",t)}}function Mh(r,i){if(1&r&&(e.TgZ(0,"button",15)(1,"mat-icon"),e._uU(2,"more_vert"),e.qZA()()),2&r){e.oxw();const t=e.MAs(3);e.Q6J("matMenuTriggerFor",t)}}function G2(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",6),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.saveNote())}),e.TgZ(1,"mat-icon"),e._uU(2,"bookmark_add"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Bookmark"),e.qZA()()}if(2&r){e.oxw();const t=e.MAs(32);e.Q6J("matMenuTriggerFor",t)}}function W2(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.removeNote())}),e.TgZ(1,"mat-icon"),e._uU(2,"bookmark_remove"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Remove from Bookmarks"),e.qZA()()}}function q2(r,i){if(1&r&&(e.TgZ(0,"button",7)(1,"mat-icon"),e._uU(2,"new_label"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Set Label"),e.qZA()()),2&r){e.oxw();const t=e.MAs(32);e.Q6J("matMenuTriggerFor",t)}}function Q2(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copyNoteId(a.event.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Note ID (note)"),e.qZA()()}}function Ik(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copyNoteEventId(a.event.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Note ID (nevent)"),e.qZA()()}}function J2(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copy(a.event.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Note ID (hex)"),e.qZA()()}}function ub(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copyNoteUrl(a.event.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Note URL (nevent)"),e.qZA()()}}function K2(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copyEvent())}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Note Data"),e.qZA()()}}function $2(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.setLabel(l.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"label"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.qZA()()}if(2&r){const t=i.$implicit;e.xp6(4),e.Oqu(t.name)}}class po{constructor(i,t,n,a,l){this.labelService=i,this.snackBar=t,this.profileService=n,this.notesService=a,this.utilities=l,this.fab=!1,this.pubkey=""}saveNote(){var i=this;return(0,we.Z)(function*(){if(!i.event)return;const t=i.event;t.saved=Math.floor(Date.now()/1e3),yield i.notesService.putNote(t)})()}removeNote(){var i=this;return(0,we.Z)(function*(){i.event&&(console.log("DELETE EVENT:",i.event),yield i.notesService.deleteNote(i.event.id))})()}follow(i){var t=this;return(0,we.Z)(function*(){console.log("FOLLOW:",t.profile),t.profile&&(1!=t.profile.status?yield t.profileService.follow(t.profile.pubkey,i):yield t.profileService.setCircle(t.profile.pubkey,i))})()}getNpub(i){return this.utilities.getNostrIdentifier(i)}copyEvent(){this.copy(JSON.stringify(this.event))}copyProfileUrl(i){this.copy(`web+nostr:npub:${gn.npubEncode(i)}`)}copyNoteId(i){this.copy(gn.noteEncode(i))}setLabel(i){var t=this;return(0,we.Z)(function*(){if(!t.event)return;let n=t.event;n.labels=[],n.labels.push(i),yield t.notesService.putNote(t.event)})()}copyNoteEventId(i){this.copy(gn.neventEncode({id:i}))}copyNoteUrl(i){this.copy(`web+nostr:nevent:${gn.neventEncode({id:i})}`)}copyProfile(){this.profile&&this.copy(JSON.stringify({name:this.profile.name,about:this.profile.about,nip05:this.profile.nip05,picture:this.profile.picture,banner:this.profile.banner,website:this.profile.website,lud06:this.profile.lud06,lud16:this.profile.lud16,display_name:this.profile.display_name}))}copy(i){(0,Xr.v)(i),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}unfollow(){var i=this;return(0,we.Z)(function*(){i.profile&&(yield i.profileService.unfollow(i.profile.pubkey))})()}mute(){var i=this;return(0,we.Z)(function*(){i.profile&&(yield i.profileService.mute(i.profile.pubkey))})()}unmute(){var i=this;return(0,we.Z)(function*(){i.profile&&(yield i.profileService.unmute(i.profile.pubkey))})()}block(){var i=this;return(0,we.Z)(function*(){i.profile&&(yield i.profileService.block(i.profile.pubkey))})()}unblock(){var i=this;return(0,we.Z)(function*(){i.profile&&(yield i.profileService.unblock(i.profile.pubkey))})()}ngOnDestroy(){}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.event?i.pubkey=i.event.pubkey:i.profile&&(i.pubkey=i.profile.pubkey)})()}}function X2(r,i){if(1&r&&(e.TgZ(0,"span",3),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip),e.xp6(1),e.Oqu(t.profileName)}}function hb(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(t.profileName)}}po.\u0275fac=function(i){return new(i||po)(e.Y36(ls),e.Y36(no.ux),e.Y36(Yn),e.Y36(Us),e.Y36(pn.dU))},po.\u0275cmp=e.Xpm({type:po,selectors:[["app-event-actions"]],inputs:{fab:"fab",pubkey:"pubkey",profile:"profile",event:"event"},decls:34,vars:13,consts:[["class","action-button","mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor","click",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","click"],["mat-menu-item","",3,"matMenuTriggerFor"],["copyMenu","matMenu"],["shareMenu","matMenu"],["mat-menu-item","",3,"click"],["labelMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-icon-button","",1,"action-button",3,"matMenuTriggerFor"],[1,"action-button-icon"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor"]],template:function(i,t){if(1&i&&(e.YNc(0,db,3,1,"button",0),e.YNc(1,Mh,3,1,"button",1),e.TgZ(2,"mat-menu",null,2),e.YNc(4,G2,5,1,"button",3),e.YNc(5,W2,5,0,"button",4),e.YNc(6,q2,5,1,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return t.copyNoteId(t.event.id)}),e.TgZ(8,"mat-icon"),e._uU(9,"copy_all"),e.qZA(),e.TgZ(10,"span"),e._uU(11,"Copy"),e.qZA()(),e.TgZ(12,"button",7)(13,"mat-icon"),e._uU(14,"ios_share"),e.qZA(),e.TgZ(15,"span"),e._uU(16,"Share"),e.qZA()()(),e.TgZ(17,"mat-menu",null,8),e.YNc(19,Q2,5,0,"button",4),e.YNc(20,Ik,5,0,"button",4),e.YNc(21,J2,5,0,"button",4),e.YNc(22,ub,5,0,"button",4),e.YNc(23,K2,5,0,"button",4),e.qZA(),e.TgZ(24,"mat-menu",null,9)(26,"button",10),e.NdJ("click",function(){return t.copy("https://notes.blockcore.net/e/"+t.event.id)}),e.TgZ(27,"mat-icon"),e._uU(28,"content_copy"),e.qZA(),e.TgZ(29,"span"),e._uU(30,"Note URL"),e.qZA()()(),e.TgZ(31,"mat-menu",null,11),e.YNc(33,$2,5,1,"button",12),e.qZA()),2&i){const n=e.MAs(18),a=e.MAs(25);e.Q6J("ngIf",!t.fab),e.xp6(1),e.Q6J("ngIf",t.fab),e.xp6(3),e.Q6J("ngIf",t.event&&!t.event.saved),e.xp6(1),e.Q6J("ngIf",t.event&&t.event.saved),e.xp6(1),e.Q6J("ngIf",t.event&&t.event.saved),e.xp6(1),e.Q6J("matMenuTriggerFor",n),e.xp6(5),e.Q6J("matMenuTriggerFor",a),e.xp6(7),e.Q6J("ngIf",t.event),e.xp6(1),e.Q6J("ngIf",t.event),e.xp6(1),e.Q6J("ngIf",t.event),e.xp6(1),e.Q6J("ngIf",t.event),e.xp6(1),e.Q6J("ngIf",t.event),e.xp6(10),e.Q6J("ngForOf",t.labelService.labels)}},dependencies:[F.sg,F.O5,Dt.RK,Dt.nh,Wn,du,bl,Dh],encapsulation:2});const ex=function(r){return["/p",r]};class xc{constructor(i,t,n){this.db=i,this.profiles=t,this.utilities=n,this.pubkey="",this.profileName="",this.tooltip=""}ngOnInit(){var i=this;return(0,we.Z)(function*(){const t=yield i.db.storage.getProfile(i.pubkey);i.profileName=t?t.display_name?t.display_name:t.name:i.utilities.getShortenedIdentifier(i.pubkey)})()}}function tx(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.hij(" ",t.notification.message,"")}}xc.\u0275fac=function(i){return new(i||xc)(e.Y36(Fr),e.Y36(Yn),e.Y36(pn.dU))},xc.\u0275cmp=e.Xpm({type:xc,selectors:[["app-profile-name"]],inputs:{pubkey:"pubkey"},decls:3,vars:5,consts:[[3,"routerLink"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"]],template:function(i,t){1&i&&(e.TgZ(0,"a",0),e.YNc(1,X2,2,2,"span",1),e.YNc(2,hb,2,1,"span",2),e.qZA()),2&i&&(e.Q6J("routerLink",e.VKq(3,ex,t.pubkey)),e.xp6(1),e.Q6J("ngIf",t.tooltip),e.xp6(1),e.Q6J("ngIf",!t.tooltip))},dependencies:[F.O5,Yt.rH,fo],encapsulation:2});const pf=function(r){return["/e",r]};function ix(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1," replied to your "),e.TgZ(2,"a",2),e._uU(3,"note"),e.qZA(),e._uU(4,"."),e.qZA()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("routerLink",e.VKq(1,pf,t.notification.id))}}function bg(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1," started following you."),e.qZA())}function nx(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1," boosted your "),e.TgZ(2,"a",2),e._uU(3,"note"),e.qZA()()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("routerLink",e.VKq(1,pf,t.notification.relatedId))}}function mb(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.TgZ(2,"a",2),e._uU(3,"note"),e.qZA(),e._uU(4,"."),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.hij(" reacted with ",t.notification.message," to your "),e.xp6(1),e.Q6J("routerLink",e.VKq(2,pf,t.notification.relatedId))}}class Kc{}Kc.\u0275fac=function(i){return new(i||Kc)},Kc.\u0275cmp=e.Xpm({type:Kc,selectors:[["app-notification-label"]],inputs:{notification:"notification"},decls:6,vars:6,consts:[[3,"pubkey"],[4,"ngIf"],[3,"routerLink"]],template:function(i,t){1&i&&(e._UZ(0,"app-profile-name",0),e.YNc(1,tx,2,1,"span",1),e.YNc(2,ix,5,3,"span",1),e.YNc(3,bg,2,0,"span",1),e.YNc(4,nx,4,3,"span",1),e.YNc(5,mb,5,4,"span",1)),2&i&&(e.Q6J("pubkey",t.notification.pubkey),e.xp6(1),e.Q6J("ngIf",t.notification.kind>7),e.xp6(1),e.Q6J("ngIf",1==t.notification.kind),e.xp6(1),e.Q6J("ngIf",3==t.notification.kind),e.xp6(1),e.Q6J("ngIf",6==t.notification.kind),e.xp6(1),e.Q6J("ngIf",7==t.notification.kind))},dependencies:[F.O5,Yt.rH,xc],encapsulation:2});class cs{transform(i){return i?is.unix(i).fromNow():""}}cs.\u0275fac=function(i){return new(i||cs)},cs.\u0275pipe=e.Yjl({name:"ago",type:cs,pure:!0});const rx=["picker"];function ax(r,i){if(1&r&&e._UZ(0,"app-event-header",17),2&r){const t=i.$implicit;e.Q6J("listType","icon")("iconSize","thumbnail")("displayName",!1)("displayContent",!1)("profile",t)}}function yg(r,i){if(1&r&&(e.TgZ(0,"p"),e._UZ(1,"app-notification-label",22),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.Q6J("notification",t)}}function ox(r,i){1&r&&(e.TgZ(0,"p",23),e._uU(1,"No activities"),e.qZA())}function fb(r,i){if(1&r&&(e.TgZ(0,"mat-card-content",18),e.YNc(1,yg,2,1,"p",19),e.YNc(2,ox,2,0,"p",20),e.TgZ(3,"div",12)(4,"button",21),e._uU(5,"View more"),e.qZA()()()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("ngForOf",t),e.xp6(1),e.Q6J("ngIf",0==t.length)}}const sx=function(r){return["/following",r]};function lx(r,i){if(1&r&&(e.TgZ(0,"div",24),e._uU(1),e._UZ(2,"br"),e.TgZ(3,"small"),e._uU(4),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"button",25),e._uU(7,"View profiles"),e.qZA()()),2&r){const t=i.$implicit;e.xp6(1),e.hij(" ",t.name,""),e.xp6(3),e.Oqu(t.about),e.xp6(2),e.Q6J("routerLink",e.VKq(3,sx,t.pubkeyhex))}}function cx(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",26),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,T=e.oxw();return e.KtG(T.navigation.openEvent(a,v))}),e.TgZ(1,"div",27)(2,"app-event-header",28)(3,"span",29),e._uU(4),e.ALo(5,"ago"),e.qZA(),e._UZ(6,"app-directory-icon",28),e.qZA(),e._UZ(7,"app-event-actions",30),e.qZA(),e._UZ(8,"app-content",30),e.qZA()}if(2&r){const t=i.$implicit;e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(2),e.Oqu(e.lcZ(5,5,t.created_at)),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t)}}class Eh{constructor(i,t,n,a,l,v,T,G,z,be,Ve,bt,Pt,Gt,ii,ti,di){this.ui=i,this.db=t,this.appState=n,this.cd=a,this.options=l,this.dialog=v,this.navigation=T,this.profileService=G,this.validator=z,this.authService=be,this.utilities=Ve,this.snackBar=bt,this.dataService=Pt,this.router=Gt,this.breakpointObserver=ii,this.ngZone=ti,this.formBuilder=di,this.subscriptions=[],this.lists=[{name:"Nostr",about:"Influencial nostr developers and community people",pubkey:"npub15xrwvftyzynahpl5fmpuv9wtkg9q52j8q73saw59u8tmx63ktx8sfclgss",pubkeyhex:"a186e625641127db87f44ec3c615cbb20a0a2a4707a30eba85e1d7b36a36598f"},{name:"Bitcoin",about:"Influencial Bitcoin people",pubkey:"npub175ag9cus82a0zzpkheaglnudpvsc8q046z82cyz9gmauzlve6r2s4k9fpm",pubkeyhex:"f53a82e3903abaf10836be7a8fcf8d0b218381f5d08eac104546fbc17d99d0d5"},{name:"Blockcore",about:"Follow the Blockcore developers",pubkey:"npub1zfy0r7x8s3xukajewkmmzxjj3wpfan7apj5y7szz7y740wtf6p5q3tdyy9",pubkeyhex:"1248f1f8c7844dcb765975b7b11a528b829ecfdd0ca84f4042f13d57b969d068"}],this.defaults=[{pubkeynpub:"npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6",pubkey:"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",name:"fiatjaf",picture:"https://pbs.twimg.com/profile_images/539211568035004416/sBMjPR9q_normal.jpeg",about:"buy my merch at fiatjaf store",checked:!1},{pubkeynpub:"npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m",pubkey:"82341f882b6eabcd2ba7f1ef90aad961cf074af15b9ef44a09f9d2a8fbfbe6a2",name:"jack",picture:"https://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8_normal.jpg",about:"bitcoin...twttr/@jack",checked:!1},{pubkeynpub:"npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s",pubkey:"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",name:"jb55",picture:"https://pbs.twimg.com/profile_images/1362882895669436423/Jzsp1Ikr_normal.jpg",about:"damus.io author. bitcoin and nostr dev",checked:!1},{pubkeynpub:"npub1v4v57fu60zvc9d2uq23cey4fnwvxlzga9q2vta2n6xalu03rs57s0mxwu8",pubkey:"65594f279a789982b55c02a38c92a99b986f891d2814c5f553d1bbfe3e23853d",name:"hampus",picture:"https://pbs.twimg.com/profile_images/1517505111991504896/9qixSAMn_normal.jpg",about:"",checked:!1},{pubkeynpub:"npub1zl3g38a6qypp6py2z07shggg45cu8qex992xpss7d8zrl28mu52s4cjajh",pubkey:"17e2889fba01021d048a13fd0ba108ad31c38326295460c21e69c43fa8fbe515",name:"sondreb",picture:"https://sondreb.com/favicon.png",about:"Developer \u{1f9b8}\u200d\u2642\ufe0f of Blockcore Notes and Blockcore Wallet",checked:!1}],this.latestItems=[],this.initialLoad=!0,this.details=!1,this.images=["https://picsum.photos/seed/1/800/600","https://picsum.photos/seed/2/600/800","https://picsum.photos/seed/3/800/800","https://picsum.photos/seed/4/800/600","https://picsum.photos/seed/5/600/800","https://picsum.photos/seed/6/800/800","https://picsum.photos/seed/7/800/600","https://picsum.photos/seed/8/600/800","https://picsum.photos/seed/9/800/800","https://picsum.photos/seed/10/800/600","https://picsum.photos/seed/11/600/800","https://picsum.photos/seed/12/800/800","https://picsum.photos/seed/1/800/600","https://picsum.photos/seed/2/600/800","https://picsum.photos/seed/3/800/800"],this.profileThumbnailWidth=72,this.profileCount=1,this.profiles=[],console.log("HOME constructor!!")}addEmoji(i){this.note=`${this.note}${i.emoji.native}`,this.isEmojiPickerVisible=!1}onCancel(){this.note=""}postNote(){this.navigation.saveNote(this.note)}follow(i){var t=this;return(0,we.Z)(function*(){i.checked&&(yield t.profileService.follow(i.pubkey,0,i))})()}trackByFn(i,t){return t.id}trackByProfile(i,t){return`${t.pubkey}${t.checked}`}trackByNoteId(i,t){return t.id}toggleDetails(){this.details=!this.details}import(i){this.dataService.enque({identifier:i,type:"Contacts"})}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}feedChanged(i,t){"public"===t?this.options.values.privateFeed=!this.options.values.publicFeed:this.options.values.publicFeed=!this.options.values.privateFeed}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.options.values.privateFeed=!0,i.formGroup=i.formBuilder.group({note:["",to.required],expiration:[""],dateControl:[]}),i.appState.updateTitle("Blockcore Notes"),i.appState.showBackButton=!1,i.appState.showLogo=!0,i.appState.actions=[{icon:"note_add",tooltip:"Create Note",click:()=>{i.navigation.createNote()}}],i.latestItems=yield i.db.storage.getEventsByCreatedAndKind(7,1),i.subscriptions.push(i.profileService.following$.subscribe(t=>{i.profileCount=75,i.profiles=t.slice(0,i.profileCount)}))})()}}Eh.\u0275fac=function(i){return new(i||Eh)(e.Y36(zr),e.Y36(Fr),e.Y36(Oe.i),e.Y36(e.sBO),e.Y36(la.I),e.Y36(yi),e.Y36(za),e.Y36(Yn),e.Y36(ns.Y),e.Y36(Wc.$),e.Y36(pn.dU),e.Y36(no.ux),e.Y36(pa),e.Y36(Yt.F0),e.Y36(De.Yg),e.Y36(e.R0b),e.Y36(S0))},Eh.\u0275cmp=e.Xpm({type:Eh,selectors:[["app-home"]],viewQuery:function(i,t){if(1&i&&e.Gf(rx,5),2&i){let n;e.iGM(n=e.CRH())&&(t.picker=n.first)}},decls:49,vars:9,consts:[[1,"page"],[1,"profile-line"],[3,"scrollbar-hidden","drag-scroll-y-disabled"],[3,"listType","iconSize","displayName","displayContent","profile",4,"ngFor","ngForOf"],["mat-icon-button","","routerLink","/people",1,"profile-line-more-button"],[1,"home"],[1,"home-left"],[1,"home-card"],["class","activity-feed",4,"ngIf"],["class","list-selection",4,"ngFor","ngForOf"],["href","https://geyser.fund/project/blockcore","target","_blank"],[1,"home-right"],[1,"centered"],["routerLink","/editor","mat-fab","","extended","","color","primary"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"view-more-container"],["mat-button","","routerLink","/feed"],[3,"listType","iconSize","displayName","displayContent","profile"],[1,"activity-feed"],[4,"ngFor","ngForOf"],["class","dimmed",4,"ngIf"],["mat-button","","routerLink","/notifications"],[3,"notification"],[1,"dimmed"],[1,"list-selection"],["mat-flat-button","","color","primary",1,"full-width",3,"routerLink"],[1,"events","clickable",3,"click"],[1,"events-header"],[3,"pubkey"],["matTooltipPosition","below",1,"event-date"],[3,"event"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"drag-scroll",2),e.YNc(3,ax,1,5,"app-event-header",3),e.TgZ(4,"button",4)(5,"mat-icon"),e._uU(6,"more_horiz"),e.qZA()()()(),e.TgZ(7,"div",5)(8,"div",6)(9,"mat-card",7)(10,"mat-card-header")(11,"mat-card-title"),e._uU(12,"Activity Feed"),e.qZA()(),e.YNc(13,fb,6,2,"mat-card-content",8),e.ALo(14,"async"),e.qZA(),e.TgZ(15,"mat-card",7)(16,"mat-card-header")(17,"mat-card-title"),e._uU(18,"Following Lists"),e.qZA(),e.TgZ(19,"mat-card-subtitle"),e._uU(20,"Lists of users based upon topics you can add to your following list."),e.qZA()(),e.TgZ(21,"mat-card-content"),e.YNc(22,lx,8,5,"div",9),e.qZA()(),e.TgZ(23,"mat-card",7)(24,"mat-card-header")(25,"mat-card-title"),e._uU(26,"Prototype"),e.qZA()(),e.TgZ(27,"mat-card-content")(28,"p"),e._uU(29,"Blockcore Notes is currently in prototype quality stage. Reset the database often."),e.qZA(),e.TgZ(30,"p"),e._uU(31,"Please consider donating some Bitcoin using Geyser:"),e.qZA(),e.TgZ(32,"p")(33,"a",10),e._uU(34,"geyser.fund/blockcore"),e.qZA()()()()(),e.TgZ(35,"div",11),e._UZ(36,"br")(37,"br"),e.TgZ(38,"div",12)(39,"button",13)(40,"mat-icon"),e._uU(41,"note_add"),e.qZA(),e._uU(42," Write a Note "),e.qZA()(),e._UZ(43,"br")(44,"br"),e.YNc(45,cx,9,7,"mat-card",14),e.TgZ(46,"p",15)(47,"button",16),e._uU(48,"View following notes..."),e.qZA()()()()()),2&i&&(e.xp6(2),e.Q6J("scrollbar-hidden",!0)("drag-scroll-y-disabled",!0),e.xp6(1),e.Q6J("ngForOf",t.profiles),e.xp6(10),e.Q6J("ngIf",e.lcZ(14,7,t.ui.activityFeed$)),e.xp6(9),e.Q6J("ngForOf",t.lists),e.xp6(23),e.Q6J("ngForOf",t.latestItems)("ngForTrackBy",t.trackByFn))},dependencies:[F.sg,F.O5,Yt.rH,Dt.lW,Dt.RK,Dt.cs,ca,Rs,fh,mh,hh,Wn,p1,jo,Ro,Po,po,Kc,F.Ov,cs],styles:[".dashboard-header[_ngcontent-%COMP%]{display:flex;gap:2em;flex-direction:row}.dashboard-header[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{border-radius:20px}.card-container[_ngcontent-%COMP%]{box-sizing:border-box}.default-card[_ngcontent-%COMP%]{display:inline-block;width:300px;height:160px;margin-right:1em;margin-bottom:1em}.follow-button[_ngcontent-%COMP%]{margin-top:1em;width:100%;font-size:1.2em;height:72px;text-align:center}.follow-card-content[_ngcontent-%COMP%]{text-align:center}.follow-toggle[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.dashboard[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1em}.dashboard-left[_ngcontent-%COMP%]{flex-grow:4;flex-shrink:1;flex-basis:10%}.dashboard-right[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;flex-basis:10%}.list-selection[_ngcontent-%COMP%]{margin-top:1.4em}.list-selection[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:.8em}@media only screen and (max-width: 920px){.dashboard[_ngcontent-%COMP%]{flex-direction:column}}@media only screen and (max-width: 820px){.dashboard-header[_ngcontent-%COMP%]{flex-direction:column;gap:1em}}@media only screen and (max-width: 599px){.default-card[_ngcontent-%COMP%]{display:block;width:100%}}.home[_ngcontent-%COMP%]{display:flex;gap:1.5em;max-width:1360px;align-self:center}.home-left[_ngcontent-%COMP%]{flex:1 1 0;min-width:240px}.home-right[_ngcontent-%COMP%]{flex:3 1 0}.home-card[_ngcontent-%COMP%]{border-radius:15px;margin-bottom:1.8em;width:100%}.home-card-thumbnail[_ngcontent-%COMP%]{width:56px;height:56px;margin-left:.1em;margin-right:.1em;border-radius:5px}.home-card-image[_ngcontent-%COMP%]{width:100%}.page[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;width:100%;flex-direction:column}@media only screen and (max-width: 599px){.home[_ngcontent-%COMP%]{flex-direction:column-reverse;gap:1em}}.view-more-container[_ngcontent-%COMP%]{text-align:center}.activity-feed[_ngcontent-%COMP%]{font-size:.85em}.wipe-button[_ngcontent-%COMP%]{margin-bottom:1em}.profile-line[_ngcontent-%COMP%]{width:100%;overflow-y:hidden;overflow-x:scroll;display:flex;flex-direction:row;margin-bottom:.2em}.profile-line[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:transparent}.profile-line[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#a3a5a7c2}.profile-line[_ngcontent-%COMP%] .event-header[_ngcontent-%COMP%]{flex-flow:nowrap}.profile-line[_ngcontent-%COMP%] .icon-medium[_ngcontent-%COMP%]{width:64px!important;height:64px!important}.profile-line-more-button[_ngcontent-%COMP%]{margin-top:.4em;margin-left:.4em}drag-scroll[_ngcontent-%COMP%]{height:90px;width:100%}"]});class Ah{constructor(i,t,n,a,l,v){this.relayService=i,this.ui=t,this.appState=n,this.db=a,this.authService=l,this.router=v}ngOnInit(){this.relayService.terminateAll(),this.ui.clearAll(),this.db.close(),this.authService.logout()}}function dx(r,i){if(1&r&&(e.TgZ(0,"mat-chip-option",4),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.name)}}function ux(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"mat-form-field",5)(2,"input",6),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.label=a)}),e.qZA()(),e.TgZ(3,"button",7),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.saveLabel())}),e.TgZ(4,"mat-icon"),e._uU(5,"done"),e.qZA()(),e.TgZ(6,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.hideNewLabel())}),e.TgZ(7,"mat-icon"),e._uU(8,"close"),e.qZA()()()}if(2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngModel",t.label),e.xp6(1),e.Q6J("disabled",!t.label)}}function hx(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.addNewLabel())}),e.TgZ(1,"mat-icon"),e._uU(2,"add"),e.qZA()()}}Ah.\u0275fac=function(i){return new(i||Ah)(e.Y36(ro),e.Y36(zr),e.Y36(Oe.i),e.Y36(Fr),e.Y36(Wc.$),e.Y36(Yt.F0))},Ah.\u0275cmp=e.Xpm({type:Ah,selectors:[["app-logout"]],decls:1,vars:0,template:function(i,t){1&i&&e._uU(0,"Loading...")},encapsulation:2});class uu{constructor(i){this.labelService=i,this.selectionChanged=new e.vpe}addNewLabel(){this.showNewLabel=!0}hideNewLabel(){this.showNewLabel=!1,this.label=""}onChange(i){console.log(i),this.selectionChanged.emit(i.value)}saveLabel(){var i=this;return(0,we.Z)(function*(){i.label&&(i.labelService.saveLabel(i.label),i.label="",i.showNewLabel=!1)})()}}uu.\u0275fac=function(i){return new(i||uu)(e.Y36(ls))},uu.\u0275cmp=e.Xpm({type:uu,selectors:[["app-labels"]],outputs:{selectionChanged:"selectionChanged"},decls:4,vars:5,consts:[["aria-label","Fish selection",3,"selectable","multiple","change"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[3,"value"],[1,"example-form-field"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-icon-button","",3,"disabled","click"],["mat-icon-button","",3,"click"]],template:function(i,t){1&i&&(e.TgZ(0,"mat-chip-listbox",0),e.NdJ("change",function(a){return t.onChange(a)}),e.YNc(1,dx,2,2,"mat-chip-option",1),e.YNc(2,ux,9,2,"div",2),e.YNc(3,hx,3,0,"button",3),e.qZA()),2&i&&(e.Q6J("selectable",!0)("multiple",!0),e.xp6(1),e.Q6J("ngForOf",t.labelService.labels),e.xp6(1),e.Q6J("ngIf",t.showNewLabel),e.xp6(1),e.Q6J("ngIf",!t.showNewLabel))},dependencies:[F.sg,F.O5,io,Ca,Dt.RK,Wn,cf,nu,ar,Sr,oa]});class hu{constructor(i){this.labelService=i}transform(i){return i?this.labelService.getName(i):""}}function mx(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,", "),e.qZA())}function fx(r,i){if(1&r&&(e.TgZ(0,"span")(1,"strong"),e._uU(2),e.ALo(3,"label"),e.qZA(),e.YNc(4,mx,2,0,"span",1),e.qZA()),2&r){const t=i.$implicit,n=i.last;e.xp6(2),e.Oqu(e.lcZ(3,2,t)),e.xp6(2),e.Q6J("ngIf",!n)}}hu.\u0275fac=function(i){return new(i||hu)(e.Y36(ls,16))},hu.\u0275pipe=e.Yjl({name:"label",type:hu,pure:!0});class mu{constructor(i){this.labelService=i,this.labels=[]}}function px(r,i){1&r&&(e.TgZ(0,"div"),e._uU(1,"Notes are all your saved posts. These can be your own, or they can be copies of public posts made by others. You can add tags to organize your saved notes."),e._UZ(2,"br"),e.qZA())}function gx(r,i){if(1&r&&(e.TgZ(0,"mat-card",5)(1,"div",6)(2,"app-event-header",7),e._uU(3,"Posted: "),e.TgZ(4,"span",8),e._uU(5),e.ALo(6,"ago"),e.qZA(),e._uU(7,", Saved: "),e.TgZ(8,"span",8),e._uU(9),e.ALo(10,"ago"),e.qZA()(),e._UZ(11,"app-event-actions",9),e.qZA(),e._UZ(12,"app-content",9)(13,"app-label",10),e.qZA()),2&r){const t=i.$implicit;e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(3),e.Oqu(e.lcZ(6,6,t.created_at)),e.xp6(4),e.Oqu(e.lcZ(10,8,t.saved)),e.xp6(2),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("labels",t.labels)}}mu.\u0275fac=function(i){return new(i||mu)(e.Y36(ls))},mu.\u0275cmp=e.Xpm({type:mu,selectors:[["app-label"]],inputs:{labels:"labels"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(i,t){1&i&&(e._uU(0,"Labels: "),e.YNc(1,fx,5,4,"span",0)),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.labels))},dependencies:[F.sg,F.O5,hu],encapsulation:2});class Th{constructor(i,t){this.notesService=i,this.appState=t,this.details=!1}toggleDetails(){this.details=!this.details}filterNotes(i){this.notesService.filterByLabels(i)}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.appState.updateTitle("Bookmarks"),i.appState.goBack=!0,i.appState.actions=[],yield i.notesService.load()})()}}Th.\u0275fac=function(i){return new(i||Th)(e.Y36(Us),e.Y36(Oe.i))},Th.\u0275cmp=e.Xpm({type:Th,selectors:[["app-notes"]],decls:5,vars:2,consts:[[1,"feed-page"],[3,"selectionChanged"],[4,"ngIf"],[1,"notes"],["class","events",4,"ngFor","ngForOf"],[1,"events"],[1,"events-header"],[3,"pubkey"],[1,"event-date"],[3,"event"],[3,"labels"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"app-labels",1),e.NdJ("selectionChanged",function(a){return t.filterNotes(a)}),e.qZA(),e.YNc(2,px,3,0,"div",2),e.TgZ(3,"div",3),e.YNc(4,gx,14,10,"mat-card",4),e.qZA()()),2&i&&(e.xp6(2),e.Q6J("ngIf",0===t.notesService.items.length),e.xp6(2),e.Q6J("ngForOf",t.notesService.filtered))},dependencies:[F.sg,F.O5,ca,Ro,Po,po,uu,mu,cs],styles:[".events[_ngcontent-%COMP%]{width:480px;max-width:480px}.notes[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em;margin-top:1em;align-items:flex-start}"]});var Sh=y(9766);class zl{onElementScroll(){"self"===this.infiniteScrollContext&&this.elementEndReachedInSelfScrollbarContext()&&this.canTriggerAction&&this.triggerAction()}constructor(i){this.element=i,this.canTriggerAction=!0,this.infiniteScrollContext="self",this.scrollAction=new e.vpe,this.el=i.nativeElement,this.viewport=this.getViewport(window)}ngOnInit(){"document"===this.infiniteScrollContext&&document.addEventListener("scroll",()=>{this.elementEndReachedInDocumentScrollbarContext(window,this.el)&&this.canTriggerAction&&this.triggerAction()})}triggerAction(){this.canTriggerAction=!1,this.scrollAction.emit(null)}elementEndReachedInSelfScrollbarContext(){return this.el.scrollTop+this.el.offsetHeight>=this.el.scrollHeight-1&&(this.canTriggerAction=!0,!0)}elementEndReachedInDocumentScrollbarContext(i,t){const l=t.getBoundingClientRect().top+i.pageYOffset;return i.pageYOffset+this.viewport.h>t.offsetHeight+l&&(this.canTriggerAction=!0,!0)}getViewport(i){if(null!=i.innerWidth)return{w:i.innerWidth,h:i.innerHeight};let t=i.document;return"CSS1Compat"==document.compatMode?{w:t.documentElement.clientWidth,h:t.documentElement.clientHeight}:{w:t.body.clientWidth,h:t.body.clientHeight}}}zl.\u0275fac=function(i){return new(i||zl)(e.Y36(e.SBq))},zl.\u0275dir=e.lG2({type:zl,selectors:[["","infiniteScroll",""]],hostBindings:function(i,t){1&i&&e.NdJ("scroll",function(a){return t.onElementScroll(a)})},inputs:{infiniteScrollContext:"infiniteScrollContext"},outputs:{scrollAction:"scrollAction"}});var $c=y(3259);const vg=["qrcElement"];let _x=(()=>{class r{constructor(t,n){this.renderer=t,this.sanitizer=n,this.allowEmptyString=!1,this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.qrdata="",this.scale=4,this.width=10,this.qrCodeURL=new e.vpe,this.context=null}ngOnChanges(){var t=this;return(0,we.Z)(function*(){yield t.createQRCode()})()}isValidQrCodeText(t){return!1===this.allowEmptyString?!(typeof t>"u"||""===t||"null"===t||null===t):!(typeof t>"u")}toDataURL(t){return new Promise((n,a)=>{(0,$c.hz)(this.qrdata,t,(l,v)=>{l?a(l):n(v)})})}toCanvas(t,n){return new Promise((a,l)=>{(0,$c.rT)(t,this.qrdata,n,v=>{v?l(v):a("success")})})}toSVG(t){return new Promise((n,a)=>{(0,$c.toString)(this.qrdata,t,(l,v)=>{l?a(l):n(v)})})}renderElement(t){for(const n of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,n);this.renderer.appendChild(this.qrcElement.nativeElement,t)}createQRCode(){var t=this;return(0,we.Z)(function*(){t.version&&t.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),t.version=40):t.version&&t.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),t.version=1):void 0!==t.version&&isNaN(t.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto."),t.version=void 0);try{if(!t.isValidQrCodeText(t.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty, set 'allowEmptyString=\"true\"' to overwrite this behaviour.");t.isValidQrCodeText(t.qrdata)&&""===t.qrdata&&(t.qrdata=" ");const n={color:{dark:t.colorDark,light:t.colorLight},errorCorrectionLevel:t.errorCorrectionLevel,margin:t.margin,scale:t.scale,version:t.version,width:t.width},a=t.imageSrc,l=t.imageHeight||40,v=t.imageWidth||40;switch(t.elementType){case"canvas":const T=t.renderer.createElement("canvas");t.context=T.getContext("2d"),t.toCanvas(T,n).then(()=>{if(t.ariaLabel&&t.renderer.setAttribute(T,"aria-label",`${t.ariaLabel}`),t.title&&t.renderer.setAttribute(T,"title",`${t.title}`),a&&t.context){t.centerImage=new Image(v,l),a!==t.centerImage.src&&(t.centerImage.src=a),l!==t.centerImage.height&&(t.centerImage.height=l),v!==t.centerImage.width&&(t.centerImage.width=v);const be=t.centerImage;be&&(be.onload=()=>{t.context?.drawImage(be,T.width/2-v/2,T.height/2-l/2,v,l)})}t.renderElement(T),t.emitQRCodeURL(T)}).catch(be=>{console.error("[angularx-qrcode] canvas error:",be)});break;case"svg":const G=t.renderer.createElement("div");t.toSVG(n).then(be=>{t.renderer.setProperty(G,"innerHTML",be);const Ve=G.firstChild;t.renderer.setAttribute(Ve,"height",`${t.width}`),t.renderer.setAttribute(Ve,"width",`${t.width}`),t.renderElement(Ve),t.emitQRCodeURL(Ve)}).catch(be=>{console.error("[angularx-qrcode] svg error:",be)});break;default:const z=t.renderer.createElement("img");t.toDataURL(n).then(be=>{t.alt&&z.setAttribute("alt",t.alt),t.ariaLabel&&z.setAttribute("aria-label",t.ariaLabel),z.setAttribute("src",be),t.title&&z.setAttribute("title",t.title),t.renderElement(z),t.emitQRCodeURL(z)}).catch(be=>{console.error("[angularx-qrcode] img/url error:",be)})}}catch(n){console.error("[angularx-qrcode] Error generating QR Code:",n.message)}})()}emitQRCodeURL(t){const n=t.constructor.name;if(n===SVGSVGElement.name){const v=new Blob([t.outerHTML],{type:"image/svg+xml"}),T=URL.createObjectURL(v),G=this.sanitizer.bypassSecurityTrustUrl(T);return void this.qrCodeURL.emit(G)}let a="";n===HTMLCanvasElement.name&&(a=t.toDataURL("image/png")),n===HTMLImageElement.name&&(a=t.src),fetch(a).then(l=>l.blob()).then(l=>URL.createObjectURL(l)).then(l=>this.sanitizer.bypassSecurityTrustUrl(l)).then(l=>{this.qrCodeURL.emit(l)}).catch(l=>{console.error("[angularx-qrcode] Error when fetching image/png URL: "+l)})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Qsj),e.Y36(f.H7))},r.\u0275cmp=e.Xpm({type:r,selectors:[["qrcode"]],viewQuery:function(t,n){if(1&t&&e.Gf(vg,7),2&t){let a;e.iGM(a=e.CRH())&&(n.qrcElement=a.first)}},inputs:{allowEmptyString:"allowEmptyString",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",imageSrc:"imageSrc",imageHeight:"imageHeight",imageWidth:"imageWidth",margin:"margin",qrdata:"qrdata",scale:"scale",version:"version",width:"width",alt:"alt",ariaLabel:"ariaLabel",title:"title"},outputs:{qrCodeURL:"qrCodeURL"},features:[e.TTD],decls:2,vars:2,consts:[["qrcElement",""]],template:function(t,n){1&t&&e._UZ(0,"div",null,0),2&t&&e.Tol(n.cssClass)},encapsulation:2,changeDetection:0}),r})(),bx=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();function wg(r,i){if(1&r&&e._UZ(0,"img",14),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}function yx(r,i){if(1&r&&e._UZ(0,"img",15),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}class fu{constructor(i,t){this.data=i,this.util=t,this.invoice={pr:""},this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.invoice=i.data.invoice,i.profile=i.data.profile,i.updateProfileDetails()})()}updateProfileDetails(){var i=this;return(0,we.Z)(function*(){i.profile&&(i.profile.picture&&(i.imagePath=i.profile.picture),i.tooltip=i.profile.about,i.tooltipName=i.profileName,i.profileName=i.profile.display_name||i.profile.name||i.profileName)})()}copy(i){this.util.copy(i)}}function pu(r,i){if(1&r&&e._UZ(0,"img",9),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}function pb(r,i){if(1&r&&e._UZ(0,"img",10),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}function vx(r,i){1&r&&(e.TgZ(0,"div",11),e._uU(1,"Fetching invoice..."),e.qZA())}function Ok(r,i){if(1&r&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.hij("Unable to send Zap to ",t.profileName,". Their profile does not have any lightning payment address, please let them know so you can zap them in the future.")}}function gb(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(3);e.xp6(1),e.AsE("Please enter an amount between ",t.minSendable," and ",t.maxSendable,".")}}function xg(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(3);e.hij("The minimum amount you can send is ",t.minSendable,".")}}function wx(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(3);e.hij("The maximum amount you can send is ",t.maxSendable,".")}}function Fg(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(3);e.hij("The maximum amount you can send is ",t.maxSendable,".")}}function xx(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(3);e.hij("The maximum amount you can send is ",t.maxSendable,".")}}function _b(r,i){1&r&&e._uU(0,"Please enter a valid amount.")}function Cg(r,i){if(1&r&&(e.TgZ(0,"mat-error"),e.GkF(1,30),e.YNc(2,gb,2,2,"ng-template",null,31,e.W1O),e.YNc(4,xg,1,1,"ng-template",null,32,e.W1O),e.YNc(6,wx,1,1,"ng-template",null,33,e.W1O),e.YNc(8,Fg,1,1,"ng-template",null,34,e.W1O),e.YNc(10,xx,1,1,"ng-template",null,35,e.W1O),e.YNc(12,_b,1,0,"ng-template",null,36,e.W1O),e.qZA()),2&r){const t=e.MAs(3),n=e.MAs(5),a=e.MAs(7),l=e.MAs(9),v=e.MAs(11),T=e.MAs(13),G=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",G.minSendable>0&&G.maxSendable>0?t:G.minSendable>0&&0==G.maxSendable?n:0==G.minSendable&&G.maxSendable>0?a:G.maxSendable>0?l:G.maxSendable<=0?v:T)}}function bb(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1," Please enter a comment. "),e.qZA())}function yb(r,i){if(1&r&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.error," ")}}function vb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"div",12)(2,"div",13)(3,"button",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(50))}),e.TgZ(4,"mat-icon"),e._uU(5,"thumb_up"),e.qZA(),e.TgZ(6,"span",15),e._uU(7,"50"),e.qZA()()(),e.TgZ(8,"div",13)(9,"button",16),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(100))}),e.TgZ(10,"mat-icon"),e._uU(11,"favorite"),e.qZA(),e.TgZ(12,"span",15),e._uU(13,"100"),e.qZA()()(),e.TgZ(14,"div",13)(15,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(500))}),e.TgZ(16,"mat-icon"),e._uU(17,"sentiment_very_satisfied"),e.qZA(),e.TgZ(18,"span",15),e._uU(19,"500"),e.qZA()()()(),e.TgZ(20,"div",12)(21,"div",13)(22,"button",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(1e3))}),e.TgZ(23,"mat-icon"),e._uU(24,"star"),e.qZA(),e.TgZ(25,"span",15),e._uU(26,"1k"),e.qZA()()(),e.TgZ(27,"div",13)(28,"button",16),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(5e3))}),e.TgZ(29,"mat-icon"),e._uU(30,"celebration"),e.qZA(),e.TgZ(31,"span",15),e._uU(32,"5k"),e.qZA()()(),e.TgZ(33,"div",13)(34,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(1e4))}),e.TgZ(35,"mat-icon"),e._uU(36,"rocket"),e.qZA(),e.TgZ(37,"span",15),e._uU(38,"10k"),e.qZA()()()(),e.TgZ(39,"div",12)(40,"div",13)(41,"button",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(1e5))}),e.TgZ(42,"mat-icon"),e._uU(43,"whatshot"),e.qZA(),e.TgZ(44,"span",15),e._uU(45,"100k"),e.qZA()()(),e.TgZ(46,"div",13)(47,"button",16),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(5e5))}),e.TgZ(48,"mat-icon"),e._uU(49,"flash_on"),e.qZA(),e.TgZ(50,"span",15),e._uU(51," 500k"),e.qZA()()(),e.TgZ(52,"div",13)(53,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAmount(1e6))}),e.TgZ(54,"mat-icon"),e._uU(55,"diamond"),e.qZA(),e.TgZ(56,"span",15),e._uU(57,"1M"),e.qZA()()()(),e.TgZ(58,"form",18),e.NdJ("ngSubmit",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onSubmit())}),e.TgZ(59,"div",19)(60,"div",20)(61,"mat-form-field",21)(62,"mat-label"),e._uU(63,"Zap Amount"),e.qZA(),e.TgZ(64,"input",22),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.amount=a)}),e.qZA(),e.YNc(65,Cg,14,1,"mat-error",8),e.qZA()()(),e.TgZ(66,"div",19)(67,"div",20)(68,"mat-form-field",21)(69,"mat-label"),e._uU(70,"Comment"),e.qZA(),e._UZ(71,"input",23),e.YNc(72,bb,2,0,"mat-error",8),e.qZA()()(),e.TgZ(73,"div",24)(74,"div",25)(75,"button",26),e._uU(76,"Cancel"),e.qZA()(),e.TgZ(77,"div")(78,"button",27),e.O4$(),e.TgZ(79,"svg",28),e._UZ(80,"path",29),e.qZA(),e.kcU(),e.TgZ(81,"span"),e._uU(82),e.qZA()()()(),e.YNc(83,yb,2,1,"mat-error",8),e.qZA()()}if(2&r){const t=e.oxw();let n,a;e.xp6(58),e.Q6J("formGroup",t.sendZapForm),e.xp6(6),e.Q6J("ngModel",t.amount),e.xp6(1),e.Q6J("ngIf",null==(n=t.sendZapForm.get("amount"))?null:n.invalid),e.xp6(7),e.Q6J("ngIf",null==(a=t.sendZapForm.get("comment"))?null:a.invalid),e.xp6(6),e.Q6J("disabled",t.sendZapForm.invalid),e.xp6(4),e.hij(" Zap ",t.sendZapForm.value.amount,""),e.xp6(1),e.Q6J("ngIf",t.error)}}fu.\u0275fac=function(i){return new(i||fu)(e.Y36(_t),e.Y36(pn.dU))},fu.\u0275cmp=e.Xpm({type:fu,selectors:[["app-zap-qr-code"]],decls:19,vars:18,consts:[["mat-dialog-content","",2,"text-align","center"],[1,"profile-container",2,"display","inline-flex","align-items","center"],[1,"icon","icon-small",2,"margin-right","10px"],["onerror","this.src='/assets/profile.png'","class","profile-image profile-image-follow","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],["loading","lazy","onerror","this.src='/assets/profile.png'","class","profile-image","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],[1,"name","clickable",2,"flex-grow","1"],["matTooltipPosition","above",3,"matTooltip"],[2,"display","flex","justify-content","center","align-items","center","flex-direction","column"],[3,"qrdata","width","errorCorrectionLevel"],[1,"profile-labels",2,"display","flex","align-items","center","cursor","pointer",3,"click"],[1,"profile-labels-left"],[1,"hoverable",2,"width","100%"],[1,"profile-labels-middle","dimmed",2,"text-align","right"],[1,"profile-icon",2,"margin-left","5px"],["onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image","profile-image-follow",3,"matTooltip","src"],["loading","lazy","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image",3,"matTooltip","src"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2),e.YNc(3,wg,1,2,"img",3),e.YNc(4,yx,1,2,"img",4),e.qZA(),e.TgZ(5,"div",5)(6,"span",6),e._uU(7),e.qZA()()(),e.TgZ(8,"div",7),e._UZ(9,"qrcode",8),e.TgZ(10,"div",9),e.NdJ("click",function(){return t.copy(t.invoice.pr)}),e.TgZ(11,"div",10)(12,"a",11),e._uU(13),e.ALo(14,"slice"),e.ALo(15,"slice"),e.qZA()(),e.TgZ(16,"div",12)(17,"mat-icon",13),e._uU(18,"content_copy"),e.qZA()()()()()),2&i&&(e.xp6(3),e.Q6J("ngIf",1==(null==t.profile?null:t.profile.status)||2==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",1!=(null==t.profile?null:t.profile.status)&&2!=(null==t.profile?null:t.profile.status)),e.xp6(2),e.ekj("muted",2==t.profile.status),e.Q6J("matTooltip",t.tooltipName),e.xp6(1),e.hij("Send Zaps to ",t.profileName,""),e.xp6(2),e.Q6J("qrdata",t.invoice.pr)("width",256)("errorCorrectionLevel","M"),e.xp6(4),e.AsE("",e.Dn7(14,11,t.invoice.pr,0,10),"...",e.xi3(15,15,t.invoice.pr,-10),""))},dependencies:[F.O5,Wn,fo,yt,_x,F.OU],styles:[".profile-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin-bottom:30px}.icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;overflow:hidden;margin-right:10px}.profile-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border:unset}.name[_ngcontent-%COMP%]{font-size:18px;font-weight:700;text-align:center}.mdc-dialog__actions[_ngcontent-%COMP%]{padding:0}"]});class Gl{constructor(i,t,n,a,l,v,T,G,z,be){this.data=i,this.formBuilder=t,this.eventService=n,this.relayService=a,this.nostr=l,this.util=v,this.db=T,this.dataService=G,this.dialog=z,this.dialogRef=be,this.minSendable=0,this.maxSendable=0,this.amount=0,this.comment="",this.payRequest=null,this.invoice={pr:""},this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.error="",this.canZap=!0,this.loading=!0,this.items=[]}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.profile=i.data.profile,i.event=i.data.event,i.sendZapForm=i.formBuilder.group({amount:["",[to.required]],comment:[""]}),i.fetchPayReq(),yield i.updateProfileDetails()})()}fetchPayReq(){var i=this;return(0,we.Z)(function*(){i.payRequest=yield i.fetchZapper(),i.canZap=!!i.payRequest,i.loading=!1,i.recofigureFormValidators()})()}fetchZapper(){var i=this;return(0,we.Z)(function*(){let t="";if(!i.profile.lud16&&i.profile.lud06&&i.profile.lud06.indexOf("@")>-1){const n=i.profile.lud06.split("@");t=`https://${n[1]}/.well-known/lnurlp/${n[0]}`}else if(i.profile.lud16){const n=i.profile.lud16.split("@");t=`https://${n[1]}/.well-known/lnurlp/${n[0]}`}else i.profile.lud06&&i.profile.lud06.toLowerCase().startsWith("lnurl")&&(t=i.util.convertBech32ToText(i.profile.lud06).toString());if(0!==t.length)try{const n=yield fetch(t);if(n.ok){const a=yield n.json();if("ERROR"!==a.status)return a;i.error=a.reason?a.reason:"Error fetching the invoice - please try again later"}}catch{i.error="Error fetching the invoice - please try again later"}return null})()}onSubmit(){var i=this;return(0,we.Z)(function*(){if(i.sendZapForm.valid){let t=i.sendZapForm.get("comment")?.value,n=i.sendZapForm.get("amount")?.value;if(n&&i.payRequest){const a=new URL(i.payRequest.callback),l=new Map;let v;if(l.set("amount",Math.floor(1e3*n).toString()),t&&i.payRequest?.commentAllowed&&l.set("comment",t),i.payRequest.nostrPubkey&&i.profile.pubkey){let z=i.event?.id?i.event.id:null;v=yield i.createZapEvent(i.profile.pubkey,z,t),l.set("nostr",JSON.stringify(v))}const T=`${a.protocol}//${a.host}${a.pathname}`,G=[...l.entries()].map(z=>`${z[0]}=${encodeURIComponent(z[1])}`).join("&");try{const z=yield fetch(`${T}?${G}`);if(z.ok){const be=yield z.json();"ERROR"===be.status?i.error=be.reason?be.reason:"Error fetching the invoice - please try again later":(i.invoice=be,i.dialog.open(fu,{width:"400px",data:{invoice:i.invoice,profile:i.profile}}),i.dialogRef.close(Gl))}else i.error="Error fetching the invoice - please try again later"}catch{i.error="Error fetching the invoice - please try again later"}}else console.log("error: please enter an amount and a valid pay request")}})()}createZapEvent(i,t,n){var a=this;return(0,we.Z)(function*(){let l=a.dataService.createEvent(Qi.ZapRequest,"");l.content=n||"",Object.assign([],l.tags),t&&l.tags.push(["e",t]),l.tags.push(["p",i]),l=yield a.addRelaysTag(l);const v=yield a.createAndSignEvent(l);if(v)return v})()}addRelaysTag(i){var t=this;return(0,we.Z)(function*(){t.items=yield t.db.storage.getRelays();const n=t.items.map(a=>a.url);return i.tags.push(["relays",...n]),i})()}createAndSignEvent(i){var t=this;return(0,we.Z)(function*(){let n=i;n.id=Ar(i),n=yield t.nostr.sign(i);const a=t.eventService.processEvent(n);if(!a)throw new Error("The event is not valid. Cannot publish.");if(!xa(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield Oa(a)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return a})()}recofigureFormValidators(){this.minSendable=(this.payRequest?.minSendable||1e3)/1e3,this.maxSendable=(this.payRequest?.maxSendable||21e9)/1e3,this.sendZapForm.get("amount")?.setValidators([to.min((this.payRequest?.minSendable||1e3)/1e3),to.max((this.payRequest?.maxSendable||21e9)/1e3),to.required])}updateProfileDetails(){var i=this;return(0,we.Z)(function*(){i.profile&&(i.profile.picture&&(i.imagePath=i.profile.picture),i.tooltip=i.profile.about,i.tooltipName=i.profileName,i.profileName=i.profile.display_name||i.profile.name||i.util.getNostrIdentifier(i.profile.pubkey))})()}setAmount(i){this.sendZapForm.get("amount")?.setValue(i)}}function kg(r,i){const t=Array(r);for(let n=0;nString(r)),kg(60,r=>String(r));let Cx=(()=>{class r{transform(t){return t instanceof e.Rgc}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=e.Yjl({name:"isTemplateRef",type:r,pure:!0}),r})(),kx=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez]}),r})();function wb(r,i){}function xb(r,i){if(1&r&&e.YNc(0,wb,0,0,"ng-template",3),2&r){const t=e.oxw();e.Q6J("ngTemplateOutlet",t.message)}}function Fb(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw();e.Oqu(t.message)}}const Dx={tooltipState:(0,Ce.X$)("state",[(0,Ce.SB)("initial, void, hidden",(0,Ce.oB)({opacity:0,transform:"scale(0)"})),(0,Ce.SB)("visible",(0,Ce.oB)({transform:"scale(1)"})),(0,Ce.eR)("* => visible",(0,Ce.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,Ce.F4)([(0,Ce.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,Ce.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,Ce.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,Ce.eR)("* => hidden",(0,Ce.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,Ce.oB)({opacity:0})))])},kb=(0,x.i$)({passive:!0});function Db(r){return Error(`Tooltip position "${r}" is invalid.`)}const Mb=new e.OlP("mtx-tooltip-scroll-strategy"),Eb={provide:Mb,deps:[_.aV],useFactory:function Ih(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},Ab=new e.OlP("mtx-tooltip-default-options",{providedIn:"root",factory:function Tb(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Sb=(()=>{class r{constructor(t,n,a,l,v,T,G,z,be,Ve,bt){this._overlay=t,this._elementRef=n,this._scrollDispatcher=a,this._viewContainerRef=l,this._ngZone=v,this._platform=T,this._ariaDescriber=G,this._focusMonitor=z,this._dir=Ve,this._defaultOptions=bt,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new D.x,this._handleKeydown=Pt=>{this._isTooltipVisible()&&Pt.keyCode===S.hY&&!(0,S.Vb)(Pt)&&(Pt.preventDefault(),Pt.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=be,bt&&(bt.position&&(this.position=bt.position),bt.touchGestures&&(this.touchGestures=bt.touchGestures)),v.runOutsideAngular(()=>{n.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=t instanceof e.Rgc?t:null!=t?`${t}`.trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,Ji.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([n,a])=>{t.removeEventListener(n,a,kb)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const n=this._createOverlay();this._detach(),this._portal=this._portal||new k.C5(Ib,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mtx-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return n.positionChanges.pipe((0,Ji.R)(this._destroyed)).subscribe(a=>{this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mtx-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,n=this._getOrigin(),a=this._getOverlayPosition();t.withPositions([{...n.main,...a.main},{...n.fallback,...a.fallback}])}_getOrigin(){const t=!this._dir||"ltr"===this._dir.value,n=this.position;let a;if("above"===n||"below"===n)a={originX:"center",originY:"above"===n?"top":"bottom"};else if("before"===n||"left"===n&&t||"right"===n&&!t)a={originX:"start",originY:"center"};else{if(!("after"===n||"right"===n&&t||"left"===n&&!t))throw Db(n);a={originX:"end",originY:"center"}}const{x:l,y:v}=this._invertPosition(a.originX,a.originY);return{main:a,fallback:{originX:l,originY:v}}}_getOverlayPosition(){const t=!this._dir||"ltr"===this._dir.value,n=this.position;let a;if("above"===n)a={overlayX:"center",overlayY:"bottom"};else if("below"===n)a={overlayX:"center",overlayY:"top"};else if("before"===n||"left"===n&&t||"right"===n&&!t)a={overlayX:"end",overlayY:"center"};else{if(!("after"===n||"right"===n&&t||"left"===n&&!t))throw Db(n);a={overlayX:"start",overlayY:"center"}}const{x:l,y:v}=this._invertPosition(a.overlayX,a.overlayY);return{main:a,fallback:{overlayX:l,overlayY:v}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe((0,Ie.q)(1),(0,Ji.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,n){return"above"===this.position||"below"===this.position?"top"===n?n="bottom":"bottom"===n&&(n="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:n}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",n],["touchcancel",n])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([n,a])=>{this._elementRef.nativeElement.addEventListener(n,a,kb)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const n=this._elementRef.nativeElement,a=n.style;("on"===t||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName)&&(a.userSelect=a.msUserSelect=a.webkitUserSelect=a.MozUserSelect="none"),("on"===t||!n.draggable)&&(a.webkitUserDrag="none"),a.touchAction="none",a.webkitTapHighlightColor="transparent"}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(_.aV),e.Y36(e.SBq),e.Y36(kr.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(g.$s),e.Y36(g.tE),e.Y36(Mb),e.Y36(I.Is,8),e.Y36(Ab,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","mtxTooltip",""]],hostAttrs:[1,"mtx-tooltip-trigger"],inputs:{position:["mtxTooltipPosition","position"],disabled:["mtxTooltipDisabled","disabled"],showDelay:["mtxTooltipShowDelay","showDelay"],hideDelay:["mtxTooltipHideDelay","hideDelay"],touchGestures:["mtxTooltipTouchGestures","touchGestures"],message:["mtxTooltip","message"],tooltipClass:["mtxTooltipClass","tooltipClass"]},exportAs:["mtxTooltip"]}),r})(),Ib=(()=>{class r{constructor(t,n){this._changeDetectorRef=t,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new D.x,this._isHandset=this._breakpointObserver.observe(De.u3.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const n=t.toState;"hidden"===n&&!this.isVisible()&&this._onHide.next(),("visible"===n||"hidden"===n)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(De.Yg))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mtx-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n._handleBodyInteraction()},!1,e.pYS),2&t&&e.Udp("zoom","visible"===n._visibility?1:null)},decls:6,vars:10,consts:[[1,"mtx-tooltip",3,"ngClass"],[3,"ngIf","ngIfElse"],["msgStrTpl",""],[3,"ngTemplateOutlet"]],template:function(t,n){if(1&t&&(e.TgZ(0,"div",0),e.NdJ("@state.start",function(){return n._animationStart()})("@state.done",function(l){return n._animationDone(l)}),e.ALo(1,"async"),e.YNc(2,xb,1,1,"ng-template",1),e.ALo(3,"isTemplateRef"),e.YNc(4,Fb,1,1,"ng-template",null,2,e.W1O),e.qZA()),2&t){const a=e.MAs(5);let l;e.ekj("mtx-tooltip-handset",null==(l=e.lcZ(1,6,n._isHandset))?null:l.matches),e.Q6J("ngClass",n.tooltipClass)("@state",n._visibility),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,8,n.message))("ngIfElse",a)}},dependencies:[F.mk,F.O5,F.tP,F.Ov,Cx],styles:[".mtx-tooltip-panel{pointer-events:none!important}.mtx-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mtx-tooltip{outline:solid 1px}.mtx-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[Dx.tooltipState]},changeDetection:0}),r})(),Ob=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[Eb],imports:[g.rt,F.ez,_.U8,ae.BQ,kx,ae.BQ,kr.ZD]}),r})();function Ax(r,i){if(1&r&&(e.TgZ(0,"button",14)(1,"mat-icon",15),e._uU(2,"more_vert"),e.qZA()()),2&r){e.oxw();const t=e.MAs(3);e.Q6J("matMenuTriggerFor",t)}}function Hk(r,i){if(1&r&&(e.TgZ(0,"button",16)(1,"mat-icon"),e._uU(2,"more_vert"),e.qZA()()),2&r){e.oxw();const t=e.MAs(3);e.Q6J("matMenuTriggerFor",t)}}function Lb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.saveNote())}),e.TgZ(1,"mat-icon"),e._uU(2,"bookmark_add"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Bookmark"),e.qZA()()}}function Nb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.removeNote())}),e.TgZ(1,"mat-icon"),e._uU(2,"bookmark_remove"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Remove from Notes"),e.qZA()()}}function Rb(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.follow())}),e.TgZ(1,"mat-icon"),e._uU(2,"person_add"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Follow"),e.qZA()()}}function Tx(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.unfollow())}),e.TgZ(1,"mat-icon"),e._uU(2,"person_remove"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Unfollow"),e.qZA()()}}function Sx(r,i){if(1&r&&(e.TgZ(0,"button",5)(1,"mat-icon"),e._uU(2,"supervised_user_circle"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Move to Circle"),e.qZA()()),2&r){e.oxw();const t=e.MAs(29);e.Q6J("matMenuTriggerFor",t)}}function Oh(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.unmute())}),e.TgZ(1,"mat-icon"),e._uU(2,"notifications"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Unmute"),e.qZA()()}}function Ix(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.mute())}),e.TgZ(1,"mat-icon"),e._uU(2,"notifications_off"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Mute"),e.qZA()()}}function Dg(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.unblock())}),e.TgZ(1,"mat-icon"),e._uU(2,"cancel"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Unblock"),e.qZA()()}}function yl(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.block())}),e.TgZ(1,"mat-icon"),e._uU(2,"block"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Block"),e.qZA()()}}function Ox(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.follow(l.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"trip_origin"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.qZA()()}if(2&r){const t=i.$implicit;e.xp6(1),e.Udp("color",t.color),e.xp6(3),e.Oqu(t.name)}}function gf(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copyFollowing())}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Following List"),e.qZA()()}}function Lh(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.copyRelays())}),e.TgZ(1,"mat-icon"),e._uU(2,"content_copy"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Relay List"),e.qZA()()}}class Xc{constructor(i,t,n,a,l,v,T,G){this.appState=i,this.ui=t,this.circleService=n,this.snackBar=a,this.profileService=l,this.notesService=v,this.utilities=T,this.router=G,this.fab=!1,this.pubkey=""}saveNote(){var i=this;return(0,we.Z)(function*(){if(!i.event)return;const t=i.event;t.saved=Math.floor(Date.now()/1e3),yield i.notesService.putNote(t)})()}removeNote(){var i=this;return(0,we.Z)(function*(){i.event&&(console.log("DELETE EVENT:",i.event),yield i.notesService.deleteNote(i.event.id))})()}openBadges(i){this.router.navigate(["/badges",i])}follow(i){var t=this;return(0,we.Z)(function*(){null==i&&(i=0),t.profile?t.profile.status!==ka.Follow?(t.profile.circle=i,t.profile.status=1,t.profile=yield t.profileService.follow(t.profile.pubkey,i)):(t.profile.circle=i,t.profile=yield t.profileService.setCircle(t.profile.pubkey,i)):t.profile=yield t.profileService.follow(t.pubkey,i)})()}getNpub(i){return this.utilities.getNostrIdentifier(i)}copyEvent(){this.copy(JSON.stringify(this.event))}copyProfileUrl(i){this.copy(`web+nostr:npub:${gn.npubEncode(i)}`)}copyNoteUrl(i){this.copy(`web+nostr:nevent:${gn.neventEncode({id:i})}`)}copyProfile(){this.profile&&this.copy(JSON.stringify({name:this.profile.name,about:this.profile.about,nip05:this.profile.nip05,picture:this.profile.picture,website:this.profile.website,banner:this.profile.banner,lud06:this.profile.lud06,lud16:this.profile.lud16,display_name:this.profile.display_name}))}copyFollowing(){this.copy(JSON.stringify(this.profile.following))}copyRelays(){this.copy(this.profile.relays)}copy(i){(0,Xr.v)(i),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}unfollow(){var i=this;return(0,we.Z)(function*(){i.profile&&(i.profile.status=ka.Public,i.profile.followed=void 0,i.profile.circle=void 0,i.profile=yield i.profileService.unfollow(i.profile.pubkey))})()}mute(){var i=this;return(0,we.Z)(function*(){i.profile&&(yield i.profileService.mute(i.profile.pubkey))})()}unmute(){var i=this;return(0,we.Z)(function*(){i.profile&&(yield i.profileService.unmute(i.profile.pubkey))})()}block(){var i=this;return(0,we.Z)(function*(){i.profile&&(yield i.profileService.block(i.profile.pubkey))})()}unblock(){var i=this;return(0,we.Z)(function*(){i.profile&&(yield i.profileService.unblock(i.profile.pubkey))})()}shareProfile(i){i&&navigator.share&&navigator.share({title:i.name,text:i.about,url:"https://notes.blockcore.net/p/"+i.pubkey}).then(()=>console.log("Successful share")).catch(t=>console.log("Error sharing",t))}ngOnDestroy(){}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.event?i.pubkey=i.event.pubkey:i.profile&&(i.pubkey=i.profile.pubkey)})()}}function Lx(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"img",29),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showProfileImage())}),e.qZA()}if(2&r){const t=e.oxw().ngIf,n=e.oxw();let a;e.Udp("border-color",null==(a=n.circleService.getSync(t.circle))?null:a.color),e.Q6J("src",n.imagePath,e.LSH)}}function Nx(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"img",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showProfileImage())}),e.qZA()}if(2&r){const t=e.oxw(2);e.Q6J("src",t.imagePath,e.LSH)}}function _f(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).ngIf,l=e.oxw();return e.KtG(l.follow(a))}),e._uU(1,"Follow Back"),e.qZA()}}function bf(r,i){if(1&r&&e.YNc(0,_f,2,0,"button",31),2&r){const t=e.oxw().ngIf;e.Q6J("ngIf",0==(null==t?null:t.status))}}function Px(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).ngIf,l=e.oxw();return e.KtG(l.follow(a))}),e._uU(1,"Follow"),e.qZA()}}function Bx(r,i){if(1&r&&e.YNc(0,Px,2,0,"button",33),2&r){const t=e.oxw().ngIf;e.Q6J("ngIf",0==(null==t?null:t.status))}}function Pb(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw().ngIf;e.xp6(1),e.hij(" ",t.display_name," ")}}function Bb(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",t.name," ")}}function Mg(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",t.npub," ")}}function Yb(r,i){if(1&r&&(e.TgZ(0,"span"),e.YNc(1,Bb,2,1,"span",14),e.YNc(2,Mg,2,1,"span",14),e.qZA()),2&r){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngIf",t.name),e.xp6(1),e.Q6J("ngIf",!t.display_name&&!t.name)}}function Eg(r,i){1&r&&(e.TgZ(0,"span",35),e._uU(1,"Follows you"),e.qZA())}function Ag(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",16)(1,"div",17)(2,"mat-icon",18),e._uU(3,"verified"),e.qZA()(),e.TgZ(4,"div",19)(5,"span",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.copy(l.getWellKnownLink(a.nip05)))}),e._uU(6),e.qZA()()()}if(2&r){const t=e.oxw().ngIf,n=e.oxw();e.xp6(6),e.Oqu(n.displayNIP05(t.nip05))}}function Hb(r,i){if(1&r&&(e.TgZ(0,"a",37),e._uU(1),e.qZA()),2&r){const t=e.oxw(2).ngIf,n=e.oxw();e.Q6J("href",n.utilities.sanitizeUrl(t.website,!0),e.LSH),e.xp6(1),e.Oqu(t.website)}}function Tg(r,i){if(1&r&&(e.TgZ(0,"div",16)(1,"div",17)(2,"mat-icon",18),e._uU(3,"link"),e.qZA()(),e.TgZ(4,"div",19),e.YNc(5,Hb,2,2,"a",36),e.qZA()()),2&r){const t=e.oxw().ngIf;e.xp6(5),e.Q6J("ngIf",t.website)}}function Sg(r,i){if(1&r&&(e.TgZ(0,"a",41),e._uU(1),e.qZA()),2&r){const t=e.oxw(2).ngIf,n=e.oxw();e.Q6J("href",n.utilities.sanitizeLUD06("lightning:"+t.lud06),e.LSH),e.xp6(1),e.Oqu(t.lud06)}}function Yx(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",38),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.openDialog(a))}),e.TgZ(1,"div",17)(2,"mat-icon",39),e._uU(3,"\u26a1\ufe0f"),e.qZA()(),e.TgZ(4,"div",19),e.YNc(5,Sg,2,2,"a",40),e.qZA()()}if(2&r){const t=e.oxw().ngIf,n=e.MAs(29);e.Q6J("mtxTooltip",n)("mtxTooltipPosition","left"),e.xp6(5),e.Q6J("ngIf",t.lud06)}}function Hx(r,i){if(1&r&&(e.TgZ(0,"a",41),e._uU(1),e.qZA()),2&r){const t=e.oxw(2).ngIf,n=e.oxw();e.Q6J("href",n.utilities.sanitizeLUD06("lightning:"+t.lud16),e.LSH),e.xp6(1),e.Oqu(t.lud16)}}function Ux(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",38),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.openDialog(a))}),e.TgZ(1,"div",17)(2,"mat-icon",39),e._uU(3,"\u26a1\ufe0f"),e.qZA()(),e.TgZ(4,"div",19),e.YNc(5,Hx,2,2,"a",40),e.qZA()()}if(2&r){const t=e.oxw().ngIf,n=e.MAs(31);e.Q6J("mtxTooltip",n)("mtxTooltipPosition","left"),e.xp6(5),e.Q6J("ngIf",t.lud16)}}function jx(r,i){if(1&r&&e._UZ(0,"img",44),2&r){const t=e.oxw(3);e.Q6J("src",t.qr06,e.LSH)}}function Ub(r,i){if(1&r&&(e.TgZ(0,"div",42),e.YNc(1,jx,1,1,"img",43),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.qr06)}}function Ig(r,i){if(1&r&&e._UZ(0,"img",44),2&r){const t=e.oxw(3);e.Q6J("src",t.qr16,e.LSH)}}function jb(r,i){if(1&r&&(e.TgZ(0,"div",42),e.YNc(1,Ig,1,1,"img",43),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.qr16)}}function Vb(r,i){if(1&r&&(e.TgZ(0,"p",45),e._uU(1),e.qZA()),2&r){const t=e.oxw().ngIf;e.xp6(1),e.Oqu(t.about)}}Xc.\u0275fac=function(i){return new(i||Xc)(e.Y36(Oe.i),e.Y36(zr),e.Y36(ao),e.Y36(no.ux),e.Y36(Yn),e.Y36(Us),e.Y36(pn.dU),e.Y36(Yt.F0))},Xc.\u0275cmp=e.Xpm({type:Xc,selectors:[["app-profile-actions"]],inputs:{fab:"fab",pubkey:"pubkey",profile:"profile",event:"event"},decls:79,vars:17,consts:[["class","action-button","mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"matMenuTriggerFor","click"],["categories","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["copyMenu","matMenu"],["mat-menu-item","",3,"click"],["disabled","true","mat-menu-item","",3,"click"],["shareMenu","matMenu"],["badges","matMenu"],["mat-icon-button","",1,"action-button",3,"matMenuTriggerFor"],[1,"action-button-icon"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor"]],template:function(i,t){if(1&i&&(e.YNc(0,Ax,3,1,"button",0),e.YNc(1,Hk,3,1,"button",1),e.TgZ(2,"mat-menu",null,2),e.YNc(4,Lb,5,0,"button",3),e.YNc(5,Nb,5,0,"button",3),e.YNc(6,Rb,5,0,"button",3),e.YNc(7,Tx,5,0,"button",3),e.YNc(8,Sx,5,1,"button",4),e.TgZ(9,"button",5)(10,"mat-icon"),e._uU(11,"badge"),e.qZA(),e.TgZ(12,"span"),e._uU(13,"Badge"),e.qZA()(),e.TgZ(14,"button",6),e.NdJ("click",function(){return t.copy(t.getNpub(t.profile.pubkey))}),e.TgZ(15,"mat-icon"),e._uU(16,"copy_all"),e.qZA(),e.TgZ(17,"span"),e._uU(18,"Copy"),e.qZA()(),e.TgZ(19,"button",5)(20,"mat-icon"),e._uU(21,"ios_share"),e.qZA(),e.TgZ(22,"span"),e._uU(23,"Share"),e.qZA()(),e.YNc(24,Oh,5,0,"button",3),e.YNc(25,Ix,5,0,"button",3),e.YNc(26,Dg,5,0,"button",3),e.YNc(27,yl,5,0,"button",3),e.qZA(),e.TgZ(28,"mat-menu",null,7),e.YNc(30,Ox,5,3,"button",8),e.qZA(),e.TgZ(31,"mat-menu",null,9)(33,"button",10),e.NdJ("click",function(){return t.copy(t.getNpub(t.profile.pubkey))}),e.TgZ(34,"mat-icon"),e._uU(35,"content_copy"),e.qZA(),e.TgZ(36,"span"),e._uU(37,"Identifier (npub)"),e.qZA()(),e.TgZ(38,"button",10),e.NdJ("click",function(){return t.copy(t.profile.pubkey)}),e.TgZ(39,"mat-icon"),e._uU(40,"content_copy"),e.qZA(),e.TgZ(41,"span"),e._uU(42,"Identifier (hex)"),e.qZA()(),e.TgZ(43,"button",10),e.NdJ("click",function(){return t.copyProfileUrl(t.profile.pubkey)}),e.TgZ(44,"mat-icon"),e._uU(45,"content_copy"),e.qZA(),e.TgZ(46,"span"),e._uU(47,"Identifier URL (npub)"),e.qZA()(),e.TgZ(48,"button",11),e.NdJ("click",function(){return t.copyProfileUrl(t.profile.pubkey)}),e.TgZ(49,"mat-icon"),e._uU(50,"content_copy"),e.qZA(),e.TgZ(51,"span"),e._uU(52,"Profile URL (nprofile)"),e.qZA()(),e.TgZ(53,"button",10),e.NdJ("click",function(){return t.copyProfile()}),e.TgZ(54,"mat-icon"),e._uU(55,"content_copy"),e.qZA(),e.TgZ(56,"span"),e._uU(57,"Profile Data"),e.qZA()(),e.YNc(58,gf,5,0,"button",3),e.YNc(59,Lh,5,0,"button",3),e.qZA(),e.TgZ(60,"mat-menu",null,12)(62,"button",10),e.NdJ("click",function(){return t.shareProfile(t.profile)}),e.TgZ(63,"mat-icon"),e._uU(64,"content_copy"),e.qZA(),e.TgZ(65,"span"),e._uU(66,"Profile"),e.qZA()(),e.TgZ(67,"button",10),e.NdJ("click",function(){return t.copy("https://notes.blockcore.net/p/"+t.profile.pubkey)}),e.TgZ(68,"mat-icon"),e._uU(69,"content_copy"),e.qZA(),e.TgZ(70,"span"),e._uU(71,"Profile URL"),e.qZA()()(),e.TgZ(72,"mat-menu",null,13)(74,"button",10),e.NdJ("click",function(){return t.openBadges(t.profile.pubkey)}),e.TgZ(75,"mat-icon"),e._uU(76,"badge"),e.qZA(),e.TgZ(77,"span"),e._uU(78,"View Badges"),e.qZA()()()),2&i){const n=e.MAs(32),a=e.MAs(61),l=e.MAs(73);e.Q6J("ngIf",!t.fab),e.xp6(1),e.Q6J("ngIf",t.fab),e.xp6(3),e.Q6J("ngIf",t.event&&!t.event.saved),e.xp6(1),e.Q6J("ngIf",t.event&&t.event.saved),e.xp6(1),e.Q6J("ngIf",0==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",1==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",3!=(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("matMenuTriggerFor",l),e.xp6(5),e.Q6J("matMenuTriggerFor",n),e.xp6(5),e.Q6J("matMenuTriggerFor",a),e.xp6(5),e.Q6J("ngIf",2==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",1==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",3==(null==t.profile?null:t.profile.status)),e.xp6(1),e.Q6J("ngIf",(null==t.profile?null:t.profile.status)<3),e.xp6(3),e.Q6J("ngForOf",t.circleService.circles),e.xp6(28),e.Q6J("ngIf",null==t.profile?null:t.profile.following),e.xp6(1),e.Q6J("ngIf",null==t.profile?null:t.profile.relays)}},dependencies:[F.sg,F.O5,Dt.RK,Dt.nh,Wn,du,bl,Dh]});const Zb=function(r){return["/following",r]};function zb(r,i){if(1&r&&(e.TgZ(0,"a",46),e._uU(1),e.TgZ(2,"span",28),e._uU(3,"Following"),e.qZA()()),2&r){const t=e.oxw().ngIf;e.Q6J("routerLink",e.VKq(2,Zb,t.pubkey)),e.xp6(1),e.hij("",t.following.length," ")}}function Vx(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2),e._UZ(2,"img",3),e.qZA(),e.TgZ(3,"div",4)(4,"div",5)(5,"div",6),e.YNc(6,Lx,1,3,"img",7),e.YNc(7,Nx,1,1,"img",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10),e.YNc(10,bf,1,1,"ng-template",11),e.YNc(11,Bx,1,1,"ng-template",11),e._UZ(12,"app-profile-actions",12),e.qZA(),e.TgZ(13,"h2",13),e.YNc(14,Pb,2,1,"span",14),e.YNc(15,Yb,3,2,"span",14),e.YNc(16,Eg,2,0,"span",15),e.qZA(),e.TgZ(17,"div",16)(18,"div",17)(19,"mat-icon",18),e._uU(20,"key"),e.qZA()(),e.TgZ(21,"div",19)(22,"span",20),e.NdJ("click",function(){const l=e.CHM(t).ngIf,v=e.oxw();return e.KtG(v.copy(l.npub))}),e._uU(23),e.qZA()()(),e.YNc(24,Ag,7,1,"div",21),e.YNc(25,Tg,6,1,"div",21),e.YNc(26,Yx,6,3,"div",22),e.YNc(27,Ux,6,3,"div",22),e.YNc(28,Ub,2,1,"ng-template",null,23,e.W1O),e.YNc(30,jb,2,1,"ng-template",null,24,e.W1O),e.TgZ(32,"span"),e.YNc(33,Vb,2,1,"p",25),e.qZA(),e.TgZ(34,"div",26),e.YNc(35,zb,4,4,"a",27),e._uU(36),e.TgZ(37,"span",28),e._uU(38,"Sats"),e.qZA()(),e._UZ(39,"div"),e.qZA()()()}if(2&r){const t=i.ngIf,n=e.oxw();e.xp6(2),e.Q6J("src",t.banner,e.LSH),e.xp6(4),e.Q6J("ngIf",1==(null==t?null:t.status)),e.xp6(1),e.Q6J("ngIf",1!=(null==t?null:t.status)),e.xp6(3),e.Q6J("ngIf",n.isFollowing(t)),e.xp6(1),e.Q6J("ngIf",!n.isFollowing(t)),e.xp6(1),e.Q6J("fab",!1)("profile",t),e.xp6(1),e.Q6J("matTooltip",t.name),e.xp6(1),e.Q6J("ngIf",t.display_name),e.xp6(1),e.Q6J("ngIf",!t.display_name),e.xp6(1),e.Q6J("ngIf",n.isFollowing(t)),e.xp6(7),e.Oqu(t.npub),e.xp6(1),e.Q6J("ngIf",n.isValidNip05),e.xp6(1),e.Q6J("ngIf",t.website),e.xp6(1),e.Q6J("ngIf",t.lud06),e.xp6(1),e.Q6J("ngIf",t.lud16),e.xp6(6),e.Q6J("ngIf",t.about),e.xp6(2),e.Q6J("ngIf",t.following),e.xp6(1),e.hij(" \xa0\xa0\u26a1\ufe0f",n.zapUi.getProfileZapAmount(t.pubkey)," ")}}class vl{constructor(i,t,n,a,l,v,T){this.zapUi=i,this.appState=t,this.ui=n,this.profileService=a,this.dialog=l,this.circleService=v,this.utilities=T,this.pubkey="",this.tooltip="",this.tooltipName="",this.isValidNip05=!1,this.subscriptions=[],this.userPubKey=this.appState.getPublicKey()}follow(i){var t=this;return(0,we.Z)(function*(){i&&(i.status!==ka.Follow?(i.circle=0,i.status=1,i=yield t.profileService.follow(i.pubkey,0)):(i.circle=0,i=yield t.profileService.setCircle(i.pubkey,0)))})()}isFollowing(i){return!(!i||!i.following)&&i.following.includes(this.userPubKey)}get imagePath(){return this.ui.profile.picture?this.ui.profile.picture:vl.defaultProfileImage}showProfileImage(){this.dialog.open(pl,{data:{picture:this.imagePath}})}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.subscriptions.push(i.ui.profile$.subscribe(function(){var t=(0,we.Z)(function*(n){if(n&&(n.lud06&&(i.qr06=yield $c.hz("lightning:"+n.lud06,{errorCorrectionLevel:"L",margin:2,scale:5})),n.lud16&&(i.qr16=yield $c.hz("lightning:"+n.lud16,{errorCorrectionLevel:"L",margin:2,scale:5})),n.nip05)){let a=null;try{a=yield Va.queryProfile(n?.nip05),i.isValidNip05=a?.pubkey==n?.pubkey}catch{console.log("failed to fetch NIP05 identifier")}}});return function(n){return t.apply(this,arguments)}}()))})()}displayNIP05(i){return i&&i.startsWith("_@")?i.substring(2):i}copy(i){this.utilities.copy(i)}getWellKnownLink(i){if(-1===i.indexOf("@"))return"";const t=i.split("@");return`https://${t[1]}/.well-known/nostr.json?name=${t[0]}`}openDialog(i){this.dialog.open(Gl,{width:"400px",data:{profile:i}})}}vl.defaultProfileImage="/assets/profile.png",vl.\u0275fac=function(i){return new(i||vl)(e.Y36(Gc),e.Y36(Oe.i),e.Y36(zr),e.Y36(Yn),e.Y36(yi),e.Y36(ao),e.Y36(pn.dU))},vl.\u0275cmp=e.Xpm({type:vl,selectors:[["app-profile-header"]],inputs:{pubkey:"pubkey"},decls:2,vars:3,consts:[["class","profile-page",4,"ngIf"],[1,"profile-page"],[1,"profile-banner"],[1,"profile-banner-image",3,"src"],[1,"profile-page-header"],[1,"profile-page-header-left"],["id","profile-image-anchor",1,"profile-image-anchor"],["id","profile-image","width","150","height","150","onerror","this.src='/assets/profile.png'","class","profile-image-large profile-image-follow",3,"borderColor","src","click",4,"ngIf"],["loading","lazy","id","profile-image","onerror","this.src='/assets/profile.png'","class","profile-image-large profile-image-follow","matTooltipPosition","above",3,"src","click",4,"ngIf"],[1,"profile-page-header-middle"],[1,"profile-button-container"],[3,"ngIf"],[3,"fab","profile"],["matTooltipPosition","above",1,"profile-name",3,"matTooltip"],[4,"ngIf"],["class","follows-you",4,"ngIf"],[1,"profile-labels"],[1,"profile-labels-left"],[1,"profile-icon"],[1,"profile-labels-middle","dimmed"],[1,"hoverable",3,"click"],["class","profile-labels",4,"ngIf"],["class","profile-labels",3,"mtxTooltip","mtxTooltipPosition","click",4,"ngIf"],["tooltipTpl",""],["tooltipTpl2",""],["class","wrap linebreaks",4,"ngIf"],[1,"following-counts"],["class","following-link",3,"routerLink",4,"ngIf"],[1,"dimmed"],["id","profile-image","width","150","height","150","onerror","this.src='/assets/profile.png'",1,"profile-image-large","profile-image-follow",3,"src","click"],["loading","lazy","id","profile-image","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image-large","profile-image-follow",3,"src","click"],["class","follow-button","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",1,"follow-button",3,"click"],["class","follow-button","mat-flat-button","","color","primary",3,"click",4,"ngIf"],["mat-flat-button","","color","primary",1,"follow-button",3,"click"],[1,"follows-you"],["class","dimmed lightning-link hoverable","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"dimmed","lightning-link","hoverable",3,"href"],[1,"profile-labels",3,"mtxTooltip","mtxTooltipPosition","click"],[1,"profile-icon-custom"],["class","dimmed lightning-link hoverable",3,"href",4,"ngIf"],[1,"dimmed","lightning-link","hoverable",3,"href"],[1,"qr-code-container"],["class","qr-code",3,"src",4,"ngIf"],[1,"qr-code",3,"src"],[1,"wrap","linebreaks"],[1,"following-link",3,"routerLink"]],template:function(i,t){1&i&&(e.YNc(0,Vx,40,19,"div",0),e.ALo(1,"async")),2&i&&e.Q6J("ngIf",e.lcZ(1,1,t.ui.profile$))},dependencies:[F.O5,Yt.rH,Dt.lW,Wn,fo,Sb,Xc,F.Ov],styles:[".profile-icon[_ngcontent-%COMP%], .profile-icon-custom[_ngcontent-%COMP%]{text-align:center}.profile-icon-custom[_ngcontent-%COMP%]{font-size:16px}.lightning-link[_ngcontent-%COMP%], .lightning-link[_ngcontent-%COMP%]:hover{text-decoration:none}.profile-name[_ngcontent-%COMP%]{margin-top:0;margin-bottom:.2em}.profile-labels[_ngcontent-%COMP%]{display:flex;width:auto;gap:.4em;justify-content:center}.profile-labels-left[_ngcontent-%COMP%]{flex:0 1 auto;width:24px}.profile-labels-middle[_ngcontent-%COMP%]{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}.hoverable[_ngcontent-%COMP%]:hover{cursor:pointer;opacity:.6}.following-counts[_ngcontent-%COMP%]{margin-bottom:.4em}.following-link[_ngcontent-%COMP%]{text-decoration:none}.following-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.action-button[_ngcontent-%COMP%]{margin-top:0!important;margin-right:0!important}.qr-code[_ngcontent-%COMP%]{width:100%;height:100%}.profile-banner[_ngcontent-%COMP%]{min-height:240px;background-repeat:no-repeat;background-position:center;background-size:cover}.profile-banner-image[_ngcontent-%COMP%]{object-fit:cover;width:100%;max-height:320px}@media only screen and (max-width: 599px){.current-event[_ngcontent-%COMP%]{margin-bottom:0}}.follows-you[_ngcontent-%COMP%]{font-size:.6em;margin-left:1em;padding:.1em .4em;background-color:#0003;border-radius:10px;display:inline-block}.dark[_ngcontent-%COMP%] .follows-you[_ngcontent-%COMP%]{font-size:.6em;margin-left:1em;padding:.1em .4em;background-color:#fff6;border-radius:10px;display:inline-block}.follow-button[_ngcontent-%COMP%]{border-radius:16px;margin-top:.24em;margin-right:.5em}"]});var vs=y(9383);function Zx(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card-content")(1,"p")(2,"button",6),e.NdJ("click",function(){e.CHM(t);const a=e.MAs(6);return e.KtG(a.click())}),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"input",7,8),e.NdJ("change",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onProfileFileSelected(a))}),e.qZA(),e._UZ(7,"span",9),e.TgZ(8,"button",6),e.NdJ("click",function(){e.CHM(t);const a=e.MAs(12);return e.KtG(a.click())}),e._uU(9),e.ALo(10,"translate"),e.qZA(),e.TgZ(11,"input",7,10),e.NdJ("change",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onBannerFileSelected(a))}),e.qZA(),e._UZ(13,"span",9),e.qZA(),e.TgZ(14,"p")(15,"mat-form-field",11)(16,"mat-icon",12),e._uU(17,"badge"),e.qZA(),e.TgZ(18,"mat-label"),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.TgZ(21,"input",13),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.display_name=a)}),e.qZA()()(),e.TgZ(22,"p")(23,"mat-form-field",11)(24,"mat-icon",12),e._uU(25,"alternate_email"),e.qZA(),e.TgZ(26,"mat-label"),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.TgZ(29,"input",13),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.name=a)}),e.qZA()()(),e.TgZ(30,"p")(31,"mat-form-field",11)(32,"mat-icon",12),e._uU(33,"help_outline"),e.qZA(),e.TgZ(34,"mat-label"),e._uU(35),e.ALo(36,"translate"),e.qZA(),e.TgZ(37,"textarea",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.about=a)}),e.qZA()()(),e.TgZ(38,"p")(39,"mat-form-field",11)(40,"mat-icon",12),e._uU(41,"how_to_reg"),e.qZA(),e.TgZ(42,"mat-label"),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.TgZ(45,"input",13),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.nip05=a)}),e.qZA()()(),e.TgZ(46,"p")(47,"mat-form-field",11)(48,"mat-icon",12),e._uU(49,"public"),e.qZA(),e.TgZ(50,"mat-label"),e._uU(51),e.ALo(52,"translate"),e.qZA(),e.TgZ(53,"input",13),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.website=a)}),e.qZA()()(),e.TgZ(54,"p")(55,"mat-form-field",11)(56,"mat-icon",12),e._uU(57,"currency_bitcoin"),e.qZA(),e.TgZ(58,"mat-label"),e._uU(59),e.ALo(60,"translate"),e.qZA(),e.TgZ(61,"input",15),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.lud06=a)}),e.qZA()()(),e.TgZ(62,"p")(63,"mat-form-field",11)(64,"mat-icon",12),e._uU(65,"currency_bitcoin"),e.qZA(),e.TgZ(66,"mat-label"),e._uU(67),e.ALo(68,"translate"),e.qZA(),e.TgZ(69,"input",16),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.lud16=a)}),e.qZA()()(),e.TgZ(70,"p"),e._uU(71),e.ALo(72,"translate"),e.ALo(73,"ago"),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(3),e.Oqu(e.lcZ(4,18,"Profile.PickProfileImage")),e.xp6(6),e.Oqu(e.lcZ(10,20,"Profile.PickProfileBanner")),e.xp6(10),e.Oqu(e.lcZ(20,22,"Profile.DisplayName")),e.xp6(2),e.Q6J("ngModel",t.profile.display_name),e.xp6(6),e.Oqu(e.lcZ(28,24,"Profile.Nickname")),e.xp6(2),e.Q6J("ngModel",t.profile.name),e.xp6(6),e.Oqu(e.lcZ(36,26,"Profile.About")),e.xp6(2),e.Q6J("ngModel",t.profile.about),e.xp6(6),e.Oqu(e.lcZ(44,28,"Profile.MailDomainIdentifier")),e.xp6(2),e.Q6J("ngModel",t.profile.nip05),e.xp6(6),e.Oqu(e.lcZ(52,30,"Profile.Website")),e.xp6(2),e.Q6J("ngModel",t.profile.website),e.xp6(6),e.Oqu(e.lcZ(60,32,"Profile.BitcoinPaymentLink")),e.xp6(2),e.Q6J("ngModel",t.profile.lud06),e.xp6(6),e.Oqu(e.lcZ(68,34,"Profile.BitoinPaymenAlias")),e.xp6(2),e.Q6J("ngModel",t.profile.lud16),e.xp6(2),e.AsE("",e.lcZ(72,36,"Profile.LastUpdated"),": ",e.lcZ(73,38,t.profile.created_at),"")}}var Nh=new WeakMap;class gu{get profile$(){return _e(this,Nh).asObservable()}constructor(i,t,n,a,l,v,T,G,z,be,Ve,bt){St(this,Nh,{writable:!0,value:void 0}),this.upload=i,this.navigation=t,this.ui=n,this.appState=a,this.validator=l,this.utilities=v,this.router=T,this.profiles=G,this.sanitizer=z,this.profileService=be,this.dataService=Ve,this.activatedRoute=bt,this.imagePath="",this.profileName="",this.subscriptions=[],Wt(this,Nh,new Ne.X(this.profile)),this.selectedProfileFile=null,this.selectedBannerFile=null}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.appState.updateTitle("Edit Profile"),i.originalProfile={name:"",pubkey:i.appState.getPublicKey()},i.subscriptions.push(i.profileService.profile$.subscribe(t=>{t||(t=i.profileService.emptyProfile(i.appState.getPublicKey())),console.log("PROFILE SERVICE:",t),i.originalProfile=t,i.originalProfile&&i.cloneProfile()}))})()}onProfileFileSelected(i){if(!this.profile)return;this.selectedProfileFile=i.target.files[0]??null;const t=(window.URL?URL:webkitURL).createObjectURL(this.selectedProfileFile);this.profile.picture=this.sanitizer.bypassSecurityTrustUrl(t)}onBannerFileSelected(i){if(!this.profile)return;this.selectedBannerFile=i.target.files[0]??null;const t=(window.URL?URL:webkitURL).createObjectURL(this.selectedBannerFile);this.profile.banner=this.sanitizer.bypassSecurityTrustUrl(t)}cloneProfile(){const i=structuredClone(this.originalProfile);this.profile=i,_e(this,Nh).next(this.profile),this.ui.setProfile(this.profile)}cancelEdit(){this.cloneProfile()}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}sanitize(i){return this.sanitizer.bypassSecurityTrustUrl(i)}updateMetadata(){var i=this;return(0,we.Z)(function*(){if(i.profile?.picture!=i.originalProfile?.picture){console.log("Upload profile image...");const t=yield i.upload.upload(i.selectedProfileFile);console.log(t),t.url&&(i.profile.picture=t.url)}if(i.profile?.banner!=i.originalProfile?.banner){console.log("Upload banner image...");const t=yield i.upload.upload(i.selectedBannerFile);console.log(t),t.url&&(i.profile.banner=t.url)}console.log(i.profile),yield i.dataService.updateMetadata(i.profile),i.router.navigate(["/p",i.profile?.pubkey])})()}}gu.\u0275fac=function(i){return new(i||gu)(e.Y36(Sh.C),e.Y36(za),e.Y36(zr),e.Y36(Oe.i),e.Y36(ns.Y),e.Y36(pn.dU),e.Y36(Yt.F0),e.Y36(Yn),e.Y36(f.H7),e.Y36(Yn),e.Y36(pa),e.Y36(Yt.gz))},gu.\u0275cmp=e.Xpm({type:gu,selectors:[["app-profile"]],decls:13,vars:7,consts:[["infiniteScroll","",1,"",3,"scrollAction"],[1,"page"],[4,"ngIf"],["align","end"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","primary",3,"click"],["type","button","mat-stroked-button","",3,"click"],["hidden","","type","file",3,"change"],["profileImageInput",""],[1,"file-name"],["profileBannerInput",""],[1,"input-full-width"],["matPrefix",""],["matInput","","type","text",3,"ngModel","ngModelChange"],["matInput","","type","text","rows","3",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","LNURL...",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","user@domain",3,"ngModel","ngModelChange"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0),e.NdJ("scrollAction",function(){return t.navigation.showMore()}),e._UZ(1,"app-profile-header"),e.TgZ(2,"div",1)(3,"mat-card"),e.YNc(4,Zx,74,40,"mat-card-content",2),e.TgZ(5,"mat-card-footer",3)(6,"button",4),e.NdJ("click",function(){return t.cancelEdit()}),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._uU(9,"\xa0 "),e.TgZ(10,"button",5),e.NdJ("click",function(){return t.updateMetadata()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()),2&i&&(e.xp6(4),e.Q6J("ngIf",t.profile),e.xp6(3),e.Oqu(e.lcZ(8,3,"Profile.Cancel")),e.xp6(4),e.Oqu(e.lcZ(12,5,"Profile.Save")))},dependencies:[F.O5,io,Ca,Ba,ol,Dt.lW,ca,Rs,o1,Wn,ar,Sr,oa,zl,vl,vs.X$,cs],styles:[".example-full-width[_ngcontent-%COMP%]{width:100%}td[_ngcontent-%COMP%]{padding-right:2px}.file-name[_ngcontent-%COMP%]{margin-left:1rem}"]});var Hn=y(5301),Sn=y(7084);const zx=["switch"],Gx=["*"],Uk=new e.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),jk={provide:fa,useExisting:(0,e.Gpc)(()=>ed),multi:!0};class Og{constructor(i,t){this.source=i,this.checked=t}}let Gb=0;const Rh=(0,ae.sb)((0,ae.pj)((0,ae.Kr)((0,ae.Id)(class{constructor(r){this._elementRef=r}}))));let Wx=(()=>{class r extends Rh{get required(){return this._required}set required(t){this._required=(0,st.Ig)(t)}get checked(){return this._checked}set checked(t){this._checked=(0,st.Ig)(t),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,n,a,l,v,T,G){super(t),this._focusMonitor=n,this._changeDetectorRef=a,this.defaults=v,this._onChange=z=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new e.vpe,this.toggleChange=new e.vpe,this.tabIndex=parseInt(l)||0,this.color=this.defaultColor=v.color||"accent",this._noopAnimations="NoopAnimations"===T,this.id=this._uniqueId=`${G}${++Gb}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return r.\u0275fac=function(t){e.$Z()},r.\u0275dir=e.lG2({type:r,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[e.qOj]}),r})(),ed=(()=>{class r extends Wx{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(t,n,a,l,v,T){super(t,n,a,l,v,T,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new Og(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(t){return new Og(this,t)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.tE),e.Y36(e.sBO),e.$8M("tabindex"),e.Y36(Uk),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-slide-toggle"]],viewQuery:function(t,n){if(1&t&&e.Gf(zx,5),2&t){let a;e.iGM(a=e.CRH())&&(n._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(t,n){2&t&&(e.Ikx("id",n.id),e.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.ekj("mat-mdc-slide-toggle-focused",n._focused)("mat-mdc-slide-toggle-checked",n.checked)("_mat-animation-noopable",n._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[e._Bn([jk]),e.qOj],ngContentSelectors:Gx,decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(t,n){if(1&t&&(e.F$t(),e.TgZ(0,"div",0)(1,"button",1,2),e.NdJ("click",function(){return n._handleClick()}),e._UZ(3,"div",3),e.TgZ(4,"div",4)(5,"div",5)(6,"div",6),e._UZ(7,"div",7),e.qZA(),e.TgZ(8,"div",8),e._UZ(9,"div",9),e.qZA(),e.TgZ(10,"div",10),e.O4$(),e.TgZ(11,"svg",11),e._UZ(12,"path",12),e.qZA(),e.TgZ(13,"svg",13),e._UZ(14,"path",14),e.qZA()()()()(),e.kcU(),e.TgZ(15,"label",15),e.NdJ("click",function(l){return l.stopPropagation()}),e.Hsn(16),e.qZA()()),2&t){const a=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==n.labelPosition),e.xp6(1),e.ekj("mdc-switch--selected",n.checked)("mdc-switch--unselected",!n.checked)("mdc-switch--checked",n.checked)("mdc-switch--disabled",n.disabled),e.Q6J("tabIndex",n.tabIndex)("disabled",n.disabled),e.uIk("id",n.buttonId)("name",n.name)("aria-label",n.ariaLabel)("aria-labelledby",n._getAriaLabelledBy())("aria-describedby",n.ariaDescribedby)("aria-required",n.required||null)("aria-checked",n.checked),e.xp6(8),e.Q6J("matRippleTrigger",a)("matRippleDisabled",n.disableRipple||n.disabled)("matRippleCentered",!0),e.xp6(6),e.Q6J("for",n.buttonId),e.uIk("id",n._labelId)}},dependencies:[ae.wG],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.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>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}'],encapsulation:2,changeDetection:0}),r})(),qb=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})(),Qx=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[qb,ae.BQ,ae.si,F.ez,qb,ae.BQ]}),r})();class _u{constructor(i,t){this.dialogRef=i,this.data=t}onNoClick(){this.data.url="",this.dialogRef.close()}}_u.\u0275fac=function(i){return new(i||_u)(e.Y36(Ae),e.Y36(_t))},_u.\u0275cmp=e.Xpm({type:_u,selectors:[["add-relay-dialog"]],decls:25,vars:19,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["color","primary",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h1",1),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",2)(5,"mat-form-field",3)(6,"mat-icon",4),e._uU(7,"dns"),e.qZA(),e.TgZ(8,"mat-label"),e._uU(9,"URL"),e.qZA(),e.TgZ(10,"input",5),e.NdJ("ngModelChange",function(a){return t.data.url=a}),e.qZA()(),e.TgZ(11,"mat-slide-toggle",6),e.NdJ("ngModelChange",function(a){return t.data.read=a}),e._uU(12),e.ALo(13,"translate"),e.qZA(),e._uU(14,"\xa0 "),e.TgZ(15,"mat-slide-toggle",6),e.NdJ("ngModelChange",function(a){return t.data.write=a}),e._uU(16),e.ALo(17,"translate"),e.qZA()(),e.TgZ(18,"div",7)(19,"button",8),e.NdJ("click",function(){return t.onNoClick()}),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.TgZ(22,"button",9),e._uU(23),e.ALo(24,"translate"),e.qZA()()()),2&i&&(e.xp6(2),e.Oqu(e.lcZ(3,9,"RelayDialog.AddARelay")),e.xp6(8),e.Q6J("ngModel",t.data.url),e.xp6(1),e.Q6J("ngModel",t.data.read),e.xp6(1),e.Oqu(e.lcZ(13,11,"RelayDialog.Read")),e.xp6(3),e.Q6J("ngModel",t.data.write),e.xp6(1),e.Oqu(e.lcZ(17,13,"RelayDialog.Write")),e.xp6(4),e.Oqu(e.lcZ(21,15,"RelayDialog.Cancel")),e.xp6(2),e.Q6J("mat-dialog-close",t.data),e.xp6(1),e.Oqu(e.lcZ(24,17,"RelayDialog.Add")))},dependencies:[io,Ca,Ba,ol,Dt.lW,Wn,ed,ar,Sr,oa,tn,kt,yt,Bi,vs.X$],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});var Ya=y(5017),yf=y(1884);const Qb=["trigger"],vf=["panel"];function Lg(r,i){if(1&r&&(e.TgZ(0,"span",10),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(t.placeholder)}}function Vk(r,i){if(1&r&&(e.TgZ(0,"span",14),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(t.triggerValue)}}function Jb(r,i){1&r&&e.Hsn(0,0,["*ngSwitchCase","true"])}function Jx(r,i){if(1&r&&(e.TgZ(0,"span",11),e.YNc(1,Vk,2,1,"span",12),e.YNc(2,Jb,1,0,"ng-content",13),e.qZA()),2&r){const t=e.oxw();e.Q6J("ngSwitch",!!t.customTrigger),e.xp6(2),e.Q6J("ngSwitchCase",!0)}}function Kb(r,i){if(1&r){const t=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"div",15,16),e.NdJ("@transformPanel.done",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._panelDoneAnimatingStream.next(a.toState))})("keydown",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._handleKeydown(a))}),e.Hsn(2,1),e.qZA()}if(2&r){const t=e.oxw();e.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",t._getPanelTheme(),""),e.Q6J("ngClass",t.panelClass)("@transformPanel","showing"),e.uIk("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const bu=[[["mat-select-trigger"]],"*"],Kx=["mat-select-trigger","*"],$b={transformPanelWrap:(0,Ce.X$)("transformPanelWrap",[(0,Ce.eR)("* => void",(0,Ce.IO)("@transformPanel",[(0,Ce.pV)()],{optional:!0}))]),transformPanel:(0,Ce.X$)("transformPanel",[(0,Ce.SB)("void",(0,Ce.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,Ce.eR)("void => showing",(0,Ce.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Ce.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,Ce.eR)("* => void",(0,Ce.jt)("100ms linear",(0,Ce.oB)({opacity:0})))])};let $x=0;const ey=new e.OlP("mat-select-scroll-strategy"),eF=new e.OlP("MAT_SELECT_CONFIG"),ty={provide:ey,deps:[_.aV],useFactory:function Xx(r){return()=>r.scrollStrategies.reposition()}},iy=new e.OlP("MatSelectTrigger");class tF{constructor(i,t){this.source=i,this.value=t}}const ny=(0,ae.Kr)((0,ae.sb)((0,ae.Id)((0,ae.FD)(class{constructor(r,i,t,n,a){this._elementRef=r,this._defaultErrorStateMatcher=i,this._parentForm=t,this._parentFormGroup=n,this.ngControl=a,this.stateChanges=new D.x}}))));let ry=(()=>{class r extends ny{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(to.required)??!1}set required(t){this._required=(0,st.Ig)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,st.Ig)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=(0,st.Ig)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=(0,st.su)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}constructor(t,n,a,l,v,T,G,z,be,Ve,bt,Pt,Gt,ii){super(v,l,G,z,Ve),this._viewportRuler=t,this._changeDetectorRef=n,this._ngZone=a,this._dir=T,this._parentFormField=be,this._liveAnnouncer=Gt,this._defaultOptions=ii,this._panelOpen=!1,this._compareWith=(ti,di)=>ti===di,this._uid="mat-select-"+$x++,this._triggerAriaLabelledBy=null,this._destroy=new D.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+$x++,this._panelDoneAnimatingStream=new D.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,P.P)(()=>{const ti=this.options;return ti?ti.changes.pipe((0,L.O)(ti),(0,Vo.w)(()=>(0,Ue.T)(...ti.map(di=>di.onSelectionChange)))):this._ngZone.onStable.pipe((0,Ie.q)(1),(0,Vo.w)(()=>this.optionSelectionChanges))}),this.openedChange=new e.vpe,this._openedStream=this.openedChange.pipe((0,Je.h)(ti=>ti),(0,Cr.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Je.h)(ti=>!ti),(0,Cr.U)(()=>{})),this.selectionChange=new e.vpe,this.valueChange=new e.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=ii?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=ii.typeaheadDebounceInterval),this._scrollStrategyFactory=Pt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(bt)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ya.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,yf.x)(),(0,Ji.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,Ji.R)(this._destroy)).subscribe(t=>{t.added.forEach(n=>n.select()),t.removed.forEach(n=>n.deselect())}),this.options.changes.pipe((0,L.O)(null),(0,Ji.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby(),n=this.ngControl;if(t!==this._triggerAriaLabelledBy){const a=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?a.setAttribute("aria-labelledby",t):a.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(void 0!==this._previousControl&&null!==n.disabled&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,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 t=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const n=t.keyCode,a=n===S.JH||n===S.LH||n===S.oh||n===S.SV,l=n===S.K5||n===S.L_,v=this._keyManager;if(!v.isTyping()&&l&&!(0,S.Vb)(t)||(this.multiple||t.altKey)&&a)t.preventDefault(),this.open();else if(!this.multiple){const T=this.selected;v.onKeydown(t);const G=this.selected;G&&T!==G&&this._liveAnnouncer.announce(G.viewValue,1e4)}}_handleOpenKeydown(t){const n=this._keyManager,a=t.keyCode,l=a===S.JH||a===S.LH,v=n.isTyping();if(l&&t.altKey)t.preventDefault(),this.close();else if(v||a!==S.K5&&a!==S.L_||!n.activeItem||(0,S.Vb)(t))if(!v&&this._multiple&&a===S.A&&t.ctrlKey){t.preventDefault();const T=this.options.some(G=>!G.disabled&&!G.selected);this.options.forEach(G=>{G.disabled||(T?G.select():G.deselect())})}else{const T=n.activeItemIndex;n.onKeydown(t),this._multiple&&l&&t.shiftKey&&n.activeItem&&n.activeItemIndex!==T&&n.activeItem._selectViaInteraction()}else t.preventDefault(),n.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,Ie.q)(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(t){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{const n=this._selectOptionByValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){const n=this.options.find(a=>{if(this._selectionModel.isSelected(a))return!1;try{return null!=a.value&&this._compareWith(a.value,t)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(t){return!!(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t,!0)}_initKeyManager(){this._keyManager=new g.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),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 t=(0,Ue.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,Ji.R)(t)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Ue.T)(...this.options.map(n=>n._stateChanges)).pipe((0,Ji.R)(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,n){const a=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(a!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),n&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),n&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),a!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((n,a)=>this.sortComparator?this.sortComparator(n,a,t):t.indexOf(n)-t.indexOf(a)),this.stateChanges.next()}}_propagateChanges(t){let n=null;n=this.multiple?this.selected.map(a=>a.value):this.selected?this.selected.value:t,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._parentFormField?.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const t=this._parentFormField?.getLabelId();let n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(kr.rL),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(ae.rD),e.Y36(e.SBq),e.Y36(I.Is,8),e.Y36(Is,8),e.Y36(os,8),e.Y36(Id,8),e.Y36(Ss,10),e.$8M("tabindex"),e.Y36(ey),e.Y36(g.Kd),e.Y36(eF,8))},r.\u0275dir=e.lG2({type:r,viewQuery:function(t,n){if(1&t&&(e.Gf(Qb,5),e.Gf(vf,5),e.Gf(_.pI,5)),2&t){let a;e.iGM(a=e.CRH())&&(n.trigger=a.first),e.iGM(a=e.CRH())&&(n.panel=a.first),e.iGM(a=e.CRH())&&(n._overlayDir=a.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[e.qOj,e.TTD]}),r})(),Ph=(()=>{class r extends ry{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,Ji.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(t){const n=this.options.toArray()[t];if(n){const a=this.panel.nativeElement,l=(0,ae.CB)(t,this.options,this.optionGroups),v=n._getHostElement();a.scrollTop=0===t&&1===l?0:(0,ae.jH)(v.offsetTop,v.offsetHeight,a.scrollTop,a.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new tF(this,t)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof _.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=(0,st.Ig)(t),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const t of this.options)t._changeDetectorRef.markForCheck()}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-select"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,iy,5),e.Suo(a,ae.ey,5),e.Suo(a,ae.K7,5)),2&t){let l;e.iGM(l=e.CRH())&&(n.customTrigger=l.first),e.iGM(l=e.CRH())&&(n.options=l),e.iGM(l=e.CRH())&&(n.optionGroups=l)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,n){1&t&&e.NdJ("keydown",function(l){return n._handleKeydown(l)})("focus",function(){return n._onFocus()})("blur",function(){return n._onBlur()}),2&t&&(e.uIk("id",n.id)("tabindex",n.tabIndex)("aria-controls",n.panelOpen?n.id+"-panel":null)("aria-expanded",n.panelOpen)("aria-label",n.ariaLabel||null)("aria-required",n.required.toString())("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState)("aria-activedescendant",n._getAriaActiveDescendant()),e.ekj("mat-mdc-select-disabled",n.disabled)("mat-mdc-select-invalid",n.errorState)("mat-mdc-select-required",n.required)("mat-mdc-select-empty",n.empty)("mat-mdc-select-multiple",n.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[e._Bn([{provide:Sd,useExisting:r},{provide:ae.HF,useExisting:r}]),e.qOj],ngContentSelectors:Kx,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,n){if(1&t&&(e.F$t(bu),e.TgZ(0,"div",0,1),e.NdJ("click",function(){return n.toggle()}),e.TgZ(3,"div",2),e.YNc(4,Lg,2,1,"span",3),e.YNc(5,Jx,3,2,"span",4),e.qZA(),e.TgZ(6,"div",5)(7,"div",6),e.O4$(),e.TgZ(8,"svg",7),e._UZ(9,"path",8),e.qZA()()()(),e.YNc(10,Kb,3,9,"ng-template",9),e.NdJ("backdropClick",function(){return n.close()})("attach",function(){return n._onAttached()})("detach",function(){return n.close()})),2&t){const a=e.MAs(1);e.uIk("aria-owns",n.panelOpen?n.id+"-panel":null),e.xp6(3),e.Q6J("ngSwitch",n.empty),e.uIk("id",n._valueId),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1),e.xp6(5),e.Q6J("cdkConnectedOverlayPanelClass",n._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",n._scrollStrategy)("cdkConnectedOverlayOrigin",n._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",n.panelOpen)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayWidth",n._overlayWidth)}},dependencies:[F.mk,F.RF,F.n9,F.ED,_.pI,_.xu],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.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 .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.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}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._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.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}'],encapsulation:2,data:{animation:[$b.transformPanel]},changeDetection:0}),r})(),Ng=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[ty],imports:[F.ez,_.U8,ae.Ng,ae.BQ,kr.ZD,Z0,ae.Ng,ae.BQ]}),r})();var wl=y(4968),ay=y(5684);function oy(r,i){}const sy=function(r){return{animationDuration:r}},ly=function(r,i){return{value:r,params:i}};function iF(r,i){1&r&&e.Hsn(0)}const Bh=["*"],nF=["tabListContainer"],Rg=["tabList"],rF=["tabListInner"],aF=["nextPaginator"],oF=["previousPaginator"],Gk=["tabBodyWrapper"],Wk=["tabHeader"];function qk(r,i){}function Qk(r,i){if(1&r&&e.YNc(0,qk,0,0,"ng-template",14),2&r){const t=e.oxw().$implicit;e.Q6J("cdkPortalOutlet",t.templateLabel)}}function Jk(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw().$implicit;e.Oqu(t.textLabel)}}function wf(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",6,7),e.NdJ("click",function(){const a=e.CHM(t),l=a.$implicit,v=a.index,T=e.oxw(),G=e.MAs(1);return e.KtG(T._handleClick(l,G,v))})("cdkFocusChange",function(a){const v=e.CHM(t).index,T=e.oxw();return e.KtG(T._tabFocusChanged(a,v))}),e._UZ(2,"span",8)(3,"div",9),e.TgZ(4,"span",10)(5,"span",11),e.YNc(6,Qk,1,1,"ng-template",12),e.YNc(7,Jk,1,1,"ng-template",null,13,e.W1O),e.qZA()()()}if(2&r){const t=i.$implicit,n=i.index,a=e.MAs(1),l=e.MAs(8),v=e.oxw();e.ekj("mdc-tab--active",v.selectedIndex===n),e.Q6J("id",v._getTabLabelId(n))("ngClass",t.labelClass)("disabled",t.disabled)("fitInkBarToContent",v.fitInkBarToContent),e.uIk("tabIndex",v._getTabIndex(n))("aria-posinset",n+1)("aria-setsize",v._tabs.length)("aria-controls",v._getTabContentId(n))("aria-selected",v.selectedIndex===n)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),e.xp6(3),e.Q6J("matRippleTrigger",a)("matRippleDisabled",t.disabled||v.disableRipple),e.xp6(3),e.Q6J("ngIf",t.templateLabel)("ngIfElse",l)}}function Kk(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-tab-body",15),e.NdJ("_onCentered",function(){e.CHM(t);const a=e.oxw();return e.KtG(a._removeTabBodyWrapperHeight())})("_onCentering",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._setTabBodyWrapperHeight(a))}),e.qZA()}if(2&r){const t=i.$implicit,n=i.index,a=e.oxw();e.ekj("mat-mdc-tab-body-active",a.selectedIndex===n),e.Q6J("id",a._getTabContentId(n))("ngClass",t.bodyClass)("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",a.animationDuration)("preserveContent",a.preserveContent),e.uIk("tabindex",null!=a.contentTabIndex&&a.selectedIndex===n?a.contentTabIndex:null)("aria-labelledby",a._getTabLabelId(n))}}const cy=["mat-tab-nav-bar",""],xf=["mat-tab-link",""],dy={translateTab:(0,Ce.X$)("translateTab",[(0,Ce.SB)("center, void, left-origin-center, right-origin-center",(0,Ce.oB)({transform:"none"})),(0,Ce.SB)("left",(0,Ce.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Ce.SB)("right",(0,Ce.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Ce.eR)("* => left, * => right, left => center, right => center",(0,Ce.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,Ce.eR)("void => left-origin-center",[(0,Ce.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,Ce.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,Ce.eR)("void => right-origin-center",[(0,Ce.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,Ce.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let uy=(()=>{class r extends k.Pl{constructor(t,n,a,l){super(t,n,l),this._host=a,this._centeringSub=mo.w0.EMPTY,this._leavingSub=mo.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,L.O)(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36((0,e.Gpc)(()=>Ff)),e.Y36(F.K0))},r.\u0275dir=e.lG2({type:r,selectors:[["","matTabBodyHost",""]],features:[e.qOj]}),r})(),$k=(()=>{class r{set position(t){this._positionIndex=t,this._computePositionAnimationState()}constructor(t,n,a){this._elementRef=t,this._dir=n,this._dirChangeSubscription=mo.w0.EMPTY,this._translateTabComplete=new D.x,this._onCentering=new e.vpe,this._beforeCentering=new e.vpe,this._afterLeavingCenter=new e.vpe,this._onCentered=new e.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,n&&(this._dirChangeSubscription=n.change.subscribe(l=>{this._computePositionAnimationState(l),a.markForCheck()})),this._translateTabComplete.pipe((0,yf.x)((l,v)=>l.fromState===v.fromState&&l.toState===v.toState)).subscribe(l=>{this._isCenterPosition(l.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(l.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const n=this._isCenterPosition(t.toState);this._beforeCentering.emit(n),n&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(t){const n=this._getLayoutDirection();return"ltr"==n&&t<=0||"rtl"==n&&t>0?"left-origin-center":"right-origin-center"}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(I.Is,8),e.Y36(e.sBO))},r.\u0275dir=e.lG2({type:r,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),r})(),Ff=(()=>{class r extends $k{constructor(t,n,a){super(t,n,a)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(I.Is,8),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tab-body"]],viewQuery:function(t,n){if(1&t&&e.Gf(k.Pl,5),2&t){let a;e.iGM(a=e.CRH())&&(n._portalHost=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[e.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,n){1&t&&(e.TgZ(0,"div",0,1),e.NdJ("@translateTab.start",function(l){return n._onTranslateTabStarted(l)})("@translateTab.done",function(l){return n._translateTabComplete.next(l)}),e.YNc(2,oy,0,0,"ng-template",2),e.qZA()),2&t&&e.Q6J("@translateTab",e.WLB(3,ly,n._position,e.VKq(1,sy,n.animationDuration)))},dependencies:[uy],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[dy.translateTab]}}),r})();const hy=new e.OlP("MatTabContent");let Pg=(()=>{class r{constructor(t){this.template=t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc))},r.\u0275dir=e.lG2({type:r,selectors:[["","matTabContent",""]],features:[e._Bn([{provide:hy,useExisting:r}])]}),r})();const my=new e.OlP("MatTabLabel"),sF=new e.OlP("MAT_TAB");let Bg=(()=>{class r extends k.ig{constructor(t,n,a){super(t,n),this._closestTab=a}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(sF,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[e._Bn([{provide:my,useExisting:r}]),e.qOj]}),r})();const Yg="mdc-tab-indicator--active",fy="mdc-tab-indicator--no-transition";class Yh{constructor(i){this._items=i}hide(){this._items.forEach(i=>i.deactivateInkBar())}alignToElement(i){const t=this._items.find(a=>a.elementRef.nativeElement===i),n=this._currentItem;if(n?.deactivateInkBar(),t){const a=n?.elementRef.nativeElement.getBoundingClientRect?.();t.activateInkBar(a),this._currentItem=t}}}function py(r){return class extends r{constructor(...i){super(...i),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(i){const t=(0,st.Ig)(i);this._fitToContent!==t&&(this._fitToContent=t,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(i){const t=this.elementRef.nativeElement;if(!i||!t.getBoundingClientRect||!this._inkBarContentElement)return void t.classList.add(Yg);const n=t.getBoundingClientRect(),a=i.width/n.width,l=i.left-n.left;t.classList.add(fy),this._inkBarContentElement.style.setProperty("transform",`translateX(${l}px) scaleX(${a})`),t.getBoundingClientRect(),t.classList.remove(fy),t.classList.add(Yg),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Yg)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const i=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=i.createElement("span"),this._inkBarContentElement=i.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const eD=(0,ae.Id)(class{}),lF=py((()=>{class r extends eD{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,features:[e.qOj]}),r})());let gy=(()=>{class r extends lF{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,n){2&t&&(e.uIk("aria-disabled",!!n.disabled),e.ekj("mat-mdc-tab-disabled",n.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[e.qOj]}),r})();const iD=(0,ae.Id)(class{}),_y=new e.OlP("MAT_TAB_GROUP");let by=(()=>{class r extends iD{get content(){return this._contentPortal}constructor(t,n){super(),this._viewContainerRef=t,this._closestTabGroup=n,this.textLabel="",this._contentPortal=null,this._stateChanges=new D.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new k.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&t._closestTab===this&&(this._templateLabel=t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.s_b),e.Y36(_y,8))},r.\u0275dir=e.lG2({type:r,viewQuery:function(t,n){if(1&t&&e.Gf(e.Rgc,7),2&t){let a;e.iGM(a=e.CRH())&&(n._implicitContent=a.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[e.qOj,e.TTD]}),r})(),yu=(()=>{class r extends by{get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tab"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,Pg,7,e.Rgc),e.Suo(a,Bg,5)),2&t){let l;e.iGM(l=e.CRH())&&(n._explicitContent=l.first),e.iGM(l=e.CRH())&&(n.templateLabel=l.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[e._Bn([{provide:sF,useExisting:r}]),e.qOj],ngContentSelectors:Bh,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.YNc(0,iF,1,0,"ng-template"))},encapsulation:2}),r})();const cF=(0,x.i$)({passive:!0});let yy=(()=>{class r{get disablePagination(){return this._disablePagination}set disablePagination(t){this._disablePagination=(0,st.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=(0,st.su)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}constructor(t,n,a,l,v,T,G){this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=a,this._dir=l,this._ngZone=v,this._platform=T,this._animationMode=G,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new D.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new D.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new e.vpe,this.indexFocused=new e.vpe,v.runOutsideAngular(()=>{(0,wl.R)(t.nativeElement,"mouseleave").pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,wl.R)(this._previousPaginator.nativeElement,"touchstart",cF).pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,wl.R)(this._nextPaginator.nativeElement,"touchstart",cF).pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:(0,U.of)("ltr"),n=this._viewportRuler.change(150),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new g.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,Ie.q)(1)).subscribe(a),(0,Ue.T)(t,n,this._items.changes,this._itemsResized()).pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(l=>{this.indexFocused.emit(l),this._setTabFocus(l)})}_itemsResized(){return"function"!=typeof ResizeObserver?Ra.E:this._items.changes.pipe((0,L.O)(this._items),(0,Vo.w)(t=>new lh.y(n=>this._ngZone.runOutsideAngular(()=>{const a=new ResizeObserver(l=>n.next(l));return t.forEach(l=>a.observe(l.elementRef.nativeElement)),()=>{a.disconnect()}}))),(0,ay.T)(1),(0,Je.h)(t=>t.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!(0,S.Vb)(t))switch(t.keyCode){case S.K5:case S.L_:if(this.focusIndex!==this.selectedIndex){const n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t))}break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}_isValidIndex(t){return!this._items||!!this._items.toArray()[t]}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const n=this._tabListContainer.nativeElement;n.scrollLeft="ltr"==this._getLayoutDirection()?0:n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const t=this.scrollDistance,n="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const n=this._items?this._items.toArray()[t]:null;if(!n)return;const a=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:l,offsetWidth:v}=n.elementRef.nativeElement;let T,G;"ltr"==this._getLayoutDirection()?(T=l,G=T+v):(G=this._tabListInner.nativeElement.offsetWidth-l,T=G-v);const z=this.scrollDistance,be=this.scrollDistance+a;Tbe&&(this.scrollDistance+=G-be+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=t?t.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,n){n&&null!=n.button&&0!==n.button||(this._stopInterval(),(0,el.H)(650,100).pipe((0,Ji.R)((0,Ue.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:a,distance:l}=this._scrollHeader(t);(0===l||l>=a)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(kr.rL),e.Y36(I.Is,8),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r,inputs:{disablePagination:"disablePagination"}}),r})(),nD=(()=>{class r extends yy{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,st.Ig)(t)}constructor(t,n,a,l,v,T,G){super(t,n,a,l,v,T,G),this._disableRipple=!1}_itemSelected(t){t.preventDefault()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(kr.rL),e.Y36(I.Is,8),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r,inputs:{disableRipple:"disableRipple"},features:[e.qOj]}),r})(),xs=(()=>{class r extends nD{constructor(t,n,a,l,v,T,G){super(t,n,a,l,v,T,G)}ngAfterContentInit(){this._inkBar=new Yh(this._items),super.ngAfterContentInit()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(kr.rL),e.Y36(I.Is,8),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tab-header"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,gy,4),2&t){let l;e.iGM(l=e.CRH())&&(n._items=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(nF,7),e.Gf(Rg,7),e.Gf(rF,7),e.Gf(aF,5),e.Gf(oF,5)),2&t){let a;e.iGM(a=e.CRH())&&(n._tabListContainer=a.first),e.iGM(a=e.CRH())&&(n._tabList=a.first),e.iGM(a=e.CRH())&&(n._tabListInner=a.first),e.iGM(a=e.CRH())&&(n._nextPaginator=a.first),e.iGM(a=e.CRH())&&(n._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("mat-mdc-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==n._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[e.qOj],ngContentSelectors:Bh,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(l){return n._handlePaginatorPress("before",l)})("touchend",function(){return n._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(l){return n._handleKeydown(l)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return n._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(l){return n._handlePaginatorPress("after",l)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&t&&(e.ekj("mat-mdc-tab-header-pagination-disabled",n._disableScrollBefore),e.Q6J("matRippleDisabled",n._disableScrollBefore||n.disableRipple)("disabled",n._disableScrollBefore||null),e.xp6(3),e.ekj("_mat-animation-noopable","NoopAnimations"===n._animationMode),e.xp6(7),e.ekj("mat-mdc-tab-header-pagination-disabled",n._disableScrollAfter),e.Q6J("matRippleDisabled",n._disableScrollAfter||n.disableRipple)("disabled",n._disableScrollAfter||null))},dependencies:[ae.wG,al.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),r})();const Ug=new e.OlP("MAT_TABS_CONFIG");let jg=0;const uF=(0,ae.pj)((0,ae.Kr)(class{constructor(r){this._elementRef=r}}),"primary");let hF=(()=>{class r extends uF{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=(0,st.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=(0,st.su)(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t+"")?t+"ms":t}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(t){this._contentTabIndex=(0,st.su)(t,null)}get disablePagination(){return this._disablePagination}set disablePagination(t){this._disablePagination=(0,st.Ig)(t)}get preserveContent(){return this._preserveContent}set preserveContent(t){this._preserveContent=(0,st.Ig)(t)}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),t&&n.add("mat-tabs-with-background",`mat-background-${t}`),this._backgroundColor=t}constructor(t,n,a,l){super(t),this._changeDetectorRef=n,this._animationMode=l,this._tabs=new e.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=mo.w0.EMPTY,this._tabLabelSubscription=mo.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new e.vpe,this.focusChange=new e.vpe,this.animationDone=new e.vpe,this.selectedTabChange=new e.vpe(!0),this._groupId=jg++,this.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms",this.disablePagination=!(!a||null==a.disablePagination)&&a.disablePagination,this.dynamicHeight=!(!a||null==a.dynamicHeight)&&a.dynamicHeight,this.contentTabIndex=a?.contentTabIndex??null,this.preserveContent=!!a?.preserveContent}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const n=null==this._selectedIndex;if(!n){this.selectedTabChange.emit(this._createChangeEvent(t));const a=this._tabBodyWrapper.nativeElement;a.style.minHeight=a.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((a,l)=>a.isActive=l===t),n||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((n,a)=>{n.position=a-t,null!=this._selectedIndex&&0==n.position&&!n.origin&&(n.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const t=this._clampTabIndex(this._indexToSelect);if(t===this._selectedIndex){const n=this._tabs.toArray();let a;for(let l=0;l{n[t].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(t))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,L.O)(this._allTabs)).subscribe(t=>{this._tabs.reset(t.filter(n=>n._closestTabGroup===this||!n._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(t){const n=this._tabHeader;n&&(n.focusIndex=t)}_focusChanged(t){this._lastFocusedTabIndex=t,this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const n=new vy;return n.index=t,this._tabs&&this._tabs.length&&(n.tab=this._tabs.toArray()[t]),n}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,Ue.T)(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const n=this._tabBodyWrapper.nativeElement;n.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(n.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,n,a){n.focusIndex=a,t.disabled||(this.selectedIndex=a)}_getTabIndex(t){return t===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(t,n){t&&"mouse"!==t&&"touch"!==t&&(this._tabHeader.focusIndex=n)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ug,8),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[e.qOj]}),r})(),vu=(()=>{class r extends hF{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(t){this._fitInkBarToContent=(0,st.Ig)(t),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(t){this._stretchTabs=(0,st.Ig)(t)}constructor(t,n,a,l){super(t,n,a,l),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!a||null==a.fitInkBarToContent)&&a.fitInkBarToContent}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ug,8),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tab-group"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,yu,5),2&t){let l;e.iGM(l=e.CRH())&&(n._allTabs=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(Gk,5),e.Gf(Wk,5)),2&t){let a;e.iGM(a=e.CRH())&&(n._tabBodyWrapper=a.first),e.iGM(a=e.CRH())&&(n._tabHeader=a.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(t,n){2&t&&e.ekj("mat-mdc-tab-group-dynamic-height",n.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===n.headerPosition)("mat-mdc-tab-group-stretch-tabs",n.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[e._Bn([{provide:_y,useExisting:r}]),e.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(t,n){1&t&&(e.TgZ(0,"mat-tab-header",0,1),e.NdJ("indexFocused",function(l){return n._focusChanged(l)})("selectFocusedIndex",function(l){return n.selectedIndex=l}),e.YNc(2,wf,9,17,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.YNc(5,Kk,1,11,"mat-tab-body",5),e.qZA()),2&t&&(e.Q6J("selectedIndex",n.selectedIndex||0)("disableRipple",n.disableRipple)("disablePagination",n.disablePagination),e.xp6(2),e.Q6J("ngForOf",n._tabs),e.xp6(1),e.ekj("_mat-animation-noopable","NoopAnimations"===n._animationMode),e.xp6(2),e.Q6J("ngForOf",n._tabs))},dependencies:[F.mk,F.sg,F.O5,k.Pl,ae.wG,g.kH,Ff,gy,xs],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),r})();class vy{}let Vg=0,wy=(()=>{class r extends yy{get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),t&&n.add("mat-tabs-with-background",`mat-background-${t}`),this._backgroundColor=t}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,st.Ig)(t)}constructor(t,n,a,l,v,T,G){super(t,l,v,n,a,T,G),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,L.O)(null),(0,Ji.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const t=this._items.toArray();for(let n=0;n{class r extends xy{get active(){return this._isActive}set active(t){const n=(0,st.Ig)(t);n!==this._isActive&&(this._isActive=n,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(t,n,a,l,v,T){super(),this._tabNavBar=t,this.elementRef=n,this._focusMonitor=v,this._isActive=!1,this.id="mat-tab-link-"+Vg++,this.rippleConfig=a||{},this.tabIndex=parseInt(l)||0,"NoopAnimations"===T&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(t){this._tabNavBar.tabPanel&&t.keyCode===S.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(wy),e.Y36(e.SBq),e.Y36(ae.Y2,8),e.$8M("tabindex"),e.Y36(g.tE),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r,inputs:{active:"active",id:"id"},features:[e.qOj]}),r})());let Cf=(()=>{class r extends wy{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(t){this._fitInkBarToContent.next((0,st.Ig)(t)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(t){this._stretchTabs=(0,st.Ig)(t)}constructor(t,n,a,l,v,T,G,z){super(t,n,a,l,v,T,G),this._fitInkBarToContent=new Ne.X(!1),this._stretchTabs=!0,this.disablePagination=!(!z||null==z.disablePagination)&&z.disablePagination,this.fitInkBarToContent=!(!z||null==z.fitInkBarToContent)&&z.fitInkBarToContent}ngAfterContentInit(){this._inkBar=new Yh(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(I.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(kr.rL),e.Y36(x.t4),e.Y36(e.QbO,8),e.Y36(Ug,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,Zg,5),2&t){let l;e.iGM(l=e.CRH())&&(n._items=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(nF,7),e.Gf(Rg,7),e.Gf(rF,7),e.Gf(aF,5),e.Gf(oF,5)),2&t){let a;e.iGM(a=e.CRH())&&(n._tabListContainer=a.first),e.iGM(a=e.CRH())&&(n._tabList=a.first),e.iGM(a=e.CRH())&&(n._tabListInner=a.first),e.iGM(a=e.CRH())&&(n._nextPaginator=a.first),e.iGM(a=e.CRH())&&(n._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(t,n){2&t&&(e.uIk("role",n._getRole()),e.ekj("mat-mdc-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==n._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",n.stretchTabs)("mat-primary","warn"!==n.color&&"accent"!==n.color)("mat-accent","accent"===n.color)("mat-warn","warn"===n.color)("_mat-animation-noopable","NoopAnimations"===n._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[e.qOj],attrs:cy,ngContentSelectors:Bh,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(l){return n._handlePaginatorPress("before",l)})("touchend",function(){return n._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(l){return n._handleKeydown(l)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return n._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(l){return n._handlePaginatorPress("after",l)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&t&&(e.ekj("mat-mdc-tab-header-pagination-disabled",n._disableScrollBefore),e.Q6J("matRippleDisabled",n._disableScrollBefore||n.disableRipple)("disabled",n._disableScrollBefore||null),e.xp6(10),e.ekj("mat-mdc-tab-header-pagination-disabled",n._disableScrollAfter),e.Q6J("matRippleDisabled",n._disableScrollAfter||n.disableRipple)("disabled",n._disableScrollAfter||null))},dependencies:[ae.wG,al.wD],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}"],encapsulation:2}),r})(),Zg=(()=>{class r extends fF{constructor(t,n,a,l,v,T){super(t,n,a,l,v,T),this._destroyed=new D.x,t._fitInkBarToContent.pipe((0,Ji.R)(this._destroyed)).subscribe(G=>{this.fitInkBarToContent=G})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Cf),e.Y36(e.SBq),e.Y36(ae.Y2,8),e.$8M("tabindex"),e.Y36(g.tE),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n._handleFocus()})("keydown",function(l){return n._handleKeydown(l)}),2&t&&(e.uIk("aria-controls",n._getAriaControls())("aria-current",n._getAriaCurrent())("aria-disabled",n.disabled)("aria-selected",n._getAriaSelected())("id",n.id)("tabIndex",n._getTabIndex())("role",n._getRole()),e.ekj("mat-mdc-tab-disabled",n.disabled)("mdc-tab--active",n.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[e.qOj],attrs:xf,ngContentSelectors:Bh,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(t,n){1&t&&(e.F$t(),e._UZ(0,"span",0)(1,"div",1),e.TgZ(2,"span",2)(3,"span",3),e.Hsn(4),e.qZA()()),2&t&&(e.xp6(1),e.Q6J("matRippleTrigger",n.elementRef.nativeElement)("matRippleDisabled",n.rippleDisabled))},dependencies:[ae.wG],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab-link.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab-link .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12}.mat-mdc-tab-link.mat-mdc-tab-disabled{pointer-events:none;opacity:.4}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0}),r})(),kf=(()=>{class r{constructor(){this.id="mat-tab-nav-panel-"+Vg++}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(t,n){2&t&&e.uIk("aria-labelledby",n._activeTabId)("id",n.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:Bh,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),r})(),Fc=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,ae.BQ,k.eL,ae.si,al.Q8,g.rt,ae.BQ]}),r})();class Fy{constructor(i,t){this._document=t;const n=this._textarea=this._document.createElement("textarea"),a=n.style;a.position="fixed",a.top=a.opacity="0",a.left="-999em",n.setAttribute("aria-hidden","true"),n.value=i,n.readOnly=!0,this._document.body.appendChild(n)}copy(){const i=this._textarea;let t=!1;try{if(i){const n=this._document.activeElement;i.select(),i.setSelectionRange(0,i.value.length),t=this._document.execCommand("copy"),n&&n.focus()}}catch{}return t}destroy(){const i=this._textarea;i&&(i.remove(),this._textarea=void 0)}}let zg=(()=>{class r{constructor(t){this._document=t}copy(t){const n=this.beginCopy(t),a=n.copy();return n.destroy(),a}beginCopy(t){return new Fy(t,this._document)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(F.K0))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const Wl=new e.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let Cy=(()=>{class r{constructor(t,n,a){this._clipboard=t,this._ngZone=n,this.text="",this.attempts=1,this.copied=new e.vpe,this._pending=new Set,a&&null!=a.attempts&&(this.attempts=a.attempts)}copy(t=this.attempts){if(t>1){let n=t;const a=this._clipboard.beginCopy(this.text);this._pending.add(a);const l=()=>{const v=a.copy();v||!--n||this._destroyed?(this._currentTimeout=null,this._pending.delete(a),a.destroy(),this.copied.emit(v)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(l,1))};l()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(zg),e.Y36(e.R0b),e.Y36(Wl,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),r})(),rD=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();function pF(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"Settings.Options")))}function gF(r,i){if(1&r&&(e.TgZ(0,"mat-icon",3),e._uU(1,"settings_applications"),e.qZA(),e.YNc(2,pF,3,3,"span",4),e.ALo(3,"async")),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===e.lcZ(3,1,t.appState.displayLabels$))}}function _F(r,i){if(1&r&&(e.TgZ(0,"mat-option",10),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",e.lcZ(2,2,t),"")}}function bF(r,i){1&r&&(e.TgZ(0,"p",16),e._uU(1," By uploading media using this "),e.TgZ(2,"a",17),e._uU(3,"nostr.build"),e.qZA(),e._uU(4," you agree to their Terms of Service: "),e.TgZ(5,"a",18),e._uU(6,"https://nostr.build/tos.html"),e.qZA()())}function ky(r,i){1&r&&(e.TgZ(0,"p",16),e._uU(1," By uploading media using this "),e.TgZ(2,"a",19),e._uU(3,"void.cat"),e.qZA(),e._uU(4," you agree to their Terms of Service. "),e.qZA())}function aD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",5)(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.TgZ(6,"mat-card-subtitle"),e._uU(7),e.ALo(8,"translate"),e.qZA()(),e.TgZ(9,"mat-card-content"),e._UZ(10,"br"),e.TgZ(11,"mat-form-field",6)(12,"mat-label"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"mat-select",7),e.NdJ("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onLanguageChanged(a))})("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.language=a)}),e.YNc(16,_F,3,4,"mat-option",8),e.qZA()(),e.TgZ(17,"mat-form-field",6)(18,"mat-label"),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.TgZ(21,"mat-select",9),e.NdJ("selectionChange",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.theme.darkMode=!a.theme.darkMode)}),e.TgZ(22,"mat-option",10),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.TgZ(25,"mat-option",10),e._uU(26),e.ALo(27,"translate"),e.qZA()()()()(),e._UZ(28,"br"),e.TgZ(29,"mat-card")(30,"mat-card-header")(31,"mat-card-title"),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.TgZ(34,"mat-card-subtitle"),e._uU(35),e.ALo(36,"translate"),e.qZA()(),e.TgZ(37,"mat-card-content")(38,"mat-form-field",6)(39,"mat-select",11),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.mediaService=a)}),e.TgZ(40,"mat-option",10),e._uU(41,"nostr.build"),e.qZA()()(),e.YNc(42,bF,7,0,"p",12),e.YNc(43,ky,5,0,"p",12),e.qZA()(),e._UZ(44,"br"),e.TgZ(45,"mat-card")(46,"mat-card-header")(47,"mat-card-title"),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.TgZ(50,"mat-card-subtitle"),e._uU(51),e.ALo(52,"translate"),e.qZA()(),e.TgZ(53,"mat-card-content")(54,"p"),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.TgZ(57,"mat-slide-toggle",13),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.optionsService.save())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.enableReactions=a)}),e._uU(58),e.ALo(59,"translate"),e.qZA()()(),e._UZ(60,"br"),e.TgZ(61,"mat-card")(62,"mat-card-header")(63,"mat-card-title"),e._uU(64),e.ALo(65,"translate"),e.qZA(),e.TgZ(66,"mat-card-subtitle"),e._uU(67),e.ALo(68,"translate"),e.qZA()(),e.TgZ(69,"mat-card-content")(70,"mat-slide-toggle",13),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.optionsService.save())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.enableZapping=a)}),e._uU(71),e.ALo(72,"translate"),e.qZA()()(),e._UZ(73,"br"),e.TgZ(74,"mat-card")(75,"mat-card-header")(76,"mat-card-title"),e._uU(77),e.ALo(78,"translate"),e.qZA(),e.TgZ(79,"mat-card-subtitle"),e._uU(80),e.ALo(81,"translate"),e.qZA()(),e.TgZ(82,"mat-card-content")(83,"p"),e._uU(84),e.ALo(85,"translate"),e.qZA(),e.TgZ(86,"mat-slide-toggle",13),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.optionsService.save())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.enableSpotify=a)}),e._uU(87),e.ALo(88,"translate"),e.qZA(),e.TgZ(89,"mat-slide-toggle",13),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.optionsService.save())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.enableTidal=a)}),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.TgZ(92,"p")(93,"button",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openMediaPlayer())}),e._uU(94),e.ALo(95,"translate"),e.qZA()()()(),e._UZ(96,"br"),e.TgZ(97,"mat-card")(98,"mat-card-content")(99,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.registerHandler("web+nostr","nostr"))}),e._uU(100,"Register Protocol Handler"),e.qZA(),e._UZ(101,"br")(102,"br"),e.TgZ(103,"div",16),e._uU(104,"Click the button to make Blockcore Notes handle links on websites for npub, nevent and nprofile."),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(4),e.Oqu(e.lcZ(5,34,"Settings.OptionsTitle")),e.xp6(3),e.Oqu(e.lcZ(8,36,"Settings.OptionsDescription")),e.xp6(6),e.Oqu(e.lcZ(14,38,"Settings.DisplayLanguage")),e.xp6(2),e.Q6J("value",t.optionsService.values.language),e.xp6(1),e.Q6J("ngForOf",t.translate.getLangs()),e.xp6(3),e.Oqu(e.lcZ(20,40,"Settings.ChooseMode")),e.xp6(2),e.Q6J("value",t.theme.darkMode),e.xp6(1),e.Q6J("value",!0),e.xp6(1),e.Oqu(e.lcZ(24,42,"Settings.Dark")),e.xp6(2),e.Q6J("value",!1),e.xp6(1),e.Oqu(e.lcZ(27,44,"Settings.Light")),e.xp6(6),e.Oqu(e.lcZ(33,46,"Settings.MediaTitle")),e.xp6(3),e.Oqu(e.lcZ(36,48,"Settings.MediaSubtitle")),e.xp6(4),e.Q6J("value",t.optionsService.values.mediaService),e.xp6(1),e.Q6J("value","nostr.build"),e.xp6(2),e.Q6J("ngIf","nostr.build"==t.optionsService.values.mediaService),e.xp6(1),e.Q6J("ngIf","void.cat"==t.optionsService.values.mediaService),e.xp6(5),e.Oqu(e.lcZ(49,50,"Settings.Reactions")),e.xp6(3),e.Oqu(e.lcZ(52,52,"Settings.ReactionsSubtitle")),e.xp6(4),e.Oqu(e.lcZ(56,54,"Settings.ReactionsNote")),e.xp6(2),e.Q6J("ngModel",t.optionsService.values.enableReactions),e.xp6(1),e.Oqu(e.lcZ(59,56,"Settings.EnableReactions")),e.xp6(6),e.Oqu(e.lcZ(65,58,"Settings.Zapping")),e.xp6(3),e.Oqu(e.lcZ(68,60,"Settings.ZappingSubtitle")),e.xp6(3),e.Q6J("ngModel",t.optionsService.values.enableZapping),e.xp6(1),e.Oqu(e.lcZ(72,62,"Settings.EnableZapping")),e.xp6(6),e.Oqu(e.lcZ(78,64,"Settings.MediaWidgets")),e.xp6(3),e.Oqu(e.lcZ(81,66,"Settings.MediaWidgetsSubtitle")),e.xp6(4),e.Oqu(e.lcZ(85,68,"Settings.MediaWidgetsNote")),e.xp6(2),e.Q6J("ngModel",t.optionsService.values.enableSpotify),e.xp6(1),e.Oqu(e.lcZ(88,70,"Settings.EnableSpotify")),e.xp6(2),e.Q6J("ngModel",t.optionsService.values.enableTidal),e.xp6(1),e.Oqu(e.lcZ(91,72,"Settings.EnableTidal")),e.xp6(4),e.Oqu(e.lcZ(95,74,"Settings.OpenMediaPlayer"))}}function Dy(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"\xa0Data"),e.qZA())}function yF(r,i){if(1&r&&(e.TgZ(0,"mat-icon",3),e._uU(1,"inventory_2"),e.qZA(),e.YNc(2,Dy,2,0,"span",4),e.ALo(3,"async")),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===e.lcZ(3,1,t.appState.displayLabels$))}}function My(r,i){if(1&r&&(e.TgZ(0,"div",24),e._UZ(1,"br"),e._uU(2,"Private key: "),e.TgZ(3,"p"),e._uU(4),e.TgZ(5,"button",25)(6,"mat-icon"),e._uU(7,"content_copy"),e.qZA()()(),e.TgZ(8,"p"),e._UZ(9,"img",26),e.qZA()()),2&r){const t=e.oxw(3);e.xp6(4),e.hij(" ",t.privateKey,""),e.xp6(1),e.Q6J("cdkCopyToClipboard",t.privateKey),e.xp6(4),e.Q6J("src",t.qrCodePrivateKey,e.LSH)}}function oD(r,i){1&r&&(e.TgZ(0,"div"),e._uU(1,"Invalid Password"),e.qZA())}function Gg(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.resetPrivateKey())}),e._uU(1,"Hide"),e.qZA()}}function Ey(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card")(1,"mat-card-header")(2,"mat-card-title"),e._uU(3,"Export Private Key"),e.qZA(),e.TgZ(4,"mat-card-subtitle"),e._uU(5,"Keep this private key safe, if you loose it or share it with websites, it can be stolen and misused."),e.qZA()(),e.TgZ(6,"mat-card-content")(7,"button",21),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.exportPrivateKey())}),e._uU(8,"Export Private Key"),e.qZA(),e.YNc(9,My,10,3,"div",22),e.YNc(10,oD,2,0,"div",4),e.YNc(11,Gg,2,0,"button",23),e.qZA()()}if(2&r){const t=e.oxw(2);e.xp6(9),e.Q6J("ngIf",!0===t.verifiedWalletPassword),e.xp6(1),e.Q6J("ngIf",!1===t.verifiedWalletPassword),e.xp6(1),e.Q6J("ngIf",!0===t.verifiedWalletPassword)}}function Ay(r,i){1&r&&(e.TgZ(0,"p"),e._uU(1,"All local data cache was cleared."),e.qZA())}function Ty(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",5),e.YNc(1,Ey,12,3,"mat-card",4),e._UZ(2,"br"),e.TgZ(3,"p")(4,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.db.clearAndReload())}),e._uU(5,"Wipe Local Database"),e.qZA()(),e.YNc(6,Ay,2,0,"p",4),e.qZA()}if(2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.hasPrivateKey),e.xp6(5),e.Q6J("ngIf",t.wiped)}}class wu{constructor(i,t,n,a,l,v,T,G,z,be,Ve,bt,Pt){this.uploadService=i,this.nostr=t,this.optionsService=n,this.relayService=a,this.dialog=l,this.appState=v,this.profileService=T,this.theme=G,this.db=z,this.snackBar=be,this.dataService=Ve,this.security=bt,this.translate=Pt,this.wiped=!1,this.wipedNonFollow=!1,this.wipedNotes=!1,this.open=!1,this.hasPrivateKey=!1}toggle(){this.open?(this.open=!1,this.accordion.closeAll()):(this.open=!0,this.accordion.openAll())}openMediaPlayer(){this.optionsService.values.showMediaPlayer=!0}primaryRelay(i){var t=this;return(0,we.Z)(function*(){t.optionsService.values.primaryRelay=i.url,t.optionsService.save()})()}deleteRelays(){var i=this;return(0,we.Z)(function*(){yield i.relayService.deleteRelays([])})()}clearProfileCache(){var i=this;return(0,we.Z)(function*(){i.wipedNonFollow=!0})()}clearNotesCache(){var i=this;return(0,we.Z)(function*(){i.wipedNotes=!0})()}getDefaultRelays(){var i=this;return(0,we.Z)(function*(){yield i.relayService.appendRelays(i.nostr.defaultRelays)})()}getRelays(){var i=this;return(0,we.Z)(function*(){const t=yield i.nostr.relays();yield i.relayService.appendRelays(t)})()}ngOnInit(){this.appState.updateTitle("Settings"),this.appState.showBackButton=!1,this.appState.actions=[{icon:"add_circle",tooltip:"Add Relay",click:()=>{this.addRelay()}}],this.hasPrivateKey=null!=localStorage.getItem("blockcore:notes:nostr:prvkey")}registerHandler(i,t){navigator.registerProtocolHandler(i,`/?${t}=%s`)}addRelay(){var i=this;this.dialog.open(_u,{data:{read:!0,write:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,we.Z)(function*(a){a&&(-1===a.url.indexOf("://")&&(a.url="wss://"+a.url),yield i.relayService.appendRelay(a.url,a.read,a.write))});return function(a){return n.apply(this,arguments)}}())}resetPrivateKey(){this.privateKey=void 0,this.qrCodePrivateKey=void 0,this.verifiedWalletPassword=void 0}ngOnDestroy(){this.resetPrivateKey()}onLanguageChanged(i){this.appState.setLanguage(this.optionsService.values.language),["ar","fa","he"].includes(this.optionsService.values.language)?(this.appState.documentDirection="rtl",this.optionsService.values.dir="rtl"):(this.appState.documentDirection="ltr",this.optionsService.values.dir="ltr"),this.optionsService.save()}exportPrivateKey(){var i=this;return(0,we.Z)(function*(){i.dialog.open(sl,{data:{action:"Unlock Private Key",password:""},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,we.Z)(function*(a){if(!a)return;let l=localStorage.getItem("blockcore:notes:nostr:prvkey");const v=yield i.security.decryptData(l,a.password);if(!v)return i.verifiedWalletPassword=!1,void i.snackBar.open("Unable to decrypt data. Probably wrong password. Try again.","Hide",{duration:3e3,horizontalPosition:"center",verticalPosition:"bottom"});i.verifiedWalletPassword=!0;const T=gn.nsecEncode(v);i.privateKey=T,i.qrCodePrivateKey=yield $c.hz("nostr:"+i.privateKey,{errorCorrectionLevel:"L",margin:2,scale:5})});return function(a){return n.apply(this,arguments)}}())})()}}wu.\u0275fac=function(i){return new(i||wu)(e.Y36(Sh.C),e.Y36(Ho),e.Y36(la.I),e.Y36(ro),e.Y36(yi),e.Y36(Oe.i),e.Y36(Yn),e.Y36(de),e.Y36(Fr),e.Y36(no.ux),e.Y36(pa),e.Y36(gs),e.Y36(vs.sK))},wu.\u0275cmp=e.Xpm({type:wu,selectors:[["app-settings"]],viewQuery:function(i,t){if(1&i&&e.Gf(Sn.pp,5),2&i){let n;e.iGM(n=e.CRH())&&(t.accordion=n.first)}},decls:8,vars:0,consts:[[1,"full-page"],["mat-tab-label",""],["matTabContent",""],[1,"example-tab-icon"],[4,"ngIf"],[1,"page"],[1,"input-full-width"],[3,"value","selectionChange","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value","selectionChange"],[3,"value"],[3,"value","valueChange"],["class","dimmed",4,"ngIf"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["mat-button","",3,"click"],["mat-stroked-button","",3,"click"],[1,"dimmed"],["href","https://nostr.build","target","_blank"],["href","https://nostr.build/tos.html","target","_blank"],["href","https://void.cat","target","_blank"],["mat-flat-button","","color","warn",3,"click"],["mat-stroked-button","",1,"signup-button",3,"click"],["class","selectable wrap",4,"ngIf"],["class","signup-button","mat-flat-button","","color","warn",3,"click",4,"ngIf"],[1,"selectable","wrap"],["mat-icon-button","",1,"copy-button",3,"cdkCopyToClipboard"],[1,"qr-code",3,"src"],["mat-flat-button","","color","warn",1,"signup-button",3,"click"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"mat-tab-group")(2,"mat-tab"),e.YNc(3,gF,4,3,"ng-template",1),e.YNc(4,aD,105,76,"ng-template",2),e.qZA(),e.TgZ(5,"mat-tab"),e.YNc(6,yF,4,3,"ng-template",1),e.YNc(7,Ty,7,2,"ng-template",2),e.qZA()()())},dependencies:[F.sg,F.O5,Ca,Ba,Dt.lW,Dt.RK,Ph,ae.ey,ca,Rs,fh,mh,hh,Wn,Pg,Bg,yu,vu,ed,Sr,oa,Cy,F.Ov,vs.X$],styles:[".example-action-buttons[_ngcontent-%COMP%]{padding-bottom:20px}.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.example-headers-align[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%] + .mat-mdc-form-field[_ngcontent-%COMP%]{margin-left:8px}.online[_ngcontent-%COMP%]{margin-left:.2em;margin-bottom:-.2em}.relay-status-0[_ngcontent-%COMP%]{color:silver}.relay-status-1[_ngcontent-%COMP%]{color:green}.relay-status-2[_ngcontent-%COMP%]{color:orange}.relay-status-3[_ngcontent-%COMP%]{color:red}.relay-status-4[_ngcontent-%COMP%]{color:#3131d2}.relay-read-disabled[_ngcontent-%COMP%]{color:#3131d2!important}.relay-disabled[_ngcontent-%COMP%]{color:#ea8809!important}.primary-relay[_ngcontent-%COMP%]{color:#c603b5}.relay-options[_ngcontent-%COMP%]{margin-top:.4em;margin-bottom:.2em}.settings-action-buttons[_ngcontent-%COMP%]{padding-top:.8em;padding-bottom:1em}.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:1em;margin-right:1em}@media only screen and (max-width: 599px){.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin-right:0}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-grow:2!important}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-grow:1!important}}.relay-button[_ngcontent-%COMP%]{margin-top:.8em}.options-slider[_ngcontent-%COMP%]{margin-left:1em}"]});var Sy=y(6660),Df=y(9921);const Mf=["Lightbox"];let Iy=(()=>{class r{constructor(){}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["photo-gallery-lightbox"]],viewQuery:function(t,n){if(1&t&&e.Gf(Mf,7),2&t){let a;e.iGM(a=e.CRH())&&(n.element=a.first)}},decls:26,vars:0,consts:[[1,"lightbox-wrapper"],["tabindex","-1","role","dialog","aria-hidden","true",1,"pswp"],["Lightbox",""],[1,"pswp__bg"],[1,"pswp__scroll-wrap"],[1,"pswp__container"],[1,"pswp__item"],[1,"pswp__ui","pswp__ui--hidden"],[1,"pswp__top-bar"],[1,"pswp__counter"],["title","Close (Esc)",1,"pswp__button","pswp__button--close"],["title","Share",1,"pswp__button","pswp__button--share"],["title","Toggle fullscreen",1,"pswp__button","pswp__button--fs"],["title","Zoom in/out",1,"pswp__button","pswp__button--zoom"],[1,"pswp__preloader"],[1,"pswp__preloader__icn"],[1,"pswp__preloader__cut"],[1,"pswp__preloader__donut"],[1,"pswp__share-modal","pswp__share-modal--hidden","pswp__single-tap"],[1,"pswp__share-tooltip"],["title","Previous (arrow left)",1,"pswp__button","pswp__button--arrow--left"],["title","Next (arrow right)",1,"pswp__button","pswp__button--arrow--right"],[1,"pswp__caption"],[1,"pswp__caption__center"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0)(1,"div",1,2),e._UZ(3,"div",3),e.TgZ(4,"div",4)(5,"div",5),e._UZ(6,"div",6)(7,"div",6)(8,"div",6),e.qZA(),e.TgZ(9,"div",7)(10,"div",8),e._UZ(11,"div",9)(12,"button",10)(13,"button",11)(14,"button",12)(15,"button",13),e.TgZ(16,"div",14)(17,"div",15)(18,"div",16),e._UZ(19,"div",17),e.qZA()()()(),e.TgZ(20,"div",18),e._UZ(21,"div",19),e.qZA(),e._UZ(22,"button",20)(23,"button",21),e.TgZ(24,"div",22),e._UZ(25,"div",23),e.qZA()()()()())},styles:['@charset "UTF-8";.lightbox-wrapper[_ngcontent-%COMP%] {position:relative;z-index:20000}.lightbox-wrapper[_ngcontent-%COMP%] .pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;z-index:20000;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp *{box-sizing:border-box}.lightbox-wrapper[_ngcontent-%COMP%] .pswp img{max-width:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--open{display:block}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.8);opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__container, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__zoom-wrap{touch-action:none;position:absolute;inset:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__container, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__img{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__bg{will-change:opacity;transition:opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--animated-in .pswp__bg, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--animated-in .pswp__zoom-wrap{transition:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__container, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__zoom-wrap{-webkit-backface-visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__item{position:absolute;inset:0;overflow:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder{-webkit-backface-visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder--blank{background:#333333}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__error-msg a{color:#ccc;text-decoration:underline}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button{width:44px;height:44px;position:relative;background:none;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:focus, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:hover{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:active{outline:none;opacity:.9}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button::-moz-focus-inner{padding:0;border:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--over-close .pswp__button--close{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{background:url(default-skin.png) 0 0 no-repeat;background-size:264px 88px;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio: 1.1),(-webkit-min-device-pixel-ratio: 1.09375),(min-resolution: 105dpi),(min-resolution: 1.1dppx){.lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--right:before{background-image:url(default-skin.svg)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--right{background:none}}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--close{background-position:0 -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--share{background-position:-44px -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--fs{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--supports-fs .pswp__button--fs{display:block}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--fs .pswp__button--fs{background-position:-44px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--zoom{display:none;background-position:-88px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoom-allowed .pswp__button--zoom{display:block}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--touch .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--touch .pswp__button--arrow--right{visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right{background:none;top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left{left:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right{right:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{content:"";top:35px;background-color:#0000004d;height:30px;width:32px;position:absolute}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__counter, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal{-webkit-user-select:none;user-select:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:20100;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal--hidden{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip{z-index:20120;position:absolute;background:#FFF;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px #00000040;transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a:hover{text-decoration:none;color:#000}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal--fade-in{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--touch .pswp__share-tooltip a{padding:16px 12px}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--facebook:before{content:"";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid rgba(0,0,0,0);border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--facebook:hover{background:#3E5C9A;color:#fff}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--twitter:hover{background:#55ACEE;color:#fff}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--pinterest:hover{background:#CCC;color:#ce272d}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--download:hover{background:#DDD}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption small{font-size:11px;color:#bbb}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption--empty{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption--fake{visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader__icn{width:20px;height:20px;margin:12px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader--active{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader--active .pswp__preloader__icn{background:url(preloader.gif) 0 0 no-repeat}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader--active{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{animation:_ngcontent-%COMP%_clockwise .5s linear infinite}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{animation:_ngcontent-%COMP%_donut-rotate 1s cubic-bezier(.4,0,.22,1) infinite}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader__icn{background:none;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #FFF;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:none;margin:0}@media screen and (max-width: 1024px){.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@keyframes _ngcontent-%COMP%_clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_donut-rotate{0%{transform:rotate(0)}50%{transform:rotate(-140deg)}to{transform:rotate(0)}}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:20050}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--right{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption{background-color:#00000080}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--fit .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--fit .pswp__caption{background-color:#0000004d}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--idle .pswp__top-bar{opacity:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--idle .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--idle .pswp__button--arrow--right{opacity:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__caption, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__button--arrow--right{opacity:.001}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--one-slide .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--one-slide .pswp__button--arrow--right, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--one-slide .pswp__counter{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__element--disabled{display:none!important}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--minimal--dark .pswp__top-bar{background:none}@media (-webkit-min-device-pixel-ratio: 1.1),(-webkit-min-device-pixel-ratio: 1.09375),(min-resolution: 105dpi),(min-resolution: 1.1dppx){.lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Zz48cGF0aCBkPSJNNjcuMDAyIDU5LjV2My43NjhjLTYuMzA3Ljg0LTkuMTg0IDUuNzUtMTAuMDAyIDkuNzMyIDIuMjItMi44MyA1LjU2NC01LjA5OCAxMC4wMDItNS4wOThWNzEuNUw3MyA2NS41ODUgNjcuMDAyIDU5LjV6IiBpZD0iU2hhcGUiIGZpbGw9IiNmZmYiLz48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTMgMjl2LTVoMnYzaDN2MmgtNXpNMTMgMTVoNXYyaC0zdjNoLTJ2LTV6TTMxIDE1djVoLTJ2LTNoLTN2LTJoNXpNMzEgMjloLTV2LTJoM3YtM2gydjV6IiBpZD0iU2hhcGUiLz48L2c+PGcgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTYyIDI0djVoLTJ2LTNoLTN2LTJoNXpNNjIgMjBoLTV2LTJoM3YtM2gydjV6TTcwIDIwdi01aDJ2M2gzdjJoLTV6TTcwIDI0aDV2MmgtM3YzaC0ydi01eiIvPjwvZz48cGF0aCBkPSJNMjAuNTg2IDY2bC01LjY1Ni01LjY1NiAxLjQxNC0xLjQxNEwyMiA2NC41ODZsNS42NTYtNS42NTYgMS40MTQgMS40MTRMMjMuNDE0IDY2bDUuNjU2IDUuNjU2LTEuNDE0IDEuNDE0TDIyIDY3LjQxNGwtNS42NTYgNS42NTYtMS40MTQtMS40MTRMMjAuNTg2IDY2eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMTEuNzg1IDY1LjAzTDExMCA2My41bDMtMy41aC0xMHYtMmgxMGwtMy0zLjUgMS43ODUtMS40NjhMMTE3IDU5bC01LjIxNSA2LjAzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xNTIuMjE1IDY1LjAzTDE1NCA2My41bC0zLTMuNWgxMHYtMmgtMTBsMy0zLjUtMS43ODUtMS40NjhMMTQ3IDU5bDUuMjE1IDYuMDN6IiBmaWxsPSIjZmZmIi8+PGc+PHBhdGggaWQ9IlJlY3RhbmdsZS0xMSIgZmlsbD0iI2ZmZiIgZD0iTTE2MC45NTcgMjguNTQzbC0zLjI1LTMuMjUtMS40MTMgMS40MTQgMy4yNSAzLjI1eiIvPjxwYXRoIGQ9Ik0xNTIuNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIGlkPSJPdmFsLTEiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTUwIDIxaDV2MWgtNXoiLz48L2c+PGc+PHBhdGggZD0iTTExNi45NTcgMjguNTQzbC0xLjQxNCAxLjQxNC0zLjI1LTMuMjUgMS40MTQtMS40MTQgMy4yNSAzLjI1eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMDguNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA2IDIxaDV2MWgtNXoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA5LjA0MyAxOS4wMDhsLS4wODUgNS0xLS4wMTcuMDg1LTV6Ii8+PC9nPjwvZz48L2c+PC9zdmc+)}}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder{align-items:center;display:flex;justify-content:center}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder:after{background:url(data:image/gif;base64,R0lGODlhQABAAPcbADc3N5CQkJOTk5GRkVxcXIODgz8/P5eXl2xsbHx8fENDQ5aWlnp6epSUlIeHhzo6OldXV3FxcURERIWFhZKSkkFBQWpqamNjY2BgYISEhGVlZTQ0NIaGhkhISJubm35+fpycnImJiX9/f5qamnJyclVVVZ+fn52dnYKCgkJCQp6enkVFRWlpaT4+PkZGRl1dXW1tbYCAgF9fX4+Pj1ZWVo6OjkdHR3Z2dkBAQElJSTg4OGRkZIiIiGFhYXt7e1RUVGZmZoqKiltbW1NTU3h4eFJSUjY2NouLi25ubpWVlZmZmUtLS2dnZ29vb2trazU1NV5eXnNzc3BwcGhoaKOjo6GhoaSkpHR0dKCgoFpaWoGBgaenpzk5OU9PTzs7O0pKSpiYmI2NjXl5eUxMTHd3d1lZWXV1dT09PVBQUFFRUX19fVhYWE1NTU5OTjw8PGJiYoyMjKKioqurq6ioqKysrLKysq+vr7GxsbCwsK2tra6urqmpqaqqqrW1tbS0tLOzs6Wlpaampre3t7m5uba2tru7u7i4uL29vb+/v8HBwcPDw7y8vLq6us7OzsfHx8zMzMjIyM3NzcvLy8TExMXFxdHR0c/Pz8bGxsDAwNPT09TU1NLS0sLCwtfX18rKyt7e3tzc3Nra2tnZ2djY2Nvb2+Hh4dbW1uPj4+Li4t3d3efn5+vr6+zs7L6+vsnJyeTk5N/f39XV1eDg4Orq6ubm5u/v7+3t7dDQ0Ojo6PDw8Pn5+fb29vX19e7u7vLy8v39/fT09Pf39/j4+OXl5QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hlPcHRpbWl6ZWQgdXNpbmcgZXpnaWYuY29tACH5BAkFABsALAAAAABAAEAAAAf/gBuCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ipqpZcFTmvD6uLrTcNSre4DTcQXLKEXhZJC2K8BkYAxhC1urGyGrYyOoo6MgICF6oADAdIvY1cSNxGp14O15Jd1l6lTxNHOJQKRwXro2QDBqznohAHOZhj/IXS5kSTkxoAQDHBp0nHvk7tsG2q9indE04RPUVgoLGJpwEEOkIE88XTEpIYUY7Mt0mCypT/Wr6UGbPhTJsscZoE8xGDyE4IEvzkZBHmTihEk1zUOGNcpowVH17aQcFbVBsAF4QUlSBAzknyOI7S9i7egAxOx2aQ6igdPXK1QZrUYwRMnCoaYa5JS0TNGg1fRp4No2HDGLLCYhYw8zWIlq1ct3ZZZVyoFazJlDNr3sy5s+fPoEOLHk26tOnTmgMBACH5BAkFAAIALA4ADgAkACQAAAj/AAUIHEhQoAIoRGI4qMFQCxkoCgpKnEgQQoYBDpgQ+MGmDUcmCwtAoEhSQAeHGku6mDJDRIeSBS+0dANzYAsYLWsCIANnSU2JS+CYAUByp4MUPycqWEh0Is8zSSm2CEHG6dGoRWswKXgyDVaVA7wO/EDiK8woH2yGNQsWjUAxMNieJWJyRg65bYfAwZs3Ct+SN4BE2fFTwZ9Vq/5ErCnYx4ufd1gdOcJKz0+EE2j8pLVAoJJTlwtwGFlTVWcBC16FVoMB8iqqlVdPKXx4Fp7Fc534+EvS8Rq7vIEGQPNgeHCuwOEeJ0jW4NrlNp4LUL48YUXpf39gnw48+/a3PFrwNZ1aVelTuS6CxGhqvqdZ7WTY956ZFAfarfVRdpTKhiWKL+9d1BIMEKWBWQAYrTHegQ3pV1NAACH5BAkFAAEALA0ADQAmACYAAAj/AAMIHEiQIIAcXUoIWZgQQMGHECF6KUPCQYgCashoxIhxjZeIIAcagcIhg5MuRh4etJCBw4uUIVWiQFHmScwATyjSvClww5sQL3mKfMHjzU0uNyZ8ESrTjA6QPpUylRjDDEgnHHBMjeilKsQsQLdCDWuwqNiQTHicIThF6lmuE5iINPv2Koq1AUhuqDsWikCNfNHewEn26BqPQrvczeEAZswbuXRJjsDTSOMiDHhKWSXChQsRnDWnEWL1ZuiBE2aJ/nlUVxe2rm+SOCyl9euBRWI/fkOaZ6gJBFOv1qKZswQboDUMf1Bccq7BR4N8Qbq08mGHPIdo4ZKXRWC7Ail+YI9osifd8bjd5lWL3jyBsi/ar7fJtjF65NULyihg4DuOuHa5wFcKXvW1xFttlPRUSFGx8BFTEwG1V3YXEUAfg0SdlxgLFaKkUkItOYigThd9sBFHLCDmH0IKMdQBdjcFBAAh+QQJBQABACwMAAwAKAAoAAAI/wADCBxIsGCAJ1wMrFiY0KDDhw8TSilAsWLFH1wgaixogIWWKARs4PCCkKQNAlE+GtgI0csOlSzPvIHJkmDHJjhqDsTRREQHnQFoaIEAlOPQmj3U2Chq0MYHDBshHGXa9GnLqVSr/tSa9SqAql01wpBhdGXYiFiD7jgr1snOAgrYehX4Q03RLl2KJhhC90JNHQtO7Rq8QAdSFgIZ8N3oRRQqGBUUwHhl6kFMIom/sNzySoJNWlQuH4TLmFcUg2Z4fdWYAq5kw2J3mf1MlLVr0rFn75TN+LZuhwBMo1bdmyRujZw97wYkOoDimKReQZZM2QtLqZn/Gho82NDvhzJg9GwF2hHCd4g+fvSNKxe4z4FO/LZH7fZtzvn2C3rED38KV/wloHCeUEu159RiDjHxQQtyHRiVUmc5eFkaXdVFoU4HnncVhHe91MMZE15gWVY3NRHSSCWNhFIMHzbYQXgJWBSjDB08wd9OKURGVUAAIfkECQUAAQAsDAAMACgAKAAACP8AAwgcSJCgAgJOmlwRw1ChEAUFI0qUyKVMFIY00iyxwVEjEwZRynCZSHIgAIs7cjwpaSTHDiIiS1IkAwOiTIMOb5pkUETnzJ4318D0OdHG0JIQzBggSrKC0qY8mbIUk+OnVJlJbUSMUOZqUCkFuzDwqpNEl500yH5dGqCNGbVl2wgEUsLnSS0iIBjxmbFt1KCffJEaTEqGTqdP2Ly9GaSXiiVzVdRyEFcIWKy1DIfNvFZzU1IeJkoeibSHhTWYIVP0xQIrC64y1dAqOUuMa9glo8yiHeE2hNRFfakmieE0lJuUQks8cakz4BdbbZ11LbZsbYIiVlFm3EWHjxTWaVl1Gv/pwuHvARCgPiw0797zc2+8h1v0r5Gj9CVmRZs/IgD8AWwQUn9hRbFBgUAR+ANVVvUnwV/6PUVfCgyWNpxXY0BoIVlZACjTfxWyZ4aBUrUUQUguHEiRC5ZxtRKHpsGUkUpDvPARTVo5yEaLNMGQ0hcq3hQQACH5BAkFAAEALAsACwAqACoAAAj/AAMIHEiwoEAdODqkQaNQh8GHECNyWSIESRSLQDJiFLKES8SPBR8QuNKkTAqIKco0IekRJMohJFjYcHmQRYQhG2gSdOMEwRKdO2FY8AJ0xU0jQEO+keKCZhGSSVFeSQPyy9SoEq9KpYH1Iw0SOB6KLNO1KlODGJoAKPsRwNmgVNl61SowrVyXPQdyoevyyRCcRbV2uaKzySVVrBJPQlK4TV0IfQmx2qLWBostk0+aDWAkSlOQhkzJQNtJUF/PKfg+VLOK7EMIq8SYrWDZZaQTH088wmuDDYyqrb2uegASyRiYwIlLZAVlNpDkbYPP9Q09Io3hxY+zsL0l9ybeFVQbk4zBHGXs2U882xZNutDpJwEuQK4qmbICy5gJaZ5bs/DhxKos1lhNKxT1F3w6GUXUY3dtppd4DRJYkF0RoiWEQW7NV+Fja2EIIVuDhbVVhW2oN12DEHyo1AVIddUZWIGZmNQYFhkQVYZD5VSVZaiV5QUUJPXQRUI7JdRDTC8sKNePGgXJhBROArYhZyvkwMaBByYVEAAh+QQJBQABACwKAAoALAAsAAAI/wADCBxIsGBBAAZaADDIsKHDg0uyXHACo6JFiW4eajRoZAgTBDKWuPGiY4NJkhErDnmyUWPKNjo26mgzZcqSlgy9TISJU+ATmhce9PRpgYCRoQQ7ssDRswNIpAwhOOnQ0gaMLlAbdrnqcmpWh2m8amUh5OtDAjbHCjXb8GeWnAgysnX4JK7BHRDmdj24tGmaNAtxAhArEG/VGo9eqVr8qMaGqhcGPujrclGqIxoqKNhxJBWjFDK5BogY86GBWH9WcBSkyUBXqqPfauwz6KEgPRuFlA3ApI1GM6AkmP5kZm/s2Vg2YsG014jotqeK/0b1WqeX4WNyq8pO9yqX51G3a6znrpY3F43EtRvvjVz5ovU3z8ZyTTeWE/jube/JvYaozEyCqHYQa/SdZQNR57lkBSiYJaRBZ1a0ENpRhR3YkgZ7dMLYHpFBllRafg3lVkET6WUgR4SZ+CFsJGLwmIqS9SBDeTBWeB2NKoZVwWs5ptidECyZVZePptW0FlSTgejXVEdCxmRWJhUVUpBtWWVkaV+5pdIYK5xhxJddSrQljCOJeZGUItWYU0KBQRUQACH5BAkFAAEALAoACgAsACwAAAj/AAMIHEiwoMAzEpaggcBQ4RmDECNK9KJwB5MLBGh02ZjxYkOJIAvqGAKkxxAXACKOJFkyZUiVHFe8JOjijcUnM2lCuZlTp4YeOnoawOilJ0SKF1rMXNHSKEwNMkG2gOo05MKoRzFWffnRININW61mxCkSaFiuGctiPSuV6kCSbHPufItBgdwCeypZ2lOgRE4FQLgc1LAU0KgtQRDACDLnsISZNgW+KPKSRChGNrwaCkUCbQAATFJYBUUB7FEKoLqINcI0pJFEhl4uSmT6qcLRmUf3EJsGQkg4gHICOsJ7SEhCWnLiLS71ExS5pIy0TTuxlAzoLm0fF6F8EnOQw4XHpfkucYKo3M25g3yTYyhZlZ9iH7dkoG39HXbXfyqtErXftoNVBoohHWgGyhWefUYZV5gclthiW5CCSRuQ5WZEUksd8UkpHHIYhHRoKRVgXAkOJiKJ/Z1oIopZfQGREDK8x6KCQjw1I13ZeaXVjFeRd9YGGj0WYo5VgYbhX0RtBWSSRi0ZWpMYMFkkSxtN11RcSFnUEBtt9EZlEUXdCEB7MW1ZX08BAQAh+QQJBQABACwJAAkALgAuAAAI/wADCBxIsKBBI24SGlzIsOFCHS6GlIEio6JFiQAcamSIEMJFA142PAkZ0qNHIxs3dsSoMgXGJyk5CvEYk6CBNTNr2oSyQudBiTpX+nyYZQjKlkaHysyS0eEGmkodpoGwQSrVqE6hEm2BVSOAnD8rdFUp44HBIjTGpiyRpuBNLymNMHHAR5IkPg52VCULd2CXLmsFjWK0oEmTBYxE+bGxFrBfNxujZNLT4azgKGQfR7YEwyGSW5g1EjAg8K/oTEw2M7ZamrRDPypibqnjVUiAr2YbpvEEOfCQrA+8lPW8QGdh4C1kaFShxTgI5C80UkKiMwIn0ThwRH99o/ol7G6GN7bcUrwmYui5GdLVKWgC8ADiGU4J1XYt/aytnR4yJBtRU5n5SeVJaJ7FsgR2ARbYg4K1uQafgw19NsB/fgkAWmZ+lRGYIiAUwAQLBYAwCWWN7dSXSlGo4MolHR7YGA5uaagWgjGmN2NYW92Io0x76XibVvLV5yNafA15FV89YoUbhRtNdaJSwqEB5UlDCRVVlDYwqZsNLyQ1VpRlVUBSayWZ9KRaEKGFwZpstrkChD6SSRIAMA0VEAAh+QQJBQACACwJAAkALgAuAAAI/wAFCBxIsKBALyu+tBkCoeHChAYjSpwowMASGmvSXFTQoqMNjhkvUhxZEAfDjxsoPvHYkKTKky5LYjQQU6aLmgY3uMiIUycENzglummYkqSRIiW4BJ3IJakRkkgBLH1ZZCQbGlKnUmXKU6vVljnLVPDqUkFXgmPakI250CZbIjOsxAlghg3bpGi/lCWkqVIfCg36bNJESEjZIQM9Wk1CWGxevhSycgVaUa3KP40YMGXQ6I9koXorj/RgaQxUSx6+Vn5CUYMmMzGJvKYKkWkiOTjtLGI9eUnr2TV7aFpDm2KITF56Agf90bigpYNMFJ9oh8LSwNMlVr+eJ3tEE92D6qdR4d3gceiae/+2oZy4etvWazLmLZHoz98a2C6POHTsfeOlnZbaSwexd1kkV/zmmWqrLdZYTnIQltxWBRrF2WCBwBEXIpkgQsRTDBao1F50lFiiYYfRlNdah4U1FouT8XcWjHkZGBFRNNb41WcsAiBEGkZpRFmPOKZIpGk9iTXiUg8oOVWTISU5E1kWhcSjTWldqVV/SDnFEkhddDBkjquF6dBDDwQVEAAh+QQJBQABACwIAAgAMAAwAAAI/wADCBxIsCDBDQAenKnAUKHBhxAjGtTRcIjFMRgvLmEosWNEBV3SbPQCYCLJkBY9qgyAA+VKgSdxvHxoJOPMgy5vssypE+aXkDdbFFHQkybQlSANFIXoRqTKljqWfnQqkSJRqVOvGpWJtSoarhPHdPVoY4nRl09+Elk75MnLowThVvUAqdGjP4Qe2fXg4mmbgi1V3qgbpQQXn1Hy3vAbFyzTOZImlKQ54W6Fji7YDEzr9mOdQUXIFqoTNavPjnS7II2MWfNOiTQaqZkZoxENr6cjbrGzYeaTz7jTVo2EQCeCSG5gIwwd8bjYoLaVN5XoAFJv6BOk/9W9pSifGdqpd7/vOedI+OaOikLKnnU7xDfRsWdN2JmmpB3GJT2Y31Z8UDkH4PbaR7LRhpyAIKEGiWpPNRKgcj5N9hhoopHmlYRfYfaZZEwVYFlrOJFF1x+uxYXXAYeB2FiDklAyCIAvRjYEY4Bl+JQZMeSYo2MXnjWWgGEp9eNWpg2Jk1ZMDWVkhH55YaQXSiLVhpNjQSnkWzZKVdZ+Ogk1ZVEGhCRhT1C14BtPWIXJRg4pkBQkm18uyUWbQ2mEkkZLblXRGUUFBAAh+QQJBQACACwIAAgAMAAwAAAI/wAFCBxIsODABwYUrOiwpOHChAYjSpwo8EmLhw4VJtyY8QnFjwU34Mj4UaTGkSBLakwZ8ktDlgYtuoQZ8SJDmgJ0uNyAs6aLlyy9AO0pcSVIoQaIqvSyVOnRoTFnOn2a1OfUoDZ8AoA5BMiNK0yGcIWak2xRDowcMZrDJy0jDlmpEqxgNuSCSTVkMD0oIwDeFk0r1p1bx0rcolbuVAgMkaICQgu2lrx7RqVgx4FOcFVBhefEi2VxUPxg5wFNHXfUOOaIuURPCJxSrEY5MYYHpSA+zBY9kZAFpTDs7P7sqOrr4p8f1j40FRGT5IMFNOnTHAb0vREtGKp+fSKBS9yL2qIYT3yM0jbIxQulaOcGcD3DlxPdUIdD/KKXLhz/spu3xCCKnZbaapd9xsdtQWXGBYFllQSZZJj94Z94gmGHWGcRVsZggY7dgEheFp7Rl3Oebchhh26x5RZcKa3XEk1dfRXWWBq+eNVT6t04G3Q6ahVYjxW2uBCQodHo0VVGMAQhVtEJ+dN5yuGEEZIj7bTURkDq1JGWCJ1x0kglEhkaRh31FBAAIfkECQUAAQAsBwAHADIAMgAACP8AAwgcSLBgwQ1PdHBxw1ChwYcQI0IEcEaBjYsSUlh0gbGixI8SE3LcqMOgSJJPQKoMgHDkhpUtOa4MucLizIMbbxKMqfPhg4w9Rfak+RIm0KFEjSIFmVClzaVMU3w0oACq0ok1Z57UqPUpTi9OkYw4hKhs2RFIzjjlipNpBEEmGJTJsbADAQYmCEUwEvXrVCp2ekjsUYdKi6kyB1L96wEsYxuIdzqeaIdHUbd23NBU7CIk4MthTfCNyBbh4MxB60TZzFIzZQtInfgBQLpz64hMDI1OzaR26wcRB8CBWmNG7ZYSA0MlTNS1T0QSoLpA1Jw0dOnXsXqp+hp7dO0rrLe58X68Q3Inyw81TwlRhfGlwo/fhoiEENRBCHzPfw57qOzJJoW330NRzMYbaxR5NgNoTCkhGmsDmoSIZTAFkYdzPnEh2WMNogahQImRBlgUtPlUoGGRtTXVW3ARQNdPUMBhiCAW7KafiiuikJdZcWmgVl8Z2hiVeTcZEWKAVg2ZYpJYKclkgAxq96Rk7BlVpVVCBZUVlgwtdRJSdZUoXU1XDlkmlx39SCWZGE75W5ooZSSVm+VR1CVSAQEAIfkECQUAAQAsBwAHADIAMgAACP8AAwgcSLAgQQAPvJwxgKPhwoQGI0qceDBhBYcWM17ESLFjxCcPIXY0otGjSYULTRYE2VClRJYAXH5kaETmQIQ6bE5EaZNLS507f55kCHQkUY8+NxRFejQol6VDY74UCtXo05lDfYwI1OdPICU+hjwZinUkEDqDTJABUoYAEDIm0gJRatQgwpFU6oR9qTWQgroV8YZ5gDSMHBeABVK1aweFzAl2JFBUeNPA5Dk8dDoARDioYssTN4/tCYLD5DOfdxL6C1SBoDGe74YWATUGiNM+VbMuKmFQF6eoJZqJUzUAFRLAZxffnFziCTPLTTSPqGdH8bPTDVa/nid7wThNuHusJ5iEgfiplIUfiD7+5mqoKXy3H6i2dpXTAVJKLPO+9WvP+YHmHAijyfTECSfgF+BlDmimh2QALqiaYy5BBuFUgTHY2WSG7YZhZTiMBNleH/UllVMrncigWlO09VZccCDGVFlMJZCEHXQ0EJaKCtq1WHEz1YQekCjiRqSPV1l1JIgu4bSkDiI1+SNv+vVEE3wWYdkCj1ElWVVJVuW2ZIAhabQBSg+NGWSZVdoUEAAh+QQJBQAGACwGAAYANAA0AAAH/4AGgoOEhYaDG0+Kh4yNjo1GOg9elG6WlZKPmpoAk5hPhIqdmJuliKSbopSmj5GrrKevsKGys7G2BoleuIyVsKK8kLWtlsGOkqCcw8aGo8rMz8e7qS9EWjVhKGYv09GHnZtdAnd6AxnWBRR6dwJdqQC9Rq0FdQ5r8oUAZUH1Z8Tf3XpRAdOG0wgqBaU1w8fojR0HDOfZwaCQ1jE8RGYRwYOmoqBliOTwwHVkTgVhoRwJWBCRFYCDx041GnKnQ7AOddzF+wiPkYMjzLChzNUyJAFmL/IU5cn0UBaOzB7U3Em04QloBkyQ2JmokZoZWM0JW+RTS1gOYwMW+nk2rVeg0K/gMEDp5m1bgE0NPV36K89RvFW/0fl7UylVkIKCCAjqYGgxqzpxlck5NJfKKmpNSc1QObBgMCQRdu4686HGiR7zOn3Itxk/ip1Vf054UQ+NfwtbUal3r9k+3rgXbtBEoAE5c2bQrWunrCdgTtWuZduWmWpsrPla38Iu/J1z7kSTeQcf/lck7r5seYqKWHP6Wa6+3/T0oJSq6sboc3EWa/8l8v2dIeCABKICYDztmRIIACH5BAkFAAQALAYABgA0ADQAAAf/gASCg4SFhhuIRoqLG4aOj5CQTwA6lJaTl5SRm5yYmpuejZyjgomipKWWqJGqq4WJrq+fsYezq5O0oE+utrmPvawAvqPAjorDpMWEuMkQGE4WzzioygSwoDthfFsnARQec3xhF1ydwr9G2FQDTjmHTt9SXrrG55Bo60OcJUlUbfSyImHYI2YVmTkYggW8RzAWAjlQFA6qxqYhLSn+JNmzJsmEg2EOVKT7NXFjIYzlfHGJ00Rjql9bdiAjoGGLAXSlIEVRckrlgQiSrJkk9HOmIBYLNDI7BNGoNTk36y09yafnsCdNpY40dMGEU0FV3qA75giGgK8EGjgZu5UqWgFrsLU+enPibUK5ZbfYZQvzi9MvUPk+Uuu0yVmcVglF8JA4lpETLUkKhXl32I45UWu9nMv4qkeXOWGKAGklpbFluzjHdbhHH86SArNSuyK73kLOR9wk01bZ9m3cPfZ1+yfxt7EE4tq9i3cGoG9WDE7I4eYN3HQG7joV3+cMmgwI05I1Ro32tfPym4kN/bs+mA60mGgtYp9afqtcl2Z6chz/ayZz95UXyoCZkIVeLQS2N0ogACH5BAkFAAsALAYABgA0ADQAAAf/gAuCg4SFhoIbiYobh42Oj4aLjZKQlY6KloOYmZaJnIeen5Oik4ykmqanoKmfoaqloq6vsJmss4+2tJ0pY0u8nLKrlRttZkpWyMlKZm25kc6I0IQ/Ah4JMr5GADhLMh8gAT/D0E+QKTwnQNILT0AqHDjmwo5FJyhutQUgXbi56xdUrpAy1gNXoX8BVVmgIu4SoXKTTBCZ5cPECoeaHM2AN2tDiBkY2dGrYuAWuzhlMEKMdCCKSUHGyCFqRIPhy5MNI7GDZuymIAoCQYls1NLnAiQCLpGz6bOmEV0Hmd5cIvXgUgVGDVR9eDXrVlQRsTb9Gk1jzpdfqCg1a3RhyEMInI4YPYJg1FBDbcie8qLX1EpDA+q+RKpyZAuTOFCGlHaEx19STz6+fTztHUUVYoWCpYmFiUK9Ow8+AmhmIOi7mzkXqJBvXz/NI6uIyTFaTJwDLuTZvQSQyrI3Xby46XKhou8LAHRDnVTsmDJkzNaVNQiM15dftaTPNAp7HPfU2b8/0T5vKvnlr4LtPY++o/p+7CFvejb+u9JFlE4FAgAh+QQJBQAUACwPAA8AIgAiAAAH/4AUgoOEFF5CPjwBSmCLPkIPhZKTgh0iHgdmPWVoaZxmB5gdlJQKCSAiJUalNJePpIRsmTawsR8HXbVlHk21k0i8pBCovpRMIGuTXyNOxcIjo7YJzrCJBoRqSVzUpA9J05XI3LAy4hQkR+OwG0ckhg0E6uQN717y3chSE/fVTQUR/J4FYRLQWIgBMgr+mlEjocJC5SZMeQjxH0CKg6IwOIYxY5Nl9jB6EYero5AFghA46Oig17sfFFuFPHdkg0J2zQYBCBNFoUYAhRSU5DcFzMxY5tSpTGZQDVBqO5MwFQjB2TB4xQ6JOsNK0UduEi6hIgHkRwkgN46AEHXv0KlFjQUUQaoVCAAh+QQJBQAIACwOAA4AJAAkAAAI/wARCBxIkGCOImUwKERYsKFDhwhrNJjhQIRFiWGkpHnIcaANFAJ8CPHS0IsQHyFddCzZJOVKBBWuuHwZs4CNlwYLOFDZscxMnB7JCFjDkU1IoA+ZDIVIESnHKDMqNAS5wenDJxYLQqBgwGrRpQIBHLHgtWcQIwJLRC37tYTAK03YmoUZYIjcr09WCNBx9+rQNDyQHkQaAg2BGEAP/Pq1IPFJIjjb/NLA5NcSnAyATGEQefIOy5iZyCiQeHEDx1sF30TdgGTfkq0fgH2dkwsCIlFoF4SbdoBr3V4aEKXrRHfvJx73Ap/9dufrDR9QwCbxmsTa6Xc1MNf6U/X1r84Fayn53jF4jSlnaCoNH/lFiPMjWaLk8QKt1Q1DImCseHFihI3PIbQQQzgFBAAh+QQJBQABACwNAA0AJgAmAAAI/wADCBxIsOAGLjhsuKjwYEPBhxAjBqhA4AacMBgzXsxSQaLHgRXIYGTBRoGbJ0ZOtmHBAWPHjw91MLn4BeYSMUeY6IAJEoWaMTx7okjBs0sQEk+CEjQSJUiXj2jCaFAKEYhUiQqOUo04UwJELxmubJVo8cHDJjEAjI0IQEQTg1fXsg2jgKBIuR4t9kSDFytdgRCc9p0LQWCUt4O5RjBcJGgRBw4aFy0wEc7Lj0eEvaIl7MjkynWh7rJgONgPm3Rt/MUciWAjAahNrvZ4QJJrJbFDhs4rTAbg3rln8/bkCdiMyQ55lHHMI4Nk1IYXJ66KOLDD6UsFg8ae/TJa7gO/704F/+VIi4JdsT8oACRmDDHTNzBI+1V5Yif2CeOVL5w6GbVbydTfXOxRNURYXjk2EwNLoObTTgGKJFVJKqnE0oR9UWSRRhpxRF5CC5mlVEAAIfkECQUAAQAsDQANACYAJgAACP8AAwgcSHBgCyEkyKgpwJAICSFnCkqcWHDDkCgTzEChgebLko5QzGQcsoGiyQAA1nxIwPGkFwgJ1EAwcrLiwhdPahp8wRCHTpQoyET8SfCMQhs10WRwQpOozQxdTK4o0MOpyTcFXEw0CsPqSSdQJWIc6nWrwoJtwpaVOqGNQZlrk/rIGQChjrguUWQRKGIHXrlA3f5lawAm0RQgChUCkeLnBr07fPz8gQoUIECPUA35+RAGE51cPuUBMFBKKi46mSDQqDPIqQcFGwVJfQVuTUFyJO7pQ5ulTty6ecv1XdM1bIKVZg//nDSVHdJ8P6FePtmU5UCVMqHhvKOEZMdR7Nh0iVKSu5e2gwnXlZGeIlaBaURAb/92O18M9An2EFM0a/7ABYFFV3pPYCTRY07QJ6BZVQ2GlQFsMRWXEUcNR5ZTblQIGgMxrFEeaCoRcWFNFgU1k1QKhEhAU1a9FFRPJYzBRhmRNcTEdBPaIENCC9kI0YcmBQQAIfkECQUAAQAsDAAMACgAKAAACP8AAwgcSLAgABtj0tBYmBBAwYcQIwYw0oaJmotRkGgkgpGNEYkgB1JkkNFFRBcESn4MCXEIxxUsBdogQSRNTJFTat4kiEbMlJUhvZTcaZCml6A1NxB9+ASIzpMZl0rUEAVoQQtNlEqFuKEJi5Y3dGyVaORGkaIdxoLMIcbhQCFN1IbUiFOC3LUJjgbIEuXu3DIC6cZka8dOgbSDYUz8AJNlgVWJVGBJNEtE4pFuQfJ4dYHnKw4sAYhQsMRHaFsaHiJYhVizBJeOKUW81MDxELgsW3mIqGKRbdwhdfNu9TtC7Nlgip9mohq1csenOr/9HHO0DsbVIUumXODyXiE3ZxZpPhy+73e/rmWORg/WzVvj7K864ammS/z3Vve2vS8UfFEWWvnVVFZcmSGdXxaJBdUOAW7VFRl6kXUDgQ56FeFaOdm0VBpJEcXGhI2FZpSDJUQwVIEqybXBhxhltFFH+amIkEIMpZEZSwEBACH5BAkFAAIALAsACwAqACoAAAj/AAUIHEiwoMAnXM4oSNEiocGHECMKMFACCZGLGDGWaCGxY8ExCMggobEwIcKGNJqIHONR4hKLQlJ4TEHgBowSLT9qiAJBR86DEHg++anDgpMHP3Va8DlTpZGkBo0AaeKlIwCVUCPKQAJAIhMgWSNu+KqValixIx+uIFPhrEu2Bp3IcNsRgxOdXOi+zUEQyA+9dcEehDszAKNPnxjN6NqUMciWNiLVykRlS6bJNloeFfhmzUxZmIb0VQTLRVPOLDtiIgSxD6LTAqSY9irLAEQDqDy/nUg44gw9EvHAscrWQO/Ww31jIk7x+ENXMyTOcMWci3ODgO4Ep8I8dlvpuDKrnMUlgjhqq6YYtdZ0xrz3z39sD6xAqDTsLlIg16+jxEMdWPFp1sVg8nnEhAqmaKKCBjlV0JtcgO0233UR8sZGQTdVGNddSmk44YUbVqWhFzyVtUGFYwl2W1oRbsUYWkC8GNZVMIhInFkzOpVUFlf8MBRRFZWR41JPWQXSUnS9ZIYGRZS0wUkLTYVkhE9udYVIWMq1BFMezocDRWEFBAAh+QQJBQACACwLAAsAKgAqAAAI/wAFCBxIsKCAMza60JABZWFCgxAjQjTyRYgTBAwhDNloEcbFL0YkiiRYEeMXiRtcdDw5MmIKIEiGhGx5cEgTIClokpQCAYBOkhB46qQY8+fEmD5FAphi4YxRlx9F7mCh4ylKCxckWvRiVWlRgyoVdB2pQChQCGNbBi2IBknStFeHDFzaBa5atwLbDm1SI0+eGXhbbqCaNw3NMpWGUTJhghKtSmUOZ6XbUosqQjhIClKl5S5RtbiCRAyC64dnGWRvCRLZ59HbiBfSWBwJI1VOlLCc0N46MgCglnNm7G44sk8A4H/IxqzL2gNy5Qx7H3rulbhUVC1PwRiOITUckTNucYrZ3WE7bc6jVaElbxb85Qqa0SsPGftw4sVxHEOWXHhvXzk1BHZXYSvYNd9cUxgY11kKQtTWE2whYECDDBp0gRNcUegFRlBNUZWCOiAVl1N2hXjBa0cJ2JUEIkrWk1UbXvSUSjfNJNgPNY41BkY4kQhWGwxhWGJJESznkAZMLWejgTqUxFFDP4D0U0AAIfkECQUAAgAsCgAKACwALAAACP8ABQgcSLDgQB0tVoxZolCHwYcQIwo8wxAIkx09XmjEaJGhxI8FFWTE0MYLRC9tMFggCVJiQhY0TLZ0QwPmmZYGx9jESRAlTJ4CNkBgkgJozos4AcjQ0MLow5cAPgq9wMXpyQtQPg6VafUp0qs4urr8eTSs2LFmCZZ5cRYkgTUhLTRti1Yt3Jk/GACykuDHBpxZsk6U27JHI1GFRowoFOoRBrxz2bAA2WJOKR5xUQG6qbWogLcg6VSCADFLJkBuhQQlG1HKKdWtXznROuVJC8IRvYRaELqTZ7ApLHxk8KoDZdlobTAZbgqnqBqddX7ci/NOlehvptOpPgI7c+dEvEuqLFP8OOncVL2wqCqREvTvdYlqLZVlPH2pFwSCnp6p/kPT3dE2GGV+XJbZHZyN55lSczGHGBiLNZYAZAPtl1oAdMgRgBlfAFZGT6zR5RVX+pUgYmsmxrXEiWWNyOJBuP0nH4vq0ZDciTVSBgVVdIkERVSFhejUEkKmRkCCPFFUJF47MRnTWUSuFJMbT/REU01S4pgGVip1qYGUSxnw4kEKuJADGwuZSWJLAQEAIfkECQUAAQAsCgAKACwALAAACP8AAwgcSLBggDM5upTIgkEGQ4VnDEqcKHFDBxo9LggZwsZGhY8dN4qkSLKgghcNJQAgCeBkypIU3ax5g2YlzIEtX97ESdPLToMuV/xcovFnzKIwIRpl2bCkDRkPljqFetSA1KQ9rAKlehVrVJMQuu6E8AasT7FeCW4cioYMGY5seRq52YWQqLuJ8NKgy3Vm0gakJix5IhDhhFADuGA9SNMpJUtCJr5oxOls1ZMwPUBmaemA1xIlL3y6kHT01IUl8XjYqQLPaRuch4w1tYEpUsmhbJaWfZnkh1ZGE/mwrXViDETBPxAniQGUbscylsc0TfdTxN4kJalgDel1aOrMwUuNDlmbZKDN0wOdDpDVcaUmuCdZnpgCQ+Eufz/lgaGgMAw8+s03nn9fffeJfpYc+AgUfKUwEGo3PXHSBz5oRBhfarWH1noZbjjVVmh4OJ6DIIpoVlUmEsihhwZouKJYTwkonVQPkHUdWzqNBZGMO9XYU1IKQcDjUi1aeJECBiTpwkUODZbifRg9JOWNNwUEACH5BAkFAAEALAkACQAuAC4AAAj/AAMIHEiw4EA3FVws6cJQoRuDECNKFPgkYRYCGMsM+aExY5uEE0MWBLBQiEkDXEZyQcnxpMiJRr60NPIyQMyONGsS9IJT58EOLn3e9OLTIEmNOleYLCqx4UulNpjCXDp1idSQTiPquHhV5EcAETl2ffoDYgohZ8Z6pfozR1IIZMhASFlT5ki0L5Ew6sS37yEYZBUQ5IoVRKc+R4AokADkiKBOB+hO/en1ECULYR0dsoq1BcUuhT1INgtic2eBSCeGMR369M2JPzKhqaupRFWEIU3Q8UnHRGeQExWh8Jkh0e8sMDsJ8fmi08OmUGFnyknbNnSF0qk/lX07O3Pn3YMjm/l+PDce3nuOg22qvCaS9tc3sI1IwRNRrJ4o/LYJOrlomKXpcBp/lbFmlGWcXfeZYFgVl4F2RjionVZzUbZdX36lUVeC/LnwFgNyebjhem2ptZ9BFZoIHYUcqngQXiy6uBOMCspoA0aBqSjffOV1dRSDb2m0AVMrBVVUkRhNeJ2QY+14EkoqsdSTjhZ59FFHHj0hY5QlOaRlUQEBACH5BAkFAAEALAgACAAwADAAAAj/AAMIHEiwoMEATx5wMXKwocOHBReySVOChsWLE7lA3NhQR4chFVfgcONxg8mSIXVw5Ajgyw8XbliSfAlgZUcbNG0ObBlS506QD3xG7DLEi88zFYXedGHTQFKlS1k+hRr1IU+qEJcUdbgBTResG4luqAqW61aDV5sC1dmihNGhLKVUcVSpbl0TUp7EHfr2YZZFlvBiSKEAQ4w4lgplCUsj6M+NMBJDaAgBUyMnjAmedQik0oG+BwEcqAQk65CfoNE+OrBy9Fezb2FC5JMoNVdMfEwLHCPBL2mdfxeb3W3g4YE+QvuwHo6weEdIAoQ2gKT3JnHOv32SqGRj+JPG2LsfxeUOO21o8uPFh3bb1fF5FkK3q0f7mvdDRTykK7J6OgBF44Ak1wB/14UH3GUE+lfEbIW4l9UigejWnErYRcdREo+0wV9fm1Hm2RlWgZEdcwX6ppiHCEpInIMoFiIAAoXBIEAhdQm3IVyMmUCXXZfgVZ2KqLG1lloM0WdbWQSZRx+SZK23BJNGmjYfkzCx2GRZWjknVRdFYmWEWEd5lYKXQ4aZk5lMkZlSWCJZVBOSXoTkJkknzUSRm1DuxJNLGE20Zp7lYRUQACH5BAkFAAIALAgACAAwADAAAAj/AAUIHEiwIMEHZ3AosMFQ4QODECNKPGig4ZgcLlIs7HCxy0UAE0NCRJgR40QvEth4NCBSJACLLQdygRnTIEmWNSl6zClzJ0+bPmM+wTjmZ8SbLTcsWWpUItKQRJueZDoVpNSqToNezdphpNatXIEKtQDijqKzICx4Eeqi4EwdLnlQuhMkioweJOD8mcQDh0utJqEqCtTl6B5Fb/72tCqRiKsPImM8hupTYcgpnm7EJJOZskCOJx0FyNnAEZupApQ+lFiWcVJBI6oiDD3lJxBPFWRPvMGo6aErulnDaTojUPCIiJtGUHQcYmejFzw1N5gcuqPpBQ3BUC4IO0EVw43qp/U+kLdv4Fy/HnyeU0Z1rygDR9xjnGceKlhBOxVN2jTq1Etcxp6Atf33kmsQRTEZgZQxpt9ugyGx2kFN2PFeVjq5ZIInEd4VBQWTeGKCBH8hmFFMa3ywIVomfLDGWEDhBBZWMc4Y1lEq2VgjjToCGGCDCG51YJDwEWlUfBvkVJGMUjl05EpNOVRUlDSxxZGRSlq0VnoPznjgSkRt1JFGWHqZkJgNGRUQACH5BAkFAAEALAcABwAyADIAAAj/AAMIHEiwoEGBT3QAeHKwocOHB7kYkGAjx5eLGClygcjxoRcFFjVKRKiwhUgvHVMGkBhyA8cNH0OqdLiw4saZK0uixDnwjEyePUsCTWERaMSiMzUabSg0JUgjS2lW7FihA4CoHq1CdIMUq1Q3X72+7FoQpMo2YkIcWEukzdkUR69uJVMnESABMVAMAGSXzM6sOgyahWjhUJ03gcu+6XPIwtiyZA/6UDThJlMHlLeSdQH3IV0hTgfd0Bz070Ehg4YkRUQAMEmPonnCGGT56GuHMfK4xLlBjoistyMWemN0R6HdtnM6RJ2Ypw7WUoMb5HEgqgcU0WGaLoglRtTcX2s6z7z73Ur4i+PVlD8vV7L3peCZoo9M0IH5peTlSy/IRBHYoYpoEJ1yTA1XHCLNCWbDfgVNUAdyZ/WB3YAj0RQbTrNBqGBQD70AXYStDchgg4aoRtWFIubEkGcfssiAZv9xSJhhL2i4koeNPQZZezTZl4gDPgQZpCCHbRdXclQREQRbbb0lH49iHflklFO6RiVBPq0I45UkKeAURlc+oFVSY3plUgVD/WRUTQ8slZBNzhFFkZk2cTVWS2Fa1VKFLJ2pZp44rJDRoHty+SSbUM4UEAAh+QQJBQABACwHAAcAMgAyAAAI/wADCBxIsGBBAFy8nDHAUCEAgxAjSjSIsIIEBSkaummhEeOZiSAlPvB4ceLIhRhDqgygI6PClQJbooQZkaMbmgc3tsA58InFhzxzZsRZMWhNHClXnjRq8mXIpUybAhWZNKrUplZVjqQKs+WOKBF2lNDR1QDEoiHfNDBUSA+WKnraNnijtWrPmyCLxCk04w0XglzUti3y1CzgjSBhMJogwaQDRizy2k2YuE+WlUL8fJB818hEKZZpdghN1TNLBZ8LCeGZuQzW0yLvoDCaQY/ps6hlSnTyx4tRN6Rxw5aoQkRULSqk+q65iDDTEoWW43YKMcuiDVGfqC5tuPqfrHoscL/f7QE8g/ER1YAxj947+6Nb0zOaGhQA5PYUm0ctox9+d4hU+HBcHFiVJN8Dv90xBVfDnbWHGrTtgd1RMX1EXgms3cegEQYeKFofs5V2V2WuqfQGiJx1Vhljjmko4mFp7dXEfzE1cQcWzr122BMmrvXWCED+SFdht8GoFARfhTVWWfBlReSLTk4nGY9RClUXfVHaVBaWViHF5ZQ01vfTbx6RyVGXDk14ZJlOeumQckNVWSFKLnVkk0VyTvdTR0YFBAAh+QQJBQADACwHAAYAMgA0AAAH/4ADgoOEhYaCG0+Kh4yNjocAD25nLQaWl5MAj5uOOpmVkpFGol6gk5yoA6Sem4qfqY2rsIillLOEtU+3uJm7tbuQlrO9wMFuqZQbxbG2rWfLzo+/0J2VzLqoom0p2JyuxpxdZCd95eYnZF3e1oWlm10C5ekunhI/430UbNG8yrFi+YY4KoElnz9Gonh1OvDHgjcEfxZ4qTboVCyG+5BtOXDQ0LRIjjjYcXGrAx4UFFVNZAShITAhfiAwUxkywzKR11ix/CNhmQuXCJM14kCBmgA1ORvtcQjNwpykkPqkoZZGalB2Hq1CU6DVo9BDMKmpinm1I6EsdcQOIGvMyM5jW6W7trv0lqrcfm4ZLbUL9RCKAEZF9DWElmSxnzLLXoRz84RZhSB3ynh5VyHNoZXf3SGTMjLmjNlOSst7GeECOgLD2eGYktZjXD4iggYbpOHrilhpaZbXhd6keyYC8uvXqgmYP+fONSF9Ddy6IdCjZ2sWTG3z1tYtj9aR3TWy3NRGrfyuSWzCknQPp/flqht56uqTuS9rUa14U/Jz4e+OF/9+/qNREwgAIfkECQUAAgAsBgAGADQANAAACP8ABQgcSLCgQQEbnig0svCgw4cQDS58QJGLjosWKz6JyBHiRAAbHSYEWbGjSYEYN5xESHKlR4ouC7aMOXAkTYkYaTa8eZBhyJM+eT7c2ZGhUI4WiyY9+lJlxKVMXz4FUPRFjAYm+MzJKuLFA6VDdSBlQIfPESRvSkBIe0QOHQZfp4p0+vBCIBUyqPaUoQKQDLk4PWaQw+LnUAuE9c6VyUUwlTYru1g5IDYsQZAQ21aIWYHKEak1M/NZcnMMYY81G4vUg0QoEj02LLN8yMGEEaFGqkyQDVVmnjJMCeSJGxhhXSpRBfgdOtshBy3JC+wW2fygCQvRVYRV+PB0VL7bK0vYhJ08DfmeGVfH/m7F8OWgDudkKb8lfHcg9O07FxG9AHPjDvFFF0+5QfFfQuoFRwdxjKGkmEFa2IYbFvwtVt14f/H02hmyXVjQDlusUNoWF3ToYUETVLGZS535ZyJ3Qx3wWGST3WbiiZcFkBhSfNUgHno4DSjRB3ng9eBlfOXhg5ANAvlUAWWddYFabLkFF1JHvlcUWXp06eUBFhgAFmjJWdhUmegxmSaa79molHtREWWSTWXOxNlFTMmpU293unmUnUDxGWdOU8HIZmoZpaQoZoeG55OaJwUEACH5BAkFADIALAYABgA0ADQAAAf/gDKCg4SFhhtPiUaLioaOj5CPiIyUk5UbkZmZiomalk+aoYONooWMpZGLqJJGq6aqro6TsZ2xqaCosLa3pbq7vJ64v8GbraEPGFEMHBPLGA+ivq+hWRlWJ8zKyypWBSXHkNKGLwtVTh2SCFUNBMWyxulbIi2eIvIAwITwsgLmqBDr6IWbJmnAAgWuJBwIgI+VvkgFTFSwlcJEgVQPH0GxsuTXEo4DBdU6hG2YjAgjGh7Cta8QEokmH2BxErIloZImT54YiEjSlo45PwJd2dMRDA85B3mg+W6kyxhJBWmB2hSToyNRoupkJU4qE60sBHC1akjA16hMKIx95IAEWAdroa8meBt3nNioZuua+pm0At93Mmwq1ZA0bU1IFpQI22VEyZSai/UtNekEhEqCRY1SGUoLpKSMbE8YoGgR4yjBIvshXKWQYbiWkff6K1UioGl9qFPfq7f7tSxNBDzMRMdvXbt8h3hvweZs2/Imlz/7PnZBWzNlK6KRdagVMLHuuHvF7jseOXlaudF7LJ8rvXj2xeAnJBWsK/lLnCiBv5V/u6tAACH5BAUFAEYALA8ADwAiACIAAAf8gEaCg4SDLj8EQBoviIWOj4UrCBQmHpQ8lzMIEpCdRhVEIAyMjgaJojiehRYnIhWqnyKtsDoxHkOwhD+Wr5C1DSu5kQ01Oo8bGQItwqXEG443t8zHHhHDuNOPQybYgiEM2Z0+PIbc4b7SRh8O5+IJ3jvtkEAjn+byzRIv9fiPIKf9/F2AkSEgNAusDBbigHCGQkKaIBx4OGgEDQX3FOIwJwADxQsD4FEsYM2eAo0qbAxKIEJhjHfluskTklEQqw74csyCBqxdiwUx0PXMtsJZp180ppWo9EAVMqawtpmI8CxXkRqVLJyMxArqtA0ybFXKZIlXVZ+IFCVykSsQADs=) center/64px no-repeat;color:#fff;content:"";font-size:128px;height:128px;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate3d(-50%,-50%,0);width:128px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__top-bar{transform:translateY(-15px)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar{background:none;height:30px;margin-top:env(safe-area-inset-top);padding:16px;transition:transform .3s ease-out,opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__counter{background-color:#00000080;border-radius:15px;font-family:Hiragino Kaku Gothic ProN,\\30e1\\30a4\\30ea\\30aa,sans-serif;font-size:12px;font-weight:700;height:30px;left:16px;line-height:30px;padding:0 16px;top:16px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button{background-size:180px 60px;height:30px;margin-left:8px;opacity:1;width:30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:before{background-color:#00000080;border-radius:50%;content:"";inset:0;position:absolute;z-index:-1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--close{background-position:0 -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--share{background-position:-30px -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--zoom{background-position:-60px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoomed-in .pswp__button--zoom{background-position:-90px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--fs .pswp__button--fs{background-position:-30px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before{background-position:-94px -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{background-position:-64px -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption{padding-bottom:env(safe-area-inset-top)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption--empty{display:block;opacity:0;pointer-events:none;transition:opacity .2s ease-out}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption__center{min-height:40px}'],changeDetection:0}),r})();class Oy{}let vF=(()=>{class r{constructor(){}initialize(t){this.lightbox=t.createComponent(Iy),this.lightboxElement=this.lightbox.instance.element,document.body.appendChild(this.lightbox.location.nativeElement)}getLightboxElement(){return this.lightboxElement.nativeElement}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const sD={history:!1,closeEl:!0,captionEl:!1,fullscreenEl:!1,zoomEl:!0,shareEl:!1,counterEl:!0,arrowEl:!1,preloaderEl:!0};let wF=(()=>{class r{constructor(t,n,a){this.photoGalleryConfig=t,this.viewContainerRef=n,this.lightboxService=a,this.onPhotoGalleryInit=new e.vpe,this.onPhotoGalleryDestroy=new e.vpe,this.galleryItems={},this.galleryItemIds=new Set,this.galleryImages=[],this.defaultOptions={...sD,...this.photoGalleryConfig?.defaultOptions},this.lightboxService.initialize(this.viewContainerRef)}registerGalleryItem(t){const n={id:t.id,src:t.imageUrl,...t.caption?{title:t.caption}:{},w:0,h:0,doGetSlideDimensions:!0};this.galleryItems[t.id]={id:t.id,element:t.element,image:n},this.galleryItemIds.add(t.id)}unregisterGalleryItem(t){this.galleryItemIds.delete(t)}openPhotoSwipe(t){var n=this;return(0,we.Z)(function*(){if(n.galleryItems[t].image.doGetSlideDimensions){const T=yield xF(n.galleryItems[t].image.src);n.galleryItems[t].image.w=T.naturalWidth,n.galleryItems[t].image.h=T.naturalHeight,delete n.galleryItems[t].image.doGetSlideDimensions}n.galleryImages=[...n.galleryItemIds].map(T=>n.galleryItems[T].image);const a=n.galleryImages.findIndex(T=>T.id===t),l={...n.defaultOptions,...n.options};l.index=a,l.getThumbBoundsFn=T=>{const G=n.galleryImages[T].id,be=n.galleryItems[G].image,Ve=window.pageYOffset||document.documentElement.scrollTop,bt=n.galleryItems[G].element.getBoundingClientRect();let ii,ti,di;return bt.height/bt.width>be.h/be.w?(ti=bt.top+Ve,di=be.w*bt.height/be.h,ii=bt.left-(di-bt.width)/2):(ii=bt.left,di=bt.width,ti=bt.top+Ve-(be.h*bt.width/be.w-bt.height)/2),{x:ii,y:ti,w:di}};const v=n.lightboxService.getLightboxElement();n.gallery=new Sy(v,Df,n.galleryImages,l),n.gallery.listen("gettingData",(T,G)=>{G.doGetSlideDimensions&&setTimeout((0,we.Z)(function*(){yield n.getSlideDimensions(G)}),300)}),n.gallery.listen("imageLoadComplete",function(){var T=(0,we.Z)(function*(G,z){z.doGetSlideDimensions&&(yield n.getSlideDimensions(z))});return function(G,z){return T.apply(this,arguments)}}()),n.gallery.listen("destroy",()=>{n.onPhotoGalleryDestroy.emit()}),n.onPhotoGalleryInit.emit(),n.gallery.init()})()}getSlideDimensions(t){var n=this;return(0,we.Z)(function*(){if(!t.doGetSlideDimensions)return;const a=yield xF(t.src).catch(()=>null);t.doGetSlideDimensions=!1,t.w=a.naturalWidth,t.h=a.naturalHeight,n.gallery.invalidateCurrItems(),n.gallery.updateSize(!0)})()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Oy,8),e.Y36(e.s_b),e.Y36(vF))},r.\u0275dir=e.lG2({type:r,selectors:[["","photoGalleryGroup",""]],inputs:{options:["photoGalleryGroup","options"]},outputs:{onPhotoGalleryInit:"onPhotoGalleryInit",onPhotoGalleryDestroy:"onPhotoGalleryDestroy"}}),r})();function xF(r){return new Promise((i,t)=>{const n=new Image;n.onload=()=>i(n),n.onerror=a=>t(a),n.src=r})}let Ly=(()=>{class r{constructor(t,n){this.el=t,this.photoGalleryGroup=n}openPhotoSwipe(){var t=this;return(0,we.Z)(function*(){yield t.photoGalleryGroup.openPhotoSwipe(t.id)})()}ngAfterContentInit(){this.id=this.photoGalleryTrackBy||this.imageUrl,this.photoGalleryGroup.registerGalleryItem({id:this.id,element:this.el.nativeElement,imageUrl:this.imageUrl,caption:this.photoGalleryCaption})}ngOnDestroy(){this.photoGalleryGroup.unregisterGalleryItem(this.id)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(wF))},r.\u0275dir=e.lG2({type:r,selectors:[["","photoGallery",""]],hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n.openPhotoSwipe()})},inputs:{imageUrl:["photoGallery","imageUrl"],photoGalleryTrackBy:"photoGalleryTrackBy",photoGalleryCaption:"photoGalleryCaption"}}),r})(),FF=(()=>{class r{static forRoot(t){return{ngModule:r,providers:[{provide:Oy,useValue:t}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();class Cc{constructor(i,t,n,a){this.options=i,this.profileService=t,this.utilities=n,this.dialog=a,this.displayRepliesTo=!0,this.profileName="",this.tooltip="",this.profiles=[],this.images=[],this.images2=[],this.videos=[]}toggleMediaPlayer(){this.options.values.showMediaPlayer=!this.options.values.showMediaPlayer}mediaConnect(){const i=document.querySelector("audio");i?(navigator.mediaSession.metadata=new MediaMetadata({title:"LifeLike",artist:"AlexiAction",album:"Blockcore Notes",artwork:[{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"96x96",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"128x128",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"192x192",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"256x256",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"384x384",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"512x512",type:"image/jpg"}]}),navigator.mediaSession.setActionHandler("play",(0,we.Z)(function*(){try{yield i.play()}catch(t){console.error(t.name,t.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{i.pause()}),i.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),i.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.images=[]})()}expandImage(i){this.dialog.open(pl,{data:{picture:i}})}hashtags(i){const t=i.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==t.length?null:t}repliesTo(i){if(!i)return null;let t=i.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return t=t.filter(n=>n!==i.pubkey),0==t.length?null:t}replyTo(i,t){return i?i.tags[t][1]:void 0}}Cc.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,Cc.regexpVideo=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,Cc.regexpThisIsTheWay=/(?:thisistheway.gif)/g,Cc.\u0275fac=function(i){return new(i||Cc)(e.Y36(la.I),e.Y36(Yn),e.Y36(pn.dU),e.Y36(yi))},Cc.\u0275cmp=e.Xpm({type:Cc,selectors:[["app-content-music"]],inputs:{events:"events",displayRepliesTo:"displayRepliesTo"},decls:40,vars:0,consts:[[1,"music-list","feed-page"],[1,"events","clickable"],[1,"events-header"],[1,"music-item"],["src","https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",1,"music-album"],[1,"music-details"],[1,"music-title"],[1,"music-artist"],["controls","","src","https://cdn.pixabay.com/download/audio/2022/11/22/audio_febc508520.mp3?filename=lifelike-126735.mp3"],["href","https://cdn.pixabay.com/download/audio/2022/11/22/audio_febc508520.mp3?filename=lifelike-126735.mp3"],["controls","","src","https://cdn.pixabay.com/download/audio/2022/12/15/audio_dd5b9f6f3a.mp3?filename=easy-to-love-129414.mp3"],["href","https://cdn.pixabay.com/download/audio/2022/12/15/audio_dd5b9f6f3a.mp3?filename=easy-to-love-129414.mp3"],["src","https://cdn.pixabay.com/audio/2022/10/14/13-08-36-813_200x200.png",1,"music-album"],["controls","","src","https://cdn.pixabay.com/download/audio/2022/10/12/audio_061cead49a.mp3?filename=weeknds-122592.mp3"],["href","https://cdn.pixabay.com/download/audio/2022/10/12/audio_061cead49a.mp3?filename=weeknds-122592.mp3"],["mat-flat-button","",3,"click"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"mat-card",1)(2,"div",2),e._UZ(3,"app-event-actions"),e.qZA()(),e.TgZ(4,"div",3),e._UZ(5,"img",4),e.TgZ(6,"div",5)(7,"div",6),e._uU(8,"LifeLike"),e.qZA(),e.TgZ(9,"div",7),e._uU(10,"AlexiAction"),e.qZA(),e.TgZ(11,"audio",8)(12,"a",9),e._uU(13," Download audio "),e.qZA()()()(),e.TgZ(14,"div",3),e._UZ(15,"img",4),e.TgZ(16,"div",5)(17,"div",6),e._uU(18,"EasyToLove"),e.qZA(),e.TgZ(19,"div",7),e._uU(20,"AlexiAction"),e.qZA(),e.TgZ(21,"audio",10)(22,"a",11),e._uU(23," Download audio "),e.qZA()()()(),e.TgZ(24,"div",3),e._UZ(25,"img",12),e.TgZ(26,"div",5)(27,"div",6),e._uU(28,"CINIM - Brainfluid"),e.qZA(),e.TgZ(29,"div",7),e._uU(30,"CINIM"),e.qZA(),e.TgZ(31,"audio",13)(32,"a",14),e._uU(33," Download audio "),e.qZA()()()(),e.TgZ(34,"button",15),e.NdJ("click",function(){return t.mediaConnect()}),e._uU(35,"Connect Media Events"),e.qZA(),e._UZ(36,"br")(37,"br"),e.TgZ(38,"button",15),e.NdJ("click",function(){return t.toggleMediaPlayer()}),e._uU(39,"Toggle Media Player"),e.qZA()())},dependencies:[Dt.lW,ca,po],styles:[".music-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1em;margin-bottom:1em}.music-album[_ngcontent-%COMP%]{max-height:128px}.music-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.2em;margin-bottom:.4em}.music-artist[_ngcontent-%COMP%]{color:#ffffff80;margin-bottom:.4em}.music-controls[_ngcontent-%COMP%]{width:100%}.music-details[_ngcontent-%COMP%]{flex:1 2 auto}audio[_ngcontent-%COMP%]{width:100%}"]});class kc{constructor(i,t,n,a,l){this.media=i,this.options=t,this.profileService=n,this.utilities=a,this.dialog=l,this.displayRepliesTo=!0,this.profileName="",this.tooltip="",this.profiles=[],this.images=[],this.images2=[],this.videos=[]}toggleMediaPlayer(){this.options.values.showMediaPlayer=!this.options.values.showMediaPlayer}play(i,t,n,a){this.media.play({title:i,artist:t,source:n,artwork:a,type:"Podcast"})}queue(i,t,n,a){this.media.enque({title:i,artist:t,source:n,artwork:a,type:"Podcast"})}mediaConnect(){const i=document.querySelector("audio");i?(navigator.mediaSession.metadata=new MediaMetadata({title:"LifeLike",artist:"AlexiAction",album:"Blockcore Notes",artwork:[{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"96x96",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"128x128",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"192x192",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"256x256",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"384x384",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"512x512",type:"image/jpg"}]}),navigator.mediaSession.setActionHandler("play",(0,we.Z)(function*(){try{yield i.play()}catch(t){console.error(t.name,t.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{i.pause()}),i.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),i.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.images=[]})()}expandImage(i){this.dialog.open(pl,{data:{picture:i}})}hashtags(i){const t=i.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==t.length?null:t}repliesTo(i){if(!i)return null;let t=i.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return t=t.filter(n=>n!==i.pubkey),0==t.length?null:t}replyTo(i,t){return i?i.tags[t][1]:void 0}}kc.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,kc.regexpVideo=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,kc.regexpThisIsTheWay=/(?:thisistheway.gif)/g,kc.\u0275fac=function(i){return new(i||kc)(e.Y36(gl),e.Y36(la.I),e.Y36(Yn),e.Y36(pn.dU),e.Y36(yi))},kc.\u0275cmp=e.Xpm({type:kc,selectors:[["app-content-podcast"]],inputs:{events:"events",displayRepliesTo:"displayRepliesTo"},decls:83,vars:3,consts:[[1,"music-list","feed-page"],[1,"events"],[1,"events-header"],[1,"music-item"],["src","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673891743030-8e480bcd5cf47.jpg?w=400",1,"music-album"],[1,"music-details"],[1,"music-title"],[1,"music-artist"],[1,"podcast-abstract"],["mat-icon-button","",1,"action-button",3,"click"],[1,"action-button-icon"],["mat-icon-button","",1,"action-button",3,"matMenuTriggerFor"],["src","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673395914791-e4b9606d5df43.jpg?w=400",1,"music-album"],["src","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673318163134-74d83f9a9216b.jpg?w=400",1,"music-album"],["menu","matMenu"],["disabled","disabled","mat-menu-item",""]],template:function(i,t){if(1&i&&(e.TgZ(0,"div",0)(1,"mat-card",1)(2,"div",2)(3,"div",3),e._UZ(4,"img",4),e.TgZ(5,"div",5)(6,"div",6),e._uU(7,"Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'"),e.qZA(),e.TgZ(8,"div",7),e._uU(9,"@bennibtc"),e.qZA(),e.TgZ(10,"div",8),e._uU(11," I've recently been trying a new method of booking guests for the show, by posting a Calendly link, and allowing anyone who wishes to come on to book themselves in. I ask them to give a brief summary of what they'd like to discuss, and if it sounds interesting (and has nothing to do with shitcoins),... "),e.qZA()()(),e.TgZ(12,"div")(13,"button",9),e.NdJ("click",function(){return t.play("Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63537906/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-15%2F7f1c6f7b-5933-491b-0c4c-9a75e99a804c.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673891743030-8e480bcd5cf47.jpg?w=400")}),e.TgZ(14,"mat-icon",10),e._uU(15,"play_arrow"),e.qZA()(),e.TgZ(16,"button",9),e.NdJ("click",function(){return t.queue("Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63537906/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-15%2F7f1c6f7b-5933-491b-0c4c-9a75e99a804c.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673891743030-8e480bcd5cf47.jpg?w=400")}),e.TgZ(17,"mat-icon",10),e._uU(18,"playlist_add"),e.qZA()(),e.TgZ(19,"button",11)(20,"mat-icon",10),e._uU(21,"more_vert"),e.qZA()()()()(),e.TgZ(22,"mat-card",1)(23,"div",2)(24,"div",3),e._UZ(25,"img",12),e.TgZ(26,"div",5)(27,"div",6),e._uU(28,"MADEIRA UPDATE w/ Andre, Niko, & Rob"),e.qZA(),e.TgZ(29,"div",7),e._uU(30,"Madeira Update"),e.qZA(),e.TgZ(31,"div",8),e._uU(32," At the bitcoin 2022 conference, the President of Madeira got on stage, and announced that Madeira was 'adopting' bitcoin. While this led to much excitement about another potential 'bitcoin citadel' emerging, it also left many questions. Since that time, a number of bitcoiners who are either from ... "),e.qZA()()(),e.TgZ(33,"div")(34,"button",9),e.NdJ("click",function(){return t.play("MADEIRA UPDATE w/ Andre, Niko, & Rob","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63313937/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F598e4f78-8910-92a3-72c4-969e47a5f868.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673395914791-e4b9606d5df43.jpg?w=400")}),e.TgZ(35,"mat-icon",10),e._uU(36,"play_arrow"),e.qZA()(),e.TgZ(37,"button",9),e.NdJ("click",function(){return t.queue("MADEIRA UPDATE w/ Andre, Niko, & Rob","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63313937/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F598e4f78-8910-92a3-72c4-969e47a5f868.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673395914791-e4b9606d5df43.jpg?w=400")}),e.TgZ(38,"mat-icon",10),e._uU(39,"playlist_add"),e.qZA()(),e.TgZ(40,"button",11)(41,"mat-icon",10),e._uU(42,"more_vert"),e.qZA()()()()(),e.TgZ(43,"mat-card",1)(44,"div",2)(45,"div",3),e._UZ(46,"img",13),e.TgZ(47,"div",5)(48,"div",6),e._uU(49,"Bitcoin is a Source of Creative Inspiration w/ @ReelRichard"),e.qZA(),e.TgZ(50,"div",7),e._uU(51,"@reelrichard"),e.qZA(),e.TgZ(52,"div",8),e._uU(53," Richard is the creator of some of the most awesome bitcoin-inspired music videos, which are always a big hit with the \u2018bitcoin maximalists\u2019 on twitter. I really enjoy his work, and feel its another beautiful example of how bitcoin is inspiring people, and granting them the freedom, to express the... "),e.qZA()()(),e.TgZ(54,"div")(55,"button",9),e.NdJ("click",function(){return t.play("Bitcoin is a Source of Creative Inspiration w/ @ReelRichard","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63277939/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F8d033a85-6f04-cfa6-10e5-52ddf6a9ab91.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673318163134-74d83f9a9216b.jpg?w=400")}),e.TgZ(56,"mat-icon",10),e._uU(57,"play_arrow"),e.qZA()(),e.TgZ(58,"button",9),e.NdJ("click",function(){return t.queue("Bitcoin is a Source of Creative Inspiration w/ @ReelRichard","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63277939/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F8d033a85-6f04-cfa6-10e5-52ddf6a9ab91.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673318163134-74d83f9a9216b.jpg?w=400")}),e.TgZ(59,"mat-icon",10),e._uU(60,"playlist_add"),e.qZA()(),e.TgZ(61,"button",11)(62,"mat-icon",10),e._uU(63,"more_vert"),e.qZA()()(),e.TgZ(64,"mat-menu",null,14)(66,"button",15)(67,"mat-icon"),e._uU(68,"bookmark_add"),e.qZA(),e.TgZ(69,"span"),e._uU(70,"Add to queue"),e.qZA()(),e.TgZ(71,"button",15)(72,"mat-icon"),e._uU(73,"bookmark_remove"),e.qZA(),e.TgZ(74,"span"),e._uU(75,"Play now"),e.qZA()(),e.TgZ(76,"button",15)(77,"mat-icon"),e._uU(78,"ios_share"),e.qZA(),e.TgZ(79,"span"),e._uU(80,"Share"),e.qZA()()()()(),e._UZ(81,"br")(82,"br"),e.qZA()),2&i){const n=e.MAs(65);e.xp6(19),e.Q6J("matMenuTriggerFor",n),e.xp6(21),e.Q6J("matMenuTriggerFor",n),e.xp6(21),e.Q6J("matMenuTriggerFor",n)}},dependencies:[Dt.RK,ca,Wn,du,bl,Dh],styles:[".music-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1em;margin-bottom:1em}.music-album[_ngcontent-%COMP%]{max-height:128px}.music-title[_ngcontent-%COMP%]{font-weight:700;margin-bottom:.4em}.music-artist[_ngcontent-%COMP%]{color:#ffffff80;margin-bottom:.4em}.music-controls[_ngcontent-%COMP%]{width:100%}.music-details[_ngcontent-%COMP%]{flex:1 2 auto}audio[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 599px){.music-album[_ngcontent-%COMP%]{max-height:32px}}"]});const CF="Whopsidaisy, something unexpected happened.";class Ef{transform(i){return i.pipe((0,Cr.U)(t=>({loading:"start"===t.type,error:"error"===t.type?CF:"",value:t.type?t.value:t})),(0,L.O)({loading:!0}),(0,tl.K)(t=>(0,U.of)({loading:!1,error:"string"==typeof t?t:CF})))}}function lD(r,i){1&r&&e._UZ(0,"app-content-music")}function cD(r,i){1&r&&e._UZ(0,"app-content-podcast")}function dD(r,i){}function kF(r,i){1&r&&(e.TgZ(0,"div",12),e._uU(1,"You must follow the user to automatically render photos."),e.qZA())}function Af(r,i){if(1&r&&(e.TgZ(0,"div",15),e._UZ(1,"img",16),e.qZA()),2&r){const t=i.$implicit;e.Q6J("photoGallery",t),e.xp6(1),e.Q6J("src",t,e.LSH)}}function DF(r,i){if(1&r&&e.YNc(0,Af,2,2,"div",14),2&r){const t=e.oxw().ngIf;e.Q6J("ngForOf",t)}}function MF(r,i){if(1&r&&(e.TgZ(0,"div",18),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.Oqu(t)}}function Ny(r,i){if(1&r&&e.YNc(0,MF,2,1,"div",17),2&r){const t=e.oxw().ngIf;e.Q6J("ngForOf",t)}}function td(r,i){if(1&r&&(e.TgZ(0,"span"),e.YNc(1,DF,1,1,"ng-template",0),e.YNc(2,Ny,1,1,"ng-template",0),e.qZA()),2&r){const t=e.oxw(5);e.xp6(1),e.Q6J("ngIf",t.isFollowing),e.xp6(1),e.Q6J("ngIf",!t.isFollowing)}}function Ry(r,i){if(1&r&&(e.TgZ(0,"span"),e.YNc(1,td,3,2,"span",13),e.qZA()),2&r){const t=i.$implicit,n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",n.parseToImage(t))}}Ef.\u0275fac=function(i){return new(i||Ef)},Ef.\u0275pipe=e.Yjl({name:"withStatus",type:Ef,pure:!0});const Wg=function(){return{arrowEl:!0,indexIndicatorSep:" - "}};function qg(r,i){if(1&r&&(e.YNc(0,kF,2,0,"div",9),e._UZ(1,"br"),e.TgZ(2,"div",10),e.YNc(3,Ry,2,1,"span",11),e.qZA()),2&r){const t=e.oxw().ngIf,n=e.oxw(2);e.Q6J("ngIf",!n.isFollowing),e.xp6(2),e.Q6J("photoGalleryGroup",e.DdM(4,Wg)),e.xp6(1),e.Q6J("ngForOf",t.value)("ngForTrackBy",n.trackByFn)}}function EF(r,i){1&r&&e._UZ(0,"mat-spinner",19)}function Qg(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw().ngIf;e.hij("Error ",t.error,"")}}function Jg(r,i){if(1&r&&(e.TgZ(0,"div",8),e.YNc(1,qg,4,5,"ng-template",0),e.YNc(2,EF,1,0,"ng-template",0),e.YNc(3,Qg,1,1,"ng-template",0),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("ngIf",t.value),e.xp6(1),e.Q6J("ngIf",t.loading),e.xp6(1),e.Q6J("ngIf",t.error)}}function Tf(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Show more..."),e.qZA()}}function uD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Loading more events... or there are nothing more to show..."),e.qZA()}}function hD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",22),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,T=e.oxw(4);return e.KtG(T.navigation.openEvent(a,v))}),e.TgZ(1,"div",23)(2,"app-event-header",24)(3,"span",25),e._uU(4),e.ALo(5,"ago"),e.qZA(),e._UZ(6,"app-directory-icon",24),e.qZA(),e._UZ(7,"app-event-actions",26),e.qZA(),e._UZ(8,"app-content",27),e.qZA()}if(2&r){const t=i.$implicit;e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(2),e.Oqu(e.lcZ(5,6,t.created_at)),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)}}function mD(r,i){if(1&r&&e.YNc(0,hD,9,8,"mat-card",21),2&r){const t=e.oxw().ngIf,n=e.oxw(2);e.Q6J("ngForOf",t.value)("ngForTrackBy",n.trackByFn)}}function fD(r,i){1&r&&e._UZ(0,"mat-spinner",19)}function Py(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw().ngIf;e.hij("Error ",t.error,"")}}function AF(r,i){if(1&r&&(e.TgZ(0,"div",8),e.YNc(1,mD,1,2,"ng-template",0),e.YNc(2,fD,1,0,"ng-template",0),e.YNc(3,Py,1,1,"ng-template",0),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("ngIf",t.value),e.xp6(1),e.Q6J("ngIf",t.loading),e.xp6(1),e.Q6J("ngIf",t.error)}}function TF(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Show more..."),e.qZA()}}function SF(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Loading more events... or there are nothing more to show..."),e.qZA()}}function IF(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-tab-group",2),e.NdJ("selectedTabChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onTabChanged(a))}),e.TgZ(1,"mat-tab",3),e.YNc(2,Jg,4,3,"div",4),e.ALo(3,"async"),e.ALo(4,"withStatus"),e.TgZ(5,"div",5),e.YNc(6,Tf,2,0,"button",6),e.YNc(7,uD,2,0,"button",6),e.qZA()(),e.TgZ(8,"mat-tab",7),e.YNc(9,AF,4,3,"div",4),e.ALo(10,"async"),e.ALo(11,"withStatus"),e.TgZ(12,"div",5),e.YNc(13,TF,2,0,"button",6),e.YNc(14,SF,2,0,"button",6),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("selectedIndex",t.tabIndex),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,7,e.lcZ(4,9,t.ui.rootEventsView$))),e.xp6(4),e.Q6J("ngIf",!t.ui.viewCounts.rootEventsViewCountExhausted),e.xp6(1),e.Q6J("ngIf",t.ui.viewCounts.replyEventsViewCountExhausted),e.xp6(2),e.Q6J("ngIf",e.lcZ(10,11,e.lcZ(11,13,t.ui.replyEventsView$))),e.xp6(4),e.Q6J("ngIf",!t.ui.viewCounts.replyEventsViewCountExhausted),e.xp6(1),e.Q6J("ngIf",t.ui.viewCounts.replyEventsViewCountExhausted)}}function By(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",22),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,T=e.oxw(4);return e.KtG(T.navigation.openEvent(a,v))}),e.TgZ(1,"div",23)(2,"app-event-header",24)(3,"span",25),e._uU(4),e.ALo(5,"ago"),e.qZA(),e._UZ(6,"app-directory-icon",24),e.qZA(),e._UZ(7,"app-event-actions",26),e.qZA(),e._UZ(8,"app-content",27),e.qZA()}if(2&r){const t=i.$implicit;e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(2),e.Oqu(e.lcZ(5,6,t.created_at)),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)}}function Yy(r,i){if(1&r&&e.YNc(0,By,9,8,"mat-card",21),2&r){const t=e.oxw().ngIf,n=e.oxw(2);e.Q6J("ngForOf",t.value)("ngForTrackBy",n.trackByFn)}}function Hy(r,i){1&r&&e._UZ(0,"mat-spinner",19)}function OF(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw().ngIf;e.hij("Error ",t.error,"")}}function LF(r,i){if(1&r&&(e.TgZ(0,"div",8),e.YNc(1,Yy,1,2,"ng-template",0),e.YNc(2,Hy,1,0,"ng-template",0),e.YNc(3,OF,1,1,"ng-template",0),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("ngIf",t.value),e.xp6(1),e.Q6J("ngIf",t.loading),e.xp6(1),e.Q6J("ngIf",t.error)}}function Uy(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Show more..."),e.qZA()}}function Kg(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Loading more events... or there are nothing more to show..."),e.qZA()}}function pD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",22),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,T=e.oxw(4);return e.KtG(T.navigation.openEvent(a,v))}),e.TgZ(1,"div",23)(2,"app-event-header",24)(3,"span",25),e._uU(4),e.ALo(5,"ago"),e.qZA(),e._UZ(6,"app-directory-icon",24),e.qZA(),e._UZ(7,"app-event-actions",26),e.qZA(),e._UZ(8,"app-content",27),e.qZA()}if(2&r){const t=i.$implicit;e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(2),e.Oqu(e.lcZ(5,6,t.created_at)),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)}}function jy(r,i){if(1&r&&e.YNc(0,pD,9,8,"mat-card",21),2&r){const t=e.oxw().ngIf,n=e.oxw(2);e.Q6J("ngForOf",t.value)("ngForTrackBy",n.trackByFn)}}function $g(r,i){1&r&&e._UZ(0,"mat-spinner",19)}function NF(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw().ngIf;e.hij("Error ",t.error,"")}}function RF(r,i){if(1&r&&(e.TgZ(0,"div",8),e.YNc(1,jy,1,2,"ng-template",0),e.YNc(2,$g,1,0,"ng-template",0),e.YNc(3,NF,1,1,"ng-template",0),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("ngIf",t.value),e.xp6(1),e.Q6J("ngIf",t.loading),e.xp6(1),e.Q6J("ngIf",t.error)}}function gD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Show more..."),e.qZA()}}function _D(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showMore())}),e._uU(1,"Loading more events... or there are nothing more to show..."),e.qZA()}}function PF(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-tab-group",2),e.NdJ("selectedTabChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onTabChanged(a))}),e.TgZ(1,"mat-tab",3),e.YNc(2,LF,4,3,"div",4),e.ALo(3,"async"),e.ALo(4,"withStatus"),e.TgZ(5,"div",5),e.YNc(6,Uy,2,0,"button",6),e.YNc(7,Kg,2,0,"button",6),e.qZA()(),e.TgZ(8,"mat-tab",7),e.YNc(9,RF,4,3,"div",4),e.ALo(10,"async"),e.ALo(11,"withStatus"),e.TgZ(12,"div",5),e.YNc(13,gD,2,0,"button",6),e.YNc(14,_D,2,0,"button",6),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("selectedIndex",t.tabIndex),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,7,e.lcZ(4,9,t.ui.rootEventsView$))),e.xp6(4),e.Q6J("ngIf",!t.ui.viewCounts.rootEventsViewCountExhausted),e.xp6(1),e.Q6J("ngIf",t.ui.viewCounts.replyEventsViewCountExhausted),e.xp6(2),e.Q6J("ngIf",e.lcZ(10,11,e.lcZ(11,13,t.ui.replyEventsView$))),e.xp6(4),e.Q6J("ngIf",!t.ui.viewCounts.replyEventsViewCountExhausted),e.xp6(1),e.Q6J("ngIf",t.ui.viewCounts.replyEventsViewCountExhausted)}}var Vy=new WeakSet;class ql{constructor(i,t,n,a,l,v,T,G,z,be,Ve,bt,Pt,Gt,ii,ti){var di=this;pc(this,Vy),this.navigation=i,this.appState=t,this.activatedRoute=n,this.cd=a,this.queueService=l,this.options=v,this.profiles=T,this.dataService=G,this.ui=z,this.validator=be,this.circleService=Ve,this.storage=bt,this.utilities=Pt,this.notesService=Gt,this.router=ii,this.ngZone=ti,this.imagePath="/assets/profile.png",this.profileName="",this.initialLoad=!0,this.notes=[],this.userEvents$=(0,U.of)(this.notes),this.subscriptions=[],this.pageSize=5,this.layout=1,this.subscriptions.push(this.ui.profile$.subscribe(function(){var Fi=(0,we.Z)(function*(_i){if(!_i)return;di.appState.updateTitle(di.utilities.getProfileTitle(di.ui.profile)),di.imagePath=di.ui.profile.picture||"/assets/profile.png",di.circle=yield di.circleService.get(di.ui.profile.circle),di.layout=di.style?Number(di.style):di.circle?di.circle.style:1,di.isFollowing=di.profiles.isFollowing(_i.pubkey);const Li=is().subtract(5,"minutes").unix();(!di.ui.profile.following||di.ui.profile.retrieved&&di.ui.profile.retrieved{document.getElementById("profile-image-anchor").scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),di.previousPubKey=_i.pubkey},50),di.subscriptions.push(di.navigation.showMore$.subscribe(()=>{di.showMore()}))});return function(_i){return Fi.apply(this,arguments)}}()))}follow(){var i=this;return(0,we.Z)(function*(){i.ui.profile.status=ka.Follow,yield i.profiles.follow(i.ui.pubkey)})()}onTabChanged(i){this.router.navigate([],{queryParams:{t:i.index},replaceUrl:!0}),Mo(this,Vy,bD).call(this)}parseToImage(i){return[...i.content.matchAll(ql.regexpImage)].map(n=>n[0])}showMore(){null==this.tabIndex||0==Number(this.tabIndex)?this.ui.updateRootEventsView(0,this.ui.viewCounts.rootEventsViewCount+this.pageSize):this.ui.updateReplyEventsView(0,this.ui.viewCounts.replyEventsViewCount+this.pageSize)}ngOnInit(){var i=this;this.appState.showBackButton=!0,this.appState.actions=[],this.appState.updateTitle(""),this.subscriptions.push(this.activatedRoute.queryParams.subscribe(function(){var t=(0,we.Z)(function*(n){i.tabIndex=n.t,i.style=n.s});return function(n){return t.apply(this,arguments)}}())),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var t=(0,we.Z)(function*(n){const a=n.get("id");if(i.ui.setPubKey(a),a.startsWith("npub")){const l=i.utilities.convertFromBech32ToHex(a);i.router.navigate(["/p",l])}else i.appState.updateTitle(i.utilities.getShortenedIdentifier(a))});return function(n){return t.apply(this,arguments)}}()))}optionsUpdated(){}activeOptions(){let i="";return i+=this.options.values.hideSpam?" Spam: Filtered":" Spam: Allowed",i+=this.options.values.hideInvoice?" Invoices: Hidden":" Invoices: Displayed",i}trackByFn(i,t){return t.id}ngOnDestroy(){this.ui.setPubKey(void 0),this.utilities.unsubscribe(this.subscriptions),this.profileSubscription&&this.profileSubscription.unsubscribe(),this.feedSubscription&&this.feedSubscription.unsubscribe()}}function bD(){}ql.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,ql.\u0275fac=function(i){return new(i||ql)(e.Y36(za),e.Y36(Oe.i),e.Y36(Yt.gz),e.Y36(e.sBO),e.Y36(Br),e.Y36(la.I),e.Y36(Yn),e.Y36(pa),e.Y36(zr),e.Y36(ns.Y),e.Y36(ao),e.Y36(Fr),e.Y36(pn.dU),e.Y36(Us),e.Y36(Yt.F0),e.Y36(e.R0b))},ql.\u0275cmp=e.Xpm({type:ql,selectors:[["app-user"]],decls:6,vars:5,consts:[[3,"ngIf"],[3,"selectedIndex","selectedTabChange",4,"ngIf"],[3,"selectedIndex","selectedTabChange"],["label","Notes"],["class","feed-page",4,"ngIf"],[1,"show-more","centered"],["mat-button","",3,"click",4,"ngIf"],["label","Replies"],[1,"feed-page"],["class","dimmed",4,"ngIf"],[1,"image-grid",3,"photoGalleryGroup"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"dimmed"],[4,"ngIf"],["class","image-grid-item",3,"photoGallery",4,"ngFor","ngForOf"],[1,"image-grid-item",3,"photoGallery"],["loading","lazy",3,"src"],["class","image-grid-item",4,"ngFor","ngForOf"],[1,"image-grid-item"],[1,"loading"],["mat-button","",3,"click"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"events","clickable",3,"click"],[1,"events-header"],[3,"pubkey"],[1,"event-date","clickable"],[3,"event","pubkey"],[3,"event"]],template:function(i,t){1&i&&(e._UZ(0,"app-profile-header"),e.YNc(1,lD,1,0,"ng-template",0),e.YNc(2,cD,1,0,"ng-template",0),e.YNc(3,dD,0,0,"ng-template",0),e.YNc(4,IF,15,15,"mat-tab-group",1),e.YNc(5,PF,15,15,"mat-tab-group",1)),2&i&&(e.xp6(1),e.Q6J("ngIf",5==t.layout),e.xp6(1),e.Q6J("ngIf",6==t.layout),e.xp6(1),e.Q6J("ngIf",2==t.layout),e.xp6(1),e.Q6J("ngIf",3==t.layout),e.xp6(1),e.Q6J("ngIf",1==t.layout))},dependencies:[F.sg,F.O5,Dt.lW,ca,yu,vu,Za,Ly,wF,jo,Ro,Po,vl,po,Cc,kc,F.Ov,cs,Ef],styles:[".profile-name[_ngcontent-%COMP%]{display:inline-block}.feed-page[_ngcontent-%COMP%]{min-height:1200px}"]});const BF=[{id:1,name:"Pipe"},{id:2,name:"Text"},{id:3,name:"Photo"},{id:4,name:"Film"},{id:5,name:"Music"},{id:6,name:"Podcast"}],yD=["hueSlider"],vD=["alphaSlider"];function wD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",8),e.NdJ("newValue",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onSliderChange("saturation-lightness",a))}),e.TgZ(1,"div",9),e._UZ(2,"div"),e.qZA()()}if(2&r){const t=e.oxw();e.Udp("background-color",t.hueSliderColor),e.Q6J("rgX",1)("rgY",1),e.xp6(1),e.Udp("top",null==t.slider?null:t.slider.v,"px")("left",null==t.slider?null:t.slider.s,"px")}}function YF(r,i){if(1&r&&(e.TgZ(0,"div",10),e._UZ(1,"div",11)(2,"div",12),e.qZA()),2&r){const t=e.oxw();e.xp6(2),e.Udp("background-color",t.selectedColor)}}function xD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",13,14),e.NdJ("newValue",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onSliderChange("hue",a))}),e.TgZ(2,"div",15)(3,"div"),e._UZ(4,"div"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("rgX",1),e.xp6(2),e.Udp("left",null==t.slider?null:t.slider.h,"px")}}function FD(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",16,17),e.NdJ("newValue",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onSliderChange("alpha",a))}),e._UZ(2,"div",18),e.TgZ(3,"div",15)(4,"div"),e._UZ(5,"div"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("rgX",1),e.xp6(2),e.Q6J("ngStyle",t.getBackgroundColor(t.alphaSliderColor)),e.xp6(1),e.Udp("left",null==t.slider?null:t.slider.a,"px")}}const CD=["dialog"];function kD(r,i){1&r&&e._UZ(0,"div",11)}function DD(r,i){if(1&r){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",8)(2,"div",9),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw(2);return e.KtG(v.onColorClick(l))}),e.YNc(3,kD,1,0,"div",10),e.qZA()(),e.BQk()}if(2&r){const t=i.$implicit,n=i.index,a=e.oxw(2);e.xp6(2),e.ekj("colornull",!t),e.Q6J("ngStyle",a.getBackgroundColor(t)),e.xp6(1),e.Q6J("ngIf",n==a.indexSeleccionado)}}function MD(r,i){if(1&r&&e._UZ(0,"div",17),2&r){const t=e.oxw(3);e.Q6J("ngStyle",t.getBackgroundColor(t.color))}}function o(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.addColor())}),e.YNc(1,MD,1,1,"div",13),e.O4$(),e.TgZ(2,"svg",14),e._UZ(3,"path",15)(4,"path",16),e.qZA()()}if(2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.indexSeleccionado)}}function s(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"color-picker",18),e.NdJ("colorChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onChangeColorPicker(a))})("onAlphaChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onAlphaChange(a))}),e.qZA()}if(2&r){const t=e.oxw(2);e.Q6J("controls",t.colorPickerControls)("color",t.hsva)}}function u(r,i){if(1&r&&(e.ynx(0),e.TgZ(1,"div",4),e.YNc(2,DD,4,4,"ng-container",5),e.YNc(3,o,5,1,"div",6),e.YNc(4,s,1,2,"color-picker",7),e.qZA(),e.BQk()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("@colorsAnimation",t.colorsAnimationEffect),e.xp6(1),e.Q6J("ngForOf",t.palette),e.xp6(1),e.Q6J("ngIf",!t.hideColorPicker&&"only-alpha"!=t.colorPickerControls),e.xp6(1),e.Q6J("ngIf",!t.hideColorPicker&&"only-alpha"==t.colorPickerControls)}}function m(r,i){1&r&&e._UZ(0,"div",11)}const w=function(r){return{background:r}};function M(r,i){if(1&r){const t=e.EpF();e.O4$(),e.kcU(),e.ynx(0),e.TgZ(1,"div",8)(2,"div",24),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw(2);return e.KtG(v.changeColor(l))}),e.YNc(3,m,1,0,"div",10),e.qZA()(),e.BQk()}if(2&r){const t=i.$implicit,n=e.oxw(2);e.xp6(2),e.ekj("colornull",!t),e.Q6J("ngStyle",e.VKq(4,w,t)),e.xp6(1),e.Q6J("ngIf",n.isSelected(t))}}function B(r,i){if(1&r){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",4)(2,"div",19)(3,"div",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onClickBack())}),e.O4$(),e.TgZ(4,"svg",21),e._UZ(5,"path",22)(6,"path",23),e.qZA()()(),e.YNc(7,M,4,6,"ng-container",5),e.qZA(),e.BQk()}if(2&r){const t=e.oxw();e.xp6(1),e.Q6J("@colorsAnimation",t.colorsAnimationEffect),e.xp6(6),e.Q6J("ngForOf",t.variants)}}function ee(r,i){if(1&r){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",25)(2,"div",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onClickBack())}),e.O4$(),e.TgZ(3,"svg",21),e._UZ(4,"path",22)(5,"path",23),e.qZA()(),e.kcU(),e.TgZ(6,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.emitClose("cancel"))}),e._uU(7),e.qZA(),e.TgZ(8,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.emitClose("accept"))}),e._uU(9),e.qZA()(),e.TgZ(10,"div",28)(11,"color-picker",29),e.NdJ("sliderChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onChangeColorPicker(a))}),e.qZA()(),e.BQk()}if(2&r){const t=e.oxw();e.xp6(7),e.hij(" ",t.cancelLabel," "),e.xp6(2),e.hij(" ",t.acceptLabel," "),e.xp6(2),e.Q6J("controls",t.colorPickerControls)("color",t.hsva)}}function ce(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",30)(1,"p",31),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.nextFormat())}),e._uU(2),e.qZA(),e.TgZ(3,"div",32)(4,"input",33,34),e.NdJ("keyup",function(){e.CHM(t);const a=e.MAs(5),l=e.oxw();return e.KtG(l.changeColorManual(a.value))})("keydown.enter",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.emitClose("accept"))}),e.qZA()()()}if(2&r){const t=e.oxw();e.xp6(2),e.Oqu(t.colorFormats[t.format]),e.xp6(2),e.Udp("font-size",t.color&&t.color.length>23?9:10,"px")("letter-spacing",t.color&&t.color.length>16?0:1.5,"px"),e.Q6J("value",t.color)}}var xe=(()=>{return(r=xe||(xe={}))[r.HEX=0]="HEX",r[r.RGBA=1]="RGBA",r[r.HSLA=2]="HSLA",r[r.CMYK=3]="CMYK",xe;var r})();const He=[{color:"rojo",preview:"#E57373",variants:["#FFEBEE","#FFCDD2","#EF9A9A","#E57373","#EF5350","#F44336","#E53935","#D32F2F","#C62828"]},{color:"rosa",preview:"#F06292",variants:["#FCE4EC","#F8BBD0","#F48FB1","#F06292","#EC407A","#E91E63","#D81B60","#C2185B","#AD1457"]},{color:"purpura",preview:"#BA68C8",variants:["#F3E5F5","#E1BEE7","#CE93D8","#BA68C8","#AB47BC","#9C27B0","#8E24AA","#7B1FA2","#6A1B9A"]},{color:"purpura oscuro",preview:"#9575CD",variants:["#EDE7F6","#D1C4E9","#B39DDB","#9575CD","#7E57C2","#673AB7","#5E35B1","#512DA8","#4527A0"]},{color:"indigo",preview:"#7986CB",variants:["#E8EAF6","#C5CAE9","#9FA8DA","#7986CB","#5C6BC0","#3F51B5","#3949AB","#303F9F","#283593"]},{color:"azul",preview:"#64B5F6",variants:["#E3F2FD","#BBDEFB","#90CAF9","#64B5F6","#42A5F5","#2196F3","#1E88E5","#1976D2","#1565C0"]},{color:"celeste",preview:"#4FC3F7",variants:["#E1F5FE","#B3E5FC","#81D4FA","#4FC3F7","#29B6F6","#03A9F4","#039BE5","#0288D1","#0277BD"]},{color:"cyan",preview:"#4DD0E1",variants:["#E0F7FA","#B2EBF2","#80DEEA","#4DD0E1","#26C6DA","#00BCD4","#00ACC1","#0097A7","#00838F"]},{color:"color",preview:"#4DB6AC",variants:["#E0F2F1","#B2DFDB","#80CBC4","#4DB6AC","#26A69A","#009688","#00897B","#00796B","#00695C"]},{color:"verde",preview:"#81C784",variants:["#E8F5E9","#C8E6C9","#A5D6A7","#81C784","#66BB6A","#4CAF50","#43A047","#388E3C","#2E7D32"]},{color:"verde claro",preview:"#AED581",variants:["#F1F8E9","#DCEDC8","#C5E1A5","#AED581","#9CCC65","#8BC34A","#7CB342","#689F38","#558B2F"]},{color:"lima",preview:"#DCE775",variants:["#F9FBE7","#F0F4C3","#E6EE9C","#DCE775","#D4E157","#CDDC39","#C0CA33","#AFB42B","#9E9D24"]},{color:"amarillo",preview:"#FFF176",variants:["#FFFDE7","#FFF9C4","#FFF59D","#FFF176","#FFEE58","#FFEB3B","#FDD835","#FBC02D","#F9A825"]},{color:"ambar",preview:"#FFD54F",variants:["#FFF8E1","#FFECB3","#FFE082","#FFD54F","#FFCA28","#FFC107","#FFB300","#FFA000","#FF8F00"]},{color:"naranja",preview:"#FFB74D",variants:["#FFF3E0","#FFE0B2","#FFCC80","#FFB74D","#FFA726","#FF9800","#FB8C00","#F57C00","#EF6C00"]},{color:"naranja oscuro",preview:"#FF8A65",variants:["#FBE9E7","#FFCCBC","#FFAB91","#FF8A65","#FF7043","#FF5722","#F4511E","#E64A19","#D84315"]},{color:"marron",preview:"#A1887F",variants:["#EFEBE9","#D7CCC8","#BCAAA4","#A1887F","#8D6E63","#795548","#6D4C41","#5D4037","#4E342E"]},{color:"escala de grises",preview:"#E0E0E0",variants:["#FFFFFF","#FAFAFA","#F5F5F5","#EEEEEE","#E0E0E0","#BDBDBD","#9E9E9E","#757575","#616161","#424242","#000000"]},{color:"azul gris",preview:"#90A4AE",variants:["#ECEFF1","#CFD8DC","#B0BEC5","#90A4AE","#78909C","#607D8B","#546E7A","#455A64","#37474F"]}],ut=["hex","rgba","hsla"];class Ot{constructor(i,t,n,a){this.r=i,this.g=t,this.b=n,this.a=a}denormalize(){return this.r=Math.round(255*this.r),this.g=Math.round(255*this.g),this.b=Math.round(255*this.b),this}toString(){return this.denormalize(),"rgb"+(1!=this.a?"a(":"(")+this.r+", "+this.g+", "+this.b+(1!=this.a?", "+this.a.toPrecision(2)+")":")")}}class Zt{constructor(i,t,n,a){this.h=i,this.s=t,this.v=n,this.a=a,this.onChange=new e.vpe(!0)}onColorChange(i){this.s=i.s/i.rgX,this.v=i.v/i.rgY}onHueChange(i){this.h=i.v/i.rgX}onValueChange(i){this.v=i.v/i.rgX}onAlphaChange(i){this.a=i.v/i.rgX}}class li{constructor(i,t,n,a){this.h=i,this.s=t,this.l=n,this.a=a}denormalize(){return this.h=Math.round(360*this.h),this.s=Math.round(100*this.s),this.l=Math.round(100*this.l),this}toString(){return"hsl"+(1!=this.a?"a(":"(")+this.h+", "+this.s+"%, "+this.l+"%"+(1!=this.a?", "+this.a.toPrecision(2)+")":")")}}class Di{constructor(i,t,n,a,l=1){this.c=i,this.m=t,this.y=n,this.k=a,this.a=l}}class Hi{constructor(i){i&&(this.preview=i.preview,this.variants=i.variants)}}let Ki=(()=>{class r{constructor(){}toFormat(t,n){var a="";if(t)switch(n){case xe.HEX:(v=this.hsvaToRgba(t)).denormalize(),a=this.rgbaToHex(v,!0);break;case xe.HSLA:var l=this.hsva2hsla(t);l.denormalize(),a=l.toString();break;case xe.RGBA:a=(v=this.hsvaToRgba(t)).toString();break;case xe.CMYK:var v=this.hsvaToRgba(t);this.rgbaToCmyk(v)}return a}stringToFormat(t,n){var a=this.stringToHsva(t,!0);return this.toFormat(a,n)}hsva2hsla(t){const n=t.h,a=t.s,l=t.v,v=t.a;if(0===l)return new li(n,0,0,v);if(0===a&&1===l)return new li(n,1,1,v);{const T=l*(2-a)/2;return new li(n,l*a/(1-Math.abs(2*T-1)),T,v)}}hsla2hsva(t){const n=Math.min(t.h,1),a=Math.min(t.s,1),l=Math.min(t.l,1),v=Math.min(t.a,1);if(0===l)return new Zt(n,0,0,v);{const T=l+a*(1-Math.abs(2*l-1))/2;return new Zt(n,2*(T-l)/T,T,v)}}hsvaToRgba(t){let n,a,l;const v=t.h,T=t.s,G=t.v,z=t.a,be=Math.floor(6*v),Ve=6*v-be,bt=G*(1-T),Pt=G*(1-Ve*T),Gt=G*(1-(1-Ve)*T);switch(be%6){case 0:n=G,a=Gt,l=bt;break;case 1:n=Pt,a=G,l=bt;break;case 2:n=bt,a=G,l=Gt;break;case 3:n=bt,a=Pt,l=G;break;case 4:n=Gt,a=bt,l=G;break;case 5:n=G,a=bt,l=Pt;break;default:n=0,a=0,l=0}return new Ot(n,a,l,z)}cmykToRgb(t){return new Ot((1-t.c)*(1-t.k),(1-t.m)*(1-t.k),(1-t.y)*(1-t.k),t.a)}rgbaToCmyk(t){const n=1-Math.max(t.r,t.g,t.b);return 1===n?new Di(0,0,0,1,t.a):new Di((1-t.r-n)/(1-n),(1-t.g-n)/(1-n),(1-t.b-n)/(1-n),n,t.a)}rgbaToHsva(t){let n,a;const l=Math.min(t.r,1),v=Math.min(t.g,1),T=Math.min(t.b,1),G=Math.min(t.a,1),z=Math.max(l,v,T),be=Math.min(l,v,T),Ve=z,bt=z-be;if(a=0===z?0:bt/z,z===be)n=0;else{switch(z){case l:n=(v-T)/bt+(v{class r{mouseDown(t){this.start(t)}touchStart(t){this.start(t)}constructor(t){this.elRef=t,this.dragEnd=new e.vpe,this.dragStart=new e.vpe,this.newValue=new e.vpe,this.listenerMove=n=>this.move(n),this.listenerStop=()=>this.stop()}move(t){t.preventDefault(),this.setCursor(t)}start(t){this.setCursor(t),t.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(t){const n=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==t.pageX?t.pageX:t.touches[0].pageX)-n.left-window.pageXOffset}getY(t){const n=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==t.pageY?t.pageY:t.touches[0].pageY)-n.top-window.pageYOffset}setCursor(t){const n=this.elRef.nativeElement.offsetWidth,a=this.elRef.nativeElement.offsetHeight,l=Math.max(0,Math.min(this.getX(t),n)),v=Math.max(0,Math.min(this.getY(t),a));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:l/n,v:1-v/a,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:v/a,rgY:this.rgY}):void 0!==this.rgX&&void 0===this.rgY&&this.newValue.emit({v:l/n,rgX:this.rgX})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","slider",""]],hostBindings:function(t,n){1&t&&e.NdJ("mousedown",function(l){return n.mouseDown(l)})("touchstart",function(l){return n.touchStart(l)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}}),r})(),ea=(()=>{class r{constructor(t,n){this.service=t,this.cdr=n,this.color=new Zt(0,1,1,1),this.controls="default",this.sliderChange=new e.vpe(!1),this.onAlphaChange=new e.vpe(!1),this.hsva=new Zt(0,1,1,1),this.selectedColor="#000000",this.fallbackColor="#000000"}ngOnInit(){this.color||(this.color=new Zt(0,1,1,1)),this.slider=new xn(0,0,0,0),this.update()}ngOnDestroy(){}ngOnChanges(t){t.color&&this.color&&this.update()}ngAfterViewInit(){this.sliderDimMax=new xi(this.hueSlider?.nativeElement.offsetWidth||140,220,130,this.alphaSlider?.nativeElement.offsetWidth||140),this.update()}onSliderChange(t,n){switch(t){case"saturation-lightness":this.hsva.onColorChange(n);break;case"hue":this.hsva.onHueChange(n);break;case"alpha":this.hsva.onAlphaChange(n),this.onAlphaChange.emit(n);break;case"value":this.hsva.onValueChange(n)}this.update(),this.setColor(this.outputColor)}setColor(t){this.color=t,this.sliderChange.emit(this.color)}getBackgroundColor(t){return{background:"linear-gradient(90deg, rgba(36,0,0,0) 0%, "+t+" 100%)"}}update(){if(this.hsva=this.color,this.sliderDimMax){let t=this.service.hsvaToRgba(this.hsva).denormalize(),n=this.service.hsvaToRgba(new Zt(this.hsva.h,1,1,1)).denormalize();this.hueSliderColor="rgb("+n.r+","+n.g+","+n.b+")",this.alphaSliderColor="rgb("+t.r+","+t.g+","+t.b+")",this.outputColor=this.hsva,this.selectedColor=this.service.hsvaToRgba(this.hsva).toString(),this.slider=new xn(this.hsva.h*this.sliderDimMax.h-5,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-5),this.cdr.detectChanges()}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ki),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["color-picker"]],viewQuery:function(t,n){if(1&t&&(e.Gf(yD,5),e.Gf(vD,5)),2&t){let a;e.iGM(a=e.CRH())&&(n.hueSlider=a.first),e.iGM(a=e.CRH())&&(n.alphaSlider=a.first)}},inputs:{color:"color",controls:"controls"},outputs:{sliderChange:"sliderChange",onAlphaChange:"onAlphaChange"},features:[e.TTD],decls:8,vars:4,consts:[[1,"color-picker",3,"click"],["dialogPopup",""],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue",4,"ngIf"],[1,"hue-alpha","box"],["class","left",4,"ngIf"],[1,"right"],["class","hue",3,"slider","rgX","newValue",4,"ngIf"],["class","alpha",3,"slider","rgX","newValue",4,"ngIf"],[1,"saturation-lightness",3,"slider","rgX","rgY","newValue"],[1,"cursor"],[1,"left"],[1,"selected-color-background"],[1,"selected-color"],[1,"hue",3,"slider","rgX","newValue"],["hueSlider",""],[1,"sliderCursor"],[1,"alpha",3,"slider","rgX","newValue"],["alphaSlider",""],[1,"alpha-gradient",3,"ngStyle"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0,1),e.NdJ("click",function(l){return l.stopPropagation()}),e.YNc(2,wD,3,8,"div",2),e.TgZ(3,"div",3),e.YNc(4,YF,3,2,"div",4),e.TgZ(5,"div",5),e.YNc(6,xD,5,3,"div",6),e.YNc(7,FD,6,4,"div",7),e.qZA()()()),2&t&&(e.xp6(2),e.Q6J("ngIf","only-alpha"!=n.controls),e.xp6(2),e.Q6J("ngIf","only-alpha"!=n.controls),e.xp6(2),e.Q6J("ngIf","only-alpha"!=n.controls),e.xp6(1),e.Q6J("ngIf","no-alpha"!=n.controls))},dependencies:[F.O5,F.PC,Nn],styles:[".color-picker{position:relative;z-index:1000;width:220px;height:auto;cursor:default;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none}.color-picker *{box-sizing:border-box;margin:0;font-size:11px}.color-picker input{width:0;height:26px;min-width:0;font-size:13px;text-align:center;color:#000}.color-picker input:invalid,.color-picker input:-moz-ui-invalid,.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.color-picker .sliderCursor{width:10px;border-radius:5px;position:absolute;margin-top:-3px;border:1px solid black}.color-picker .sliderCursor>div{border:2px solid white;border-radius:5px}.color-picker .sliderCursor>div>div{border-radius:5px;border:1px solid black;height:24px}.color-picker .cursor{position:absolute;width:21px;border:3px solid black;border-radius:100%;margin:-2px 0 0 -2px}.color-picker .cursor>div{height:15px;border:3px solid white;border-radius:100%}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{position:relative;padding:16px 8px}.color-picker .right{flex:1 1 auto;display:flex;flex-direction:column;gap:10px;padding:12px 8px}.color-picker .hue-alpha{display:flex;align-items:center;margin-bottom:3px}.color-picker .hue{direction:ltr;width:100%;height:24px;border:none;border-radius:5px;position:relative;cursor:pointer;background-size:100% 100%;background:linear-gradient(to right,red 0%,#ff0 17%,lime 33%,cyan 50%,blue 66%,#f0f 83%,red 100%)}.color-picker .alpha{direction:ltr;position:relative;width:100%;height:24px;border:none;border-radius:5px;cursor:pointer;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .alpha-gradient{width:100%;height:100%;border-radius:5px;position:absolute}.color-picker .selected-color{position:absolute;top:16px;left:8px;width:40px;height:40px;box-shadow:0 1px 1px 1px #00000026;border-radius:50%}.color-picker .selected-color-background{width:40px;height:40px;border-radius:50%;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .saturation-lightness{direction:ltr;cursor:crosshair;width:100%;position:relative;height:130px;border:none;touch-action:manipulation;background-image:linear-gradient(to top,#000 0%,transparent 100%),linear-gradient(to right,#fff 0%,transparent 100%)}\n"],encapsulation:2}),r})(),Da=(()=>{class r{click(t){this.isOutside(t)&&this.emitClose("cancel")}onScroll(){this.onScreenMovement()}onResize(){this.onScreenMovement()}constructor(t,n){this.service=t,this.cdr=n,this.color="#000000",this.previewColor="#000000",this.hsva=new Zt(0,1,1,1),this.colorsAnimationEffect="slide-in",this.palette=He,this.variants=[],this.colorFormats=ut,this.format=xe.HEX,this.canChangeFormat=!0,this.menu=1,this.hideColorPicker=!1,this.hideTextInput=!1,this.colorPickerControls="default"}ngOnInit(){this.setPosition(),this.hsva=this.service.stringToHsva(this.color),this.indexSeleccionado=this.findIndexSelectedColor(this.palette)}ngAfterViewInit(){this.setPositionY()}onScreenMovement(){this.setPosition(),this.setPositionY(),this.panelRef.nativeElement.style.transition||(this.panelRef.nativeElement.style.transition="transform 0.5s ease-out")}findIndexSelectedColor(t){let n;if(this.color)for(let a=0;awindow.innerWidth?n.right<250?window.innerWidth/2-125:n.right-250:n.left}}setPositionY(){const t=this.TriggerBBox.nativeElement.getBoundingClientRect(),n=this.panelRef.nativeElement.getBoundingClientRect();this.positionString=t.bottom+n.height>window.innerHeight?t.topn.toUpperCase()==this.previewColor.toUpperCase())}isSelected(t){return!!this.previewColor&&"string"==typeof t&&t.toUpperCase()==this.previewColor.toUpperCase()}getBackgroundColor(t){return"string"==typeof t?{background:t}:{background:t?.preview}}onAlphaChange(t){this.palette=this.ChangeAlphaOnPalette(t,this.palette)}ChangeAlphaOnPalette(t,n){var a=[];for(let l=0;l slide-in",[(0,Ce.IO)(":enter",(0,Ce.oB)({opacity:0}),{optional:!0}),(0,Ce.IO)(":enter",(0,Ce.EY)("10ms",[(0,Ce.jt)(".3s ease-in",(0,Ce.F4)([(0,Ce.oB)({opacity:0,transform:"translatex(-50%)",offset:0}),(0,Ce.oB)({opacity:.5,transform:"translatex(-10px) scale(1.1)",offset:.3}),(0,Ce.oB)({opacity:1,transform:"translatex(0)",offset:1})]))]),{optional:!0})]),(0,Ce.eR)("void => popup",[(0,Ce.IO)(":enter",(0,Ce.oB)({opacity:0,transform:"scale(0)"}),{optional:!0}),(0,Ce.IO)(":enter",(0,Ce.EY)("10ms",[(0,Ce.jt)("500ms ease-out",(0,Ce.F4)([(0,Ce.oB)({opacity:.5,transform:"scale(.5)",offset:.3}),(0,Ce.oB)({opacity:1,transform:"scale(1.1)",offset:.8}),(0,Ce.oB)({opacity:1,transform:"scale(1)",offset:1})]))]),{optional:!0})])])]}}),r})();const HF={position:"fixed",height:"100%",width:"100%","z-index":2e3,top:0,left:0};let ED=(()=>{class r{constructor(t,n,a){this.resolver=t,this.applicationRef=n,this.injector=a}createPanel(t,n){null!=this.componentRef&&this.removePanel();const a=this.resolver.resolveComponentFactory(Da);this.componentRef=a.create(this.injector),this.applicationRef.attachView(this.componentRef.hostView);const l=this.componentRef.hostView.rootNodes[0];return this.overlay=document.createElement("div"),this.overlay.id="ngx-colors-overlay",this.overlay.classList.add("ngx-colors-overlay"),this.overlay.classList.add(n),Object.keys(HF).forEach(v=>{this.overlay.style[v]=HF[v]}),t?document.getElementById(t).appendChild(this.overlay):document.body.appendChild(this.overlay),this.overlay.appendChild(l),this.componentRef}removePanel(){this.applicationRef.detachView(this.componentRef.hostView),this.componentRef.destroy(),this.overlay.remove()}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(e._Vd),e.LFG(e.z2F),e.LFG(e.zs3))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),wE=(()=>{class r{onClick(){this.openPanel()}constructor(t,n){this.triggerRef=t,this.panelFactory=n,this.color="",this.colorsAnimation="slide-in",this.position="bottom",this.attachTo=void 0,this.overlayClassName=void 0,this.colorPickerControls="default",this.acceptLabel="ACCEPT",this.cancelLabel="CANCEL",this.change=new e.vpe,this.input=new e.vpe,this.slider=new e.vpe,this.close=new e.vpe,this.open=new e.vpe,this.isDisabled=!1,this.onTouchedCallback=()=>{},this.onChangeCallback=()=>{}}openPanel(){this.isDisabled||(this.panelRef=this.panelFactory.createPanel(this.attachTo,this.overlayClassName),this.panelRef.instance.iniciate(this,this.triggerRef,this.color,this.palette,this.colorsAnimation,this.format,this.hideTextInput,this.hideColorPicker,this.acceptLabel,this.cancelLabel,this.colorPickerControls,this.position)),this.open.emit(this.color)}closePanel(){this.panelFactory.removePanel(),this.onTouchedCallback(),this.close.emit(this.color)}onChange(){this.onChangeCallback(this.color)}setDisabledState(t){this.isDisabled=t,this.triggerRef.nativeElement.style.opacity=t?.5:1}setColor(t){this.writeValue(t),this.input.emit(t)}sliderChange(t){this.slider.emit(t)}get value(){return this.color}set value(t){this.setColor(t),this.onChangeCallback(t)}writeValue(t){t!==this.color&&(this.color=t,this.onChange(),this.change.emit(t))}registerOnChange(t){this.onChangeCallback=t}registerOnTouched(t){this.onTouchedCallback=t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(ED))},r.\u0275dir=e.lG2({type:r,selectors:[["","ngx-colors-trigger",""]],hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n.onClick()})},inputs:{colorsAnimation:"colorsAnimation",palette:"palette",format:"format",position:"position",hideTextInput:"hideTextInput",hideColorPicker:"hideColorPicker",attachTo:"attachTo",overlayClassName:"overlayClassName",colorPickerControls:"colorPickerControls",acceptLabel:"acceptLabel",cancelLabel:"cancelLabel"},outputs:{change:"change",input:"input",slider:"slider",close:"close",open:"open"},features:[e._Bn([{provide:fa,useExisting:(0,e.Gpc)(()=>r),multi:!0}])]}),r})(),xE=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[Ki,ED],imports:[F.ez]}),r})();function FE(r,i){if(1&r&&(e.TgZ(0,"mat-option",11),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.name," ")}}class Xg{constructor(i,t,n){this.appState=i,this.dialogRef=t,this.data=n,this.styles=BF,this.data.name="",this.data.color="#673ab7"}onNoClick(){this.data.name="",this.data.color="#673ab7",this.dialogRef.close()}}Xg.\u0275fac=function(i){return new(i||Xg)(e.Y36(Oe.i),e.Y36(Ae),e.Y36(_t))},Xg.\u0275cmp=e.Xpm({type:Xg,selectors:[["create-circle-dialog"]],decls:33,vars:11,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content",""],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["appearance","fill",1,"circle-input"],["matPrefix","","ngx-colors-trigger","",1,"color",3,"ngModel","ngModelChange"],["matInput","",3,"ngModel","ngModelChange"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h1",1),e._uU(2,"Create Circle"),e.qZA(),e.TgZ(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),e._uU(6,"supervised_user_circle"),e.qZA(),e.TgZ(7,"mat-label"),e._uU(8,"Circle Name"),e.qZA(),e.TgZ(9,"input",5),e.NdJ("ngModelChange",function(a){return t.data.name=a}),e.qZA()(),e.TgZ(10,"mat-form-field",6)(11,"div",7),e.NdJ("ngModelChange",function(a){return t.data.color=a}),e.qZA(),e.TgZ(12,"mat-label"),e._uU(13,"Color"),e.qZA(),e.TgZ(14,"input",8),e.NdJ("ngModelChange",function(a){return t.data.color=a}),e.qZA()(),e.TgZ(15,"mat-form-field",6)(16,"mat-label"),e._uU(17,"Type"),e.qZA(),e.TgZ(18,"mat-select",9),e.NdJ("valueChange",function(a){return t.data.style=a}),e.YNc(19,FE,2,2,"mat-option",10),e.qZA()(),e.TgZ(20,"mat-form-field",6)(21,"mat-label"),e._uU(22,"Visibility"),e.qZA(),e.TgZ(23,"mat-select",9),e.NdJ("valueChange",function(a){return t.data.public=a}),e.TgZ(24,"mat-option",11),e._uU(25," Public "),e.qZA(),e.TgZ(26,"mat-option",11),e._uU(27," Private "),e.qZA()()()(),e.TgZ(28,"div",12)(29,"button",13),e.NdJ("click",function(){return t.onNoClick()}),e._uU(30,"Cancel"),e.qZA(),e.TgZ(31,"button",14),e._uU(32,"Save"),e.qZA()()()),2&i&&(e.xp6(9),e.Q6J("ngModel",t.data.name),e.xp6(2),e.Udp("background",t.data.color),e.Q6J("ngModel",t.data.color),e.xp6(3),e.Q6J("ngModel",t.data.color),e.xp6(4),e.Q6J("value",t.data.style),e.xp6(1),e.Q6J("ngForOf",t.styles),e.xp6(4),e.Q6J("value",t.data.public),e.xp6(1),e.Q6J("value",!0),e.xp6(2),e.Q6J("value",!1),e.xp6(5),e.Q6J("mat-dialog-close",t.data))},dependencies:[F.sg,io,Ca,Ba,ol,Dt.lW,Ph,ae.ey,Wn,ar,Sr,oa,tn,kt,yt,Bi,wE],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}.circle[_ngcontent-%COMP%]{cursor:pointer}.circle[_ngcontent-%COMP%]:hover{color:#fff}.color[_ngcontent-%COMP%]{width:24px;height:24px;border:2px solid #fff;margin:12px;border-radius:50%}.circle-input[_ngcontent-%COMP%]{margin-right:1em}@media only screen and (max-width: 540px){.circle-input[_ngcontent-%COMP%]{margin-right:0;width:100%}}"]});let e_=(()=>{class r{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=(0,st.Ig)(t)}get inset(){return this._inset}set inset(t){this._inset=(0,st.Ig)(t)}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,n){2&t&&(e.uIk("aria-orientation",n.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",n.vertical)("mat-divider-horizontal",!n.vertical)("mat-divider-inset",n.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,n){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.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}),r})(),CE=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,ae.BQ]}),r})();const UF=["*"],jF='@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::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}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}',AD=["unscopedContent"],kE=["text"],DE=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],ME=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];function EE(r,i){1&r&&e.Hsn(0,4)}function AE(r,i){if(1&r&&(e.TgZ(0,"div",11),e._UZ(1,"input",12),e.TgZ(2,"div",13),e.O4$(),e.TgZ(3,"svg",14),e._UZ(4,"path",15),e.qZA(),e.kcU(),e._UZ(5,"div",16),e.qZA()()),2&r){const t=e.oxw();e.ekj("mdc-checkbox--disabled",t.disabled),e.xp6(1),e.Q6J("checked",t.selected)("disabled",t.disabled)}}function TE(r,i){if(1&r&&(e.TgZ(0,"div",17),e._UZ(1,"input",18),e.TgZ(2,"div",19),e._UZ(3,"div",20)(4,"div",21),e.qZA()()),2&r){const t=e.oxw();e.ekj("mdc-radio--disabled",t.disabled),e.xp6(1),e.Q6J("checked",t.selected)("disabled",t.disabled)}}function SE(r,i){}function IE(r,i){if(1&r&&(e.TgZ(0,"span",22),e.YNc(1,SE,0,0,"ng-template",23),e.qZA()),2&r){e.oxw();const t=e.MAs(3);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function OE(r,i){}function LE(r,i){if(1&r&&(e.TgZ(0,"span",24),e.YNc(1,OE,0,0,"ng-template",23),e.qZA()),2&r){e.oxw();const t=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function NE(r,i){}function RE(r,i){if(1&r&&e.YNc(0,NE,0,0,"ng-template",23),2&r){e.oxw();const t=e.MAs(1);e.Q6J("ngTemplateOutlet",t)}}function PE(r,i){}function BE(r,i){if(1&r&&(e.TgZ(0,"span",25),e.YNc(1,PE,0,0,"ng-template",23),e.qZA()),2&r){e.oxw();const t=e.MAs(3);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function YE(r,i){}function HE(r,i){if(1&r&&(e.TgZ(0,"span",25),e.YNc(1,YE,0,0,"ng-template",23),e.qZA()),2&r){e.oxw();const t=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function UE(r,i){}function jE(r,i){if(1&r&&e.YNc(0,UE,0,0,"ng-template",23),2&r){e.oxw();const t=e.MAs(1);e.Q6J("ngTemplateOutlet",t)}}const VE=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],ZE=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],TD=new e.OlP("ListOption");let Zy=(()=>{class r{constructor(t){this._elementRef=t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),r})(),zy=(()=>{class r{constructor(t){this._elementRef=t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),r})(),SD=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),r})(),ID=(()=>{class r{constructor(t){this._listOption=t}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(TD,8))},r.\u0275dir=e.lG2({type:r,hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("mdc-list-item__start",n._isAlignedAtStart())("mdc-list-item__end",!n._isAlignedAtStart())}}),r})(),Gy=(()=>{class r extends ID{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[e.qOj]}),r})(),VF=(()=>{class r extends ID{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[e.qOj]}),r})();const zE=new e.OlP("MAT_LIST_CONFIG");let xu=(()=>{class r{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,e.f3M)(zE,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,st.Ig)(t)}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t)}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,hostVars:1,hostBindings:function(t,n){2&t&&e.uIk("aria-disabled",n.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),r})(),ZF=(()=>{class r{set lines(t){this._explicitLines=(0,st.su)(t,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(t){this._disableRipple=(0,st.Ig)(t)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(t){this._disabled=(0,st.Ig)(t)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(t,n,a,l,v,T){this._elementRef=t,this._ngZone=n,this._listBase=a,this._platform=l,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new mo.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=v||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===T,a&&!a._isNonInteractive&&this._initInteractiveListItem(),"button"===this._hostElement.nodeName.toLowerCase()&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new ae.IR(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,Ue.T)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(t){if(!this._lines||!this._titles||!this._unscopedContent)return;t&&this._checkDomForUnscopedTextContent();const n=this._explicitLines??this._inferLinesFromContent(),a=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===n),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===n),this._hasUnscopedTextContent){const l=0===this._titles.length&&1===n;a.classList.toggle("mdc-list-item__primary-text",l),a.classList.toggle("mdc-list-item__secondary-text",!l)}else a.classList.remove("mdc-list-item__primary-text"),a.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let t=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(t+=1),t}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(t=>t.nodeType!==t.COMMENT_NODE).some(t=>!(!t.textContent||!t.textContent.trim()))}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(xu,8),e.Y36(x.t4),e.Y36(ae.Y2,8),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r,contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,Gy,4),e.Suo(a,VF,4)),2&t){let l;e.iGM(l=e.CRH())&&(n._avatars=l),e.iGM(l=e.CRH())&&(n._icons=l)}},hostVars:3,hostBindings:function(t,n){2&t&&(e.uIk("aria-disabled",n.disabled),e.ekj("mdc-list-item--disabled",n.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),r})(),GE=(()=>{class r extends xu{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[e._Bn([{provide:xu,useExisting:r}]),e.qOj],ngContentSelectors:UF,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[jF],encapsulation:2,changeDetection:0}),r})(),zF=(()=>{class r extends ZF{get activated(){return this._activated}set activated(t){this._activated=(0,st.Ig)(t)}constructor(t,n,a,l,v,T){super(t,n,a,l,v,T),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(xu,8),e.Y36(x.t4),e.Y36(ae.Y2,8),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,zy,5),e.Suo(a,Zy,5),e.Suo(a,SD,5)),2&t){let l;e.iGM(l=e.CRH())&&(n._lines=l),e.iGM(l=e.CRH())&&(n._titles=l),e.iGM(l=e.CRH())&&(n._meta=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(AD,5),e.Gf(kE,5)),2&t){let a;e.iGM(a=e.CRH())&&(n._unscopedContent=a.first),e.iGM(a=e.CRH())&&(n._itemText=a.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(t,n){2&t&&(e.uIk("aria-current",n._getAriaCurrent()),e.ekj("mdc-list-item--activated",n.activated)("mdc-list-item--with-leading-avatar",0!==n._avatars.length)("mdc-list-item--with-leading-icon",0!==n._icons.length)("mdc-list-item--with-trailing-meta",0!==n._meta.length)("_mat-animation-noopable",n._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[e.qOj],ngContentSelectors:ME,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(t,n){1&t&&(e.F$t(DE),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.Hsn(3,2),e.TgZ(4,"span",1,2),e.NdJ("cdkObserveContent",function(){return n._updateItemLines(!0)}),e.Hsn(6,3),e.qZA()(),e.Hsn(7,4),e.Hsn(8,5),e._UZ(9,"div",3))},dependencies:[al.wD],encapsulation:2,changeDetection:0}),r})();const OD=new e.OlP("SelectionList");let LD=(()=>{class r extends ZF{get checkboxPosition(){return this.togglePosition}set checkboxPosition(t){this.togglePosition=t}get color(){return this._color||this._selectionList.color}set color(t){this._color=t}get value(){return this._value}set value(t){this.selected&&t!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=t}get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(t){const n=(0,st.Ig)(t);n!==this._selected&&(this._setSelected(n),(n||this._selectionList.multiple)&&this._selectionList._reportValueChange())}constructor(t,n,a,l,v,T,G){super(t,n,a,l,T,G),this._selectionList=a,this._changeDetectorRef=v,this.selectedChange=new e.vpe,this.togglePosition="after",this._selected=!1,this._inputsInitialized=!1}ngOnInit(){const t=this._selectionList;t._value&&t._value.some(a=>t.compareWith(this._value,a))&&this._setSelected(!0);const n=this._selected;Promise.resolve().then(()=>{(this._selected||n)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(t){return this._selectionList.multiple&&this._getTogglePosition()===t}_hasRadioAt(t){return!this._selectionList.multiple&&this._getTogglePosition()===t&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(t){return this._hasProjected("icons",t)||this._hasProjected("avatars",t)}_hasProjected(t,n){return this._getTogglePosition()!==n&&("avatars"===t?0!==this._avatars.length:0!==this._icons.length)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(t){return t!==this._selected&&(this._selected=t,t?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(t),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(t){this._hostElement.setAttribute("tabindex",t+"")}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(OD),e.Y36(x.t4),e.Y36(e.sBO),e.Y36(ae.Y2,8),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-list-option"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,zy,5),e.Suo(a,Zy,5)),2&t){let l;e.iGM(l=e.CRH())&&(n._lines=l),e.iGM(l=e.CRH())&&(n._titles=l)}},viewQuery:function(t,n){if(1&t&&e.Gf(AD,5),2&t){let a;e.iGM(a=e.CRH())&&(n._unscopedContent=a.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:25,hostBindings:function(t,n){1&t&&e.NdJ("blur",function(){return n._handleBlur()})("click",function(){return n._toggleOnInteraction()}),2&t&&(e.uIk("aria-selected",n.selected),e.ekj("mdc-list-item--selected",n.selected&&!n._selectionList.multiple&&n._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",n._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",n._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",n._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",n._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",n._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",n._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",n._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",n._hasRadioAt("after"))("mat-accent","primary"!==n.color&&"warn"!==n.color)("mat-warn","warn"===n.color)("_mat-animation-noopable",n._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[e._Bn([{provide:ZF,useExisting:r},{provide:TD,useExisting:r}]),e.qOj],ngContentSelectors:ZE,decls:20,vars:6,consts:[["icons",""],["checkbox",""],["radio",""],["class","mdc-list-item__start mat-mdc-list-option-checkbox-before",4,"ngIf"],["class","mdc-list-item__start mat-mdc-list-option-radio-before",4,"ngIf"],[3,"ngIf"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],["class","mdc-list-item__end",4,"ngIf"],[1,"mat-mdc-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[1,"mdc-list-item__end"]],template:function(t,n){1&t&&(e.F$t(VE),e.YNc(0,EE,1,0,"ng-template",null,0,e.W1O),e.YNc(2,AE,6,4,"ng-template",null,1,e.W1O),e.YNc(4,TE,5,4,"ng-template",null,2,e.W1O),e.YNc(6,IE,2,1,"span",3),e.YNc(7,LE,2,1,"span",4),e.YNc(8,RE,1,1,"ng-template",5),e.TgZ(9,"span",6),e.Hsn(10),e.Hsn(11,1),e.TgZ(12,"span",7,8),e.NdJ("cdkObserveContent",function(){return n._updateItemLines(!0)}),e.Hsn(14,2),e.qZA()(),e.YNc(15,BE,2,1,"span",9),e.YNc(16,HE,2,1,"span",9),e.YNc(17,jE,1,1,"ng-template",5),e.Hsn(18,3),e._UZ(19,"div",10)),2&t&&(e.xp6(6),e.Q6J("ngIf",n._hasCheckboxAt("before")),e.xp6(1),e.Q6J("ngIf",n._hasRadioAt("before")),e.xp6(1),e.Q6J("ngIf",n._hasIconsOrAvatarsAt("before")),e.xp6(7),e.Q6J("ngIf",n._hasCheckboxAt("after")),e.xp6(1),e.Q6J("ngIf",n._hasRadioAt("after")),e.xp6(1),e.Q6J("ngIf",n._hasIconsOrAvatarsAt("after")))},dependencies:[al.wD,F.O5,F.tP],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-touch-target-wrapper{display:inline}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mat-mdc-list-option .mdc-radio[hidden]{display:none}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:""}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mat-mdc-list-option .mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mat-mdc-list-option .mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background,.mat-mdc-list-option [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:focus+.mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio{padding:calc((40px - 20px) / 2);padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#6200ee;border-color:var(--mdc-radio-selected-icon-color, #6200ee)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#6200ee;border-color:var(--mdc-radio-selected-icon-color, #6200ee)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}'],encapsulation:2,changeDetection:0}),r})(),GF=(()=>{class r extends xu{constructor(){super(...arguments),this._isNonInteractive=!1}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[e._Bn([{provide:xu,useExisting:r}]),e.qOj],ngContentSelectors:UF,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[jF],encapsulation:2,changeDetection:0}),r})();const WE={provide:fa,useExisting:(0,e.Gpc)(()=>ND),multi:!0};class qE{constructor(i,t){this.source=i,this.options=t}}let ND=(()=>{class r extends xu{get multiple(){return this._multiple}set multiple(t){const n=(0,st.Ig)(t);n!==this._multiple&&(this._multiple=n,this.selectedOptions=new Ya.Ov(this._multiple,this.selectedOptions.selected))}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=(0,st.Ig)(t)}constructor(t,n){super(),this._element=t,this._ngZone=n,this._initialized=!1,this._destroyed=new D.x,this._onChange=a=>{},this.selectionChange=new e.vpe,this.color="accent",this.compareWith=(a,l)=>a===l,this._multiple=!0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.selectedOptions=new Ya.Ov(this._multiple),this._onTouched=()=>{},this._selectionListDisabled=!1,this._handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})},this._handleFocusin=a=>{if(this.disabled)return;const l=this._items.toArray().findIndex(v=>v._elementRef.nativeElement.contains(a.target));l>-1?this._setActiveOption(l):this._resetActiveOption()},this._isNonInteractive=!1}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._element.nativeElement.addEventListener("focusin",this._handleFocusin),this._element.nativeElement.addEventListener("focusout",this._handleFocusout)}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges(t){const n=t.disabled,a=t.disableRipple,l=t.hideSingleSelectionIndicator;(a&&!a.firstChange||n&&!n.firstChange||l&&!l.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._element.nativeElement.removeEventListener("focusin",this._handleFocusin),this._element.nativeElement.removeEventListener("focusout",this._handleFocusout),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(t){this._element.nativeElement.focus(t)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){const t=this._getSelectedOptionValues();this._onChange(t),this._value=t}}_emitChangeEvent(t){this.selectionChange.emit(new qE(this,t))}writeValue(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])}setDisabledState(t){this.disabled=t}get disabled(){return this._selectionListDisabled}set disabled(t){this._selectionListDisabled=(0,st.Ig)(t),this._selectionListDisabled&&this._keyManager?.setActiveItem(-1)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}_watchForSelectionChange(){this.selectedOptions.changed.pipe((0,Ji.R)(this._destroyed)).subscribe(t=>{for(let n of t.added)n.selected=!0;for(let n of t.removed)n.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(t){this.options.forEach(n=>n._setSelected(!1)),t.forEach(n=>{const a=this.options.find(l=>!l.selected&&this.compareWith(l.value,n));a&&a._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(t=>t.selected).map(t=>t.value)}_markOptionsForCheck(){this.options&&this.options.forEach(t=>t._markForCheck())}_setAllOptionsSelected(t,n){const a=[];return this.options.forEach(l=>{(!n||!l.disabled)&&l._setSelected(t)&&a.push(l)}),a.length&&this._reportValueChange(),a}get options(){return this._items}_handleKeydown(t){const n=this._keyManager.activeItem;if(t.keyCode!==S.K5&&t.keyCode!==S.L_||this._keyManager.isTyping()||!n||n.disabled)if(t.keyCode===S.A&&this.multiple&&!this._keyManager.isTyping()&&(0,S.Vb)(t,"ctrlKey")){const a=this.options.some(l=>!l.disabled&&!l.selected);t.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(a,!0))}else this._keyManager.onKeydown(t);else t.preventDefault(),n._toggleOnInteraction()}_setupRovingTabindex(){this._keyManager=new g.Em(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(t=>this._setActiveOption(t)),this._items.changes.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{const t=this._keyManager.activeItem;(!t||!this._items.toArray().indexOf(t))&&this._resetActiveOption()})}_setActiveOption(t){this._items.forEach((n,a)=>n._setTabindex(a===t?0:-1)),this._keyManager.updateActiveItem(t)}_resetActiveOption(){if(this.disabled)return void this._setActiveOption(-1);const t=this._items.find(n=>n.selected&&!n.disabled)||this._items.first;this._setActiveOption(t?this._items.toArray().indexOf(t):-1)}_containsFocus(){const t=(0,x.ht)();return t&&this._element.nativeElement.contains(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-selection-list"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,LD,5),2&t){let l;e.iGM(l=e.CRH())&&(n._items=l)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(t,n){1&t&&e.NdJ("keydown",function(l){return n._handleKeydown(l)}),2&t&&e.uIk("aria-multiselectable",n.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[e._Bn([WE,{provide:xu,useExisting:r},{provide:OD,useExisting:r}]),e.qOj,e.TTD],ngContentSelectors:UF,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[jF],encapsulation:2,changeDetection:0}),r})(),QE=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[al.Q8,F.ez,ae.BQ,ae.si,ae.us,CE]}),r})();class t_{constructor(){}transform(i){return i?BF.find(t=>t.id==i)?.name:"Pipes"}}function JE(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Public"),e.qZA())}function KE(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Private"),e.qZA())}function $E(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw();return e.KtG(l.deleteCircle(a.id))}),e.TgZ(1,"mat-icon"),e._uU(2,"delete"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Delete Circle"),e.qZA()()}}function XE(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",2),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,T=e.oxw();return e.KtG(T.navigation.openFeed(a,v))}),e.TgZ(1,"div",3)(2,"mat-icon",4),e._uU(3,"trip_origin"),e.qZA()(),e.TgZ(4,"div",5),e._uU(5),e._UZ(6,"br"),e.TgZ(7,"span",6)(8,"span"),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.TgZ(11,"span",6),e.YNc(12,JE,2,0,"span",7),e.YNc(13,KE,2,0,"span",7),e._uU(14),e.ALo(15,"circlestyle"),e.ALo(16,"ago"),e.qZA()(),e.TgZ(17,"div",5)(18,"button",8)(19,"mat-icon",9),e._uU(20,"more_vert"),e.qZA()(),e.TgZ(21,"mat-menu",null,10)(23,"button",11)(24,"mat-icon"),e._uU(25,"copy_all"),e.qZA(),e.TgZ(26,"span"),e._uU(27,"Copy"),e.qZA()(),e.YNc(28,$E,5,0,"button",12),e.qZA(),e.TgZ(29,"mat-menu",null,13)(31,"button",14),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.copyPubKeys(l))}),e.TgZ(32,"mat-icon"),e._uU(33,"content_copy"),e.qZA(),e.TgZ(34,"span"),e._uU(35,"Public Keys (npub)"),e.qZA()(),e.TgZ(36,"button",14),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.copyPubKeysHex(l))}),e.TgZ(37,"mat-icon"),e._uU(38,"content_copy"),e.qZA(),e.TgZ(39,"span"),e._uU(40,"Public Keys (hex)"),e.qZA()()()()()}if(2&r){const t=i.$implicit,n=e.MAs(22),a=e.MAs(30),l=e.oxw();e.xp6(2),e.Udp("color",t.color),e.xp6(3),e.hij(" ",t.name,""),e.xp6(4),e.hij("Count: ",l.countMembers(t),""),e.xp6(3),e.Q6J("ngIf",t.public),e.xp6(1),e.Q6J("ngIf",!t.public),e.xp6(1),e.AsE(" - ",e.lcZ(15,11,t.style)," - Created: ",e.lcZ(16,13,t.created),""),e.xp6(4),e.Q6J("matMenuTriggerFor",n),e.xp6(5),e.Q6J("matMenuTriggerFor",a),e.xp6(5),e.Q6J("ngIf",t.id)}}t_.\u0275fac=function(i){return new(i||t_)},t_.\u0275pipe=e.Yjl({name:"circlestyle",type:t_,pure:!0});class i_{constructor(i,t,n,a,l,v,T,G,z,be,Ve,bt,Pt){this.navigation=i,this.appState=t,this.circleService=n,this.profileService=a,this.dialog=l,this.validator=v,this.utilities=T,this.authService=G,this.router=z,this.dataService=be,this.snackBar=Ve,this.cd=bt,this.ngZone=Pt,this.loading=!1,this.subscriptions=[]}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}deleteCircle(i){var t=this;return(0,we.Z)(function*(){const n=t.getFollowingInCircle(i).map(l=>l.pubkey);yield t.circleService.delete(i);for(var a=0;anull==t.circle||0==t.circle:t=>t.circle==i)}copyPubKeys(i){let t=this.getPublicKeys(i);t=t.map(n=>this.utilities.getNostrIdentifier(n)),this.copy(JSON.stringify(t))}copyPubKeysHex(i){const t=this.getPublicKeys(i);this.copy(JSON.stringify(t))}getPublicKeys(i){return this.getFollowingInCircle(i.id).map(a=>a.pubkey)}getPublicPublicKeys(){console.log(this.profileService.following);const i=[];for(let t=0;tv.pubkey);i.push(...l)}}return i}getNpub(i){return this.utilities.getNostrIdentifier(i)}createCircle(){var i=this;this.dialog.open(Xg,{data:{name:"",style:1,public:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,we.Z)(function*(a){a&&i.circleService.put(a)});return function(a){return n.apply(this,arguments)}}())}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.appState.updateTitle("Circles"),i.appState.showBackButton=!1,i.appState.actions=[{icon:"add_circle",tooltip:"Create Circle",click:()=>{i.createCircle()}}]})()}}i_.\u0275fac=function(i){return new(i||i_)(e.Y36(za),e.Y36(Oe.i),e.Y36(ao),e.Y36(Yn),e.Y36(yi),e.Y36(ns.Y),e.Y36(pn.dU),e.Y36(Wc.$),e.Y36(Yt.F0),e.Y36(pa),e.Y36(no.ux),e.Y36(e.sBO),e.Y36(e.R0b))},i_.\u0275cmp=e.Xpm({type:i_,selectors:[["app-circles"]],decls:4,vars:1,consts:[[1,"feed-page"],["class","circle circle-container clickable",3,"click",4,"ngFor","ngForOf"],[1,"circle","circle-container","clickable",3,"click"],[1,"circle-item"],["matListItemIcon",""],[1,"circle-item","clickable"],[1,"dimmed","clickable"],[4,"ngIf"],["mat-icon-button","",1,"circle-button",3,"matMenuTriggerFor"],[1,"circle-button-icon"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click",4,"ngIf"],["copyMenu","matMenu"],["mat-menu-item","",3,"click"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0),e.YNc(1,XE,41,15,"mat-card",1),e.TgZ(2,"small"),e._uU(3,"Circles is how you organize people you follow. Different circles can have different rules applied and circles is an important way to make the experience more enjoyable."),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.circleService.circles))},dependencies:[F.sg,F.O5,Dt.RK,ca,Wn,VF,du,bl,Dh,cs,t_],styles:[".loading[_ngcontent-%COMP%]{margin:auto}.input-full-width[_ngcontent-%COMP%]{width:100%!important}.search[_ngcontent-%COMP%]{margin-top:1em;padding:1em 1em 0;margin-bottom:1em;border-radius:10px}.circle-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-content:center;align-items:center;column-gap:1em;margin-top:1em;padding:1em;margin-bottom:1em;border-radius:10px}.circle-item[_ngcontent-%COMP%]:nth-child(1){order:0;flex:0 1 auto;align-self:auto}.circle-item[_ngcontent-%COMP%]:nth-child(2){order:0;flex:1 1 auto;align-self:auto}.circle-item[_ngcontent-%COMP%]:nth-child(3){order:0;flex:0 1 auto;align-self:auto}.circle-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:.4em;margin-bottom:.4em}"]});class n_{constructor(i,t){this.dialogRef=i,this.data=t}onNoClick(){this.data.pubkey="",this.dialogRef.close()}}n_.\u0275fac=function(i){return new(i||n_)(e.Y36(Ae),e.Y36(_t))},n_.\u0275cmp=e.Xpm({type:n_,selectors:[["create-follow-dialog"]],decls:15,vars:2,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h1",1),e._uU(2,"Enter Public Key or Alias (NIP-05) to Follow"),e.qZA(),e.TgZ(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),e._uU(6,"person_add"),e.qZA(),e.TgZ(7,"mat-label"),e._uU(8,"Public Key / Alias"),e.qZA(),e.TgZ(9,"input",5),e.NdJ("ngModelChange",function(a){return t.data.pubkey=a}),e.qZA()()(),e.TgZ(10,"div",6)(11,"button",7),e.NdJ("click",function(){return t.onNoClick()}),e._uU(12,"Cancel"),e.qZA(),e.TgZ(13,"button",8),e._uU(14,"Follow"),e.qZA()()()),2&i&&(e.xp6(9),e.Q6J("ngModel",t.data.pubkey),e.xp6(4),e.Q6J("mat-dialog-close",t.data))},dependencies:[io,Ca,Ba,ol,Dt.lW,Wn,ar,Sr,oa,tn,kt,yt,Bi],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});class r_{constructor(i,t,n){this.eventService=i,this.dialogRef=t,this.data=n}onNoClick(){this.data.pubkey="",this.dialogRef.close()}import(){this.data.import=!0,this.dialogRef.close(this.data)}onFileSelected(i){var t=i.target.files[0],n=new FileReader;n.onload=()=>{const a=JSON.parse(n.result),l=this.eventService.pTags(a).map(v=>v[1]);this.data.pubkeys=l,this.dialogRef.close(this.data)},n.readAsText(t)}}function eA(r,i){if(1&r&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"ago"),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.AsE("",e.lcZ(2,2,"People.Followed")," ",e.lcZ(3,4,t.created),"")}}function tA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",17),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,T=e.oxw(3);return e.KtG(T.navigation.openProfile(a,v))}),e.TgZ(1,"div",18)(2,"app-event-header",19)(3,"small"),e.YNc(4,eA,4,6,"span",20),e._UZ(5,"app-directory-icon",21),e.qZA()(),e._UZ(6,"app-profile-actions",19),e.qZA(),e.TgZ(7,"div",22),e._uU(8),e.qZA()()}if(2&r){const t=i.$implicit;e.xp6(2),e.Q6J("profile",t),e.xp6(2),e.Q6J("ngIf",t.created),e.xp6(1),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("profile",t),e.xp6(2),e.Oqu(t.about)}}function iA(r,i){if(1&r&&e.YNc(0,tA,9,5,"mat-card",16),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function nA(r,i){if(1&r&&e._UZ(0,"app-event-header",25),2&r){const t=i.$implicit;e.Q6J("listType","content")("iconSize","small")("displayName",!0)("displayContent",!0)("profile",t)}}function rA(r,i){if(1&r&&e.YNc(0,nA,1,5,"app-event-header",24),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function aA(r,i){if(1&r&&e._UZ(0,"app-event-header",25),2&r){const t=i.$implicit;e.Q6J("listType","details")("iconSize","small")("displayName",!0)("displayContent",!0)("profile",t)}}function oA(r,i){if(1&r&&e.YNc(0,aA,1,5,"app-event-header",24),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function sA(r,i){if(1&r&&e._UZ(0,"app-event-header",27),2&r){const t=i.$implicit;e.Q6J("iconSize","small")("displayName",!1)("displayContent",!1)("profile",t)}}function lA(r,i){if(1&r&&e.YNc(0,sA,1,4,"app-event-header",26),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function cA(r,i){if(1&r&&e._UZ(0,"app-event-header",25),2&r){const t=i.$implicit;e.Q6J("listType","icon")("iconSize","small")("displayName",!1)("displayContent",!1)("profile",t)}}function dA(r,i){if(1&r&&e.YNc(0,cA,1,5,"app-event-header",24),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function uA(r,i){if(1&r&&e._UZ(0,"app-event-header",25),2&r){const t=i.$implicit;e.Q6J("listType","icon")("iconSize","medium")("displayName",!1)("displayContent",!1)("profile",t)}}function hA(r,i){if(1&r&&e.YNc(0,uA,1,5,"app-event-header",24),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function mA(r,i){if(1&r&&e._UZ(0,"app-event-header",25),2&r){const t=i.$implicit;e.Q6J("listType","icon")("iconSize","large")("displayName",!1)("displayContent",!1)("profile",t)}}function fA(r,i){if(1&r&&e.YNc(0,mA,1,5,"app-event-header",24),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function pA(r,i){if(1&r&&(e.YNc(0,iA,1,2,"ng-template",14),e.YNc(1,rA,1,2,"ng-template",14),e.YNc(2,oA,1,2,"ng-template",14),e.YNc(3,lA,1,2,"ng-template",14),e.YNc(4,dA,1,2,"ng-template",14),e.YNc(5,hA,1,2,"ng-template",14),e.YNc(6,fA,1,2,"ng-template",14)),2&r){const t=e.oxw();e.Q6J("ngIf",0==t.optionsService.values.peopleDisplayView||null==t.optionsService.values.peopleDisplayView),e.xp6(1),e.Q6J("ngIf",1==t.optionsService.values.peopleDisplayView),e.xp6(1),e.Q6J("ngIf",2==t.optionsService.values.peopleDisplayView),e.xp6(1),e.Q6J("ngIf",3==t.optionsService.values.peopleDisplayView),e.xp6(1),e.Q6J("ngIf",4==t.optionsService.values.peopleDisplayView),e.xp6(1),e.Q6J("ngIf",5==t.optionsService.values.peopleDisplayView),e.xp6(1),e.Q6J("ngIf",6==t.optionsService.values.peopleDisplayView)}}function gA(r,i){1&r&&e._UZ(0,"mat-spinner",28)}r_.\u0275fac=function(i){return new(i||r_)(e.Y36(Zr),e.Y36(Ae),e.Y36(_t))},r_.\u0275cmp=e.Xpm({type:r_,selectors:[["import-follow-dialog"]],decls:14,vars:0,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["mat-stroked-button","",3,"click"],["type","file","accept",".json",3,"change"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"]],template:function(i,t){1&i&&(e.TgZ(0,"h1",0),e._uU(1,"Import complete following list"),e.qZA(),e.TgZ(2,"div",1)(3,"p"),e._uU(4,"Choose if you want to import from your latest contacts event or from file (backup) on your device."),e.qZA(),e.TgZ(5,"p")(6,"button",2),e.NdJ("click",function(){return t.import()}),e._uU(7,"Import my latest contacts"),e.qZA()(),e.TgZ(8,"p"),e._uU(9," Import from file: "),e.TgZ(10,"input",3),e.NdJ("change",function(a){return t.onFileSelected(a)}),e.qZA()()(),e.TgZ(11,"div",4)(12,"button",2),e.NdJ("click",function(){return t.onNoClick()}),e._uU(13,"Cancel"),e.qZA()())},dependencies:[Dt.lW,kt,yt,Bi],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});const _A=function(r){return[r]};class a_{constructor(i,t,n,a,l,v,T,G,z,be,Ve,bt){this.circleService=i,this.navigation=t,this.appState=n,this.cd=a,this.dialog=l,this.profileService=v,this.validator=T,this.dataService=G,this.utilities=z,this.router=be,this.snackBar=Ve,this.optionsService=bt,this.loading=!1,this.showBlocked=!1,this.showCached=!1,this.showMuted=!1,this.showAbout=!0,this.showFollowingDate=!0,this.following=[],this.items=[],this.sortedItems=[],this.selected="name-asc",this.subscriptions=[]}updateSorting(){this.optionsService.save();const i=this.optionsService.values.peopleDisplaySort;"name-asc"===i?this.sortedItems=this.items.sort((t,n)=>t.name?.toLowerCase()t.name?.toLowerCase()t.followedt.followedt.created_att.created_at{i.createFollow()}}],yield i.load(),i.subscriptions.push(i.profileService.following$.subscribe((0,we.Z)(function*(){console.log("FOLLOWING CHANGED!!!"),yield i.load()}))),i.subscriptions.push(i.profileService.profilesChanged$.subscribe((0,we.Z)(function*(){console.log("profileService.profilesChanged$!!"),yield i.load()})))})()}getFollowingInCircle(i){return this.following.filter(null==i?t=>null==t.circle||0==t.circle:t=>t.circle==i)}getPublicPublicKeys(){console.log(this.following);const i=[];for(let t=0;tv.pubkey);i.push(...l)}}return i}addFollow(i){var t=this;return(0,we.Z)(function*(){i.startsWith("nsec")?t.snackBar.open("This is a private key, not a public key.","Hide",{horizontalPosition:"center",verticalPosition:"bottom"}):(i=t.utilities.ensureHexIdentifier(i),yield t.profileService.follow(i))})()}createFollow(){var i=this;this.dialog.open(n_,{data:{},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,we.Z)(function*(a){if(!a)return;let l=a.pubkey;l=l.replaceAll("[","").replaceAll("]","").replaceAll('"',"");const v=l.split(",");for(let T=0;T-1){v[T].startsWith("@")&&(v[T]=v[T].substring(1));const G=yield Va.queryProfile(v[T]);if(!G)return void i.snackBar.open("Unable to find the user.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"});v[T]=G.pubkey}yield i.addFollow(v[T])}setTimeout(()=>{i.router.navigate(["/p",v[0]])},100)});return function(a){return n.apply(this,arguments)}}())}publishFollowList(){var i=this;return(0,we.Z)(function*(){const t=i.getPublicPublicKeys();yield i.dataService.publishContacts(t),i.snackBar.open(`A total of ${t.length} was added to your public following list`,"Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"})})()}downloadFollowing(){var i=this;return(0,we.Z)(function*(){const t=yield i.dataService.getContactsAndRelays(),n=JSON.stringify(t),a=new Blob([n],{type:"application/json"}),l=document.createElement("a");l.href=URL.createObjectURL(a),l.download=`metadata-${i.appState.getPublicKey()}.json`,l.click()})()}importFollowList(){var i=this;return(0,we.Z)(function*(){i.dialog.open(r_,{data:{pubkey:i.appState.getPublicKey()},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,we.Z)(function*(a){if(a)if(i.snackBar.open("Importing followers process has started","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"}),a.import){const l=yield i.profileService.getProfile(i.appState.getPublicKey());if(!l||!l.following)return;for(let v=0;v{G&&this.buildTree(G)}),this.ui.event$.subscribe(G=>{if(null==G)return;let z=this.eventService.rootEventId(G);z||(z=G.id),this.eventService.parentEventId(G)})}getEvent(i){return this.ui.events.find(t=>t.id==i)}getTreeEntry(i){return this.ui.getThreadEntry(i)}buildTree(i){i.length>1e3&&console.log("There are more than 1000 events... likely spam!")}replyEventId(i,t){for(let n=0;n3&&"reply"==a[3])return a[1]}return null==i[1]?i[0][1]:i[1][1]}rootEventId(i){for(let t=0;t3&&"root"==n[3])return n[1]}return i[0][1]}loadEventThread(i){this.navigationService.currentThread=[]}}function bA(r,i){if(1&r&&e._UZ(0,"img",13),2&r){const t=e.oxw().$implicit;e.Q6J("matTooltip",t.profile.about)("src",t.profile.picture,e.LSH)}}function yA(r,i){if(1&r&&e._UZ(0,"img",14),2&r){const t=e.oxw().$implicit;e.Q6J("matTooltip",t.profile.about)("src",t.profile.picture,e.LSH)}}function vA(r,i){if(1&r&&(e.TgZ(0,"div",3)(1,"div",4)(2,"div",5),e.YNc(3,bA,1,2,"img",6),e.YNc(4,yA,1,2,"img",7),e.qZA(),e.TgZ(5,"div",8)(6,"div",9)(7,"span",10),e._uU(8),e.qZA()()()(),e.TgZ(9,"div",11)(10,"span",12),e._uU(11),e.qZA()()()),2&r){const t=i.$implicit,n=e.oxw();e.xp6(3),e.Q6J("ngIf",1==(null==t.profile?null:t.profile.status)||2==(null==n.profile?null:n.profile.status)),e.xp6(1),e.Q6J("ngIf",1!=(null==t.profile?null:t.profile.status)&&2!=(null==t.profile?null:t.profile.status)),e.xp6(3),e.ekj("muted",2==t.profile.status),e.Q6J("matTooltip",t.profile.display_name),e.xp6(1),e.Oqu(t.profile.display_name),e.xp6(3),e.hij(" \u26a1\ufe0f ",t.zap.amount,"")}}Dc.\u0275fac=function(i){return new(i||Dc)(e.LFG(zr),e.LFG(Fr),e.LFG(Br),e.LFG(Zr),e.LFG(Yn),e.LFG(pa),e.LFG(za))},Dc.\u0275prov=e.Yz7({token:Dc,factory:Dc.\u0275fac,providedIn:"root"});class o_{constructor(i,t,n,a){this.data=i,this.util=t,this.profileServ=n,this.dialogRef=a,this.minSendable=0,this.maxSendable=0,this.amount=0,this.comment="",this.payRequest=null,this.invoice={pr:""},this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.error="",this.zappers=[]}ngOnInit(){var i=this;return(0,we.Z)(function*(){(i.data.zaps?i.data.zaps:[]).forEach(function(){var n=(0,we.Z)(function*(a){let l=a.zapper;null!=l&&i.profileServ.getProfile(l).then(function(){var v=(0,we.Z)(function*(T){T.display_name=T.display_name||T.name||i.util.getNostrIdentifier(T.pubkey),i.zappers.push({profile:T,zap:a})});return function(T){return v.apply(this,arguments)}}())});return function(a){return n.apply(this,arguments)}}())})()}}function wA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"span",4),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openDialog())}),e._uU(1),e.qZA()}if(2&r){const t=e.oxw();e.xp6(1),e.hij("\u26a1\ufe0f",t.amountZapped,"")}}function xA(r,i){if(1&r&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.hij("\u{1f501} ",null==t.threadEntry?null:t.threadEntry.boosts,"")}}function FA(r,i){if(1&r&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.AsE(" ",t.key," ",t.value," ")}}o_.\u0275fac=function(i){return new(i||o_)(e.Y36(_t),e.Y36(pn.dU),e.Y36(Yn),e.Y36(Ae))},o_.\u0275cmp=e.Xpm({type:o_,selectors:[["app-zappers-list-dialog"]],decls:4,vars:1,consts:[["mat-dialog-content",""],[2,"text-align","center","margin-bottom","25px"],["class","profile-container",4,"ngFor","ngForOf"],[1,"profile-container"],[1,"left",2,"display","flex","align-items","center","margin-right","40px"],[1,"icon","icon-small",2,"flex","0 0 auto","margin-right","8px"],["onerror","this.src='/assets/profile.png'","class","profile-image profile-image-follow","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],["loading","lazy","onerror","this.src='/assets/profile.png'","class","profile-image","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],[2,"flex","1 1 auto"],[1,"name","clickable"],["matTooltipPosition","above",3,"matTooltip"],[1,"right"],["matTooltipPosition","above",1,"zap-amount"],["onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image","profile-image-follow",3,"matTooltip","src"],["loading","lazy","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image",3,"matTooltip","src"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h2",1),e._uU(2,"Zappers"),e.qZA(),e.YNc(3,vA,12,7,"div",2),e.qZA()),2&i&&(e.xp6(3),e.Q6J("ngForOf",t.zappers))},dependencies:[F.sg,F.O5,fo,yt],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{display:inline}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.zap-button[_ngcontent-%COMP%]{background-color:#9c27b0;color:#fff}.profile-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:30px}.icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;overflow:hidden;margin-right:10px}.profile-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border:unset}.name[_ngcontent-%COMP%]{font-size:18px;font-weight:700;text-align:center}.emoji-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.emoji-button[_ngcontent-%COMP%]{margin:0 18px;border-radius:15%;background-color:#eee;width:100%;height:100%}.favorite-btn[_ngcontent-%COMP%], .thumb-up-btn[_ngcontent-%COMP%], .applause-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;position:relative}.emoji-button[_ngcontent-%COMP%]:hover{background-color:#9c27b0}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]:hover{color:#fff}.favorite-btn[_ngcontent-%COMP%] .emoji-number[_ngcontent-%COMP%], .thumb-up-btn[_ngcontent-%COMP%] .emoji-number[_ngcontent-%COMP%], .applause-btn[_ngcontent-%COMP%] .emoji-number[_ngcontent-%COMP%]{position:absolute;right:-15px;font-size:14px}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: rgba(255, 255, 255, 0);--mat-mdc-button-ripple-color: rgba(255, 255, 255, 0)}.profile-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.left[_ngcontent-%COMP%]{align-self:flex-start}.right[_ngcontent-%COMP%]{align-self:flex-end}.zap-amount[_ngcontent-%COMP%]{display:inline-block;border:2px solid #9c27b0;border-radius:10px;padding:10px 15px;font-weight:700;color:#fff;background-color:#9c27b0;box-shadow:2px 2px 5px #0000004d}"]});const CA=function(r,i){return{"no-lines":r,lines:i}};class Fu{constructor(i,t,n,a,l){this.thread=i,this.profiles=t,this.ui=n,this.optionsService=a,this.dialog=l,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.amountZapped=0}ngAfterViewInit(){}ngOnInit(){var i=this;return(0,we.Z)(function*(){if(!i.optionsService.values.enableReactions&&!i.optionsService.values.enableZapping)return i.event=void 0,void(i.threadEntry=void 0);i.sub=i.ui.reactions$.subscribe(t=>{i.event&&t==i.event.id&&(i.threadEntry=i.thread.getTreeEntry(i.event.id),i.amountZapped=i.threadEntry?.zaps?.reduce((n,a)=>n+a.amount,0)||0)}),i.threadEntry=i.thread.getTreeEntry(i.event?.id)})()}ngOnDestroy(){this.sub?.unsubscribe()}openDialog(){const i=this.threadEntry?.zaps;this.dialog.open(o_,{data:{zaps:i,event:this.event}})}}function kA(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(2);e.Oqu(t.unified)}}function DA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",2),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleClick(a))})("mouseenter",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleOver(a))})("mouseleave",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleLeave(a))}),e.TgZ(1,"span",3),e.YNc(2,kA,1,1,"ng-template",4),e.Hsn(3),e.qZA()()}if(2&r){const t=e.oxw();e.ekj("emoji-mart-emoji-native",t.isNative)("emoji-mart-emoji-custom",t.custom),e.uIk("title",t.title)("aria-label",t.label),e.xp6(1),e.Q6J("ngStyle",t.style),e.xp6(1),e.Q6J("ngIf",t.isNative)}}function MA(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(2);e.Oqu(t.unified)}}function EA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"span",5),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleClick(a))})("mouseenter",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleOver(a))})("mouseleave",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleLeave(a))}),e.TgZ(1,"span",3),e.YNc(2,MA,1,1,"ng-template",4),e.Hsn(3,1),e.qZA()()}if(2&r){const t=e.oxw();e.ekj("emoji-mart-emoji-native",t.isNative)("emoji-mart-emoji-custom",t.custom),e.uIk("title",t.title)("aria-label",t.label),e.xp6(1),e.Q6J("ngStyle",t.style),e.xp6(1),e.Q6J("ngIf",t.isNative)}}Fu.\u0275fac=function(i){return new(i||Fu)(e.Y36(Dc),e.Y36(Yn),e.Y36(zr),e.Y36(la.I),e.Y36(yi))},Fu.\u0275cmp=e.Xpm({type:Fu,selectors:[["app-event-reactions"]],inputs:{event:"event"},decls:5,vars:9,consts:[[1,"thread-reactions",3,"ngClass"],["class","thread-reaction","matTooltip","Open Zappers list","style","cursor: pointer",3,"click",4,"ngIf"],["class","thread-reaction",4,"ngIf"],["class","thread-reaction",4,"ngFor","ngForOf"],["matTooltip","Open Zappers list",1,"thread-reaction",2,"cursor","pointer",3,"click"],[1,"thread-reaction"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0),e.YNc(1,wA,2,1,"span",1),e.YNc(2,xA,2,1,"span",2),e.YNc(3,FA,2,2,"span",3),e.ALo(4,"keyvalue"),e.qZA()),2&i&&(e.Q6J("ngClass",e.WLB(6,CA,!t.optionsService.values.showLines,t.optionsService.values.showLines)),e.xp6(1),e.Q6J("ngIf",(null==t.threadEntry?null:t.threadEntry.zaps)&&t.optionsService.values.enableZapping),e.xp6(1),e.Q6J("ngIf",(null==t.threadEntry?null:t.threadEntry.boosts)&&t.optionsService.values.enableReactions),e.xp6(1),e.Q6J("ngForOf",e.lcZ(4,4,t.threadEntry.reactions)))},dependencies:[F.mk,F.sg,F.O5,fo,F.Nd],styles:[".thread-reactions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.4em}.thread-reaction[_ngcontent-%COMP%]{margin-right:.75em}"]});const RD=["*","*"],PD=[{id:"people",name:"Smileys & People",emojis:["1F600","1F603","1F604","1F601","1F606","1F605","1F923","1F602","1F642","1F643","1F609","1F60A","1F607","1F970","1F60D","1F929","1F618","1F617","263A-FE0F","1F61A","1F619","1F972","1F60B","1F61B","1F61C","1F92A","1F61D","1F911","1F917","1F92D","1F92B","1F914","1F910","1F928","1F610","1F611","1F636","1F60F","1F612","1F644","1F62C","1F925","1F60C","1F614","1F62A","1F924","1F634","1F637","1F912","1F915","1F922","1F92E","1F927","1F975","1F976","1F974","1F635","1F92F","1F920","1F973","1F978","1F60E","1F913","1F9D0","1F615","1F61F","1F641","2639-FE0F","1F62E","1F62F","1F632","1F633","1F97A","1F626","1F627","1F628","1F630","1F625","1F622","1F62D","1F631","1F616","1F623","1F61E","1F613","1F629","1F62B","1F971","1F624","1F621","1F620","1F92C","1F608","1F47F","1F480","2620-FE0F","1F4A9","1F921","1F479","1F47A","1F47B","1F47D","1F47E","1F916","1F63A","1F638","1F639","1F63B","1F63C","1F63D","1F640","1F63F","1F63E","1F648","1F44B","1F91A","1F590-FE0F","270B","1F596","1F44C","1F90C","1F90F","270C-FE0F","1F91E","1F91F","1F918","1F919","1F448","1F449","1F446","1F595","1F447","261D-FE0F","1F44D","1F44E","270A","1F44A","1F91B","1F91C","1F44F","1F64C","1F450","1F932","1F91D","1F64F","270D-FE0F","1F485","1F933","1F4AA","1F9BE","1F9BF","1F9B5","1F9B6","1F442","1F9BB","1F443","1F9E0","1FAC0","1FAC1","1F9B7","1F9B4","1F440","1F441-FE0F","1F445","1F444","1F476","1F9D2","1F466","1F467","1F9D1","1F471","1F468","1F9D4","1F468-200D-1F9B0","1F468-200D-1F9B1","1F468-200D-1F9B3","1F468-200D-1F9B2","1F469","1F469-200D-1F9B0","1F9D1-200D-1F9B0","1F469-200D-1F9B1","1F9D1-200D-1F9B1","1F469-200D-1F9B3","1F9D1-200D-1F9B3","1F469-200D-1F9B2","1F9D1-200D-1F9B2","1F471-200D-2640-FE0F","1F471-200D-2642-FE0F","1F9D3","1F474","1F475","1F64D","1F64D-200D-2642-FE0F","1F64D-200D-2640-FE0F","1F64E","1F64E-200D-2642-FE0F","1F64E-200D-2640-FE0F","1F645","1F645-200D-2642-FE0F","1F645-200D-2640-FE0F","1F646","1F646-200D-2642-FE0F","1F646-200D-2640-FE0F","1F481","1F481-200D-2642-FE0F","1F481-200D-2640-FE0F","1F64B","1F64B-200D-2642-FE0F","1F64B-200D-2640-FE0F","1F9CF","1F9CF-200D-2642-FE0F","1F9CF-200D-2640-FE0F","1F647","1F647-200D-2642-FE0F","1F647-200D-2640-FE0F","1F926","1F926-200D-2642-FE0F","1F926-200D-2640-FE0F","1F937","1F937-200D-2642-FE0F","1F937-200D-2640-FE0F","1F9D1-200D-2695-FE0F","1F468-200D-2695-FE0F","1F469-200D-2695-FE0F","1F9D1-200D-1F393","1F468-200D-1F393","1F469-200D-1F393","1F9D1-200D-1F3EB","1F468-200D-1F3EB","1F469-200D-1F3EB","1F9D1-200D-2696-FE0F","1F468-200D-2696-FE0F","1F469-200D-2696-FE0F","1F9D1-200D-1F33E","1F468-200D-1F33E","1F469-200D-1F33E","1F9D1-200D-1F373","1F468-200D-1F373","1F469-200D-1F373","1F9D1-200D-1F527","1F468-200D-1F527","1F469-200D-1F527","1F9D1-200D-1F3ED","1F468-200D-1F3ED","1F469-200D-1F3ED","1F9D1-200D-1F4BC","1F468-200D-1F4BC","1F469-200D-1F4BC","1F9D1-200D-1F52C","1F468-200D-1F52C","1F469-200D-1F52C","1F9D1-200D-1F4BB","1F468-200D-1F4BB","1F469-200D-1F4BB","1F9D1-200D-1F3A4","1F468-200D-1F3A4","1F469-200D-1F3A4","1F9D1-200D-1F3A8","1F468-200D-1F3A8","1F469-200D-1F3A8","1F9D1-200D-2708-FE0F","1F468-200D-2708-FE0F","1F469-200D-2708-FE0F","1F9D1-200D-1F680","1F468-200D-1F680","1F469-200D-1F680","1F9D1-200D-1F692","1F468-200D-1F692","1F469-200D-1F692","1F46E","1F46E-200D-2642-FE0F","1F46E-200D-2640-FE0F","1F575-FE0F","1F575-FE0F-200D-2642-FE0F","1F575-FE0F-200D-2640-FE0F","1F482","1F482-200D-2642-FE0F","1F482-200D-2640-FE0F","1F977","1F477","1F477-200D-2642-FE0F","1F477-200D-2640-FE0F","1F934","1F478","1F473","1F473-200D-2642-FE0F","1F473-200D-2640-FE0F","1F472","1F9D5","1F935","1F935-200D-2642-FE0F","1F935-200D-2640-FE0F","1F470","1F470-200D-2642-FE0F","1F470-200D-2640-FE0F","1F930","1F931","1F469-200D-1F37C","1F468-200D-1F37C","1F9D1-200D-1F37C","1F47C","1F385","1F936","1F9D1-200D-1F384","1F9B8","1F9B8-200D-2642-FE0F","1F9B8-200D-2640-FE0F","1F9B9","1F9B9-200D-2642-FE0F","1F9B9-200D-2640-FE0F","1F9D9","1F9D9-200D-2642-FE0F","1F9D9-200D-2640-FE0F","1F9DA","1F9DA-200D-2642-FE0F","1F9DA-200D-2640-FE0F","1F9DB","1F9DB-200D-2642-FE0F","1F9DB-200D-2640-FE0F","1F9DC","1F9DC-200D-2642-FE0F","1F9DC-200D-2640-FE0F","1F9DD","1F9DD-200D-2642-FE0F","1F9DD-200D-2640-FE0F","1F9DE","1F9DE-200D-2642-FE0F","1F9DE-200D-2640-FE0F","1F9DF","1F9DF-200D-2642-FE0F","1F9DF-200D-2640-FE0F","1F486","1F486-200D-2642-FE0F","1F486-200D-2640-FE0F","1F487","1F487-200D-2642-FE0F","1F487-200D-2640-FE0F","1F6B6","1F6B6-200D-2642-FE0F","1F6B6-200D-2640-FE0F","1F9CD","1F9CD-200D-2642-FE0F","1F9CD-200D-2640-FE0F","1F9CE","1F9CE-200D-2642-FE0F","1F9CE-200D-2640-FE0F","1F9D1-200D-1F9AF","1F468-200D-1F9AF","1F469-200D-1F9AF","1F9D1-200D-1F9BC","1F468-200D-1F9BC","1F469-200D-1F9BC","1F9D1-200D-1F9BD","1F468-200D-1F9BD","1F469-200D-1F9BD","1F3C3","1F3C3-200D-2642-FE0F","1F3C3-200D-2640-FE0F","1F483","1F57A","1F574-FE0F","1F46F","1F46F-200D-2642-FE0F","1F46F-200D-2640-FE0F","1F9D6","1F9D6-200D-2642-FE0F","1F9D6-200D-2640-FE0F","1F9D7","1F9D7-200D-2642-FE0F","1F9D7-200D-2640-FE0F","1F93A","1F3C7","26F7-FE0F","1F3C2","1F3CC-FE0F","1F3CC-FE0F-200D-2642-FE0F","1F3CC-FE0F-200D-2640-FE0F","1F3C4","1F3C4-200D-2642-FE0F","1F3C4-200D-2640-FE0F","1F6A3","1F6A3-200D-2642-FE0F","1F6A3-200D-2640-FE0F","1F3CA","1F3CA-200D-2642-FE0F","1F3CA-200D-2640-FE0F","26F9-FE0F","26F9-FE0F-200D-2642-FE0F","26F9-FE0F-200D-2640-FE0F","1F3CB-FE0F","1F3CB-FE0F-200D-2642-FE0F","1F3CB-FE0F-200D-2640-FE0F","1F6B4","1F6B4-200D-2642-FE0F","1F6B4-200D-2640-FE0F","1F6B5","1F6B5-200D-2642-FE0F","1F6B5-200D-2640-FE0F","1F938","1F938-200D-2642-FE0F","1F938-200D-2640-FE0F","1F93C","1F93C-200D-2642-FE0F","1F93C-200D-2640-FE0F","1F93D","1F93D-200D-2642-FE0F","1F93D-200D-2640-FE0F","1F93E","1F93E-200D-2642-FE0F","1F93E-200D-2640-FE0F","1F939","1F939-200D-2642-FE0F","1F939-200D-2640-FE0F","1F9D8","1F9D8-200D-2642-FE0F","1F9D8-200D-2640-FE0F","1F6C0","1F6CC","1F9D1-200D-1F91D-200D-1F9D1","1F46D","1F46B","1F46C","1F48F","1F469-200D-2764-FE0F-200D-1F48B-200D-1F468","1F468-200D-2764-FE0F-200D-1F48B-200D-1F468","1F469-200D-2764-FE0F-200D-1F48B-200D-1F469","1F491","1F469-200D-2764-FE0F-200D-1F468","1F468-200D-2764-FE0F-200D-1F468","1F469-200D-2764-FE0F-200D-1F469","1F46A","1F468-200D-1F469-200D-1F466","1F468-200D-1F469-200D-1F467","1F468-200D-1F469-200D-1F467-200D-1F466","1F468-200D-1F469-200D-1F466-200D-1F466","1F468-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F468-200D-1F466","1F468-200D-1F468-200D-1F467","1F468-200D-1F468-200D-1F467-200D-1F466","1F468-200D-1F468-200D-1F466-200D-1F466","1F468-200D-1F468-200D-1F467-200D-1F467","1F469-200D-1F469-200D-1F466","1F469-200D-1F469-200D-1F467","1F469-200D-1F469-200D-1F467-200D-1F466","1F469-200D-1F469-200D-1F466-200D-1F466","1F469-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F466","1F468-200D-1F466-200D-1F466","1F468-200D-1F467","1F468-200D-1F467-200D-1F466","1F468-200D-1F467-200D-1F467","1F469-200D-1F466","1F469-200D-1F466-200D-1F466","1F469-200D-1F467","1F469-200D-1F467-200D-1F466","1F469-200D-1F467-200D-1F467","1F5E3-FE0F","1F464","1F465","1FAC2","1F463","1F649","1F64A","1F48B","1F48C","1F498","1F49D","1F496","1F497","1F493","1F49E","1F495","1F49F","2763-FE0F","1F494","2764-FE0F","1F9E1","1F49B","1F49A","1F499","1F49C","1F90E","1F5A4","1F90D","1F4AF","1F4A2","1F4A5","1F4AB","1F4A6","1F4A8","1F573-FE0F","1F4A3","1F4AC","1F441-FE0F-200D-1F5E8-FE0F","1F5E8-FE0F","1F5EF-FE0F","1F4AD","1F4A4"]},{id:"nature",name:"Animals & Nature",emojis:["1F435","1F412","1F98D","1F9A7","1F436","1F415","1F9AE","1F415-200D-1F9BA","1F429","1F43A","1F98A","1F99D","1F431","1F408","1F408-200D-2B1B","1F981","1F42F","1F405","1F406","1F434","1F40E","1F984","1F993","1F98C","1F9AC","1F42E","1F402","1F403","1F404","1F437","1F416","1F417","1F43D","1F40F","1F411","1F410","1F42A","1F42B","1F999","1F992","1F418","1F9A3","1F98F","1F99B","1F42D","1F401","1F400","1F439","1F430","1F407","1F43F-FE0F","1F9AB","1F994","1F987","1F43B","1F43B-200D-2744-FE0F","1F428","1F43C","1F9A5","1F9A6","1F9A8","1F998","1F9A1","1F43E","1F983","1F414","1F413","1F423","1F424","1F425","1F426","1F427","1F54A-FE0F","1F985","1F986","1F9A2","1F989","1F9A4","1FAB6","1F9A9","1F99A","1F99C","1F438","1F40A","1F422","1F98E","1F40D","1F432","1F409","1F995","1F996","1F433","1F40B","1F42C","1F9AD","1F41F","1F420","1F421","1F988","1F419","1F41A","1F40C","1F98B","1F41B","1F41C","1F41D","1FAB2","1F41E","1F997","1FAB3","1F577-FE0F","1F578-FE0F","1F982","1F99F","1FAB0","1FAB1","1F9A0","1F490","1F338","1F4AE","1F3F5-FE0F","1F339","1F940","1F33A","1F33B","1F33C","1F337","1F331","1FAB4","1F332","1F333","1F334","1F335","1F33E","1F33F","2618-FE0F","1F340","1F341","1F342","1F343"]},{id:"foods",name:"Food & Drink",emojis:["1F347","1F348","1F349","1F34A","1F34B","1F34C","1F34D","1F96D","1F34E","1F34F","1F350","1F351","1F352","1F353","1FAD0","1F95D","1F345","1FAD2","1F965","1F951","1F346","1F954","1F955","1F33D","1F336-FE0F","1FAD1","1F952","1F96C","1F966","1F9C4","1F9C5","1F344","1F95C","1F330","1F35E","1F950","1F956","1FAD3","1F968","1F96F","1F95E","1F9C7","1F9C0","1F356","1F357","1F969","1F953","1F354","1F35F","1F355","1F32D","1F96A","1F32E","1F32F","1FAD4","1F959","1F9C6","1F95A","1F373","1F958","1F372","1FAD5","1F963","1F957","1F37F","1F9C8","1F9C2","1F96B","1F371","1F358","1F359","1F35A","1F35B","1F35C","1F35D","1F360","1F362","1F363","1F364","1F365","1F96E","1F361","1F95F","1F960","1F961","1F980","1F99E","1F990","1F991","1F9AA","1F366","1F367","1F368","1F369","1F36A","1F382","1F370","1F9C1","1F967","1F36B","1F36C","1F36D","1F36E","1F36F","1F37C","1F95B","2615","1FAD6","1F375","1F376","1F37E","1F377","1F378","1F379","1F37A","1F37B","1F942","1F943","1F964","1F9CB","1F9C3","1F9C9","1F9CA","1F962","1F37D-FE0F","1F374","1F944","1F52A","1F3FA"]},{id:"activity",name:"Activities",emojis:["1F383","1F384","1F386","1F387","1F9E8","2728","1F388","1F389","1F38A","1F38B","1F38D","1F38E","1F38F","1F390","1F391","1F9E7","1F380","1F381","1F397-FE0F","1F39F-FE0F","1F3AB","1F396-FE0F","1F3C6","1F3C5","1F947","1F948","1F949","26BD","26BE","1F94E","1F3C0","1F3D0","1F3C8","1F3C9","1F3BE","1F94F","1F3B3","1F3CF","1F3D1","1F3D2","1F94D","1F3D3","1F3F8","1F94A","1F94B","1F945","26F3","26F8-FE0F","1F3A3","1F93F","1F3BD","1F3BF","1F6F7","1F94C","1F3AF","1FA80","1FA81","1F3B1","1F52E","1FA84","1F9FF","1F3AE","1F579-FE0F","1F3B0","1F3B2","1F9E9","1F9F8","1FA85","1FA86","2660-FE0F","2665-FE0F","2666-FE0F","2663-FE0F","265F-FE0F","1F0CF","1F004","1F3B4","1F3AD","1F5BC-FE0F","1F3A8","1F9F5","1FAA1","1F9F6","1FAA2"]},{id:"places",name:"Travel & Places",emojis:["1F30D","1F30E","1F30F","1F310","1F5FA-FE0F","1F5FE","1F9ED","1F3D4-FE0F","26F0-FE0F","1F30B","1F5FB","1F3D5-FE0F","1F3D6-FE0F","1F3DC-FE0F","1F3DD-FE0F","1F3DE-FE0F","1F3DF-FE0F","1F3DB-FE0F","1F3D7-FE0F","1F9F1","1FAA8","1FAB5","1F6D6","1F3D8-FE0F","1F3DA-FE0F","1F3E0","1F3E1","1F3E2","1F3E3","1F3E4","1F3E5","1F3E6","1F3E8","1F3E9","1F3EA","1F3EB","1F3EC","1F3ED","1F3EF","1F3F0","1F492","1F5FC","1F5FD","26EA","1F54C","1F6D5","1F54D","26E9-FE0F","1F54B","26F2","26FA","1F301","1F303","1F3D9-FE0F","1F304","1F305","1F306","1F307","1F309","2668-FE0F","1F3A0","1F3A1","1F3A2","1F488","1F3AA","1F682","1F683","1F684","1F685","1F686","1F687","1F688","1F689","1F68A","1F69D","1F69E","1F68B","1F68C","1F68D","1F68E","1F690","1F691","1F692","1F693","1F694","1F695","1F696","1F697","1F698","1F699","1F6FB","1F69A","1F69B","1F69C","1F3CE-FE0F","1F3CD-FE0F","1F6F5","1F9BD","1F9BC","1F6FA","1F6B2","1F6F4","1F6F9","1F6FC","1F68F","1F6E3-FE0F","1F6E4-FE0F","1F6E2-FE0F","26FD","1F6A8","1F6A5","1F6A6","1F6D1","1F6A7","2693","26F5","1F6F6","1F6A4","1F6F3-FE0F","26F4-FE0F","1F6E5-FE0F","1F6A2","2708-FE0F","1F6E9-FE0F","1F6EB","1F6EC","1FA82","1F4BA","1F681","1F69F","1F6A0","1F6A1","1F6F0-FE0F","1F680","1F6F8","1F6CE-FE0F","1F9F3","231B","23F3","231A","23F0","23F1-FE0F","23F2-FE0F","1F570-FE0F","1F55B","1F567","1F550","1F55C","1F551","1F55D","1F552","1F55E","1F553","1F55F","1F554","1F560","1F555","1F561","1F556","1F562","1F557","1F563","1F558","1F564","1F559","1F565","1F55A","1F566","1F311","1F312","1F313","1F314","1F315","1F316","1F317","1F318","1F319","1F31A","1F31B","1F31C","1F321-FE0F","2600-FE0F","1F31D","1F31E","1FA90","2B50","1F31F","1F320","1F30C","2601-FE0F","26C5","26C8-FE0F","1F324-FE0F","1F325-FE0F","1F326-FE0F","1F327-FE0F","1F328-FE0F","1F329-FE0F","1F32A-FE0F","1F32B-FE0F","1F32C-FE0F","1F300","1F308","1F302","2602-FE0F","2614","26F1-FE0F","26A1","2744-FE0F","2603-FE0F","26C4","2604-FE0F","1F525","1F4A7","1F30A"]},{id:"objects",name:"Objects",emojis:["1F453","1F576-FE0F","1F97D","1F97C","1F9BA","1F454","1F455","1F456","1F9E3","1F9E4","1F9E5","1F9E6","1F457","1F458","1F97B","1FA71","1FA72","1FA73","1F459","1F45A","1F45B","1F45C","1F45D","1F6CD-FE0F","1F392","1FA74","1F45E","1F45F","1F97E","1F97F","1F460","1F461","1FA70","1F462","1F451","1F452","1F3A9","1F393","1F9E2","1FA96","26D1-FE0F","1F4FF","1F484","1F48D","1F48E","1F507","1F508","1F509","1F50A","1F4E2","1F4E3","1F4EF","1F514","1F515","1F3BC","1F3B5","1F3B6","1F399-FE0F","1F39A-FE0F","1F39B-FE0F","1F3A4","1F3A7","1F4FB","1F3B7","1FA97","1F3B8","1F3B9","1F3BA","1F3BB","1FA95","1F941","1FA98","1F4F1","1F4F2","260E-FE0F","1F4DE","1F4DF","1F4E0","1F50B","1F50C","1F4BB","1F5A5-FE0F","1F5A8-FE0F","2328-FE0F","1F5B1-FE0F","1F5B2-FE0F","1F4BD","1F4BE","1F4BF","1F4C0","1F9EE","1F3A5","1F39E-FE0F","1F4FD-FE0F","1F3AC","1F4FA","1F4F7","1F4F8","1F4F9","1F4FC","1F50D","1F50E","1F56F-FE0F","1F4A1","1F526","1F3EE","1FA94","1F4D4","1F4D5","1F4D6","1F4D7","1F4D8","1F4D9","1F4DA","1F4D3","1F4D2","1F4C3","1F4DC","1F4C4","1F4F0","1F5DE-FE0F","1F4D1","1F516","1F3F7-FE0F","1F4B0","1FA99","1F4B4","1F4B5","1F4B6","1F4B7","1F4B8","1F4B3","1F9FE","1F4B9","2709-FE0F","1F4E7","1F4E8","1F4E9","1F4E4","1F4E5","1F4E6","1F4EB","1F4EA","1F4EC","1F4ED","1F4EE","1F5F3-FE0F","270F-FE0F","2712-FE0F","1F58B-FE0F","1F58A-FE0F","1F58C-FE0F","1F58D-FE0F","1F4DD","1F4BC","1F4C1","1F4C2","1F5C2-FE0F","1F4C5","1F4C6","1F5D2-FE0F","1F5D3-FE0F","1F4C7","1F4C8","1F4C9","1F4CA","1F4CB","1F4CC","1F4CD","1F4CE","1F587-FE0F","1F4CF","1F4D0","2702-FE0F","1F5C3-FE0F","1F5C4-FE0F","1F5D1-FE0F","1F512","1F513","1F50F","1F510","1F511","1F5DD-FE0F","1F528","1FA93","26CF-FE0F","2692-FE0F","1F6E0-FE0F","1F5E1-FE0F","2694-FE0F","1F52B","1FA83","1F3F9","1F6E1-FE0F","1FA9A","1F527","1FA9B","1F529","2699-FE0F","1F5DC-FE0F","2696-FE0F","1F9AF","1F517","26D3-FE0F","1FA9D","1F9F0","1F9F2","1FA9C","2697-FE0F","1F9EA","1F9EB","1F9EC","1F52C","1F52D","1F4E1","1F489","1FA78","1F48A","1FA79","1FA7A","1F6AA","1F6D7","1FA9E","1FA9F","1F6CF-FE0F","1F6CB-FE0F","1FA91","1F6BD","1FAA0","1F6BF","1F6C1","1FAA4","1FA92","1F9F4","1F9F7","1F9F9","1F9FA","1F9FB","1FAA3","1F9FC","1FAA5","1F9FD","1F9EF","1F6D2","1F6AC","26B0-FE0F","1FAA6","26B1-FE0F","1F5FF","1FAA7"]},{id:"symbols",name:"Symbols",emojis:["1F3E7","1F6AE","1F6B0","267F","1F6B9","1F6BA","1F6BB","1F6BC","1F6BE","1F6C2","1F6C3","1F6C4","1F6C5","26A0-FE0F","1F6B8","26D4","1F6AB","1F6B3","1F6AD","1F6AF","1F6B1","1F6B7","1F4F5","1F51E","2622-FE0F","2623-FE0F","2B06-FE0F","2197-FE0F","27A1-FE0F","2198-FE0F","2B07-FE0F","2199-FE0F","2B05-FE0F","2196-FE0F","2195-FE0F","2194-FE0F","21A9-FE0F","21AA-FE0F","2934-FE0F","2935-FE0F","1F503","1F504","1F519","1F51A","1F51B","1F51C","1F51D","1F6D0","269B-FE0F","1F549-FE0F","2721-FE0F","2638-FE0F","262F-FE0F","271D-FE0F","2626-FE0F","262A-FE0F","262E-FE0F","1F54E","1F52F","2648","2649","264A","264B","264C","264D","264E","264F","2650","2651","2652","2653","26CE","1F500","1F501","1F502","25B6-FE0F","23E9","23ED-FE0F","23EF-FE0F","25C0-FE0F","23EA","23EE-FE0F","1F53C","23EB","1F53D","23EC","23F8-FE0F","23F9-FE0F","23FA-FE0F","23CF-FE0F","1F3A6","1F505","1F506","1F4F6","1F4F3","1F4F4","2640-FE0F","2642-FE0F","26A7-FE0F","2716-FE0F","2795","2796","2797","267E-FE0F","203C-FE0F","2049-FE0F","2753","2754","2755","2757","3030-FE0F","1F4B1","1F4B2","2695-FE0F","267B-FE0F","269C-FE0F","1F531","1F4DB","1F530","2B55","2705","2611-FE0F","2714-FE0F","274C","274E","27B0","27BF","303D-FE0F","2733-FE0F","2734-FE0F","2747-FE0F","00A9-FE0F","00AE-FE0F","2122-FE0F","0023-FE0F-20E3","002A-FE0F-20E3","0030-FE0F-20E3","0031-FE0F-20E3","0032-FE0F-20E3","0033-FE0F-20E3","0034-FE0F-20E3","0035-FE0F-20E3","0036-FE0F-20E3","0037-FE0F-20E3","0038-FE0F-20E3","0039-FE0F-20E3","1F51F","1F520","1F521","1F522","1F523","1F524","1F170-FE0F","1F18E","1F171-FE0F","1F191","1F192","1F193","2139-FE0F","1F194","24C2-FE0F","1F195","1F196","1F17E-FE0F","1F197","1F17F-FE0F","1F198","1F199","1F19A","1F201","1F202-FE0F","1F237-FE0F","1F236","1F22F","1F250","1F239","1F21A","1F232","1F251","1F238","1F234","1F233","3297-FE0F","3299-FE0F","1F23A","1F235","1F534","1F7E0","1F7E1","1F7E2","1F535","1F7E3","1F7E4","26AB","26AA","1F7E5","1F7E7","1F7E8","1F7E9","1F7E6","1F7EA","1F7EB","2B1B","2B1C","25FC-FE0F","25FB-FE0F","25FE","25FD","25AA-FE0F","25AB-FE0F","1F536","1F537","1F538","1F539","1F53A","1F53B","1F4A0","1F518","1F533","1F532"]},{id:"flags",name:"Flags",emojis:["1F1E6-1F1E8","1F1E6-1F1E9","1F1E6-1F1EA","1F1E6-1F1EB","1F1E6-1F1EC","1F1E6-1F1EE","1F1E6-1F1F1","1F1E6-1F1F2","1F1E6-1F1F4","1F1E6-1F1F6","1F1E6-1F1F7","1F1E6-1F1F8","1F1E6-1F1F9","1F1E6-1F1FA","1F1E6-1F1FC","1F1E6-1F1FD","1F1E6-1F1FF","1F1E7-1F1E6","1F1E7-1F1E7","1F1E7-1F1E9","1F1E7-1F1EA","1F1E7-1F1EB","1F1E7-1F1EC","1F1E7-1F1ED","1F1E7-1F1EE","1F1E7-1F1EF","1F1E7-1F1F1","1F1E7-1F1F2","1F1E7-1F1F3","1F1E7-1F1F4","1F1E7-1F1F6","1F1E7-1F1F7","1F1E7-1F1F8","1F1E7-1F1F9","1F1E7-1F1FB","1F1E7-1F1FC","1F1E7-1F1FE","1F1E7-1F1FF","1F1E8-1F1E6","1F1E8-1F1E8","1F1E8-1F1E9","1F1E8-1F1EB","1F1E8-1F1EC","1F1E8-1F1ED","1F1E8-1F1EE","1F1E8-1F1F0","1F1E8-1F1F1","1F1E8-1F1F2","1F1E8-1F1F3","1F1E8-1F1F4","1F1E8-1F1F5","1F1E8-1F1F7","1F1E8-1F1FA","1F1E8-1F1FB","1F1E8-1F1FC","1F1E8-1F1FD","1F1E8-1F1FE","1F1E8-1F1FF","1F1E9-1F1EA","1F1E9-1F1EC","1F1E9-1F1EF","1F1E9-1F1F0","1F1E9-1F1F2","1F1E9-1F1F4","1F1E9-1F1FF","1F1EA-1F1E6","1F1EA-1F1E8","1F1EA-1F1EA","1F1EA-1F1EC","1F1EA-1F1ED","1F1EA-1F1F7","1F1EA-1F1F8","1F1EA-1F1F9","1F1EA-1F1FA","1F1EB-1F1EE","1F1EB-1F1EF","1F1EB-1F1F0","1F1EB-1F1F2","1F1EB-1F1F4","1F1EB-1F1F7","1F1EC-1F1E6","1F1EC-1F1E7","1F1EC-1F1E9","1F1EC-1F1EA","1F1EC-1F1EB","1F1EC-1F1EC","1F1EC-1F1ED","1F1EC-1F1EE","1F1EC-1F1F1","1F1EC-1F1F2","1F1EC-1F1F3","1F1EC-1F1F5","1F1EC-1F1F6","1F1EC-1F1F7","1F1EC-1F1F8","1F1EC-1F1F9","1F1EC-1F1FA","1F1EC-1F1FC","1F1EC-1F1FE","1F1ED-1F1F0","1F1ED-1F1F2","1F1ED-1F1F3","1F1ED-1F1F7","1F1ED-1F1F9","1F1ED-1F1FA","1F1EE-1F1E8","1F1EE-1F1E9","1F1EE-1F1EA","1F1EE-1F1F1","1F1EE-1F1F2","1F1EE-1F1F3","1F1EE-1F1F4","1F1EE-1F1F6","1F1EE-1F1F7","1F1EE-1F1F8","1F1EE-1F1F9","1F1EF-1F1EA","1F1EF-1F1F2","1F1EF-1F1F4","1F1EF-1F1F5","1F1F0-1F1EA","1F1F0-1F1EC","1F1F0-1F1ED","1F1F0-1F1EE","1F1F0-1F1F2","1F1F0-1F1F3","1F1F0-1F1F5","1F1F0-1F1F7","1F1F0-1F1FC","1F1F0-1F1FE","1F1F0-1F1FF","1F1F1-1F1E6","1F1F1-1F1E7","1F1F1-1F1E8","1F1F1-1F1EE","1F1F1-1F1F0","1F1F1-1F1F7","1F1F1-1F1F8","1F1F1-1F1F9","1F1F1-1F1FA","1F1F1-1F1FB","1F1F1-1F1FE","1F1F2-1F1E6","1F1F2-1F1E8","1F1F2-1F1E9","1F1F2-1F1EA","1F1F2-1F1EB","1F1F2-1F1EC","1F1F2-1F1ED","1F1F2-1F1F0","1F1F2-1F1F1","1F1F2-1F1F2","1F1F2-1F1F3","1F1F2-1F1F4","1F1F2-1F1F5","1F1F2-1F1F6","1F1F2-1F1F7","1F1F2-1F1F8","1F1F2-1F1F9","1F1F2-1F1FA","1F1F2-1F1FB","1F1F2-1F1FC","1F1F2-1F1FD","1F1F2-1F1FE","1F1F2-1F1FF","1F1F3-1F1E6","1F1F3-1F1E8","1F1F3-1F1EA","1F1F3-1F1EB","1F1F3-1F1EC","1F1F3-1F1EE","1F1F3-1F1F1","1F1F3-1F1F4","1F1F3-1F1F5","1F1F3-1F1F7","1F1F3-1F1FA","1F1F3-1F1FF","1F1F4-1F1F2","1F1F5-1F1E6","1F1F5-1F1EA","1F1F5-1F1EB","1F1F5-1F1EC","1F1F5-1F1ED","1F1F5-1F1F0","1F1F5-1F1F1","1F1F5-1F1F2","1F1F5-1F1F3","1F1F5-1F1F7","1F1F5-1F1F8","1F1F5-1F1F9","1F1F5-1F1FC","1F1F5-1F1FE","1F1F6-1F1E6","1F1F7-1F1EA","1F1F7-1F1F4","1F1F7-1F1F8","1F1F7-1F1FA","1F1F7-1F1FC","1F1F8-1F1E6","1F1F8-1F1E7","1F1F8-1F1E8","1F1F8-1F1E9","1F1F8-1F1EA","1F1F8-1F1EC","1F1F8-1F1ED","1F1F8-1F1EE","1F1F8-1F1EF","1F1F8-1F1F0","1F1F8-1F1F1","1F1F8-1F1F2","1F1F8-1F1F3","1F1F8-1F1F4","1F1F8-1F1F7","1F1F8-1F1F8","1F1F8-1F1F9","1F1F8-1F1FB","1F1F8-1F1FD","1F1F8-1F1FE","1F1F8-1F1FF","1F1F9-1F1E6","1F1F9-1F1E8","1F1F9-1F1E9","1F1F9-1F1EB","1F1F9-1F1EC","1F1F9-1F1ED","1F1F9-1F1EF","1F1F9-1F1F0","1F1F9-1F1F1","1F1F9-1F1F2","1F1F9-1F1F3","1F1F9-1F1F4","1F1F9-1F1F7","1F1F9-1F1F9","1F1F9-1F1FB","1F1F9-1F1FC","1F1F9-1F1FF","1F1FA-1F1E6","1F1FA-1F1EC","1F1FA-1F1F2","1F1FA-1F1F3","1F1FA-1F1F8","1F1FA-1F1FE","1F1FA-1F1FF","1F1FB-1F1E6","1F1FB-1F1E8","1F1FB-1F1EA","1F1FB-1F1EC","1F1FB-1F1EE","1F1FB-1F1F3","1F1FB-1F1FA","1F1FC-1F1EB","1F1FC-1F1F8","1F1FD-1F1F0","1F1FE-1F1EA","1F1FE-1F1F9","1F1FF-1F1E6","1F1FF-1F1F2","1F1FF-1F1FC","1F38C","1F3C1","1F3F3-FE0F","1F3F3-FE0F-200D-1F308","1F3F3-FE0F-200D-26A7-FE0F","1F3F4","1F3F4-200D-2620-FE0F","1F3F4-E0067-E0062-E0065-E006E-E0067-E007F","1F3F4-E0067-E0062-E0073-E0063-E0074-E007F","1F3F4-E0067-E0062-E0077-E006C-E0073-E007F","1F6A9"]}],AA=[{name:"Grinning Face",unified:"1F600",text:":D",keywords:["grinning_face","face","smile","happy","joy",":D","grin"],sheet:[30,32],shortName:"grinning"},{name:"Smiling Face with Open Mouth",unified:"1F603",text:":)",emoticons:["=)","=-)"],keywords:["grinning_face_with_big_eyes","face","happy","joy","haha",":D",":)","smile","funny"],sheet:[30,35],shortName:"smiley"},{name:"Smiling Face with Open Mouth and Smiling Eyes",unified:"1F604",text:":)",emoticons:["C:","c:",":D",":-D"],keywords:["grinning_face_with_smiling_eyes","face","happy","joy","funny","haha","laugh","like",":D",":)","smile"],sheet:[30,36],shortName:"smile"},{name:"Grinning Face with Smiling Eyes",unified:"1F601",keywords:["beaming_face_with_smiling_eyes","face","happy","smile","joy","kawaii"],sheet:[30,33],shortName:"grin"},{name:"Smiling Face with Open Mouth and Tightly-Closed Eyes",unified:"1F606",emoticons:[":>",":->"],keywords:["grinning_squinting_face","happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],sheet:[30,38],shortNames:["satisfied"],shortName:"laughing"},{name:"Smiling Face with Open Mouth and Cold Sweat",unified:"1F605",keywords:["grinning_face_with_sweat","face","hot","happy","laugh","sweat","smile","relief"],sheet:[30,37],shortName:"sweat_smile"},{name:"Rolling on the Floor Laughing",unified:"1F923",keywords:["rolling_on_the_floor_laughing","face","rolling","floor","laughing","lol","haha","rofl"],sheet:[38,19],shortName:"rolling_on_the_floor_laughing"},{name:"Face with Tears of Joy",unified:"1F602",keywords:["face_with_tears_of_joy","face","cry","tears","weep","happy","happytears","haha"],sheet:[30,34],shortName:"joy"},{name:"Slightly Smiling Face",unified:"1F642",emoticons:[":)","(:",":-)"],keywords:["slightly_smiling_face","face","smile"],sheet:[31,40],shortName:"slightly_smiling_face"},{name:"Upside-Down Face",unified:"1F643",keywords:["upside_down_face","face","flipped","silly","smile"],sheet:[31,41],shortName:"upside_down_face"},{name:"Winking Face",unified:"1F609",text:";)",emoticons:[";)",";-)"],keywords:["winking_face","face","happy","mischievous","secret",";)","smile","eye"],sheet:[30,41],shortName:"wink"},{name:"Smiling Face with Smiling Eyes",unified:"1F60A",text:":)",keywords:["smiling_face_with_smiling_eyes","face","smile","happy","flushed","crush","embarrassed","shy","joy"],sheet:[30,42],shortName:"blush"},{name:"Smiling Face with Halo",unified:"1F607",keywords:["smiling_face_with_halo","face","angel","heaven","halo"],sheet:[30,39],shortName:"innocent"},{name:"Smiling Face with Smiling Eyes and Three Hearts",unified:"1F970",keywords:["smiling_face_with_hearts","face","love","like","affection","valentines","infatuation","crush","hearts","adore"],sheet:[42,13],shortName:"smiling_face_with_3_hearts"},{name:"Smiling Face with Heart-Shaped Eyes",unified:"1F60D",keywords:["smiling_face_with_heart_eyes","face","love","like","affection","valentines","infatuation","crush","heart"],sheet:[30,45],shortName:"heart_eyes"},{name:"Grinning Face with Star Eyes",unified:"1F929",keywords:["star_struck","face","smile","starry","eyes","grinning"],sheet:[38,42],shortNames:["grinning_face_with_star_eyes"],shortName:"star-struck"},{name:"Face Throwing a Kiss",unified:"1F618",emoticons:[":*",":-*"],keywords:["face_blowing_a_kiss","face","love","like","affection","valentines","infatuation","kiss"],sheet:[30,56],shortName:"kissing_heart"},{name:"Kissing Face",unified:"1F617",keywords:["kissing_face","love","like","face","3","valentines","infatuation","kiss"],sheet:[30,55],shortName:"kissing"},{name:"White Smiling Face",unified:"263A-FE0F",keywords:["smiling_face","face","blush","massage","happiness"],sheet:[54,22],shortName:"relaxed"},{name:"Kissing Face with Closed Eyes",unified:"1F61A",keywords:["kissing_face_with_closed_eyes","face","love","like","affection","valentines","infatuation","kiss"],sheet:[31,0],shortName:"kissing_closed_eyes"},{name:"Kissing Face with Smiling Eyes",unified:"1F619",keywords:["kissing_face_with_smiling_eyes","face","affection","valentines","infatuation","kiss"],sheet:[30,57],shortName:"kissing_smiling_eyes"},{name:"Smiling Face with Tear",unified:"1F972",keywords:["smiling face with tear","sad","cry","pretend"],sheet:[42,15],shortName:"smiling_face_with_tear"},{name:"Face Savouring Delicious Food",unified:"1F60B",keywords:["face_savoring_food","happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],sheet:[30,43],shortName:"yum"},{name:"Face with Stuck-out Tongue",unified:"1F61B",text:":p",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["face_with_tongue","face","prank","childish","playful","mischievous","smile","tongue"],sheet:[31,1],shortName:"stuck_out_tongue"},{name:"Face with Stuck-out Tongue and Winking Eye",unified:"1F61C",text:";p",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["winking_face_with_tongue","face","prank","childish","playful","mischievous","smile","wink","tongue"],sheet:[31,2],shortName:"stuck_out_tongue_winking_eye"},{name:"Grinning Face with One Large and One Small Eye",unified:"1F92A",keywords:["zany_face","face","goofy","crazy"],sheet:[38,43],shortNames:["grinning_face_with_one_large_and_one_small_eye"],shortName:"zany_face"},{name:"Face with Stuck-out Tongue and Tightly-Closed Eyes",unified:"1F61D",keywords:["squinting_face_with_tongue","face","prank","playful","mischievous","smile","tongue"],sheet:[31,3],shortName:"stuck_out_tongue_closed_eyes"},{name:"Money-Mouth Face",unified:"1F911",keywords:["money_mouth_face","face","rich","dollar","money"],sheet:[37,24],shortName:"money_mouth_face"},{name:"Hugging Face",unified:"1F917",keywords:["hugging_face","face","smile","hug"],sheet:[37,30],shortName:"hugging_face"},{name:"Smiling Face with Smiling Eyes and Hand Covering Mouth",unified:"1F92D",keywords:["face_with_hand_over_mouth","face","whoops","shock","surprise"],sheet:[38,46],shortNames:["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],shortName:"face_with_hand_over_mouth"},{name:"Face with Finger Covering Closed Lips",unified:"1F92B",keywords:["shushing_face","face","quiet","shhh"],sheet:[38,44],shortNames:["face_with_finger_covering_closed_lips"],shortName:"shushing_face"},{name:"Thinking Face",unified:"1F914",keywords:["thinking_face","face","hmmm","think","consider"],sheet:[37,27],shortName:"thinking_face"},{name:"Zipper-Mouth Face",unified:"1F910",keywords:["zipper_mouth_face","face","sealed","zipper","secret"],sheet:[37,23],shortName:"zipper_mouth_face"},{name:"Face with One Eyebrow Raised",unified:"1F928",keywords:["face_with_raised_eyebrow","face","distrust","scepticism","disapproval","disbelief","surprise"],sheet:[38,41],shortNames:["face_with_one_eyebrow_raised"],shortName:"face_with_raised_eyebrow"},{name:"Neutral Face",unified:"1F610",emoticons:[":|",":-|"],keywords:["neutral_face","indifference","meh",":|","neutral"],sheet:[30,48],shortName:"neutral_face"},{name:"Expressionless Face",unified:"1F611",keywords:["expressionless_face","face","indifferent","-_-","meh","deadpan"],sheet:[30,49],shortName:"expressionless"},{name:"Face Without Mouth",unified:"1F636",keywords:["face_without_mouth","face","hellokitty"],sheet:[31,28],shortName:"no_mouth"},{name:"Smirking Face",unified:"1F60F",keywords:["smirking_face","face","smile","mean","prank","smug","sarcasm"],sheet:[30,47],shortName:"smirk"},{name:"Unamused Face",unified:"1F612",text:":(",keywords:["unamused_face","indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],sheet:[30,50],shortName:"unamused"},{name:"Face with Rolling Eyes",unified:"1F644",keywords:["face_with_rolling_eyes","face","eyeroll","frustrated"],sheet:[31,42],shortName:"face_with_rolling_eyes"},{name:"Grimacing Face",unified:"1F62C",keywords:["grimacing_face","face","grimace","teeth"],sheet:[31,18],shortName:"grimacing"},{name:"Lying Face",unified:"1F925",keywords:["lying_face","face","lie","pinocchio"],sheet:[38,21],shortName:"lying_face"},{name:"Relieved Face",unified:"1F60C",keywords:["relieved_face","face","relaxed","phew","massage","happiness"],sheet:[30,44],shortName:"relieved"},{name:"Pensive Face",unified:"1F614",keywords:["pensive_face","face","sad","depressed","upset"],sheet:[30,52],shortName:"pensive"},{name:"Sleepy Face",unified:"1F62A",keywords:["sleepy_face","face","tired","rest","nap"],sheet:[31,16],shortName:"sleepy"},{name:"Drooling Face",unified:"1F924",keywords:["drooling_face","face"],sheet:[38,20],shortName:"drooling_face"},{name:"Sleeping Face",unified:"1F634",keywords:["sleeping_face","face","tired","sleepy","night","zzz"],sheet:[31,26],shortName:"sleeping"},{name:"Face with Medical Mask",unified:"1F637",keywords:["face_with_medical_mask","face","sick","ill","disease"],sheet:[31,29],shortName:"mask"},{name:"Face with Thermometer",unified:"1F912",keywords:["face_with_thermometer","sick","temperature","thermometer","cold","fever"],sheet:[37,25],shortName:"face_with_thermometer"},{name:"Face with Head-Bandage",unified:"1F915",keywords:["face_with_head_bandage","injured","clumsy","bandage","hurt"],sheet:[37,28],shortName:"face_with_head_bandage"},{name:"Nauseated Face",unified:"1F922",keywords:["nauseated_face","face","vomit","gross","green","sick","throw up","ill"],sheet:[38,18],shortName:"nauseated_face"},{name:"Face with Open Mouth Vomiting",unified:"1F92E",keywords:["face_vomiting","face","sick"],sheet:[38,47],shortNames:["face_with_open_mouth_vomiting"],shortName:"face_vomiting"},{name:"Sneezing Face",unified:"1F927",keywords:["sneezing_face","face","gesundheit","sneeze","sick","allergy"],sheet:[38,40],shortName:"sneezing_face"},{name:"Overheated Face",unified:"1F975",keywords:["hot_face","face","feverish","heat","red","sweating"],sheet:[42,18],shortName:"hot_face"},{name:"Freezing Face",unified:"1F976",keywords:["cold_face","face","blue","freezing","frozen","frostbite","icicles"],sheet:[42,19],shortName:"cold_face"},{name:"Face with Uneven Eyes and Wavy Mouth",unified:"1F974",keywords:["woozy_face","face","dizzy","intoxicated","tipsy","wavy"],sheet:[42,17],shortName:"woozy_face"},{name:"Dizzy Face",unified:"1F635",keywords:["dizzy_face","spent","unconscious","xox","dizzy"],sheet:[31,27],shortName:"dizzy_face"},{name:"Shocked Face with Exploding Head",unified:"1F92F",keywords:["exploding_head","face","shocked","mind","blown"],sheet:[38,48],shortNames:["shocked_face_with_exploding_head"],shortName:"exploding_head"},{name:"Face with Cowboy Hat",unified:"1F920",keywords:["cowboy_hat_face","face","cowgirl","hat"],sheet:[38,16],shortName:"face_with_cowboy_hat"},{name:"Face with Party Horn and Party Hat",unified:"1F973",keywords:["partying_face","face","celebration","woohoo"],sheet:[42,16],shortName:"partying_face"},{name:"Disguised Face",unified:"1F978",keywords:["disguised face","pretent","brows","glasses","moustache"],sheet:[42,26],shortName:"disguised_face"},{name:"Smiling Face with Sunglasses",unified:"1F60E",emoticons:["8)"],keywords:["smiling_face_with_sunglasses","face","cool","smile","summer","beach","sunglass"],sheet:[30,46],shortName:"sunglasses"},{name:"Nerd Face",unified:"1F913",keywords:["nerd_face","face","nerdy","geek","dork"],sheet:[37,26],shortName:"nerd_face"},{name:"Face with Monocle",unified:"1F9D0",keywords:["face_with_monocle","face","stuffy","wealthy"],sheet:[45,34],shortName:"face_with_monocle"},{name:"Confused Face",unified:"1F615",emoticons:[":\\",":-\\",":/",":-/"],keywords:["confused_face","face","indifference","huh","weird","hmmm",":/"],sheet:[30,53],shortName:"confused"},{name:"Worried Face",unified:"1F61F",keywords:["worried_face","face","concern","nervous",":("],sheet:[31,5],shortName:"worried"},{name:"Slightly Frowning Face",unified:"1F641",keywords:["slightly_frowning_face","face","frowning","disappointed","sad","upset"],sheet:[31,39],shortName:"slightly_frowning_face"},{name:"Frowning Face",unified:"2639-FE0F",keywords:["frowning_face","face","sad","upset","frown"],sheet:[54,21],shortName:"white_frowning_face"},{name:"Face with Open Mouth",unified:"1F62E",emoticons:[":o",":-o",":O",":-O"],keywords:["face_with_open_mouth","face","surprise","impressed","wow","whoa",":O"],sheet:[31,20],shortName:"open_mouth"},{name:"Hushed Face",unified:"1F62F",keywords:["hushed_face","face","woo","shh"],sheet:[31,21],shortName:"hushed"},{name:"Astonished Face",unified:"1F632",keywords:["astonished_face","face","xox","surprised","poisoned"],sheet:[31,24],shortName:"astonished"},{name:"Flushed Face",unified:"1F633",keywords:["flushed_face","face","blush","shy","flattered"],sheet:[31,25],shortName:"flushed"},{name:"Face with Pleading Eyes",unified:"1F97A",keywords:["pleading_face","face","begging","mercy"],sheet:[42,27],shortName:"pleading_face"},{name:"Frowning Face with Open Mouth",unified:"1F626",keywords:["frowning_face_with_open_mouth","face","aw","what"],sheet:[31,12],shortName:"frowning"},{name:"Anguished Face",unified:"1F627",emoticons:["D:"],keywords:["anguished_face","face","stunned","nervous"],sheet:[31,13],shortName:"anguished"},{name:"Fearful Face",unified:"1F628",keywords:["fearful_face","face","scared","terrified","nervous","oops","huh"],sheet:[31,14],shortName:"fearful"},{name:"Face with Open Mouth and Cold Sweat",unified:"1F630",keywords:["anxious_face_with_sweat","face","nervous","sweat"],sheet:[31,22],shortName:"cold_sweat"},{name:"Disappointed but Relieved Face",unified:"1F625",keywords:["sad_but_relieved_face","face","phew","sweat","nervous"],sheet:[31,11],shortName:"disappointed_relieved"},{name:"Crying Face",unified:"1F622",text:":'(",emoticons:[":'("],keywords:["crying_face","face","tears","sad","depressed","upset",":'("],sheet:[31,8],shortName:"cry"},{name:"Loudly Crying Face",unified:"1F62D",text:":'(",keywords:["loudly_crying_face","face","cry","tears","sad","upset","depressed"],sheet:[31,19],shortName:"sob"},{name:"Face Screaming in Fear",unified:"1F631",keywords:["face_screaming_in_fear","face","munch","scared","omg"],sheet:[31,23],shortName:"scream"},{name:"Confounded Face",unified:"1F616",keywords:["confounded_face","face","confused","sick","unwell","oops",":S"],sheet:[30,54],shortName:"confounded"},{name:"Persevering Face",unified:"1F623",keywords:["persevering_face","face","sick","no","upset","oops"],sheet:[31,9],shortName:"persevere"},{name:"Disappointed Face",unified:"1F61E",text:":(",emoticons:["):",":(",":-("],keywords:["disappointed_face","face","sad","upset","depressed",":("],sheet:[31,4],shortName:"disappointed"},{name:"Face with Cold Sweat",unified:"1F613",keywords:["downcast_face_with_sweat","face","hot","sad","tired","exercise"],sheet:[30,51],shortName:"sweat"},{name:"Weary Face",unified:"1F629",keywords:["weary_face","face","tired","sleepy","sad","frustrated","upset"],sheet:[31,15],shortName:"weary"},{name:"Tired Face",unified:"1F62B",keywords:["tired_face","sick","whine","upset","frustrated"],sheet:[31,17],shortName:"tired_face"},{name:"Yawning Face",unified:"1F971",keywords:["yawning_face","tired","sleepy"],sheet:[42,14],shortName:"yawning_face"},{name:"Face with Look of Triumph",unified:"1F624",keywords:["face_with_steam_from_nose","face","gas","phew","proud","pride"],sheet:[31,10],shortName:"triumph"},{name:"Pouting Face",unified:"1F621",keywords:["pouting_face","angry","mad","hate","despise"],sheet:[31,7],shortName:"rage"},{name:"Angry Face",unified:"1F620",emoticons:[">:(",">:-("],keywords:["angry_face","mad","face","annoyed","frustrated"],sheet:[31,6],shortName:"angry"},{name:"Serious Face with Symbols Covering Mouth",unified:"1F92C",keywords:["face_with_symbols_on_mouth","face","swearing","cursing","cussing","profanity","expletive"],sheet:[38,45],shortNames:["serious_face_with_symbols_covering_mouth"],shortName:"face_with_symbols_on_mouth"},{name:"Smiling Face with Horns",unified:"1F608",keywords:["smiling_face_with_horns","devil","horns"],sheet:[30,40],shortName:"smiling_imp"},{name:"Imp",unified:"1F47F",keywords:["angry_face_with_horns","devil","angry","horns"],sheet:[23,49],shortName:"imp"},{name:"Skull",unified:"1F480",keywords:["skull","dead","skeleton","creepy","death"],sheet:[23,50],shortName:"skull"},{name:"Skull and Crossbones",unified:"2620-FE0F",keywords:["skull_and_crossbones","poison","danger","deadly","scary","death","pirate","evil"],sheet:[54,13],shortName:"skull_and_crossbones"},{name:"Pile of Poo",unified:"1F4A9",keywords:["pile_of_poo","hankey","shitface","fail","turd","shit"],sheet:[25,53],shortNames:["poop","shit"],shortName:"hankey"},{name:"Clown Face",unified:"1F921",keywords:["clown_face","face"],sheet:[38,17],shortName:"clown_face"},{name:"Japanese Ogre",unified:"1F479",keywords:["ogre","monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],sheet:[23,38],shortName:"japanese_ogre"},{name:"Japanese Goblin",unified:"1F47A",keywords:["goblin","red","evil","mask","monster","scary","creepy","japanese","goblin"],sheet:[23,39],shortName:"japanese_goblin"},{name:"Ghost",unified:"1F47B",keywords:["ghost","halloween","spooky","scary"],sheet:[23,40],shortName:"ghost"},{name:"Extraterrestrial Alien",unified:"1F47D",keywords:["alien","UFO","paul","weird","outer_space"],sheet:[23,47],shortName:"alien"},{name:"Alien Monster",unified:"1F47E",keywords:["alien_monster","game","arcade","play"],sheet:[23,48],shortName:"space_invader"},{name:"Robot Face",unified:"1F916",keywords:["robot","computer","machine","bot"],sheet:[37,29],shortName:"robot_face"},{name:"Smiling Cat Face with Open Mouth",unified:"1F63A",keywords:["grinning_cat","animal","cats","happy","smile"],sheet:[31,32],shortName:"smiley_cat"},{name:"Grinning Cat Face with Smiling Eyes",unified:"1F638",keywords:["grinning_cat_with_smiling_eyes","animal","cats","smile"],sheet:[31,30],shortName:"smile_cat"},{name:"Cat Face with Tears of Joy",unified:"1F639",keywords:["cat_with_tears_of_joy","animal","cats","haha","happy","tears"],sheet:[31,31],shortName:"joy_cat"},{name:"Smiling Cat Face with Heart-Shaped Eyes",unified:"1F63B",keywords:["smiling_cat_with_heart_eyes","animal","love","like","affection","cats","valentines","heart"],sheet:[31,33],shortName:"heart_eyes_cat"},{name:"Cat Face with Wry Smile",unified:"1F63C",keywords:["cat_with_wry_smile","animal","cats","smirk"],sheet:[31,34],shortName:"smirk_cat"},{name:"Kissing Cat Face with Closed Eyes",unified:"1F63D",keywords:["kissing_cat","animal","cats","kiss"],sheet:[31,35],shortName:"kissing_cat"},{name:"Weary Cat Face",unified:"1F640",keywords:["weary_cat","animal","cats","munch","scared","scream"],sheet:[31,38],shortName:"scream_cat"},{name:"Crying Cat Face",unified:"1F63F",keywords:["crying_cat","animal","tears","weep","sad","cats","upset","cry"],sheet:[31,37],shortName:"crying_cat_face"},{name:"Pouting Cat Face",unified:"1F63E",keywords:["pouting_cat","animal","cats"],sheet:[31,36],shortName:"pouting_cat"},{name:"See-No-Evil Monkey",unified:"1F648",keywords:["see_no_evil_monkey","monkey","animal","nature","haha"],sheet:[32,39],shortName:"see_no_evil"},{name:"Hear-No-Evil Monkey",unified:"1F649",keywords:["hear_no_evil_monkey","animal","monkey","nature"],sheet:[32,40],shortName:"hear_no_evil"},{name:"Speak-No-Evil Monkey",unified:"1F64A",keywords:["speak_no_evil_monkey","monkey","animal","nature","omg"],sheet:[32,41],shortName:"speak_no_evil"},{name:"Kiss Mark",unified:"1F48B",keywords:["kiss_mark","face","lips","love","like","affection","valentines"],sheet:[25,23],shortName:"kiss"},{name:"Love Letter",unified:"1F48C",keywords:["love_letter","email","like","affection","envelope","valentines"],sheet:[25,24],shortName:"love_letter"},{name:"Heart with Arrow",unified:"1F498",keywords:["heart_with_arrow","love","like","heart","affection","valentines"],sheet:[25,36],shortName:"cupid"},{name:"Heart with Ribbon",unified:"1F49D",keywords:["heart_with_ribbon","love","valentines"],sheet:[25,41],shortName:"gift_heart"},{name:"Sparkling Heart",unified:"1F496",keywords:["sparkling_heart","love","like","affection","valentines"],sheet:[25,34],shortName:"sparkling_heart"},{name:"Growing Heart",unified:"1F497",keywords:["growing_heart","like","love","affection","valentines","pink"],sheet:[25,35],shortName:"heartpulse"},{name:"Beating Heart",unified:"1F493",keywords:["beating_heart","love","like","affection","valentines","pink","heart"],sheet:[25,31],shortName:"heartbeat"},{name:"Revolving Hearts",unified:"1F49E",keywords:["revolving_hearts","love","like","affection","valentines"],sheet:[25,42],shortName:"revolving_hearts"},{name:"Two Hearts",unified:"1F495",keywords:["two_hearts","love","like","affection","valentines","heart"],sheet:[25,33],shortName:"two_hearts"},{name:"Heart Decoration",unified:"1F49F",keywords:["heart_decoration","purple-square","love","like"],sheet:[25,43],shortName:"heart_decoration"},{name:"Heart Exclamation",unified:"2763-FE0F",keywords:["heart_exclamation","decoration","love"],sheet:[56,31],shortName:"heavy_heart_exclamation_mark_ornament"},{name:"Broken Heart",unified:"1F494",text:"`https://unpkg.com/emoji-datasource-${r}@6.0.1/img/${r}/sheets-256/${i}.png`;let Wy=(()=>{class r{constructor(){this.uncompressed=!1,this.names={},this.emojis=[],this.uncompressed||(this.uncompress(AA),this.uncompressed=!0)}uncompress(t){this.emojis=t.map(n=>{const a={...n};if(a.shortNames||(a.shortNames=[]),a.shortNames.unshift(a.shortName),a.id=a.shortName,a.native=this.unifiedToNative(a.unified),a.skinVariations||(a.skinVariations=[]),a.keywords||(a.keywords=[]),a.emoticons||(a.emoticons=[]),a.hidden||(a.hidden=[]),a.text||(a.text=""),a.obsoletes){const l=t.find(v=>v.unified===a.obsoletes);l&&(a.keywords=l.keywords?[...a.keywords,...l.keywords,l.shortName]:[...a.keywords,l.shortName])}this.names[a.unified]=a;for(const l of a.shortNames)this.names[l]=a;return a})}getData(t,n,a){let l;if("string"==typeof t){const T=t.match(TA);if(T&&(t=T[1],T[2]&&(n=parseInt(T[2],10))),!this.names.hasOwnProperty(t))return null;l=this.names[t]}else t.id?l=this.names[t.id]:t.unified&&(l=this.names[t.unified.toUpperCase()]);if(l||(l=t,l.custom=!0),l.skinVariations&&l.skinVariations.length&&n&&n>1&&a){l={...l};const T=SA[n-1],G=l.skinVariations.find(z=>z.unified.includes(T));(!G.hidden||!G.hidden.includes(a))&&(l.skinTone=n,l={...l,...G}),l.native=this.unifiedToNative(l.unified)}return l.set=a||"",l}unifiedToNative(t){const n=t.split("-").map(a=>parseInt(`0x${a}`,16));return String.fromCodePoint(...n)}emojiSpriteStyles(t,n="apple",a=24,l=64,v=57,T=BD,G=58,z){const be=!!z;return{width:`${a}px`,height:`${a}px`,display:"inline-block","background-image":`url(${z=z||T(n,l)})`,"background-size":be?"100% 100%":`${100*G}% ${100*v}%`,"background-position":be?void 0:this.getSpritePosition(t,G)}}getSpritePosition(t,n){const[a,l]=t,v=100/(n-1);return`${v*a}% ${v*l}%`}sanitize(t){if(null===t)return null;let a=`:${t.id||t.shortNames[0]}:`;return t.skinTone&&(a+=`:skin-tone-${t.skinTone}:`),t.colons=a,{...t}}getSanitizedData(t,n,a){return this.sanitize(this.getData(t,n,a))}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),YD=(()=>{class r{constructor(t){this.emojiService=t,this.skin=1,this.set="apple",this.sheetSize=64,this.isNative=!1,this.forceSize=!1,this.tooltip=!1,this.size=24,this.emoji="",this.hideObsolete=!1,this.emojiOver=new e.vpe,this.emojiLeave=new e.vpe,this.emojiClick=new e.vpe,this.title=void 0,this.label="",this.custom=!1,this.isVisible=!0,this.backgroundImageFn=BD}ngOnChanges(){if(!this.emoji)return this.isVisible=!1;const t=this.getData();if(!t)return this.isVisible=!1;if(this.unified=t.native||null,t.custom&&(this.custom=t.custom),!t.unified&&!t.custom)return this.isVisible=!1;if(this.tooltip&&(this.title=t.shortNames[0]),t.obsoletedBy&&this.hideObsolete)return this.isVisible=!1;if(this.label=[t.native].concat(t.shortNames).filter(Boolean).join(", "),this.isNative&&t.unified&&t.native)this.style={fontSize:`${this.size}px`},this.forceSize&&(this.style.display="inline-block",this.style.width=`${this.size}px`,this.style.height=`${this.size}px`,this.style["word-break"]="keep-all");else if(t.custom)this.style={width:`${this.size}px`,height:`${this.size}px`,display:"inline-block"},this.style=t.spriteUrl&&this.sheetRows&&this.sheetColumns?{...this.style,backgroundImage:`url(${t.spriteUrl})`,backgroundSize:`${100*this.sheetColumns}% ${100*this.sheetRows}%`,backgroundPosition:this.emojiService.getSpritePosition(t.sheet,this.sheetColumns)}:{...this.style,backgroundImage:`url(${t.imageUrl})`,backgroundSize:"contain"};else if(t.hidden.length&&t.hidden.includes(this.set)){if(!this.fallback)return this.isVisible=!1;this.style={fontSize:`${this.size}px`},this.unified=this.fallback(t,this)}else this.style=this.emojiService.emojiSpriteStyles(t.sheet,this.set,this.size,this.sheetSize,this.sheetRows,this.backgroundImageFn,this.sheetColumns,this.imageUrlFn?.(this.getData()));return this.isVisible=!0}getData(){return this.emojiService.getData(this.emoji,this.skin,this.set)}getSanitizedData(){return this.emojiService.getSanitizedData(this.emoji,this.skin,this.set)}handleClick(t){const n=this.getSanitizedData();this.emojiClick.emit({emoji:n,$event:t})}handleOver(t){const n=this.getSanitizedData();this.emojiOver.emit({emoji:n,$event:t})}handleLeave(t){const n=this.getSanitizedData();this.emojiLeave.emit({emoji:n,$event:t})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Wy))},r.\u0275cmp=e.Xpm({type:r,selectors:[["ngx-emoji"]],inputs:{skin:"skin",set:"set",sheetSize:"sheetSize",isNative:"isNative",forceSize:"forceSize",tooltip:"tooltip",size:"size",emoji:"emoji",fallback:"fallback",hideObsolete:"hideObsolete",sheetRows:"sheetRows",sheetColumns:"sheetColumns",useButton:"useButton",backgroundImageFn:"backgroundImageFn",imageUrlFn:"imageUrlFn"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},features:[e.TTD],ngContentSelectors:RD,decls:2,vars:2,consts:[["type","button","class","emoji-mart-emoji",3,"emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["class","emoji-mart-emoji",3,"emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["type","button",1,"emoji-mart-emoji",3,"click","mouseenter","mouseleave"],[3,"ngStyle"],[3,"ngIf"],[1,"emoji-mart-emoji",3,"click","mouseenter","mouseleave"]],template:function(t,n){1&t&&(e.F$t(RD),e.YNc(0,DA,4,8,"button",0),e.YNc(1,EA,4,8,"span",1)),2&t&&(e.Q6J("ngIf",n.useButton&&n.isVisible),e.xp6(1),e.Q6J("ngIf",!n.useButton&&n.isVisible))},dependencies:[F.O5,F.PC],encapsulation:2,changeDetection:0}),r})(),IA=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez]}),r})();function OA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().index,v=e.oxw();return e.KtG(v.handleClick(a,l))}),e.TgZ(1,"div"),e.O4$(),e.TgZ(2,"svg",4),e._UZ(3,"path"),e.qZA()(),e.kcU(),e._UZ(4,"span",5),e.qZA()}if(2&r){const t=e.oxw().$implicit,n=e.oxw();e.Udp("color",t.name===n.selected?n.color:null),e.ekj("emoji-mart-anchor-selected",t.name===n.selected),e.uIk("title",n.i18n.categories[t.id]),e.xp6(3),e.uIk("d",n.icons[t.id]),e.xp6(1),e.Udp("background-color",n.color)}}function LA(r,i){1&r&&e.YNc(0,OA,5,8,"span",2),2&r&&e.Q6J("ngIf",!1!==i.$implicit.anchor)}const NA=["container"],RA=["label"];function PA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"ngx-emoji",9),e.NdJ("emojiOver",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.emojiOver.emit(a))})("emojiLeave",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.emojiLeave.emit(a))})("emojiClick",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.emojiClick.emit(a))}),e.qZA()}if(2&r){const t=i.$implicit,n=e.oxw(3);e.Q6J("emoji",t)("size",n.emojiSize)("skin",n.emojiSkin)("isNative",n.emojiIsNative)("set",n.emojiSet)("sheetSize",n.emojiSheetSize)("forceSize",n.emojiForceSize)("tooltip",n.emojiTooltip)("backgroundImageFn",n.emojiBackgroundImageFn)("imageUrlFn",n.emojiImageUrlFn)("hideObsolete",n.hideObsolete)("useButton",n.emojiUseButton)}}function BA(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,PA,1,12,"ngx-emoji",8),e.qZA()),2&r){const t=i.ngIf,n=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t)("ngForTrackBy",n.trackById)}}function YA(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,BA,2,2,"div",6),e.ALo(2,"async"),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,t.filteredEmojis$))}}function HA(r,i){if(1&r&&(e.TgZ(0,"div")(1,"div"),e._UZ(2,"ngx-emoji",10),e.qZA(),e.TgZ(3,"div",11),e._uU(4),e.qZA()()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("emoji",t.notFoundEmoji)("size",38)("skin",t.emojiSkin)("isNative",t.emojiIsNative)("set",t.emojiSet)("sheetSize",t.emojiSheetSize)("forceSize",t.emojiForceSize)("tooltip",t.emojiTooltip)("backgroundImageFn",t.emojiBackgroundImageFn)("useButton",t.emojiUseButton),e.xp6(2),e.hij(" ",t.i18n.notfound," ")}}function UA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"ngx-emoji",9),e.NdJ("emojiOver",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.emojiOver.emit(a))})("emojiLeave",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.emojiLeave.emit(a))})("emojiClick",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.emojiClick.emit(a))}),e.qZA()}if(2&r){const t=i.$implicit,n=e.oxw(2);e.Q6J("emoji",t)("size",n.emojiSize)("skin",n.emojiSkin)("isNative",n.emojiIsNative)("set",n.emojiSet)("sheetSize",n.emojiSheetSize)("forceSize",n.emojiForceSize)("tooltip",n.emojiTooltip)("backgroundImageFn",n.emojiBackgroundImageFn)("imageUrlFn",n.emojiImageUrlFn)("hideObsolete",n.hideObsolete)("useButton",n.emojiUseButton)}}function jA(r,i){if(1&r&&e.YNc(0,UA,1,12,"ngx-emoji",8),2&r){const t=e.oxw();e.Q6J("ngForOf",t.emojisToDisplay)("ngForTrackBy",t.trackById)}}function VA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"span",2)(1,"span",3),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.handleClick(l))})("keyup.enter",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.handleClick(l))})("keyup.space",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.handleClick(l))}),e.qZA()()}if(2&r){const t=i.$implicit,n=e.oxw();e.ekj("selected",t===n.skin),e.xp6(1),e.Gre("emoji-mart-skin emoji-mart-skin-tone-",t,""),e.Q6J("tabIndex",n.tabIndex(t)),e.uIk("aria-hidden",!n.isVisible(t))("aria-pressed",n.pressed(t))("aria-haspopup",!!n.isSelected(t))("aria-expanded",n.expanded(t))("aria-label",n.i18n.skintones[t])("title",n.i18n.skintones[t])}}function ZA(r,i){if(1&r&&(e.TgZ(0,"span",11),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.hij(" :",t,": ")}}function zA(r,i){if(1&r&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.hij(" ",t," ")}}function GA(r,i){if(1&r&&(e.TgZ(0,"div",8)(1,"div",2),e._UZ(2,"ngx-emoji",9),e.qZA(),e.TgZ(3,"div",4)(4,"div",10),e._uU(5),e.qZA(),e.TgZ(6,"div",11),e.YNc(7,ZA,2,1,"span",12),e.qZA(),e.TgZ(8,"div",13),e.YNc(9,zA,2,1,"span",14),e.qZA()()()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("emoji",t.emoji)("size",38)("isNative",t.emojiIsNative)("skin",t.emojiSkin)("size",t.emojiSize)("set",t.emojiSet)("sheetSize",t.emojiSheetSize)("backgroundImageFn",t.emojiBackgroundImageFn)("imageUrlFn",t.emojiImageUrlFn),e.xp6(3),e.Oqu(t.emojiData.name),e.xp6(2),e.Q6J("ngForOf",t.emojiData.shortNames),e.xp6(2),e.Q6J("ngForOf",t.listedEmoticons)}}function WA(r,i){if(1&r&&e._UZ(0,"ngx-emoji",16),2&r){const t=e.oxw();e.Q6J("isNative",t.emojiIsNative)("skin",t.emojiSkin)("set",t.emojiSet)("emoji",t.idleEmoji)("backgroundImageFn",t.emojiBackgroundImageFn)("size",38)("imageUrlFn",t.emojiImageUrlFn)}}const qA=["inputRef"],QA=["scrollRef"];function JA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-search",8),e.NdJ("searchResults",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleSearch(a))})("enterKey",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleEnterKey(a))}),e.qZA()}if(2&r){const t=e.oxw();e.Q6J("i18n",t.i18n)("include",t.include)("exclude",t.exclude)("custom",t.custom)("autoFocus",t.autoFocus)("icons",t.searchIcons)("emojisToShowFilter",t.emojisToShowFilter)}}function KA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-category",9),e.NdJ("emojiOver",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleEmojiOver(a))})("emojiLeave",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.handleEmojiLeave())})("emojiClick",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleEmojiClick(a))}),e.qZA()}if(2&r){const t=i.$implicit,n=e.oxw();e.Q6J("id",t.id)("name",t.name)("emojis",t.emojis)("perLine",n.perLine)("totalFrequentLines",n.totalFrequentLines)("hasStickyPosition",n.isNative)("i18n",n.i18n)("hideObsolete",n.hideObsolete)("notFoundEmoji",n.notFoundEmoji)("custom",t.id===n.RECENT_CATEGORY.id?n.CUSTOM_CATEGORY.emojis:void 0)("recent",t.id===n.RECENT_CATEGORY.id?n.recent:void 0)("virtualize",n.virtualize)("virtualizeOffset",n.virtualizeOffset)("emojiIsNative",n.isNative)("emojiSkin",n.skin)("emojiSize",n.emojiSize)("emojiSet",n.set)("emojiSheetSize",n.sheetSize)("emojiForceSize",n.isNative)("emojiTooltip",n.emojiTooltip)("emojiBackgroundImageFn",n.backgroundImageFn)("emojiImageUrlFn",n.imageUrlFn)("emojiUseButton",n.useButton)}}function $A(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",1)(1,"emoji-preview",10),e.NdJ("skinChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.handleSkinChange(a))}),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(1),e.Q6J("emoji",t.previewEmoji)("idleEmoji",t.emoji)("emojiIsNative",t.isNative)("emojiSize",38)("emojiSkin",t.skin)("emojiSet",t.set)("i18n",t.i18n)("emojiSheetSize",t.sheetSize)("emojiBackgroundImageFn",t.backgroundImageFn)("emojiImageUrlFn",t.imageUrlFn),e.uIk("title",t.title)}}let XA=(()=>{class r{constructor(){this.categories=[],this.icons={},this.anchorClick=new e.vpe}trackByFn(t,n){return n.id}handleClick(t,n){this.anchorClick.emit({category:this.categories[n],index:n})}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["emoji-mart-anchors"]],inputs:{categories:"categories",color:"color",selected:"selected",i18n:"i18n",icons:"icons"},outputs:{anchorClick:"anchorClick"},decls:2,vars:2,consts:[[1,"emoji-mart-anchors"],["ngFor","",3,"ngForOf","ngForTrackBy"],["class","emoji-mart-anchor",3,"emoji-mart-anchor-selected","color","click",4,"ngIf"],[1,"emoji-mart-anchor",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24","height","24"],[1,"emoji-mart-anchor-bar"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.YNc(1,LA,1,1,"ng-template",1),e.qZA()),2&t&&(e.xp6(1),e.Q6J("ngForOf",n.categories)("ngForTrackBy",n.trackByFn))},dependencies:[F.sg,F.O5],encapsulation:2,changeDetection:0}),r})(),HD=(()=>{class r{constructor(t){this.platformId=t,this.NAMESPACE="emoji-mart",this.frequently=null,this.defaults={},this.initialized=!1,this.DEFAULTS=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"]}init(){this.frequently=JSON.parse((0,F.NF)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.frequently`)||"null"),this.initialized=!0}add(t){this.initialized||this.init(),this.frequently||(this.frequently=this.defaults),this.frequently[t.id]||(this.frequently[t.id]=0),this.frequently[t.id]+=1,(0,F.NF)(this.platformId)&&(localStorage.setItem(`${this.NAMESPACE}.last`,t.id),localStorage.setItem(`${this.NAMESPACE}.frequently`,JSON.stringify(this.frequently)))}get(t,n){if(this.initialized||this.init(),null===this.frequently){this.defaults={};const z=[];for(let be=0;bethis.frequently[z]-this.frequently[be]).reverse().slice(0,a),G=(0,F.NF)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.last`);return G&&!T.includes(G)&&(T.pop(),T.push(G)),T}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(e.Lbi))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),UD=(()=>{class r{constructor(t,n,a){this.ref=t,this.emojiService=n,this.frequently=a,this.emojis=null,this.hasStickyPosition=!0,this.name="",this.perLine=9,this.totalFrequentLines=4,this.recent=[],this.custom=[],this.hideObsolete=!0,this.virtualize=!1,this.virtualizeOffset=0,this.emojiOver=new e.vpe,this.emojiLeave=new e.vpe,this.emojiClick=new e.vpe,this.containerStyles={},this.emojisToDisplay=[],this.filteredEmojisSubject=new D.x,this.filteredEmojis$=this.filteredEmojisSubject.asObservable(),this.labelStyles={},this.labelSpanStyles={},this.margin=0,this.minMargin=0,this.maxMargin=0,this.top=0,this.rows=0}ngOnInit(){this.updateRecentEmojis(),this.emojisToDisplay=this.filterEmojis(),this.noEmojiToDisplay&&(this.containerStyles={display:"none"}),this.hasStickyPosition||(this.labelStyles={height:28})}ngOnChanges(t){t.emojis?.currentValue?.length!==t.emojis?.previousValue?.length&&(this.emojisToDisplay=this.filterEmojis(),this.ngAfterViewInit())}ngAfterViewInit(){if(!this.virtualize)return;const{width:t}=this.container.nativeElement.getBoundingClientRect(),n=Math.floor(t/(this.emojiSize+12));this.rows=Math.ceil(this.emojisToDisplay.length/n),this.containerStyles={...this.containerStyles,minHeight:this.rows*(this.emojiSize+12)+28+"px"},this.ref?.detectChanges(),this.handleScroll(this.container.nativeElement.parentNode.parentNode.scrollTop)}get noEmojiToDisplay(){return 0===this.emojisToDisplay.length}memoizeSize(){const t=this.container.nativeElement.parentNode.parentNode,{top:n,height:a}=this.container.nativeElement.getBoundingClientRect(),l=t.getBoundingClientRect().top,v=this.label.nativeElement.getBoundingClientRect().height;this.top=n-l+t.scrollTop,this.maxMargin=0===a?0:a-v}handleScroll(t){let n=t-this.top;if(n=nthis.maxMargin?this.maxMargin:n,this.virtualize){const{top:a,height:l}=this.container.nativeElement.getBoundingClientRect(),v=this.container.nativeElement.parentNode.parentNode.clientHeight;this.filteredEmojisSubject.next(v+(v+this.virtualizeOffset)>=a&&-l-(v+this.virtualizeOffset)<=a?this.emojisToDisplay:[])}return n===this.margin?(this.ref.detectChanges(),!1):(this.hasStickyPosition||(this.label.nativeElement.style.top=`${n}px`),this.margin=n,this.ref.detectChanges(),!0)}updateRecentEmojis(){if("Recent"!==this.name)return;let t=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);(!t||!t.length)&&(t=this.frequently.get(this.perLine,this.totalFrequentLines)),t.length&&(this.emojis=t.map(n=>this.custom.filter(l=>l.id===n)[0]||n).filter(n=>!!this.emojiService.getData(n)))}updateDisplay(t){this.containerStyles.display=t,this.updateRecentEmojis(),this.ref.detectChanges()}trackById(t,n){return n}filterEmojis(){const t=[];for(const n of this.emojis||[]){if(!n)continue;const a=this.emojiService.getData(n);!a||a.obsoletedBy&&this.hideObsolete||!a.unified&&!a.custom||t.push(n)}return t}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(Wy),e.Y36(HD))},r.\u0275cmp=e.Xpm({type:r,selectors:[["emoji-category"]],viewQuery:function(t,n){if(1&t&&(e.Gf(NA,7),e.Gf(RA,7)),2&t){let a;e.iGM(a=e.CRH())&&(n.container=a.first),e.iGM(a=e.CRH())&&(n.label=a.first)}},inputs:{emojis:"emojis",hasStickyPosition:"hasStickyPosition",name:"name",perLine:"perLine",totalFrequentLines:"totalFrequentLines",recent:"recent",custom:"custom",i18n:"i18n",id:"id",hideObsolete:"hideObsolete",notFoundEmoji:"notFoundEmoji",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiForceSize:"emojiForceSize",emojiTooltip:"emojiTooltip",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn",emojiUseButton:"emojiUseButton"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},features:[e.TTD],decls:10,vars:11,consts:[[1,"emoji-mart-category",3,"ngStyle"],["container",""],[1,"emoji-mart-category-label",3,"ngStyle"],["aria-hidden","true",3,"ngStyle"],["label",""],[4,"ngIf","ngIfElse"],[4,"ngIf"],["normalRenderTemplate",""],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton","emojiOver","emojiLeave","emojiClick"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","useButton"],[1,"emoji-mart-no-results-label"]],template:function(t,n){if(1&t&&(e.TgZ(0,"section",0,1)(2,"div",2)(3,"span",3,4),e._uU(5),e.qZA()(),e.YNc(6,YA,3,3,"div",5),e.YNc(7,HA,5,11,"div",6),e.qZA(),e.YNc(8,jA,1,2,"ng-template",null,7,e.W1O)),2&t){const a=e.MAs(9);e.ekj("emoji-mart-no-results",n.noEmojiToDisplay),e.Q6J("ngStyle",n.containerStyles),e.uIk("aria-label",n.i18n.categories[n.id]),e.xp6(2),e.Q6J("ngStyle",n.labelStyles),e.uIk("data-name",n.name),e.xp6(1),e.Q6J("ngStyle",n.labelSpanStyles),e.xp6(2),e.hij(" ",n.i18n.categories[n.id]," "),e.xp6(1),e.Q6J("ngIf",n.virtualize)("ngIfElse",a),e.xp6(1),e.Q6J("ngIf",n.noEmojiToDisplay)}},dependencies:[F.sg,F.O5,F.PC,YD,F.Ov],encapsulation:2,changeDetection:0}),r})();function jD(r){return r.reduce((i,t)=>(i.includes(t)||i.push(t),i),[])}function eT(r,i){const t=jD(r),n=jD(i);return t.filter(a=>n.indexOf(a)>=0)}let iT=(()=>{class r{constructor(t){this.emojiService=t,this.originalPool={},this.index={},this.emojisList={},this.emoticonsList={},this.emojiSearch={};for(const n of this.emojiService.emojis){const{shortNames:a,emoticons:l}=n,v=a[0];for(const T of l)this.emoticonsList[T]||(this.emoticonsList[T]=v);this.emojisList[v]=this.emojiService.getSanitizedData(v),this.originalPool[v]=n}}addCustomToPool(t,n){for(const a of t){const l=a.id||a.shortNames[0];l&&!n[l]&&(n[l]=this.emojiService.getData(a),this.emojisList[l]=this.emojiService.getSanitizedData(a))}}search(t,n,a=75,l=[],v=[],T=[]){this.addCustomToPool(T,this.originalPool);let G,z=this.originalPool;if(t.length){if("-"===t||"-1"===t)return[this.emojisList[-1]];if("+"===t||"+1"===t)return[this.emojisList["+1"]];let be=t.toLowerCase().split(/[\s|,|\-|_]+/),Ve=[];if(be.length>2&&(be=[be[0],be[1]]),l.length||v.length){z={};for(const bt of PD||[]){const Pt=!l||!l.length||l.indexOf(bt.id)>-1,Gt=!(!v||!v.length)&&v.indexOf(bt.id)>-1;if(Pt&&!Gt)for(const ii of bt.emojis||[]){const ti=this.emojiService.getData(ii);z[ti?.id??""]=ti}}if(T.length){const bt=!l||!l.length||l.indexOf("custom")>-1,Pt=!(!v||!v.length)&&v.indexOf("custom")>-1;bt&&!Pt&&this.addCustomToPool(T,z)}}Ve=be.map(bt=>{let Pt=z,Gt=this.index,ii=0;for(let ti=0;tiFi[_i.id]-Fi[Li.id])}Pt=Gt.pool}return Gt.results}).filter(bt=>bt),G=Ve.length>1?eT.apply(null,Ve):Ve.length?Ve[0]:[]}return G&&(n&&(G=G.filter(be=>!(!be||!be.id)&&n(this.emojiService.names[be.id]))),G&&G.length>a&&(G=G.slice(0,a))),G||null}buildSearch(t,n,a,l,v){const T=[],G=(z,be)=>{if(!z)return;const Ve=Array.isArray(z)?z:[z];for(const bt of Ve){const Pt=be?bt.split(/[-|_|\s]+/):[bt];for(let Gt of Pt)Gt=Gt.toLowerCase(),T.includes(Gt)||T.push(Gt)}};return G(t,!0),G(n,!0),G(a,!0),G(l,!0),G(v,!1),T.join(",")}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(Wy))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),nT=(()=>{class r{constructor(){this.changeSkin=new e.vpe,this.opened=!1,this.skinTones=[1,2,3,4,5,6]}toggleOpen(){this.opened=!this.opened}isSelected(t){return t===this.skin}isVisible(t){return this.opened||this.isSelected(t)}pressed(t){return this.opened?!!this.isSelected(t):""}tabIndex(t){return this.isVisible(t)?"0":""}expanded(t){return this.isSelected(t)?this.opened:""}handleClick(t){this.opened?(this.opened=!1,t!==this.skin&&this.changeSkin.emit(t)):this.opened=!0}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["emoji-skins"]],inputs:{skin:"skin",i18n:"i18n"},outputs:{changeSkin:"changeSkin"},decls:2,vars:3,consts:[[1,"emoji-mart-skin-swatches"],["class","emoji-mart-skin-swatch",3,"selected",4,"ngFor","ngForOf"],[1,"emoji-mart-skin-swatch"],["role","button",3,"tabIndex","click","keyup.enter","keyup.space"]],template:function(t,n){1&t&&(e.TgZ(0,"section",0),e.YNc(1,VA,2,12,"span",1),e.qZA()),2&t&&(e.ekj("opened",n.opened),e.xp6(1),e.Q6J("ngForOf",n.skinTones))},dependencies:[F.sg],encapsulation:2,changeDetection:0}),r})(),VD=(()=>{class r{constructor(t,n){this.ref=t,this.emojiService=n,this.skinChange=new e.vpe,this.emojiData={}}ngOnChanges(){if(!this.emoji)return;this.emojiData=this.emojiService.getData(this.emoji,this.emojiSkin,this.emojiSet);const t=[],n=[];(this.emojiData.emoticons||[]).forEach(l=>{t.indexOf(l.toLowerCase())>=0||(t.push(l.toLowerCase()),n.push(l))}),this.listedEmoticons=n,this.ref?.detectChanges()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(Wy))},r.\u0275cmp=e.Xpm({type:r,selectors:[["emoji-preview"]],inputs:{title:"title",emoji:"emoji",idleEmoji:"idleEmoji",i18n:"i18n",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn"},outputs:{skinChange:"skinChange"},features:[e.TTD],decls:9,vars:6,consts:[["class","emoji-mart-preview",4,"ngIf"],[1,"emoji-mart-preview",3,"hidden"],[1,"emoji-mart-preview-emoji"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn",4,"ngIf"],[1,"emoji-mart-preview-data"],[1,"emoji-mart-title-label"],[1,"emoji-mart-preview-skins"],[3,"skin","i18n","changeSkin"],[1,"emoji-mart-preview"],[3,"emoji","size","isNative","skin","set","sheetSize","backgroundImageFn","imageUrlFn"],[1,"emoji-mart-preview-name"],[1,"emoji-mart-preview-shortname"],["class","emoji-mart-preview-shortname",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticons"],["class","emoji-mart-preview-emoticon",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticon"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn"]],template:function(t,n){1&t&&(e.YNc(0,GA,10,12,"div",0),e.TgZ(1,"div",1)(2,"div",2),e.YNc(3,WA,1,7,"ngx-emoji",3),e.qZA(),e.TgZ(4,"div",4)(5,"span",5),e._uU(6),e.qZA()(),e.TgZ(7,"div",6)(8,"emoji-skins",7),e.NdJ("changeSkin",function(l){return n.skinChange.emit(l)}),e.qZA()()()),2&t&&(e.Q6J("ngIf",n.emoji&&n.emojiData),e.xp6(1),e.Q6J("hidden",n.emoji),e.xp6(2),e.Q6J("ngIf",n.idleEmoji&&n.idleEmoji.length),e.xp6(3),e.Oqu(n.title),e.xp6(2),e.Q6J("skin",n.emojiSkin)("i18n",n.i18n))},dependencies:[F.sg,F.O5,YD,nT],encapsulation:2,changeDetection:0}),r})(),rT=0,ZD=(()=>{class r{constructor(t){this.emojiSearch=t,this.maxResults=75,this.autoFocus=!1,this.include=[],this.exclude=[],this.custom=[],this.searchResults=new e.vpe,this.enterKey=new e.vpe,this.isSearching=!1,this.query="",this.inputId="emoji-mart-search-"+ ++rT}ngOnInit(){this.icon=this.icons.search}ngAfterViewInit(){this.autoFocus&&this.inputRef.nativeElement.focus()}clear(){this.query="",this.handleSearch(""),this.inputRef.nativeElement.focus()}handleEnterKey(t){this.query&&(this.enterKey.emit(t),t.preventDefault())}handleSearch(t){""===t?(this.icon=this.icons.search,this.isSearching=!1):(this.icon=this.icons.delete,this.isSearching=!0);const n=this.emojiSearch.search(this.query,this.emojisToShowFilter,this.maxResults,this.include,this.exclude,this.custom);this.searchResults.emit(n)}handleChange(){this.handleSearch(this.query)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(iT))},r.\u0275cmp=e.Xpm({type:r,selectors:[["emoji-search"]],viewQuery:function(t,n){if(1&t&&e.Gf(qA,7),2&t){let a;e.iGM(a=e.CRH())&&(n.inputRef=a.first)}},inputs:{maxResults:"maxResults",autoFocus:"autoFocus",i18n:"i18n",include:"include",exclude:"exclude",custom:"custom",icons:"icons",emojisToShowFilter:"emojisToShowFilter"},outputs:{searchResults:"searchResults",enterKey:"enterKey"},decls:8,vars:9,consts:[[1,"emoji-mart-search"],["type","search",3,"id","placeholder","autofocus","ngModel","keyup.enter","ngModelChange"],["inputRef",""],[1,"emoji-mart-sr-only",3,"htmlFor"],["type","button",1,"emoji-mart-search-icon",3,"disabled","click","keyup.enter"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","width","13","height","13","opacity","0.5"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0)(1,"input",1,2),e.NdJ("keyup.enter",function(l){return n.handleEnterKey(l)})("ngModelChange",function(l){return n.query=l})("ngModelChange",function(){return n.handleChange()}),e.qZA(),e.TgZ(3,"label",3),e._uU(4),e.qZA(),e.TgZ(5,"button",4),e.NdJ("click",function(){return n.clear()})("keyup.enter",function(){return n.clear()}),e.O4$(),e.TgZ(6,"svg",5),e._UZ(7,"path"),e.qZA()()()),2&t&&(e.xp6(1),e.Q6J("id",n.inputId)("placeholder",n.i18n.search)("autofocus",n.autoFocus)("ngModel",n.query),e.xp6(2),e.Q6J("htmlFor",n.inputId),e.xp6(1),e.hij(" ",n.i18n.search," "),e.xp6(1),e.Q6J("disabled",!n.isSearching),e.uIk("aria-label",n.i18n.clear),e.xp6(2),e.uIk("d",n.icon))},dependencies:[ar,Sr,oa],encapsulation:2}),r})();const zD={activity:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m10 11h-5c.3-2.5 1.3-4.8 2-6.1a10 10 0 0 1 3 6.1m-9 0V2a10 10 0 0 1 4.4 1.6A18 18 0 0 0 15 11h-2zm-2 0H9a18 18 0 0 0-2.4-7.4A10 10 0 0 1 11 2.1V11zm0 2v9a10 10 0 0 1-4.4-1.6A18 18 0 0 0 9 13h2zm4 0a18 18 0 0 0 2.4 7.4 10 10 0 0 1-4.4 1.5V13h2zM5 4.9c.7 1.3 1.7 3.6 2 6.1H2a10 10 0 0 1 3-6.1M2 13h5c-.3 2.5-1.3 4.8-2 6.1A10 10 0 0 1 2 13m17 6.1c-.7-1.3-1.7-3.6-2-6.1h5a10 10 0 0 1-3 6.1",custom:"M10 1h3v21h-3zm10.186 4l1.5 2.598L3.5 18.098 2 15.5zM2 7.598L3.5 5l18.186 10.5-1.5 2.598z",flags:"M0 0l6 24h2L2 0zm21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.6 3h7.8l2 8H8.6l-2-8zm8.8 10l-2.9 1.9-.4-1.9h3.3zm3.6 0l-1.5-6h2l2 8H16l3-2z",foods:"M17 5c-1.8 0-2.9.4-3.7 1 .5-1.3 1.8-3 4.7-3a1 1 0 0 0 0-2c-3 0-4.6 1.3-5.5 2.5l-.2.2c-.6-1.9-1.5-3.7-3-3.7C8.5 0 7.7.3 7 1c-2 1.5-1.7 2.9-.5 4C3.6 5.2 0 7.4 0 13c0 4.6 5 11 9 11 2 0 2.4-.5 3-1 .6.5 1 1 3 1 4 0 9-6.4 9-11 0-6-4-8-7-8M8.2 2.5c.7-.5 1-.5 1-.5.4.2 1 1.4 1.4 3-1.6-.6-2.8-1.3-3-1.8l.6-.7M15 22c-1 0-1.2-.1-1.6-.4l-.1-.2a2 2 0 0 0-2.6 0l-.1.2c-.4.3-.5.4-1.6.4-2.8 0-7-5.4-7-9 0-6 4.5-6 5-6 2 0 2.5.4 3.4 1.2l.3.3a2 2 0 0 0 2.6 0l.3-.3c1-.8 1.5-1.2 3.4-1.2.5 0 5 .1 5 6 0 3.6-4.2 9-7 9",nature:"M15.5 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-7 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m10.43-8h-.02c-.97 0-2.14.79-3.02 1.5A13.88 13.88 0 0 0 12 .99c-1.28 0-2.62.13-3.87.51C7.24.8 6.07 0 5.09 0h-.02C3.35 0 .07 2.67 0 7.03c-.04 2.47.28 4.23 1.04 5 .26.27.88.69 1.3.9.19 3.17.92 5.23 2.53 6.37.9.64 2.19.95 3.2 1.1-.03.2-.07.4-.07.6 0 1.77 2.35 3 4 3s4-1.23 4-3c0-.2-.04-.4-.07-.59 2.57-.38 5.43-1.87 5.92-7.58.4-.22.89-.57 1.1-.8.77-.76 1.09-2.52 1.05-5C23.93 2.67 20.65 0 18.93 0M3.23 9.13c-.24.29-.84 1.16-.9 1.24A9.67 9.67 0 0 1 2 7.08c.05-3.28 2.48-4.97 3.1-5.03.25.02.72.27 1.26.65A7.95 7.95 0 0 0 4 7.82c-.14.55-.4.86-.79 1.31M12 22c-.9 0-1.95-.7-2-1 0-.65.47-1.24 1-1.6v.6a1 1 0 1 0 2 0v-.6c.52.36 1 .95 1 1.6-.05.3-1.1 1-2 1m3-3.48v.02a4.75 4.75 0 0 0-1.26-1.02c1.09-.52 2.24-1.33 2.24-2.22 0-1.84-1.78-2.2-3.98-2.2s-3.98.36-3.98 2.2c0 .89 1.15 1.7 2.24 2.22A4.8 4.8 0 0 0 9 18.54v-.03a6.1 6.1 0 0 1-2.97-.84c-1.3-.92-1.84-3.04-1.86-6.48l.03-.04c.5-.82 1.49-1.45 1.8-3.1C6 6 7.36 4.42 8.36 3.53c1.01-.35 2.2-.53 3.59-.53 1.45 0 2.68.2 3.73.57 1 .9 2.32 2.46 2.32 4.48.31 1.65 1.3 2.27 1.8 3.1l.1.18c-.06 5.97-1.95 7.01-4.9 7.19m6.63-8.2l-.11-.2a7.59 7.59 0 0 0-.74-.98 3.02 3.02 0 0 1-.79-1.32 7.93 7.93 0 0 0-2.35-5.12c.53-.38 1-.63 1.26-.65.64.07 3.05 1.77 3.1 5.03.02 1.81-.35 3.22-.37 3.24",objects:"M12 0a9 9 0 0 0-5 16.5V21s2 3 5 3 5-3 5-3v-4.5A9 9 0 0 0 12 0zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 17.5a9 9 0 0 0 6 0v.8a7 7 0 0 1-3 .7 7 7 0 0 1-3-.7v-.8zm.2 3a8.9 8.9 0 0 0 2.8.5c1 0 1.9-.2 2.8-.5-.6.7-1.6 1.5-2.8 1.5-1.1 0-2.1-.8-2.8-1.5zm5.5-8.1c-.8 0-1.1-.8-1.5-1.8-.5-1-.7-1.5-1.2-1.5s-.8.5-1.3 1.5c-.4 1-.8 1.8-1.6 1.8h-.3c-.5-.2-.8-.7-1.3-1.8l-.2-1A3 3 0 0 0 7 9a1 1 0 0 1 0-2c1.7 0 2 1.4 2.2 2.1.5-1 1.3-2 2.8-2 1.5 0 2.3 1.1 2.7 2.1.2-.8.6-2.2 2.3-2.2a1 1 0 1 1 0 2c-.2 0-.3.5-.3.7a6.5 6.5 0 0 1-.3 1c-.5 1-.8 1.7-1.7 1.7",people:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20M8 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-.8 8c-.7 1.2-1.8 2-3.3 2-1.5 0-2.7-.8-3.4-2H15m3-2H6a6 6 0 1 0 12 0",places:"M6.5 12a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m11-3a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m5-5.5l-1-.4-.1-.1h.6c.6 0 1-.4 1-1 0-1-.9-2-2-2h-.6l-.8-1.7A3 3 0 0 0 16.8 2H7.2a3 3 0 0 0-2.8 2.3L3.6 6H3a2 2 0 0 0-2 2c0 .6.4 1 1 1h.6v.1l-1 .4a2 2 0 0 0-1.4 2l.7 7.6a1 1 0 0 0 1 .9H3v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h6v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h1.1a1 1 0 0 0 1-.9l.7-7.5a2 2 0 0 0-1.3-2.1M6.3 4.9c.1-.5.5-.9 1-.9h9.5c.4 0 .8.4 1 .9L19.2 9H4.7l1.6-4.1zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.2-3H2.8l-.7-6.6.9-.4h18l.9.4-.7 6.6z",recent:"M13 4h-2v7H9v2h2v2h2v-2h4v-2h-4zm-1-4a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20",symbols:"M0 0h11v2H0zm4 11h3V6h4V4H0v2h4zm11.5 6a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5m0-2.99a.5.5 0 0 1 0 .99c-.28 0-.5-.22-.5-.5s.22-.49.5-.49m6 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 2.99a.5.5 0 0 1-.5-.5.5.5 0 0 1 1 .01.5.5 0 0 1-.5.49m.5-9l-9 9 1.51 1.5 9-9zm-5-2c2.2 0 4-1.12 4-2.5V2s.98-.16 1.5.95C23 4.05 23 6 23 6s1-1.12 1-3.13C24-.02 21 0 21 0h-2v6.35A5.85 5.85 0 0 0 17 6c-2.2 0-4 1.12-4 2.5s1.8 2.5 4 2.5m-6.7 9.48L8.82 18.9a47.54 47.54 0 0 1-1.44 1.13c-.3-.3-.99-1.02-2.04-2.19.9-.83 1.47-1.46 1.72-1.89s.38-.87.38-1.33c0-.6-.27-1.18-.82-1.76-.54-.58-1.33-.87-2.35-.87-1 0-1.79.29-2.34.87-.56.6-.83 1.18-.83 1.79 0 .81.42 1.75 1.25 2.8a6.57 6.57 0 0 0-1.8 1.79 3.46 3.46 0 0 0-.51 1.83c0 .86.3 1.56.92 2.1a3.5 3.5 0 0 0 2.42.83c1.17 0 2.44-.38 3.81-1.14L8.23 24h2.82l-2.09-2.38 1.34-1.14zM3.56 14.1a1.02 1.02 0 0 1 .73-.28c.31 0 .56.08.75.25a.85.85 0 0 1 .28.66c0 .52-.42 1.11-1.26 1.78-.53-.65-.8-1.23-.8-1.74a.9.9 0 0 1 .3-.67m.18 7.9c-.43 0-.78-.12-1.06-.35-.28-.23-.41-.49-.41-.76 0-.6.5-1.3 1.52-2.09a31.23 31.23 0 0 0 2.25 2.44c-.92.5-1.69.76-2.3.76"},GD={search:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z",delete:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"},WD={search:"Search",emojilist:"List of emoji",notfound:"No Emoji Found",clear:"Clear",categories:{search:"Search Results",recent:"Frequently Used",people:"Smileys & People",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},skintones:{1:"Default Skin Tone",2:"Light Skin Tone",3:"Medium-Light Skin Tone",4:"Medium Skin Tone",5:"Medium-Dark Skin Tone",6:"Dark Skin Tone"}};let WF=(()=>{class r{constructor(t,n,a,l,v){this.ngZone=t,this.renderer=n,this.ref=a,this.frequently=l,this.platformId=v,this.perLine=9,this.totalFrequentLines=4,this.i18n={},this.style={},this.title="Emoji Mart\u2122",this.emoji="department_store",this.darkMode=!("function"!=typeof matchMedia||!matchMedia("(prefers-color-scheme: dark)").matches),this.color="#ae65c5",this.hideObsolete=!0,this.categories=[],this.activeCategories=[],this.set="apple",this.skin=1,this.isNative=!1,this.emojiSize=24,this.sheetSize=64,this.showPreview=!0,this.emojiTooltip=!1,this.autoFocus=!1,this.custom=[],this.hideRecent=!0,this.notFoundEmoji="sleuth_or_spy",this.categoriesIcons=zD,this.searchIcons=GD,this.useButton=!1,this.enableFrequentEmojiSort=!1,this.enableSearch=!0,this.showSingleCategory=!1,this.virtualize=!1,this.virtualizeOffset=0,this.emojiClick=new e.vpe,this.emojiSelect=new e.vpe,this.skinChange=new e.vpe,this.scrollHeight=0,this.clientHeight=0,this.clientWidth=0,this.firstRender=!0,this.animationFrameRequestId=null,this.NAMESPACE="emoji-mart",this.measureScrollbar=0,this.RECENT_CATEGORY={id:"recent",name:"Recent",emojis:null},this.SEARCH_CATEGORY={id:"search",name:"Search",emojis:null,anchor:!1},this.CUSTOM_CATEGORY={id:"custom",name:"Custom",emojis:[]},this.backgroundImageFn=(T,G)=>`https://unpkg.com/emoji-datasource-${this.set}@6.0.1/img/${this.set}/sheets-256/${this.sheetSize}.png`}ngOnInit(){this.measureScrollbar=function tT(){if(typeof document>"u")return 0;const r=document.createElement("div");r.style.width="100px",r.style.height="100px",r.style.overflow="scroll",r.style.position="absolute",r.style.top="-9999px",document.body.appendChild(r);const i=r.offsetWidth-r.clientWidth;return document.body.removeChild(r),i}(),this.i18n={...WD,...this.i18n},this.i18n.categories={...WD.categories,...this.i18n.categories},this.skin=JSON.parse((0,F.NF)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.skin`)||"null")||this.skin;const t=[...PD];this.custom.length>0&&(this.CUSTOM_CATEGORY.emojis=this.custom.map(T=>({...T,id:T.shortNames[0],custom:!0})),t.push(this.CUSTOM_CATEGORY)),void 0!==this.include&&t.sort((T,G)=>this.include.indexOf(T.id)>this.include.indexOf(G.id)?1:-1);for(const T of t){const G=!this.include||!this.include.length||this.include.indexOf(T.id)>-1,z=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(T.id)>-1;if(G&&!z){if(this.emojisToShowFilter){const be=[],{emojis:Ve}=T;for(let bt=0;bt-1,a=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(this.RECENT_CATEGORY.id)>-1;n&&!a&&(this.hideRecent=!1,this.categories.unshift(this.RECENT_CATEGORY)),this.categories[0]&&(this.categories[0].first=!0),this.categories.unshift(this.SEARCH_CATEGORY),this.selected=this.categories.filter(T=>T.first)[0].name;const l=Math.min(this.categories.length,3);this.setActiveCategories(this.activeCategories=this.categories.slice(0,l));const v=this.categories[l-1].emojis.slice();this.categories[l-1].emojis=v.slice(0,60),setTimeout(()=>{this.categories[l-1].emojis=v,this.setActiveCategories(this.categories),this.ref.detectChanges(),(0,F.NF)(this.platformId)&&this.ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this.updateCategoriesSize()})})}),this.ngZone.runOutsideAngular(()=>{this.scrollListener=this.renderer.listen(this.scrollRef.nativeElement,"scroll",()=>{this.handleScroll()})})}ngOnDestroy(){this.scrollListener?.(),this.cancelAnimationFrame()}setActiveCategories(t){this.activeCategories=this.showSingleCategory?t.filter(n=>n.name===this.selected||n===this.SEARCH_CATEGORY):t}updateCategoriesSize(){if(this.categoryRefs.forEach(t=>t.memoizeSize()),this.scrollRef){const t=this.scrollRef.nativeElement;this.scrollHeight=t.scrollHeight,this.clientHeight=t.clientHeight,this.clientWidth=t.clientWidth}}handleAnchorClick(t){if(this.updateCategoriesSize(),this.selected=t.category.name,this.setActiveCategories(this.categories),this.SEARCH_CATEGORY.emojis)return this.handleSearch(null),this.searchRef?.clear(),void this.handleAnchorClick(t);const n=this.categoryRefs.find(a=>a.id===t.category.id);if(n){let{top:a}=n;t.category.first?a=0:a+=1,this.scrollRef.nativeElement.scrollTop=a}this.nextScroll=t.category.name;for(const a of this.categories)this.categoryRefs.find(({id:v})=>v===a.id)?.handleScroll(this.scrollRef.nativeElement.scrollTop)}categoryTrack(t,n){return n.id}handleScroll(t=!1){if(this.nextScroll)return this.selected=this.nextScroll,this.nextScroll=void 0,void this.ref.detectChanges();if(!this.scrollRef||this.showSingleCategory)return;let n;if(this.SEARCH_CATEGORY.emojis)n=this.SEARCH_CATEGORY;else{const a=this.scrollRef.nativeElement;if(0===a.scrollTop)n=this.categories.find(l=>!0===l.first);else if(a.scrollHeight-a.scrollTop===this.clientHeight)n=this.categories[this.categories.length-1];else for(const l of this.categories)this.categoryRefs.find(({id:G})=>G===l.id)?.handleScroll(a.scrollTop)&&(n=l);this.scrollTop=a.scrollTop}!t&&n&&n.name!==this.selected?(this.selected=n.name,this.ref.detectChanges()):t&&this.ref.detectChanges()}handleSearch(t){this.SEARCH_CATEGORY.emojis=t;for(const n of this.categoryRefs.toArray())"Search"===n.name?(n.emojis=t,n.updateDisplay(t?"block":"none")):n.updateDisplay(t?"none":"block");this.scrollRef.nativeElement.scrollTop=0,this.handleScroll()}handleEnterKey(t,n){if(!n&&null!==this.SEARCH_CATEGORY.emojis&&this.SEARCH_CATEGORY.emojis.length){if(!(n=this.SEARCH_CATEGORY.emojis[0]))return;this.emojiSelect.emit({$event:t,emoji:n})}!this.hideRecent&&!this.recent&&n&&this.frequently.add(n);const a=this.categoryRefs.toArray()[1];a&&this.enableFrequentEmojiSort&&(a.updateRecentEmojis(),a.ref.markForCheck())}handleEmojiOver(t){if(!this.showPreview||!this.previewRef)return;const n=this.CUSTOM_CATEGORY.emojis.find(a=>a.id===t.emoji.id);n&&(t.emoji={...n}),this.previewEmoji=t.emoji,this.cancelAnimationFrame(),this.ref?.detectChanges()}handleEmojiLeave(){!this.showPreview||!this.previewRef||this.ngZone.runOutsideAngular(()=>{this.animationFrameRequestId=requestAnimationFrame(()=>{this.previewEmoji=null,this.ref.detectChanges()})})}handleEmojiClick(t){this.emojiClick.emit(t),this.emojiSelect.emit(t),this.handleEnterKey(t.$event,t.emoji)}handleSkinChange(t){this.skin=t,localStorage.setItem(`${this.NAMESPACE}.skin`,String(t)),this.skinChange.emit(t)}getWidth(){return this.style&&this.style.width?this.style.width:this.perLine*(this.emojiSize+12)+12+2+this.measureScrollbar+"px"}cancelAnimationFrame(){null!==this.animationFrameRequestId&&(cancelAnimationFrame(this.animationFrameRequestId),this.animationFrameRequestId=null)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.R0b),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(HD),e.Y36(e.Lbi))},r.\u0275cmp=e.Xpm({type:r,selectors:[["emoji-mart"]],viewQuery:function(t,n){if(1&t&&(e.Gf(QA,7),e.Gf(VD,5),e.Gf(ZD,5),e.Gf(UD,5)),2&t){let a;e.iGM(a=e.CRH())&&(n.scrollRef=a.first),e.iGM(a=e.CRH())&&(n.previewRef=a.first),e.iGM(a=e.CRH())&&(n.searchRef=a.first),e.iGM(a=e.CRH())&&(n.categoryRefs=a)}},inputs:{perLine:"perLine",totalFrequentLines:"totalFrequentLines",i18n:"i18n",style:"style",title:"title",emoji:"emoji",darkMode:"darkMode",color:"color",hideObsolete:"hideObsolete",categories:"categories",activeCategories:"activeCategories",set:"set",skin:"skin",isNative:"isNative",emojiSize:"emojiSize",sheetSize:"sheetSize",emojisToShowFilter:"emojisToShowFilter",showPreview:"showPreview",emojiTooltip:"emojiTooltip",autoFocus:"autoFocus",custom:"custom",hideRecent:"hideRecent",imageUrlFn:"imageUrlFn",include:"include",exclude:"exclude",notFoundEmoji:"notFoundEmoji",categoriesIcons:"categoriesIcons",searchIcons:"searchIcons",useButton:"useButton",enableFrequentEmojiSort:"enableFrequentEmojiSort",enableSearch:"enableSearch",showSingleCategory:"showSingleCategory",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",recent:"recent",backgroundImageFn:"backgroundImageFn"},outputs:{emojiClick:"emojiClick",emojiSelect:"emojiSelect",skinChange:"skinChange"},decls:8,vars:16,consts:[[3,"ngStyle"],[1,"emoji-mart-bar"],[3,"categories","color","selected","i18n","icons","anchorClick"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey",4,"ngIf"],[1,"emoji-mart-scroll"],["scrollRef",""],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],["class","emoji-mart-bar",4,"ngIf"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey"],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton","emojiOver","emojiLeave","emojiClick"],[3,"emoji","idleEmoji","emojiIsNative","emojiSize","emojiSkin","emojiSet","i18n","emojiSheetSize","emojiBackgroundImageFn","emojiImageUrlFn","skinChange"]],template:function(t,n){1&t&&(e.TgZ(0,"section",0)(1,"div",1)(2,"emoji-mart-anchors",2),e.NdJ("anchorClick",function(l){return n.handleAnchorClick(l)}),e.qZA()(),e.YNc(3,JA,1,7,"emoji-search",3),e.TgZ(4,"section",4,5),e.YNc(6,KA,1,23,"emoji-category",6),e.qZA(),e.YNc(7,$A,2,11,"div",7),e.qZA()),2&t&&(e.Gre("emoji-mart ",n.darkMode?"emoji-mart-dark":"",""),e.Udp("width",n.getWidth()),e.Q6J("ngStyle",n.style),e.xp6(2),e.Q6J("categories",n.categories)("color",n.color)("selected",n.selected)("i18n",n.i18n)("icons",n.categoriesIcons),e.xp6(1),e.Q6J("ngIf",n.enableSearch),e.xp6(1),e.uIk("aria-label",n.i18n.emojilist),e.xp6(2),e.Q6J("ngForOf",n.activeCategories)("ngForTrackBy",n.categoryTrack),e.xp6(1),e.Q6J("ngIf",n.showPreview))},dependencies:[F.sg,F.O5,F.PC,XA,UD,ZD,VD],encapsulation:2,changeDetection:0}),r})(),aT=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,Nm,IA]}),r})(),qD=(()=>{class r{constructor(){this.hideText=!1,this.loading=!1,this.textHidden=!1}set mtBasicSpinner(t){this.loading=t,this.hideText&&(this.textHidden=t)}get disabled(){return this.mtBasicSpinner}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mtBasicSpinner",""]],hostVars:5,hostBindings:function(t,n){2&t&&(e.Ikx("disabled",n.disabled),e.ekj("mat-spinner",n.loading)("hide-btn-text",n.textHidden))},inputs:{hideText:"hideText",mtBasicSpinner:"mtBasicSpinner"}}),r})(),oT=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();const sT=["replyInput"];function lT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-icon",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.openDialog())}),e._uU(1,"offline_bolt"),e.qZA()}}function cT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-mart",9),e.NdJ("emojiSelect",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.addEmoji(a))}),e.qZA()}2&r&&e.Q6J("isNative",!0)("showPreview",!0)}function dT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-icon",3),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.isEmojiPickerVisible=!a.isEmojiPickerVisible)}),e._uU(1,"favorite_border"),e.qZA(),e.TgZ(2,"mat-icon",4),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openReply())}),e._uU(3,"chat_bubble_outline"),e.qZA(),e.YNc(4,lT,2,0,"mat-icon",5),e.YNc(5,cT,1,2,"emoji-mart",6),e.TgZ(6,"mat-icon",7),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.saveNote())}),e._uU(7,"bookmark_border"),e.qZA()}if(2&r){const t=e.oxw();e.xp6(4),e.Q6J("ngIf",t.optionsService.values.enableZapping),e.xp6(1),e.Q6J("ngIf",t.isEmojiPickerVisible)}}function uT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-mart",22),e.NdJ("emojiSelect",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.addEmojiInText(a))}),e.qZA()}2&r&&e.Q6J("isNative",!0)("showPreview",!1)}function hT(r,i){if(1&r&&(e.TgZ(0,"small",23),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(t.error)}}function mT(r,i){1&r&&e._UZ(0,"button",24),2&r&&e.Q6J("mtBasicSpinner",!0)}function fT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",25),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.addReply())}),e._uU(1,"Reply"),e.qZA()}if(2&r){const t=e.oxw(2);e.Q6J("disabled",0==(null==t.note?null:t.note.length))}}function pT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",10)(1,"mat-form-field",11)(2,"mat-label"),e._uU(3,"Note"),e.qZA(),e.TgZ(4,"textarea",12,13),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.note=a)}),e.qZA()(),e.TgZ(6,"div",14)(7,"mat-icon",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.isEmojiPickerTextVisible=!a.isEmojiPickerTextVisible)}),e._uU(8,"sentiment_satisfied"),e.qZA(),e.YNc(9,uT,1,2,"emoji-mart",16),e._UZ(10,"div",17),e.YNc(11,hT,2,1,"small",18),e.TgZ(12,"button",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.hideReply())}),e._uU(13,"Cancel"),e.qZA(),e.YNc(14,mT,1,1,"button",20),e.YNc(15,fT,2,1,"button",21),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(4),e.Q6J("tabIndex",0)("ngModel",t.note),e.xp6(5),e.Q6J("ngIf",t.isEmojiPickerTextVisible),e.xp6(2),e.Q6J("ngIf",t.error),e.xp6(3),e.Q6J("ngIf",t.publishing),e.xp6(1),e.Q6J("ngIf",!t.publishing)}}const gT=function(r,i){return{"no-lines":r,lines:i}};class Cu{onKeydownHandler(i){this.hideReply()}constructor(i,t,n,a,l,v,T){this.eventService=i,this.notesService=t,this.dataService=n,this.optionsService=a,this.profileService=l,this.utilities=v,this.dialog=T,this.replyOpen=!1,this.publishing=!1,this.error=""}ngAfterViewInit(){var i=this;return(0,we.Z)(function*(){let t=i.event?.pubkey?i.event?.pubkey:"";i.profile=yield i.profileService.getProfile(t)})()}saveNote(){var i=this;return(0,we.Z)(function*(){if(!i.event)return;const t=i.event;t.saved=Math.floor(Date.now()/1e3),yield i.notesService.putNote(t)})()}openReply(){this.replyOpen=!0,this.publishing=!1,this.note="",this.error="",setTimeout(()=>{console.log(this.replyInput),this.replyInput?.nativeElement.focus()})}hideReply(){this.replyOpen=!1,this.publishing=!1,this.note="",this.error=""}addEmojiInText(i){var t=this;return(0,we.Z)(function*(){t.isEmojiPickerTextVisible=!1,t.note=`${t.note}${i.emoji.native}`})()}addEmoji(i){var t=this;return(0,we.Z)(function*(){t.isEmojiPickerVisible=!1;let n=t.dataService.createEvent(Qi.Reaction,i.emoji.native);if(!t.event)return void console.warn("Event is empty on reaction.");n.tags=Object.assign([],t.event.tags),n.tags.push(["p",t.event.pubkey]),n.tags.push(["e",t.event.id]);const a=yield t.dataService.signEvent(n);console.log(a),yield t.dataService.publishEvent(a),t.event.tags=n.tags})()}addReply(){var i=this;return(0,we.Z)(function*(){i.publishing=!0;let t=i.dataService.createEvent(Qi.Text,i.note);if(i.event){t.tags=Object.assign([],i.eventService.getPublicKeyAndEventTags(i.event.tags)),t.tags.push(["p",i.event.pubkey]),t.tags.push(["e",i.event.id]);try{const n=yield i.dataService.signEvent(t);console.log(n),yield i.dataService.publishEvent(n),i.hideReply()}catch(n){i.error=n.toString(),console.log(n),i.publishing=!1}}else console.warn("Event is empty on reply.")})()}openDialog(){var i=this;return(0,we.Z)(function*(){i.dialog.open(Gl,{width:"400px",data:{profile:i.profile,event:i.event}})})()}}function _T(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"span",1),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggle())}),e._uU(1),e.ALo(2,"ago"),e.qZA()}if(2&r){const t=e.oxw();e.xp6(1),e.Oqu(e.lcZ(2,1,t.date))}}function bT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"span",1),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggle())}),e._uU(1),e.ALo(2,"date"),e.qZA()}if(2&r){const t=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,1e3*t.date,"yyyy-MM-dd HH:mm:ss"))}}Cu.\u0275fac=function(i){return new(i||Cu)(e.Y36(Zr),e.Y36(Us),e.Y36(pa),e.Y36(la.I),e.Y36(Yn),e.Y36(pn.dU),e.Y36(yi))},Cu.\u0275cmp=e.Xpm({type:Cu,selectors:[["app-event-buttons"]],viewQuery:function(i,t){if(1&i&&e.Gf(sT,5),2&i){let n;e.iGM(n=e.CRH())&&(t.replyInput=n.first)}},hostBindings:function(i,t){1&i&&e.NdJ("keydown.escape",function(a){return t.onKeydownHandler(a)},!1,e.evT)},inputs:{event:"event"},decls:3,vars:6,consts:[[1,"thread-buttons",3,"ngClass"],[3,"ngIf"],["class","reply-widget",4,"ngIf"],["tabindex","0","matTooltip","Reaction to note",1,"reaction-icon","toolbar-icon",3,"click"],["tabindex","0","matTooltip","Reply to note",1,"reaction-icon","toolbar-icon",3,"click"],["tabindex","0","class","reaction-icon toolbar-icon","matTooltip","Zap the note",3,"click",4,"ngIf"],["class","picker","emoji","point_up","title","Choose your reaction",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["tabindex","0","matTooltip","Bookmark",1,"reaction-icon","toolbar-icon","right-side",3,"click"],["tabindex","0","matTooltip","Zap the note",1,"reaction-icon","toolbar-icon",3,"click"],["emoji","point_up","title","Choose your reaction",1,"picker",3,"isNative","showPreview","emojiSelect"],[1,"reply-widget"],[1,"input-full-width"],["matInput","","type","text","rows","6",1,"note-input",3,"tabIndex","ngModel","ngModelChange"],["replyInput",""],[1,"reply-widget-buttons"],["matTooltip","Insert emoji in text",1,"toolbar-icon","margin-right",3,"click"],["class","picker","emoji","point_up","title","Choose your emoji",3,"isNative","showPreview","emojiSelect",4,"ngIf"],[1,"reply-widget-middle"],["class","error",4,"ngIf"],["mat-stroked-button","","color","primary",3,"click"],["mat-icon-button","",3,"mtBasicSpinner",4,"ngIf"],["mat-flat-button","","color","primary",3,"disabled","click",4,"ngIf"],["emoji","point_up","title","Choose your emoji",1,"picker",3,"isNative","showPreview","emojiSelect"],[1,"error"],["mat-icon-button","",3,"mtBasicSpinner"],["mat-flat-button","","color","primary",3,"disabled","click"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0),e.YNc(1,dT,8,2,"ng-template",1),e.YNc(2,pT,16,6,"div",2),e.qZA()),2&i&&(e.Q6J("ngClass",e.WLB(3,gT,!t.optionsService.values.showLines,t.optionsService.values.showLines)),e.xp6(1),e.Q6J("ngIf",!t.replyOpen),e.xp6(1),e.Q6J("ngIf",t.replyOpen))},dependencies:[F.mk,F.O5,io,Ca,Ba,Dt.lW,Dt.RK,Wn,fo,WF,ar,Sr,oa,qD],styles:[".picker[_ngcontent-%COMP%]{display:block;z-index:3}.thread-buttons[_ngcontent-%COMP%]{padding-left:1em;margin-left:27px;padding-bottom:.2em;padding-top:.4em}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.reaction-icon[_ngcontent-%COMP%]{font-size:1.4em;margin-right:.4em}.reply-widget[_ngcontent-%COMP%]{padding-top:1em;padding-bottom:1em}.reply-widget-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}.reply-widget-middle[_ngcontent-%COMP%]{flex:1 2 auto}.thread-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:.4em}.right-side[_ngcontent-%COMP%]{float:right}"]});class Mc{toggle(){this.isoDate=!this.isoDate}}Mc.\u0275fac=function(i){return new(i||Mc)},Mc.\u0275cmp=e.Xpm({type:Mc,selectors:[["app-date"]],inputs:{date:"date"},decls:2,vars:2,consts:[["class","event-date",3,"click",4,"ngIf"],[1,"event-date",3,"click"]],template:function(i,t){1&i&&(e.YNc(0,_T,3,3,"span",0),e.YNc(1,bT,3,4,"span",0)),2&i&&(e.Q6J("ngIf",!t.isoDate),e.xp6(1),e.Q6J("ngIf",t.isoDate))},dependencies:[F.O5,F.uU,cs],styles:[".event-date[_ngcontent-%COMP%]{margin-right:.1em;cursor:pointer}"]});const QD=function(r,i){return{"no-lines":r,lines:i}};function yT(r,i){if(1&r&&(e.TgZ(0,"div",1)(1,"span")(2,"div",2)(3,"app-event-header",3),e._UZ(4,"app-date",4)(5,"app-directory-icon",3),e.qZA(),e._UZ(6,"app-event-actions",5),e.qZA(),e._UZ(7,"app-content",6)(8,"app-event-reactions",7)(9,"app-event-buttons",7)(10,"app-event-thread",7),e.qZA()()),2&r){const t=i.$implicit,n=e.oxw();e.Q6J("ngClass",e.WLB(12,QD,!n.optionsService.values.showLines,n.optionsService.values.showLines)),e.xp6(3),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("date",t.created_at),e.xp6(1),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)("pubkey",t.pubkey),e.xp6(1),e.Q6J("ngClass",e.WLB(15,QD,!n.optionsService.values.showLines,n.optionsService.values.showLines))("displayRepliesTo",!0)("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t)}}class Hh{constructor(i,t,n){this.ui=i,this.thread=t,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){return(0,we.Z)(function*(){})()}}Hh.\u0275fac=function(i){return new(i||Hh)(e.Y36(zr),e.Y36(Dc),e.Y36(la.I))},Hh.\u0275cmp=e.Xpm({type:Hh,selectors:[["app-event-thread"]],inputs:{event:"event"},decls:1,vars:1,consts:[["class","thread-event",3,"ngClass",4,"ngFor","ngForOf"],[1,"thread-event",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[3,"date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","displayRepliesTo","event"],[3,"event"]],template:function(i,t){1&i&&e.YNc(0,yT,11,18,"div",0),2&i&&e.Q6J("ngForOf",t.ui.children(t.event.id))},dependencies:[F.mk,F.sg,jo,Ro,Po,po,Hh,Fu,Cu,Mc],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}@media only screen and (max-width: 1150px){.thread-event[_ngcontent-%COMP%]{margin-top:1em;margin-left:0;padding-left:4px}.thread-content[_ngcontent-%COMP%]{margin-left:27px}.events-header[_ngcontent-%COMP%]{padding-left:28px}}"]});const vT=function(r,i){return{"no-lines2":r,lines2:i}},wT=function(r,i){return{"no-lines":r,lines:i}};function xT(r,i){if(1&r&&(e.TgZ(0,"div",1)(1,"span")(2,"div",2)(3,"app-event-header",3)(4,"span",4),e._uU(5),e.ALo(6,"ago"),e.qZA(),e._UZ(7,"app-directory-icon",3),e.qZA(),e._UZ(8,"app-event-actions",5),e.qZA(),e._UZ(9,"app-content",6)(10,"app-event-reactions",7)(11,"app-event-buttons",7),e.qZA()()),2&r){const t=e.oxw();e.Q6J("ngClass",e.WLB(13,vT,!t.optionsService.values.showLines,t.optionsService.values.showLines)),e.xp6(3),e.Q6J("pubkey",t.event.pubkey),e.xp6(2),e.Oqu(e.lcZ(6,11,t.event.created_at)),e.xp6(2),e.Q6J("pubkey",t.event.pubkey),e.xp6(1),e.Q6J("event",t.event)("pubkey",t.event.pubkey),e.xp6(1),e.Q6J("ngClass",e.WLB(16,wT,!t.optionsService.values.showLines,t.optionsService.values.showLines))("displayRepliesTo",!1)("event",t.event),e.xp6(1),e.Q6J("event",t.event),e.xp6(1),e.Q6J("event",t.event)}}var qF=new WeakMap;class Uh{set event(i){Wt(this,qF,i)}get event(){return _e(this,qF)}constructor(i,t,n){St(this,qF,{writable:!0,value:void 0}),this.ui=i,this.thread=t,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){return(0,we.Z)(function*(){})()}}function FT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",14)(1,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.open(a.rootEventId))}),e.TgZ(2,"mat-icon"),e._uU(3,"keyboard_double_arrow_up"),e.qZA(),e._uU(4,"View Thread"),e.qZA()()}}function CT(r,i){if(1&r&&(e.TgZ(0,"div",16),e._UZ(1,"app-event",13),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("event",t)}}function kT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",14)(1,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.open(a.parentEventId))}),e.TgZ(2,"mat-icon"),e._uU(3,"keyboard_arrow_up"),e.qZA(),e._uU(4,"View Parent"),e.qZA()()}}Uh.\u0275fac=function(i){return new(i||Uh)(e.Y36(zr),e.Y36(Dc),e.Y36(la.I))},Uh.\u0275cmp=e.Xpm({type:Uh,selectors:[["app-event"]],inputs:{threadEntry:"threadEntry",event:"event"},decls:1,vars:1,consts:[["class","thread-event2",3,"ngClass",4,"ngIf"],[1,"thread-event2",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[1,"event-date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","displayRepliesTo","event"],[3,"event"]],template:function(i,t){1&i&&e.YNc(0,xT,12,19,"div",0),2&i&&e.Q6J("ngIf",t.event)},dependencies:[F.mk,F.O5,jo,Ro,Po,po,Fu,Cu,cs],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}"]});const DT=function(r,i,t,n){return{"is-root":r,"has-root":i,"no-lines":t,lines:n}},MT=function(r,i){return{"no-lines":r,lines:i}};function ET(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"mat-accordion",3)(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),e._uU(6,"Options"),e.qZA(),e._UZ(7,"mat-panel-description"),e.qZA(),e.TgZ(8,"p")(9,"mat-slide-toggle",4),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.optionsService.save())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.showLines=a)}),e._uU(10,"Show lines"),e.qZA()()()()(),e.YNc(11,FT,5,0,"mat-card",5),e.YNc(12,CT,2,1,"div",6),e.ALo(13,"async"),e.TgZ(14,"div",7),e.YNc(15,kT,5,0,"mat-card",5),e.TgZ(16,"div",8)(17,"app-event-header",9),e._UZ(18,"app-date",10)(19,"app-directory-icon",9),e.qZA(),e._UZ(20,"app-event-actions",11),e.qZA(),e._UZ(21,"app-content",12)(22,"app-event-reactions",13)(23,"app-event-buttons",13)(24,"app-event-thread",13),e.qZA()()}if(2&r){const t=i.ngIf,n=e.oxw();e.xp6(9),e.Q6J("ngModel",n.optionsService.values.showLines),e.xp6(2),e.Q6J("ngIf",t.rootEventId),e.xp6(1),e.Q6J("ngIf",e.lcZ(13,15,n.ui.parentEvent$)),e.xp6(2),e.Q6J("ngClass",e.l5B(17,DT,!t.parentEventId,t.parentEventId,!n.optionsService.values.showLines,n.optionsService.values.showLines)),e.xp6(1),e.Q6J("ngIf",t.parentEventId),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("date",t.created_at),e.xp6(1),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)("pubkey",t.pubkey),e.xp6(1),e.Q6J("ngClass",e.WLB(22,MT,!n.optionsService.values.showLines,n.optionsService.values.showLines))("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t)}}class Sf{constructor(i,t,n,a,l,v,T,G,z,be,Ve){this.appState=i,this.activatedRoute=t,this.cd=n,this.optionsService=a,this.navigation=l,this.profiles=v,this.thread=T,this.validator=G,this.utilities=z,this.router=be,this.ui=Ve,this.initialLoad=!0}open(i){this.router.navigate(["/e",i])}likes(i){}dislikes(i){}replies(i){}filteredThread(){}repliesTo(i){if(!i)return;let t=i.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return t=t.filter(n=>n!==i.pubkey),t}ngOnInit(){var i=this;console.log("CURRENT EVENT:",this.navigation.currentEvent),this.ui.setPubKey(void 0,!1),this.ui.clearViewPositions(),this.navigation.currentEvent&&this.ui.setEvent(this.navigation.currentEvent),this.appState.updateTitle("Thread"),this.appState.showBackButton=!0,this.activatedRoute.paramMap.subscribe(function(){var t=(0,we.Z)(function*(n){const a=n.get("id");if(a)if(a.startsWith("note")){const l=i.utilities.convertFromBech32ToHex(a);i.router.navigate(["/e",l])}else i.navigation.currentEvent?.id!=a&&i.ui.setEventId(a);else i.router.navigateByUrl("/")});return function(n){return t.apply(this,arguments)}}())}trackByFn(i,t){return t.id}ngOnDestroy(){this.sub&&this.sub.unsub(),this.ui.clear()}}Sf.\u0275fac=function(i){return new(i||Sf)(e.Y36(Oe.i),e.Y36(Yt.gz),e.Y36(e.sBO),e.Y36(la.I),e.Y36(za),e.Y36(Yn),e.Y36(Dc),e.Y36(ns.Y),e.Y36(pn.dU),e.Y36(Yt.F0),e.Y36(zr))},Sf.\u0275cmp=e.Xpm({type:Sf,selectors:[["app-note"]],decls:3,vars:3,consts:[["class","feed-page",4,"ngIf"],[1,"feed-page"],[1,"options-container"],[1,"options"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["class","button-card",4,"ngIf"],["class","parent-event",4,"ngIf"],[1,"current-event","events2","noclick",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[3,"date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","event"],[3,"event"],[1,"button-card"],["mat-flat-button","",3,"click"],[1,"parent-event"]],template:function(i,t){1&i&&(e.YNc(0,ET,25,25,"div",0),e.ALo(1,"async"),e._UZ(2,"mat-divider")),2&i&&e.Q6J("ngIf",e.lcZ(1,1,t.ui.event$))},dependencies:[F.mk,F.O5,Dt.lW,ca,Wn,e_,Sn.pp,Sn.ib,Sn.yz,Sn.yK,Sn.u4,ed,Sr,oa,jo,Ro,Po,po,Hh,Fu,Cu,Mc,Uh,F.Ov],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}.events[_ngcontent-%COMP%]{padding:0!important}.thread-actions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.3em}.button-card[_ngcontent-%COMP%]{margin-bottom:.4em}.has-root[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em}.is-root[_ngcontent-%COMP%]{margin-left:0;padding-left:0;border-left:2px solid transparent!important}.options-container[_ngcontent-%COMP%]{margin-bottom:1em}"]});var AT=y(7411);const TT=["*",[["mat-toolbar-row"]]],ST=["*","mat-toolbar-row"],IT=(0,ae.pj)(class{constructor(r){this._elementRef=r}});let JD=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),r})(),KD=(()=>{class r extends IT{constructor(t,n,a){super(t),this._platform=n,this._document=a}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(x.t4),e.Y36(F.K0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-toolbar"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,JD,5),2&t){let l;e.iGM(l=e.CRH())&&(n._toolbarRows=l)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("mat-toolbar-multiple-rows",n._toolbarRows.length>0)("mat-toolbar-single-row",0===n._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[e.qOj],ngContentSelectors:ST,decls:2,vars:0,template:function(t,n){1&t&&(e.F$t(TT),e.Hsn(0),e.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),r})(),OT=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,ae.BQ]}),r})();var LT=y(8372);const qy=["*"],NT=["content"];function RT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a._onBackdropClicked())}),e.qZA()}if(2&r){const t=e.oxw();e.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function PT(r,i){1&r&&(e.TgZ(0,"mat-drawer-content"),e.Hsn(1,2),e.qZA())}const BT=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],YT=["mat-drawer","mat-drawer-content","*"];function HT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a._onBackdropClicked())}),e.qZA()}if(2&r){const t=e.oxw();e.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function UT(r,i){1&r&&(e.TgZ(0,"mat-sidenav-content"),e.Hsn(1,2),e.qZA())}const jT=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],VT=["mat-sidenav","mat-sidenav-content","*"],$D={transformDrawer:(0,Ce.X$)("transform",[(0,Ce.SB)("open, open-instant",(0,Ce.oB)({transform:"none",visibility:"visible"})),(0,Ce.SB)("void",(0,Ce.oB)({"box-shadow":"none",visibility:"hidden"})),(0,Ce.eR)("void => open-instant",(0,Ce.jt)("0ms")),(0,Ce.eR)("void <=> open, open-instant => void",(0,Ce.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},zT=new e.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function GT(){return!1}}),QF=new e.OlP("MAT_DRAWER_CONTAINER");let Qy=(()=>{class r extends kr.PQ{constructor(t,n,a,l,v){super(a,l,v),this._changeDetectorRef=t,this._container=n}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>KF)),e.Y36(e.SBq),e.Y36(kr.mF),e.Y36(e.R0b))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,n){2&t&&e.Udp("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[e._Bn([{provide:kr.PQ,useExisting:r}]),e.qOj],ngContentSelectors:qy,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),r})(),JF=(()=>{class r{get position(){return this._position}set position(t){(t="end"===t?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(t),this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=(0,st.Ig)(t)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(t){("true"===t||"false"===t||null==t)&&(t=(0,st.Ig)(t)),this._autoFocus=t}get opened(){return this._opened}set opened(t){this.toggle((0,st.Ig)(t))}constructor(t,n,a,l,v,T,G,z){this._elementRef=t,this._focusTrapFactory=n,this._focusMonitor=a,this._platform=l,this._ngZone=v,this._interactivityChecker=T,this._doc=G,this._container=z,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new D.x,this._animationEnd=new D.x,this._animationState="void",this.openedChange=new e.vpe(!0),this._openedStream=this.openedChange.pipe((0,Je.h)(be=>be),(0,Cr.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Je.h)(be=>be.fromState!==be.toState&&0===be.toState.indexOf("open")),(0,df.h)(void 0)),this._closedStream=this.openedChange.pipe((0,Je.h)(be=>!be),(0,Cr.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Je.h)(be=>be.fromState!==be.toState&&"void"===be.toState),(0,df.h)(void 0)),this._destroyed=new D.x,this.onPositionChanged=new e.vpe,this._modeChanged=new D.x,this.openedChange.subscribe(be=>{be?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,wl.R)(this._elementRef.nativeElement,"keydown").pipe((0,Je.h)(be=>be.keyCode===S.hY&&!this.disableClose&&!(0,S.Vb)(be)),(0,Ji.R)(this._destroyed)).subscribe(be=>this._ngZone.run(()=>{this.close(),be.stopPropagation(),be.preventDefault()}))}),this._animationEnd.pipe((0,yf.x)((be,Ve)=>be.fromState===Ve.fromState&&be.toState===Ve.toState)).subscribe(be=>{const{fromState:Ve,toState:bt}=be;(0===bt.indexOf("open")&&"void"===Ve||"void"===bt&&0===Ve.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(t,n){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const a=()=>{t.removeEventListener("blur",a),t.removeEventListener("mousedown",a),t.removeAttribute("tabindex")};t.addEventListener("blur",a),t.addEventListener("mousedown",a)})),t.focus(n)}_focusByCssSelector(t,n){let a=this._elementRef.nativeElement.querySelector(t);a&&this._forceFocus(a,n)}_takeFocus(){if(!this._focusTrap)return;const t=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(n=>{!n&&"function"==typeof this._elementRef.nativeElement.focus&&t.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(t){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,t):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const t=this._doc.activeElement;return!!t&&this._elementRef.nativeElement.contains(t)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&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(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(t=!this.opened,n){t&&n&&(this._openedVia=n);const a=this._setOpen(t,!t&&this._isFocusWithinDrawer(),this._openedVia||"program");return t||(this._openedVia=null),a}_setOpen(t,n,a){return this._opened=t,t?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",n&&this._restoreFocus(a)),this._updateFocusTrapState(),new Promise(l=>{this.openedChange.pipe((0,Ie.q)(1)).subscribe(v=>l(v?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(t){const n=this._elementRef.nativeElement,a=n.parentNode;"end"===t?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),a.insertBefore(this._anchor,n)),a.appendChild(n)):this._anchor&&this._anchor.parentNode.insertBefore(n,this._anchor)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.qV),e.Y36(g.tE),e.Y36(x.t4),e.Y36(e.R0b),e.Y36(g.ic),e.Y36(F.K0,8),e.Y36(QF,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-drawer"]],viewQuery:function(t,n){if(1&t&&e.Gf(NT,5),2&t){let a;e.iGM(a=e.CRH())&&(n._content=a.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,n){1&t&&e.WFA("@transform.start",function(l){return n._animationStarted.next(l)})("@transform.done",function(l){return n._animationEnd.next(l)}),2&t&&(e.uIk("align",null),e.d8E("@transform",n._animationState),e.ekj("mat-drawer-end","end"===n.position)("mat-drawer-over","over"===n.mode)("mat-drawer-push","push"===n.mode)("mat-drawer-side","side"===n.mode)("mat-drawer-opened",n.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"],ngContentSelectors:qy,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},dependencies:[kr.PQ],encapsulation:2,data:{animation:[$D.transformDrawer]},changeDetection:0}),r})(),KF=(()=>{class r{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=(0,st.Ig)(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:(0,st.Ig)(t)}get scrollable(){return this._userContent||this._content}constructor(t,n,a,l,v,T=!1,G){this._dir=t,this._element=n,this._ngZone=a,this._changeDetectorRef=l,this._animationMode=G,this._drawers=new e.n_E,this.backdropClick=new e.vpe,this._destroyed=new D.x,this._doCheckSubject=new D.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new D.x,t&&t.change.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),v.change().pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=T}ngAfterContentInit(){this._allDrawers.changes.pipe((0,L.O)(this._allDrawers),(0,Ji.R)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(n=>!n._container||n._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,L.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,LT.b)(10),(0,Ji.R)(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(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const a=this._left._getWidth();t+=a,n-=a}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._getWidth();else if("push"==this._right.mode){const a=this._right._getWidth();n+=a,t-=a}t=t||null,n=n||null,(t!==this._contentMargins.left||n!==this._contentMargins.right)&&(this._contentMargins={left:t,right:n},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe((0,Je.h)(n=>n.fromState!==n.toState),(0,Ji.R)(this._drawers.changes)).subscribe(n=>{"open-instant"!==n.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe((0,Ji.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe((0,Ji.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Ie.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe((0,Ji.R)((0,Ue.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const n=this._element.nativeElement.classList,a="mat-drawer-container-has-open";t?n.add(a):n.remove(a)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),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(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(I.Is,8),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(kr.rL),e.Y36(zT),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-drawer-container"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,Qy,5),e.Suo(a,JF,5)),2&t){let l;e.iGM(l=e.CRH())&&(n._content=l.first),e.iGM(l=e.CRH())&&(n._allDrawers=l)}},viewQuery:function(t,n){if(1&t&&e.Gf(Qy,5),2&t){let a;e.iGM(a=e.CRH())&&(n._userContent=a.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("mat-drawer-container-explicit-backdrop",n._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[e._Bn([{provide:QF,useExisting:r}])],ngContentSelectors:YT,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,n){1&t&&(e.F$t(BT),e.YNc(0,RT,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,PT,2,0,"mat-drawer-content",1)),2&t&&(e.Q6J("ngIf",n.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!n._content))},dependencies:[F.O5,Qy],styles:['.mat-drawer-container{position:relative;z-index:1;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}.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;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)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),r})(),$F=(()=>{class r extends Qy{constructor(t,n,a,l,v){super(t,n,a,l,v)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>eC)),e.Y36(e.SBq),e.Y36(kr.mF),e.Y36(e.R0b))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,n){2&t&&e.Udp("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[e._Bn([{provide:kr.PQ,useExisting:r}]),e.qOj],ngContentSelectors:qy,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),r})(),XF=(()=>{class r extends JF{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=(0,st.Ig)(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=(0,st.su)(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=(0,st.su)(t)}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,n){2&t&&(e.uIk("align",null),e.Udp("top",n.fixedInViewport?n.fixedTopGap:null,"px")("bottom",n.fixedInViewport?n.fixedBottomGap:null,"px"),e.ekj("mat-drawer-end","end"===n.position)("mat-drawer-over","over"===n.mode)("mat-drawer-push","push"===n.mode)("mat-drawer-side","side"===n.mode)("mat-drawer-opened",n.opened)("mat-sidenav-fixed",n.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[e.qOj],ngContentSelectors:qy,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},dependencies:[kr.PQ],encapsulation:2,data:{animation:[$D.transformDrawer]},changeDetection:0}),r})(),eC=(()=>{class r extends KF{}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-sidenav-container"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,$F,5),e.Suo(a,XF,5)),2&t){let l;e.iGM(l=e.CRH())&&(n._content=l.first),e.iGM(l=e.CRH())&&(n._allDrawers=l)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("mat-drawer-container-explicit-backdrop",n._backdropOverride)},exportAs:["matSidenavContainer"],features:[e._Bn([{provide:QF,useExisting:r}]),e.qOj],ngContentSelectors:VT,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,n){1&t&&(e.F$t(jT),e.YNc(0,HT,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,UT,2,0,"mat-sidenav-content",1)),2&t&&(e.Q6J("ngIf",n.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!n._content))},dependencies:[F.O5,$F],styles:['.mat-drawer-container{position:relative;z-index:1;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}.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;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)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),r})(),WT=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,ae.BQ,kr.ZD,kr.ZD,ae.BQ]}),r})();var Jy=new WeakMap,ku=new WeakMap;class Ql{get chats$(){return _e(this,Jy).asObservable().pipe()}get chats2$(){return(0,U.of)(_e(this,ku))}get uniqueChats$(){return this.chats2$.pipe((0,Cr.U)(i=>{const t=i.sort((a,l)=>a.created_att.findIndex(v=>v.pubkey==a.pubkey)===l)}))}constructor(i,t,n,a){St(this,Jy,{writable:!0,value:void 0}),St(this,ku,{writable:!0,value:void 0}),this.nostr=i,this.queueService=t,this.dataService=n,this.appState=a,this.chats=[],Wt(this,Jy,new Ne.X(this.chats)),Wt(this,ku,[]),this.chats3=[],this.subscriptions=[],this.data={users:[{id:0,username:"Milad",name:"Milad Raeisi",cover:"https://avatars.githubusercontent.com/u/6504337",status:"Online",bio:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. "},{id:1,username:"SondreB",name:"Sondre",cover:"https://avatars.githubusercontent.com/u/309938",status:"Online",bio:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, "}],chats:[{id:0,targetUserId:0,username:"Blockcore Channel",cover:"https://avatars.githubusercontent.com/u/53176002",lastMessage:"The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested.",lastMessageLength:0,chat:[{id:"1",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Hi"},{id:"1",cover:"https://avatars.githubusercontent.com/u/6504337",message:"How are you?"},{id:"0",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Hi, I am good, you?"},{id:"1",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Thank you."}]},{id:1,targetUserId:0,username:"Milad",cover:"https://avatars.githubusercontent.com/u/6504337",lastMessage:"All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary,",lastMessageLength:2,chat:[{id:"4",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Lorem Ipsum is simply dummy text of the printing and typesetting industry."},{id:"4",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy."}]},{id:2,targetUserId:1,username:"SondreB",cover:"https://avatars.githubusercontent.com/u/309938",lastMessage:" Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.",lastMessageLength:0,chat:[{id:"0",cover:"https://avatars.githubusercontent.com/u/309938",message:"Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc."},{id:"0",cover:"https://avatars.githubusercontent.com/u/309938",message:"Lorem ipsum dolor sit amet."},{id:"0",cover:"https://avatars.githubusercontent.com/u/309938",message:"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."}]}],saveMessage:{id:0,chatId:2,cover:"https://avatars.githubusercontent.com/u/53176002",message:"Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc."},createChat:{id:0,targetUserId:1,username:"Milad",cover:"https://avatars.githubusercontent.com/u/6504337",lastMessage:"",lastMessageLength:0,chat:[]}},this.chats=this.data.chats,_e(this,Jy).next(this.chats),console.log(this.data.chats)}download(){var i=this;Wt(this,ku,[]),this.dataService.downloadEventsByQuery([{kinds:[4],"#p":[this.appState.getPublicKey()]}],3e3).pipe((0,Ju.x)((0,we.Z)(function*(){for(let t=0;t<_e(i,ku).length;t++){const n=_e(i,ku)[t],a=yield i.nostr.decrypt(n.pubkey,n.content);n.content=a,console.log("DECRYPTED EVENT:",n)}}))).subscribe(function(){var t=(0,we.Z)(function*(n){_e(i,ku).findIndex(a=>a.id===n.id)>-1||_e(i,ku).unshift(n)});return function(n){return t.apply(this,arguments)}}())}saveMessage(i,t){}createChat(i){}getChats(){return this.data.chats}}Ql.\u0275fac=function(i){return new(i||Ql)(e.LFG(Ho),e.LFG(Br),e.LFG(pa),e.LFG(Oe.i))},Ql.\u0275prov=e.Yz7({token:Ql,factory:Ql.\u0275fac,providedIn:"root"});class id{constructor(i){this.chatService=i,this.users=new Ne.X(null),this.active=new Ne.X(null)}getUsers(){return this.chatService.data.users}}id.\u0275fac=function(i){return new(i||id)(e.LFG(Ql))},id.\u0275prov=e.Yz7({token:id,factory:id.\u0275fac,providedIn:"root"});class If{constructor(){this.type="online"}}function qT(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2),e._UZ(2,"img",3),e.qZA(),e.TgZ(3,"div",4)(4,"button",5),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openNewChat())}),e._uU(5,"Write Message"),e.qZA()(),e.TgZ(6,"h1",6),e._uU(7),e.qZA(),e.TgZ(8,"div",7),e._UZ(9,"app-status",8),e.qZA(),e.TgZ(10,"h2",9),e._uU(11,"Biography"),e.qZA(),e.TgZ(12,"p",10),e._uU(13),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(2),e.Q6J("src",t.user.cover,e.LSH),e.xp6(5),e.Oqu(t.user.username),e.xp6(2),e.Q6J("text",t.user.status),e.xp6(4),e.Oqu(t.user.bio)}}If.\u0275fac=function(i){return new(i||If)},If.\u0275cmp=e.Xpm({type:If,selectors:[["app-status"]],inputs:{type:"type",text:"text"},decls:2,vars:3,template:function(i,t){1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i&&(e.Tol("mat-caption status status--"+t.type),e.xp6(1),e.hij(" ",t.text,"\n"))},styles:['.status[_ngcontent-%COMP%]:before{content:"";display:inline-block;width:4px;height:4px;border-radius:4px;position:relative;top:-4px;margin-right:3px}.status--online[_ngcontent-%COMP%]{color:#27f32f}.status--online[_ngcontent-%COMP%]:before{background-color:#27f32f}.status--offline[_ngcontent-%COMP%]{color:#acacac}.status--offline[_ngcontent-%COMP%]:before{background-color:#acacac}.status--busy[_ngcontent-%COMP%]{color:#ff451e}.status--busy[_ngcontent-%COMP%]:before{background-color:#ff451e}']});class s_{constructor(i,t){this.service=i,this.messageService=t,this.openChatWindow=new e.vpe}openNewChat(){this.messageService.createChat(this.user),this.openChatWindow.emit(this.user.username)}ngOnInit(){this.subscription=this.service.active.subscribe(i=>this.user=i)}ngOnDestroy(){this.subscription.unsubscribe()}}s_.\u0275fac=function(i){return new(i||s_)(e.Y36(id),e.Y36(Ql))},s_.\u0275cmp=e.Xpm({type:s_,selectors:[["app-user-profile"]],outputs:{openChatWindow:"openChatWindow"},decls:1,vars:1,consts:[["class","profile",4,"ngIf"],[1,"profile"],[1,"profile__picture-container"],["alt","",1,"profile__picture",3,"src"],[1,"profile__button"],["mat-flat-button","","color","primary",3,"click"],[1,"mat-h1","profile__username"],["mat-line","",1,"profile__status"],[1,"mat-line",3,"text"],[1,"mat-h2"],[1,"mat-body"]],template:function(i,t){1&i&&e.YNc(0,qT,14,4,"div",0),2&i&&e.Q6J("ngIf",t.user)},dependencies:[F.O5,Dt.lW,ae.X2,If],styles:[".profile[_ngcontent-%COMP%]{padding:16px}.profile__picture-container[_ngcontent-%COMP%]{width:180px;height:180px;border-radius:120px;overflow:hidden;margin:0 auto 12px}.profile__picture[_ngcontent-%COMP%]{width:100%;height:auto}.profile__username[_ngcontent-%COMP%]{margin:0}.profile__status[_ngcontent-%COMP%]{margin-bottom:16px}.profile__button[_ngcontent-%COMP%]{margin:8px auto 16px;display:flex;justify-content:center}"]});class l_{constructor(i){this.service=i,this.openSidebar=new e.vpe}showProfile(){this.service.active.next(this.user),this.openSidebar.emit(this.user.name)}}function QT(r,i){1&r&&e._UZ(0,"mat-divider")}function JT(r,i){if(1&r){const t=e.EpF();e.ynx(0),e.TgZ(1,"app-user-item",1),e.NdJ("openSidebar",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.openSidebar.emit(a))}),e.qZA(),e.YNc(2,QT,1,0,"mat-divider",2),e.BQk()}if(2&r){const t=i.$implicit,n=i.last;e.xp6(1),e.Q6J("user",t),e.xp6(1),e.Q6J("ngIf",!n)}}l_.\u0275fac=function(i){return new(i||l_)(e.Y36(id))},l_.\u0275cmp=e.Xpm({type:l_,selectors:[["app-user-item"]],inputs:{user:"user"},outputs:{openSidebar:"openSidebar"},decls:6,vars:3,consts:[[3,"click"],["loading","lazy","matListItemAvatar","",3,"src"],["mat-line",""],[1,"mat-line",3,"text"]],template:function(i,t){1&i&&(e.TgZ(0,"mat-list-item",0),e.NdJ("click",function(){return t.showProfile()}),e._UZ(1,"img",1),e.TgZ(2,"h4",2),e._uU(3),e.qZA(),e.TgZ(4,"p",2),e._UZ(5,"app-status",3),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("src",t.user.cover,e.LSH),e.xp6(2),e.Oqu(t.user.name),e.xp6(2),e.Q6J("text",t.user.status))},dependencies:[zF,Gy,ae.X2,If],styles:["mat-list-item[_ngcontent-%COMP%]{height:90px!important}"]});class c_{constructor(i){this.service=i,this.openSidebar=new e.vpe,this.data=[],this.service.getUsers()}ngOnInit(){this.service.users.subscribe(i=>this.data=i)}}c_.\u0275fac=function(i){return new(i||c_)(e.Y36(id))},c_.\u0275cmp=e.Xpm({type:c_,selectors:[["app-user-list"]],outputs:{openSidebar:"openUserSidebar"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"user","openSidebar"],[4,"ngIf"]],template:function(i,t){1&i&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,JT,3,2,"ng-container",0),e.qZA()),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.data))},dependencies:[F.sg,F.O5,GF,e_,l_]});class Of{isSendable(i){return""!==i&&""!==i.trim()}}Of.\u0275fac=function(i){return new(i||Of)},Of.\u0275prov=e.Yz7({token:Of,factory:Of.\u0275fac,providedIn:"root"});let KT=0;const $T=(0,ae.Id)(class{}),XD="mat-badge-content";let eM=(()=>{class r extends $T{get color(){return this._color}set color(t){this._setColor(t),this._color=t}get overlap(){return this._overlap}set overlap(t){this._overlap=(0,st.Ig)(t)}get content(){return this._content}set content(t){this._updateRenderedContent(t)}get description(){return this._description}set description(t){this._updateHostAriaDescription(t)}get hidden(){return this._hidden}set hidden(t){this._hidden=(0,st.Ig)(t)}constructor(t,n,a,l,v){super(),this._ngZone=t,this._elementRef=n,this._ariaDescriber=a,this._renderer=l,this._animationMode=v,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=KT++,this._isInitialized=!1}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const t=this._renderer.createElement("span"),n="mat-badge-active";return t.setAttribute("id",`mat-badge-content-${this._id}`),t.setAttribute("aria-hidden","true"),t.classList.add(XD),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add(n)})}):t.classList.add(n),t}_updateRenderedContent(t){const n=`${t??""}`.trim();this._isInitialized&&n&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=n),this._content=n}_updateHostAriaDescription(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),t&&this._ariaDescriber.describe(this._elementRef.nativeElement,t),this._description=t}_setColor(t){const n=this._elementRef.nativeElement.classList;n.remove(`mat-badge-${this._color}`),t&&n.add(`mat-badge-${t}`)}_clearExistingBadges(){const t=this._elementRef.nativeElement.querySelectorAll(`:scope > .${XD}`);for(const n of Array.from(t))n!==this._badgeElement&&n.remove()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(g.$s),e.Y36(e.Qsj),e.Y36(e.QbO,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,n){2&t&&e.ekj("mat-badge-overlap",n.overlap)("mat-badge-above",n.isAbove())("mat-badge-below",!n.isAbove())("mat-badge-before",!n.isAfter())("mat-badge-after",n.isAfter())("mat-badge-small","small"===n.size)("mat-badge-medium","medium"===n.size)("mat-badge-large","large"===n.size)("mat-badge-hidden",n.hidden||!n.content)("mat-badge-disabled",n.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[e.qOj]}),r})(),XT=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[g.rt,ae.BQ,ae.BQ]}),r})();function e4(r,i){if(1&r&&e._UZ(0,"span",5),2&r){const t=e.oxw();e.Q6J("matBadge",t.chat.lastMessageLength)}}class d_{constructor(i){this.service=i,this.openChatSidebar=new e.vpe}showMessageDetail(){this.openChatSidebar.emit(this.chat.username)}}function t4(r,i){1&r&&e._UZ(0,"mat-divider")}d_.\u0275fac=function(i){return new(i||d_)(e.Y36(Ql))},d_.\u0275cmp=e.Xpm({type:d_,selectors:[["app-chat-item"]],inputs:{chat:"chat",event:"event"},outputs:{openChatSidebar:"openChatSidebar"},decls:7,vars:4,consts:[[3,"click"],["alt","","matListItemAvatar","",3,"src"],["mat-line",""],["mat-line","",1,"last-message"],["matBadgeOverlap","false","matBadgePosition","above before","matBadgeColor","warn",3,"matBadge",4,"ngIf"],["matBadgeOverlap","false","matBadgePosition","above before","matBadgeColor","warn",3,"matBadge"]],template:function(i,t){1&i&&(e.TgZ(0,"mat-list-item",0),e.NdJ("click",function(){return t.showMessageDetail()}),e._UZ(1,"img",1),e.TgZ(2,"h4",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e._uU(5),e.qZA(),e.YNc(6,e4,1,1,"span",4),e.qZA()),2&i&&(e.xp6(1),e.Q6J("src",t.chat.cover,e.LSH),e.xp6(2),e.Oqu(t.chat.username),e.xp6(2),e.Oqu(t.chat.lastMessage),e.xp6(1),e.Q6J("ngIf",t.chat.lastMessageLength))},dependencies:[F.O5,zF,Gy,ae.X2,eM],styles:[".last-message[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:90%;white-space:nowrap}.user-avatar[_ngcontent-%COMP%]{height:50px;width:50px}mat-list-item[_ngcontent-%COMP%]{height:90px!important}"]});const n4=function(r){return["/m",r]};function r4(r,i){if(1&r&&(e.ynx(0),e._UZ(1,"app-chat-item",6),e.YNc(2,t4,1,0,"mat-divider",7),e.BQk()),2&r){const t=i.$implicit,n=i.last;e.xp6(1),e.Q6J("routerLink",e.VKq(3,n4,t.id))("chat",t),e.xp6(1),e.Q6J("ngIf",!n)}}function a4(r,i){if(1&r&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.AsE("",t.pubkey," : ",t.content,"")}}class jh{constructor(i){this.chatService=i,this.openChatSidebar=new e.vpe}ngOnInit(){this.chatService.download()}add(){}reset(){}}jh.\u0275fac=function(i){return new(i||jh)(e.Y36(Ql))},jh.\u0275cmp=e.Xpm({type:jh,selectors:[["app-chat-list"]],outputs:{openChatSidebar:"openChatSidebar"},decls:15,vars:4,consts:[[1,"search"],["appearance","fill",1,"input-full-width"],["matInput","","type","text","placeholder","Search..."],["matSuffix",""],[4,"ngFor","ngForOf"],[3,"click"],[3,"routerLink","chat"],[4,"ngIf"]],template:function(i,t){1&i&&(e.TgZ(0,"mat-nav-list")(1,"div",0)(2,"mat-form-field",1),e._UZ(3,"input",2),e.TgZ(4,"mat-icon",3),e._uU(5,"search"),e.qZA()()(),e.YNc(6,r4,3,5,"ng-container",4),e.ALo(7,"async"),e.qZA(),e.YNc(8,a4,2,2,"div",4),e.TgZ(9,"button",5),e.NdJ("click",function(){return t.add()}),e._uU(10,"Add"),e.qZA(),e.TgZ(11,"button",5),e.NdJ("click",function(){return t.reset()}),e._uU(12,"Reset"),e.qZA(),e.TgZ(13,"button",5),e.NdJ("click",function(){return t.chatService.download()}),e._uU(14,"Download"),e.qZA()),2&i&&(e.xp6(6),e.Q6J("ngForOf",e.lcZ(7,2,t.chatService.chats$)),e.xp6(2),e.Q6J("ngForOf",t.chatService.chats3))},dependencies:[F.sg,F.O5,Yt.rH,io,Ca,H0,Wn,GF,e_,d_,F.Ov],styles:[".form[_ngcontent-%COMP%]{padding:16px 16px 0}.input-full-width[_ngcontent-%COMP%]{position:relative;margin:auto}.search[_ngcontent-%COMP%]{position:sticky;top:0;padding:10px;z-index:999}"]});class u_{}u_.\u0275fac=function(i){return new(i||u_)},u_.\u0275cmp=e.Xpm({type:u_,selectors:[["app-message-bubble"]],inputs:{message:"message",cover:"cover"},decls:6,vars:4,consts:[[1,"bubble"],[1,"bubble","cover"],["alt","",1,"bubble","picture",3,"src"],[1,"bubble","container"],[1,"bubble","card"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"img",2),e.qZA(),e.TgZ(3,"div",3)(4,"mat-card",4),e._uU(5),e.qZA()()()),2&i&&(e.ekj("me",0==t.message.id),e.xp6(2),e.Q6J("src",t.message.cover,e.LSH),e.xp6(3),e.hij(" ",t.message.message," "))},dependencies:[ca],styles:[".bubble[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:12px}.bubble.cover[_ngcontent-%COMP%]{width:36px;height:36px;margin-right:16px;border-radius:18px;overflow:hidden}.bubble.picture[_ngcontent-%COMP%]{display:block;max-width:100%;margin-bottom:0}.bubble.container[_ngcontent-%COMP%]{flex:1}.bubble.card[_ngcontent-%COMP%]{display:inline-block!important;padding:12px}.bubble.me[_ngcontent-%COMP%]{flex-direction:row-reverse}.bubble.me[_ngcontent-%COMP%] .bubble.picture[_ngcontent-%COMP%]{display:block;max-width:100%}.bubble.me[_ngcontent-%COMP%] .bubble.container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.bubble.me[_ngcontent-%COMP%] .bubble.container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{background-color:#ffffff8c}.bubble.me[_ngcontent-%COMP%] .bubble.cover[_ngcontent-%COMP%]{margin-right:0;margin-left:16px}"]});const o4=["scrollable"],s4=["picker"],l4=["drawer"];function c4(r,i){if(1&r&&(e.ynx(0),e._UZ(1,"app-message-bubble",23),e.BQk()),2&r){const t=i.$implicit;e.xp6(1),e.Q6J("message",t)}}function d4(r,i){if(1&r&&(e.ynx(0),e.YNc(1,c4,2,1,"ng-container",22),e.BQk()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.chat.chat)}}function u4(r,i){1&r&&e._UZ(0,"mat-spinner",24)}function h4(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-mart",25),e.NdJ("emojiSelect",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.addEmoji(a))}),e.qZA()}2&r&&e.Q6J("isNative",!0)("showPreview",!1)}function m4(r,i){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"chevron_left"),e.qZA())}function f4(r,i){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"chevron_right"),e.qZA())}class Lf{constructor(i,t,n){this.service=i,this.control=t,this.appState=n,this.sending=!1,this.displayList=!0}ngOnInit(){}scrollToBottom(){setTimeout(()=>{this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight},100)}saveMessage(i){this.message=i.target.value,"Enter"==i.key&&this.control.isSendable(this.message)&&(this.scrollToBottom(),this.service.saveMessage(this.chat.id,this.message),this.sending=!0,i.target.value="")}send(i){this.message=i,this.control.isSendable(this.message)&&(this.scrollToBottom(),this.service.saveMessage(this.chat.id,this.message),this.sending=!0,this.message="")}addEmoji(i){this.message=`${this.message}${i.emoji.native}`,this.isEmojiPickerVisible=!1}toggle(){this.displayList=!this.displayList,this.drawer.toggle()}ngOnDestroy(){this.subscription?.unsubscribe()}}Lf.\u0275fac=function(i){return new(i||Lf)(e.Y36(Ql),e.Y36(Of),e.Y36(Oe.i))},Lf.\u0275cmp=e.Xpm({type:Lf,selectors:[["app-chat-detail"]],viewQuery:function(i,t){if(1&i&&(e.Gf(o4,5),e.Gf(s4,5),e.Gf(l4,5)),2&i){let n;e.iGM(n=e.CRH())&&(t.scrollable=n.first),e.iGM(n=e.CRH())&&(t.picker=n.first),e.iGM(n=e.CRH())&&(t.drawer=n.first)}},decls:44,vars:8,consts:[["autosize","",1,"chat-detail-container"],["opened","","mode","side",1,"chat-detail-sidenav","list-hide-small"],["drawer",""],[1,"chat-detail-sidenav-content"],[1,"messages-list-container"],[1,"scrollable"],["scrollable",""],[4,"ngIf"],["diameter","24","color","warn",4,"ngIf"],[1,"message-send"],["class","emoji-picker","emoji","point_up","title","Choose your emoji",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["type","button","mat-icon-button","",1,"list-hide-small",2,"margin","5px",3,"click"],[1,"input-full-width"],["matPrefix","",1,"toolbar-icon",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item",""],["mat-menu-item","","disabled",""],["type","text","matInput","","placeholder","Write a message",3,"ngModel","ngModelChange","keypress"],["align","end",1,"hint"],["matSuffix","","matTooltip","Insert emoji",1,"toolbar-icon",3,"click"],["matSuffix","",1,"toolbar-icon"],["matSuffix","",1,"toolbar-icon",3,"click"],[4,"ngFor","ngForOf"],[3,"message"],["diameter","24","color","warn"],["emoji","point_up","title","Choose your emoji",1,"emoji-picker",3,"isNative","showPreview","emojiSelect"]],template:function(i,t){if(1&i&&(e.TgZ(0,"mat-drawer-container",0)(1,"mat-drawer",1,2),e._UZ(3,"app-chat-list"),e.qZA(),e.TgZ(4,"div",3)(5,"div",4)(6,"div",5,6),e.YNc(8,d4,2,1,"ng-container",7),e.YNc(9,u4,1,0,"mat-spinner",8),e.qZA(),e.TgZ(10,"div",9),e.YNc(11,h4,1,2,"emoji-mart",10),e.TgZ(12,"button",11),e.NdJ("click",function(){return t.toggle()}),e.YNc(13,m4,2,0,"mat-icon",7),e.YNc(14,f4,2,0,"mat-icon",7),e.qZA(),e.TgZ(15,"mat-form-field",12)(16,"mat-icon",13),e._uU(17,"attach_file_add"),e.qZA(),e.TgZ(18,"mat-menu",null,14)(20,"button",15)(21,"mat-icon"),e._uU(22,"imagesmode"),e.qZA(),e.TgZ(23,"span"),e._uU(24,"Image"),e.qZA()(),e.TgZ(25,"button",15)(26,"mat-icon"),e._uU(27,"videocam"),e.qZA(),e.TgZ(28,"span"),e._uU(29,"Video"),e.qZA()(),e.TgZ(30,"button",16)(31,"mat-icon"),e._uU(32,"file_present"),e.qZA(),e.TgZ(33,"span"),e._uU(34,"Document"),e.qZA()()(),e.TgZ(35,"input",17),e.NdJ("ngModelChange",function(a){return t.message=a})("keypress",function(a){return t.saveMessage(a)}),e.qZA(),e.TgZ(36,"mat-hint",18),e._uU(37),e.qZA(),e.TgZ(38,"mat-icon",19),e.NdJ("click",function(){return t.isEmojiPickerVisible=!t.isEmojiPickerVisible}),e._uU(39,"sentiment_satisfied"),e.qZA(),e.TgZ(40,"mat-icon",20),e._uU(41,"mic"),e.qZA(),e.TgZ(42,"mat-icon",21),e.NdJ("click",function(){return t.send(t.message)}),e._uU(43,"send"),e.qZA()()()()()()),2&i){const n=e.MAs(19);e.xp6(8),e.Q6J("ngIf",t.chat),e.xp6(1),e.Q6J("ngIf",t.sending),e.xp6(2),e.Q6J("ngIf",t.isEmojiPickerVisible),e.xp6(2),e.Q6J("ngIf",t.displayList),e.xp6(1),e.Q6J("ngIf",!t.displayList),e.xp6(2),e.Q6J("matMenuTriggerFor",n),e.xp6(19),e.Q6J("ngModel",t.message),e.xp6(2),e.hij("Length : ",null==t.message?null:t.message.length,"")}},dependencies:[F.sg,F.O5,io,Ca,Rp,ol,H0,Dt.RK,JF,KF,Wn,du,bl,Dh,fo,Za,WF,ar,Sr,oa,jh,u_],styles:[".chat-detail-container[_ngcontent-%COMP%]{height:100%;width:100%}.chat-detail-sidenav-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center}.chat-detail-sidenav[_ngcontent-%COMP%]{width:275px}[_nghost-%COMP%]{display:flex;height:100%}.messages-list-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;justify-content:space-between;width:100%;height:100%}.scrollable[_ngcontent-%COMP%]{flex:1;overflow-y:auto;padding:16px;background-color:#ffffff8c;background-image:url(/assets/chat-bg.png)}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#ddd}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#bdbdbd}.message-send[_ngcontent-%COMP%]{display:flex;padding:10px}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.bubble[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:12px}.bubble[_ngcontent-%COMP%] .cover[_ngcontent-%COMP%]{width:36px;height:36px;margin-right:16px;border-radius:18px;overflow:hidden}.bubble[_ngcontent-%COMP%] .picture[_ngcontent-%COMP%]{display:block;max-width:100%}.bubble[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{flex:1}.bubble[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{display:inline-block!important}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%]{flex-direction:row-reverse}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{background-color:#ffffff8c}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%] .cover[_ngcontent-%COMP%]{margin-right:0;margin-left:16px}.emoji-picker[_ngcontent-%COMP%]{display:block;position:absolute;z-index:3;bottom:90px;right:10px}@media only screen and (max-width: 960px){.list-hide-small[_ngcontent-%COMP%]{display:none!important}}"]});const p4=["chatSidebar"],g4=["userSidebar"];class h_{constructor(i){this.appState=i,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(t=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=t},chatSideBar:function(t=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=t}}}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.appState.updateTitle("Chat"),i.appState.goBack=!0,i.appState.actions=[]})()}}h_.\u0275fac=function(i){return new(i||h_)(e.Y36(Oe.i))},h_.\u0275cmp=e.Xpm({type:h_,selectors:[["app-chat"]],viewQuery:function(i,t){if(1&i&&(e.Gf(p4,5),e.Gf(g4,5)),2&i){let n;e.iGM(n=e.CRH())&&(t.chatSidebar=n.first),e.iGM(n=e.CRH())&&(t.userSidebar=n.first)}},decls:24,vars:2,consts:[["autosize","",1,"drawer-container"],["mat-align-tabs","center"],["label","Messages"],[3,"openChatSidebar"],["label","Users"],[3,"openUserSidebar"],["mode","side","position","start",1,"sidebar","sidebar--message"],["chatSidebar",""],["color","primary",1,"zIndexTop"],["aria-hidden","false",1,"button",3,"click"],[1,"spacer"],["mode","over","position","end",1,"sidebar","sidebar--user"],["userSidebar",""],[3,"openChatWindow"]],template:function(i,t){if(1&i){const n=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-tab-group",1)(2,"mat-tab",2)(3,"app-chat-list",3),e.NdJ("openChatSidebar",function(l){return t.open.chatSideBar(l)}),e.qZA()(),e.TgZ(4,"mat-tab",4)(5,"app-user-list",5),e.NdJ("openUserSidebar",function(l){return t.open.userSideBar(l)}),e.qZA()()(),e.TgZ(6,"mat-sidenav",6,7)(8,"mat-toolbar",8)(9,"mat-toolbar-row")(10,"mat-icon",9),e.NdJ("click",function(){e.CHM(n);const l=e.MAs(7);return e.KtG(l.close())}),e._uU(11,"arrow_back_ios"),e.qZA(),e.TgZ(12,"span",10),e._uU(13),e.qZA()()(),e._UZ(14,"app-chat-detail"),e.qZA(),e.TgZ(15,"mat-sidenav",11,12)(17,"mat-toolbar",8)(18,"mat-toolbar-row")(19,"span",10),e._uU(20),e.qZA(),e.TgZ(21,"mat-icon",9),e.NdJ("click",function(){e.CHM(n);const l=e.MAs(16);return e.KtG(l.close())}),e._uU(22,"close"),e.qZA()()(),e.TgZ(23,"app-user-profile",13),e.NdJ("openChatWindow",function(l){return t.open.chatSideBar(l)}),e.qZA()()()}2&i&&(e.xp6(13),e.hij(" ",t.sidebarTitles.chat," "),e.xp6(7),e.hij(" ",t.sidebarTitles.user," "))},dependencies:[KD,JD,XF,eC,Wn,yu,vu,s_,c_,Lf,jh],styles:[".drawer-container{height:100%;z-index:9999;overflow:visible!important}.sidebar--message{width:100%}.sidebar--user{max-width:360px;width:100%}.sidebar .mat-drawer-inner-container{display:flex;flex-direction:column;flex:1;z-index:9999}.zIndexTop{z-index:10}.spacer{flex:1}\n"],encapsulation:2});class m_{constructor(i,t){this.profiles=i,this.utilities=t,this.pubkey="",this.profileName="",this.tooltip=""}ngOnInit(){}}function _4(r,i){if(1&r&&(e.TgZ(0,"div",8),e._UZ(1,"app-profile-widget",9),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.Q6J("pubkey",t)}}function b4(r,i){if(1&r&&(e.ynx(0),e.TgZ(1,"div",6),e.YNc(2,_4,2,1,"div",7),e.qZA(),e.BQk()),2&r){const t=i.ngIf;e.xp6(2),e.Q6J("ngForOf",t.following)}}m_.\u0275fac=function(i){return new(i||m_)(e.Y36(Yn),e.Y36(pn.dU))},m_.\u0275cmp=e.Xpm({type:m_,selectors:[["app-profile-widget"]],inputs:{pubkey:"pubkey"},decls:3,vars:2,consts:[[1,"profile-widget"],[3,"pubkey"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0),e._UZ(1,"app-event-header",1)(2,"app-profile-actions",1),e.qZA()),2&i&&(e.xp6(1),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("pubkey",t.pubkey))},dependencies:[Ro,Xc],styles:[".profile-widget[_ngcontent-%COMP%]{gap:.4em;display:flex;flex-direction:row;height:200px}.profile-widget[_ngcontent-%COMP%] app-event-header[_ngcontent-%COMP%]{flex-grow:2}.profile-widget[_ngcontent-%COMP%] app-profile-actions[_ngcontent-%COMP%]{width:48px}"]});const y4=function(r){return["/followers",r]},v4=function(r){return["/following",r]};class f_{constructor(i,t,n,a,l,v){this.ui=i,this.appState=t,this.dataService=n,this.profileService=a,this.activatedRoute=l,this.router=v,this.subscriptions=[]}ngOnInit(){var i=this;this.appState.showBackButton=!0,this.appState.backUrl=void 0,this.subscriptions.push(this.ui.profile$.subscribe(t=>{t&&(this.appState.updateTitle(t.name),this.dataService.enque({type:"Contacts",identifier:t.pubkey}))})),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var t=(0,we.Z)(function*(n){const a=n.get("id");i.ui.setPubKey(a)});return function(n){return t.apply(this,arguments)}}()))}ngOnDestroy(){for(let i=0;i{this.appState.updateTitle(`@${t?.name}`)})),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var t=(0,we.Z)(function*(n){const a=n.get("id");i.ui.setPubKey(a)});return function(n){return t.apply(this,arguments)}}()))}ngOnDestroy(){for(let i=0;i{this.addQueue()}}]}addQueue(){var i=this;this.dialog.open(g_,{data:{},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,we.Z)(function*(a){if(a&&a.url)if(a.url.indexOf("youtu.be")>-1||a.url.indexOf("youtube.com")>-1){let v=[...a.url.matchAll(i.contentService.regexpYouTube)].map(T=>({url:`https://www.youtube.com/embed/${T[1]}`}));for(let T=0;T-1||a.url.indexOf(".webm")>-1?i.media.enque({artist:"",artwork:"/assets/logos/youtube.png",title:a.url,source:a.url,type:"Video"}):i.media.enque({artist:"",artwork:"",title:a.url,source:a.url,type:"Music"})});return function(a){return n.apply(this,arguments)}}())}remove(i){this.media.dequeue(i)}}__.\u0275fac=function(i){return new(i||__)(e.Y36(Qc),e.Y36(yi),e.Y36(Oe.i),e.Y36(la.I),e.Y36(gl),e.Y36(pn.dU))},__.\u0275cmp=e.Xpm({type:__,selectors:[["app-queue"]],decls:4,vars:1,consts:[[1,"page"],[1,"media-list"],[4,"ngFor","ngForOf"],["matListItemAvatar","",1,"queue-artwork",3,"src"],["matListItemTitle",""],["matListItemLine",""],["matListItemMeta","",1,"delete-button"],["mat-icon-button","","matTooltip","Remove from queue","color","grey",3,"click"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-list"),e.YNc(3,F4,10,4,"mat-list-item",2),e.qZA()()()),2&i&&(e.xp6(3),e.Q6J("ngForOf",t.media.media))},dependencies:[F.sg,Dt.RK,Wn,GE,zF,Gy,zy,Zy,SD,fo],styles:[".queue-artwork[_ngcontent-%COMP%]{border-radius:0!important}"]});const C4=["chatSidebar"],k4=["userSidebar"];function D4(r,i){if(1&r&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"json"),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,t))}}class b_{constructor(i,t,n){this.appState=i,this.queueService=t,this.relayService=n,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(a=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=a},chatSideBar:function(a=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=a}}}ngOnDestroy(){this.relayService.unsubscribe(this.sub.id)}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.appState.updateTitle("Messages"),i.appState.goBack=!0,i.appState.showBackButton=!1,i.appState.actions=[],i.sub=i.relayService.subscribe([{"#p":[i.appState.getPublicKey()],kinds:[Qi.EncryptedDirectMessage]}],"messages")})()}}b_.\u0275fac=function(i){return new(i||b_)(e.Y36(Oe.i),e.Y36(Br),e.Y36(ro))},b_.\u0275cmp=e.Xpm({type:b_,selectors:[["app-messages"]],viewQuery:function(i,t){if(1&i&&(e.Gf(C4,5),e.Gf(k4,5)),2&i){let n;e.iGM(n=e.CRH())&&(t.chatSidebar=n.first),e.iGM(n=e.CRH())&&(t.userSidebar=n.first)}},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"]],template:function(i,t){1&i&&(e._UZ(0,"app-chat-list"),e.YNc(1,D4,3,3,"div",0)),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.sub.events))},dependencies:[F.sg,jh,F.Ts],styles:[".drawer-container{height:100%;z-index:9999;overflow:visible!important}.sidebar--message{width:100%}.sidebar--user{max-width:360px;width:100%}.zIndexTop{z-index:10}.spacer{flex:1}\n"],encapsulation:2});const M4=["chatSidebar"],E4=["userSidebar"];class y_{constructor(i){this.appState=i,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(t=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=t},chatSideBar:function(t=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=t}}}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.appState.updateTitle("@Milad"),i.appState.goBack=!0,i.appState.showBackButton=!0,i.appState.actions=[]})()}}function A4(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(t.relay.nip11.name)}}function T4(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(t.relay.url.substring(6))}}function S4(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"edit_note"),e.qZA())}function I4(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"edit_off"),e.qZA())}function O4(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"edit"),e.qZA())}function L4(r,i){1&r&&(e.TgZ(0,"mat-icon",16),e._uU(1,"cloud_off"),e.qZA())}y_.\u0275fac=function(i){return new(i||y_)(e.Y36(Oe.i))},y_.\u0275cmp=e.Xpm({type:y_,selectors:[["app-message"]],viewQuery:function(i,t){if(1&i&&(e.Gf(M4,5),e.Gf(E4,5)),2&i){let n;e.iGM(n=e.CRH())&&(t.chatSidebar=n.first),e.iGM(n=e.CRH())&&(t.userSidebar=n.first)}},decls:1,vars:0,template:function(i,t){1&i&&e._UZ(0,"app-chat-detail")},dependencies:[Lf],styles:[".drawer-container{height:100%;z-index:9999;overflow:visible!important}.sidebar--message{width:100%}.sidebar--user{max-width:360px;width:100%}.zIndexTop{z-index:10}.spacer{flex:1}\n"],encapsulation:2});const tM=function(r){return[r]};function N4(r,i){if(1&r&&(e.TgZ(0,"mat-icon",17),e._uU(1,"cloud_done"),e.qZA()),2&r){const t=e.oxw();e.Q6J("ngClass",e.VKq(1,tM,"relay-status-"+t.relay.status))}}function R4(r,i){if(1&r&&(e.TgZ(0,"mat-icon",17),e._uU(1,"cloud"),e.qZA()),2&r){const t=e.oxw();e.Q6J("ngClass",e.VKq(1,tM,"relay-status-"+t.relay.status))}}function P4(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"public"),e.qZA())}function B4(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"public_off"),e.qZA())}function Y4(r,i){if(1&r&&(e.TgZ(0,"div",18),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(t.relay.error)}}function H4(r,i){if(1&r&&(e.TgZ(0,"h2"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(null==t.relay.nip11?null:t.relay.nip11.name)}}const U4=function(r){return["/p",r]};function j4(r,i){if(1&r&&(e.TgZ(0,"span")(1,"a",20),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"br"),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("routerLink",e.VKq(4,U4,t.relay.nip11.pubkey)),e.xp6(1),e.Oqu(e.lcZ(3,2,"Relay.Administrator"))}}function V4(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e._UZ(3,"br"),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.AsE("",e.lcZ(2,2,"Relay.Contact"),": ",t.relay.nip11.contact,"")}}function Z4(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,H4,2,1,"h2",2),e._uU(2),e._UZ(3,"br")(4,"br"),e.TgZ(5,"span",9),e.YNc(6,j4,5,6,"span",2),e.YNc(7,V4,4,4,"span",2),e._uU(8),e._UZ(9,"br"),e._uU(10),e.ALo(11,"translate"),e._UZ(12,"br"),e.TgZ(13,"span",19),e._uU(14),e.qZA()()()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",null==t.relay.nip11?null:t.relay.nip11.name),e.xp6(1),e.hij(" ",t.relay.nip11.description,""),e.xp6(4),e.Q6J("ngIf",t.relay.nip11.pubkey),e.xp6(1),e.Q6J("ngIf",t.relay.nip11.contact),e.xp6(1),e.hij(" NIPs: ",t.relay.nip11.supported_nips,""),e.xp6(2),e.lnq(" ",e.lcZ(11,9,"Relay.Software"),": ",t.relay.nip11.software," (",t.relay.nip11.version,")"),e.xp6(4),e.hij(" ID: ",t.relay.nip11.pubkey,"")}}function z4(r,i){if(1&r&&(e.TgZ(0,"div",9),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.AsE(" ",e.lcZ(2,2,"Relay.Timeouts")," ",t.relay.timeouts,"")}}function G4(r,i){if(1&r&&(e.TgZ(0,"div",9),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.AsE(" ",e.lcZ(2,2,"Relay.Events"),": ",t.relay.eventcount,"")}}function W4(r,i){if(1&r&&(e.TgZ(0,"mat-list-option",21)(1,"mat-icon",22),e._uU(2),e.qZA(),e.TgZ(3,"span",23),e._uU(4),e.qZA(),e.TgZ(5,"span",24),e._uU(6),e.qZA()()),2&r){const t=i.$implicit,n=e.oxw();e.Q6J("selected",n.relay.type==t.type)("value",t.type),e.xp6(2),e.Oqu(t.icon),e.xp6(2),e.Oqu(t.title),e.xp6(2),e.Oqu(t.description)}}function q4(r,i){if(1&r&&(e.TgZ(0,"mat-list-option",21)(1,"mat-icon",22),e._uU(2),e.qZA(),e.TgZ(3,"span",23),e._uU(4),e.qZA(),e.TgZ(5,"span",24),e._uU(6),e.qZA()()),2&r){const t=i.$implicit,n=e.oxw();e.Q6J("selected",n.relay.enabled==t.type)("value",t.type),e.xp6(2),e.Oqu(t.icon),e.xp6(2),e.Oqu(t.title),e.xp6(2),e.Oqu(t.description)}}function Q4(r,i){if(1&r&&(e.TgZ(0,"mat-list-option",21)(1,"mat-icon",22),e._uU(2),e.qZA(),e.TgZ(3,"span",23),e._uU(4),e.qZA(),e.TgZ(5,"span",24),e._uU(6),e.qZA()()),2&r){const t=i.$implicit,n=e.oxw();e.Q6J("selected",n.relay.public==t.type)("value",t.type),e.xp6(2),e.Oqu(t.icon),e.xp6(2),e.Oqu(t.title),e.xp6(2),e.Oqu(t.description)}}const iM=function(r){return{"primary-relay":r}};class v_{constructor(i,t){this.optionsService=i,this.relayService=t,this.typesOfRelays=[{type:1,title:"Read and Write",description:"Reads and writes events, profiles and other metadata. Always connected.",icon:"edit_note"},{type:2,title:"Read",description:"Reads only, does not write, unless explicit specified on publish action.",icon:"edit_off"},{type:3,title:"Write",description:"Writes your events, profile and other metadata updates. Connects on-demand.",icon:"edit"}],this.typesOfPrivacy=[{type:!0,title:"Public",description:"This relay is included in your public relay list.",icon:"public"},{type:!1,title:"Private",description:"This relay is not published as part of your public relay list.",icon:"public_off"}],this.typesOfStatus=[{type:!0,title:"Enabled",description:"This relay is enabled and Notes will connect to it.",icon:"cloud_done"},{type:!1,title:"Disabled",description:"Disables this relay (locally) until activated again.",icon:"cloud_off"}]}ngOnInit(){}onRelayTypeChange(i){var t=this;return(0,we.Z)(function*(){console.log("onRelayTypeChange",i.options[0].value),t.relay.type=i.options[0].value,console.log("SAVING:",t.relay),yield t.relayService.setRelayType(t.relay.url,t.relay.type),!t.relay.enabled||t.relay.type>2?t.relayService.terminate(t.relay.url):t.relayService.createRelayWorker(t.relay.url)})()}onRelayPublicChange(i){var t=this;return(0,we.Z)(function*(){console.log("onRelayPublicChange",i.options[0].value),t.relay.public=i.options[0].value,console.log("SAVING:",t.relay),yield t.relayService.setRelayPublic(t.relay.url,t.relay.public)})()}onRelayStatusChange(i){var t=this;return(0,we.Z)(function*(){console.log("onRelayStatusChange",i.options[0].value),t.relay.enabled=i.options[0].value,console.log("SAVING:",t.relay),yield t.relayService.setRelayEnabled(t.relay.url,t.relay.enabled),t.relay.enabled||t.relay.type>2?t.relayService.createRelayWorker(t.relay.url):t.relayService.terminate(t.relay.url)})()}onRelayChanged(i){return(0,we.Z)(function*(){})()}primaryRelay(i){var t=this;return(0,we.Z)(function*(){t.optionsService.values.primaryRelay=i.url,t.optionsService.save()})()}deleteRelay(i){var t=this;return(0,we.Z)(function*(){yield t.relayService.deleteRelay(i.url)})()}relayFavIcon(i){return i.replace("wss://","https://")+"/favicon.ico"}}function J4(r,i){1&r&&e._UZ(0,"app-relay",2),2&r&&e.Q6J("relay",i.$implicit)}v_.\u0275fac=function(i){return new(i||v_)(e.Y36(la.I),e.Y36(ro))},v_.\u0275cmp=e.Xpm({type:v_,selectors:[["app-relay"]],inputs:{relay:"relay"},decls:59,vars:48,consts:[[3,"ngClass"],["onerror","this.src='/assets/blank.png'","width","32","height","32",1,"relay-favicon",3,"src"],[4,"ngIf"],[1,"hide-small",3,"ngClass"],["class","relay-status-icon hide-small",4,"ngIf"],["class","relay-status-icon",4,"ngIf"],["class","relay-status-icon",3,"ngClass",4,"ngIf"],["class","error",4,"ngIf"],["class","dimmed",4,"ngIf"],[1,"dimmed"],[1,"relay-options","mat-elevation-z8"],[3,"multiple","selectionChange"],[3,"selected","value",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",1,"relay-button",3,"disabled","click"],["mat-raised-button","","color","warn",1,"relay-button",3,"click"],[1,"relay-status-icon","hide-small"],[1,"relay-status-icon"],[1,"relay-status-icon",3,"ngClass"],[1,"error"],[1,"wrap"],[3,"routerLink"],[3,"selected","value"],["matListItemIcon",""],["matListItemTitle",""],["matListItemLine",""]],template:function(i,t){1&i&&(e.TgZ(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title",0),e._UZ(3,"img",1),e.YNc(4,A4,2,1,"span",2),e.YNc(5,T4,2,1,"span",2),e.qZA(),e.TgZ(6,"mat-panel-description")(7,"span",3),e._uU(8),e.qZA(),e.TgZ(9,"div"),e.YNc(10,S4,2,0,"mat-icon",4),e.YNc(11,I4,2,0,"mat-icon",4),e.YNc(12,O4,2,0,"mat-icon",4),e.YNc(13,L4,2,0,"mat-icon",5),e.YNc(14,N4,2,3,"mat-icon",6),e.YNc(15,R4,2,3,"mat-icon",6),e.YNc(16,P4,2,0,"mat-icon",4),e.YNc(17,B4,2,0,"mat-icon",4),e.qZA()()(),e.YNc(18,Y4,2,1,"div",7),e.YNc(19,Z4,15,11,"div",2),e._UZ(20,"br"),e.YNc(21,z4,3,4,"div",8),e.YNc(22,G4,3,4,"div",8),e.TgZ(23,"div",9),e._uU(24),e.qZA(),e.TgZ(25,"mat-card",10)(26,"mat-card-header")(27,"mat-card-title"),e._uU(28),e.ALo(29,"translate"),e.qZA()(),e.TgZ(30,"mat-card-content")(31,"mat-selection-list",11),e.NdJ("selectionChange",function(a){return t.onRelayTypeChange(a)}),e.YNc(32,W4,7,5,"mat-list-option",12),e.qZA()()(),e.TgZ(33,"mat-card",10)(34,"mat-card-header")(35,"mat-card-title"),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.TgZ(38,"mat-card-subtitle"),e._uU(39),e.ALo(40,"translate"),e.qZA()(),e.TgZ(41,"mat-card-content")(42,"mat-selection-list",11),e.NdJ("selectionChange",function(a){return t.onRelayStatusChange(a)}),e.YNc(43,q4,7,5,"mat-list-option",12),e.qZA()()(),e.TgZ(44,"mat-card",10)(45,"mat-card-header")(46,"mat-card-title"),e._uU(47),e.ALo(48,"translate"),e.qZA()(),e.TgZ(49,"mat-card-content")(50,"mat-selection-list",11),e.NdJ("selectionChange",function(a){return t.onRelayPublicChange(a)}),e.YNc(51,Q4,7,5,"mat-list-option",12),e.qZA()()(),e.TgZ(52,"button",13),e.NdJ("click",function(){return t.primaryRelay(t.relay)}),e._uU(53),e.ALo(54,"translate"),e.qZA(),e._uU(55,"\xa0 "),e.TgZ(56,"button",14),e.NdJ("click",function(){return t.deleteRelay(t.relay)}),e._uU(57),e.ALo(58,"translate"),e.qZA()()),2&i&&(e.xp6(2),e.Q6J("ngClass",e.VKq(44,iM,t.optionsService.values.primaryRelay==t.relay.url)),e.xp6(1),e.Q6J("src",t.relayFavIcon(t.relay.url),e.LSH),e.xp6(1),e.Q6J("ngIf",t.relay.nip11),e.xp6(1),e.Q6J("ngIf",!t.relay.nip11),e.xp6(2),e.Q6J("ngClass",e.VKq(46,iM,t.optionsService.values.primaryRelay==t.relay.url)),e.xp6(1),e.Oqu(t.relay.url),e.xp6(2),e.Q6J("ngIf",1===t.relay.type),e.xp6(1),e.Q6J("ngIf",2===t.relay.type),e.xp6(1),e.Q6J("ngIf",3===t.relay.type),e.xp6(1),e.Q6J("ngIf",!t.relay.enabled),e.xp6(1),e.Q6J("ngIf",t.relay.enabled&&1==t.relay.status),e.xp6(1),e.Q6J("ngIf",t.relay.enabled&&1!==t.relay.status),e.xp6(1),e.Q6J("ngIf",!0===t.relay.public),e.xp6(1),e.Q6J("ngIf",!1===t.relay.public),e.xp6(1),e.Q6J("ngIf",t.relay.error),e.xp6(1),e.Q6J("ngIf",t.relay.nip11),e.xp6(2),e.Q6J("ngIf",t.relay.timeouts),e.xp6(1),e.Q6J("ngIf",t.relay.eventcount),e.xp6(2),e.hij("Status: ",t.relay.status,""),e.xp6(4),e.hij("",e.lcZ(29,32,"Relay.RelayOptions")," "),e.xp6(3),e.Q6J("multiple",!1),e.xp6(1),e.Q6J("ngForOf",t.typesOfRelays),e.xp6(4),e.hij("",e.lcZ(37,34,"Relay.RelayStatus")," "),e.xp6(3),e.hij(" ",e.lcZ(40,36,"Relay.RelayStatus.Subtitle")," "),e.xp6(3),e.Q6J("multiple",!1),e.xp6(1),e.Q6J("ngForOf",t.typesOfStatus),e.xp6(4),e.hij("",e.lcZ(48,38,"Relay.RelayPrivacy")," "),e.xp6(3),e.Q6J("multiple",!1),e.xp6(1),e.Q6J("ngForOf",t.typesOfPrivacy),e.xp6(1),e.Q6J("disabled",!t.relay.public||t.optionsService.values.primaryRelay==t.relay.url),e.xp6(1),e.hij("",e.lcZ(54,40,"Relay.PrimaryRelay")," "),e.xp6(4),e.hij("",e.lcZ(58,42,"Relay.Delete")," "))},dependencies:[F.mk,F.sg,F.O5,Yt.rH,Dt.lW,ca,Rs,fh,mh,hh,Wn,ND,LD,VF,zy,Zy,Sn.ib,Sn.yz,Sn.yK,Sn.u4,vs.X$],styles:[".mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.mat-expansion-panel[_ngcontent-%COMP%]{margin-bottom:.4em}.relay-status--1[_ngcontent-%COMP%]{color:#3131d2}.relay-status-0[_ngcontent-%COMP%]{color:gray}.relay-status-1[_ngcontent-%COMP%]{color:#22b322}.relay-status-2[_ngcontent-%COMP%]{color:orange}.relay-status-3[_ngcontent-%COMP%]{color:red}.relay-status-4[_ngcontent-%COMP%]{color:#3131d2}.relay-status-icon[_ngcontent-%COMP%]{margin-left:.2em}.primary-relay[_ngcontent-%COMP%]{color:#c603b5}.relay-options[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:.6em;background-color:#ffffff1a}.settings-action-buttons[_ngcontent-%COMP%]{padding-top:.8em;padding-bottom:1em}.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:1em;margin-right:1em}@media only screen and (max-width: 599px){.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin-right:0}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-grow:3!important}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-grow:1!important}}.relay-button[_ngcontent-%COMP%]{margin-top:.8em}.options-slider[_ngcontent-%COMP%]{margin-left:1em}.relay-favicon[_ngcontent-%COMP%]{margin-right:1em}"]});class Nf{constructor(){}ngOnInit(){}trackByFn(i,t){return`${t.url}${t.modified}`}}Nf.\u0275fac=function(i){return new(i||Nf)},Nf.\u0275cmp=e.Xpm({type:Nf,selectors:[["app-relays"]],inputs:{relays:"relays"},decls:2,vars:2,consts:[["multi",""],["ngFor","",3,"ngForOf","ngForTrackBy"],[3,"relay"]],template:function(i,t){1&i&&(e.TgZ(0,"mat-accordion",0),e.YNc(1,J4,1,1,"ng-template",1),e.qZA()),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.relays)("ngForTrackBy",t.trackByFn))},dependencies:[F.sg,Sn.pp,v_]});class w_{constructor(i,t,n,a){this.nostr=i,this.dataService=t,this.appState=n,this.relayService=a}ngOnInit(){this.appState.updateTitle("Development & Debug")}database(){return(0,we.Z)(function*(){})()}databaseWorker(){console.log("Creating Worker...")}addRelays(){var i=this;return(0,we.Z)(function*(){i.relayService.appendRelays(i.nostr.defaultRelays)})()}downloadProfile(){this.relayService.enque({identifier:this.appState.getPublicKey(),type:"Profile"})}subscription(){this.sub=this.relayService.subscribe([{authors:[this.appState.getPublicKey()],kinds:[1]}]).id}unsubscribe(){this.relayService.unsubscribe(this.sub)}terminate(){this.relayService.workers[0].terminate()}ngOnDestroy(){this.worker?.terminate()}}w_.\u0275fac=function(i){return new(i||w_)(e.Y36(Ho),e.Y36(pa),e.Y36(Oe.i),e.Y36(ro))},w_.\u0275cmp=e.Xpm({type:w_,selectors:[["app-development"]],decls:20,vars:1,consts:[[1,"page"],["mat-stroked-button","",3,"click"],[3,"relays"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"p"),e._uU(2,"This page act as examples for more specialized implementation details of the app."),e.qZA(),e.TgZ(3,"button",1),e.NdJ("click",function(){return t.downloadProfile()}),e._uU(4,"Enque Profile Download"),e.qZA(),e.TgZ(5,"button",1),e.NdJ("click",function(){return t.database()}),e._uU(6,"Create Database"),e.qZA(),e.TgZ(7,"button",1),e.NdJ("click",function(){return t.databaseWorker()}),e._uU(8,"Create Database in Worker"),e.qZA(),e.TgZ(9,"button",1),e.NdJ("click",function(){return t.addRelays()}),e._uU(10,"Add Relays"),e.qZA(),e.TgZ(11,"button",1),e.NdJ("click",function(){return t.subscription()}),e._uU(12,"Create Subscription"),e.qZA(),e.TgZ(13,"button",1),e.NdJ("click",function(){return t.unsubscribe()}),e._uU(14,"Remove Subscription"),e.qZA(),e.TgZ(15,"button",1),e.NdJ("click",function(){return t.terminate()}),e._uU(16,"Terminate a single Web Worker"),e.qZA(),e._UZ(17,"br")(18,"br")(19,"app-relays",2),e.qZA()),2&i&&(e.xp6(19),e.Q6J("relays",t.relayService.items))},dependencies:[Dt.lW,Nf],styles:["button[_ngcontent-%COMP%]{margin-right:.2em;margin-top:.2em}"]});var Yr=y(6826);const K4=function(r){return{"notification-message-seen":r}};function $4(r,i){if(1&r&&(e.TgZ(0,"mat-card",7)(1,"mat-card-content")(2,"div",8)(3,"div",9),e._UZ(4,"app-notification-label",10),e.qZA(),e.TgZ(5,"div",11),e._UZ(6,"app-date",12),e.qZA()()()()),2&r){const t=i.$implicit;e.xp6(3),e.Q6J("ngClass",e.VKq(3,K4,t.seen)),e.xp6(1),e.Q6J("notification",t),e.xp6(2),e.Q6J("date",t.created)}}class x_{constructor(i,t,n,a,l,v){this.navigation=i,this.utilities=t,this.db=n,this.relayService=a,this.ui=l,this.appState=v,this.subscriptions=[],this.offset=0,this.pageSize=12}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.appState.updateTitle("Notifications"),i.appState.showBackButton=!1,i.appState.actions=[];const t=yield i.db.storage.getNotifications(100);i.ui.putNotifications(t),i.subscriptions.push(i.navigation.showMore$.subscribe(()=>{i.showMore()}))})()}showMore(){var i=this;return(0,we.Z)(function*(){let t=yield i.db.storage.db.transaction("notifications").store.index("created").openCursor(void 0,"prev");i.offset>0&&(t=yield t?.advance(i.offset));for(let n=0;n{i.showMore()}))});return function(n){return t.apply(this,arguments)}}()))})()}}Rf.\u0275fac=function(i){return new(i||Rf)(e.Y36(zr),e.Y36(Yt.gz),e.Y36(Fr),e.Y36(za),e.Y36(Oe.i),e.Y36(e.sBO),e.Y36(la.I),e.Y36(Yn),e.Y36(ns.Y),e.Y36(pn.dU),e.Y36(Yt.F0),e.Y36(De.Yg),e.Y36(no.ux),e.Y36(e.R0b))},Rf.\u0275cmp=e.Xpm({type:Rf,selectors:[["app-feed-private"]],decls:2,vars:3,consts:[["class","","infiniteScroll","",3,"scrollAction",4,"ngIf"],["infiniteScroll","",1,"",3,"scrollAction"],[1,"feed-page"],[1,"options"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"show-more","centered"],["mat-button","",3,"click"],[1,"events","clickable",3,"click"],[1,"events-header"],[3,"pubkey"],["matTooltipPosition","below",1,"event-date"],[3,"event"]],template:function(i,t){1&i&&(e.YNc(0,e6,13,3,"div",0),e.ALo(1,"async")),2&i&&e.Q6J("ngIf",e.lcZ(1,1,t.ui.feedEventsView$))},dependencies:[F.sg,F.O5,Dt.lW,ca,Sn.pp,Sn.ib,Sn.yz,Sn.yK,Sn.u4,jo,Ro,Po,zl,po,F.Ov,cs],styles:[".loading-container[_ngcontent-%COMP%]{text-align:center}.loading[_ngcontent-%COMP%]{margin:auto}"]});var $i=(()=>{return(r=$i||($i={}))[r.QR_CODE=0]="QR_CODE",r[r.AZTEC=1]="AZTEC",r[r.CODABAR=2]="CODABAR",r[r.CODE_39=3]="CODE_39",r[r.CODE_93=4]="CODE_93",r[r.CODE_128=5]="CODE_128",r[r.DATA_MATRIX=6]="DATA_MATRIX",r[r.MAXICODE=7]="MAXICODE",r[r.ITF=8]="ITF",r[r.EAN_13=9]="EAN_13",r[r.EAN_8=10]="EAN_8",r[r.PDF_417=11]="PDF_417",r[r.RSS_14=12]="RSS_14",r[r.RSS_EXPANDED=13]="RSS_EXPANDED",r[r.UPC_A=14]="UPC_A",r[r.UPC_E=15]="UPC_E",r[r.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION",$i;var r})(),nM=new Map([[$i.QR_CODE,"QR_CODE"],[$i.AZTEC,"AZTEC"],[$i.CODABAR,"CODABAR"],[$i.CODE_39,"CODE_39"],[$i.CODE_93,"CODE_93"],[$i.CODE_128,"CODE_128"],[$i.DATA_MATRIX,"DATA_MATRIX"],[$i.MAXICODE,"MAXICODE"],[$i.ITF,"ITF"],[$i.EAN_13,"EAN_13"],[$i.EAN_8,"EAN_8"],[$i.PDF_417,"PDF_417"],[$i.RSS_14,"RSS_14"],[$i.RSS_EXPANDED,"RSS_EXPANDED"],[$i.UPC_A,"UPC_A"],[$i.UPC_E,"UPC_E"],[$i.UPC_EAN_EXTENSION,"UPC_EAN_EXTENSION"]]);function t6(r){return Object.values($i).includes(r)}var nd=(()=>{return(r=nd||(nd={}))[r.SCAN_TYPE_CAMERA=0]="SCAN_TYPE_CAMERA",r[r.SCAN_TYPE_FILE=1]="SCAN_TYPE_FILE",nd;var r})(),Jl=function(){function r(){}return r.GITHUB_PROJECT_URL="https://github.com/mebjas/html5-qrcode",r.SCAN_DEFAULT_FPS=2,r.DEFAULT_DISABLE_FLIP=!1,r.DEFAULT_REMEMBER_LAST_CAMERA_USED=!0,r.DEFAULT_SUPPORTED_SCAN_TYPE=[nd.SCAN_TYPE_CAMERA,nd.SCAN_TYPE_FILE],r}(),rM=function(){function r(i,t){this.format=i,this.formatName=t}return r.prototype.toString=function(){return this.formatName},r.create=function(i){if(!nM.has(i))throw i+" not in html5QrcodeSupportedFormatsTextMap";return new r(i,nM.get(i))},r}(),aM=function(){function r(){}return r.createFromText=function(i){return{decodedText:i,result:{text:i}}},r.createFromQrcodeResult=function(i){return{decodedText:i.text,result:i}},r}(),Ky=(()=>{return(r=Ky||(Ky={}))[r.UNKWOWN_ERROR=0]="UNKWOWN_ERROR",r[r.IMPLEMENTATION_ERROR=1]="IMPLEMENTATION_ERROR",r[r.NO_CODE_FOUND_ERROR=2]="NO_CODE_FOUND_ERROR",Ky;var r})(),oM=function(){function r(){}return r.createFrom=function(i){return{errorMessage:i,type:Ky.UNKWOWN_ERROR}},r}(),sM=function(){function r(i){this.verbose=i}return r.prototype.log=function(i){this.verbose&&console.log(i)},r.prototype.warn=function(i){this.verbose&&console.warn(i)},r.prototype.logError=function(i,t){(this.verbose||!0===t)&&console.error(i)},r.prototype.logErrors=function(i){if(0===i.length)throw"Logger#logError called without arguments";this.verbose&&console.error(i)},r}();function Ec(r){return typeof r>"u"||null===r}var r,F_=function(){function r(){}return r.codeParseError=function(i){return"QR code parse error, error = "+i},r.errorGettingUserMedia=function(i){return"Error getting userMedia, error = "+i},r.onlyDeviceSupportedError=function(){return"The device doesn't support navigator.mediaDevices , only supported cameraIdOrConfig in this case is deviceId parameter (string)."},r.cameraStreamingNotSupported=function(){return"Camera streaming not supported by the browser."},r.unableToQuerySupportedDevices=function(){return"Unable to query supported devices, unknown error."},r.insecureContextCameraQueryError=function(){return"Camera access is only supported in secure context like https or localhost."},r}(),Hr=function(){function r(){}return r.scanningStatus=function(){return"Scanning"},r.idleStatus=function(){return"Idle"},r.errorStatus=function(){return"Error"},r.permissionStatus=function(){return"Permission"},r.noCameraFoundErrorStatus=function(){return"No Cameras"},r.lastMatch=function(i){return"Last Match: "+i},r.codeScannerTitle=function(){return"Code Scanner"},r.cameraPermissionTitle=function(){return"Request Camera Permissions"},r.cameraPermissionRequesting=function(){return"Requesting camera permissions..."},r.noCameraFound=function(){return"No camera found"},r.scanButtonStopScanningText=function(){return"Stop Scanning"},r.scanButtonStartScanningText=function(){return"Start Scanning"},r.torchOnButton=function(){return"Switch On Torch"},r.torchOffButton=function(){return"Switch Off Torch"},r.torchOnFailedMessage=function(){return"Failed to turn on torch"},r.torchOffFailedMessage=function(){return"Failed to turn off torch"},r.scanButtonScanningStarting=function(){return"Launching Camera..."},r.textIfCameraScanSelected=function(){return"Scan an Image File"},r.textIfFileScanSelected=function(){return"Scan using camera directly"},r.selectCamera=function(){return"Select Camera"},r.fileSelectionChooseImage=function(){return"Choose Image"},r.fileSelectionChooseAnother=function(){return"Choose Another"},r.fileSelectionNoImageSelected=function(){return"No image choosen"},r.anonymousCameraPrefix=function(){return"Anonymous Camera"},r.dragAndDropMessage=function(){return"Or drop an image to scan"},r.dragAndDropMessageOnlyImages=function(){return"Or drop an image to scan (other files not supported)"},r.zoom=function(){return"zoom"},r.loadingImage=function(){return"Loading image..."},r.cameraScanAltText=function(){return"Camera based scan"},r.fileScanAltText=function(){return"Fule based scan"},r}(),lM=function(){function r(){}return r.poweredBy=function(){return"Powered by "},r.reportIssues=function(){return"Report issues"},r}(),cM=function(){function r(){}return r.isMediaStreamConstraintsValid=function(i,t){if("object"!=typeof i)return t.logError("videoConstraints should be of type object, the object passed is of type "+typeof i+".",!0),!1;for(var l=new Set(["autoGainControl","channelCount","echoCancellation","latency","noiseSuppression","sampleRate","sampleSize","volume"]),T=0,G=Object.keys(i);T0&&l[l.length-1])&&(6===z[0]||2===z[0])){t=0;continue}if(3===z[0]&&(!l||z[1]>l[0]&&z[1]n&&(n=T,t=v)}if(!t)throw"No largest barcode found";return t},r.prototype.createBarcodeDetectorFormats=function(i){for(var t=[],n=0,a=i;n0&&l[l.length-1])&&(6===z[0]||2===z[0])){t=0;continue}if(3===z[0]&&(!l||z[1]>l[0]&&z[1]0&&l[l.length-1])&&(6===z[0]||2===z[0])){t=0;continue}if(3===z[0]&&(!l||z[1]>l[0]&&z[1]=l&&(i.isClosed=!0,i.parentElement.removeChild(i.surface),t())})})},r.prototype.getCapabilities=function(){return new d6(this.getFirstTrackOrFail())},r}(),h6=function(){function r(i){this.mediaStream=i}return r.prototype.render=function(i,t,n){return $y(this,void 0,void 0,function(){return Xy(this,function(a){return[2,u6.create(i,this.mediaStream,t,n)]})})},r.create=function(i){return $y(this,void 0,void 0,function(){return Xy(this,function(a){switch(a.label){case 0:if(!navigator.mediaDevices)throw"navigator.mediaDevices not supported";return[4,navigator.mediaDevices.getUserMedia({audio:!1,video:i})];case 1:return[2,new r(a.sent())]}})})},r}(),pM=function(r,i,t,n){return new(t||(t=Promise))(function(l,v){function T(be){try{z(n.next(be))}catch(Ve){v(Ve)}}function G(be){try{z(n.throw(be))}catch(Ve){v(Ve)}}function z(be){be.done?l(be.value):function a(l){return l instanceof t?l:new t(function(v){v(l)})}(be.value).then(T,G)}z((n=n.apply(r,i||[])).next())})},gM=function(r,i){var n,a,l,v,t={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return v={next:T(0),throw:T(1),return:T(2)},"function"==typeof Symbol&&(v[Symbol.iterator]=function(){return this}),v;function T(z){return function(be){return function G(z){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,a&&(l=2&z[0]?a.return:z[0]?a.throw||((l=a.return)&&l.call(a),0):a.next)&&!(l=l.call(a,z[1])).done)return l;switch(a=0,l&&(z=[2&z[0],l.value]),z[0]){case 0:case 1:l=z;break;case 4:return t.label++,{value:z[1],done:!1};case 5:t.label++,a=z[1],z=[0];continue;case 7:z=t.ops.pop(),t.trys.pop();continue;default:if(!(l=(l=t.trys).length>0&&l[l.length-1])&&(6===z[0]||2===z[0])){t=0;continue}if(3===z[0]&&(!l||z[1]>l[0]&&z[1]0&&l[l.length-1])&&(6===z[0]||2===z[0])){t=0;continue}if(3===z[0]&&(!l||z[1]>l[0]&&z[1](function(r){r[r.UNKNOWN=0]="UNKNOWN",r[r.NOT_STARTED=1]="NOT_STARTED",r[r.SCANNING=2]="SCANNING",r[r.PAUSED=3]="PAUSED"}(Ma||(Ma={})),Ma))(),_6=function(){function r(){this.state=Ma.NOT_STARTED,this.onGoingTransactionNewState=Ma.UNKNOWN}return r.prototype.directTransition=function(i){this.failIfTransitionOngoing(),this.validateTransition(i),this.state=i},r.prototype.startTransition=function(i){return this.failIfTransitionOngoing(),this.validateTransition(i),this.onGoingTransactionNewState=i,this},r.prototype.execute=function(){if(this.onGoingTransactionNewState===Ma.UNKNOWN)throw"Transaction is already cancelled, cannot execute().";var i=this.onGoingTransactionNewState;this.onGoingTransactionNewState=Ma.UNKNOWN,this.directTransition(i)},r.prototype.cancel=function(){if(this.onGoingTransactionNewState===Ma.UNKNOWN)throw"Transaction is already cancelled, cannot cancel().";this.onGoingTransactionNewState=Ma.UNKNOWN},r.prototype.getState=function(){return this.state},r.prototype.failIfTransitionOngoing=function(){if(this.onGoingTransactionNewState!==Ma.UNKNOWN)throw"Cannot transition to a new state, already under transition"},r.prototype.validateTransition=function(i){switch(this.state){case Ma.UNKNOWN:throw"Transition from unknown is not allowed";case Ma.NOT_STARTED:this.failIfNewStateIs(i,[Ma.PAUSED])}},r.prototype.failIfNewStateIs=function(i,t){for(var n=0,a=t;ni&&(this.logger.warn("`qrbox.width` or `qrbox` is larger than the width of the root element. The width will be truncated to the width of root element."),z=i),z)},r.prototype.validateQrboxConfig=function(i){if("number"!=typeof i&&"function"!=typeof i&&(void 0===i.width||void 0===i.height))throw"Invalid instance of QrDimensions passed for 'config.qrbox'. Both 'width' and 'height' should be set."},r.prototype.toQrdimensions=function(i,t,n){if("number"==typeof n)return{width:n,height:n};if("function"==typeof n)try{return n(i,t)}catch(a){throw new Error("qrbox config was passed as a function but it failed with unknown error"+a)}return n},r.prototype.setupUi=function(i,t,n){n.isShadedBoxEnabled()&&this.validateQrboxSize(i,t,n);var a=Ec(n.qrbox)?{width:i,height:t}:n.qrbox;this.validateQrboxConfig(a);var l=this.toQrdimensions(i,t,a);l.height>t&&this.logger.warn("[Html5Qrcode] config.qrbox has height that isgreater than the height of the video stream. Shading will be ignored");var v=n.isShadedBoxEnabled()&&l.height<=t,T={x:0,y:0,width:i,height:t},G=v?this.getShadedRegionBounds(i,t,l):T,z=this.createCanvasElement(G.width,G.height),Ve=z.getContext("2d",{willReadFrequently:!0});Ve.canvas.width=G.width,Ve.canvas.height=G.height,this.element.append(z),v&&this.possiblyInsertShadingElement(this.element,i,t,l),this.createScannerPausedUiElement(this.element),this.qrRegion=G,this.context=Ve,this.canvasElement=z},r.prototype.createScannerPausedUiElement=function(i){var t=document.createElement("div");t.innerText="Scanner paused",t.style.display="none",t.style.position="absolute",t.style.top="0px",t.style.zIndex="1",t.style.background="yellow",t.style.textAlign="center",t.style.width="100%",i.appendChild(t),this.scannerPausedUiElement=t},r.prototype.scanContext=function(i,t){var n=this;return this.stateManagerProxy.isPaused()?Promise.resolve(!1):this.qrcode.decodeAsync(this.canvasElement).then(function(a){return i(a.text,aM.createFromQrcodeResult(a)),n.possiblyUpdateShaders(!0),!0}).catch(function(a){n.possiblyUpdateShaders(!1);var l=F_.codeParseError(a);return t(l,oM.createFrom(l)),!1})},r.prototype.foreverScan=function(i,t,n){var a=this;if(this.shouldScan&&this.renderedCamera){var l=this.renderedCamera.getSurface(),v=l.videoWidth/l.clientWidth,T=l.videoHeight/l.clientHeight;if(!this.qrRegion)throw"qrRegion undefined when localMediaStream is ready.";this.context.drawImage(l,this.qrRegion.x*v,this.qrRegion.y*T,this.qrRegion.width*v,this.qrRegion.height*T,0,0,this.qrRegion.width,this.qrRegion.height);var bt=function(){a.foreverScanTimeout=setTimeout(function(){a.foreverScan(i,t,n)},a.getTimeoutFps(i.fps))};this.scanContext(t,n).then(function(Pt){Pt||!0===i.disableFlip?bt():(a.context.translate(a.context.canvas.width,0),a.context.scale(-1,1),a.scanContext(t,n).finally(function(){bt()}))}).catch(function(Pt){a.logger.logError("Error happend while scanning context",Pt),bt()})}},r.prototype.createVideoConstraints=function(i){if("string"==typeof i)return{deviceId:{exact:i}};if("object"==typeof i){var t="facingMode",n="deviceId",a={user:!0,environment:!0},l="exact",v=function(Gt){if(Gt in a)return!0;throw"config has invalid 'facingMode' value = '"+Gt+"'"},T=Object.keys(i);if(1!==T.length)throw"'cameraIdOrConfig' object should have exactly 1 key, if passed as an object, found "+T.length+" keys";var G=Object.keys(i)[0];if(G!==t&&G!==n)throw"Only '"+t+"' and '"+n+"' are supported for 'cameraIdOrConfig'";if(G!==t){var Ve=i.deviceId;if("string"==typeof Ve)return{deviceId:Ve};if("object"==typeof Ve){if(l in Ve)return{deviceId:{exact:Ve[""+l]}};throw"'deviceId' should be string or object with exact as key."}throw"Invalid type of 'deviceId' = "+typeof Ve}var z=i.facingMode;if("string"==typeof z){if(v(z))return{facingMode:z}}else{if("object"!=typeof z)throw"Invalid type of 'facingMode' = "+typeof z;if(!(l in z))throw"'facingMode' should be string or object with exact as key.";if(v(z[""+l]))return{facingMode:{exact:z[""+l]}}}}throw"Invalid type of 'cameraIdOrConfig' = "+typeof i},r.prototype.computeCanvasDrawConfig=function(i,t,n,a){if(i<=n&&t<=a)return{x:(n-i)/2,y:(a-t)/2,width:i,height:t};var T=i,G=t;return i>n&&(t*=n/i,i=n),t>a&&(i*=a/t,t=a),this.logger.log("Image downsampled from "+T+"X"+G+" to "+i+"X"+t+"."),this.computeCanvasDrawConfig(i,t,n,a)},r.prototype.clearElement=function(){if(this.stateManagerProxy.isScanning())throw"Cannot clear while scan is ongoing, close it first.";var i=document.getElementById(this.elementId);i&&(i.innerHTML="")},r.prototype.possiblyUpdateShaders=function(i){this.qrMatch!==i&&(this.hasBorderShaders&&this.borderShaders&&this.borderShaders.length&&this.borderShaders.forEach(function(t){t.style.backgroundColor=i?js.BORDER_SHADER_MATCH_COLOR:js.BORDER_SHADER_DEFAULT_COLOR}),this.qrMatch=i)},r.prototype.possiblyCloseLastScanImageFile=function(){this.lastScanImageFile&&(URL.revokeObjectURL(this.lastScanImageFile),this.lastScanImageFile=null)},r.prototype.createCanvasElement=function(i,t,n){var a=i,l=t,v=document.createElement("canvas");return v.style.width=a+"px",v.style.height=l+"px",v.style.display="none",v.id=Ec(n)?"qr-canvas":n,v},r.prototype.getShadedRegionBounds=function(i,t,n){if(n.width>i||n.height>t)throw"'config.qrbox' dimensions should not be greater than the dimensions of the root HTML element.";return{x:(i-n.width)/2,y:(t-n.height)/2,width:n.width,height:n.height}},r.prototype.possiblyInsertShadingElement=function(i,t,n,a){if(!(t-a.width<1||n-a.height<1)){var l=document.createElement("div");l.style.position="absolute";var v=(t-a.width)/2,T=(n-a.height)/2;if(l.style.borderLeft=v+"px solid rgba(0, 0, 0, 0.48)",l.style.borderRight=v+"px solid rgba(0, 0, 0, 0.48)",l.style.borderTop=T+"px solid rgba(0, 0, 0, 0.48)",l.style.borderBottom=T+"px solid rgba(0, 0, 0, 0.48)",l.style.boxSizing="border-box",l.style.top="0px",l.style.bottom="0px",l.style.left="0px",l.style.right="0px",l.id=""+js.SHADED_REGION_ELEMENT_ID,t-a.width<11||n-a.height<11)this.hasBorderShaders=!1;else{this.insertShaderBorders(l,40,5,-5,null,0,!0),this.insertShaderBorders(l,40,5,-5,null,0,!1),this.insertShaderBorders(l,40,5,null,-5,0,!0),this.insertShaderBorders(l,40,5,null,-5,0,!1),this.insertShaderBorders(l,5,45,-5,null,-5,!0),this.insertShaderBorders(l,5,45,null,-5,-5,!0),this.insertShaderBorders(l,5,45,-5,null,-5,!1),this.insertShaderBorders(l,5,45,null,-5,-5,!1),this.hasBorderShaders=!0}i.append(l)}},r.prototype.insertShaderBorders=function(i,t,n,a,l,v,T){var G=document.createElement("div");G.style.position="absolute",G.style.backgroundColor=js.BORDER_SHADER_DEFAULT_COLOR,G.style.width=t+"px",G.style.height=n+"px",null!==a&&(G.style.top=a+"px"),null!==l&&(G.style.bottom=l+"px"),T?G.style.left=v+"px":G.style.right=v+"px",this.borderShaders||(this.borderShaders=[]),this.borderShaders.push(G),i.appendChild(G)},r.prototype.showPausedState=function(){if(!this.scannerPausedUiElement)throw"[internal error] scanner paused UI element not found";this.scannerPausedUiElement.style.display="block"},r.prototype.hidePausedState=function(){if(!this.scannerPausedUiElement)throw"[internal error] scanner paused UI element not found";this.scannerPausedUiElement.style.display="none"},r.prototype.getTimeoutFps=function(i){return 1e3/i},r}(),iC="data:image/svg+xml;base64,",x6=iC+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNzEuNjQzIDM3MS42NDMiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDM3MS42NDMgMzcxLjY0MyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTEwNS4wODQgMzguMjcxaDE2My43Njh2MjBIMTA1LjA4NHoiLz48cGF0aCBkPSJNMzExLjU5NiAxOTAuMTg5Yy03LjQ0MS05LjM0Ny0xOC40MDMtMTYuMjA2LTMyLjc0My0yMC41MjJWMzBjMC0xNi41NDItMTMuNDU4LTMwLTMwLTMwSDEyNS4wODRjLTE2LjU0MiAwLTMwIDEzLjQ1OC0zMCAzMHYxMjAuMTQzaC04LjI5NmMtMTYuNTQyIDAtMzAgMTMuNDU4LTMwIDMwdjEuMzMzYTI5LjgwNCAyOS44MDQgMCAwIDAgNC42MDMgMTUuOTM5Yy03LjM0IDUuNDc0LTEyLjEwMyAxNC4yMjEtMTIuMTAzIDI0LjA2MXYxLjMzM2MwIDkuODQgNC43NjMgMTguNTg3IDEyLjEwMyAyNC4wNjJhMjkuODEgMjkuODEgMCAwIDAtNC42MDMgMTUuOTM4djEuMzMzYzAgMTYuNTQyIDEzLjQ1OCAzMCAzMCAzMGg4LjMyNGMuNDI3IDExLjYzMSA3LjUwMyAyMS41ODcgMTcuNTM0IDI2LjE3Ny45MzEgMTAuNTAzIDQuMDg0IDMwLjE4NyAxNC43NjggNDUuNTM3YTkuOTg4IDkuOTg4IDAgMCAwIDguMjE2IDQuMjg4IDkuOTU4IDkuOTU4IDAgMCAwIDUuNzA0LTEuNzkzYzQuNTMzLTMuMTU1IDUuNjUtOS4zODggMi40OTUtMTMuOTIxLTYuNzk4LTkuNzY3LTkuNjAyLTIyLjYwOC0xMC43Ni0zMS40aDgyLjY4NWMuMjcyLjQxNC41NDUuODE4LjgxNSAxLjIxIDMuMTQyIDQuNTQxIDkuMzcyIDUuNjc5IDEzLjkxMyAyLjUzNCA0LjU0Mi0zLjE0MiA1LjY3Ny05LjM3MSAyLjUzNS0xMy45MTMtMTEuOTE5LTE3LjIyOS04Ljc4Ny0zNS44ODQgOS41ODEtNTcuMDEyIDMuMDY3LTIuNjUyIDEyLjMwNy0xMS43MzIgMTEuMjE3LTI0LjAzMy0uODI4LTkuMzQzLTcuMTA5LTE3LjE5NC0xOC42NjktMjMuMzM3YTkuODU3IDkuODU3IDAgMCAwLTEuMDYxLS40ODZjLS40NjYtLjE4Mi0xMS40MDMtNC41NzktOS43NDEtMTUuNzA2IDEuMDA3LTYuNzM3IDE0Ljc2OC04LjI3MyAyMy43NjYtNy42NjYgMjMuMTU2IDEuNTY5IDM5LjY5OCA3LjgwMyA0Ny44MzYgMTguMDI2IDUuNzUyIDcuMjI1IDcuNjA3IDE2LjYyMyA1LjY3MyAyOC43MzMtLjQxMyAyLjU4NS0uODI0IDUuMjQxLTEuMjQ1IDcuOTU5LTUuNzU2IDM3LjE5NC0xMi45MTkgODMuNDgzLTQ5Ljg3IDExNC42NjEtNC4yMjEgMy41NjEtNC43NTYgOS44Ny0xLjE5NCAxNC4wOTJhOS45OCA5Ljk4IDAgMCAwIDcuNjQ4IDMuNTUxIDkuOTU1IDkuOTU1IDAgMCAwIDYuNDQ0LTIuMzU4YzQyLjY3Mi0zNi4wMDUgNTAuODAyLTg4LjUzMyA1Ni43MzctMTI2Ljg4OC40MTUtMi42ODQuODIxLTUuMzA5IDEuMjI5LTcuODYzIDIuODM0LTE3LjcyMS0uNDU1LTMyLjY0MS05Ljc3Mi00NC4zNDV6bS0yMzIuMzA4IDQyLjYyYy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM2MwLTUuNTE0IDQuNDg2LTEwIDEwLTEwaDE1djIxLjMzM2gtMTV6bS0yLjUtNTIuNjY2YzAtNS41MTQgNC40ODYtMTAgMTAtMTBoNy41djIxLjMzM2gtNy41Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM3ptMTcuNSA5My45OTloLTcuNWMtNS41MTQgMC0xMC00LjQ4Ni0xMC0xMHYtMS4zMzNjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGg3LjV2MjEuMzMzem0zMC43OTYgMjguODg3Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi04LjI3MWg5MS40NTdjLS44NTEgNi42NjgtLjQzNyAxMi43ODcuNzMxIDE4LjI3MWgtODIuMTg4em03OS40ODItMTEzLjY5OGMtMy4xMjQgMjAuOTA2IDEyLjQyNyAzMy4xODQgMjEuNjI1IDM3LjA0IDUuNDQxIDIuOTY4IDcuNTUxIDUuNjQ3IDcuNzAxIDcuMTg4LjIxIDIuMTUtMi41NTMgNS42ODQtNC40NzcgNy4yNTEtLjQ4Mi4zNzgtLjkyOS44LTEuMzM1IDEuMjYxLTYuOTg3IDcuOTM2LTExLjk4MiAxNS41Mi0xNS40MzIgMjIuNjg4aC05Ny41NjRWMzBjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGgxMjMuNzY5YzUuNTE0IDAgMTAgNC40ODYgMTAgMTB2MTM1LjU3OWMtMy4wMzItLjM4MS02LjE1LS42OTQtOS4zODktLjkxNC0yNS4xNTktMS42OTQtNDIuMzcgNy43NDgtNDQuODk4IDI0LjY2NnoiLz48cGF0aCBkPSJNMTc5LjEyOSA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXpNMTcyLjYyOSAxNDIuODZoLTEyLjU2VjEzMC44YTUgNSAwIDEgMC0xMCAwdjE3LjA2MWE1IDUgMCAwIDAgNSA1aDE3LjU2YTUgNSAwIDEgMCAwLTEwLjAwMXpNMjE2LjU2OCA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXptLTUgMjQuMDYxaC0xNC4wNlY5My4xNjdoMTQuMDZ2MTQuMDYxek0yMTEuNjY5IDEyNS45MzZIMTk3LjQxYTUgNSAwIDAgMC01IDV2MTQuMjU3YTUgNSAwIDAgMCA1IDVoMTQuMjU5YTUgNSAwIDAgMCA1LTV2LTE0LjI1N2E1IDUgMCAwIDAtNS01eiIvPjwvc3ZnPg==",F6=iC+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1OS4wMTggNTkuMDE4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1OS4wMTggNTkuMDE4IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJtNTguNzQxIDU0LjgwOS01Ljk2OS02LjI0NGExMC43NCAxMC43NCAwIDAgMCAyLjgyLTcuMjVjMC01Ljk1My00Ljg0My0xMC43OTYtMTAuNzk2LTEwLjc5NlMzNCAzNS4zNjEgMzQgNDEuMzE0IDM4Ljg0MyA1Mi4xMSA0NC43OTYgNTIuMTFjMi40NDEgMCA0LjY4OC0uODI0IDYuNDk5LTIuMTk2bDYuMDAxIDYuMjc3YS45OTguOTk4IDAgMCAwIDEuNDE0LjAzMiAxIDEgMCAwIDAgLjAzMS0xLjQxNHpNMzYgNDEuMzE0YzAtNC44NSAzLjk0Ni04Ljc5NiA4Ljc5Ni04Ljc5NnM4Ljc5NiAzLjk0NiA4Ljc5NiA4Ljc5Ni0zLjk0NiA4Ljc5Ni04Ljc5NiA4Ljc5NlMzNiA0Ni4xNjQgMzYgNDEuMzE0ek0xMC40MzEgMTYuMDg4YzAgMy4wNyAyLjQ5OCA1LjU2OCA1LjU2OSA1LjU2OHM1LjU2OS0yLjQ5OCA1LjU2OS01LjU2OGMwLTMuMDcxLTIuNDk4LTUuNTY5LTUuNTY5LTUuNTY5cy01LjU2OSAyLjQ5OC01LjU2OSA1LjU2OXptOS4xMzggMGMwIDEuOTY4LTEuNjAyIDMuNTY4LTMuNTY5IDMuNTY4cy0zLjU2OS0xLjYwMS0zLjU2OS0zLjU2OCAxLjYwMi0zLjU2OSAzLjU2OS0zLjU2OSAzLjU2OSAxLjYwMSAzLjU2OSAzLjU2OXoiLz48cGF0aCBkPSJtMzAuODgyIDI4Ljk4NyA5LjE4LTEwLjA1NCAxMS4yNjIgMTAuMzIzYTEgMSAwIDAgMCAxLjM1MS0xLjQ3NWwtMTItMTFhMSAxIDAgMCAwLTEuNDE0LjA2M2wtOS43OTQgMTAuNzI3LTQuNzQzLTQuNzQzYTEuMDAzIDEuMDAzIDAgMCAwLTEuMzY4LS4wNDRMNi4zMzkgMzcuNzY4YTEgMSAwIDEgMCAxLjMyMiAxLjUwMWwxNi4zMTMtMTQuMzYyIDcuMzE5IDcuMzE4YS45OTkuOTk5IDAgMSAwIDEuNDE0LTEuNDE0bC0xLjgyNS0xLjgyNHoiLz48cGF0aCBkPSJNMzAgNDYuNTE4SDJ2LTQyaDU0djI4YTEgMSAwIDEgMCAyIDB2LTI5YTEgMSAwIDAgMC0xLTFIMWExIDEgMCAwIDAtMSAxdjQ0YTEgMSAwIDAgMCAxIDFoMjlhMSAxIDAgMSAwIDAtMnoiLz48L3N2Zz4=",_M=iC+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NjAgNDYwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NjAgNDYwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMjMwIDBDMTAyLjk3NSAwIDAgMTAyLjk3NSAwIDIzMHMxMDIuOTc1IDIzMCAyMzAgMjMwIDIzMC0xMDIuOTc0IDIzMC0yMzBTMzU3LjAyNSAwIDIzMCAwem0zOC4zMzMgMzc3LjM2YzAgOC42NzYtNy4wMzQgMTUuNzEtMTUuNzEgMTUuNzFoLTQzLjEwMWMtOC42NzYgMC0xNS43MS03LjAzNC0xNS43MS0xNS43MVYyMDIuNDc3YzAtOC42NzYgNy4wMzMtMTUuNzEgMTUuNzEtMTUuNzFoNDMuMTAxYzguNjc2IDAgMTUuNzEgNy4wMzMgMTUuNzEgMTUuNzFWMzc3LjM2ek0yMzAgMTU3Yy0yMS41MzkgMC0zOS0xNy40NjEtMzktMzlzMTcuNDYxLTM5IDM5LTM5IDM5IDE3LjQ2MSAzOSAzOS0xNy40NjEgMzktMzkgMzl6Ii8+PC9zdmc+",bM=function(){function r(){}return r.createDefault=function(){return{hasPermission:!1,lastUsedCameraId:null}},r}(),k6=function(){function r(){this.data=bM.createDefault();var i=localStorage.getItem(r.LOCAL_STORAGE_KEY);i?this.data=JSON.parse(i):this.reset()}return r.prototype.hasCameraPermissions=function(){return this.data.hasPermission},r.prototype.getLastUsedCameraId=function(){return this.data.lastUsedCameraId},r.prototype.setHasPermission=function(i){this.data.hasPermission=i,this.flush()},r.prototype.setLastUsedCameraId=function(i){this.data.lastUsedCameraId=i,this.flush()},r.prototype.resetLastUsedCameraId=function(){this.data.lastUsedCameraId=null,this.flush()},r.prototype.reset=function(){this.data=bM.createDefault(),this.flush()},r.prototype.flush=function(){localStorage.setItem(r.LOCAL_STORAGE_KEY,JSON.stringify(this.data))},r.LOCAL_STORAGE_KEY="HTML5_QRCODE_DATA",r}(),D6=function(){function r(){this.infoDiv=document.createElement("div")}return r.prototype.renderInto=function(i){this.infoDiv.style.position="absolute",this.infoDiv.style.top="10px",this.infoDiv.style.right="10px",this.infoDiv.style.zIndex="2",this.infoDiv.style.display="none",this.infoDiv.style.padding="5pt",this.infoDiv.style.border="1px solid #171717",this.infoDiv.style.fontSize="10pt",this.infoDiv.style.background="rgb(0 0 0 / 69%)",this.infoDiv.style.borderRadius="5px",this.infoDiv.style.textAlign="center",this.infoDiv.style.fontWeight="400",this.infoDiv.style.color="white",this.infoDiv.innerText=lM.poweredBy();var t=document.createElement("a");t.innerText="ScanApp",t.href="https://scanapp.org",t.target="new",t.style.color="white",this.infoDiv.appendChild(t);var n=document.createElement("br"),a=document.createElement("br");this.infoDiv.appendChild(n),this.infoDiv.appendChild(a);var l=document.createElement("a");l.innerText=lM.reportIssues(),l.href="https://github.com/mebjas/html5-qrcode/issues",l.target="new",l.style.color="white",this.infoDiv.appendChild(l),i.appendChild(this.infoDiv)},r.prototype.show=function(){this.infoDiv.style.display="block"},r.prototype.hide=function(){this.infoDiv.style.display="none"},r}(),M6=function(){function r(i,t){this.isShowingInfoIcon=!0,this.onTapIn=i,this.onTapOut=t,this.infoIcon=document.createElement("img")}return r.prototype.renderInto=function(i){var t=this;this.infoIcon.alt="Info icon",this.infoIcon.src=_M,this.infoIcon.style.position="absolute",this.infoIcon.style.top="4px",this.infoIcon.style.right="4px",this.infoIcon.style.opacity="0.6",this.infoIcon.style.cursor="pointer",this.infoIcon.style.zIndex="2",this.infoIcon.style.width="16px",this.infoIcon.style.height="16px",this.infoIcon.onmouseover=function(n){return t.onHoverIn()},this.infoIcon.onmouseout=function(n){return t.onHoverOut()},this.infoIcon.onclick=function(n){return t.onClick()},i.appendChild(this.infoIcon)},r.prototype.onHoverIn=function(){this.isShowingInfoIcon&&(this.infoIcon.style.opacity="1")},r.prototype.onHoverOut=function(){this.isShowingInfoIcon&&(this.infoIcon.style.opacity="0.6")},r.prototype.onClick=function(){this.isShowingInfoIcon?(this.isShowingInfoIcon=!1,this.onTapIn(),this.infoIcon.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAQgAAAEIBarqQRAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAE1SURBVDiNfdI7S0NBEAXgLya1otFgpbYSbISAgpXYi6CmiH9KCAiChaVga6OiWPgfRDQ+0itaGVNosXtluWwcuMzePfM4M3sq8lbHBubwg1dc4m1E/J/N4ghDPOIsfk/4xiEao5KX0McFljN4C9d4QTPXuY99jP3DsIoDPGM6BY5i5yI5R7O4q+ImFkJY2DCh3cAH2klyB+9J1xUMMAG7eCh1a+Mr+k48b5diXrFVwwLuS+BJ9MfR7+G0FHOHhTHhnXNWS87VDF4pcnfQK4Ep7XScNLmPTZgURNKKYENYWDpzW1BhscS1WHS8CDgURFJQrWcoF3c13KKbgg1BYQfy8xZWEzTTw1QZbAoKu8FqJnktdu5hcVSHmchiILzzuaDQvjBzV2m8yohCE1jHfPx/xhU+y4G/D75ELlRJsSYAAAAASUVORK5CYII=",this.infoIcon.style.opacity="1"):(this.isShowingInfoIcon=!0,this.onTapOut(),this.infoIcon.src=_M,this.infoIcon.style.opacity="0.6")},r}(),E6=function(){function r(){var i=this;this.infoDiv=new D6,this.infoIcon=new M6(function(){i.infoDiv.show()},function(){i.infoDiv.hide()})}return r.prototype.renderInto=function(i){this.infoDiv.renderInto(i),this.infoIcon.renderInto(i)},r}(),yM=function(){function r(){}return r.hasPermissions=function(){return function(r,i,t,n){return new(t||(t=Promise))(function(l,v){function T(be){try{z(n.next(be))}catch(Ve){v(Ve)}}function G(be){try{z(n.throw(be))}catch(Ve){v(Ve)}}function z(be){be.done?l(be.value):function a(l){return l instanceof t?l:new t(function(v){v(l)})}(be.value).then(T,G)}z((n=n.apply(r,i||[])).next())})}(this,void 0,void 0,function(){var i,t,n,a;return function(r,i){var n,a,l,v,t={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return v={next:T(0),throw:T(1),return:T(2)},"function"==typeof Symbol&&(v[Symbol.iterator]=function(){return this}),v;function T(z){return function(be){return function G(z){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,a&&(l=2&z[0]?a.return:z[0]?a.throw||((l=a.return)&&l.call(a),0):a.next)&&!(l=l.call(a,z[1])).done)return l;switch(a=0,l&&(z=[2&z[0],l.value]),z[0]){case 0:case 1:l=z;break;case 4:return t.label++,{value:z[1],done:!1};case 5:t.label++,a=z[1],z=[0];continue;case 7:z=t.ops.pop(),t.trys.pop();continue;default:if(!(l=(l=t.trys).length>0&&l[l.length-1])&&(6===z[0]||2===z[0])){t=0;continue}if(3===z[0]&&(!l||z[1]>l[0]&&z[1]1},r.prototype.isCameraScanRequired=function(){for(var i=0,t=this.supportedScanTypes;it)throw"Max "+t+" values expected for supportedScanTypes";for(var n=0,a=i;n0&&l[l.length-1])&&(6===z[0]||2===z[0])){t=0;continue}if(3===z[0]&&(!l||z[1]>l[0]&&z[1]20){var n=i.substring(0,8),a=i.length,l=i.substring(a-8,a);i=n+"...."+l}var v=Hr.fileSelectionChooseAnother()+" - "+i;this.fileSelectionButton.innerText=v},r.prototype.setInitialValueToButton=function(){var i=Hr.fileSelectionChooseImage()+" - "+Hr.fileSelectionNoImageSelected();this.fileSelectionButton.innerText=i},r.prototype.getFileScanInputId=function(){return"html5-qrcode-private-filescan-input"},r.create=function(i,t,n){return new r(i,t,n)},r}(),O6=function(){function r(i){this.selectElement=rd.createElement("select",Vs.CAMERA_SELECTION_SELECT_ID),this.cameras=i,this.options=[]}return r.prototype.render=function(i){var t=document.createElement("span");t.style.marginRight="10px";var n=this.cameras.length;if(0===n)throw new Error("No cameras found");if(1===n)t.style.display="none";else{var a=Hr.selectCamera();t.innerText=a+" ("+this.cameras.length+") "}for(var l=1,v=0,T=this.cameras;v(function(r){r[r.STATUS_DEFAULT=0]="STATUS_DEFAULT",r[r.STATUS_SUCCESS=1]="STATUS_SUCCESS",r[r.STATUS_WARNING=2]="STATUS_WARNING",r[r.STATUS_REQUESTING_PERMISSION=3]="STATUS_REQUESTING_PERMISSION"}(Fs||(Fs={})),Fs))();function P6(r,i){if(1&r&&(e.TgZ(0,"div",4),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Oqu(t.error)}}!function(){function r(i,t,n){if(this.lastMatchFound=null,this.cameraScanImage=null,this.fileScanImage=null,this.fileSelectionUi=null,this.elementId=i,this.config=this.createConfig(t),this.verbose=!0===n,!document.getElementById(i))throw"HTML Element with id="+i+" not found";this.scanTypeSelector=new Du(this.config.supportedScanTypes),this.currentScanType=this.scanTypeSelector.getDefaultScanType(),this.sectionSwapAllowed=!0,this.logger=new sM(this.verbose),this.persistedDataManager=new k6,!0!==t.rememberLastUsedCamera&&this.persistedDataManager.reset()}r.prototype.render=function(i,t){var n=this;this.lastMatchFound=null,this.qrCodeSuccessCallback=function(l,v){if(i)i(l,v);else{if(n.lastMatchFound===l)return;n.lastMatchFound=l,n.setHeaderMessage(Hr.lastMatch(l),Fs.STATUS_SUCCESS)}},this.qrCodeErrorCallback=function(l,v){t&&t(l,v)};var a=document.getElementById(this.elementId);if(!a)throw"HTML Element with id="+this.elementId+" not found";a.innerHTML="",this.createBasicLayout(a),this.html5Qrcode=new ev(this.getScanRegionId(),function R6(r,i){return{formatsToSupport:r.formatsToSupport,useBarCodeDetectorIfSupported:r.useBarCodeDetectorIfSupported,experimentalFeatures:r.experimentalFeatures,verbose:i}}(this.config,this.verbose))},r.prototype.pause=function(i){(Ec(i)||!0!==i)&&(i=!1),this.getHtml5QrcodeOrFail().pause(i)},r.prototype.resume=function(){this.getHtml5QrcodeOrFail().resume()},r.prototype.getState=function(){return this.getHtml5QrcodeOrFail().getState()},r.prototype.clear=function(){var i=this,t=function(){var n=document.getElementById(i.elementId);n&&(n.innerHTML="",i.resetBasicLayout(n))};return this.html5Qrcode?new Promise(function(n,a){i.html5Qrcode?i.html5Qrcode.isScanning?i.html5Qrcode.stop().then(function(l){i.html5Qrcode?(i.html5Qrcode.clear(),t(),n()):n()}).catch(function(l){i.verbose&&i.logger.logError("Unable to stop qrcode scanner",l),a(l)}):(i.html5Qrcode.clear(),t(),n()):n()}):Promise.resolve()},r.prototype.getRunningTrackCapabilities=function(){return this.getHtml5QrcodeOrFail().getRunningTrackCapabilities()},r.prototype.getRunningTrackSettings=function(){return this.getHtml5QrcodeOrFail().getRunningTrackSettings()},r.prototype.applyVideoConstraints=function(i){return this.getHtml5QrcodeOrFail().applyVideoConstraints(i)},r.prototype.getHtml5QrcodeOrFail=function(){if(!this.html5Qrcode)throw"Code scanner not initialized.";return this.html5Qrcode},r.prototype.createConfig=function(i){return i?(i.fps||(i.fps=Jl.SCAN_DEFAULT_FPS),i.rememberLastUsedCamera!==!Jl.DEFAULT_REMEMBER_LAST_CAMERA_USED&&(i.rememberLastUsedCamera=Jl.DEFAULT_REMEMBER_LAST_CAMERA_USED),i.supportedScanTypes||(i.supportedScanTypes=Jl.DEFAULT_SUPPORTED_SCAN_TYPE),i):{fps:Jl.SCAN_DEFAULT_FPS,rememberLastUsedCamera:Jl.DEFAULT_REMEMBER_LAST_CAMERA_USED,supportedScanTypes:Jl.DEFAULT_SUPPORTED_SCAN_TYPE}},r.prototype.createBasicLayout=function(i){i.style.position="relative",i.style.padding="0px",i.style.border="1px solid silver",this.createHeader(i);var t=document.createElement("div"),n=this.getScanRegionId();t.id=n,t.style.width="100%",t.style.minHeight="100px",t.style.textAlign="center",i.appendChild(t),Du.isCameraScanType(this.currentScanType)?this.insertCameraScanImageToScanRegion():this.insertFileScanImageToScanRegion();var a=document.createElement("div"),l=this.getDashboardId();a.id=l,a.style.width="100%",i.appendChild(a),this.setupInitialDashboard(a)},r.prototype.resetBasicLayout=function(i){i.style.border="none"},r.prototype.setupInitialDashboard=function(i){this.createSection(i),this.createSectionControlPanel(),this.scanTypeSelector.hasMoreThanOneScanType()&&this.createSectionSwap()},r.prototype.createHeader=function(i){var t=document.createElement("div");t.style.textAlign="left",t.style.margin="0px",i.appendChild(t),(new E6).renderInto(t);var a=document.createElement("div");a.id=this.getHeaderMessageContainerId(),a.style.display="none",a.style.textAlign="center",a.style.fontSize="14px",a.style.padding="2px 10px",a.style.margin="4px",a.style.borderTop="1px solid #f6f6f6",t.appendChild(a)},r.prototype.createSection=function(i){var t=document.createElement("div");t.id=this.getDashboardSectionId(),t.style.width="100%",t.style.padding="10px 0px 10px 0px",t.style.textAlign="left",i.appendChild(t)},r.prototype.createCameraListUi=function(i,t,n){var a=this;a.showHideScanTypeSwapLink(!1),a.setHeaderMessage(Hr.cameraPermissionRequesting());var l=function(){n||a.createPermissionButton(i,t)};ev.getCameras().then(function(v){a.persistedDataManager.setHasPermission(!0),a.showHideScanTypeSwapLink(!0),a.resetHeaderMessage(),v&&v.length>0?(i.removeChild(t),a.renderCameraSelection(v)):(a.setHeaderMessage(Hr.noCameraFound(),Fs.STATUS_WARNING),l())}).catch(function(v){a.persistedDataManager.setHasPermission(!1),n?n.disabled=!1:l(),a.setHeaderMessage(v,Fs.STATUS_WARNING),a.showHideScanTypeSwapLink(!0)})},r.prototype.createPermissionButton=function(i,t){var n=this,a=rd.createElement("button",this.getCameraPermissionButtonId());a.innerText=Hr.cameraPermissionTitle(),a.addEventListener("click",function(){a.disabled=!0,n.createCameraListUi(i,t,a)}),t.appendChild(a)},r.prototype.createPermissionsUi=function(i,t){var n=this;Du.isCameraScanType(this.currentScanType)&&this.persistedDataManager.hasCameraPermissions()?yM.hasPermissions().then(function(a){a?n.createCameraListUi(i,t):(n.persistedDataManager.setHasPermission(!1),n.createPermissionButton(i,t))}).catch(function(a){n.persistedDataManager.setHasPermission(!1),n.createPermissionButton(i,t)}):this.createPermissionButton(i,t)},r.prototype.createSectionControlPanel=function(){var t=document.getElementById(this.getDashboardSectionId()),n=document.createElement("div");t.appendChild(n);var a=document.createElement("div");a.id=this.getDashboardSectionCameraScanRegionId(),a.style.display=Du.isCameraScanType(this.currentScanType)?"block":"none",n.appendChild(a);var l=document.createElement("div");l.style.textAlign="center",a.appendChild(l),this.scanTypeSelector.isCameraScanRequired()&&this.createPermissionsUi(a,l),this.renderFileScanUi(n)},r.prototype.renderFileScanUi=function(i){var t=Du.isFileScanType(this.currentScanType),n=this;this.fileSelectionUi=I6.create(i,t,function(l){if(!n.html5Qrcode)throw"html5Qrcode not defined";Du.isFileScanType(n.currentScanType)&&(n.setHeaderMessage(Hr.loadingImage()),n.html5Qrcode.scanFileV2(l,!0).then(function(v){n.resetHeaderMessage(),n.qrCodeSuccessCallback(v.decodedText,v)}).catch(function(v){n.setHeaderMessage(v,Fs.STATUS_WARNING),n.qrCodeErrorCallback(v,oM.createFrom(v))}))})},r.prototype.renderCameraSelection=function(i){var t=this,n=this,a=document.getElementById(this.getDashboardSectionCameraScanRegionId());a.style.textAlign="center";var l=L6.create(a,!1),T=O6.create(a,i),G=document.createElement("span"),z=rd.createElement("button",Vs.CAMERA_START_BUTTON_ID);z.innerText=Hr.scanButtonStartScanningText(),G.appendChild(z);var Ve,be=rd.createElement("button",Vs.CAMERA_STOP_BUTTON_ID);be.innerText=Hr.scanButtonStopScanningText(),be.style.display="none",be.disabled=!0,G.appendChild(be),a.appendChild(G);var Pt=function(ii){ii||(z.style.display="none"),z.innerText=Hr.scanButtonStartScanningText(),z.style.opacity="1",z.disabled=!1,ii&&(z.style.display="inline-block")};if(z.addEventListener("click",function(ii){z.innerText=Hr.scanButtonScanningStarting(),T.disable(),z.disabled=!0,z.style.opacity="0.5",t.scanTypeSelector.hasMoreThanOneScanType()&&n.showHideScanTypeSwapLink(!1),n.resetHeaderMessage();var ti=T.getValue();n.persistedDataManager.setLastUsedCameraId(ti),n.html5Qrcode.start(ti,function N6(r){return{fps:r.fps,qrbox:r.qrbox,aspectRatio:r.aspectRatio,disableFlip:r.disableFlip,videoConstraints:r.videoConstraints}}(n.config),n.qrCodeSuccessCallback,n.qrCodeErrorCallback).then(function(di){be.disabled=!1,be.style.display="inline-block",Pt(!1);var Fi=n.html5Qrcode.getRunningTrackCameraCapabilities();!0===t.config.showTorchButtonIfSupported&&function(ii){ii.torchFeature().isSupported()?(Ve?Ve.updateTorchCapability(ii.torchFeature()):Ve=S6.create(G,ii.torchFeature(),{display:"none",marginLeft:"5px"},function(ti){n.setHeaderMessage(ti,Fs.STATUS_WARNING)}),Ve.show()):Ve&&Ve.hide()}(Fi),!0===t.config.showZoomSliderIfSupported&&function(ii){var ti=ii.zoomFeature();if(ti.isSupported()){l.setOnCameraZoomValueChangeCallback(function(Fi){ti.apply(Fi)});var di=1;t.config.defaultZoomValueIfSupported&&(di=t.config.defaultZoomValueIfSupported),di=function n6(r,i,t){return r>t?t:r",t.appendChild(i.cameraScanImage)},this.cameraScanImage.width=64,this.cameraScanImage.style.opacity="0.8",this.cameraScanImage.src=x6,this.cameraScanImage.alt=Hr.cameraScanAltText()},r.prototype.insertFileScanImageToScanRegion=function(){var i=this,t=document.getElementById(this.getScanRegionId());if(this.fileScanImage)return t.innerHTML="
",void t.appendChild(this.fileScanImage);this.fileScanImage=new Image,this.fileScanImage.onload=function(n){t.innerHTML="
",t.appendChild(i.fileScanImage)},this.fileScanImage.width=64,this.fileScanImage.style.opacity="0.8",this.fileScanImage.src=F6,this.fileScanImage.alt=Hr.fileScanAltText()},r.prototype.clearScanRegion=function(){document.getElementById(this.getScanRegionId()).innerHTML=""},r.prototype.getDashboardSectionId=function(){return this.elementId+"__dashboard_section"},r.prototype.getDashboardSectionCameraScanRegionId=function(){return this.elementId+"__dashboard_section_csr"},r.prototype.getDashboardSectionSwapLinkId=function(){return Vs.SCAN_TYPE_CHANGE_ANCHOR_ID},r.prototype.getScanRegionId=function(){return this.elementId+"__scan_region"},r.prototype.getDashboardId=function(){return this.elementId+"__dashboard"},r.prototype.getHeaderMessageContainerId=function(){return this.elementId+"__header_message"},r.prototype.getCameraPermissionButtonId=function(){return Vs.CAMERA_PERMISSION_BUTTON_ID},r.prototype.getCameraScanRegion=function(){return document.getElementById(this.getDashboardSectionCameraScanRegionId())},r.prototype.getDashboardSectionSwapLink=function(){return document.getElementById(this.getDashboardSectionSwapLinkId())},r.prototype.getHeaderMessageDiv=function(){return document.getElementById(this.getHeaderMessageContainerId())}}();class C_{constructor(i,t,n){this.options=i,this.dialogRef=t,this.data=n,this.cameras=[],this.cameraIndex=-1,this.dialogRef.afterClosed().subscribe(()=>{this.html5QrCode&&this.html5QrCode.stop()})}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.config={fps:10,formatsToSupport:[$i.QR_CODE]},i.html5QrCode=new ev("reader",i.config),yield i.requestCameras(),i.cameras.length>0&&(i.cameraIndex=i.options.values.cameraId?i.cameras.findIndex(t=>t.id==i.options.values.cameraId):i.cameras.length-1,yield i.startCamera(i.cameras[i.cameraIndex].id))})()}toggleFlash(){}openFile(){}requestCameras(){var i=this;return(0,we.Z)(function*(){try{i.cameras=yield ev.getCameras()}catch{i.error="Unable To Get Cameras"}})()}startCamera(i){var t=this;return(0,we.Z)(function*(){try{try{yield t.html5QrCode.stop()}catch(n){console.error("Failed to stop:",n)}yield t.html5QrCode.start(i,t.config,(n,a)=>{t.onScanSuccess(n,a)},n=>{}),t.options.values.cameraId=i,t.options.save()}catch(n){t.onScanFailure(n)}})()}changeCamera(){var i=this;return(0,we.Z)(function*(){(!i.cameras||0==i.cameras.length)&&(yield i.requestCameras()),i.cameras&&0!=i.cameras.length&&(i.cameraIndex+=1,i.cameraIndex>=i.cameras.length&&(i.cameraIndex=0),i.startCamera(i.cameras[i.cameraIndex].id))})()}onScanSuccess(i,t){console.log(`Code matched = ${i}`,t),this.data.address=i,this.dialogRef.close(this.data.address)}onScanFailure(i){console.warn(`Code scan error = ${i}`),this.error=i}onNoClick(){this.dialogRef.close()}}function B6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3,"Private Key Import"),e.qZA(),e.TgZ(4,"p"),e._uU(5,"If you already have an existing private for your Nostr account, you can import it here and protect it with a password."),e.qZA(),e.TgZ(6,"p"),e._uU(7,"First choose if your backup is a secret recovery phrase or a private key."),e.qZA(),e._UZ(8,"br"),e.TgZ(9,"button",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=2)}),e._uU(10,"Secret Recovery Phrase"),e.qZA(),e._UZ(11,"br")(12,"br"),e.TgZ(13,"button",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=3)}),e._uU(14,"Private Key"),e.qZA(),e._UZ(15,"br")(16,"br"),e.TgZ(17,"button",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.scanQrCode())}),e.TgZ(18,"mat-icon"),e._uU(19,"qr_code_scanner"),e.qZA(),e._uU(20," Scan QR Code"),e.qZA()()()}}function Y6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3,"Secret Recovery Phrase Import"),e.qZA(),e._UZ(4,"br"),e.TgZ(5,"mat-form-field",13)(6,"mat-label"),e._uU(7,"Secret Recovery Phrase"),e.qZA(),e.TgZ(8,"textarea",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.mnemonic=a)}),e.qZA()(),e._UZ(9,"br"),e.TgZ(10,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return a.setPrivateKey(),e.KtG(a.step=3)}),e._uU(11,"Continue"),e.qZA(),e._UZ(12,"br")(13,"br"),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(8),e.Q6J("ngModel",t.mnemonic),e.xp6(2),e.Q6J("disabled",!t.mnemonic)}}function H6(r,i){1&r&&(e.TgZ(0,"h1"),e._uU(1,"Protect Private Key with password"),e.qZA())}function U6(r,i){1&r&&(e.TgZ(0,"h1"),e._uU(1,"Private Key Import"),e.qZA())}function j6(r,i){1&r&&(e.TgZ(0,"p"),e._uU(1,"If you already have an existing private for your Nostr account, you can import it here and protect it with a password."),e.qZA())}function V6(r,i){if(1&r&&(e.TgZ(0,"p",25),e._uU(1,"Your personal private key:"),e._UZ(2,"br"),e._uU(3),e.qZA()),2&r){const t=e.oxw(2);e.xp6(3),e.Oqu(t.privateKey)}}function Z6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"mat-form-field",18)(2,"mat-icon",19),e._uU(3,"person_add"),e.qZA(),e.TgZ(4,"mat-label"),e._uU(5,"Private Key"),e.qZA(),e.TgZ(6,"input",26),e.NdJ("keyup",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.updatePublicKey())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.privateKey=a)}),e.qZA()()()}if(2&r){const t=e.oxw(2);e.xp6(6),e.Q6J("ngModel",t.privateKey)}}function z6(r,i){if(1&r&&(e.TgZ(0,"p",27)(1,"strong"),e._uU(2,"Public Key (hex)"),e.qZA(),e._uU(3),e.qZA()),2&r){const t=e.oxw(2);e.xp6(3),e.hij(": ",t.publicKeyHex,"")}}function G6(r,i){if(1&r&&(e.TgZ(0,"p",28),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.hij("Error: ",t.error,"")}}function W6(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content"),e.YNc(2,H6,2,0,"h1",16),e.YNc(3,U6,2,0,"h1",16),e.YNc(4,j6,2,0,"p",16),e.TgZ(5,"p"),e._uU(6,"Having a strong password (we allow empty) is adviced, as this will be used to protect your private key using encryption when you are not using Blockcore Notes."),e.qZA(),e._UZ(7,"br"),e.YNc(8,V6,4,1,"p",17),e.YNc(9,Z6,7,1,"div",16),e.TgZ(10,"form")(11,"mat-form-field",18)(12,"mat-icon",19),e._uU(13,"person_add"),e.qZA(),e.TgZ(14,"mat-label"),e._uU(15,"Public Key"),e.qZA(),e.TgZ(16,"input",20),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.publicKey=a)}),e.qZA()(),e.TgZ(17,"mat-form-field",18)(18,"mat-icon",19),e._uU(19,"password"),e.qZA(),e.TgZ(20,"mat-label"),e._uU(21,"Password (optional)"),e.qZA(),e.TgZ(22,"input",21),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.password=a)}),e.qZA()(),e._UZ(23,"br"),e.TgZ(24,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.persistKey())}),e._uU(25,"Connect"),e.qZA(),e._UZ(26,"br")(27,"br"),e.qZA(),e.YNc(28,z6,4,1,"p",22),e.YNc(29,G6,2,1,"p",23),e.TgZ(30,"p",24),e._uU(31,"Remember that Blockcore cannot change or reset your password. Make sure you have a separate backup of your "),e.TgZ(32,"strong"),e._uU(33,"private key"),e.qZA(),e._uU(34," in case you loose your password."),e.qZA(),e.TgZ(35,"p",24),e._uU(36,"You will be asked to enter password (if supplied) when Notes need to sign events on your behalf."),e.qZA()()()}if(2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.mnemonic),e.xp6(1),e.Q6J("ngIf",!t.mnemonic),e.xp6(1),e.Q6J("ngIf",!t.mnemonic),e.xp6(4),e.Q6J("ngIf",t.mnemonic),e.xp6(1),e.Q6J("ngIf",!t.mnemonic),e.xp6(7),e.Q6J("readonly",!0)("ngModel",t.publicKey),e.xp6(6),e.Q6J("ngModel",t.password),e.xp6(2),e.Q6J("disabled",!t.publicKey),e.xp6(4),e.Q6J("ngIf",!t.error),e.xp6(1),e.Q6J("ngIf",t.error)}}C_.\u0275fac=function(i){return new(i||C_)(e.Y36(la.I),e.Y36(Ae),e.Y36(_t))},C_.\u0275cmp=e.Xpm({type:C_,selectors:[["qr-scan-dialog"]],decls:9,vars:1,consts:[["id","reader",1,"qr-scan"],["mat-icon-button","","matTooltip","Change Camera",1,"camera-button",3,"click"],["mat-icon-button","","matTooltip","Close",1,"camera-close-button",3,"click"],["class","camera-error",4,"ngIf"],[1,"camera-error"]],template:function(i,t){1&i&&(e.TgZ(0,"div"),e._UZ(1,"div",0),e.TgZ(2,"button",1),e.NdJ("click",function(){return t.changeCamera()}),e.TgZ(3,"mat-icon"),e._uU(4,"cameraswitch"),e.qZA()(),e.TgZ(5,"button",2),e.NdJ("click",function(){return t.onNoClick()}),e.TgZ(6,"mat-icon"),e._uU(7,"close"),e.qZA()(),e.YNc(8,P6,2,1,"div",3),e.qZA()),2&i&&(e.xp6(8),e.Q6J("ngIf",t.error))},dependencies:[F.O5,Dt.RK,Wn,fo],styles:[".qr-scan[_ngcontent-%COMP%]{position:absolute!important;inset:0;width:100%;height:100%}.camera-button[_ngcontent-%COMP%]{margin:2em;left:2em;position:absolute}[dir=rtl][_ngcontent-%COMP%] .camera-button[_ngcontent-%COMP%]{margin:2em;right:2em;position:absolute;left:auto}.camera-close-button[_ngcontent-%COMP%]{margin:2em;position:absolute;right:2em;top:2em}[dir=rtl][_ngcontent-%COMP%] .camera-close-button[_ngcontent-%COMP%]{margin:2em;position:absolute;left:2em;right:auto;top:2em}.camera-label[_ngcontent-%COMP%]{font-size:2em;color:#01010180;margin-left:auto;margin-right:auto}.camera-error[_ngcontent-%COMP%]{color:#a83222}"]});class k_{constructor(i,t,n,a){this.dialog=i,this.theme=t,this.router=n,this.security=a,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.step=1,this.mnemonic=""}setPrivateKey(){this.privateKeyHex=Ds.privateKeyFromSeedWords(this.mnemonic),this.privateKey=gn.nsecEncode(this.privateKeyHex),this.updatePublicKey()}ngOnDestroy(){this.reset()}reset(){this.privateKey="",this.privateKeyHex="",this.mnemonic="",this.password=""}persistKey(){var i=this;return(0,we.Z)(function*(){setTimeout((0,we.Z)(function*(){if(!i.privateKeyHex||!i.publicKeyHex)return;const t=yield i.security.encryptData(i.privateKeyHex,i.password),n=yield i.security.decryptData(t,i.password);i.privateKeyHex==n?(localStorage.setItem("blockcore:notes:nostr:prvkey",t),localStorage.setItem("blockcore:notes:nostr:pubkey",i.publicKeyHex),i.reset(),i.router.navigateByUrl("/")):(i.error="Unable to encrypt and decrypt. Cannot continue.",console.error(i.error))}),10)})()}updatePublicKey(){if(this.error="",this.publicKey="",this.privateKeyHex="",this.privateKey)if(this.privateKey.startsWith("npub"))this.error='The key value must be a "nsec" value. You entered "npub", which is your public key.';else{this.privateKeyHex=this.privateKey.startsWith("nsec")?gn.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=qt(this.privateKeyHex),this.publicKey=gn.npubEncode(this.publicKeyHex)}catch(i){this.error=i.message}}else this.publicKey=""}scanQrCode(){this.dialog.open(C_,{maxWidth:"100vw",maxHeight:"100vh",height:"100%",width:"100%",panelClass:"full-screen-modal",data:{}}).afterClosed().subscribe(t=>{this.step=3;try{if(t.startsWith("nostr:")&&(t=t.replace("nostr:","")),t.startsWith("nsec")){const n=gn.decode(t);this.privateKeyHex=n.data,this.privateKey=t}else this.privateKeyHex=t,this.privateKey=gn.nsecEncode(t);this.updatePublicKey()}catch(n){this.error="Failed to scan."+n.toString()}})}}k_.\u0275fac=function(i){return new(i||k_)(e.Y36(yi),e.Y36(de),e.Y36(Yt.F0),e.Y36(gs))},k_.\u0275cmp=e.Xpm({type:k_,selectors:[["app-key"]],decls:16,vars:4,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["routerLink","/connect"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"connect-content"],["class","card",4,"ngIf"],[1,"card"],["mat-flat-button","","color","accent",1,"start-button","full-button",3,"click"],[1,"input-full-width"],["matInput","","type","text","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["mat-raised-button","",1,"start-button",3,"disabled","click"],[4,"ngIf"],["class","wrap",4,"ngIf"],["appearance","fill",1,"input-full-width","connect-input"],["matPrefix","",1,"circle"],["autocomplete","username","name","email","placeholder","npub...","matInput","","type","email",3,"readonly","ngModel","ngModelChange"],["matInput","","type","password","autocomplete","current-password","name","password",3,"ngModel","ngModelChange"],["class","public-key dimmed",4,"ngIf"],["class","error",4,"ngIf"],[1,"dimmed"],[1,"wrap"],["placeholder","nsec...","matInput","","type","password",3,"ngModel","keyup","ngModelChange"],[1,"public-key","dimmed"],[1,"error"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"a",2),e._UZ(3,"img",3),e.qZA(),e.TgZ(4,"div",4)(5,"span",5),e._uU(6,"Blockcore"),e.qZA(),e._uU(7," Notes"),e.qZA(),e._UZ(8,"div",6),e.TgZ(9,"button",7),e.NdJ("click",function(){return t.theme.darkMode=!t.theme.darkMode}),e.TgZ(10,"mat-icon",8),e._uU(11),e.qZA()()(),e.TgZ(12,"div",9),e.YNc(13,B6,21,0,"mat-card",10),e.YNc(14,Y6,14,2,"mat-card",10),e.YNc(15,W6,37,11,"mat-card",10),e.qZA()()),2&i&&(e.xp6(11),e.Oqu(t.theme.darkMode?"dark_mode":"light_mode"),e.xp6(2),e.Q6J("ngIf",1==t.step),e.xp6(1),e.Q6J("ngIf",2==t.step),e.xp6(1),e.Q6J("ngIf",3==t.step))},dependencies:[F.O5,Yt.rH,io,Ca,Ba,ol,Dt.lW,Dt.RK,ca,Rs,Wn,rl,ar,Sr,Nl,oa,Is],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.spaces[_ngcontent-%COMP%]{border-radius:10px;margin:1em 2em 1em 11em;padding:1.5em}.spaces-card[_ngcontent-%COMP%]{max-width:274px;border-radius:15px}.spaces-add[_ngcontent-%COMP%]{max-width:274px;border-radius:15px;box-sizing:border-box}.spaces-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}.spaces-header-image[_ngcontent-%COMP%]{background-image:url(https://material.angular.io/assets/img/examples/shiba1.jpg);background-size:cover}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%], .spaces[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%], .spaces[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}.spaces[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:1em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%], .spaces[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}.spaces-card[_ngcontent-%COMP%]{width:100%;max-width:100%}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}",".public-key[_ngcontent-%COMP%]{margin-bottom:1em;word-wrap:break-word}.error[_ngcontent-%COMP%]{margin-bottom:1em;color:red}"]});const q6=["button"],Q6=["*"],FM=new e.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),CM=new e.OlP("MatButtonToggleGroup"),J6={provide:fa,useExisting:(0,e.Gpc)(()=>nC),multi:!0};let kM=0;class DM{constructor(i,t){this.source=i,this.value=t}}let nC=(()=>{class r{get name(){return this._name}set name(t){this._name=t,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(t){this._vertical=(0,st.Ig)(t)}get value(){const t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(n=>n.value):t[0]?t[0].value:void 0}set value(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)}get selected(){const t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,st.Ig)(t),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t),this._markButtonsForCheck()}constructor(t,n){this._changeDetector=t,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+kM++,this.valueChange=new e.vpe,this.change=new e.vpe,this.appearance=n&&n.appearance?n.appearance:"standard"}ngOnInit(){this._selectionModel=new Ya.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(t=>t.checked))}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_emitChangeEvent(t){const n=new DM(t,this.value);this._controlValueAccessorChangeFn(n.value),this.change.emit(n)}_syncButtonToggle(t,n,a=!1,l=!1){!this.multiple&&this.selected&&!t.checked&&(this.selected.checked=!1),this._selectionModel?n?this._selectionModel.select(t):this._selectionModel.deselect(t):l=!0,l?Promise.resolve().then(()=>this._updateModelValue(t,a)):this._updateModelValue(t,a)}_isSelected(t){return this._selectionModel&&this._selectionModel.isSelected(t)}_isPrechecked(t){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(n=>null!=t.value&&n===t.value):t.value===this._rawValue)}_setSelectionByValue(t){this._rawValue=t,this._buttonToggles&&(this.multiple&&t?(Array.isArray(t),this._clearSelection(),t.forEach(n=>this._selectValue(n))):(this._clearSelection(),this._selectValue(t)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(t=>t.checked=!1)}_selectValue(t){const n=this._buttonToggles.find(a=>null!=a.value&&a.value===t);n&&(n.checked=!0,this._selectionModel.select(n))}_updateModelValue(t,n){n&&this._emitChangeEvent(t),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(t=>t._markForCheck())}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(FM,8))},r.\u0275dir=e.lG2({type:r,selectors:[["mat-button-toggle-group"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,rC,5),2&t){let l;e.iGM(l=e.CRH())&&(n._buttonToggles=l)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(t,n){2&t&&(e.uIk("aria-disabled",n.disabled),e.ekj("mat-button-toggle-vertical",n.vertical)("mat-button-toggle-group-appearance-standard","standard"===n.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[e._Bn([J6,{provide:CM,useExisting:r}])]}),r})();const K6=(0,ae.Kr)(class{});let rC=(()=>{class r extends K6{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){const n=(0,st.Ig)(t);n!==this._checked&&(this._checked=n,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(t){this._disabled=(0,st.Ig)(t)}constructor(t,n,a,l,v,T){super(),this._changeDetectorRef=n,this._elementRef=a,this._focusMonitor=l,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new e.vpe;const G=Number(v);this.tabIndex=G||0===G?G:null,this.buttonToggleGroup=t,this.appearance=T&&T.appearance?T.appearance:"standard"}ngOnInit(){const t=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+kM++,t&&(t._isPrechecked(this)?this.checked=!0:t._isSelected(this)!==this._checked&&t._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){const t=!!this._isSingleSelector()||!this._checked;t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new DM(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(CM,8),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(g.tE),e.$8M("tabindex"),e.Y36(FM,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-button-toggle"]],viewQuery:function(t,n){if(1&t&&e.Gf(q6,5),2&t){let a;e.iGM(a=e.CRH())&&(n._buttonElement=a.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n.focus()}),2&t&&(e.uIk("aria-label",null)("aria-labelledby",null)("id",n.id)("name",null),e.ekj("mat-button-toggle-standalone",!n.buttonToggleGroup)("mat-button-toggle-checked",n.checked)("mat-button-toggle-disabled",n.disabled)("mat-button-toggle-appearance-standard","standard"===n.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[e.qOj],ngContentSelectors:Q6,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,n){if(1&t&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return n._onButtonClick()}),e.TgZ(2,"span",2),e.Hsn(3),e.qZA()(),e._UZ(4,"span",3)(5,"span",4)),2&t){const a=e.MAs(1);e.Q6J("id",n.buttonId)("disabled",n.disabled||null),e.uIk("tabindex",n.disabled?-1:n.tabIndex)("aria-pressed",n.checked)("name",n._getButtonName())("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledby),e.xp6(5),e.Q6J("matRippleTrigger",a)("matRippleDisabled",n.disableRipple||n.disabled)}},dependencies:[ae.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),r})(),$6=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,ae.si,ae.BQ]}),r})();class D_{onInput(){const i=this.element.nativeElement;if(i instanceof HTMLDivElement)return void console.warn("Unsupported HTML element type (HTMLDivElement) for content editor.");if(!(i instanceof HTMLTextAreaElement))return void console.warn("Unsupported HTML element type for content editor.");const t=this.element.nativeElement,n=t.selectionStart,a=t.selectionEnd,l=t.value;let v;v=l.length==a?l.at(-1):l.substring(n-1,a)}constructor(i){this.element=i}}D_.\u0275fac=function(i){return new(i||D_)(e.Y36(e.SBq))},D_.\u0275dir=e.lG2({type:D_,selectors:[["","appContentEditor",""]],hostBindings:function(i,t){1&i&&e.NdJ("input",function(){return t.onInput()})}});class Vh{onInput(){if(this.element.nativeElement instanceof HTMLTextAreaElement){const t=this.element.nativeElement;t.scrollHeight>t.clientHeight&&(t.style.height=`${t.scrollHeight}px`)}}constructor(i){this.element=i}}Vh.\u0275fac=function(i){return new(i||Vh)(e.Y36(e.SBq))},Vh.\u0275dir=e.lG2({type:Vh,selectors:[["","appAutoInputHeight",""]],hostBindings:function(i,t){1&i&&e.NdJ("input",function(){return t.onInput()})}});const X6=["picker"],eS=["noteContent"],tS=["articleContent"];function iS(r,i){if(1&r&&(e.TgZ(0,"mat-option",12),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.Q6J("value",t.slug),e.xp6(1),e.Oqu(t.title)}}function nS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-form-field",9)(1,"mat-label"),e._uU(2,"Existing articles"),e.qZA(),e.TgZ(3,"mat-select",10),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedArticle=a)})("selectionChange",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.changedArticle())}),e._UZ(4,"mat-option"),e.YNc(5,iS,2,2,"mat-option",11),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(3),e.Q6J("value",t.selectedArticle),e.xp6(2),e.Q6J("ngForOf",t.articleService.articles)}}function rS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-mart",30),e.NdJ("emojiSelect",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.addEmojiArticle(a))}),e.qZA()}2&r&&e.Q6J("isNative",!0)("showPreview",!1)}function aS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"form",13),e.NdJ("ngSubmit",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onSubmitArticle())}),e.TgZ(1,"div",14)(2,"mat-form-field",15)(3,"mat-label"),e._uU(4,"Title"),e.qZA(),e._UZ(5,"input",16,17),e.qZA(),e.TgZ(7,"mat-form-field",15)(8,"mat-label"),e._uU(9,"URL (slug)"),e.qZA(),e.TgZ(10,"input",18,17),e.NdJ("blur",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.formatSlug())}),e.qZA()(),e.TgZ(12,"mat-form-field",15)(13,"mat-label"),e._uU(14,"Long form text that supports markdown formatting"),e.qZA(),e.TgZ(15,"textarea",19,20),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.note=a)}),e.qZA()(),e.TgZ(17,"mat-form-field",15)(18,"mat-label"),e._uU(19,"Summary (optional)"),e.qZA(),e.TgZ(20,"textarea",21),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.summary=a)}),e.qZA()(),e.TgZ(21,"mat-form-field",15)(22,"mat-label"),e._uU(23,"Banner image (optional)"),e.qZA(),e._UZ(24,"input",22,17),e.qZA(),e.TgZ(26,"mat-form-field",15)(27,"mat-label"),e._uU(28,"Tags (optional, comma separated)"),e.qZA(),e._UZ(29,"input",23,17),e.qZA(),e._UZ(31,"input",24),e.YNc(32,rS,1,2,"emoji-mart",25),e.TgZ(33,"mat-icon",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.isEmojiPickerVisible=!a.isEmojiPickerVisible)}),e._uU(34,"sentiment_satisfied"),e.qZA()(),e.TgZ(35,"div",27)(36,"button",28),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onCancel())}),e._uU(37,"Cancel"),e.qZA(),e._uU(38,"\xa0 "),e.TgZ(39,"button",29),e._uU(40,"Publish Article"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("formGroup",t.articleForm),e.xp6(15),e.Q6J("ngModel",t.note),e.xp6(5),e.Q6J("ngModel",t.summary),e.xp6(12),e.Q6J("ngIf",t.isEmojiPickerVisible),e.xp6(7),e.Q6J("disabled",!t.articleForm.valid)}}function oS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-mart",30),e.NdJ("emojiSelect",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.addEmojiNote(a))}),e.qZA()}2&r&&e.Q6J("isNative",!0)("showPreview",!1)}function sS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"form",13),e.NdJ("ngSubmit",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onSubmitNote())}),e.TgZ(1,"div",14)(2,"mat-form-field",15)(3,"mat-label"),e._uU(4,"What's on your mind?"),e.qZA(),e._UZ(5,"textarea",31,32),e.qZA(),e.YNc(7,oS,1,2,"emoji-mart",25),e.TgZ(8,"mat-icon",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.isEmojiPickerVisible=!a.isEmojiPickerVisible)}),e._uU(9,"sentiment_satisfied"),e.qZA()(),e.TgZ(10,"div",27)(11,"button",28),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onCancel())}),e._uU(12,"Cancel"),e.qZA(),e._uU(13,"\xa0 "),e.TgZ(14,"button",29),e._uU(15,"Publish Note"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("formGroup",t.noteForm),e.xp6(7),e.Q6J("ngIf",t.isEmojiPickerVisible),e.xp6(7),e.Q6J("disabled",!t.noteForm.valid)}}function lS(r,i){if(1&r&&(e.TgZ(0,"div")(1,"h2"),e._uU(2,"Preview"),e.qZA(),e._UZ(3,"app-event",33),e.qZA()),2&r){const t=e.oxw();e.xp6(3),e.Q6J("event",t.event)}}class M_{constructor(i,t,n,a,l,v,T,G,z,be){this.snackBar=i,this.articleService=t,this.queueService=n,this.utilities=a,this.appState=l,this.location=v,this.fb=T,this.navigation=G,this.profileService=z,this.eventService=be,this.noteForm=this.fb.group({content:["",to.required],expiration:[""],dateControl:[]}),this.articleForm=this.fb.group({content:["",to.required],title:["",to.required],summary:[""],image:[""],slug:[""],tags:[""],published_at:[""]}),this.note="",this.blog={title:"",content:"",tags:""},this.title="",this.summary="",this.eventType="text",this.dateControl=new Uc(null),this.subscriptions=[],this.selectedArticle="",this.items=["Noah","Liam","Mason","Jacob"]}ngOnInit(){this.appState.updateTitle("Write a note"),this.appState.showBackButton=!0,this.appState.showLogo=!0,this.appState.actions=[],this.minDate=Date.now(),this.subscriptions.push(this.articleForm.controls.title.valueChanges.subscribe(i=>{i&&this.articleForm.controls.slug.setValue(this.createSlug(i))})),this.subscriptions.push(this.noteForm.controls.content.valueChanges.subscribe(i=>{this.updateEvent(i)}))}updateEvent(i){i?(this.event={contentCut:!1,tagsCut:!1,kind:Qi.Text,content:i||"",tags:[],created_at:(0,pn.zO)(),id:"",sig:"",pubkey:this.appState.getPublicKey()},this.event.tags=this.eventService.parseContentReturnTags(this.event.content)):this.event=void 0}changedArticle(){const i=this.articleService.get(this.selectedArticle);i?(null==i.summary&&(i.summary=""),null==i.image&&(i.image=""),null==i.title&&(i.title=""),this.articleForm.setValue({content:i.content,title:i.title,summary:i.summary,image:i.image,slug:i.slug?i.slug:"",tags:i.metatags?i.metatags.toString():"",published_at:i.published_at?i.published_at.toString():""})):this.articleForm.reset()}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}noteTypeChanged(){"article"==this.eventType&&this.queueService.enque(this.appState.getPublicKey(),"Article")}createSlug(i){return(i=(i=i.toLowerCase()).replace(/[\s\W]+/g,"-")).replace(/^-+|-+$/g,"")}addEmojiNote(i){let t=this.noteContent.nativeElement.selectionStart,n=this.noteForm.controls.content.value,a=n?.substring(0,t)+i.emoji.native+n?.substring(t,n.length);this.noteForm.controls.content.setValue(a),this.isEmojiPickerVisible=!1,this.noteContent.nativeElement.focus()}addEmojiArticle(i){let t=this.articleContent.nativeElement.selectionStart,n=this.articleForm.controls.content.value,a=n?.substring(0,t)+i.emoji.native+n?.substring(t,n.length);this.articleForm.controls.content.setValue(a),this.isEmojiPickerVisible=!1,this.articleContent.nativeElement.focus()}formatSlug(){this.articleForm.controls.slug.setValue(this.createSlug(this.articleForm.controls.slug.value))}onSubmitArticle(){var i=this;return(0,we.Z)(function*(){const t=i.articleForm.controls,n={content:t.content.value,title:t.title.value,summary:t.summary.value,image:t.image.value,slug:t.slug.value,tags:t.tags.value};t.published_at.value&&(n.published_at=Number(t.published_at.value)),yield i.navigation.saveArticle(n),i.snackBar.open("Article was published. Notes does not support viewing articles yet.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"})})()}onSubmitNote(){this.navigation.saveNote(this.noteForm.controls.content.value)}postNote(){this.navigation.saveNote(this.note)}onCancel(){this.note="",this.location.back()}}function cS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",14)(1,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.open(a.rootEventId))}),e.TgZ(2,"mat-icon"),e._uU(3,"keyboard_double_arrow_up"),e.qZA(),e._uU(4,"View Thread"),e.qZA()()}}function dS(r,i){if(1&r&&(e.TgZ(0,"div",16),e._UZ(1,"app-event",13),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("event",t)}}function uS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",14)(1,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().ngIf,l=e.oxw();return e.KtG(l.open(a.parentEventId))}),e.TgZ(2,"mat-icon"),e._uU(3,"keyboard_arrow_up"),e.qZA(),e._uU(4,"View Parent"),e.qZA()()}}M_.\u0275fac=function(i){return new(i||M_)(e.Y36(no.ux),e.Y36(eo),e.Y36(Br),e.Y36(pn.dU),e.Y36(Oe.i),e.Y36(F.Ye),e.Y36(Op),e.Y36(za),e.Y36(Yn),e.Y36(Zr))},M_.\u0275cmp=e.Xpm({type:M_,selectors:[["app-editor"]],viewQuery:function(i,t){if(1&i&&(e.Gf(X6,5),e.Gf(eS,5),e.Gf(tS,5)),2&i){let n;e.iGM(n=e.CRH())&&(t.picker=n.first),e.iGM(n=e.CRH())&&(t.noteContent=n.first),e.iGM(n=e.CRH())&&(t.articleContent=n.first)}},decls:12,vars:5,consts:[[1,"page"],[1,"note-type"],["name","fontStyle","aria-label","Font Style",3,"ngModel","change","ngModelChange"],["group","matButtonToggleGroup"],["value","text"],["value","article"],["appearance","fill",4,"ngIf"],[3,"formGroup","ngSubmit",4,"ngIf"],[4,"ngIf"],["appearance","fill"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"formGroup","ngSubmit"],["mat-dialog-content","",1,"mat-dialog-content"],[1,"input-full-width"],["matInput","","formControlName","title","placeholder","Ex. My favorite food..."],["message",""],["matInput","","placeholder","Can only contain - and lower case text","formControlName","slug",3,"blur"],["appAutoInputHeight","","matInput","","type","text","formControlName","content","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["articleContent",""],["appAutoInputHeight","","matInput","","type","text","formControlName","summary","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["matInput","","placeholder","Article banner image","formControlName","image"],["matInput","","placeholder","Tech, News, Social","formControlName","tags"],["type","hidden","formControlName","published_at"],["class","picker","emoji","point_up","title","Choose your emoji",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["matTooltip","Insert emoji",1,"toolbar-icon","margin-right",3,"click"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"],["mat-stroked-button","","type","button",3,"click"],["mat-flat-button","","type","submit","color","primary",3,"disabled"],["emoji","point_up","title","Choose your emoji",1,"picker",3,"isNative","showPreview","emojiSelect"],["appContentEditor","","appAutoInputHeight","","matInput","","type","text","formControlName","content","rows","2",1,"note-input","noscrollbars"],["noteContent",""],[3,"event"]],template:function(i,t){if(1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-button-toggle-group",2,3),e.NdJ("change",function(){return t.noteTypeChanged()})("ngModelChange",function(a){return t.eventType=a}),e.TgZ(4,"mat-button-toggle",4),e._uU(5,"Note"),e.qZA(),e.TgZ(6,"mat-button-toggle",5),e._uU(7,"Article"),e.qZA()()(),e.YNc(8,nS,6,2,"mat-form-field",6),e.YNc(9,aS,41,5,"form",7),e.YNc(10,sS,16,3,"form",7),e.YNc(11,lS,4,1,"div",8),e.qZA()),2&i){const n=e.MAs(3);e.xp6(2),e.Q6J("ngModel",t.eventType),e.xp6(6),e.Q6J("ngIf","article"==n.value),e.xp6(1),e.Q6J("ngIf","article"==n.value),e.xp6(1),e.Q6J("ngIf","text"==n.value),e.xp6(1),e.Q6J("ngIf",t.event)}},dependencies:[F.sg,F.O5,io,Ca,Ba,Dt.lW,Ph,ae.ey,Wn,fo,WF,rl,ar,Sr,Nl,oa,os,Ed,yt,Bi,nC,rC,Uh,D_,Vh],styles:["h1[_ngcontent-%COMP%]{margin-top:0}.input-full-width[_ngcontent-%COMP%]{width:100%!important}.toolbar[_ngcontent-%COMP%]{display:flex;margin-bottom:5px;margin-top:3px}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.margin-right[_ngcontent-%COMP%]{margin-right:5px}.picker[_ngcontent-%COMP%]{display:block;position:fixed;z-index:3}.note-type[_ngcontent-%COMP%]{text-align:right;margin-bottom:1em}@media only screen and (max-width: 599px){h1[_ngcontent-%COMP%]{font-size:1.8em}}.text-editor[_ngcontent-%COMP%]{border:1px lightgrey solid;min-height:88px;padding:1em}"]});const hS=function(r,i,t,n){return{"is-root":r,"has-root":i,"no-lines":t,lines:n}},mS=function(r,i){return{"no-lines":r,lines:i}};function fS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"mat-accordion",3)(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),e._uU(6,"Options"),e.qZA(),e._UZ(7,"mat-panel-description"),e.qZA(),e.TgZ(8,"p")(9,"mat-slide-toggle",4),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.optionsService.save())})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.optionsService.values.showLines=a)}),e._uU(10,"Show lines"),e.qZA()()()()(),e.YNc(11,cS,5,0,"mat-card",5),e.YNc(12,dS,2,1,"div",6),e.ALo(13,"async"),e.TgZ(14,"div",7),e.YNc(15,uS,5,0,"mat-card",5),e.TgZ(16,"div",8)(17,"app-event-header",9),e._UZ(18,"app-date",10)(19,"app-directory-icon",9),e.qZA(),e._UZ(20,"app-event-actions",11),e.qZA(),e._UZ(21,"app-content",12)(22,"app-event-reactions",13)(23,"app-event-buttons",13)(24,"app-event-thread",13),e.qZA()()}if(2&r){const t=i.ngIf,n=e.oxw();e.xp6(9),e.Q6J("ngModel",n.optionsService.values.showLines),e.xp6(2),e.Q6J("ngIf",t.rootEventId),e.xp6(1),e.Q6J("ngIf",e.lcZ(13,15,n.ui.parentEvent$)),e.xp6(2),e.Q6J("ngClass",e.l5B(17,hS,!t.parentEventId,t.parentEventId,!n.optionsService.values.showLines,n.optionsService.values.showLines)),e.xp6(1),e.Q6J("ngIf",t.parentEventId),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("date",t.created_at),e.xp6(1),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("event",t)("pubkey",t.pubkey),e.xp6(1),e.Q6J("ngClass",e.WLB(22,mS,!n.optionsService.values.showLines,n.optionsService.values.showLines))("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t),e.xp6(1),e.Q6J("event",t)}}class Pf{constructor(i,t,n,a,l,v,T,G,z,be,Ve){this.appState=i,this.activatedRoute=t,this.cd=n,this.optionsService=a,this.navigation=l,this.profiles=v,this.thread=T,this.validator=G,this.utilities=z,this.router=be,this.ui=Ve,this.initialLoad=!0}open(i){this.router.navigate(["/e",i])}likes(i){}dislikes(i){}replies(i){}filteredThread(){}repliesTo(i){if(!i)return;let t=i.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return t=t.filter(n=>n!==i.pubkey),t}ngOnInit(){var i=this;console.log("CURRENT EVENT:",this.navigation.currentEvent),this.ui.setPubKey(void 0,!1),this.ui.clearViewPositions(),this.appState.updateTitle("Article"),this.appState.showBackButton=!0,this.activatedRoute.paramMap.subscribe(function(){var t=(0,we.Z)(function*(n){const a=n.get("id");if(a){if(a.startsWith("naddr")){const l=gn.decode(a);if("naddr"==l.type){const v=l.data;if(v.kind==Qi.Article)return void i.router.navigate(["/a",v.pubkey,v.identifier])}}i.navigation.currentEvent?.id!=a&&i.ui.setEventId(a)}else i.router.navigateByUrl("/")});return function(n){return t.apply(this,arguments)}}())}trackByFn(i,t){return t.id}ngOnDestroy(){this.sub&&this.sub.unsub(),this.ui.clear()}}Pf.\u0275fac=function(i){return new(i||Pf)(e.Y36(Oe.i),e.Y36(Yt.gz),e.Y36(e.sBO),e.Y36(la.I),e.Y36(za),e.Y36(Yn),e.Y36(Dc),e.Y36(ns.Y),e.Y36(pn.dU),e.Y36(Yt.F0),e.Y36(zr))},Pf.\u0275cmp=e.Xpm({type:Pf,selectors:[["app-article"]],decls:3,vars:3,consts:[["class","feed-page",4,"ngIf"],[1,"feed-page"],[1,"options-container"],[1,"options"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["class","button-card",4,"ngIf"],["class","parent-event",4,"ngIf"],[1,"current-event","events2","noclick",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[3,"date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","event"],[3,"event"],[1,"button-card"],["mat-flat-button","",3,"click"],[1,"parent-event"]],template:function(i,t){1&i&&(e.YNc(0,fS,25,25,"div",0),e.ALo(1,"async"),e._UZ(2,"mat-divider")),2&i&&e.Q6J("ngIf",e.lcZ(1,1,t.ui.event$))},dependencies:[F.mk,F.O5,Dt.lW,ca,Wn,e_,Sn.pp,Sn.ib,Sn.yz,Sn.yK,Sn.u4,ed,Sr,oa,jo,Ro,Po,po,Hh,Fu,Cu,Mc,Uh,F.Ov],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}.events[_ngcontent-%COMP%]{padding:0!important}.thread-actions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.3em}.button-card[_ngcontent-%COMP%]{margin-bottom:.4em}.has-root[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em}.is-root[_ngcontent-%COMP%]{margin-left:0;padding-left:0;border-left:2px solid transparent!important}.options-container[_ngcontent-%COMP%]{margin-bottom:1em}"]});class E_{constructor(i,t,n,a,l,v,T,G,z,be,Ve){this.uploadService=i,this.nostr=t,this.optionsService=n,this.relayService=a,this.dialog=l,this.appState=v,this.profileService=T,this.theme=G,this.db=z,this.snackBar=be,this.dataService=Ve,this.wiped=!1,this.wipedNonFollow=!1,this.wipedNotes=!1,this.open=!1}toggle(){this.open?(this.open=!1,this.accordion.closeAll()):(this.open=!0,this.accordion.openAll())}openMediaPlayer(){this.optionsService.values.showMediaPlayer=!0}primaryRelay(i){var t=this;return(0,we.Z)(function*(){t.optionsService.values.primaryRelay=i.url,t.optionsService.save()})()}deleteRelays(){var i=this;return(0,we.Z)(function*(){yield i.relayService.deleteRelays([])})()}clearProfileCache(){var i=this;return(0,we.Z)(function*(){i.wipedNonFollow=!0})()}clearNotesCache(){var i=this;return(0,we.Z)(function*(){i.wipedNotes=!0})()}getDefaultRelays(){var i=this;return(0,we.Z)(function*(){yield i.relayService.appendRelays(i.nostr.defaultRelays)})()}getRelays(){var i=this;return(0,we.Z)(function*(){const t=yield i.nostr.relays();yield i.relayService.appendRelays(t)})()}ngOnInit(){this.appState.updateTitle("Relays"),this.appState.showBackButton=!1,this.appState.actions=[{icon:"add_circle",tooltip:"Add Relay",click:()=>{this.addRelay()}}]}registerHandler(i,t){navigator.registerProtocolHandler(i,`/?${t}=%s`)}addRelay(){var i=this;this.dialog.open(_u,{data:{read:!0,write:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,we.Z)(function*(a){a&&(-1===a.url.indexOf("://")&&(a.url="wss://"+a.url),yield i.relayService.appendRelay(a.url,a.read,a.write))});return function(a){return n.apply(this,arguments)}}())}}E_.\u0275fac=function(i){return new(i||E_)(e.Y36(Sh.C),e.Y36(Ho),e.Y36(la.I),e.Y36(ro),e.Y36(yi),e.Y36(Oe.i),e.Y36(Yn),e.Y36(de),e.Y36(Fr),e.Y36(no.ux),e.Y36(pa))},E_.\u0275cmp=e.Xpm({type:E_,selectors:[["app-relays-management"]],viewQuery:function(i,t){if(1&i&&e.Gf(Sn.pp,5),2&i){let n;e.iGM(n=e.CRH())&&(t.accordion=n.first)}},decls:29,vars:19,consts:[[1,"feed-page"],[1,"options"],[1,"settings-action-buttons"],["mat-flat-button","","color","primary",3,"click"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","warn",3,"click"],[3,"relays"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-accordion")(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._UZ(8,"mat-panel-description"),e.qZA(),e.TgZ(9,"div",2)(10,"button",3),e.NdJ("click",function(){return t.getRelays()}),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.TgZ(13,"button",3),e.NdJ("click",function(){return t.getDefaultRelays()}),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._UZ(16,"br"),e.TgZ(17,"button",4),e.NdJ("click",function(){return t.dataService.publishContactsAndRelays()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.TgZ(20,"button",4),e.NdJ("click",function(){return t.dataService.publishRelays()}),e._uU(21),e.ALo(22,"translate"),e.qZA(),e._UZ(23,"br")(24,"br"),e.TgZ(25,"button",5),e.NdJ("click",function(){return t.deleteRelays()}),e._uU(26),e.ALo(27,"translate"),e.qZA()()()()(),e._UZ(28,"app-relays",6),e.qZA()),2&i&&(e.xp6(6),e.hij("",e.lcZ(7,7,"Relays.Options")," "),e.xp6(5),e.hij("",e.lcZ(12,9,"Relays.AppendFromExtension")," "),e.xp6(3),e.hij("",e.lcZ(15,11,"Relays.AppendFromApp")," "),e.xp6(4),e.hij("",e.lcZ(19,13,"Relays.PublishRelay(and following)list")," "),e.xp6(3),e.Oqu(e.lcZ(22,15,"Relays.PublishRelay(NIP-65)list")),e.xp6(5),e.hij("",e.lcZ(27,17,"Relays.DeleteAllRelays")," "),e.xp6(2),e.Q6J("relays",t.relayService.items))},dependencies:[Dt.lW,Sn.pp,Sn.ib,Sn.yz,Sn.yK,Sn.u4,Nf,vs.X$],styles:[".example-action-buttons[_ngcontent-%COMP%]{padding-bottom:20px}.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.example-headers-align[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%] + .mat-mdc-form-field[_ngcontent-%COMP%]{margin-left:8px}.online[_ngcontent-%COMP%]{margin-left:.2em;margin-bottom:-.2em}.relay-status-0[_ngcontent-%COMP%]{color:silver}.relay-status-1[_ngcontent-%COMP%]{color:green}.relay-status-2[_ngcontent-%COMP%]{color:orange}.relay-status-3[_ngcontent-%COMP%]{color:red}.relay-status-4[_ngcontent-%COMP%]{color:#3131d2}.relay-read-disabled[_ngcontent-%COMP%]{color:#3131d2!important}.relay-disabled[_ngcontent-%COMP%]{color:#ea8809!important}.primary-relay[_ngcontent-%COMP%]{color:#c603b5}.relay-options[_ngcontent-%COMP%]{margin-top:.4em;margin-bottom:.2em}.settings-action-buttons[_ngcontent-%COMP%]{padding-top:.8em;padding-bottom:1em}.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:1em;margin-right:1em}@media only screen and (max-width: 599px){.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin-right:0}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-grow:2!important}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-grow:1!important}}.relay-button[_ngcontent-%COMP%]{margin-top:.8em}.options-slider[_ngcontent-%COMP%]{margin-left:1em}"]});const pS=function(r,i){return["/b",r,i]};function gS(r,i){if(1&r&&(e.TgZ(0,"mat-card-title")(1,"a",8),e._uU(2),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("routerLink",e.WLB(2,pS,t.badge.pubkey,t.badge.slug)),e.xp6(1),e.Oqu(t.badge.name)}}function _S(r,i){if(1&r&&(e.TgZ(0,"mat-card-title"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(t.badge.name)}}function bS(r,i){if(1&r&&(e.TgZ(0,"mat-chip"),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.hij("#",t,"")}}function yS(r,i){if(1&r&&(e.TgZ(0,"mat-card",1)(1,"mat-card-header",2),e.YNc(2,gS,3,5,"mat-card-title",3),e.YNc(3,_S,2,1,"mat-card-title",3),e.TgZ(4,"mat-card-subtitle"),e._uU(5),e.qZA()(),e._UZ(6,"img",4),e.TgZ(7,"mat-card-content")(8,"p",5),e._uU(9),e.qZA(),e.TgZ(10,"mat-chip-set",6),e.YNc(11,bS,2,1,"mat-chip",7),e.qZA(),e.TgZ(12,"p"),e.Hsn(13),e.qZA()()()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!t.preview),e.xp6(1),e.Q6J("ngIf",t.preview),e.xp6(2),e.Oqu(t.badge.slug),e.xp6(1),e.Q6J("src",t.thumbUrl(t.badge.thumb),e.LSH),e.xp6(3),e.Oqu(t.badge.description),e.xp6(2),e.Q6J("ngForOf",t.badge.hashtags)}}var ad=new WeakMap,tv=new WeakMap;class Zh{set badge(i){Wt(this,ad,i),this.update()}get badge(){return _e(this,ad)}set id(i){var t=this;Wt(this,tv,i),i?this.badgeService.getBadge(i).then(function(){var n=(0,we.Z)(function*(a){null!=a&&(Wt(t,ad,a),t.update())});return function(a){return n.apply(this,arguments)}}()):Wt(this,ad,void 0)}get id(){return _e(this,tv)}constructor(i,t){St(this,ad,{writable:!0,value:void 0}),St(this,tv,{writable:!0,value:void 0}),this.utilities=i,this.badgeService=t,Wt(this,tv,""),this.preview=!1}update(){!_e(this,ad)?.slug&&_e(this,ad).tags&&Wt(this,ad,this.badgeService.denormalizeBadge(_e(this,ad)))}ngOnInit(){}imageUrl(i){if(i||(i=this.badge?.thumb),i)return this.utilities.sanitizeImageUrl(i)}thumbUrl(i){if(i||(i=this.badge?.image),i)return this.utilities.sanitizeImageUrl(i)}}function wS(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"\xa0Accepted"),e.qZA())}function xS(r,i){if(1&r&&(e.TgZ(0,"mat-icon",8),e._uU(1,"verified"),e.qZA(),e.YNc(2,wS,2,0,"span",9),e.ALo(3,"async")),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===e.lcZ(3,1,t.appState.displayLabels$))}}function FS(r,i){1&r&&e._UZ(0,"app-badge-card",13),2&r&&e.Q6J("id",i.$implicit)}function CS(r,i){if(1&r&&(e.TgZ(0,"div",11),e.YNc(1,FS,1,1,"app-badge-card",12),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.profileBadges)}}function kS(r,i){if(1&r&&e.YNc(0,CS,2,1,"div",10),2&r){const t=e.oxw();e.Q6J("ngIf",t.profileBadgesSub.events)}}function DS(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"\xa0Awarded"),e.qZA())}function MS(r,i){if(1&r&&(e.TgZ(0,"mat-icon",8),e._uU(1,"emoji_events"),e.qZA(),e.YNc(2,DS,2,0,"span",9),e.ALo(3,"async")),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===e.lcZ(3,1,t.appState.displayLabels$))}}function ES(r,i){if(1&r&&(e.TgZ(0,"app-badge-card",13)(1,"div",14),e._uU(2," Issued by:\xa0"),e._UZ(3,"app-profile-name",4)(4,"br"),e._uU(5," Issued date: "),e._UZ(6,"app-date",15),e.qZA()()),2&r){const t=i.$implicit,n=e.oxw(3);e.Q6J("id",n.getId(t)),e.xp6(3),e.Q6J("pubkey",t.pubkey),e.xp6(3),e.Q6J("date",t.created_at)}}function AS(r,i){if(1&r&&(e.TgZ(0,"div",11),e.YNc(1,ES,7,3,"app-badge-card",12),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.receivedBadgesSub.events)}}function TS(r,i){if(1&r&&e.YNc(0,AS,2,1,"div",10),2&r){const t=e.oxw();e.Q6J("ngIf",t.receivedBadgesSub.events)}}function SS(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"\xa0Created"),e.qZA())}function IS(r,i){if(1&r&&(e.TgZ(0,"mat-icon",8),e._uU(1,"badge"),e.qZA(),e.YNc(2,SS,2,0,"span",9),e.ALo(3,"async")),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===e.lcZ(3,1,t.appState.displayLabels$))}}function OS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"app-badge-card",17)(1,"button",18),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw(3);return e.KtG(v.edit(l))}),e._uU(2,"EDIT"),e.qZA()()}2&r&&e.Q6J("badge",i.$implicit)}function LS(r,i){if(1&r&&(e.TgZ(0,"div",11),e.YNc(1,OS,3,1,"app-badge-card",16),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.badgeDefinitionsSub.events)}}function NS(r,i){if(1&r&&e.YNc(0,LS,2,1,"div",10),2&r){const t=e.oxw();e.Q6J("ngIf",t.badgeDefinitionsSub.events)}}Zh.\u0275fac=function(i){return new(i||Zh)(e.Y36(pn.dU),e.Y36(rs))},Zh.\u0275cmp=e.Xpm({type:Zh,selectors:[["app-badge-card"]],inputs:{badge:"badge",id:"id",preview:"preview"},ngContentSelectors:["*"],decls:1,vars:1,consts:[["class","badge-card",4,"ngIf"],[1,"badge-card"],[1,"badge-header"],[4,"ngIf"],["mat-card-image","",3,"src"],[1,"text"],[1,"hashtags"],[4,"ngFor","ngForOf"],[3,"routerLink"]],template:function(i,t){1&i&&(e.F$t(),e.YNc(0,yS,14,6,"mat-card",0)),2&i&&e.Q6J("ngIf",t.badge)},dependencies:[F.sg,F.O5,Yt.rH,ca,Rs,fh,qm,mh,hh,Zl,au],styles:[".badge-card[_ngcontent-%COMP%]{max-width:256px}.badge-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto}@media only screen and (max-width: 599px){.badge-card[_ngcontent-%COMP%]{width:100%}}"]});class A_{constructor(i,t,n,a,l,v,T,G,z){this.relayService=i,this.activatedRoute=t,this.utilities=n,this.router=a,this.eventService=l,this.appState=v,this.badgeService=T,this.queueService=G,this.cd=z,this.subscriptions=[],this.pubkey=""}ngOnInit(){var i=this;this.appState.updateTitle("Badges"),this.appState.showBackButton=!0,this.appState.actions=[{icon:"note_add",tooltip:"Create new badge type",click:()=>{this.createBadgeType()}},{icon:"assignment_ind",tooltip:"Assign badge to user",click:()=>{this.assignBadge()}}],this.subscriptions.push(this.activatedRoute.queryParams.subscribe(function(){var t=(0,we.Z)(function*(n){i.tabIndex=n.t});return function(n){return t.apply(this,arguments)}}())),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var t=(0,we.Z)(function*(n){const a=n.get("id");a&&(i.pubkey=a,i.receivedBadgesSub=i.relayService.download([{kinds:[8],"#p":[i.pubkey]}],void 0,"Event"),i.profileBadgesSub=i.relayService.download([{kinds:[30008],authors:[i.pubkey],"#d":["profile_badges"]}],void 0,"Replaceable"),i.badgeDefinitionsSub=i.relayService.download([{kinds:[30009],authors:[i.pubkey]}],void 0,"Replaceable"),i.cd.detectChanges())});return function(n){return t.apply(this,arguments)}}()))}get profileBadges(){return this.profileBadgesSub&&0!=this.profileBadgesSub.events.length?this.eventService.tagsOfTypeValues(this.profileBadgesSub.events[0],"a"):[]}getId(i){return this.eventService.firstATag(i)}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions),this.receivedBadgesSub&&this.relayService.unsubscribe(this.receivedBadgesSub.id),this.profileBadgesSub&&this.relayService.unsubscribe(this.profileBadgesSub.id),this.badgeDefinitionsSub&&this.relayService.unsubscribe(this.badgeDefinitionsSub.id)}onTabChanged(i){this.router.navigate([],{queryParams:{t:i.index},replaceUrl:!0})}edit(i){this.badgeService.selectedBadge=i,this.router.navigateByUrl("/editor/badges")}issue(i){this.badgeService.selectedBadge=i,this.router.navigateByUrl("/editor/badges")}createBadgeType(){}assignBadge(){}}function RS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"div")(2,"div")(3,"p"),e._uU(4,"Just paste your (or someone else's) Nostr public key (npub) here:"),e.qZA(),e.TgZ(5,"mat-form-field",18)(6,"mat-icon",19),e._uU(7,"person_add"),e.qZA(),e.TgZ(8,"mat-label"),e._uU(9,"Public Key"),e.qZA(),e.TgZ(10,"input",20),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.readOnlyKey=a)}),e.qZA()(),e.TgZ(11,"div")(12,"button",21),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.anonymous(a.readOnlyKey))}),e._uU(13,"Connect (read-only)"),e.qZA()()()()()}if(2&r){const t=e.oxw();e.xp6(10),e.Q6J("ngModel",t.readOnlyKey)}}A_.\u0275fac=function(i){return new(i||A_)(e.Y36(ro),e.Y36(Yt.gz),e.Y36(pn.dU),e.Y36(Yt.F0),e.Y36(Zr),e.Y36(Oe.i),e.Y36(rs),e.Y36(Br),e.Y36(e.sBO))},A_.\u0275cmp=e.Xpm({type:A_,selectors:[["app-badges"]],decls:22,vars:2,consts:[[1,"feed-page"],[1,"options"],[1,"options-buttons"],["mat-stroked-button","","routerLink","/editor/badges"],[3,"pubkey"],[3,"selectedIndex","selectedTabChange"],["mat-tab-label",""],["matTabContent",""],[1,"example-tab-icon"],[4,"ngIf"],["class","badges",4,"ngIf"],[1,"badges"],[3,"id",4,"ngFor","ngForOf"],[3,"id"],[1,"dimmed"],[3,"date"],[3,"badge",4,"ngFor","ngForOf"],[3,"badge"],["mat-stroked-button","",1,"badge-card-button",3,"click"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-accordion")(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),e._uU(6,"Options"),e.qZA(),e._UZ(7,"mat-panel-description"),e.qZA(),e.TgZ(8,"div",2)(9,"button",3),e._uU(10,"Badge Editor"),e.qZA()()()()(),e._UZ(11,"app-event-header",4),e.TgZ(12,"mat-tab-group",5),e.NdJ("selectedTabChange",function(a){return t.onTabChanged(a)}),e.TgZ(13,"mat-tab"),e.YNc(14,xS,4,3,"ng-template",6),e.YNc(15,kS,1,1,"ng-template",7),e.qZA(),e.TgZ(16,"mat-tab"),e.YNc(17,MS,4,3,"ng-template",6),e.YNc(18,TS,1,1,"ng-template",7),e.qZA(),e.TgZ(19,"mat-tab"),e.YNc(20,IS,4,3,"ng-template",6),e.YNc(21,NS,1,1,"ng-template",7),e.qZA()()()),2&i&&(e.xp6(11),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("selectedIndex",t.tabIndex))},dependencies:[F.sg,F.O5,Yt.rH,Dt.lW,Wn,Pg,Bg,yu,vu,Sn.pp,Sn.ib,Sn.yz,Sn.yK,Sn.u4,xc,Ro,Mc,Zh,F.Ov],styles:[".badge-header[_ngcontent-%COMP%]{margin-bottom:1em}.badges[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;flex-direction:row;gap:1em;padding-top:1em}.options-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:1em;margin-bottom:1em}"]});class T_{constructor(i,t,n,a){this.authService=i,this.theme=t,this.router=n,this.security=a,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.readOnlyLogin=!1,this.readOnlyKey="npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m"}connect(){var i=this;return(0,we.Z)(function*(){(yield i.authService.login()).authenticated()&&i.router.navigateByUrl("/")})()}anonymous(i){var t=this;return(0,we.Z)(function*(){(yield t.authService.anonymous(i)).authenticated()&&t.router.navigateByUrl("/")})()}persistKey(){var i=this;return(0,we.Z)(function*(){setTimeout((0,we.Z)(function*(){if(!i.privateKeyHex||!i.publicKeyHex)return;const t=yield i.security.encryptData(i.privateKeyHex,i.password),n=yield i.security.decryptData(t,i.password);i.privateKeyHex==n?(localStorage.setItem("blockcore:notes:nostr:prvkey",t),localStorage.setItem("blockcore:notes:nostr:pubkey",i.publicKeyHex),i.router.navigateByUrl("/")):(i.error="Unable to encrypt and decrypt. Cannot continue.",console.error(i.error))}),10)})()}updatePublicKey(){if(this.error="",this.publicKey="",this.privateKeyHex="",this.privateKey)if(this.privateKey.startsWith("npub"))this.error='The key value must be a "nsec" value. You entered "npub", which is your public key.';else{this.privateKeyHex=this.privateKey.startsWith("nsec")?gn.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=qt(this.privateKeyHex),this.publicKey=gn.npubEncode(this.publicKeyHex)}catch(i){this.error=i.message}}else this.publicKey=""}}function PS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3,"Who are you?"),e.qZA(),e.TgZ(4,"p"),e._uU(5,"Add some (optional) basics about yourself. This information will be public."),e.qZA(),e.TgZ(6,"p")(7,"mat-form-field",12)(8,"mat-icon",13),e._uU(9,"badge"),e.qZA(),e.TgZ(10,"mat-label"),e._uU(11,"Display Name"),e.qZA(),e.TgZ(12,"input",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.display_name=a)}),e.qZA()()(),e.TgZ(13,"p")(14,"mat-form-field",12)(15,"mat-icon",13),e._uU(16,"alternate_email"),e.qZA(),e.TgZ(17,"mat-label"),e._uU(18,"Nickname"),e.qZA(),e.TgZ(19,"input",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.name=a)}),e.qZA()()(),e.TgZ(20,"p")(21,"mat-form-field",12)(22,"mat-icon",13),e._uU(23,"help_outline"),e.qZA(),e.TgZ(24,"mat-label"),e._uU(25,"About"),e.qZA(),e.TgZ(26,"textarea",15),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.about=a)}),e.qZA()()(),e.TgZ(27,"p")(28,"mat-form-field",12)(29,"mat-icon",13),e._uU(30,"image"),e.qZA(),e.TgZ(31,"mat-label"),e._uU(32,"Profile Image"),e.qZA(),e.TgZ(33,"input",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.picture=a)}),e.qZA()()(),e.TgZ(34,"p")(35,"mat-form-field",12)(36,"mat-icon",13),e._uU(37,"how_to_reg"),e.qZA(),e.TgZ(38,"mat-label"),e._uU(39,"E-mail/Domain Identifier (NIP05)"),e.qZA(),e.TgZ(40,"input",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.profile.nip05=a)}),e.qZA()()(),e.TgZ(41,"div",16)(42,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=2)}),e._uU(43,"Continue"),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(12),e.Q6J("ngModel",t.profile.display_name),e.xp6(7),e.Q6J("ngModel",t.profile.name),e.xp6(7),e.Q6J("ngModel",t.profile.about),e.xp6(7),e.Q6J("ngModel",t.profile.picture),e.xp6(7),e.Q6J("ngModel",t.profile.nip05)}}function BS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3,"Your secret recovery phrase"),e.qZA(),e.TgZ(4,"p",18),e._uU(5),e.qZA(),e._UZ(6,"br"),e.TgZ(7,"button",19)(8,"mat-icon"),e._uU(9,"content_copy"),e.qZA(),e._uU(10," Copy "),e.qZA(),e._UZ(11,"br")(12,"br"),e.TgZ(13,"p",20),e._uU(14,"This is your private and secret sentence. You must store it safely, if you lose it, you will lose access to your account. Nobody can recover it for you."),e.qZA(),e.TgZ(15,"p"),e._uU(16,"Keep it safe, keep it hidden."),e.qZA(),e.TgZ(17,"div",16)(18,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=1)}),e._uU(19,"Back"),e.qZA(),e.TgZ(20,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=3)}),e._uU(21,"Continue"),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(5),e.Oqu(t.mnemonic),e.xp6(2),e.Q6J("cdkCopyToClipboard",t.mnemonic)}}function YS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3,"Private and Public Keys"),e.qZA(),e._uU(4," Your personal private key:"),e._UZ(5,"br"),e.TgZ(6,"p",21),e._uU(7),e.qZA(),e.TgZ(8,"form")(9,"mat-form-field",22)(10,"mat-icon",23),e._uU(11,"person_add"),e.qZA(),e.TgZ(12,"mat-label"),e._uU(13,"Public Key"),e.qZA(),e.TgZ(14,"input",24),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.publicKey=a)}),e.qZA()(),e.TgZ(15,"mat-form-field",22)(16,"mat-icon",23),e._uU(17,"password"),e.qZA(),e.TgZ(18,"mat-label"),e._uU(19,"Password (optional)"),e.qZA(),e.TgZ(20,"input",25),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.password=a)}),e.qZA()(),e._UZ(21,"br"),e.qZA(),e.TgZ(22,"p",20),e._uU(23,"From your secret recovery phrase, your public key and private key are derived. Some Nostr clients require the private key to be imported."),e.qZA(),e.TgZ(24,"div",16)(25,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=2)}),e._uU(26,"Back"),e.qZA(),e.TgZ(27,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.persistKey())}),e._uU(28,"Save and Log In"),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(7),e.Oqu(t.privateKey),e.xp6(7),e.Q6J("readonly",!0)("ngModel",t.publicKey),e.xp6(6),e.Q6J("ngModel",t.password)}}T_.\u0275fac=function(i){return new(i||T_)(e.Y36(Wc.$),e.Y36(de),e.Y36(Yt.F0),e.Y36(gs))},T_.\u0275cmp=e.Xpm({type:T_,selectors:[["app-login"]],decls:40,vars:2,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["routerLink","/connect"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"connect-content"],[1,"card","first-card"],["mat-flat-button","","color","accent",1,"start-button","full-button",3,"click"],[1,"description"],["href","https://chrome.google.com/webstore/detail/blockcore-wallet/peigonhbenoefaeplkpalmafieegnapj","target","_blank"],["disabled","disabled","mat-flat-button","","color","accent",1,"start-button","full-button"],["href","https://github.com/nostr-connect/nostrum","target","_blank"],["routerLink","/connect/key","mat-flat-button","","color","accent",1,"start-button","full-button"],[4,"ngIf"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["color","primary","mat-raised-button","",1,"skip-button",3,"click"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"a",2),e._UZ(3,"img",3),e.qZA(),e.TgZ(4,"div",4)(5,"span",5),e._uU(6,"Blockcore"),e.qZA(),e._uU(7," Notes"),e.qZA(),e._UZ(8,"div",6),e.TgZ(9,"button",7),e.NdJ("click",function(){return t.theme.darkMode=!t.theme.darkMode}),e.TgZ(10,"mat-icon",8),e._uU(11),e.qZA()()(),e.TgZ(12,"div",9)(13,"mat-card",10)(14,"mat-card-content")(15,"h1"),e._uU(16,"Log in"),e.qZA(),e.TgZ(17,"p"),e._uU(18,"If you already have an existing Nostr profile, you can restore it on Notes with these options."),e.qZA(),e.TgZ(19,"button",11),e.NdJ("click",function(){return t.connect()}),e._uU(20,"Connect using extension"),e.qZA(),e.TgZ(21,"div",12),e._uU(22," Good security. Requires the Nostr extension to be installed, like "),e.TgZ(23,"a",13),e._uU(24,"Blockcore Wallet"),e.qZA()(),e.TgZ(25,"button",14),e._uU(26,"Nostr connect (Coming soon)"),e.qZA(),e.TgZ(27,"div",12),e._uU(28,"Great security. Use an app like "),e.TgZ(29,"a",15),e._uU(30,"Nostrum"),e.qZA()(),e.TgZ(31,"button",16),e._uU(32,"Private Key"),e.qZA(),e.TgZ(33,"div",12),e._uU(34,"Enter a private key or recovery phrase. Stored encrypted with password. Less secure option."),e.qZA(),e.TgZ(35,"button",11),e.NdJ("click",function(){return t.readOnlyLogin=!t.readOnlyLogin}),e._uU(36,"Public Key"),e.qZA(),e.TgZ(37,"div",12),e._uU(38,"Very secure. Enter a public key for read-only login."),e.qZA(),e.YNc(39,RS,14,1,"div",17),e.qZA()()()()),2&i&&(e.xp6(11),e.Oqu(t.theme.darkMode?"dark_mode":"light_mode"),e.xp6(28),e.Q6J("ngIf",t.readOnlyLogin))},dependencies:[F.O5,Yt.rH,io,Ca,Ba,ol,Dt.lW,Dt.RK,ca,Rs,Wn,ar,Sr,oa],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.spaces[_ngcontent-%COMP%]{border-radius:10px;margin:1em 2em 1em 11em;padding:1.5em}.spaces-card[_ngcontent-%COMP%]{max-width:274px;border-radius:15px}.spaces-add[_ngcontent-%COMP%]{max-width:274px;border-radius:15px;box-sizing:border-box}.spaces-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}.spaces-header-image[_ngcontent-%COMP%]{background-image:url(https://material.angular.io/assets/img/examples/shiba1.jpg);background-size:cover}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%], .spaces[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%], .spaces[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}.spaces[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:1em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%], .spaces[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}.spaces-card[_ngcontent-%COMP%]{width:100%;max-width:100%}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}",".public-key[_ngcontent-%COMP%]{margin-bottom:1em;word-wrap:break-word}.error[_ngcontent-%COMP%]{margin-bottom:1em;color:red}"]});class S_{constructor(i,t,n,a,l,v,T){this.utilities=i,this.dataService=t,this.profileService=n,this.authService=a,this.theme=l,this.router=v,this.security=T,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.profile={},this.step=1,this.mnemonic=""}ngOnInit(){this.mnemonic=Ds.generateSeedWords(),this.privateKeyHex=Ds.privateKeyFromSeedWords(this.mnemonic),this.privateKey=gn.nsecEncode(this.privateKeyHex),this.updatePublicKey()}connect(){var i=this;return(0,we.Z)(function*(){(yield i.authService.login()).authenticated()&&i.router.navigateByUrl("/")})()}anonymous(i){var t=this;return(0,we.Z)(function*(){(yield t.authService.anonymous(i)).authenticated()&&t.router.navigateByUrl("/")})()}persistKey(){var i=this;return(0,we.Z)(function*(){setTimeout((0,we.Z)(function*(){if(!i.privateKeyHex||!i.publicKeyHex)return;const t=yield i.security.encryptData(i.privateKeyHex,i.password),n=yield i.security.decryptData(t,i.password);if(i.privateKeyHex==n){localStorage.setItem("blockcore:notes:nostr:prvkey",t),localStorage.setItem("blockcore:notes:nostr:pubkey",i.publicKeyHex),i.profile.npub=i.publicKey,i.profile.pubkey=i.publicKeyHex;const a=i.utilities.reduceProfile(i.profile);let l=i.dataService.createEventWithPubkey(Qi.Metadata,JSON.stringify(a),i.publicKeyHex),v=l;v.id=yield Ar(l),xa(v)||(i.error="Unable to validate the event. Cannot continue.");const T=qs(v,i.privateKeyHex);v.sig=T,i.mnemonic="",i.privateKey="",i.privateKeyHex="",i.publicKey="",i.publicKeyHex="",i.password="",i.profile=null,i.profileService.newProfileEvent=v,i.router.navigateByUrl("/")}else i.error="Unable to encrypt and decrypt. Cannot continue.",console.error(i.error)}),10)})()}updatePublicKey(){if(this.error="",this.publicKey="",this.privateKeyHex="",this.privateKey)if(this.privateKey.startsWith("npub"))this.error='The key value must be a "nsec" value. You entered "npub", which is your public key.';else{this.privateKeyHex=this.privateKey.startsWith("nsec")?gn.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=qt(this.privateKeyHex),this.publicKey=gn.npubEncode(this.publicKeyHex)}catch(i){this.error=i.message}}else this.publicKey=""}}function HS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-chip-row",5),e.NdJ("removed",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.remove(l))})("edited",function(a){const v=e.CHM(t).$implicit,T=e.oxw();return e.KtG(T.edit(v,a))}),e._uU(1),e.TgZ(2,"button",6)(3,"mat-icon"),e._uU(4,"cancel"),e.qZA()()()}if(2&r){const t=i.$implicit;e.Q6J("editable",!0)("aria-description","press enter to edit "+t),e.xp6(1),e.hij(" ",t," "),e.xp6(1),e.uIk("aria-label","remove "+t)}}S_.\u0275fac=function(i){return new(i||S_)(e.Y36(pn.dU),e.Y36(pa),e.Y36(Yn),e.Y36(Wc.$),e.Y36(de),e.Y36(Yt.F0),e.Y36(gs))},S_.\u0275cmp=e.Xpm({type:S_,selectors:[["app-create"]],decls:16,vars:4,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["routerLink","/connect"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"connect-content"],["class","card",4,"ngIf"],[1,"card"],[1,"input-full-width"],["matPrefix",""],["matInput","","type","text",3,"ngModel","ngModelChange"],["matInput","","type","text","rows","3",3,"ngModel","ngModelChange"],[1,"connect-action"],["mat-raised-button","","color","primary",1,"start-button",3,"click"],[1,"recovery-phrase"],["color","primary","mat-fab","","extended","",3,"cdkCopyToClipboard"],[1,"dimmed"],[1,"wrap"],["appearance","fill",1,"input-full-width","connect-input"],["matPrefix","",1,"circle"],["autocomplete","username","name","email","placeholder","npub...","matInput","","type","email",3,"readonly","ngModel","ngModelChange"],["matInput","","type","password","autocomplete","current-password","name","password",3,"ngModel","ngModelChange"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"a",2),e._UZ(3,"img",3),e.qZA(),e.TgZ(4,"div",4)(5,"span",5),e._uU(6,"Blockcore"),e.qZA(),e._uU(7," Notes"),e.qZA(),e._UZ(8,"div",6),e.TgZ(9,"button",7),e.NdJ("click",function(){return t.theme.darkMode=!t.theme.darkMode}),e.TgZ(10,"mat-icon",8),e._uU(11),e.qZA()()(),e.TgZ(12,"div",9),e.YNc(13,PS,44,5,"mat-card",10),e.YNc(14,BS,22,2,"mat-card",10),e.YNc(15,YS,29,4,"mat-card",10),e.qZA()()),2&i&&(e.xp6(11),e.Oqu(t.theme.darkMode?"dark_mode":"light_mode"),e.xp6(2),e.Q6J("ngIf",1==t.step),e.xp6(1),e.Q6J("ngIf",2==t.step),e.xp6(1),e.Q6J("ngIf",3==t.step))},dependencies:[F.O5,Yt.rH,io,Ca,Ba,ol,Dt.lW,Dt.RK,Dt.cs,ca,Rs,Wn,rl,ar,Sr,Nl,oa,Is,Cy],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.spaces[_ngcontent-%COMP%]{border-radius:10px;margin:1em 2em 1em 11em;padding:1.5em}.spaces-card[_ngcontent-%COMP%]{max-width:274px;border-radius:15px}.spaces-add[_ngcontent-%COMP%]{max-width:274px;border-radius:15px;box-sizing:border-box}.spaces-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}.spaces-header-image[_ngcontent-%COMP%]{background-image:url(https://material.angular.io/assets/img/examples/shiba1.jpg);background-size:cover}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%], .spaces[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%], .spaces[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}.spaces[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:1em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%], .spaces[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}.spaces-card[_ngcontent-%COMP%]{width:100%;max-width:100%}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}",".public-key[_ngcontent-%COMP%]{margin-bottom:1em;word-wrap:break-word}.error[_ngcontent-%COMP%]{margin-bottom:1em;color:red}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}.start-button[_ngcontent-%COMP%]{margin-right:.62em}.connect-action[_ngcontent-%COMP%]{text-align:right}.recovery-phrase[_ngcontent-%COMP%]{font-size:1.4em;word-spacing:.8em}"]});class I_{constructor(){this.addOnBlur=!0,this.separatorKeysCodes=[S.K5,S.OC],this.tags=[]}add(i){const t=(i.value||"").trim();t&&this.tags.push(t),i.chipInput.clear()}remove(i){const t=this.tags.indexOf(i);t>=0&&this.tags.splice(t,1)}edit(i,t){const n=t.value.trim();if(!n)return void this.remove(i);const a=this.tags.indexOf(i);a>=0&&(this.tags[a]=n)}}function US(r,i){if(1&r&&(e.TgZ(0,"mat-option",14),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.Q6J("value",t.slug),e.xp6(1),e.Oqu(t.name)}}function jS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-form-field",11)(1,"mat-label"),e._uU(2,"Existing badge designs"),e.qZA(),e.TgZ(3,"mat-select",12),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.selectedBadge=a)})("selectionChange",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.changedArticle())}),e._UZ(4,"mat-option"),e.YNc(5,US,2,2,"mat-option",13),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(3),e.Q6J("value",t.selectedBadge),e.xp6(2),e.Q6J("ngForOf",t.badgeService.editable)}}function VS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"form",15),e.NdJ("ngSubmit",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onSubmitArticle())}),e.TgZ(1,"div",16)(2,"mat-form-field",17)(3,"mat-label"),e._uU(4,"Name"),e.qZA(),e._UZ(5,"input",18,19),e.qZA(),e.TgZ(7,"mat-form-field",17)(8,"mat-label"),e._uU(9,"URL (slug)"),e.qZA(),e.TgZ(10,"input",20,19),e.NdJ("blur",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.formatSlug())}),e.qZA()(),e.TgZ(12,"mat-form-field",17)(13,"mat-label"),e._uU(14,"Description"),e.qZA(),e._UZ(15,"textarea",21),e.qZA(),e.TgZ(16,"mat-form-field",17)(17,"mat-label"),e._uU(18,"Badge Graphics (1024x1024)"),e.qZA(),e._UZ(19,"input",22,19),e.qZA(),e.TgZ(21,"mat-form-field",17)(22,"mat-label"),e._uU(23,"Badge Thumbnail"),e.qZA(),e._UZ(24,"input",23,19),e.qZA(),e._UZ(26,"app-tags",24),e.qZA(),e.TgZ(27,"div",25)(28,"button",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onCancel())}),e._uU(29,"Cancel"),e.qZA(),e._uU(30,"\xa0 "),e.TgZ(31,"button",27),e._uU(32,"Publish Badge Design"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("formGroup",t.form),e.xp6(26),e.Q6J("tags",t.badge.hashtags),e.xp6(5),e.Q6J("disabled",!t.form.valid)}}I_.\u0275fac=function(i){return new(i||I_)},I_.\u0275cmp=e.Xpm({type:I_,selectors:[["app-tags"]],inputs:{tags:"tags"},decls:7,vars:4,consts:[[1,"tags-chip-list"],["aria-label","Enter tags"],["chipGrid",""],[3,"editable","aria-description","removed","edited",4,"ngFor","ngForOf"],["placeholder","New tag...",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd"],[3,"editable","aria-description","removed","edited"],["matChipRemove",""]],template:function(i,t){if(1&i&&(e.TgZ(0,"mat-form-field",0)(1,"mat-label"),e._uU(2,"Tags"),e.qZA(),e.TgZ(3,"mat-chip-grid",1,2),e.YNc(5,HS,5,4,"mat-chip-row",3),e.TgZ(6,"input",4),e.NdJ("matChipInputTokenEnd",function(a){return t.add(a)}),e.qZA()()()),2&i){const n=e.MAs(4);e.xp6(5),e.Q6J("ngForOf",t.tags),e.xp6(1),e.Q6J("matChipInputFor",n)("matChipInputSeparatorKeyCodes",t.separatorKeysCodes)("matChipInputAddOnBlur",t.addOnBlur)}},dependencies:[F.sg,Ca,Ba,Wn,z1,G1,vh,wh],styles:[".tags-chip-list[_ngcontent-%COMP%]{width:100%}"]});class O_{constructor(i,t,n,a,l,v,T,G,z,be){this.snackBar=i,this.badgeService=t,this.queueService=n,this.utilities=a,this.appState=l,this.eventService=v,this.location=T,this.fb=G,this.navigation=z,this.profileService=be,this.form=this.fb.group({name:["",to.required],description:["",to.required],image:["",to.required],thumb:[""],slug:["",to.required]}),this.note="",this.badge={name:"",description:"",image:"",thumb:"",slug:"",hashtags:["Collectible","Membership","Recognition"]},this.title="",this.summary="",this.eventType="badge",this.dateControl=new Uc(null),this.subscriptions=[],this.selectedBadge=""}ngOnInit(){this.appState.updateTitle("Create a badge design"),this.appState.showBackButton=!0,this.appState.showLogo=!0,this.appState.actions=[],this.minDate=Date.now(),this.form.valueChanges.subscribe(i=>{this.updateBadge()}),this.queueService.enque(this.appState.getPublicKey(),"BadgeDefinition"),this.subscriptions.push(this.form.controls.name.valueChanges.subscribe(i=>{i&&this.form.controls.slug.setValue(this.createSlug(i))})),this.badgeService.selectedBadge&&(this.selectedBadge=this.badgeService.selectedBadge.slug,this.changedArticle(),this.badgeService.selectedBadge=void 0)}changedArticle(){let i=this.badgeService.selectedBadge||this.badgeService.getDefinition(this.selectedBadge);if(!i)return this.form.reset(),void(this.badge.hashtags=["Collectible","Membership","Recognition"]);null==i.name&&(i.name=""),null==i.image&&(i.image=""),null==i.thumb&&(i.thumb=""),null==i.description&&(i.description=""),this.form.setValue({name:i.name,description:i.description,image:i.image,thumb:i.thumb,slug:i.slug?i.slug:""}),this.updateBadge(i)}updateBadge(i){this.badge.name=this.form.controls.name.value,this.badge.description=this.form.controls.description.value,this.badge.slug=this.form.controls.slug.value,this.badge.image=this.form.controls.image.value,this.badge.thumb=this.form.controls.thumb.value,i&&(this.badge.hashtags=this.eventService.hashTags(i))}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}noteTypeChanged(){"badge"==this.eventType&&this.queueService.enque(this.appState.getPublicKey(),"BadgeDefinition")}createSlug(i){return(i=(i=i.toLowerCase()).replace(/[\s\W]+/g,"-")).replace(/^-+|-+$/g,"")}formatSlug(){this.form.controls.slug.setValue(this.createSlug(this.form.controls.slug.value))}onSubmitArticle(){var i=this;return(0,we.Z)(function*(){const t=i.form.controls,n={name:t.name.value,description:t.description.value,image:t.image.value,thumb:t.thumb.value,slug:t.slug.value,hashtags:i.badge.hashtags};yield i.navigation.saveBadgeDefinition(n),i.snackBar.open("Badge design was published. Notes does not support viewing badge designs yet.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"})})()}onCancel(){this.note="",this.location.back()}}function ZS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"p")(1,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.showIssuing=!a.showIssuing)}),e._uU(2,"ISSUE BADGE"),e.qZA(),e.TgZ(3,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2);return e.KtG(l.edit(a))}),e._uU(4,"EDIT"),e.qZA()()}}function zS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"mat-form-field",9)(2,"mat-label"),e._uU(3,"Pub Key (hex format only, line separated, add relay comma separated at the end)"),e.qZA(),e.TgZ(4,"textarea",10),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.pubkeys=a)}),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"button",11),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2);return e.KtG(l.issueBadge(a))}),e._uU(7,"Publish Badge Reward"),e.qZA()()}if(2&r){const t=e.oxw(3);e.xp6(4),e.Q6J("ngModel",t.pubkeys),e.xp6(2),e.Q6J("disabled",0==t.pubkeys.length)}}function GS(r,i){if(1&r&&(e.TgZ(0,"app-badge-card",4),e._uU(1," Created by:\xa0"),e._UZ(2,"app-profile-name",5)(3,"br"),e._uU(4," Last updated: "),e._UZ(5,"app-date",6),e.YNc(6,ZS,5,0,"p",7),e.YNc(7,zS,8,2,"div",7),e.qZA()),2&r){const t=i.$implicit,n=e.oxw(2);e.Q6J("badge",t),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(3),e.Q6J("date",t.created_at),e.xp6(1),e.Q6J("ngIf",n.appState.getPublicKey()==t.pubkey),e.xp6(1),e.Q6J("ngIf",n.showIssuing)}}function WS(r,i){if(1&r&&(e.TgZ(0,"div",2),e.YNc(1,GS,8,5,"app-badge-card",3),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.sub.events)}}O_.\u0275fac=function(i){return new(i||O_)(e.Y36(no.ux),e.Y36(rs),e.Y36(Br),e.Y36(pn.dU),e.Y36(Oe.i),e.Y36(Zr),e.Y36(F.Ye),e.Y36(Op),e.Y36(za),e.Y36(Yn))},O_.\u0275cmp=e.Xpm({type:O_,selectors:[["app-editor"]],decls:14,vars:5,consts:[[1,"split-page"],[1,"primary-page"],[1,"note-type"],["name","fontStyle","aria-label","Font Style",3,"ngModel","change","ngModelChange"],["group","matButtonToggleGroup"],["value","badge"],["appearance","fill",4,"ngIf"],[3,"formGroup","ngSubmit",4,"ngIf"],[1,"secondary-page"],[1,"marginless"],[3,"badge","preview"],["appearance","fill"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"formGroup","ngSubmit"],["mat-dialog-content","",1,"mat-dialog-content"],[1,"input-full-width"],["matInput","","formControlName","name","placeholder","Ex. Medal of Bravery..."],["message",""],["matInput","","placeholder","Ex. bravery (Can only contain - and lower case text)","formControlName","slug",3,"blur"],["appAutoInputHeight","","matInput","","type","text","formControlName","description","rows","2",1,"note-input"],["matInput","","placeholder","Article banner image","formControlName","image"],["matInput","","placeholder","Article banner image","formControlName","thumb"],[3,"tags"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"],["mat-stroked-button","","type","button",3,"click"],["mat-flat-button","","type","submit","color","primary",3,"disabled"]],template:function(i,t){if(1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-button-toggle-group",3,4),e.NdJ("change",function(){return t.noteTypeChanged()})("ngModelChange",function(a){return t.eventType=a}),e.TgZ(5,"mat-button-toggle",5),e._uU(6,"Badge"),e.qZA()()(),e.YNc(7,jS,6,2,"mat-form-field",6),e.YNc(8,VS,33,3,"form",7),e.qZA(),e.TgZ(9,"div",8)(10,"h2",9),e._uU(11,"Badge Design Preview"),e.qZA(),e._UZ(12,"br")(13,"app-badge-card",10),e.qZA()()),2&i){const n=e.MAs(4);e.xp6(3),e.Q6J("ngModel",t.eventType),e.xp6(4),e.Q6J("ngIf","badge"==n.value),e.xp6(1),e.Q6J("ngIf","badge"==n.value),e.xp6(5),e.Q6J("badge",t.badge)("preview",!0)}},dependencies:[F.sg,F.O5,io,Ca,Ba,Dt.lW,Ph,ae.ey,rl,ar,Sr,Nl,oa,os,Ed,yt,Bi,nC,rC,Vh,Zh,I_],styles:["h1[_ngcontent-%COMP%]{margin-top:0}.input-full-width[_ngcontent-%COMP%]{width:100%!important}.toolbar[_ngcontent-%COMP%]{display:flex;margin-bottom:5px;margin-top:3px}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.margin-right[_ngcontent-%COMP%]{margin-right:5px}.picker[_ngcontent-%COMP%]{display:block;position:fixed;z-index:3}.note-type[_ngcontent-%COMP%]{text-align:right;margin-bottom:1em}@media only screen and (max-width: 599px){h1[_ngcontent-%COMP%]{font-size:1.8em}}.text-editor[_ngcontent-%COMP%]{border:1px lightgrey solid;min-height:88px;padding:1em}"]});class Bf{constructor(i,t,n,a,l,v,T,G){this.snackBar=i,this.relayService=t,this.badgeService=n,this.appState=a,this.activatedRoute=l,this.router=v,this.navigation=T,this.utilities=G,this.showIssuing=!1,this.pubkeys="",this.subscriptions=[]}ngOnDestroy(){this.relayService.unsubscribe(this.sub.id),this.utilities.unsubscribe(this.subscriptions)}edit(i){this.badgeService.selectedBadge=i,this.router.navigateByUrl("/editor/badges")}issueBadge(i){var t=this;return(0,we.Z)(function*(){const n=t.pubkeys.split(/\r?\n/),a=[];for(let l=0;ly.e(22).then(y.bind(y,6022)).then(r=>r.AboutModule)},{path:"about/licenses",component:AT.d,canActivate:[Hn.P],resolve:{data:Yr.T}},{path:"settings",component:wu,canActivate:[Hn.P],resolve:{data:Yr.T}},{path:"relays",component:E_,canActivate:[Hn.P],resolve:{data:Yr.T}},{path:"development",component:w_,canActivate:[Hn.P],resolve:{data:Yr.T}},{path:"queue",component:__,canActivate:[Hn.P],resolve:{data:Yr.T}},{path:"logout",component:Ah}];class Yf{}Yf.\u0275fac=function(i){return new(i||Yf)},Yf.\u0275mod=e.oAB({type:Yf}),Yf.\u0275inj=e.cJS({imports:[Yt.Bz.forRoot(qS,{scrollOffset:[0,0],scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}),Yt.Bz]});var MM=y(1781);class QS{constructor(){this.prefix="web+nostr:"}removeHandler(i){return i.indexOf("://")>-1?i.substring(i.indexOf("://")+3):i}decode(i){if(!i.startsWith(this.prefix))throw new Error("Invalid Nostr URI: "+i);var t=i.slice(this.prefix.length,i.indexOf(":",this.prefix.length)).toLowerCase(),a=i.slice(this.prefix.length+t.length+1).split("?"),l=a[0];let v;return l.indexOf("/")>-1&&(l=l.substring(0,l.length-1)),a.length>1&&(v=MM.parse(a[1])),{address:l,scheme:t,options:v}}transform(i){const t=i.address,n=i.scheme,a=i;return delete a.address,delete a.scheme,{address:t,scheme:n,options:a}}encode(i){var t=MM.stringify(i.options);return i.scheme+":"+i.address+(t?"?":"")+t}}const Mu=new lh.y(gg.Z);var JS=y(4033),EM=y(576);const $S={connector:()=>new D.x};function AM(r,i=$S){const{connector:t}=i;return(0,md.e)((n,a)=>{const l=t();(0,ps.Xf)(r(function KS(r){return new lh.y(i=>r.subscribe(i))}(l))).subscribe(a),a.add(n.subscribe(l))})}const L_="Service workers are disabled or not supported by this browser";class iv{constructor(i){if(this.serviceWorker=i,i){const n=(0,wl.R)(i,"controllerchange").pipe((0,Cr.U)(()=>i.controller)),a=(0,P.P)(()=>(0,U.of)(i.controller)),l=(0,pg.z)(a,n);this.worker=l.pipe((0,Je.h)(be=>!!be)),this.registration=this.worker.pipe((0,Vo.w)(()=>i.getRegistration()));const z=(0,wl.R)(i,"message").pipe((0,Cr.U)(be=>be.data)).pipe((0,Je.h)(be=>be&&be.type)).pipe(function eI(r){return r?i=>AM(r)(i):i=>function XS(r,i){const t=(0,EM.m)(r)?r:()=>r;return(0,EM.m)(i)?AM(i,{connector:t}):n=>new JS.c(n,t)}(new D.x)(i)}());z.connect(),this.events=z}else this.worker=this.events=this.registration=function tI(r){return(0,P.P)(()=>(0,oc._)(new Error(r)))}(L_)}postMessage(i,t){return this.worker.pipe((0,Ie.q)(1),(0,uc.b)(n=>{n.postMessage({action:i,...t})})).toPromise().then(()=>{})}postMessageWithOperation(i,t,n){const a=this.waitForOperationCompleted(n),l=this.postMessage(i,t);return Promise.all([l,a]).then(([,v])=>v)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(i){let t;return t="string"==typeof i?n=>n.type===i:n=>i.includes(n.type),this.events.pipe((0,Je.h)(t))}nextEventOfType(i){return this.eventsOfType(i).pipe((0,Ie.q)(1))}waitForOperationCompleted(i){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Je.h)(t=>t.nonce===i),(0,Ie.q)(1),(0,Cr.U)(t=>{if(void 0!==t.result)return t.result;throw new Error(t.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let iI=(()=>{class r{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,this.pushManager=null,this.subscriptionChanges=new D.x,!t.isEnabled)return this.messages=Mu,this.notificationClicks=Mu,void(this.subscription=Mu);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Cr.U)(a=>a.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Cr.U)(a=>a.data)),this.pushManager=this.sw.registration.pipe((0,Cr.U)(a=>a.pushManager));const n=this.pushManager.pipe((0,Vo.w)(a=>a.getSubscription()));this.subscription=(0,Ue.T)(n,this.subscriptionChanges)}requestSubscription(t){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(L_));const n={userVisibleOnly:!0};let a=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),l=new Uint8Array(new ArrayBuffer(a.length));for(let v=0;vv.subscribe(n)),(0,Ie.q)(1)).toPromise().then(v=>(this.subscriptionChanges.next(v),v))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Ie.q)(1),(0,Vo.w)(n=>{if(null===n)throw new Error("Not subscribed to push notifications.");return n.unsubscribe().then(a=>{if(!a)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(L_))}decodeBase64(t){return atob(t)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(iv))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),aC=(()=>{class r{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,!t.isEnabled)return this.versionUpdates=Mu,this.available=Mu,this.activated=Mu,void(this.unrecoverable=Mu);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,Je.h)(n=>"VERSION_READY"===n.type),(0,Cr.U)(n=>({type:"UPDATE_AVAILABLE",current:n.currentVersion,available:n.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(L_));const t=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:t},t)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(L_));const t=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:t},t)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(iv))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();class oC{}const TM=new e.OlP("NGSW_REGISTER_SCRIPT");function nI(r,i,t,n){return()=>{if(!(0,F.NF)(n)||!("serviceWorker"in navigator)||!1===t.enabled)return;let a;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof t.registrationStrategy)a=t.registrationStrategy();else{const[v,...T]=(t.registrationStrategy||"registerWhenStable:30000").split(":");switch(v){case"registerImmediately":a=(0,U.of)(null);break;case"registerWithDelay":a=SM(+T[0]||0);break;case"registerWhenStable":a=T[0]?(0,Ue.T)(IM(r),SM(+T[0])):IM(r);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${t.registrationStrategy}`)}}r.get(e.R0b).runOutsideAngular(()=>a.pipe((0,Ie.q)(1)).subscribe(()=>navigator.serviceWorker.register(i,{scope:t.scope}).catch(v=>console.error("Service worker registration failed with:",v))))}}function SM(r){return(0,U.of)(null).pipe(uf(r))}function IM(r){return r.get(e.z2F).isStable.pipe((0,Je.h)(t=>t))}function rI(r,i){return new iv((0,F.NF)(i)&&!1!==r.enabled?navigator.serviceWorker:void 0)}let aI=(()=>{class r{static register(t,n={}){return{ngModule:r,providers:[{provide:TM,useValue:t},{provide:oC,useValue:n},{provide:iv,useFactory:rI,deps:[oC,e.Lbi]},{provide:e.ip1,useFactory:nI,deps:[e.zs3,TM,oC,e.Lbi],multi:!0}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[iI,aC]}),r})();class zh{constructor(i,t){this.updates=i,this.snackBar=t,this.updateClient()}updateClient(){this.updates.versionUpdates.subscribe(i=>{switch(i.type){case"VERSION_DETECTED":console.log(`Downloading new app version: ${i.version.hash}`);break;case"VERSION_READY":console.log(`Current app version: ${i.currentVersion.hash}`),console.log(`New app version ready for use: ${i.latestVersion.hash}`),this.doAppUpdate();break;case"VERSION_INSTALLATION_FAILED":console.log(`Failed to install app version '${i.version.hash}': ${i.error}`)}})}showAppUpdateAlert(){this.snackBar.open("App Update available!","Update",{horizontalPosition:"center",verticalPosition:"bottom"}).onAction().subscribe(()=>{this.doAppUpdate()})}doAppUpdate(){this.updates.activateUpdate().then(()=>document.location.reload())}}zh.\u0275fac=function(i){return new(i||zh)(e.LFG(aC),e.LFG(no.ux))},zh.\u0275prov=e.Yz7({token:zh,factory:zh.\u0275fac,providedIn:"root"});var sI=y(590);class Gh{constructor(i,t){if(!(0,e.X6Q)()){const n=i.isStable.pipe((0,sI.P)(v=>!0===v)),a=function oI(r=0,i=bc.z){return r<0&&(r=0),(0,el.H)(r,r,i)}(216e5);(0,pg.z)(n,a).subscribe((0,we.Z)(function*(){try{const v=yield t.checkForUpdate();console.log(v?"A new version is available.":"Already on the latest version.")}catch(v){console.error("Failed to check for updates:",v)}}))}}}Gh.\u0275fac=function(i){return new(i||Gh)(e.LFG(e.z2F),e.LFG(aC))},Gh.\u0275prov=e.Yz7({token:Gh,factory:Gh.\u0275fac});class Hf{constructor(i,t,n){this.router=i,this.appState=t,this.profileService=n,this.resultsChanged=new Ne.X(null),this.results$=this.resultsChanged.asObservable()}search(i){var t=this;return(0,we.Z)(function*(){if(i)if(console.log("Searching for: ",i),i.startsWith("npub")){const n=gn.decode(i);t.resetSearch(),t.router.navigate(["/p",n.data])}else if(i.startsWith("nevent")){const n=gn.decode(i);t.resetSearch(),t.router.navigate(["/p",n.data])}else{const n=yield t.profileService.search(i.toLowerCase());t.updateResults(n),n||(t.resetSearch(),t.router.navigate(["/p",i]))}})()}updateResults(i){this.resultsChanged.next(i)}open(i){console.log("SELECTED:",i),i&&(this.resetSearch(),this.router.navigate(["/p",i.pubkey]))}resetSearch(){this.appState.searchText="",this.appState.showSearch=!1}}Hf.\u0275fac=function(i){return new(i||Hf)(e.LFG(Yt.F0),e.LFG(Oe.i),e.LFG(Yn))},Hf.\u0275prov=e.Yz7({token:Hf,factory:Hf.\u0275fac,providedIn:"root"});const lI=["panel"];function cI(r,i){if(1&r&&(e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA()),2&r){const t=i.id,n=e.oxw();e.Q6J("id",n.id)("ngClass",n._classList)("@panelAnimation",n.isOpen?"visible":"hidden"),e.uIk("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(t))}}const dI=["*"],uI=(0,Ce.X$)("panelAnimation",[(0,Ce.SB)("void, hidden",(0,Ce.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,Ce.eR)(":enter, hidden => visible",[(0,Ce.ru)([(0,Ce.jt)("0.03s linear",(0,Ce.oB)({opacity:1})),(0,Ce.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,Ce.oB)({transform:"scaleY(1)"}))])]),(0,Ce.eR)(":leave, visible => hidden",[(0,Ce.jt)("0.075s linear",(0,Ce.oB)({opacity:0}))])]);let hI=0;class mI{constructor(i,t){this.source=i,this.option=t}}const fI=(0,ae.Kr)(class{}),OM=new e.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function pI(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let gI=(()=>{class r extends fI{get isOpen(){return this._isOpen&&this.showPanel}_setColor(t){this._color=t,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=(0,st.Ig)(t)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(t){this._autoSelectActiveOption=(0,st.Ig)(t)}set classList(t){this._classList=t&&t.length?(0,st.du)(t).reduce((n,a)=>(n[a]=!0,n),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(t,n,a,l){super(),this._changeDetectorRef=t,this._elementRef=n,this._defaults=a,this._activeOptionChanges=mo.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this._autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this._autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.optionSelected=new e.vpe,this.opened=new e.vpe,this.closed=new e.vpe,this.optionActivated=new e.vpe,this._classList={},this.id="mat-autocomplete-"+hI++,this.inertGroups=l?.SAFARI||!1}ngAfterContentInit(){this._keyManager=new g.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const n=new mI(this,t);this.optionSelected.emit(n)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}_setThemeClasses(t){t["mat-primary"]="primary"===this._color,t["mat-warn"]="warn"===this._color,t["mat-accent"]="accent"===this._color}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(OM),e.Y36(x.t4))},r.\u0275dir=e.lG2({type:r,viewQuery:function(t,n){if(1&t&&(e.Gf(e.Rgc,7),e.Gf(lI,5)),2&t){let a;e.iGM(a=e.CRH())&&(n.template=a.first),e.iGM(a=e.CRH())&&(n.panel=a.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[e.qOj]}),r})(),_I=(()=>{class r extends gI{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=(0,st.Ig)(t),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const t of this.options)t._changeDetectorRef.markForCheck()}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-autocomplete"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,ae.K7,5),e.Suo(a,ae.ey,5)),2&t){let l;e.iGM(l=e.CRH())&&(n.optionGroups=l),e.iGM(l=e.CRH())&&(n.options=l)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[e._Bn([{provide:ae.HF,useExisting:r}]),e.qOj],ngContentSelectors:dI,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(t,n){1&t&&(e.F$t(),e.YNc(0,cI,3,5,"ng-template"))},dependencies:[F.mk],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[uI]},changeDetection:0}),r})();const bI={provide:fa,useExisting:(0,e.Gpc)(()=>NM),multi:!0},LM=new e.OlP("mat-autocomplete-scroll-strategy"),vI={provide:LM,deps:[_.aV],useFactory:function yI(r){return()=>r.scrollStrategies.reposition()}};let wI=(()=>{class r{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=(0,st.Ig)(t)}constructor(t,n,a,l,v,T,G,z,be,Ve,bt){this._element=t,this._overlay=n,this._viewContainerRef=a,this._zone=l,this._changeDetectorRef=v,this._dir=G,this._formField=z,this._document=be,this._viewportRuler=Ve,this._defaults=bt,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=mo.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new D.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,P.P)(()=>{const Pt=this.autocomplete?this.autocomplete.options:null;return Pt?Pt.changes.pipe((0,L.O)(Pt),(0,Vo.w)(()=>(0,Ue.T)(...Pt.map(Gt=>Gt.onSelectionChange)))):this._zone.onStable.pipe((0,Ie.q)(1),(0,Vo.w)(()=>this.optionSelections))}),this._scrollStrategy=T}ngAfterViewInit(){const t=this._getWindow();typeof t<"u"&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const t=this._getWindow();typeof t<"u"&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,Ue.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Je.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Je.h)(()=>this._overlayAttached)):(0,U.of)()).pipe((0,Cr.U)(t=>t instanceof ae.rN?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Ue.T)((0,wl.R)(this._document,"click"),(0,wl.R)(this._document,"auxclick"),(0,wl.R)(this._document,"touchend")).pipe((0,Je.h)(t=>{const n=(0,x.sA)(t),a=this._formField?this._formField._elementRef.nativeElement:null,l=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&n!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!a||!a.contains(n))&&(!l||!l.contains(n))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(n)}))}writeValue(t){Promise.resolve(null).then(()=>this._assignOptionValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const n=t.keyCode,a=(0,S.Vb)(t);if(n===S.hY&&!a&&t.preventDefault(),this.activeOption&&n===S.K5&&this.panelOpen&&!a)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const l=this.autocomplete._keyManager.activeItem,v=n===S.LH||n===S.JH;n===S.Mf||v&&!a&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):v&&this._canOpen()&&this.openPanel(),(v||this.autocomplete._keyManager.activeItem!==l)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(t){let n=t.target,a=n.value;"number"===n.type&&(a=""==a?null:parseFloat(a)),this._previousValue!==a&&(this._previousValue=a,this._pendingAutoselectedOption=null,this._onChange(a),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=this._zone.onStable.pipe((0,Ie.q)(1)),n=this.autocomplete.options.changes.pipe((0,uc.b)(()=>this._positionStrategy.reapplyLastPosition()),uf(0));return(0,Ue.T)(t,n).pipe((0,Vo.w)(()=>(this._zone.run(()=>{const a=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),a!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,Ie.q)(1)).subscribe(a=>this._setValueAndClose(a))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(t){const n=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t;this._updateNativeInputValue(n??"")}_updateNativeInputValue(t){this._formField?this._formField._control.value=t:this._element.nativeElement.value=t,this._previousValue=t}_setValueAndClose(t){const n=t?t.source:this._pendingAutoselectedOption;n&&(this._clearPreviousSelectedOption(n),this._assignOptionValue(n.value),this._onChange(n.value),this.autocomplete._emitSelectEvent(n),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(n=>{n!==t&&n.selected&&n.deselect()})}_attachOverlay(){let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new k.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,this._handleOverlayEvents(t),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})})),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new _.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],a=this._aboveClass,l=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:a},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:a}];let v;v="above"===this.position?l:"below"===this.position?n:[...n,...l],t.withPositions(v)}_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 t=this.autocomplete;t.autoActiveFirstOption?t._keyManager.setFirstItemActive():t._keyManager.setActiveItem(-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(t){const n=this.autocomplete,a=(0,ae.CB)(t,n.options,n.optionGroups);if(0===t&&1===a)n._setScrollTop(0);else if(n.panel){const l=n.options.toArray()[t];if(l){const v=l._getHostElement(),T=(0,ae.jH)(v.offsetTop,v.offsetHeight,n._getScrollTop(),n.panel.nativeElement.offsetHeight);n._setScrollTop(T)}}}_handleOverlayEvents(t){t.keydownEvents().subscribe(n=>{(n.keyCode===S.hY&&!(0,S.Vb)(n)||n.keyCode===S.LH&&(0,S.Vb)(n,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),n.stopPropagation(),n.preventDefault())}),t.outsidePointerEvents().subscribe()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(_.aV),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(LM),e.Y36(I.Is,8),e.Y36(Id,9),e.Y36(F.K0,8),e.Y36(kr.rL),e.Y36(OM,8))},r.\u0275dir=e.lG2({type:r,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[e.TTD]}),r})(),NM=(()=>{class r extends wI{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return r.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(t,n){1&t&&e.NdJ("focusin",function(){return n._handleFocus()})("blur",function(){return n._onTouched()})("input",function(l){return n._handleInput(l)})("keydown",function(l){return n._handleKeydown(l)})("click",function(){return n._handleClick()}),2&t&&e.uIk("autocomplete",n.autocompleteAttribute)("role",n.autocompleteDisabled?null:"combobox")("aria-autocomplete",n.autocompleteDisabled?null:"list")("aria-activedescendant",n.panelOpen&&n.activeOption?n.activeOption.id:null)("aria-expanded",n.autocompleteDisabled?null:n.panelOpen.toString())("aria-owns",n.autocompleteDisabled||!n.panelOpen||null==n.autocomplete?null:n.autocomplete.id)("aria-haspopup",n.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[e._Bn([bI]),e.qOj]}),r})(),xI=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[vI],imports:[_.U8,ae.Ng,ae.BQ,F.ez,kr.ZD,ae.Ng,ae.BQ]}),r})();class Eu{constructor(i){this.utilities=i}transform(i){return i?Eu.time(i):"00:00:00"}static time(i){var t=Math.floor(i/60/60),n=Math.floor(i/60)-60*t,a=i%60;return t.toString().padStart(2,"0")+":"+n.toString().padStart(2,"0")+":"+a.toString().padStart(2,"0")}}Eu.\u0275fac=function(i){return new(i||Eu)(e.Y36(pn.dU,16))},Eu.\u0275pipe=e.Yjl({name:"time",type:Eu,pure:!0});const FI=["knob"],CI=["valueIndicatorContainer"];function kI(r,i){if(1&r&&(e.TgZ(0,"div",4,5)(2,"div",6)(3,"span",7),e._uU(4),e.qZA()()()),2&r){const t=e.oxw();e.xp6(4),e.Oqu(t.valueIndicatorText)}}const DI=["trackActive"];function MI(r,i){if(1&r&&e._UZ(0,"div"),2&r){const t=i.$implicit,n=i.index,a=e.oxw(3);e.Tol(0===t?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),e.Udp("transform",a._calcTickMarkTransform(n))}}function EI(r,i){if(1&r&&(e.ynx(0),e.YNc(1,MI,1,4,"div",11),e.BQk()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t._tickMarks)}}function AI(r,i){if(1&r&&(e.TgZ(0,"div",8,9),e.YNc(2,EI,2,1,"ng-container",10),e.qZA()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",t._cachedWidth)}}function TI(r,i){if(1&r&&e._UZ(0,"mat-slider-visual-thumb",7),2&r){const t=e.oxw();e.Q6J("discrete",t.discrete)("thumbPosition",1)("valueIndicatorText",t.startValueIndicatorText)}}const SI=["*"],nv=new e.OlP("_MatSlider"),RM=new e.OlP("_MatSliderThumb"),PM=new e.OlP("_MatSliderRangeThumb"),BM=new e.OlP("_MatSliderVisualThumb");let II=(()=>{class r{constructor(t,n,a,l){this._cdr=t,this._ngZone=n,this._slider=l,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=v=>{if(this._sliderInput._isFocused)return;const T=this._hostElement.getBoundingClientRect(),G=this._isSliderThumbHovered(v,T);this._isHovered=G,G?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=()=>{this._isActive=!0,this._showActiveRipple()},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=a.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const t=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{t.addEventListener("pointermove",this._onPointerMove),t.addEventListener("pointerdown",this._onDragStart),t.addEventListener("pointerup",this._onDragEnd),t.addEventListener("pointerleave",this._onMouseLeave),t.addEventListener("focus",this._onFocus),t.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const t=this._sliderInputEl;t.removeEventListener("pointermove",this._onPointerMove),t.removeEventListener("pointerdown",this._onDragStart),t.removeEventListener("pointerup",this._onDragEnd),t.removeEventListener("pointerleave",this._onMouseLeave),t.removeEventListener("focus",this._onFocus),t.removeEventListener("blur",this._onBlur)}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(t){return 0===t?.state||1===t?.state}_showRipple(t,n){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||n))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:t,centered:!0,persistent:!0})}_hideRipple(t){if(t?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const n=this._getSibling();n._isShowingAnyRipple()||(this._hideValueIndicator(),n._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(1===this.thumbPosition?2:1)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}_isSliderThumbHovered(t,n){const a=n.width/2,G=t.clientY-(n.y+a);return Math.pow(t.clientX-(n.x+a),2)+Math.pow(G,2){class r extends OI{get disabled(){return this._disabled}set disabled(t){this._disabled=(0,st.Ig)(t);const n=this._getInput(2),a=this._getInput(1);n&&(n.disabled=this._disabled),a&&(a.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(t){this._discrete=(0,st.Ig)(t),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(t){this._showTickMarks=(0,st.Ig)(t)}get min(){return this._min}set min(t){const n=(0,st.su)(t,this._min);this._min!==n&&this._updateMin(n)}_updateMin(t){const n=this._min;this._min=t,this._isRange?this._updateMinRange({old:n,new:t}):this._updateMinNonRange(t),this._onMinMaxOrStepChange()}_updateMinRange(t){const n=this._getInput(2),a=this._getInput(1),l=n.value,v=a.value;a.min=t.new,n.min=Math.max(t.new,a.value),a.max=Math.min(n.max,n.value),a._updateWidthInactive(),n._updateWidthInactive(),t.newt.old?this._onTranslateXChangeBySideEffect(a,n):this._onTranslateXChangeBySideEffect(n,a),l!==n.value&&this._onValueChange(n),v!==a.value&&this._onValueChange(a)}_updateMaxNonRange(t){const n=this._getInput(2);if(n){const a=n.value;n.max=t,n._updateThumbUIByValue(),this._updateTrackUI(n),a!==n.value&&this._onValueChange(n)}}get step(){return this._step}set step(t){const n=(0,st.su)(t,this._step);this._step!==n&&this._updateStep(n)}_updateStep(t){this._step=t,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const t=this._getInput(2),n=this._getInput(1),a=t.value,l=n.value,v=n.value;t.min=this._min,n.max=this._max,t.step=this._step,n.step=this._step,this._platform.SAFARI&&(t.value=t.value,n.value=n.value),t.min=Math.max(this._min,n.value),n.max=Math.min(this._max,t.value),n._updateWidthInactive(),t._updateWidthInactive(),t.value`${z}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===G,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const t=this._getInput(2),n=this._getInput(1);this._isRange=!!t&&!!n,this._cdr.detectChanges();const a=this._getThumb(2);this._rippleRadius=a._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(t,n):this._initUINonRange(t),this._updateTrackUI(t),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(t){t.initProps(),t.initUI(),this._updateValueIndicatorUI(t),this._hasViewInitialized=!0,t._updateThumbUIByValue()}_initUIRange(t,n){t.initProps(),t.initUI(),n.initProps(),n.initUI(),t._updateMinMax(),n._updateMinMax(),t._updateStaticStyles(),n._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,t._updateThumbUIByValue(),n._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const t=this._getInput(2),n=this._getInput(1);t._setIsLeftThumb(),n._setIsLeftThumb(),t.translateX=t._calcTranslateXByValue(),n.translateX=n._calcTranslateXByValue(),t._updateStaticStyles(),n._updateStaticStyles(),t._updateWidthInactive(),n._updateWidthInactive(),t._updateThumbUIByValue(),n._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive}_getValue(t=2){const n=this._getInput(t);return n?n.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(t){const n=this._trackActive.nativeElement.style,a=t.left!==n.left&&t.right!==n.right;n.left=t.left,n.right=t.right,n.transformOrigin=t.transformOrigin,a?(this._elementRef.nativeElement.classList.add("mat-mdc-slider-disable-track-animation"),this._ngZone.onStable.pipe((0,Ie.q)(1)).subscribe(()=>{this._elementRef.nativeElement.classList.remove("mat-mdc-slider-disable-track-animation"),n.transform=t.transform})):n.transform=t.transform}_calcTickMarkTransform(t){return`translateX(${t*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(t){this._hasViewInitialized&&(this._updateThumbUI(t),this._updateTrackUI(t),this._updateOverlappingThumbUI(t))}_onTranslateXChangeBySideEffect(t,n){this._hasViewInitialized&&(t._updateThumbUIByValue(),n._updateThumbUIByValue())}_onValueChange(t){this._hasViewInitialized&&(this._updateValueIndicatorUI(t),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const t=this._getInput(2),n=this._getInput(1);t._updateThumbUIByValue(),n._updateThumbUIByValue(),t._updateStaticStyles(),n._updateStaticStyles(),t._updateMinMax(),n._updateMinMax(),t._updateWidthInactive(),n._updateWidthInactive()}else{const t=this._getInput(2);t&&t._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const t=this._getInput(1),n=this._getInput(2);return!(!t||!n)&&n.translateX-t.translateX<20}_updateOverlappingThumbClassNames(t){const n=t.getSibling(),a=this._getThumb(t.thumbPosition);this._getThumb(n.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),a._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(t){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(t))}_updateThumbUI(t){this._skipUpdate()||(this._getThumb(2===t.thumbPosition?2:1)._hostElement.style.transform=`translateX(${t.translateX}px)`)}_updateValueIndicatorUI(t){if(this._skipUpdate())return;const n=this.displayWith(t.value);if(this._hasViewInitialized?t._valuetext=n:t._hostElement.setAttribute("aria-valuetext",n),this.discrete){1===t.thumbPosition?this.startValueIndicatorText=n:this.endValueIndicatorText=n;const a=this._getThumb(t.thumbPosition);n.length<3?a._hostElement.classList.add("mdc-slider__thumb--short-value"):a._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const t=this._getInput(2),n=this._getInput(1);t&&this._updateValueIndicatorUI(t),n&&this._updateValueIndicatorUI(n)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const t=this._step&&this._step>0?this._step:1,a=(Math.floor(this.max/t)*t-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*a-6}_updateTrackUI(t){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(t):this._updateTrackUINonRange(t))}_updateTrackUIRange(t){const n=t.getSibling();if(!n||!this._cachedWidth)return;const a=Math.abs(n.translateX-t.translateX)/this._cachedWidth;this._setTrackActiveStyles(t._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-n.translateX+"px",transformOrigin:"right",transform:`scaleX(${a})`}:{left:`${n.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${a})`})}_updateTrackUINonRange(t){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-t.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${t.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const t=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(t):this._updateTickMarkUINonRange(t),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(t){const n=this._getValue();let a=Math.max(Math.round((n-this.min)/t),0),l=Math.max(Math.round((this.max-n)/t),0);this._isRtl?a++:l++,this._tickMarks=Array(a).fill(0).concat(Array(l).fill(1))}_updateTickMarkUIRange(t){const n=this._getValue(),a=this._getValue(1),l=Math.max(Math.floor((a-this.min)/t),0),v=Math.max(Math.floor((n-a)/t)+1,0),T=Math.max(Math.floor((this.max-n)/t),0);this._tickMarks=Array(l).fill(1).concat(Array(v).fill(0),Array(T).fill(1))}_getInput(t){return 2===t&&this._input?this._input:this._inputs?.length?1===t?this._inputs.first:this._inputs.last:void 0}_getThumb(t){return 2===t?this._thumbs?.last:this._thumbs?.first}_setTransition(t){this._hasAnimation=t&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(x.t4),e.Y36(e.SBq),e.Y36(I.Is,8),e.Y36(ae.Y2,8),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-slider"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,RM,5),e.Suo(a,PM,4)),2&t){let l;e.iGM(l=e.CRH())&&(n._input=l.first),e.iGM(l=e.CRH())&&(n._inputs=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(DI,5),e.Gf(BM,5)),2&t){let a;e.iGM(a=e.CRH())&&(n._trackActive=a.first),e.iGM(a=e.CRH())&&(n._thumbs=a)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:10,hostBindings:function(t,n){2&t&&e.ekj("mdc-slider--range",n._isRange)("mdc-slider--disabled",n.disabled)("mdc-slider--discrete",n.discrete)("mdc-slider--tick-marks",n.showTickMarks)("_mat-animation-noopable",n._noopAnimations)},inputs:{color:"color",disableRipple:"disableRipple",disabled:"disabled",discrete:"discrete",showTickMarks:"showTickMarks",min:"min",max:"max",step:"step",displayWith:"displayWith"},exportAs:["matSlider"],features:[e._Bn([{provide:nv,useExisting:r}]),e.qOj],ngContentSelectors:SI,decls:9,vars:5,consts:[[1,"mdc-slider__track"],[1,"mdc-slider__track--inactive"],[1,"mdc-slider__track--active"],[1,"mdc-slider__track--active_fill"],["trackActive",""],["class","mdc-slider__tick-marks",4,"ngIf"],[3,"discrete","thumbPosition","valueIndicatorText",4,"ngIf"],[3,"discrete","thumbPosition","valueIndicatorText"],[1,"mdc-slider__tick-marks"],["tickMarkContainer",""],[4,"ngIf"],[3,"class","transform",4,"ngFor","ngForOf"]],template:function(t,n){1&t&&(e.F$t(),e.Hsn(0),e.TgZ(1,"div",0),e._UZ(2,"div",1),e.TgZ(3,"div",2),e._UZ(4,"div",3,4),e.qZA(),e.YNc(6,AI,3,1,"div",5),e.qZA(),e.YNc(7,TI,1,3,"mat-slider-visual-thumb",6),e._UZ(8,"mat-slider-visual-thumb",7)),2&t&&(e.xp6(6),e.Q6J("ngIf",n.showTickMarks),e.xp6(1),e.Q6J("ngIf",n._isRange),e.xp6(1),e.Q6J("discrete",n.discrete)("thumbPosition",2)("valueIndicatorText",n.endValueIndicatorText))},dependencies:[F.sg,F.O5,II],styles:['.mdc-slider{cursor:pointer;height:48px;margin:0 24px;position:relative;touch-action:pan-y}.mdc-slider .mdc-slider__track{position:absolute;top:50%;transform:translateY(-50%);width:100%}.mdc-slider .mdc-slider__track--active,.mdc-slider .mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider .mdc-slider__track--active{overflow:hidden}.mdc-slider .mdc-slider__track--active_fill{border-top-style:solid;box-sizing:border-box;height:100%;width:100%;position:relative;-webkit-transform-origin:left;transform-origin:left}[dir=rtl] .mdc-slider .mdc-slider__track--active_fill,.mdc-slider .mdc-slider__track--active_fill[dir=rtl]{-webkit-transform-origin:right;transform-origin:right}.mdc-slider .mdc-slider__track--inactive{left:0;top:0}.mdc-slider .mdc-slider__track--inactive::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}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider .mdc-slider__value-indicator-container{bottom:44px;left:var(--slider-value-indicator-container-left, 50%);pointer-events:none;position:absolute;right:var(--slider-value-indicator-container-right);transform:var(--slider-value-indicator-container-transform, translateX(-50%))}.mdc-slider .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);align-items:center;border-radius:4px;display:flex;height:32px;padding:0 12px;transform:scale(0);transform-origin:bottom}.mdc-slider .mdc-slider__value-indicator::before{border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-top:6px solid;bottom:-5px;content:"";height:0;left:var(--slider-value-indicator-caret-left, 50%);position:absolute;right:var(--slider-value-indicator-caret-right);transform:var(--slider-value-indicator-caret-transform, translateX(-50%));width:0}.mdc-slider .mdc-slider__value-indicator::after{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}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}@media(prefers-reduced-motion){.mdc-slider .mdc-slider__value-indicator,.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:none}}.mdc-slider .mdc-slider__thumb{display:flex;left:-24px;outline:none;position:absolute;user-select:none;height:48px;width:48px}.mdc-slider .mdc-slider__thumb--top{z-index:1}.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-style:solid;border-width:1px;box-sizing:content-box}.mdc-slider .mdc-slider__thumb-knob{box-sizing:border-box;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%)}.mdc-slider .mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:transform 80ms ease}@media(prefers-reduced-motion){.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:none}}.mdc-slider--disabled{cursor:auto}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__input{cursor:pointer;left:0;margin:0;height:100%;opacity:0;pointer-events:none;position:absolute;top:0;width:100%}.mat-mdc-slider{display:inline-block;box-sizing:border-box;outline:none;vertical-align:middle;margin-left:8px;margin-right:8px;width:auto;min-width:112px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-slider .mdc-slider__thumb-knob{background-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:var(--mdc-slider-disabled-handle-color, var(--mdc-theme-on-surface, #000));border-color:var(--mdc-slider-disabled-handle-color, var(--mdc-theme-on-surface, #000))}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb::before,.mat-mdc-slider .mdc-slider__thumb::after{background-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb:hover::before,.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-surface--hover::before{opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded--background-focused::before,.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mat-mdc-slider .mdc-slider__track--active_fill{border-color:var(--mdc-slider-active-track-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:var(--mdc-slider-disabled-active-track-color, var(--mdc-theme-on-surface, #000))}.mat-mdc-slider .mdc-slider__track--inactive{background-color:var(--mdc-slider-inactive-track-color, var(--mdc-theme-primary, #6200ee));opacity:.24}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__track--inactive{background-color:var(--mdc-slider-disabled-inactive-track-color, var(--mdc-theme-on-surface, #000));opacity:.24}.mat-mdc-slider .mdc-slider__tick-mark--active{background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mdc-theme-on-primary, #fff));opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.6)}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--active{background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mdc-theme-on-primary, #fff));opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.6)}.mat-mdc-slider .mdc-slider__tick-mark--inactive{background-color:var(--mdc-slider-with-tick-marks-inactive-container-color, var(--mdc-theme-primary, #6200ee));opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.6)}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--inactive{background-color:var(--mdc-slider-with-tick-marks-disabled-container-color, var(--mdc-theme-on-surface, #000));opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.6)}.mat-mdc-slider .mdc-slider__value-indicator{background-color:var(--mdc-slider-label-container-color, #666666);opacity:1}.mat-mdc-slider .mdc-slider__value-indicator::before{border-top-color:var(--mdc-slider-label-container-color, #666666)}.mat-mdc-slider .mdc-slider__value-indicator{color:var(--mdc-slider-label-label-text-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slider .mdc-slider__track{height:var(--mdc-slider-inactive-track-height, 4px)}.mat-mdc-slider .mdc-slider__track--active{height:var(--mdc-slider-active-track-height, 6px);top:calc((var(--mdc-slider-inactive-track-height, 4px) - var(--mdc-slider-active-track-height, 6px)) / 2)}.mat-mdc-slider .mdc-slider__track--active_fill{border-top-width:var(--mdc-slider-active-track-height, 6px)}.mat-mdc-slider .mdc-slider__track--inactive{height:var(--mdc-slider-inactive-track-height, 4px)}.mat-mdc-slider .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-mark--inactive{height:var(--mdc-slider-with-tick-marks-container-size, 2px);width:var(--mdc-slider-with-tick-marks-container-size, 2px)}.mat-mdc-slider.mdc-slider--disabled{opacity:0.38}.mat-mdc-slider .mdc-slider__value-indicator-text{letter-spacing:var(--mdc-slider-label-label-text-tracking, 0.0071428571em);font-size:var(--mdc-slider-label-label-text-size, 0.875rem);font-family:var(--mdc-slider-label-label-text-font, Roboto, sans-serif);font-weight:var(--mdc-slider-label-label-text-weight, 500);line-height:var(--mdc-slider-label-label-text-line-height, 1.375rem)}.mat-mdc-slider .mdc-slider__track--active{border-radius:var(--mdc-slider-active-track-shape, 9999px)}.mat-mdc-slider .mdc-slider__track--inactive{border-radius:var(--mdc-slider-inactive-track-shape, 9999px)}.mat-mdc-slider .mdc-slider__thumb-knob{border-radius:var(--mdc-slider-handle-shape, 50%);width:var(--mdc-slider-handle-width, 20px);height:var(--mdc-slider-handle-height, 20px);border-style:solid;border-width:calc(var(--mdc-slider-handle-height, 20px) / 2) calc(var(--mdc-slider-handle-width, 20px) / 2)}.mat-mdc-slider .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-mark--inactive{border-radius:var(--mdc-slider-with-tick-marks-container-shape, 50%)}.mat-mdc-slider .mdc-slider__thumb-knob{box-shadow:var(--mdc-slider-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb-knob{background-color:var(--mdc-slider-hover-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-hover-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb-knob{background-color:var(--mdc-slider-focus-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-focus-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:var(--mdc-slider-with-overlap-handle-outline-color, #fff);border-width:var(--mdc-slider-with-overlap-handle-outline-width, 1px)}.mat-mdc-slider .mdc-slider__input{box-sizing:content-box;pointer-events:auto}.mat-mdc-slider .mdc-slider__input.mat-mdc-slider-input-no-pointer-events{pointer-events:none}.mat-mdc-slider .mdc-slider__input.mat-slider__right-input{left:auto;right:0}.mat-mdc-slider .mdc-slider__thumb,.mat-mdc-slider .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mat-mdc-slider-with-animation.mat-mdc-slider-disable-track-animation .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider.mdc-slider--discrete .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mat-mdc-slider-with-animation.mat-mdc-slider-disable-track-animation .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider .mdc-slider__track,.mat-mdc-slider .mdc-slider__thumb{pointer-events:none}.mat-mdc-slider .mdc-slider__value-indicator{opacity:var(--mat-mdc-slider-value-indicator-opacity, 1)}.mat-mdc-slider .mat-ripple .mat-ripple-element{background-color:var(--mat-mdc-slider-ripple-color, transparent)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-hover-ripple{background-color:var(--mat-mdc-slider-hover-ripple-color, transparent)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-focus-ripple,.mat-mdc-slider .mat-ripple .mat-mdc-slider-active-ripple{background-color:var(--mat-mdc-slider-focus-ripple-color, transparent)}.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__track--active_fill,.mat-mdc-slider._mat-animation-noopable .mdc-slider__value-indicator{transition:none}.mat-mdc-slider .mat-mdc-focus-indicator::before{border-radius:50%}.mdc-slider__thumb--focused .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),r})();const RI={provide:fa,useExisting:(0,e.Gpc)(()=>sC),multi:!0};let sC=(()=>{class r{get value(){return(0,st.su)(this._hostElement.value)}set value(t){const n=(0,st.su)(t).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=n,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges()):this._initialValue=n}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(t){this._translateX=t}get min(){return(0,st.su)(this._hostElement.min)}set min(t){this._hostElement.min=(0,st.su)(t).toString(),this._cdr.detectChanges()}get max(){return(0,st.su)(this._hostElement.max)}set max(t){this._hostElement.max=(0,st.su)(t).toString(),this._cdr.detectChanges()}get step(){return(0,st.su)(this._hostElement.step)}set step(t){this._hostElement.step=(0,st.su)(t).toString(),this._cdr.detectChanges()}get disabled(){return(0,st.Ig)(this._hostElement.disabled)}set disabled(t){this._hostElement.disabled=(0,st.Ig)(t),this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(t){this._isFocused=t}constructor(t,n,a,l){this._ngZone=t,this._elementRef=n,this._cdr=a,this._slider=l,this.valueChange=new e.vpe,this.dragStart=new e.vpe,this.dragEnd=new e.vpe,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new D.x,this._skipUIUpdate=!1,this._onChangeFn=()=>{},this._onTouchedFn=()=>{},this._hostElement=n.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(t){this.disabled||0!==t.button||(this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(t,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(t),this.dragStart.emit({source:this,parent:this._slider,value:this.value})))}_handleValueCorrection(t){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(t)},0)}_fixValue(t){const n=t.clientX-this._slider._cachedLeft,a=this._slider._cachedWidth,l=0===this._slider.step?1:this._slider.step,v=Math.floor((this._slider.max-this._slider.min)/l),z=Math.round((this._slider._isRtl?1-n/a:n/a)*v)/v*(this._slider.max-this._slider.min)+this._slider.min,be=Math.round(z/l)*l;if(be===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(t,{withAnimation:this._slider._hasAnimation}));this.value=be,this.valueChange.emit(this.value),this._onChangeFn(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(t,{withAnimation:this._slider._hasAnimation})}_onPointerMove(t){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(t)}_onPointerUp(){this._isActive&&(this._isActive=!1,this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive()))}_clamp(t){return Math.max(Math.min(t,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*this._slider._cachedWidth}_calcTranslateXByPointerEvent(t){return t.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(t){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(t)}_updateThumbUIByPointerEvent(t,n){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(t)),this._updateThumbUI(n)}_updateThumbUI(t){this._slider._setTransition(!!t?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(t){this.value=t}registerOnChange(t){this._onChangeFn=t}registerOnTouched(t){this._onTouchedFn=t}setDisabledState(t){this.disabled=t}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(nv))},r.\u0275dir=e.lG2({type:r,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(t,n){1&t&&e.NdJ("change",function(){return n._onChange()})("input",function(){return n._onInput()})("blur",function(){return n._onBlur()})("focus",function(){return n._onFocus()}),2&t&&e.uIk("aria-valuetext",n._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[e._Bn([RI,{provide:RM,useExisting:r}])]}),r})(),YI=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,F.ez,ae.si]}),r})();function HI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.rate())}),e.TgZ(1,"mat-icon"),e._uU(2,"speed"),e.qZA()()}}function UI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.rewind(10))}),e.TgZ(1,"mat-icon"),e._uU(2,"replay_10"),e.qZA()()}}function jI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.resume())}),e.TgZ(1,"mat-icon"),e._uU(2,"play_arrow"),e.qZA()()}}function VI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.pause())}),e.TgZ(1,"mat-icon"),e._uU(2,"pause"),e.qZA()()}}function ZI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.forward(10))}),e.TgZ(1,"mat-icon"),e._uU(2,"forward_10"),e.qZA()()}}function zI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.mute())}),e.TgZ(1,"mat-icon"),e._uU(2,"volume_off"),e.qZA()()}}function GI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.mute())}),e.TgZ(1,"mat-icon"),e._uU(2,"volume_up"),e.qZA()()}}function WI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"div",4),e.YNc(3,HI,3,0,"button",5),e.YNc(4,UI,3,0,"button",5),e.TgZ(5,"button",6),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.media.previous())}),e.TgZ(6,"mat-icon"),e._uU(7,"skip_previous"),e.qZA()(),e.YNc(8,jI,3,0,"button",5),e.YNc(9,VI,3,0,"button",5),e.TgZ(10,"button",6),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.media.next())}),e.TgZ(11,"mat-icon"),e._uU(12,"skip_next"),e.qZA()(),e.YNc(13,ZI,3,0,"button",5),e.YNc(14,zI,3,0,"button",5),e.YNc(15,GI,3,0,"button",5),e.qZA()(),e._UZ(16,"div",7),e.qZA()}if(2&r){const t=e.oxw();e.xp6(3),e.Q6J("ngIf","Podcast"===(null==t.media.current?null:t.media.current.type)),e.xp6(1),e.Q6J("ngIf","Podcast"===(null==t.media.current?null:t.media.current.type)),e.xp6(1),e.Q6J("disabled",!t.media.canPrevious),e.xp6(3),e.Q6J("ngIf",t.media.paused),e.xp6(1),e.Q6J("ngIf",!t.media.paused),e.xp6(1),e.Q6J("disabled",!t.media.canNext),e.xp6(3),e.Q6J("ngIf","Podcast"===(null==t.media.current?null:t.media.current.type)),e.xp6(1),e.Q6J("ngIf",!t.media.videoMode&&t.media.muted),e.xp6(1),e.Q6J("ngIf",!t.media.videoMode&&!t.media.muted)}}function qI(r,i){if(1&r&&(e.TgZ(0,"div",13),e._UZ(1,"img",14),e.TgZ(2,"div",15)(3,"div",16),e._uU(4),e.qZA(),e.TgZ(5,"div",17),e._uU(6),e.qZA()()()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("src",null==t.media.current?null:t.media.current.artwork,e.LSH),e.xp6(3),e.Oqu(null==t.media.current?null:t.media.current.title),e.xp6(2),e.Oqu(null==t.media.current?null:t.media.current.artist)}}function QI(r,i){if(1&r&&e._UZ(0,"iframe",19),2&r){const t=e.oxw(3);e.Q6J("src",t.media.youtubeUrl,e.uOi)}}function JI(r,i){if(1&r&&(e.TgZ(0,"div",13),e.YNc(1,QI,1,1,"iframe",18),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.media.youtubeUrl)}}function KI(r,i){if(1&r&&(e.TgZ(0,"div",13)(1,"video",20),e._UZ(2,"source",21),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(2),e.Q6J("src",t.media.videoUrl,e.LSH)}}function $I(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.rate())}),e.TgZ(1,"mat-icon"),e._uU(2,"speed"),e.qZA()()}}function XI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",31),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.rewind(10))}),e.TgZ(1,"mat-icon"),e._uU(2,"replay_10"),e.qZA()()}}function e5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.resume())}),e.TgZ(1,"mat-icon"),e._uU(2,"play_arrow"),e.qZA()()}}function t5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.pause())}),e.TgZ(1,"mat-icon"),e._uU(2,"pause"),e.qZA()()}}function n5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.forward(10))}),e.TgZ(1,"mat-icon"),e._uU(2,"forward_10"),e.qZA()()}}function r5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",35)(1,"div",36),e._uU(2),e.ALo(3,"time"),e.qZA(),e.TgZ(4,"div",37)(5,"mat-slider",38)(6,"input",39),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.media.time=a)}),e.qZA()()(),e.TgZ(7,"div",40),e._uU(8),e.ALo(9,"time"),e.qZA()()}if(2&r){const t=e.oxw(3);e.xp6(2),e.Oqu(e.lcZ(3,7,t.media.time)),e.xp6(3),e.Q6J("displayWith",t.formatLabel)("max",t.media.duration)("min",0)("step",1),e.xp6(1),e.Q6J("ngModel",t.media.time),e.xp6(2),e.Oqu(e.lcZ(9,9,t.media.duration))}}function a5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",3)(1,"div",4),e.YNc(2,$I,3,0,"button",22),e.YNc(3,XI,3,0,"button",23),e.TgZ(4,"button",24),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.previous())}),e.TgZ(5,"mat-icon"),e._uU(6,"skip_previous"),e.qZA()(),e.YNc(7,e5,3,0,"button",25),e.YNc(8,t5,3,0,"button",26),e.TgZ(9,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.next())}),e.TgZ(10,"mat-icon"),e._uU(11,"skip_next"),e.qZA()(),e.YNc(12,n5,3,0,"button",28),e.qZA(),e.YNc(13,r5,10,11,"div",29),e.qZA()}if(2&r){const t=e.oxw(2);e.xp6(2),e.Q6J("ngIf","Podcast"===(null==t.media.current?null:t.media.current.type)),e.xp6(1),e.Q6J("ngIf","Podcast"===(null==t.media.current?null:t.media.current.type)),e.xp6(1),e.Q6J("disabled",!t.media.canPrevious),e.xp6(3),e.Q6J("ngIf",t.media.paused),e.xp6(1),e.Q6J("ngIf",!t.media.paused),e.xp6(1),e.Q6J("disabled",!t.media.canNext),e.xp6(3),e.Q6J("ngIf","Podcast"===(null==t.media.current?null:t.media.current.type)),e.xp6(1),e.Q6J("ngIf",!t.media.videoMode&&!t.miniplayer)}}function o5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",46),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.expanded=!0)}),e.TgZ(1,"mat-icon"),e._uU(2,"expand_less"),e.qZA()()}}function s5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",46),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.expanded=!1)}),e.TgZ(1,"mat-icon"),e._uU(2,"expand_more"),e.qZA()()}}function l5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",41)(1,"div",42),e.YNc(2,o5,3,0,"button",43),e.YNc(3,s5,3,0,"button",43),e.TgZ(4,"button",44)(5,"mat-icon"),e._uU(6,"queue_music"),e.qZA()(),e.TgZ(7,"button",45),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.media.exit())}),e.TgZ(8,"mat-icon"),e._uU(9,"close"),e.qZA()()()()}if(2&r){const t=e.oxw(2);e.xp6(2),e.Q6J("ngIf",!t.expanded),e.xp6(1),e.Q6J("ngIf",t.expanded)}}function c5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",51),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.mute())}),e.TgZ(1,"mat-icon"),e._uU(2,"volume_off"),e.qZA()()}}function d5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",52),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.mute())}),e.TgZ(1,"mat-icon"),e._uU(2,"volume_up"),e.qZA()()}}function u5(r,i){1&r&&(e.TgZ(0,"button",44)(1,"mat-icon"),e._uU(2,"queue_music"),e.qZA()())}function h5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.media.exit())}),e.TgZ(1,"mat-icon"),e._uU(2,"close"),e.qZA()()}}function m5(r,i){if(1&r&&(e.TgZ(0,"div",41)(1,"div",42),e.YNc(2,c5,3,0,"button",47),e.YNc(3,d5,3,0,"button",48),e.YNc(4,u5,3,0,"button",49),e.YNc(5,h5,3,0,"button",50),e.qZA()()),2&r){const t=e.oxw(2);e.xp6(2),e.Q6J("ngIf",t.media.muted),e.xp6(1),e.Q6J("ngIf",!t.media.muted),e.xp6(1),e.Q6J("ngIf",!t.miniplayer),e.xp6(1),e.Q6J("ngIf",!t.miniplayer)}}const f5=function(r,i){return{"media-player-large":r,"media-player-maximized":i}};function p5(r,i){if(1&r&&(e.TgZ(0,"div",9),e.YNc(1,qI,7,3,"div",10),e.YNc(2,JI,2,1,"div",10),e.YNc(3,KI,3,1,"div",10),e.YNc(4,a5,14,8,"div",11),e.YNc(5,l5,10,2,"div",12),e.YNc(6,m5,6,4,"div",12),e.qZA()),2&r){const t=e.oxw();e.Q6J("ngClass",e.WLB(7,f5,t.expanded,t.maximized)),e.xp6(1),e.Q6J("ngIf",!t.media.videoMode&&!t.miniplayer),e.xp6(1),e.Q6J("ngIf","YouTube"===(null==t.media.current?null:t.media.current.type)&&!t.miniplayer),e.xp6(1),e.Q6J("ngIf","Video"===(null==t.media.current?null:t.media.current.type)&&!t.miniplayer),e.xp6(1),e.Q6J("ngIf",!t.maximized),e.xp6(1),e.Q6J("ngIf",!t.maximized&&t.media.videoMode),e.xp6(1),e.Q6J("ngIf",!t.maximized&&!t.media.videoMode)}}class N_{constructor(i,t,n,a,l){this.options=i,this.media=t,this.profileService=n,this.utilities=a,this.dialog=l,this.miniplayer=!1,this.expanded=!1,this.maximized=!1}ngOnInit(){console.log("miniplayer:",this.miniplayer)}formatLabel(i){return Eu.time(i)}minimize(){window.resizeTo(200,5)}mediaConnect(){const i=document.querySelector("audio");i?(navigator.mediaSession.metadata=new MediaMetadata({title:"LifeLike",artist:"AlexiAction",album:"Blockcore Notes",artwork:[{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"96x96",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"128x128",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"192x192",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"256x256",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"384x384",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"512x512",type:"image/jpg"}]}),navigator.mediaSession.setActionHandler("play",(0,we.Z)(function*(){try{yield i.play()}catch(t){console.error(t.name,t.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{i.pause()}),i.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),i.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}}N_.\u0275fac=function(i){return new(i||N_)(e.Y36(la.I),e.Y36(gl),e.Y36(Yn),e.Y36(pn.dU),e.Y36(yi))},N_.\u0275cmp=e.Xpm({type:N_,selectors:[["app-media-player"]],inputs:{miniplayer:"miniplayer"},decls:2,vars:2,consts:[["class","media-player media-player-small",4,"ngIf"],["class","media-player",3,"ngClass",4,"ngIf"],[1,"media-player","media-player-small"],[1,"media-controls"],[1,"media-controls-container"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"disabled","click"],[1,"draggable"],["mat-icon-button","",3,"click"],[1,"media-player",3,"ngClass"],["class","media-info",4,"ngIf"],["class","media-controls",4,"ngIf"],["class","media-audio",4,"ngIf"],[1,"media-info"],[1,"music-album",3,"src"],[1,"media-info-text","hide-small"],[1,"music-title"],[1,"music-artist"],["sandbox","allow-scripts allow-same-origin allow-presentation","id","ytplayer","class","youtube-video","type","text/html","frameborder","0","allowfullscreen","","allow","autoplay",3,"src",4,"ngIf"],["sandbox","allow-scripts allow-same-origin allow-presentation","id","ytplayer","type","text/html","frameborder","0","allowfullscreen","","allow","autoplay",1,"youtube-video",3,"src"],["controls","","autoplay","true","preload","none",1,"event-video"],["type","video/mp4",3,"src"],["matTooltip","Change speed","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Skip back 10 seconds","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Previous","mat-icon-button","",3,"disabled","click"],["matTooltip","Play","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Pause","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Next","mat-icon-button","",3,"disabled","click"],["matTooltip","Skip forward 10 seconds","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["class","media-timeline",4,"ngIf"],["matTooltip","Change speed","mat-icon-button","",3,"click"],["matTooltip","Skip back 10 seconds","mat-icon-button","",1,"hide-small",3,"click"],["matTooltip","Play","mat-icon-button","",3,"click"],["matTooltip","Pause","mat-icon-button","",3,"click"],["matTooltip","Skip forward 10 seconds","mat-icon-button","",1,"hide-small",3,"click"],[1,"media-timeline"],[1,"media-timeline-1","hide-small"],[1,"media-timeline-2"],["discrete","",1,"media-slider",3,"displayWith","max","min","step"],["matSliderThumb","",3,"ngModel","ngModelChange"],[1,"media-timeline-3","hide-small"],[1,"media-audio"],[1,"media-audio-container"],["class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["routerLink","/queue","mat-icon-button","",1,"hide-small"],["matTooltip","Exit Media Player","mat-icon-button","",3,"click"],["mat-icon-button","",1,"hide-small",3,"click"],["matTooltip","Mute","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Unmute","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["routerLink","/queue","class","hide-small","mat-icon-button","",4,"ngIf"],["matTooltip","Exit Media Player","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Mute","mat-icon-button","",1,"hide-small",3,"click"],["matTooltip","Unmute","mat-icon-button","",1,"hide-small",3,"click"]],template:function(i,t){1&i&&(e.YNc(0,WI,17,9,"div",0),e.YNc(1,p5,7,10,"div",1)),2&i&&(e.Q6J("ngIf",t.miniplayer),e.xp6(1),e.Q6J("ngIf",!t.miniplayer))},dependencies:[F.mk,F.O5,Yt.rH,Dt.RK,Wn,fo,ar,Sr,oa,LI,sC,Eu],styles:[".media-player[_ngcontent-%COMP%]{display:flex;flex-direction:row;background-color:#212121;height:96px}.media-player-small[_ngcontent-%COMP%]{height:env(titlebar-area-height,33px)!important}.media-controls-container[_ngcontent-%COMP%]{align-self:center;flex:2 2 auto;-webkit-app-region:no-drag}.media-audio-container[_ngcontent-%COMP%]{align-self:center;flex:2 2 auto}.media-player-small[_ngcontent-%COMP%] .media-controls-container[_ngcontent-%COMP%]{align-self:flex-start}.media-player-small[_ngcontent-%COMP%] .media-controls[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;text-align:left}.media-info[_ngcontent-%COMP%]{flex:1 1 33%;display:flex;flex-direction:row}.media-controls[_ngcontent-%COMP%]{flex:2 2 auto;width:360px;text-align:center;justify-content:center;display:flex;flex-direction:column}.media-player-small[_ngcontent-%COMP%] .media-controls[_ngcontent-%COMP%]{width:auto}.media-audio[_ngcontent-%COMP%]{padding-right:1.4em;flex:1 1 33%;display:flex;text-align:right}.music-album[_ngcontent-%COMP%]{height:100%}.music-title[_ngcontent-%COMP%]{font-size:.8em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-weight:700;margin-bottom:.4em}.music-artist[_ngcontent-%COMP%]{color:#ffffff80;font-size:.65em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical}.media-info-text[_ngcontent-%COMP%]{padding:.8em;align-self:center}.media-timeline[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;font-size:.8em;justify-content:center}.media-timeline-1[_ngcontent-%COMP%]{flex:1 1 auto;width:100px;align-self:center}.media-timeline-2[_ngcontent-%COMP%]{flex:2 2 auto;align-self:center}.media-timeline-3[_ngcontent-%COMP%]{flex:1 1 auto;width:100px;align-self:center}.youtube-video[_ngcontent-%COMP%]{width:100%;display:inline-block;margin-top:.2em;aspect-ratio:16 / 9}.media-player-large[_ngcontent-%COMP%]{height:256px}.media-player-maximized[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;right:0;z-index:1000;height:100%}.floating-maximize[_ngcontent-%COMP%]{position:absolute;right:10px;top:80px;z-index:1001}.media-player-logo[_ngcontent-%COMP%]{margin-left:6px}@media only screen and (min-height: 201px){.media-player-logo[_ngcontent-%COMP%]{display:none}}"]});const g5=["drawer"],_5=["draweraccount"],b5=["searchInput"],YM=function(r){return{rightToLeft:r}};function y5(r,i){if(1&r&&(e.TgZ(0,"div",2),e._UZ(1,"router-outlet"),e.qZA()),2&r){const t=e.oxw();e.Q6J("ngClass",e.VKq(2,YM,"rtl"===t.appState.documentDirection))("dir",t.appState.documentDirection)}}function v5(r,i){1&r&&e._UZ(0,"app-media-player",44),2&r&&e.Q6J("miniplayer",!0)}function w5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(t),e.oxw();const a=e.MAs(20);return e.KtG(a.toggle())}),e.TgZ(1,"mat-icon"),e._uU(2,"menu"),e.qZA()()}}function x5(r,i){1&r&&e._UZ(0,"img",46)}function F5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",47),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.goBack())}),e.TgZ(1,"mat-icon",48),e._uU(2,"arrow_back"),e.qZA()()}}function C5(r,i){if(1&r&&(e.TgZ(0,"div",49),e._uU(1),e.ALo(2,"async"),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,t.appState.title$))}}function k5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",51),e.NdJ("click",function(){const l=e.CHM(t).$implicit;return e.KtG(l.click())}),e.TgZ(1,"mat-icon"),e._uU(2),e.qZA()()}if(2&r){const t=i.$implicit;e.Q6J("matTooltip",t.tooltip),e.xp6(2),e.Oqu(t.icon)}}function D5(r,i){if(1&r&&(e.TgZ(0,"span"),e.YNc(1,k5,3,2,"button",50),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.appState.actions)}}function M5(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(t.display_name)}}function E5(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(t.name)}}function A5(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.hij("(",t.nip05,")")}}function T5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-option",58),e.NdJ("onSelectionChange",function(){const l=e.CHM(t).$implicit,v=e.oxw(3);return e.KtG(v.searchService.open(l))}),e.TgZ(1,"span"),e._UZ(2,"img",59),e.qZA(),e.YNc(3,M5,2,1,"span",12),e.YNc(4,E5,2,1,"span",12),e.YNc(5,A5,2,1,"span",12),e.qZA()}if(2&r){const t=i.$implicit;e.Q6J("value",t.id),e.xp6(2),e.Q6J("src",t.picture,e.LSH),e.xp6(1),e.Q6J("ngIf",t.display_name),e.xp6(1),e.Q6J("ngIf",!t.display_name),e.xp6(1),e.Q6J("ngIf",t.nip05)}}function S5(r,i){if(1&r&&(e.TgZ(0,"form",52)(1,"mat-form-field",53)(2,"mat-label"),e._uU(3,"Search"),e.qZA(),e._UZ(4,"input",54,55),e.TgZ(6,"mat-autocomplete",null,56),e.YNc(8,T5,6,5,"mat-option",57),e.ALo(9,"async"),e.qZA()()()),2&r){const t=e.MAs(7),n=e.oxw(2);e.xp6(4),e.Q6J("formControl",n.searchControl)("matAutocomplete",t),e.xp6(4),e.Q6J("ngForOf",e.lcZ(9,3,n.searchService.results$))}}function I5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",47),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.searchVisibility(!1))}),e.TgZ(1,"mat-icon"),e._uU(2,"close"),e.qZA()()}}function O5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",47),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.searchVisibility(!0))}),e.TgZ(1,"mat-icon"),e._uU(2,"search"),e.qZA()()}}function L5(r,i){1&r&&e._UZ(0,"button",60),2&r&&e.Q6J("mtBasicSpinner",!0)}function N5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"img",61),e.NdJ("click",function(){e.CHM(t),e.oxw();const a=e.MAs(61);return e.KtG(a.toggle())}),e.qZA()}if(2&r){const t=e.oxw(2);e.Q6J("src",null==t.profile?null:t.profile.picture,e.LSH)}}function R5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Home"),e.qZA())}function P5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Feed"),e.qZA())}function B5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Notifications"),e.qZA())}function Y5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"People"),e.qZA())}function H5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Circles"),e.qZA())}function U5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Bookmarks"),e.qZA())}function j5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"Relays"),e.qZA())}function V5(r,i){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"chevron_left"),e.qZA())}function Z5(r,i){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"chevron_right"),e.qZA())}function z5(r,i){if(1&r&&e._UZ(0,"img",62),2&r){const t=e.oxw(2);e.Q6J("src",null==t.profile?null:t.profile.banner,e.LSH)}}function G5(r,i){if(1&r&&e._UZ(0,"img",62),2&r){const t=e.oxw(2);e.Q6J("src",t.bgimagePath,e.LSH)}}function W5(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"@"),e.qZA())}function q5(r,i){1&r&&e._UZ(0,"app-media-player",63)}const Q5=function(r,i){return{"sidenav-labels":r,"sidenav-small":i}},J5=function(){return["/"]},Zs=function(){return{exact:!0}},K5=function(){return["/feed"]},$5=function(){return["/notifications"]},X5=function(){return["/people"]},eO=function(){return["/circles"]},tO=function(){return["/notes"]},iO=function(){return["/relays"]},nO=function(r){return{"new-post-small":r}},HM=function(){return["/profile"]},rO=function(r){return["/following",r]},aO=function(r){return["/p",r]},oO=function(r){return["/badges",r]},sO=function(){return["/settings"]},lO=function(){return["/about"]},cO=function(){return["/logout"]};function dO(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",3)(1,"div",4),e._UZ(2,"img",5),e.YNc(3,v5,1,1,"app-media-player",6),e.qZA(),e.TgZ(4,"mat-toolbar",7),e.YNc(5,w5,3,0,"button",8),e.ALo(6,"async"),e._UZ(7,"span"),e.YNc(8,x5,1,0,"img",9),e.ALo(9,"async"),e.YNc(10,F5,3,0,"button",10),e.YNc(11,C5,3,3,"div",11),e.YNc(12,D5,2,1,"span",12),e.YNc(13,S5,10,5,"form",13),e.YNc(14,I5,3,0,"button",10),e.YNc(15,O5,3,0,"button",10),e.YNc(16,L5,1,1,"button",14),e.YNc(17,N5,1,1,"img",15),e.qZA(),e.TgZ(18,"mat-sidenav-container",16)(19,"mat-sidenav",17,18),e.ALo(21,"async"),e.ALo(22,"async"),e.ALo(23,"async"),e.TgZ(24,"mat-nav-list")(25,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(26,"mat-icon"),e._uU(27,"home"),e.qZA(),e.YNc(28,R5,2,0,"span",12),e.qZA(),e.TgZ(29,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(30,"mat-icon"),e._uU(31,"notes"),e.qZA(),e.YNc(32,P5,2,0,"span",12),e.qZA(),e.TgZ(33,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(34,"mat-icon",20),e.ALo(35,"async"),e.ALo(36,"async"),e._uU(37,"notifications"),e.qZA(),e.YNc(38,B5,2,0,"span",12),e.qZA(),e.TgZ(39,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(40,"mat-icon"),e._uU(41,"people"),e.qZA(),e.YNc(42,Y5,2,0,"span",12),e.qZA(),e.TgZ(43,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(44,"mat-icon"),e._uU(45,"animation"),e.qZA(),e.YNc(46,H5,2,0,"span",12),e.qZA(),e.TgZ(47,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(48,"mat-icon"),e._uU(49,"bookmarks"),e.qZA(),e.YNc(50,U5,2,0,"span",12),e.qZA(),e.TgZ(51,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenu())}),e.TgZ(52,"mat-icon"),e._uU(53,"dns"),e.qZA(),e.YNc(54,j5,2,0,"span",12),e.qZA(),e.TgZ(55,"a",21),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleMenuSize())}),e.YNc(56,V5,2,0,"mat-icon",12),e.YNc(57,Z5,2,0,"mat-icon",12),e.qZA()(),e.TgZ(58,"div",22)(59,"img",23),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.navigationService.createNote())}),e.qZA()()(),e.TgZ(60,"mat-sidenav",24,25)(62,"div",26)(63,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.MAs(61);return e.KtG(a.toggle())}),e.TgZ(64,"mat-icon"),e._uU(65,"close"),e.qZA()(),e.TgZ(66,"button",28),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.theme.darkMode=!a.theme.darkMode)}),e.TgZ(67,"mat-icon",29),e._uU(68),e.qZA()(),e.TgZ(69,"header")(70,"div",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openProfile())}),e.YNc(71,z5,1,1,"img",31),e.YNc(72,G5,1,1,"img",31),e.TgZ(73,"div",32)(74,"h3"),e.YNc(75,W5,2,0,"span",12),e._uU(76),e.qZA(),e.TgZ(77,"p"),e._uU(78),e.qZA()()(),e.TgZ(79,"a",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(80,"div",34),e._UZ(81,"img",35),e.qZA()()(),e.TgZ(82,"div",36)(83,"div",37)(84,"ul")(85,"li"),e._uU(86,"0 "),e.TgZ(87,"span"),e._uU(88,"Followers"),e.qZA()(),e.TgZ(89,"li")(90,"a",38),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e._uU(91),e.TgZ(92,"span"),e._uU(93,"Following"),e.qZA()()()()()()(),e._UZ(94,"mat-divider"),e.TgZ(95,"mat-nav-list")(96,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(97,"mat-icon"),e._uU(98,"person"),e.qZA(),e.TgZ(99,"span"),e._uU(100,"View profile"),e.qZA()(),e.TgZ(101,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(102,"mat-icon"),e._uU(103,"edit"),e.qZA(),e.TgZ(104,"span"),e._uU(105,"Edit profile"),e.qZA()(),e.TgZ(106,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(107,"mat-icon"),e._uU(108,"badge"),e.qZA(),e.TgZ(109,"span"),e._uU(110,"Badges"),e.qZA()(),e.TgZ(111,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(112,"mat-icon"),e._uU(113,"settings"),e.qZA(),e.TgZ(114,"span"),e._uU(115,"Settings"),e.qZA()(),e.TgZ(116,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(117,"mat-icon"),e._uU(118,"help_outline"),e.qZA(),e.TgZ(119,"span"),e._uU(120,"About"),e.qZA()(),e.TgZ(121,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(122,"mat-icon"),e._uU(123,"logout"),e.qZA(),e.TgZ(124,"span"),e._uU(125,"Logout"),e.qZA()()(),e._UZ(126,"mat-menu",39,40),e.qZA(),e.TgZ(128,"mat-sidenav-content")(129,"div",41)(130,"div",42),e._UZ(131,"router-outlet"),e.qZA(),e.YNc(132,q5,1,0,"app-media-player",43),e.qZA()()()()}if(2&r){const t=e.oxw();e.Q6J("ngClass",e.VKq(82,YM,"rtl"===t.appState.documentDirection))("dir",t.appState.documentDirection),e.xp6(3),e.Q6J("ngIf",t.options.values.showMediaPlayer),e.xp6(2),e.Q6J("ngIf",!t.appState.showSearch&&!0===e.lcZ(6,68,t.isHandset$)),e.xp6(3),e.Q6J("ngIf",t.appState.showLogo&&!t.appState.showSearch&&!1===e.lcZ(9,70,t.isHandset$)),e.xp6(2),e.Q6J("ngIf",!t.appState.showSearch&&t.appState.showBackButton),e.xp6(1),e.Q6J("ngIf",!t.appState.showSearch),e.xp6(1),e.Q6J("ngIf",!t.appState.showSearch),e.xp6(1),e.Q6J("ngIf",t.appState.showSearch),e.xp6(1),e.Q6J("ngIf",t.appState.showSearch),e.xp6(1),e.Q6J("ngIf",!t.appState.showSearch),e.xp6(1),e.Q6J("ngIf",!t.appState.connected),e.xp6(1),e.Q6J("ngIf",!t.appState.showSearch),e.xp6(2),e.Q6J("ngClass",e.WLB(84,Q5,t.displayLabels,!t.displayLabels))("mode",e.lcZ(22,74,t.isHandset$)?"over":"side")("opened",!1===e.lcZ(23,76,t.isHandset$)),e.uIk("role",e.lcZ(21,72,t.isHandset$)?"dialog":"navigation"),e.xp6(6),e.Q6J("routerLink",e.DdM(87,J5))("routerLinkActiveOptions",e.DdM(88,Zs)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(89,K5))("routerLinkActiveOptions",e.DdM(90,Zs)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(91,$5))("routerLinkActiveOptions",e.DdM(92,Zs)),e.xp6(1),e.Q6J("matBadgeHidden",0==e.lcZ(35,78,t.ui.unreadNotifications$))("matBadge",e.lcZ(36,80,t.ui.unreadNotifications$)),e.xp6(4),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(93,X5))("routerLinkActiveOptions",e.DdM(94,Zs)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(95,eO))("routerLinkActiveOptions",e.DdM(96,Zs)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(97,tO))("routerLinkActiveOptions",e.DdM(98,Zs)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(99,iO))("routerLinkActiveOptions",e.DdM(100,Zs)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(2),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("ngIf",!t.displayLabels),e.xp6(1),e.Q6J("ngClass",e.VKq(101,nO,!t.displayLabels)),e.xp6(2),e.Q6J("mode","over"),e.uIk("role","navigation"),e.xp6(8),e.Oqu(t.theme.darkMode?"dark_mode":"light_mode"),e.xp6(3),e.Q6J("ngIf",null==t.profile?null:t.profile.banner),e.xp6(1),e.Q6J("ngIf",!(null!=t.profile&&t.profile.banner)),e.xp6(3),e.Q6J("ngIf",null==t.profile?null:t.profile.name),e.xp6(1),e.Oqu(null==t.profile?null:t.profile.name),e.xp6(2),e.Oqu(null==t.profile?null:t.profile.about),e.xp6(1),e.Q6J("routerLink",e.DdM(103,HM)),e.xp6(2),e.Q6J("src",null==t.profile?null:t.profile.picture,e.LSH),e.xp6(9),e.Q6J("routerLink",e.VKq(104,rO,t.appState.getPublicKey())),e.xp6(1),e.hij(" ",t.profileService.following.length," "),e.xp6(5),e.Q6J("routerLink",e.VKq(106,aO,t.appState.getPublicKey()))("routerLinkActiveOptions",e.DdM(108,Zs)),e.xp6(5),e.Q6J("routerLink",e.DdM(109,HM))("routerLinkActiveOptions",e.DdM(110,Zs)),e.xp6(5),e.Q6J("routerLink",e.VKq(111,oO,t.appState.getPublicKey()))("routerLinkActiveOptions",e.DdM(113,Zs)),e.xp6(5),e.Q6J("routerLink",e.DdM(114,sO))("routerLinkActiveOptions",e.DdM(115,Zs)),e.xp6(5),e.Q6J("routerLink",e.DdM(116,lO))("routerLinkActiveOptions",e.DdM(117,Zs)),e.xp6(5),e.Q6J("routerLink",e.DdM(118,cO))("routerLinkActiveOptions",e.DdM(119,Zs)),e.xp6(11),e.Q6J("ngIf",t.options.values.showMediaPlayer)}}class R_{constructor(i,t,n,a,l,v,T,G,z,be,Ve,bt,Pt,Gt,ii,ti,di,Fi,_i,Li,fn,Fn,Cn){var cr=this;this.cd=i,this.options=t,this.db=n,this.appState=a,this.authService=l,this.router=v,this.appUpdateService=T,this.appUpdateCheckService=G,this.dialog=z,this.location=be,this.labelService=Ve,this.breakpointObserver=bt,this.relayService=Pt,this.dataService=Gt,this.circleService=ii,this.profileService=ti,this.badgeService=di,this.navigationService=Fi,this.translate=_i,this.ui=Li,this.bottomSheet=fn,this.searchService=Fn,this.theme=Cn,this.authenticated=!1,this.bgimagePath="/assets/profile-bg.png",this.searchControl=new Uc,this.displayLabels=!0,this.isHandset$=this.breakpointObserver.observe("(max-width: 599px)").pipe((0,Cr.U)(Dr=>Dr.matches),(0,pd.d)()),this.discoveredProfileDate=0,this.visibilityHandler||(this.visibilityHandler=addEventListener("visibilitychange",Dr=>{this.appState.visibility("visible"===document.visibilityState)})),this.displayLabels=!this.options.values.hideSideLabels;const or=globalThis.location.search;if(or){const Dr=Object.fromEntries(new URLSearchParams(or));if(this.appState.params=Dr,this.appState.params.nostr){const Eo=(new QS).decode(this.appState.params.nostr);Eo&&Eo.scheme&&Eo.address&&this.router.navigate(["nevent"===Eo.scheme?"/e":"/p",Eo.address])}}this.authService.authInfo$.subscribe(function(){var Dr=(0,we.Z)(function*(Zo){cr.authenticated=Zo.authenticated(),cr.authenticated&&(yield cr.initialize())});return function(Zo){return Dr.apply(this,arguments)}}()),this.profileService.profile$.subscribe(Dr=>{this.profile=Dr})}toggleMenuSize(){this.displayLabels=!this.displayLabels,this.cd.detectChanges(),setTimeout(()=>{this.options.values.hideSideLabels=!this.displayLabels,this.options.save()},250)}searchInputChanged(){this.appState.searchText&&this.searchService.search(this.appState.searchText)}searchVisibility(i){this.appState.showSearch=i,this.appState.searchText="",i&&setTimeout(()=>{this.searchInput.nativeElement.focus()})}goBack(){this.appState.backUrl?(this.router.navigateByUrl(this.appState.backUrl),this.appState.backUrl=void 0):this.appState.navigateBack()}toggleMenu(){this.breakpointObserver.isMatched("(max-width: 599px)")&&this.drawer.toggle()}openProfile(){this.router.navigateByUrl("/profile"),this.toggleProfileMenu()}toggleProfileMenu(){this.draweraccount.toggle()}initialize(){var i=this;return(0,we.Z)(function*(){console.log("INITIALIZE IS RUNNING...."),i.translate.addLangs(["en","no","ru"]),i.translate.setDefaultLang("en"),i.options.values.language&&(i.appState.setLanguage(i.options.values.language),["ar","fa","he"].includes(i.options.values.language)?(i.appState.documentDirection="rtl",i.options.values.dir="rtl"):(i.appState.documentDirection="ltr",i.options.values.dir="ltr")),yield i.db.initialize("blockcore-"+i.appState.getPublicKey()),yield i.circleService.initialize(),yield i.profileService.initialize(i.appState.getPublicKey()),yield i.relayService.initialize(),yield i.badgeService.initialize(),yield i.dataService.initialize(),yield i.labelService.initialize(),i.appState.connected$.subscribe(()=>{console.log("Connected to relay.. this can sometimes be triggered multiple times."),i.profileService.newProfileEvent&&setTimeout((0,we.Z)(function*(){const t=JSON.parse(i.profileService.newProfileEvent.content);t.id=i.profileService.newProfileEvent?.id,t.pubkey=i.profileService.newProfileEvent?.pubkey,yield i.profileService.updateProfile(t.pubkey,t),yield i.dataService.publishEvent(i.profileService.newProfileEvent),i.profileService.newProfileEvent=void 0}),1e3)}),i.appState.setInitialized()})()}ngOnInit(){var i=this;return(0,we.Z)(function*(){i.theme.init(),i.sharedWorker=new SharedWorker("/assets/shared.worker.js"),i.sharedWorker.port.onmessage=t=>{console.log(t.data)},i.sharedWorker.port.start(),i.searchControl.valueChanges.subscribe(function(){var t=(0,we.Z)(function*(n){i.appState.searchText=n,n&&(n.length<=1||(yield i.searchService.search(n)))});return function(n){return t.apply(this,arguments)}}())})()}}function UM(r){return new e.vHH(3e3,!1)}function zO(){return typeof window<"u"&&typeof window.document<"u"}function lC(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Au(r){switch(r.length){case 0:return new Ce.ZN;case 1:return r[0];default:return new Ce.ZE(r)}}function jM(r,i,t,n,a=new Map,l=new Map){const v=[],T=[];let G=-1,z=null;if(n.forEach(be=>{const Ve=be.get("offset"),bt=Ve==G,Pt=bt&&z||new Map;be.forEach((Gt,ii)=>{let ti=ii,di=Gt;if("offset"!==ii)switch(ti=i.normalizePropertyName(ti,v),di){case Ce.k1:di=a.get(ii);break;case Ce.l3:di=l.get(ii);break;default:di=i.normalizeStyleValue(ii,ti,di,v)}Pt.set(ti,di)}),bt||T.push(Pt),z=Pt,G=Ve}),v.length)throw function OO(r){return new e.vHH(3502,!1)}();return T}function cC(r,i,t,n){switch(i){case"start":r.onStart(()=>n(t&&dC(t,"start",r)));break;case"done":r.onDone(()=>n(t&&dC(t,"done",r)));break;case"destroy":r.onDestroy(()=>n(t&&dC(t,"destroy",r)))}}function dC(r,i,t){const l=uC(r.element,r.triggerName,r.fromState,r.toState,i||r.phaseName,t.totalTime??r.totalTime,!!t.disabled),v=r._data;return null!=v&&(l._data=v),l}function uC(r,i,t,n,a="",l=0,v){return{element:r,triggerName:i,fromState:t,toState:n,phaseName:a,totalTime:l,disabled:!!v}}function zs(r,i,t){let n=r.get(i);return n||r.set(i,n=t),n}function VM(r){const i=r.indexOf(":");return[r.substring(1,i),r.slice(i+1)]}R_.\u0275fac=function(i){return new(i||R_)(e.Y36(e.sBO),e.Y36(la.I),e.Y36(Fr),e.Y36(Oe.i),e.Y36(Wc.$),e.Y36(Yt.F0),e.Y36(zh),e.Y36(Gh),e.Y36(yi),e.Y36(F.Ye),e.Y36(ls),e.Y36(De.Yg),e.Y36(ro),e.Y36(pa),e.Y36(ao),e.Y36(Yn),e.Y36(rs),e.Y36(za),e.Y36(vs.sK),e.Y36(zr),e.Y36($t),e.Y36(Hf),e.Y36(de))},R_.\u0275cmp=e.Xpm({type:R_,selectors:[["app-root"]],viewQuery:function(i,t){if(1&i&&(e.Gf(g5,5),e.Gf(_5,5),e.Gf(b5,5)),2&i){let n;e.iGM(n=e.CRH())&&(t.drawer=n.first),e.iGM(n=e.CRH())&&(t.draweraccount=n.first),e.iGM(n=e.CRH())&&(t.searchInput=n.first)}},decls:2,vars:2,consts:[[3,"ngClass","dir",4,"ngIf"],["class","app-container",3,"ngClass","dir",4,"ngIf"],[3,"ngClass","dir"],[1,"app-container",3,"ngClass","dir"],["id","title-bar",1,"title-bar"],["height","24","width","24","src","assets/icons/icon-128x128.webp",1,"logo-icon-title-bar"],[3,"miniplayer",4,"ngIf"],[1,"app-toolbar"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click",4,"ngIf"],["class","logo-icon","height","38","width","38","src","assets/icons/icon-128x128.webp",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],["class","top-spacer",4,"ngIf"],[4,"ngIf"],["class","search-box",4,"ngIf"],["mat-icon-button","",3,"mtBasicSpinner",4,"ngIf"],["width","38","height","38","mat-icon-button","","onerror","this.src='/assets/profile.png'","alt","avatar","class","topavatar",3,"src","click",4,"ngIf"],["autosize","true"],[1,"sidenav","print-hidden",3,"ngClass","mode","opened"],["drawer",""],["mat-menu-item","","routerLinkActive","active",3,"routerLink","routerLinkActiveOptions","click"],[3,"matBadgeHidden","matBadge"],["mat-menu-item","",3,"click"],[1,"new-post",3,"ngClass"],["tabindex","10","width","92","height","92","src","/assets/post.svg",1,"new-post-button",3,"click"],["fixedInViewport","","position","end",1,"sidenav-right","print-hidden",3,"mode"],["draweraccount",""],[1,"container"],["mat-icon-button","",1,"close-sidenav-icon",3,"click"],["mat-icon-button","",1,"mat-icon-button","theme-sidenav-icon",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"bio",3,"click"],["loading","lazy","alt","background","class","bg",3,"src",4,"ngIf"],[1,"desc"],[3,"routerLink","click"],[1,"avatarcontainer"],["width","96","height","96","onerror","this.src='/assets/profile.png'","alt","avatar",1,"avatar",3,"src"],[1,"content"],[1,"data"],[1,"opposite-link",3,"routerLink","click"],["hasBackdrop","true","backdropClass","menu-mode-backdrop","overlapTrigger","false"],["accounts","matMenu"],[1,"app-content"],[1,"app-outlet"],["class","app-mediaplayer",4,"ngIf"],[3,"miniplayer"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click"],["height","38","width","38","src","assets/icons/icon-128x128.webp",1,"logo-icon"],["mat-icon-button","",3,"click"],[1,"arrow-back"],[1,"top-spacer"],["mat-icon-button","",3,"matTooltip","click",4,"ngFor","ngForOf"],["mat-icon-button","",3,"matTooltip","click"],[1,"search-box"],[1,"search-box-input"],["matInput","","aria-label","Search",3,"formControl","matAutocomplete"],["searchInput",""],["auto","matAutocomplete"],["class","search-result-option",3,"value","onSelectionChange",4,"ngFor","ngForOf"],[1,"search-result-option",3,"value","onSelectionChange"],["height","32",1,"search-result-image",3,"src"],["mat-icon-button","",3,"mtBasicSpinner"],["width","38","height","38","mat-icon-button","","onerror","this.src='/assets/profile.png'","alt","avatar",1,"topavatar",3,"src","click"],["loading","lazy","alt","background",1,"bg",3,"src"],[1,"app-mediaplayer"]],template:function(i,t){1&i&&(e.YNc(0,y5,2,4,"div",0),e.YNc(1,dO,133,120,"div",1)),2&i&&(e.Q6J("ngIf",!t.authenticated),e.xp6(1),e.Q6J("ngIf",t.authenticated))},dependencies:[F.mk,F.sg,F.O5,Yt.lC,Yt.rH,Yt.Od,I.Lv,io,Ca,Ba,Dt.RK,ae.ey,KD,XF,eC,$F,Wn,GF,e_,du,bl,eM,fo,_I,NM,rl,ar,Sr,Nl,Is,x0,qD,N_,F.Ov],styles:[".logo-icon[_ngcontent-%COMP%]{cursor:pointer;-webkit-app-region:drag;margin-right:.4em}.logo-icon-title-bar[_ngcontent-%COMP%]{cursor:pointer;-webkit-app-region:drag;margin:4px;display:none;flex:0 0 24px}@media screen and (max-height: 200px){.logo-icon-title-bar[_ngcontent-%COMP%]{display:inline}.logo-icon[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 599px){.logo-icon-title-bar[_ngcontent-%COMP%]{display:inline}}.sidenav-small[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:0!important}.sidenav-small[_ngcontent-%COMP%] .logo-icon[_ngcontent-%COMP%]{width:56px!important}.sidenav-labels[_ngcontent-%COMP%]{width:200px}.top-spacer[_ngcontent-%COMP%]{flex:1 1 auto;margin-left:.4em;overflow:hidden;text-overflow:ellipsis}.mdc-list-item.active[_ngcontent-%COMP%]{background:rgba(156,39,176,.15)}header[_ngcontent-%COMP%]{display:block;overflow:hidden;position:relative;padding-bottom:2em}.container[_ngcontent-%COMP%]{width:320px;padding-bottom:1em}.bg[_ngcontent-%COMP%]{border-bottom:3px solid #9c27b0;height:220px}.bio[_ngcontent-%COMP%]:hover > .desc[_ngcontent-%COMP%]{cursor:pointer;opacity:1}.avatarcontainer[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0;left:0;margin:auto;width:102px;display:block}.avatarcontainer[_ngcontent-%COMP%]:hover > .hover[_ngcontent-%COMP%]{opacity:1}.avatar[_ngcontent-%COMP%]{width:100%;border:3px solid #9c27b0;border-radius:50%;overflow:hidden;position:relative;width:96px;height:96px}.avatar[_ngcontent-%COMP%]:hover{opacity:1;cursor:pointer}.topavatar[_ngcontent-%COMP%]{border-radius:50%;overflow:hidden;position:relative;width:38px;height:38px;margin-left:.2em}.topavatar[_ngcontent-%COMP%]:hover{opacity:.6;cursor:pointer}.data[_ngcontent-%COMP%]{margin-top:.6em;color:#81878b}.data[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:50%;text-align:center;display:inline-block}.data[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-inline-start:0!important}.data[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border:none}.data[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-transform:uppercase;font-size:.5em;margin-top:.6em;font-weight:700}.desc[_ngcontent-%COMP%]{position:absolute;top:0;background-color:#0009;width:100%;height:100%;max-height:220px;color:#fff;text-align:center;opacity:.8;transition-property:all;transition-duration:.3s;transition-timing-function:ease-in}.desc[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:.5em}.desc[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.9em;line-height:1.5em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.close-sidenav-icon[_ngcontent-%COMP%]{float:left;position:fixed;z-index:100000;margin:5px}.theme-sidenav-icon[_ngcontent-%COMP%]{float:right;position:fixed;z-index:100000;margin:5px;right:5px}.new-post[_ngcontent-%COMP%]{text-align:center}.new-post-button[_ngcontent-%COMP%]{width:92px;height:92px;position:fixed;bottom:2em;left:2.9em;cursor:pointer;transition:opacity .25s ease}.new-post-button[_ngcontent-%COMP%]:hover{opacity:.6}.search-box[_ngcontent-%COMP%]{padding-top:1em;top:20px;flex:1 1 auto;width:100%}.search-box-input[_ngcontent-%COMP%]{width:100%}.search-result-option[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:row!important;align-items:center!important}.search-result-image[_ngcontent-%COMP%]{margin-right:.2em;border-radius:50%}.search-result-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:.4em}.mat-drawer-content[_ngcontent-%COMP%]{overflow:hidden}.app-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;box-sizing:border-box;overflow:hidden}.app-outlet[_ngcontent-%COMP%]{flex:2 2 auto;box-sizing:border-box;overscroll-behavior-y:contain;overflow-x:hidden;overflow-y:overlay!important}.app-mediaplayer[_ngcontent-%COMP%]{flex-basis:96px;flex-grow:0;flex-shrink:1;box-sizing:border-box}"]});let hC=(r,i)=>!1,ZM=(r,i,t)=>[],zM=null;function mC(r){const i=r.parentNode||r.host;return i===zM?null:i}(lC()||typeof Element<"u")&&(zO()?(zM=(()=>document.documentElement)(),hC=(r,i)=>{for(;i;){if(i===r)return!0;i=mC(i)}return!1}):hC=(r,i)=>r.contains(i),ZM=(r,i,t)=>{if(t)return Array.from(r.querySelectorAll(i));const n=r.querySelector(i);return n?[n]:[]});let Wh=null,GM=!1;const WM=hC,qM=ZM;let QM=(()=>{class r{validateStyleProperty(t){return function WO(r){Wh||(Wh=function qO(){return typeof document<"u"?document.body:null}()||{},GM=!!Wh.style&&"WebkitAppearance"in Wh.style);let i=!0;return Wh.style&&!function GO(r){return"ebkit"==r.substring(1,6)}(r)&&(i=r in Wh.style,!i&&GM&&(i="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in Wh.style)),i}(t)}matchesElement(t,n){return!1}containsElement(t,n){return WM(t,n)}getParentElement(t){return mC(t)}query(t,n,a){return qM(t,n,a)}computeStyle(t,n,a){return a||""}animate(t,n,a,l,v,T=[],G){return new Ce.ZN(a,l)}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),fC=(()=>{class r{}return r.NOOP=new QM,r})();const QO=1e3,pC="ng-enter",rv="ng-leave",av="ng-trigger",ov=".ng-trigger",KM="ng-animating",gC=".ng-animating";function od(r){if("number"==typeof r)return r;const i=r.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:_C(parseFloat(i[1]),i[2])}function _C(r,i){return"s"===i?r*QO:r}function sv(r,i,t){return r.hasOwnProperty("duration")?r:function KO(r,i,t){let a,l=0,v="";if("string"==typeof r){const T=r.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===T)return i.push(UM()),{duration:0,delay:0,easing:""};a=_C(parseFloat(T[1]),T[2]);const G=T[3];null!=G&&(l=_C(parseFloat(G),T[4]));const z=T[5];z&&(v=z)}else a=r;if(!t){let T=!1,G=i.length;a<0&&(i.push(function uO(){return new e.vHH(3100,!1)}()),T=!0),l<0&&(i.push(function hO(){return new e.vHH(3101,!1)}()),T=!0),T&&i.splice(G,0,UM())}return{duration:a,delay:l,easing:v}}(r,i,t)}function P_(r,i={}){return Object.keys(r).forEach(t=>{i[t]=r[t]}),i}function $M(r){const i=new Map;return Object.keys(r).forEach(t=>{i.set(t,r[t])}),i}function Tu(r,i=new Map,t){if(t)for(let[n,a]of t)i.set(n,a);for(let[n,a]of r)i.set(n,a);return i}function e3(r,i,t){return t?i+":"+t+";":""}function t3(r){let i="";for(let t=0;t{const l=yC(a);t&&!t.has(a)&&t.set(a,r.style[l]),r.style[l]=n}),lC()&&t3(r))}function qh(r,i){r.style&&(i.forEach((t,n)=>{const a=yC(n);r.style[a]=""}),lC()&&t3(r))}function B_(r){return Array.isArray(r)?1==r.length?r[0]:(0,Ce.vP)(r):r}const bC=new RegExp("{{\\s*(.+?)\\s*}}","g");function n3(r){let i=[];if("string"==typeof r){let t;for(;t=bC.exec(r);)i.push(t[1]);bC.lastIndex=0}return i}function Y_(r,i,t){const n=r.toString(),a=n.replace(bC,(l,v)=>{let T=i[v];return null==T&&(t.push(function fO(r){return new e.vHH(3003,!1)}()),T=""),T.toString()});return a==n?r:a}function lv(r){const i=[];let t=r.next();for(;!t.done;)i.push(t.value),t=r.next();return i}const eL=/-+([a-z0-9])/g;function yC(r){return r.replace(eL,(...i)=>i[1].toUpperCase())}function tL(r){return r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Gs(r,i,t){switch(i.type){case 7:return r.visitTrigger(i,t);case 0:return r.visitState(i,t);case 1:return r.visitTransition(i,t);case 2:return r.visitSequence(i,t);case 3:return r.visitGroup(i,t);case 4:return r.visitAnimate(i,t);case 5:return r.visitKeyframes(i,t);case 6:return r.visitStyle(i,t);case 8:return r.visitReference(i,t);case 9:return r.visitAnimateChild(i,t);case 10:return r.visitAnimateRef(i,t);case 11:return r.visitQuery(i,t);case 12:return r.visitStagger(i,t);default:throw function pO(r){return new e.vHH(3004,!1)}()}}function r3(r,i){return window.getComputedStyle(r)[i]}const uv="*";function sL(r,i){const t=[];return"string"==typeof r?r.split(/\s*,\s*/).forEach(n=>function lL(r,i,t){if(":"==r[0]){const G=function cL(r,i){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,n)=>parseFloat(n)>parseFloat(t);case":decrement":return(t,n)=>parseFloat(n) *"}}(r,t);if("function"==typeof G)return void i.push(G);r=G}const n=r.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return t.push(function EO(r){return new e.vHH(3015,!1)}()),i;const a=n[1],l=n[2],v=n[3];i.push(a3(a,v));"<"==l[0]&&!(a==uv&&v==uv)&&i.push(a3(v,a))}(n,t,i)):t.push(r),t}const hv=new Set(["true","1"]),mv=new Set(["false","0"]);function a3(r,i){const t=hv.has(r)||mv.has(r),n=hv.has(i)||mv.has(i);return(a,l)=>{let v=r==uv||r==a,T=i==uv||i==l;return!v&&t&&"boolean"==typeof a&&(v=a?hv.has(r):mv.has(r)),!T&&n&&"boolean"==typeof l&&(T=l?hv.has(i):mv.has(i)),v&&T}}const dL=new RegExp("s*:selfs*,?","g");function vC(r,i,t,n){return new uL(r).build(i,t,n)}class uL{constructor(i){this._driver=i}build(i,t,n){const a=new fL(t);return this._resetContextStyleTimingState(a),Gs(this,B_(i),a)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,t){let n=t.queryCount=0,a=t.depCount=0;const l=[],v=[];return"@"==i.name.charAt(0)&&t.errors.push(function _O(){return new e.vHH(3006,!1)}()),i.definitions.forEach(T=>{if(this._resetContextStyleTimingState(t),0==T.type){const G=T,z=G.name;z.toString().split(/\s*,\s*/).forEach(be=>{G.name=be,l.push(this.visitState(G,t))}),G.name=z}else if(1==T.type){const G=this.visitTransition(T,t);n+=G.queryCount,a+=G.depCount,v.push(G)}else t.errors.push(function bO(){return new e.vHH(3007,!1)}())}),{type:7,name:i.name,states:l,transitions:v,queryCount:n,depCount:a,options:null}}visitState(i,t){const n=this.visitStyle(i.styles,t),a=i.options&&i.options.params||null;if(n.containsDynamicStyles){const l=new Set,v=a||{};n.styles.forEach(T=>{T instanceof Map&&T.forEach(G=>{n3(G).forEach(z=>{v.hasOwnProperty(z)||l.add(z)})})}),l.size&&(lv(l.values()),t.errors.push(function yO(r,i){return new e.vHH(3008,!1)}()))}return{type:0,name:i.name,style:n,options:a?{params:a}:null}}visitTransition(i,t){t.queryCount=0,t.depCount=0;const n=Gs(this,B_(i.animation),t);return{type:1,matchers:sL(i.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:Qh(i.options)}}visitSequence(i,t){return{type:2,steps:i.steps.map(n=>Gs(this,n,t)),options:Qh(i.options)}}visitGroup(i,t){const n=t.currentTime;let a=0;const l=i.steps.map(v=>{t.currentTime=n;const T=Gs(this,v,t);return a=Math.max(a,t.currentTime),T});return t.currentTime=a,{type:3,steps:l,options:Qh(i.options)}}visitAnimate(i,t){const n=function gL(r,i){if(r.hasOwnProperty("duration"))return r;if("number"==typeof r)return wC(sv(r,i).duration,0,"");const t=r;if(t.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=wC(0,0,"");return l.dynamic=!0,l.strValue=t,l}const a=sv(t,i);return wC(a.duration,a.delay,a.easing)}(i.timings,t.errors);t.currentAnimateTimings=n;let a,l=i.styles?i.styles:(0,Ce.oB)({});if(5==l.type)a=this.visitKeyframes(l,t);else{let v=i.styles,T=!1;if(!v){T=!0;const z={};n.easing&&(z.easing=n.easing),v=(0,Ce.oB)(z)}t.currentTime+=n.duration+n.delay;const G=this.visitStyle(v,t);G.isEmptyStep=T,a=G}return t.currentAnimateTimings=null,{type:4,timings:n,style:a,options:null}}visitStyle(i,t){const n=this._makeStyleAst(i,t);return this._validateStyleAst(n,t),n}_makeStyleAst(i,t){const n=[],a=Array.isArray(i.styles)?i.styles:[i.styles];for(let T of a)"string"==typeof T?T===Ce.l3?n.push(T):t.errors.push(new e.vHH(3002,!1)):n.push($M(T));let l=!1,v=null;return n.forEach(T=>{if(T instanceof Map&&(T.has("easing")&&(v=T.get("easing"),T.delete("easing")),!l))for(let G of T.values())if(G.toString().indexOf("{{")>=0){l=!0;break}}),{type:6,styles:n,easing:v,offset:i.offset,containsDynamicStyles:l,options:null}}_validateStyleAst(i,t){const n=t.currentAnimateTimings;let a=t.currentTime,l=t.currentTime;n&&l>0&&(l-=n.duration+n.delay),i.styles.forEach(v=>{"string"!=typeof v&&v.forEach((T,G)=>{const z=t.collectedStyles.get(t.currentQuerySelector),be=z.get(G);let Ve=!0;be&&(l!=a&&l>=be.startTime&&a<=be.endTime&&(t.errors.push(function wO(r,i,t,n,a){return new e.vHH(3010,!1)}()),Ve=!1),l=be.startTime),Ve&&z.set(G,{startTime:l,endTime:a}),t.options&&function XO(r,i,t){const n=i.params||{},a=n3(r);a.length&&a.forEach(l=>{n.hasOwnProperty(l)||t.push(function mO(r){return new e.vHH(3001,!1)}())})}(T,t.options,t.errors)})})}visitKeyframes(i,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function xO(){return new e.vHH(3011,!1)}()),n;let l=0;const v=[];let T=!1,G=!1,z=0;const be=i.steps.map(di=>{const Fi=this._makeStyleAst(di,t);let _i=null!=Fi.offset?Fi.offset:function pL(r){if("string"==typeof r)return null;let i=null;if(Array.isArray(r))r.forEach(t=>{if(t instanceof Map&&t.has("offset")){const n=t;i=parseFloat(n.get("offset")),n.delete("offset")}});else if(r instanceof Map&&r.has("offset")){const t=r;i=parseFloat(t.get("offset")),t.delete("offset")}return i}(Fi.styles),Li=0;return null!=_i&&(l++,Li=Fi.offset=_i),G=G||Li<0||Li>1,T=T||Li0&&l{const _i=bt>0?Fi==Pt?1:bt*Fi:v[Fi],Li=_i*ti;t.currentTime=Gt+ii.delay+Li,ii.duration=Li,this._validateStyleAst(di,t),di.offset=_i,n.styles.push(di)}),n}visitReference(i,t){return{type:8,animation:Gs(this,B_(i.animation),t),options:Qh(i.options)}}visitAnimateChild(i,t){return t.depCount++,{type:9,options:Qh(i.options)}}visitAnimateRef(i,t){return{type:10,animation:this.visitReference(i.animation,t),options:Qh(i.options)}}visitQuery(i,t){const n=t.currentQuerySelector,a=i.options||{};t.queryCount++,t.currentQuery=i;const[l,v]=function hL(r){const i=!!r.split(/\s*,\s*/).find(t=>":self"==t);return i&&(r=r.replace(dL,"")),r=r.replace(/@\*/g,ov).replace(/@\w+/g,t=>ov+"-"+t.slice(1)).replace(/:animating/g,gC),[r,i]}(i.selector);t.currentQuerySelector=n.length?n+" "+l:l,zs(t.collectedStyles,t.currentQuerySelector,new Map);const T=Gs(this,B_(i.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:l,limit:a.limit||0,optional:!!a.optional,includeSelf:v,animation:T,originalSelector:i.selector,options:Qh(i.options)}}visitStagger(i,t){t.currentQuery||t.errors.push(function DO(){return new e.vHH(3013,!1)}());const n="full"===i.timings?{duration:0,delay:0,easing:"full"}:sv(i.timings,t.errors,!0);return{type:12,animation:Gs(this,B_(i.animation),t),timings:n,options:null}}}class fL{constructor(i){this.errors=i,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 Qh(r){return r?(r=P_(r)).params&&(r.params=function mL(r){return r?P_(r):null}(r.params)):r={},r}function wC(r,i,t){return{duration:r,delay:i,easing:t}}function xC(r,i,t,n,a,l,v=null,T=!1){return{type:1,element:r,keyframes:i,preStyleProps:t,postStyleProps:n,duration:a,delay:l,totalTime:a+l,easing:v,subTimeline:T}}class fv{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,t){let n=this._map.get(i);n||this._map.set(i,n=[]),n.push(...t)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const yL=new RegExp(":enter","g"),wL=new RegExp(":leave","g");function FC(r,i,t,n,a,l=new Map,v=new Map,T,G,z=[]){return(new xL).buildKeyframes(r,i,t,n,a,l,v,T,G,z)}class xL{buildKeyframes(i,t,n,a,l,v,T,G,z,be=[]){z=z||new fv;const Ve=new CC(i,t,z,a,l,be,[]);Ve.options=G;const bt=G.delay?od(G.delay):0;Ve.currentTimeline.delayNextStep(bt),Ve.currentTimeline.setStyles([v],null,Ve.errors,G),Gs(this,n,Ve);const Pt=Ve.timelines.filter(Gt=>Gt.containsAnimation());if(Pt.length&&T.size){let Gt;for(let ii=Pt.length-1;ii>=0;ii--){const ti=Pt[ii];if(ti.element===t){Gt=ti;break}}Gt&&!Gt.allowOnlyTimelineStyles()&&Gt.setStyles([T],null,Ve.errors,G)}return Pt.length?Pt.map(Gt=>Gt.buildKeyframes()):[xC(t,[],[],[],0,bt,"",!1)]}visitTrigger(i,t){}visitState(i,t){}visitTransition(i,t){}visitAnimateChild(i,t){const n=t.subInstructions.get(t.element);if(n){const a=t.createSubContext(i.options),l=t.currentTimeline.currentTime,v=this._visitSubInstructions(n,a,a.options);l!=v&&t.transformIntoNewTimeline(v)}t.previousNode=i}visitAnimateRef(i,t){const n=t.createSubContext(i.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],t,n),this.visitReference(i.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=i}_applyAnimationRefDelays(i,t,n){for(const a of i){const l=a?.delay;if(l){const v="number"==typeof l?l:od(Y_(l,a?.params??{},t.errors));n.delayNextStep(v)}}}_visitSubInstructions(i,t,n){let l=t.currentTimeline.currentTime;const v=null!=n.duration?od(n.duration):null,T=null!=n.delay?od(n.delay):null;return 0!==v&&i.forEach(G=>{const z=t.appendInstructionToTimeline(G,v,T);l=Math.max(l,z.duration+z.delay)}),l}visitReference(i,t){t.updateOptions(i.options,!0),Gs(this,i.animation,t),t.previousNode=i}visitSequence(i,t){const n=t.subContextCount;let a=t;const l=i.options;if(l&&(l.params||l.delay)&&(a=t.createSubContext(l),a.transformIntoNewTimeline(),null!=l.delay)){6==a.previousNode.type&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=pv);const v=od(l.delay);a.delayNextStep(v)}i.steps.length&&(i.steps.forEach(v=>Gs(this,v,a)),a.currentTimeline.applyStylesToKeyframe(),a.subContextCount>n&&a.transformIntoNewTimeline()),t.previousNode=i}visitGroup(i,t){const n=[];let a=t.currentTimeline.currentTime;const l=i.options&&i.options.delay?od(i.options.delay):0;i.steps.forEach(v=>{const T=t.createSubContext(i.options);l&&T.delayNextStep(l),Gs(this,v,T),a=Math.max(a,T.currentTimeline.currentTime),n.push(T.currentTimeline)}),n.forEach(v=>t.currentTimeline.mergeTimelineCollectedStyles(v)),t.transformIntoNewTimeline(a),t.previousNode=i}_visitTiming(i,t){if(i.dynamic){const n=i.strValue;return sv(t.params?Y_(n,t.params,t.errors):n,t.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,t){const n=t.currentAnimateTimings=this._visitTiming(i.timings,t),a=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),a.snapshotCurrentStyles());const l=i.style;5==l.type?this.visitKeyframes(l,t):(t.incrementTime(n.duration),this.visitStyle(l,t),a.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=i}visitStyle(i,t){const n=t.currentTimeline,a=t.currentAnimateTimings;!a&&n.hasCurrentStyleProperties()&&n.forwardFrame();const l=a&&a.easing||i.easing;i.isEmptyStep?n.applyEmptyStep(l):n.setStyles(i.styles,l,t.errors,t.options),t.previousNode=i}visitKeyframes(i,t){const n=t.currentAnimateTimings,a=t.currentTimeline.duration,l=n.duration,T=t.createSubContext().currentTimeline;T.easing=n.easing,i.styles.forEach(G=>{T.forwardTime((G.offset||0)*l),T.setStyles(G.styles,G.easing,t.errors,t.options),T.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(T),t.transformIntoNewTimeline(a+l),t.previousNode=i}visitQuery(i,t){const n=t.currentTimeline.currentTime,a=i.options||{},l=a.delay?od(a.delay):0;l&&(6===t.previousNode.type||0==n&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=pv);let v=n;const T=t.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!a.optional,t.errors);t.currentQueryTotal=T.length;let G=null;T.forEach((z,be)=>{t.currentQueryIndex=be;const Ve=t.createSubContext(i.options,z);l&&Ve.delayNextStep(l),z===t.element&&(G=Ve.currentTimeline),Gs(this,i.animation,Ve),Ve.currentTimeline.applyStylesToKeyframe(),v=Math.max(v,Ve.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(v),G&&(t.currentTimeline.mergeTimelineCollectedStyles(G),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=i}visitStagger(i,t){const n=t.parentContext,a=t.currentTimeline,l=i.timings,v=Math.abs(l.duration),T=v*(t.currentQueryTotal-1);let G=v*t.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":G=T-G;break;case"full":G=n.currentStaggerTime}const be=t.currentTimeline;G&&be.delayNextStep(G);const Ve=be.currentTime;Gs(this,i.animation,t),t.previousNode=i,n.currentStaggerTime=a.currentTime-Ve+(a.startTime-n.currentTimeline.startTime)}}const pv={};class CC{constructor(i,t,n,a,l,v,T,G){this._driver=i,this.element=t,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=l,this.errors=v,this.timelines=T,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=pv,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=G||new gv(this._driver,t,0),T.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,t){if(!i)return;const n=i;let a=this.options;null!=n.duration&&(a.duration=od(n.duration)),null!=n.delay&&(a.delay=od(n.delay));const l=n.params;if(l){let v=a.params;v||(v=this.options.params={}),Object.keys(l).forEach(T=>{(!t||!v.hasOwnProperty(T))&&(v[T]=Y_(l[T],v,this.errors))})}}_copyOptions(){const i={};if(this.options){const t=this.options.params;if(t){const n=i.params={};Object.keys(t).forEach(a=>{n[a]=t[a]})}}return i}createSubContext(i=null,t,n){const a=t||this.element,l=new CC(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,n||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(i),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(i){return this.previousNode=pv,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,t,n){const a={duration:t??i.duration,delay:this.currentTimeline.currentTime+(n??0)+i.delay,easing:""},l=new FL(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,a,i.stretchStartingKeyframe);return this.timelines.push(l),a}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,t,n,a,l,v){let T=[];if(a&&T.push(this.element),i.length>0){i=(i=i.replace(yL,"."+this._enterClassName)).replace(wL,"."+this._leaveClassName);let z=this._driver.query(this.element,i,1!=n);0!==n&&(z=n<0?z.slice(z.length+n,z.length):z.slice(0,n)),T.push(...z)}return!l&&0==T.length&&v.push(function MO(r){return new e.vHH(3014,!1)}()),T}}class gv{constructor(i,t,n,a){this._driver=i,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=a,this.duration=0,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(i){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+i),t&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,t){return this.applyStylesToKeyframe(),new gv(this._driver,i,t||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(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,t){this._localTimelineStyles.set(i,t),this._globalTimelineStyles.set(i,t),this._styleSummary.set(i,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[t,n]of this._globalTimelineStyles)this._backFill.set(t,n||Ce.l3),this._currentKeyframe.set(t,Ce.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,t,n,a){t&&this._previousKeyframe.set("easing",t);const l=a&&a.params||{},v=function CL(r,i){const t=new Map;let n;return r.forEach(a=>{if("*"===a){n=n||i.keys();for(let l of n)t.set(l,Ce.l3)}else Tu(a,t)}),t}(i,this._globalTimelineStyles);for(let[T,G]of v){const z=Y_(G,l,n);this._pendingStyles.set(T,z),this._localTimelineStyles.has(T)||this._backFill.set(T,this._globalTimelineStyles.get(T)??Ce.l3),this._updateStyle(T,z)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((i,t)=>{this._currentKeyframe.set(t,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,i)}))}snapshotCurrentStyles(){for(let[i,t]of this._localTimelineStyles)this._pendingStyles.set(i,t),this._updateStyle(i,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const i=[];for(let t in this._currentKeyframe)i.push(t);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((t,n)=>{const a=this._styleSummary.get(n);(!a||t.time>a.time)&&this._updateStyle(n,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let a=[];this._keyframes.forEach((T,G)=>{const z=Tu(T,new Map,this._backFill);z.forEach((be,Ve)=>{be===Ce.k1?i.add(Ve):be===Ce.l3&&t.add(Ve)}),n||z.set("offset",G/this.duration),a.push(z)});const l=i.size?lv(i.values()):[],v=t.size?lv(t.values()):[];if(n){const T=a[0],G=new Map(T);T.set("offset",0),G.set("offset",1),a=[T,G]}return xC(this.element,a,l,v,this.duration,this.startTime,this.easing,!1)}}class FL extends gv{constructor(i,t,n,a,l,v,T=!1){super(i,t,v.delay),this.keyframes=n,this.preStyleProps=a,this.postStyleProps=l,this._stretchStartingKeyframe=T,this.timings={duration:v.duration,delay:v.delay,easing:v.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:t,duration:n,easing:a}=this.timings;if(this._stretchStartingKeyframe&&t){const l=[],v=n+t,T=t/v,G=Tu(i[0]);G.set("offset",0),l.push(G);const z=Tu(i[0]);z.set("offset",l3(T)),l.push(z);const be=i.length-1;for(let Ve=1;Ve<=be;Ve++){let bt=Tu(i[Ve]);const Pt=bt.get("offset");bt.set("offset",l3((t+Pt*n)/v)),l.push(bt)}n=v,t=0,a="",i=l}return xC(this.element,i,this.preStyleProps,this.postStyleProps,n,t,a,!0)}}function l3(r,i=3){const t=Math.pow(10,i-1);return Math.round(r*t)/t}class kC{}const kL=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 DL extends kC{normalizePropertyName(i,t){return yC(i)}normalizeStyleValue(i,t,n,a){let l="";const v=n.toString().trim();if(kL.has(t)&&0!==n&&"0"!==n)if("number"==typeof n)l="px";else{const T=n.match(/^[+-]?[\d\.]+([a-z]*)$/);T&&0==T[1].length&&a.push(function gO(r,i){return new e.vHH(3005,!1)}())}return v+l}}function c3(r,i,t,n,a,l,v,T,G,z,be,Ve,bt){return{type:0,element:r,triggerName:i,isRemovalTransition:a,fromState:t,fromStyles:l,toState:n,toStyles:v,timelines:T,queriedElements:G,preStyleProps:z,postStyleProps:be,totalTime:Ve,errors:bt}}const DC={};class d3{constructor(i,t,n){this._triggerName=i,this.ast=t,this._stateStyles=n}match(i,t,n,a){return function ML(r,i,t,n,a){return r.some(l=>l(i,t,n,a))}(this.ast.matchers,i,t,n,a)}buildStyles(i,t,n){let a=this._stateStyles.get("*");return void 0!==i&&(a=this._stateStyles.get(i?.toString())||a),a?a.buildStyles(t,n):new Map}build(i,t,n,a,l,v,T,G,z,be){const Ve=[],bt=this.ast.options&&this.ast.options.params||DC,Gt=this.buildStyles(n,T&&T.params||DC,Ve),ii=G&&G.params||DC,ti=this.buildStyles(a,ii,Ve),di=new Set,Fi=new Map,_i=new Map,Li="void"===a,fn={params:EL(ii,bt),delay:this.ast.options?.delay},Fn=be?[]:FC(i,t,this.ast.animation,l,v,Gt,ti,fn,z,Ve);let Cn=0;if(Fn.forEach(or=>{Cn=Math.max(or.duration+or.delay,Cn)}),Ve.length)return c3(t,this._triggerName,n,a,Li,Gt,ti,[],[],Fi,_i,Cn,Ve);Fn.forEach(or=>{const Dr=or.element,Zo=zs(Fi,Dr,new Set);or.preStyleProps.forEach(Wr=>Zo.add(Wr));const Eo=zs(_i,Dr,new Set);or.postStyleProps.forEach(Wr=>Eo.add(Wr)),Dr!==t&&di.add(Dr)});const cr=lv(di.values());return c3(t,this._triggerName,n,a,Li,Gt,ti,Fn,cr,Fi,_i,Cn)}}function EL(r,i){const t=P_(i);for(const n in r)r.hasOwnProperty(n)&&null!=r[n]&&(t[n]=r[n]);return t}class AL{constructor(i,t,n){this.styles=i,this.defaultParams=t,this.normalizer=n}buildStyles(i,t){const n=new Map,a=P_(this.defaultParams);return Object.keys(i).forEach(l=>{const v=i[l];null!==v&&(a[l]=v)}),this.styles.styles.forEach(l=>{"string"!=typeof l&&l.forEach((v,T)=>{v&&(v=Y_(v,a,t));const G=this.normalizer.normalizePropertyName(T,t);v=this.normalizer.normalizeStyleValue(T,G,v,t),n.set(T,v)})}),n}}class SL{constructor(i,t,n){this.name=i,this.ast=t,this._normalizer=n,this.transitionFactories=[],this.states=new Map,t.states.forEach(a=>{this.states.set(a.name,new AL(a.style,a.options&&a.options.params||{},n))}),u3(this.states,"true","1"),u3(this.states,"false","0"),t.transitions.forEach(a=>{this.transitionFactories.push(new d3(i,a,this.states))}),this.fallbackTransition=function IL(r,i,t){return new d3(r,{type:1,animation:{type:2,steps:[],options:null},matchers:[(v,T)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,t,n,a){return this.transitionFactories.find(v=>v.match(i,t,n,a))||null}matchStyles(i,t,n){return this.fallbackTransition.buildStyles(i,t,n)}}function u3(r,i,t){r.has(i)?r.has(t)||r.set(t,r.get(i)):r.has(t)&&r.set(i,r.get(t))}const OL=new fv;class LL{constructor(i,t,n){this.bodyNode=i,this._driver=t,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,t){const n=[],a=[],l=vC(this._driver,t,n,a);if(n.length)throw function LO(r){return new e.vHH(3503,!1)}();this._animations.set(i,l)}_buildPlayer(i,t,n){const a=i.element,l=jM(0,this._normalizer,0,i.keyframes,t,n);return this._driver.animate(a,l,i.duration,i.delay,i.easing,[],!0)}create(i,t,n={}){const a=[],l=this._animations.get(i);let v;const T=new Map;if(l?(v=FC(this._driver,t,l,pC,rv,new Map,new Map,n,OL,a),v.forEach(be=>{const Ve=zs(T,be.element,new Map);be.postStyleProps.forEach(bt=>Ve.set(bt,null))})):(a.push(function NO(){return new e.vHH(3300,!1)}()),v=[]),a.length)throw function RO(r){return new e.vHH(3504,!1)}();T.forEach((be,Ve)=>{be.forEach((bt,Pt)=>{be.set(Pt,this._driver.computeStyle(Ve,Pt,Ce.l3))})});const z=Au(v.map(be=>{const Ve=T.get(be.element);return this._buildPlayer(be,new Map,Ve)}));return this._playersById.set(i,z),z.onDestroy(()=>this.destroy(i)),this.players.push(z),z}destroy(i){const t=this._getPlayer(i);t.destroy(),this._playersById.delete(i);const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(i){const t=this._playersById.get(i);if(!t)throw function PO(r){return new e.vHH(3301,!1)}();return t}listen(i,t,n,a){const l=uC(t,"","","");return cC(this._getPlayer(i),n,l,a),()=>{}}command(i,t,n,a){if("register"==n)return void this.register(i,a[0]);if("create"==n)return void this.create(i,t,a[0]||{});const l=this._getPlayer(i);switch(n){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(i)}}}const h3="ng-animate-queued",MC="ng-animate-disabled",YL=[],m3={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},HL={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},xl="__ng_removed";class EC{get params(){return this.options.params}constructor(i,t=""){this.namespaceId=t;const n=i&&i.hasOwnProperty("value");if(this.value=function ZL(r){return r??null}(n?i.value:i),n){const l=P_(i);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){const t=i.params;if(t){const n=this.options.params;Object.keys(t).forEach(a=>{null==n[a]&&(n[a]=t[a])})}}}const H_="void",AC=new EC(H_);class UL{constructor(i,t,n){this.id=i,this.hostElement=t,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,Fl(t,this._hostClassName)}listen(i,t,n,a){if(!this._triggers.has(t))throw function BO(r,i){return new e.vHH(3302,!1)}();if(null==n||0==n.length)throw function YO(r){return new e.vHH(3303,!1)}();if(!function zL(r){return"start"==r||"done"==r}(n))throw function HO(r,i){return new e.vHH(3400,!1)}();const l=zs(this._elementListeners,i,[]),v={name:t,phase:n,callback:a};l.push(v);const T=zs(this._engine.statesByElement,i,new Map);return T.has(t)||(Fl(i,av),Fl(i,av+"-"+t),T.set(t,AC)),()=>{this._engine.afterFlush(()=>{const G=l.indexOf(v);G>=0&&l.splice(G,1),this._triggers.has(t)||T.delete(t)})}}register(i,t){return!this._triggers.has(i)&&(this._triggers.set(i,t),!0)}_getTrigger(i){const t=this._triggers.get(i);if(!t)throw function UO(r){return new e.vHH(3401,!1)}();return t}trigger(i,t,n,a=!0){const l=this._getTrigger(t),v=new TC(this.id,t,i);let T=this._engine.statesByElement.get(i);T||(Fl(i,av),Fl(i,av+"-"+t),this._engine.statesByElement.set(i,T=new Map));let G=T.get(t);const z=new EC(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&G&&z.absorbOptions(G.options),T.set(t,z),G||(G=AC),z.value!==H_&&G.value===z.value){if(!function qL(r,i){const t=Object.keys(r),n=Object.keys(i);if(t.length!=n.length)return!1;for(let a=0;a{qh(i,ti),Ac(i,di)})}return}const bt=zs(this._engine.playersByElement,i,[]);bt.forEach(ii=>{ii.namespaceId==this.id&&ii.triggerName==t&&ii.queued&&ii.destroy()});let Pt=l.matchTransition(G.value,z.value,i,z.params),Gt=!1;if(!Pt){if(!a)return;Pt=l.fallbackTransition,Gt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:t,transition:Pt,fromState:G,toState:z,player:v,isFallbackTransition:Gt}),Gt||(Fl(i,h3),v.onStart(()=>{Uf(i,h3)})),v.onDone(()=>{let ii=this.players.indexOf(v);ii>=0&&this.players.splice(ii,1);const ti=this._engine.playersByElement.get(i);if(ti){let di=ti.indexOf(v);di>=0&&ti.splice(di,1)}}),this.players.push(v),bt.push(v),v}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(t=>t.delete(i)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(a=>a.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);const t=this._engine.playersByElement.get(i);t&&(t.forEach(n=>n.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,t){const n=this._engine.driver.query(i,ov,!0);n.forEach(a=>{if(a[xl])return;const l=this._engine.fetchNamespacesByElement(a);l.size?l.forEach(v=>v.triggerLeaveAnimation(a,t,!1,!0)):this.clearElementCache(a)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(a=>this.clearElementCache(a)))}triggerLeaveAnimation(i,t,n,a){const l=this._engine.statesByElement.get(i),v=new Map;if(l){const T=[];if(l.forEach((G,z)=>{if(v.set(z,G.value),this._triggers.has(z)){const be=this.trigger(i,z,H_,a);be&&T.push(be)}}),T.length)return this._engine.markElementAsRemoved(this.id,i,!0,t,v),n&&Au(T).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const t=this._elementListeners.get(i),n=this._engine.statesByElement.get(i);if(t&&n){const a=new Set;t.forEach(l=>{const v=l.name;if(a.has(v))return;a.add(v);const G=this._triggers.get(v).fallbackTransition,z=n.get(v)||AC,be=new EC(H_),Ve=new TC(this.id,v,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:v,transition:G,fromState:z,toState:be,player:Ve,isFallbackTransition:!0})})}}removeNode(i,t){const n=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,t),this.triggerLeaveAnimation(i,t,!0))return;let a=!1;if(n.totalAnimations){const l=n.players.length?n.playersByQueriedElement.get(i):[];if(l&&l.length)a=!0;else{let v=i;for(;v=v.parentNode;)if(n.statesByElement.get(v)){a=!0;break}}}if(this.prepareLeaveAnimationListeners(i),a)n.markElementAsRemoved(this.id,i,!1,t);else{const l=i[xl];(!l||l===m3)&&(n.afterFlush(()=>this.clearElementCache(i)),n.destroyInnerAnimations(i),n._onRemovalComplete(i,t))}}insertNode(i,t){Fl(i,this._hostClassName)}drainQueuedTransitions(i){const t=[];return this._queue.forEach(n=>{const a=n.player;if(a.destroyed)return;const l=n.element,v=this._elementListeners.get(l);v&&v.forEach(T=>{if(T.name==n.triggerName){const G=uC(l,n.triggerName,n.fromState.value,n.toState.value);G._data=i,cC(n.player,T.phase,G,T.callback)}}),a.markedForDestroy?this._engine.afterFlush(()=>{a.destroy()}):t.push(n)}),this._queue=[],t.sort((n,a)=>{const l=n.transition.ast.depCount,v=a.transition.ast.depCount;return 0==l||0==v?l-v:this._engine.driver.containsElement(n.element,a.element)?1:-1})}destroy(i){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}elementContainsData(i){let t=!1;return this._elementListeners.has(i)&&(t=!0),t=!!this._queue.find(n=>n.element===i)||t,t}}class jL{_onRemovalComplete(i,t){this.onRemovalComplete(i,t)}constructor(i,t,n){this.bodyNode=i,this.driver=t,this._normalizer=n,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=(a,l)=>{}}get queuedPlayers(){const i=[];return this._namespaceList.forEach(t=>{t.players.forEach(n=>{n.queued&&i.push(n)})}),i}createNamespace(i,t){const n=new UL(i,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[i]=n}_balanceNamespaceList(i,t){const n=this._namespaceList,a=this.namespacesByHostElement;if(n.length-1>=0){let v=!1,T=this.driver.getParentElement(t);for(;T;){const G=a.get(T);if(G){const z=n.indexOf(G);n.splice(z+1,0,i),v=!0;break}T=this.driver.getParentElement(T)}v||n.unshift(i)}else n.push(i);return a.set(t,i),i}register(i,t){let n=this._namespaceLookup[i];return n||(n=this.createNamespace(i,t)),n}registerTrigger(i,t,n){let a=this._namespaceLookup[i];a&&a.register(t,n)&&this.totalAnimations++}destroy(i,t){if(!i)return;const n=this._fetchNamespace(i);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[i];const a=this._namespaceList.indexOf(n);a>=0&&this._namespaceList.splice(a,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const t=new Set,n=this.statesByElement.get(i);if(n)for(let a of n.values())if(a.namespaceId){const l=this._fetchNamespace(a.namespaceId);l&&t.add(l)}return t}trigger(i,t,n,a){if(_v(t)){const l=this._fetchNamespace(i);if(l)return l.trigger(t,n,a),!0}return!1}insertNode(i,t,n,a){if(!_v(t))return;const l=t[xl];if(l&&l.setForRemoval){l.setForRemoval=!1,l.setForMove=!0;const v=this.collectedLeaveElements.indexOf(t);v>=0&&this.collectedLeaveElements.splice(v,1)}if(i){const v=this._fetchNamespace(i);v&&v.insertNode(t,n)}a&&this.collectEnterElement(t)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,t){t?this.disabledNodes.has(i)||(this.disabledNodes.add(i),Fl(i,MC)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),Uf(i,MC))}removeNode(i,t,n,a){if(_v(t)){const l=i?this._fetchNamespace(i):null;if(l?l.removeNode(t,a):this.markElementAsRemoved(i,t,!1,a),n){const v=this.namespacesByHostElement.get(t);v&&v.id!==i&&v.removeNode(t,a)}}else this._onRemovalComplete(t,a)}markElementAsRemoved(i,t,n,a,l){this.collectedLeaveElements.push(t),t[xl]={namespaceId:i,setForRemoval:a,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:l}}listen(i,t,n,a,l){return _v(t)?this._fetchNamespace(i).listen(t,n,a,l):()=>{}}_buildInstruction(i,t,n,a,l){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,n,a,i.fromState.options,i.toState.options,t,l)}destroyInnerAnimations(i){let t=this.driver.query(i,ov,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(i,gC,!0),t.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(i){const t=this.playersByElement.get(i);t&&t.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(i){const t=this.playersByQueriedElement.get(i);t&&t.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return Au(this.players).onDone(()=>i());i()})}processLeaveNode(i){const t=i[xl];if(t&&t.setForRemoval){if(i[xl]=m3,t.namespaceId){this.destroyInnerAnimations(i);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(i)}this._onRemovalComplete(i,t.setForRemoval)}i.classList?.contains(MC)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(i=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,a)=>this._balanceNamespaceList(n,a)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){const n=this._whenQuietFns;this._whenQuietFns=[],t.length?Au(t).onDone(()=>{n.forEach(a=>a())}):n.forEach(a=>a())}}reportError(i){throw function jO(r){return new e.vHH(3402,!1)}()}_flushAnimations(i,t){const n=new fv,a=[],l=new Map,v=[],T=new Map,G=new Map,z=new Map,be=new Set;this.disabledNodes.forEach(en=>{be.add(en);const kn=this.driver.query(en,".ng-animate-queued",!0);for(let In=0;In{const In=pC+ii++;Gt.set(kn,In),en.forEach(yr=>Fl(yr,In))});const ti=[],di=new Set,Fi=new Set;for(let en=0;endi.add(yr)):Fi.add(kn))}const _i=new Map,Li=g3(bt,Array.from(di));Li.forEach((en,kn)=>{const In=rv+ii++;_i.set(kn,In),en.forEach(yr=>Fl(yr,In))}),i.push(()=>{Pt.forEach((en,kn)=>{const In=Gt.get(kn);en.forEach(yr=>Uf(yr,In))}),Li.forEach((en,kn)=>{const In=_i.get(kn);en.forEach(yr=>Uf(yr,In))}),ti.forEach(en=>{this.processLeaveNode(en)})});const fn=[],Fn=[];for(let en=this._namespaceList.length-1;en>=0;en--)this._namespaceList[en].drainQueuedTransitions(t).forEach(In=>{const yr=In.player,Ao=In.element;if(fn.push(yr),this.collectedEnterElements.length){const zo=Ao[xl];if(zo&&zo.setForMove){if(zo.previousTriggersValues&&zo.previousTriggersValues.has(In.triggerName)){const em=zo.previousTriggersValues.get(In.triggerName),Cl=this.statesByElement.get(In.element);if(Cl&&Cl.has(In.triggerName)){const Pv=Cl.get(In.triggerName);Pv.value=em,Cl.set(In.triggerName,Pv)}}return void yr.destroy()}}const Sc=!Ve||!this.driver.containsElement(Ve,Ao),Ws=_i.get(Ao),Iu=Gt.get(Ao),Ea=this._buildInstruction(In,n,Iu,Ws,Sc);if(Ea.errors&&Ea.errors.length)return void Fn.push(Ea);if(Sc)return yr.onStart(()=>qh(Ao,Ea.fromStyles)),yr.onDestroy(()=>Ac(Ao,Ea.toStyles)),void a.push(yr);if(In.isFallbackTransition)return yr.onStart(()=>qh(Ao,Ea.fromStyles)),yr.onDestroy(()=>Ac(Ao,Ea.toStyles)),void a.push(yr);const hE=[];Ea.timelines.forEach(zo=>{zo.stretchStartingKeyframe=!0,this.disabledNodes.has(zo.element)||hE.push(zo)}),Ea.timelines=hE,n.append(Ao,Ea.timelines),v.push({instruction:Ea,player:yr,element:Ao}),Ea.queriedElements.forEach(zo=>zs(T,zo,[]).push(yr)),Ea.preStyleProps.forEach((zo,em)=>{if(zo.size){let Cl=G.get(em);Cl||G.set(em,Cl=new Set),zo.forEach((Pv,KC)=>Cl.add(KC))}}),Ea.postStyleProps.forEach((zo,em)=>{let Cl=z.get(em);Cl||z.set(em,Cl=new Set),zo.forEach((Pv,KC)=>Cl.add(KC))})});if(Fn.length){const en=[];Fn.forEach(kn=>{en.push(function VO(r,i){return new e.vHH(3505,!1)}())}),fn.forEach(kn=>kn.destroy()),this.reportError(en)}const Cn=new Map,cr=new Map;v.forEach(en=>{const kn=en.element;n.has(kn)&&(cr.set(kn,kn),this._beforeAnimationBuild(en.player.namespaceId,en.instruction,Cn))}),a.forEach(en=>{const kn=en.element;this._getPreviousPlayers(kn,!1,en.namespaceId,en.triggerName,null).forEach(yr=>{zs(Cn,kn,[]).push(yr),yr.destroy()})});const or=ti.filter(en=>b3(en,G,z)),Dr=new Map;p3(Dr,this.driver,Fi,z,Ce.l3).forEach(en=>{b3(en,G,z)&&or.push(en)});const Eo=new Map;Pt.forEach((en,kn)=>{p3(Eo,this.driver,new Set(en),G,Ce.k1)}),or.forEach(en=>{const kn=Dr.get(en),In=Eo.get(en);Dr.set(en,new Map([...Array.from(kn?.entries()??[]),...Array.from(In?.entries()??[])]))});const Wr=[],Su=[],Xh={};v.forEach(en=>{const{element:kn,player:In,instruction:yr}=en;if(n.has(kn)){if(be.has(kn))return In.onDestroy(()=>Ac(kn,yr.toStyles)),In.disabled=!0,In.overrideTotalTime(yr.totalTime),void a.push(In);let Ao=Xh;if(cr.size>1){let Ws=kn;const Iu=[];for(;Ws=Ws.parentNode;){const Ea=cr.get(Ws);if(Ea){Ao=Ea;break}Iu.push(Ws)}Iu.forEach(Ea=>cr.set(Ea,Ao))}const Sc=this._buildAnimation(In.namespaceId,yr,Cn,l,Eo,Dr);if(In.setRealPlayer(Sc),Ao===Xh)Wr.push(In);else{const Ws=this.playersByElement.get(Ao);Ws&&Ws.length&&(In.parentPlayer=Au(Ws)),a.push(In)}}else qh(kn,yr.fromStyles),In.onDestroy(()=>Ac(kn,yr.toStyles)),Su.push(In),be.has(kn)&&a.push(In)}),Su.forEach(en=>{const kn=l.get(en.element);if(kn&&kn.length){const In=Au(kn);en.setRealPlayer(In)}}),a.forEach(en=>{en.parentPlayer?en.syncPlayerEvents(en.parentPlayer):en.destroy()});for(let en=0;en!Sc.destroyed);Ao.length?GL(this,kn,Ao):this.processLeaveNode(kn)}return ti.length=0,Wr.forEach(en=>{this.players.push(en),en.onDone(()=>{en.destroy();const kn=this.players.indexOf(en);this.players.splice(kn,1)}),en.play()}),Wr}elementContainsData(i,t){let n=!1;const a=t[xl];return a&&a.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(i).elementContainsData(t)||n}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,t,n,a,l){let v=[];if(t){const T=this.playersByQueriedElement.get(i);T&&(v=T)}else{const T=this.playersByElement.get(i);if(T){const G=!l||l==H_;T.forEach(z=>{z.queued||!G&&z.triggerName!=a||v.push(z)})}}return(n||a)&&(v=v.filter(T=>!(n&&n!=T.namespaceId||a&&a!=T.triggerName))),v}_beforeAnimationBuild(i,t,n){const l=t.element,v=t.isRemovalTransition?void 0:i,T=t.isRemovalTransition?void 0:t.triggerName;for(const G of t.timelines){const z=G.element,be=z!==l,Ve=zs(n,z,[]);this._getPreviousPlayers(z,be,v,T,t.toState).forEach(Pt=>{const Gt=Pt.getRealPlayer();Gt.beforeDestroy&&Gt.beforeDestroy(),Pt.destroy(),Ve.push(Pt)})}qh(l,t.fromStyles)}_buildAnimation(i,t,n,a,l,v){const T=t.triggerName,G=t.element,z=[],be=new Set,Ve=new Set,bt=t.timelines.map(Gt=>{const ii=Gt.element;be.add(ii);const ti=ii[xl];if(ti&&ti.removedBeforeQueried)return new Ce.ZN(Gt.duration,Gt.delay);const di=ii!==G,Fi=function WL(r){const i=[];return _3(r,i),i}((n.get(ii)||YL).map(Cn=>Cn.getRealPlayer())).filter(Cn=>!!Cn.element&&Cn.element===ii),_i=l.get(ii),Li=v.get(ii),fn=jM(0,this._normalizer,0,Gt.keyframes,_i,Li),Fn=this._buildPlayer(Gt,fn,Fi);if(Gt.subTimeline&&a&&Ve.add(ii),di){const Cn=new TC(i,T,ii);Cn.setRealPlayer(Fn),z.push(Cn)}return Fn});z.forEach(Gt=>{zs(this.playersByQueriedElement,Gt.element,[]).push(Gt),Gt.onDone(()=>function VL(r,i,t){let n=r.get(i);if(n){if(n.length){const a=n.indexOf(t);n.splice(a,1)}0==n.length&&r.delete(i)}return n}(this.playersByQueriedElement,Gt.element,Gt))}),be.forEach(Gt=>Fl(Gt,KM));const Pt=Au(bt);return Pt.onDestroy(()=>{be.forEach(Gt=>Uf(Gt,KM)),Ac(G,t.toStyles)}),Ve.forEach(Gt=>{zs(a,Gt,[]).push(Pt)}),Pt}_buildPlayer(i,t,n){return t.length>0?this.driver.animate(i.element,t,i.duration,i.delay,i.easing,n):new Ce.ZN(i.duration,i.delay)}}class TC{constructor(i,t,n){this.namespaceId=i,this.triggerName=t,this.element=n,this._player=new Ce.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((t,n)=>{t.forEach(a=>cC(i,n,void 0,a))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){const t=this._player;t.triggerCallback&&i.onStart(()=>t.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,t){zs(this._queuedCallbacks,i,[]).push(t)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){const t=this._player;t.triggerCallback&&t.triggerCallback(i)}}function _v(r){return r&&1===r.nodeType}function f3(r,i){const t=r.style.display;return r.style.display=i??"none",t}function p3(r,i,t,n,a){const l=[];t.forEach(G=>l.push(f3(G)));const v=[];n.forEach((G,z)=>{const be=new Map;G.forEach(Ve=>{const bt=i.computeStyle(z,Ve,a);be.set(Ve,bt),(!bt||0==bt.length)&&(z[xl]=HL,v.push(z))}),r.set(z,be)});let T=0;return t.forEach(G=>f3(G,l[T++])),v}function g3(r,i){const t=new Map;if(r.forEach(T=>t.set(T,[])),0==i.length)return t;const n=1,a=new Set(i),l=new Map;function v(T){if(!T)return n;let G=l.get(T);if(G)return G;const z=T.parentNode;return G=t.has(z)?z:a.has(z)?n:v(z),l.set(T,G),G}return i.forEach(T=>{const G=v(T);G!==n&&t.get(G).push(T)}),t}function Fl(r,i){r.classList?.add(i)}function Uf(r,i){r.classList?.remove(i)}function GL(r,i,t){Au(t).onDone(()=>r.processLeaveNode(i))}function _3(r,i){for(let t=0;ta.add(l)):i.set(r,n),t.delete(r),!0}class bv{constructor(i,t,n){this.bodyNode=i,this._driver=t,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(a,l)=>{},this._transitionEngine=new jL(i,t,n),this._timelineEngine=new LL(i,t,n),this._transitionEngine.onRemovalComplete=(a,l)=>this.onRemovalComplete(a,l)}registerTrigger(i,t,n,a,l){const v=i+"-"+a;let T=this._triggerCache[v];if(!T){const G=[],z=[],be=vC(this._driver,l,G,z);if(G.length)throw function IO(r,i){return new e.vHH(3404,!1)}();T=function TL(r,i,t){return new SL(r,i,t)}(a,be,this._normalizer),this._triggerCache[v]=T}this._transitionEngine.registerTrigger(t,a,T)}register(i,t){this._transitionEngine.register(i,t)}destroy(i,t){this._transitionEngine.destroy(i,t)}onInsert(i,t,n,a){this._transitionEngine.insertNode(i,t,n,a)}onRemove(i,t,n,a){this._transitionEngine.removeNode(i,t,a||!1,n)}disableAnimations(i,t){this._transitionEngine.markElementAsDisabled(i,t)}process(i,t,n,a){if("@"==n.charAt(0)){const[l,v]=VM(n);this._timelineEngine.command(l,t,v,a)}else this._transitionEngine.trigger(i,t,n,a)}listen(i,t,n,a,l){if("@"==n.charAt(0)){const[v,T]=VM(n);return this._timelineEngine.listen(v,t,T,l)}return this._transitionEngine.listen(i,t,n,a,l)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let JL=(()=>{class r{constructor(t,n,a){this._element=t,this._startStyles=n,this._endStyles=a,this._state=0;let l=r.initialStylesByElement.get(t);l||r.initialStylesByElement.set(t,l=new Map),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&Ac(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ac(this._element,this._initialStyles),this._endStyles&&(Ac(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(r.initialStylesByElement.delete(this._element),this._startStyles&&(qh(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qh(this._element,this._endStyles),this._endStyles=null),Ac(this._element,this._initialStyles),this._state=3)}}return r.initialStylesByElement=new WeakMap,r})();function SC(r){let i=null;return r.forEach((t,n)=>{(function KL(r){return"display"===r||"position"===r})(n)&&(i=i||new Map,i.set(n,t))}),i}class y3{constructor(i,t,n,a){this.element=i,this.keyframes=t,this.options=n,this._specialStyles=a,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){const t=[];return i.forEach(n=>{t.push(Object.fromEntries(n))}),t}_triggerWebAnimation(i,t,n){return i.animate(this._convertKeyframesToObject(t),n)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),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(i=>i()),this._onDestroyFns=[])}setPosition(i){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,a)=>{"offset"!==a&&i.set(a,this._finished?n:r3(this.element,a))}),this.currentSnapshot=i}triggerCallback(i){const t="start"===i?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}}class $L{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,t){return!1}containsElement(i,t){return WM(i,t)}getParentElement(i){return mC(i)}query(i,t,n){return qM(i,t,n)}computeStyle(i,t,n){return window.getComputedStyle(i)[t]}animate(i,t,n,a,l,v=[]){const G={duration:n,delay:a,fill:0==a?"both":"forwards"};l&&(G.easing=l);const z=new Map,be=v.filter(Pt=>Pt instanceof y3);(function iL(r,i){return 0===r||0===i})(n,a)&&be.forEach(Pt=>{Pt.currentSnapshot.forEach((Gt,ii)=>z.set(ii,Gt))});let Ve=function $O(r){return r.length?r[0]instanceof Map?r:r.map(i=>$M(i)):[]}(t).map(Pt=>Tu(Pt));Ve=function nL(r,i,t){if(t.size&&i.length){let n=i[0],a=[];if(t.forEach((l,v)=>{n.has(v)||a.push(v),n.set(v,l)}),a.length)for(let l=1;lv.set(T,r3(r,T)))}}return i}(i,Ve,z);const bt=function QL(r,i){let t=null,n=null;return Array.isArray(i)&&i.length?(t=SC(i[0]),i.length>1&&(n=SC(i[i.length-1]))):i instanceof Map&&(t=SC(i)),t||n?new JL(r,t,n):null}(i,Ve);return new y3(i,Ve,G,bt)}}let XL=(()=>{class r extends Ce._j{constructor(t,n){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(n.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(t){const n=this._nextAnimationId.toString();this._nextAnimationId++;const a=Array.isArray(t)?(0,Ce.vP)(t):t;return v3(this._renderer,null,n,"register",[a]),new eN(n,this._renderer)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(e.FYo),e.LFG(F.K0))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();class eN extends Ce.LC{constructor(i,t){super(),this._id=i,this._renderer=t}create(i,t){return new tN(this._id,i,t||{},this._renderer)}}class tN{constructor(i,t,n,a){this.id=i,this.element=t,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(i,t){return this._renderer.listen(this.element,`@@${this.id}:${i}`,t)}_command(i,...t){return v3(this._renderer,this.element,this.id,i,t)}onDone(i){this._listen("done",i)}onStart(i){this._listen("start",i)}onDestroy(i){this._listen("destroy",i)}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(i){this._command("setPosition",i)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function v3(r,i,t,n,a){return r.setProperty(i,`@@${t}:${n}`,a)}const w3="@.disabled";let iN=(()=>{class r{constructor(t,n,a){this.delegate=t,this.engine=n,this._zone=a,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=(l,v)=>{const T=v?.parentNode(l);T&&v.removeChild(T,l)}}createRenderer(t,n){const l=this.delegate.createRenderer(t,n);if(!(t&&n&&n.data&&n.data.animation)){let be=this._rendererCache.get(l);return be||(be=new x3("",l,this.engine,()=>this._rendererCache.delete(l)),this._rendererCache.set(l,be)),be}const v=n.id,T=n.id+"-"+this._currentId;this._currentId++,this.engine.register(T,t);const G=be=>{Array.isArray(be)?be.forEach(G):this.engine.registerTrigger(v,T,t,be.name,be)};return n.data.animation.forEach(G),new nN(this,T,l,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,n,a){t>=0&&tn(a)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(l=>{const[v,T]=l;v(T)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([n,a]))}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()}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(e.FYo),e.LFG(bv),e.LFG(e.R0b))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();class x3{constructor(i,t,n,a){this.namespaceId=i,this.delegate=t,this.engine=n,this._onDestroy=a,this.destroyNode=this.delegate.destroyNode?l=>t.destroyNode(l):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(i,t){return this.delegate.createElement(i,t)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,t){this.delegate.appendChild(i,t),this.engine.onInsert(this.namespaceId,t,i,!1)}insertBefore(i,t,n,a=!0){this.delegate.insertBefore(i,t,n),this.engine.onInsert(this.namespaceId,t,i,a)}removeChild(i,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(i,t){return this.delegate.selectRootElement(i,t)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,t,n,a){this.delegate.setAttribute(i,t,n,a)}removeAttribute(i,t,n){this.delegate.removeAttribute(i,t,n)}addClass(i,t){this.delegate.addClass(i,t)}removeClass(i,t){this.delegate.removeClass(i,t)}setStyle(i,t,n,a){this.delegate.setStyle(i,t,n,a)}removeStyle(i,t,n){this.delegate.removeStyle(i,t,n)}setProperty(i,t,n){"@"==t.charAt(0)&&t==w3?this.disableAnimations(i,!!n):this.delegate.setProperty(i,t,n)}setValue(i,t){this.delegate.setValue(i,t)}listen(i,t,n){return this.delegate.listen(i,t,n)}disableAnimations(i,t){this.engine.disableAnimations(i,t)}}class nN extends x3{constructor(i,t,n,a,l){super(t,n,a,l),this.factory=i,this.namespaceId=t}setProperty(i,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&t==w3?this.disableAnimations(i,n=void 0===n||!!n):this.engine.process(this.namespaceId,i,t.slice(1),n):this.delegate.setProperty(i,t,n)}listen(i,t,n){if("@"==t.charAt(0)){const a=function rN(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}(i);let l=t.slice(1),v="";return"@"!=l.charAt(0)&&([l,v]=function aN(r){const i=r.indexOf(".");return[r.substring(0,i),r.slice(i+1)]}(l)),this.engine.listen(this.namespaceId,a,l,v,T=>{this.factory.scheduleListenerCallback(T._data||-1,n,T)})}return this.delegate.listen(i,t,n)}}let oN=(()=>{class r extends bv{constructor(t,n,a,l){super(t.body,n,a)}ngOnDestroy(){this.flush()}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(F.K0),e.LFG(fC),e.LFG(kC),e.LFG(e.z2F))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const F3=[{provide:Ce._j,useClass:XL},{provide:kC,useFactory:function sN(){return new DL}},{provide:bv,useClass:oN},{provide:e.FYo,useFactory:function lN(r,i,t){return new iN(r,i,t)},deps:[f.se,bv,e.R0b]}],IC=[{provide:fC,useFactory:()=>new $L},{provide:e.QbO,useValue:"BrowserAnimations"},...F3],C3=[{provide:fC,useClass:QM},{provide:e.QbO,useValue:"NoopAnimations"},...F3];let cN=(()=>{class r{static withConfig(t){return{ngModule:r,providers:t.disableAnimations?C3:IC}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:IC,imports:[f.b2]}),r})(),wN=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,F.ez,ae.si,ae.BQ]}),r})(),CN=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.uc,ae.BQ,ae.uc,ae.BQ]}),r})(),AN=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})(),PN=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[AN,ae.BQ,ae.BQ]}),r})(),KN=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[kr.Cl]}),r})(),p8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,KN,ae.BQ]}),r})(),U3=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})(),A8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,ae.si,U3,ae.BQ,U3]}),r})(),T8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[I.vT]}),r})(),WC=(()=>{class r{constructor(){this.changes=new D.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const U8={provide:WC,deps:[[new e.FiY,new e.tp0,WC]],useFactory:function H8(r){return r||new WC}};let Z8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[U8,ae.rD],imports:[ae.BQ,F.ez,k.eL,T8,Rd,ae.si,ae.BQ]}),r})(),qC=(()=>{class r{constructor(){this.changes=new D.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,n,a)=>{if(0==a||0==n)return`0 of ${a}`;const l=t*n;return`${l+1} \u2013 ${l<(a=Math.max(a,0))?Math.min(l+n,a):l+n} of ${a}`}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const Q8={provide:qC,deps:[[new e.FiY,new e.tp0,qC]],useFactory:function q8(r){return r||new qC}};let J8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[Q8],imports:[F.ez,Dt.ot,Ng,ng]}),r})(),$8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ]}),r})(),tR=(()=>{class r{constructor(){this.changes=new D.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(t,n){return`${t} \u2013 ${n}`}formatYearRangeLabel(t,n){return`${t} to ${n}`}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();class Kh{constructor(i,t){this.start=i,this.end=t}}const W3={provide:new e.OlP("mat-datepicker-scroll-strategy"),deps:[_.aV],useFactory:function dR(r){return()=>r.scrollStrategies.reposition()}};let J3=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[tR,W3],imports:[F.ez,Dt.ot,_.U8,g.rt,k.eL,ae.BQ,kr.ZD]}),r})(),K3=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.si,ae.BQ,ae.BQ]}),r})();const _R=["connectionContainer"],bR=["inputContainer"],yR=["label"];function vR(r,i){1&r&&(e.ynx(0),e.TgZ(1,"div",14),e._UZ(2,"div",15)(3,"div",16)(4,"div",17),e.qZA(),e.TgZ(5,"div",18),e._UZ(6,"div",15)(7,"div",16)(8,"div",17),e.qZA(),e.BQk())}function wR(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",19),e.NdJ("cdkObserveContent",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.updateOutlineGap())}),e.Hsn(1,1),e.qZA()}if(2&r){const t=e.oxw();e.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)}}function xR(r,i){if(1&r&&(e.ynx(0),e.Hsn(1,2),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.BQk()),2&r){const t=e.oxw(2);e.xp6(3),e.Oqu(t._control.placeholder)}}function FR(r,i){1&r&&e.Hsn(0,3,["*ngSwitchCase","true"])}function CR(r,i){1&r&&(e.TgZ(0,"span",23),e._uU(1," *"),e.qZA())}function kR(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"label",20,21),e.NdJ("cdkObserveContent",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.updateOutlineGap())}),e.YNc(2,xR,4,1,"ng-container",12),e.YNc(3,FR,1,0,"ng-content",12),e.YNc(4,CR,2,0,"span",22),e.qZA()}if(2&r){const t=e.oxw();e.ekj("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),e.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),e.uIk("for",t._control.id)("aria-owns",t._control.id),e.xp6(2),e.Q6J("ngSwitchCase",!1),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function DR(r,i){1&r&&(e.TgZ(0,"div",24),e.Hsn(1,4),e.qZA())}function MR(r,i){if(1&r&&(e.TgZ(0,"div",25),e._UZ(1,"span",26),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.ekj("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function ER(r,i){if(1&r&&(e.TgZ(0,"div"),e.Hsn(1,5),e.qZA()),2&r){const t=e.oxw();e.Q6J("@transitionMessages",t._subscriptAnimationState)}}function AR(r,i){if(1&r&&(e.TgZ(0,"div",30),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.Q6J("id",t._hintLabelId),e.xp6(1),e.Oqu(t.hintLabel)}}function TR(r,i){if(1&r&&(e.TgZ(0,"div",27),e.YNc(1,AR,2,2,"div",28),e.Hsn(2,6),e._UZ(3,"div",29),e.Hsn(4,7),e.qZA()),2&r){const t=e.oxw();e.Q6J("@transitionMessages",t._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",t.hintLabel)}}const SR=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],IR=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],OR=new e.OlP("MatHint");let $3=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-label"]]}),r})(),LR=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-placeholder"]]}),r})(),X3=0;const RR=(0,ae.pj)(class{constructor(r){this._elementRef=r}},"primary"),PR=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let BR=(()=>{class r extends RR{get appearance(){return this._appearance}set appearance(t){const n=this._appearance;this._appearance=t||this._defaults?.appearance||"legacy","outline"===this._appearance&&n!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,st.Ig)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}constructor(t,n,a,l,v,T,G){super(t),this._changeDetectorRef=n,this._dir=a,this._defaults=l,this._platform=v,this._ngZone=T,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new D.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+X3++,this._labelId="mat-form-field-label-"+X3++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==G,this.appearance=l?.appearance||"legacy",l&&(this._hideRequiredMarker=Boolean(l.hideRequiredMarker),l.color&&(this.color=this.defaultColor=l.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe((0,L.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Ue.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,L.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,L.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const n=this._control?this._control.ngControl:null;return n&&n[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,wl.R)(this._label.nativeElement,"transitionend").pipe((0,Ie.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const n=this._hintChildren?this._hintChildren.find(l=>"start"===l.align):null,a=this._hintChildren?this._hintChildren.find(l=>"end"===l.align):null;n?t.push(n.id):this._hintLabel&&t.push(this._hintLabelId),a&&t.push(a.id)}else this._errorChildren&&t.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null,n=this._connectionContainerRef.nativeElement,a=".mat-form-field-outline-start",l=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!t||!t.children.length||!t.textContent.trim()){const be=n.querySelectorAll(`${a}, ${l}`);for(let Ve=0;Ve0?.75*Gt+10:0}for(let be=0;be{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,ae.BQ,al.Q8,ae.BQ]}),r})(),iE=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[ae.rD],imports:[Bu,tE,ae.BQ,Bu,tE]}),r})();function YR(r,i){}const nE_params_enterAnimationDuration="150ms",nE_params_exitAnimationDuration="75ms";class rE extends Et{constructor(){super(...arguments),this.enterAnimationDuration=ui.params.enterAnimationDuration,this.exitAnimationDuration=ui.params.exitAnimationDuration}}let HR=(()=>{class r extends ze{_onAnimationDone({toState:t,totalTime:n}){"enter"===t?this._openAnimationDone(n):"exit"===t&&this._animationStateChanged.next({state:"closed",totalTime:n})}_onAnimationStart({toState:t,totalTime:n}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:n}):("exit"===t||"void"===t)&&this._animationStateChanged.next({state:"closing",totalTime:n})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}constructor(t,n,a,l,v,T,G,z,be){super(t,n,a,l,v,T,G,be),this._changeDetectorRef=z,this._state="enter"}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||nE_params_enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||nE_params_exitAnimationDuration}}}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(g.qV),e.Y36(F.K0,8),e.Y36(rE),e.Y36(g.ic),e.Y36(e.R0b),e.Y36(_.Iu),e.Y36(e.sBO),e.Y36(g.tE))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(t,n){1&t&&e.WFA("@dialogContainer.start",function(l){return n._onAnimationStart(l)})("@dialogContainer.done",function(l){return n._onAnimationDone(l)}),2&t&&(e.Ikx("id",n._config.id),e.uIk("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),e.d8E("@dialogContainer",n._getAnimationState()))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){1&t&&e.YNc(0,YR,0,0,"ng-template",0)},dependencies:[k.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[hn.dialogContainer]}}),r})();class UR extends Ae{}const jR=new e.OlP("MatDialogData"),VR=new e.OlP("mat-dialog-default-options"),aE=new e.OlP("mat-dialog-scroll-strategy"),zR={provide:aE,deps:[_.aV],useFactory:function ZR(r){return()=>r.scrollStrategies.block()}};let GR=(()=>{class r extends ki{constructor(t,n,a,l,v,T,G,z){super(t,n,l,T,G,v,UR,HR,jR,z),this.dialogConfigClass=rE}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(_.aV),e.LFG(e.zs3),e.LFG(F.Ye,8),e.LFG(VR,8),e.LFG(aE),e.LFG(r,12),e.LFG(_.Xj),e.LFG(e.QbO,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),WR=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[GR,zR],imports:[pe,_.U8,k.eL,ae.BQ,ae.BQ]}),r})();const oE=new e.OlP("ngx-mat-date-formats");class Ov extends ae._A{isSameTime(i,t){return null==i||null==t||this.getHour(i)===this.getHour(t)&&this.getMinute(i)===this.getMinute(t)&&this.getSecond(i)===this.getSecond(t)}copyTime(i,t){this.setHour(i,this.getHour(t)),this.setMinute(i,this.getMinute(t)),this.setSecond(i,this.getSecond(t))}compareDateWithTime(i,t,n){let a=super.compareDate(i,t)||this.getHour(i)-this.getHour(t)||this.getMinute(i)-this.getMinute(t);return n&&(a=a||this.getSecond(i)-this.getSecond(t)),a}setTimeByDefaultValues(i,t){if(!Array.isArray(t))throw Error("@Input DefaultTime should be an array");this.setHour(i,t[0]||0),this.setMinute(i,t[1]||0),this.setSecond(i,t[2]||0)}}const oP=new e.OlP("NGX_MAT_DATE_RANGE_SELECTION_STRATEGY");let sP=(()=>{class r{constructor(t){this._dateAdapter=t}selectionFinished(t,n){let{start:a,end:l}=n;return null==a?a=t:null==l&&t&&this._dateAdapter.compareDate(t,a)>=0?l=t:(a=t,l=null),new Kh(a,l)}createPreview(t,n){let a=null,l=null;return n.start&&!n.end&&t&&(a=n.start,l=t),new Kh(a,l)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ov))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();function sE(r){return Error(`NgxMatDatepicker: No provider found for ${r}. You must import one of the following modules at your application root: NgxMatNativeDateModule, NgxMatMomentModule, or provide a custom implementation.`)}(0,ae.pj)(class{constructor(r){this._elementRef=r}});const cP={provide:fa,useExisting:(0,e.Gpc)(()=>cE),multi:!0},dP={provide:Pa,useExisting:(0,e.Gpc)(()=>cE),multi:!0};class Nv{constructor(i,t){this.target=i,this.targetElement=t,this.value=this.target.value}}let $h,cE=(()=>{class r{constructor(t,n,a,l){if(this._elementRef=t,this._dateAdapter=n,this._dateFormats=a,this._formField=l,this.dateChange=new e.vpe,this.dateInput=new e.vpe,this._valueChange=new e.vpe,this.stateChanges=new e.vpe,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=mo.w0.EMPTY,this._localeSubscription=mo.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatetimePickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=v=>{const T=this._getValidDateOrNull(this._dateAdapter.deserialize(v.value));return!this.min||!T||this._dateAdapter.compareDateWithTime(this.min,T,this._datepicker.showSeconds)<=0?null:{matDatetimePickerMin:{min:this.min,actual:T}}},this._maxValidator=v=>{const T=this._getValidDateOrNull(this._dateAdapter.deserialize(v.value));return!this.max||!T||this._dateAdapter.compareDateWithTime(this.max,T,this._datepicker.showSeconds)>=0?null:{matDatetimePickerMax:{max:this.max,actual:T}}},this._filterValidator=v=>{const T=this._getValidDateOrNull(this._dateAdapter.deserialize(v.value));return this._dateFilter&&T&&!this._dateFilter(T)?{matDatetimePickerFilter:!0}:null},this._validator=to.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw sE("NgxMatDateAdapter");if(!this._dateFormats)throw sE("NGX_MAT_DATE_FORMATS");this._localeSubscription=n.localeChanges.subscribe(()=>{this.value=this.value})}set ngxMatDatetimePicker(t){t&&(this._datepicker=t,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(n=>{this.value=n,this._cvaOnChange(n),this._onTouched(),this.dateInput.emit(new Nv(this,this._elementRef.nativeElement)),this.dateChange.emit(new Nv(this,this._elementRef.nativeElement))}))}set ngxMatDatetimePickerFilter(t){this._dateFilter=t,this._validatorOnChange()}get value(){return this._value}set value(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);const n=this.value;this._value=t,this._formatValue(t),this._dateAdapter.sameDate(n,t)||this._valueChange.emit(t)}get min(){return this._min}set min(t){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get max(){return this._max}set max(t){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(t){const n=null!=t&&"false"!=`${t}`,a=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.emit(void 0)),n&&a.blur&&a.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(t){this.value=t}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){this._datepicker&&t.altKey&&t.keyCode===S.JH&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),t.preventDefault())}_onInput(t){const n=this._lastValueValid;let a=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=!a||this._dateAdapter.isValid(a),a=this._getValidDateOrNull(a);const l=this._dateAdapter.isSameTime(a,this._value);null!=a&&(!l||!this._dateAdapter.sameDate(a,this._value))||null==a&&null!=this._value?(this._value=a,this._cvaOnChange(a),this._valueChange.emit(a),this.dateInput.emit(new Nv(this,this._elementRef.nativeElement))):n!==this._lastValueValid&&this._validatorOnChange()}_onChange(){this.dateChange.emit(new Nv(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_onFocus(){this._datepicker&&this._datepicker.opened&&this._datepicker.cancel()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(Ov,8),e.Y36(oE,8),e.Y36(BR,8))},r.\u0275dir=e.lG2({type:r,selectors:[["input","ngxMatDatetimePicker",""]],hostVars:5,hostBindings:function(t,n){1&t&&e.NdJ("input",function(l){return n._onInput(l.target.value)})("change",function(){return n._onChange()})("blur",function(){return n._onBlur()})("focus",function(){return n._onFocus()})("keydown",function(l){return n._onKeydown(l)}),2&t&&(e.Ikx("disabled",n.disabled),e.uIk("aria-haspopup",n._datepicker?"dialog":null)("aria-owns",(null==n._datepicker?null:n._datepicker.opened)&&n._datepicker.id||null)("min",n.min?n._dateAdapter.toIso8601(n.min):null)("max",n.max?n._dateAdapter.toIso8601(n.max):null))},inputs:{ngxMatDatetimePicker:"ngxMatDatetimePicker",ngxMatDatetimePickerFilter:"ngxMatDatetimePickerFilter",value:"value",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["ngxMatDatetimePickerInput"],features:[e._Bn([cP,dP,{provide:z0,useExisting:r}])]}),r})(),dE=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,iE,Rm,Nm,Rd,K3]}),r})(),uP=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[W3,{provide:oP,useClass:sP}],imports:[F.ez,J3,WR,k.eL,Nm,Rd,K3,iE,dE]}),r})();try{$h=typeof Intl<"u"}catch{$h=!1}const hP={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},mP=Rv(31,r=>String(r+1)),fP={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},pP=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Rv(r,i){const t=Array(r);for(let n=0;n{class r extends Ov{constructor(t,n){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!n.TRIDENT,this._clampDate=n.TRIDENT||n.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if($h){const n=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return Rv(12,a=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,a,1))))}return hP[t]}getDateNames(){if($h){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Rv(31,n=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,n+1))))}return mP}getDayOfWeekNames(t){if($h){const n=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return Rv(7,a=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,0,a+1))))}return fP[t]}getYearName(t){if($h){const n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(n,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,n,a){if(n<0||n>11)throw Error(`Invalid month index "${n}". Month index has to be between 0 and 11.`);if(a<1)throw Error(`Invalid date "${a}". Date has to be greater than 0.`);let l=this._createDateWithOverflow(t,n,a);if(l.getMonth()!=n)throw Error(`Invalid date "${a}" for month with index "${n}".`);return l}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,n){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if($h){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),n={...n,timeZone:"utc"};const a=new Intl.DateTimeFormat(this.locale,n);return this._stripDirectionalityCharacters(this._format(a,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,n){return this.addCalendarMonths(t,12*n)}addCalendarMonths(t,n){let a=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+n,this.getDate(t));return this.getMonth(a)!=((this.getMonth(t)+n)%12+12)%12&&(a=this._createDateWithOverflow(this.getYear(a),this.getMonth(a),0)),a}addCalendarDays(t,n){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+n)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(pP.test(t)){let n=new Date(t);if(this.isValid(n))return n}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}getHour(t){return t.getHours()}getMinute(t){return t.getMinutes()}getSecond(t){return t.getSeconds()}setHour(t,n){t.setHours(n)}setMinute(t,n){t.setMinutes(n)}setSecond(t,n){t.setSeconds(n)}_createDateWithOverflow(t,n,a){const l=new Date(t,n,a);return t>=0&&t<100&&l.setFullYear(this.getYear(l)-1900),l}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,n){const a=new Date;return a.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),a.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),t.format(a)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(ae.Ad,8),e.LFG(x.t4))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const uE={year:"numeric",month:"numeric",day:"numeric",hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"},_P={parse:{dateInput:uE},display:{dateInput:uE,monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let bP=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[{provide:Ov,useClass:gP}],imports:[x.ud]}),r})(),yP=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[{provide:oE,useValue:_P}],imports:[bP]}),r})();class vP{constructor(i,t="/assets/i18n/",n=".json"){this.http=i,this.prefix=t,this.suffix=n}getTranslation(i){return this.http.get(`${this.prefix}${i}${this.suffix}`)}}class Gf{constructor(){this.logs=[],this.errors=[]}}Gf.\u0275fac=function(i){return new(i||Gf)},Gf.\u0275prov=e.Yz7({token:Gf,factory:Gf.\u0275fac,providedIn:"root"});class Wf extends oi{constructor(i,t){super(i),this.platformId=i,this.debugLog=t}writeMessage(i,t){super.writeMessage(i,t),this.debugLog.logs.length>100&&this.resize(this.debugLog.logs,80,null),this.debugLog.errors.length>100&&this.resize(this.debugLog.errors,80,null),this.debugLog.logs.push(i),i.level>Pe.WARN&&this.debugLog.errors.push(i)}resize(i,t,n){for(;i.length>t;)i.shift();for(;i.lengthconsole.error(r))},5521:(Se,O)=>{"use strict";function y(le){if(!Number.isSafeInteger(le))throw new Error(`Wrong integer: ${le}`)}function f(...le){const pe=(Ce,Ue)=>Je=>Ce(Ue(Je));return{encode:Array.from(le).reverse().reduce((Ce,Ue)=>Ce?pe(Ce,Ue.encode):Ue.encode,void 0),decode:le.reduce((Ce,Ue)=>Ce?pe(Ce,Ue.decode):Ue.decode,void 0)}}function e(le){return{encode:pe=>{if(!Array.isArray(pe)||pe.length&&"number"!=typeof pe[0])throw new Error("alphabet.encode input should be an array of numbers");return pe.map(ae=>{if(y(ae),ae<0||ae>=le.length)throw new Error(`Digit index outside alphabet: ${ae} (alphabet: ${le.length})`);return le[ae]})},decode:pe=>{if(!Array.isArray(pe)||pe.length&&"string"!=typeof pe[0])throw new Error("alphabet.decode input should be array of strings");return pe.map(ae=>{if("string"!=typeof ae)throw new Error(`alphabet.decode: not string element=${ae}`);const De=le.indexOf(ae);if(-1===De)throw new Error(`Unknown letter: "${ae}". Allowed: ${le}`);return De})}}}function g(le=""){if("string"!=typeof le)throw new Error("join separator should be string");return{encode:pe=>{if(!Array.isArray(pe)||pe.length&&"string"!=typeof pe[0])throw new Error("join.encode input should be array of strings");for(let ae of pe)if("string"!=typeof ae)throw new Error(`join.encode: non-string input=${ae}`);return pe.join(le)},decode:pe=>{if("string"!=typeof pe)throw new Error("join.decode input should be string");return pe.split(le)}}}function _(le,pe="="){if(y(le),"string"!=typeof pe)throw new Error("padding chr should be string");return{encode(ae){if(!Array.isArray(ae)||ae.length&&"string"!=typeof ae[0])throw new Error("padding.encode input should be array of strings");for(let De of ae)if("string"!=typeof De)throw new Error(`padding.encode: non-string input=${De}`);for(;ae.length*le%8;)ae.push(pe);return ae},decode(ae){if(!Array.isArray(ae)||ae.length&&"string"!=typeof ae[0])throw new Error("padding.encode input should be array of strings");for(let Ce of ae)if("string"!=typeof Ce)throw new Error(`padding.decode: non-string input=${Ce}`);let De=ae.length;if(De*le%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;De>0&&ae[De-1]===pe;De--)if(!((De-1)*le%8))throw new Error("Invalid padding: string has too much padding");return ae.slice(0,De)}}}function x(le){if("function"!=typeof le)throw new Error("normalize fn should be function");return{encode:pe=>pe,decode:pe=>le(pe)}}function k(le,pe,ae){if(pe<2)throw new Error(`convertRadix: wrong from=${pe}, base cannot be less than 2`);if(ae<2)throw new Error(`convertRadix: wrong to=${ae}, base cannot be less than 2`);if(!Array.isArray(le))throw new Error("convertRadix: data should be array");if(!le.length)return[];let De=0;const Ce=[],Ue=Array.from(le);for(Ue.forEach(Je=>{if(y(Je),Je<0||Je>=pe)throw new Error(`Wrong integer: ${Je}`)});;){let Je=0,Ie=!0;for(let rt=De;rtpe?F(pe,le%pe):le,S=(le,pe)=>le+(pe-F(le,pe));function D(le,pe,ae,De){if(!Array.isArray(le))throw new Error("convertRadix2: data should be array");if(pe<=0||pe>32)throw new Error(`convertRadix2: wrong from=${pe}`);if(ae<=0||ae>32)throw new Error(`convertRadix2: wrong to=${ae}`);if(S(pe,ae)>32)throw new Error(`convertRadix2: carry overflow from=${pe} to=${ae} carryBits=${S(pe,ae)}`);let Ce=0,Ue=0;const Je=2**ae-1,Ie=[];for(const rt of le){if(y(rt),rt>=2**pe)throw new Error(`convertRadix2: invalid data word=${rt} from=${pe}`);if(Ce=Ce<32)throw new Error(`convertRadix2: carry overflow pos=${Ue} from=${pe}`);for(Ue+=pe;Ue>=ae;Ue-=ae)Ie.push((Ce>>Ue-ae&Je)>>>0);Ce&=2**Ue-1}if(Ce=Ce<=pe)throw new Error("Excess padding");if(!De&&Ce)throw new Error(`Non-zero padding: ${Ce}`);return De&&Ue>0&&Ie.push(Ce>>>0),Ie}function P(le){return y(le),{encode:pe=>{if(!(pe instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return k(Array.from(pe),256,le)},decode:pe=>{if(!Array.isArray(pe)||pe.length&&"number"!=typeof pe[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(k(pe,le,256))}}}function U(le,pe=!1){if(y(le),le<=0||le>32)throw new Error("radix2: bits should be in (0..32]");if(S(8,le)>32||S(le,8)>32)throw new Error("radix2: carry overflow");return{encode:ae=>{if(!(ae instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return D(Array.from(ae),8,le,!pe)},decode:ae=>{if(!Array.isArray(ae)||ae.length&&"number"!=typeof ae[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(D(ae,le,8,pe))}}}function I(le){if("function"!=typeof le)throw new Error("unsafeWrapper fn should be function");return function(...pe){try{return le.apply(null,pe)}catch{}}}function L(le,pe){if(y(le),"function"!=typeof pe)throw new Error("checksum fn should be function");return{encode(ae){if(!(ae instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const De=pe(ae).slice(0,le),Ce=new Uint8Array(ae.length+le);return Ce.set(ae),Ce.set(De,ae.length),Ce},decode(ae){if(!(ae instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const De=ae.slice(0,-le),Ce=pe(De).slice(0,le),Ue=ae.slice(-le);for(let Je=0;Jele.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),O.base64=f(U(6),e("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),_(6),g("")),O.base64url=f(U(6),e("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),_(6),g(""));const J=le=>f(P(58),e(le),g(""));O.base58=J("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),O.base58flickr=J("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),O.base58xrp=J("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const Z=[0,2,3,5,6,7,9,10,11];O.base58xmr={encode(le){let pe="";for(let ae=0;aef(L(4,pe=>le(le(pe))),O.base58);const V=f(e("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),g("")),W=[996825010,642813549,513874426,1027748829,705979059];function ue(le){const pe=le>>25;let ae=(33554431&le)<<5;for(let De=0;De>De&1)&&(ae^=W[De]);return ae}function fe(le,pe,ae=1){const De=le.length;let Ce=1;for(let Ue=0;Ue126)throw new Error(`Invalid prefix (${le})`);Ce=ue(Ce)^Je>>5}Ce=ue(Ce);for(let Ue=0;Ueat)throw new TypeError(`Wrong string length: ${Le.length} (${Le}). Expected (8..${at})`);const Ze=Le.toLowerCase();if(Le!==Ze&&Le!==Le.toUpperCase())throw new Error("String must be lowercase or uppercase");const xt=(Le=Ze).lastIndexOf("1");if(0===xt||-1===xt)throw new Error('Letter "1" must be present between prefix and data only');const lt=Le.slice(0,xt),We=Le.slice(xt+1);if(We.length<6)throw new Error("Data must be at least 6 characters long");const $t=V.decode(We).slice(0,-6),Yt=fe(lt,$t,pe);if(!We.endsWith(Yt))throw new Error(`Invalid checksum in ${Le}: expected "${Yt}"`);return{prefix:lt,words:$t}}return{encode:function Je(Le,at,Ze=90){if("string"!=typeof Le)throw new Error("bech32.encode prefix should be string, not "+typeof Le);if(!Array.isArray(at)||at.length&&"number"!=typeof at[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof at);const xt=Le.length+7+at.length;if(!1!==Ze&&xt>Ze)throw new TypeError(`Length ${xt} exceeds limit ${Ze}`);return`${Le=Le.toLowerCase()}1${V.encode(at)}${fe(Le,at,pe)}`},decode:Ie,decodeToBytes:function Fe(Le){const{prefix:at,words:Ze}=Ie(Le,!1);return{prefix:at,words:Ze,bytes:De(Ze)}},decodeUnsafe:I(Ie),fromWords:De,fromWordsUnsafe:Ue,toWords:Ce}}O.bech32=$("bech32"),O.bech32m=$("bech32m"),O.utf8={encode:le=>(new TextDecoder).decode(le),decode:le=>(new TextEncoder).encode(le)},O.hex=f(U(4),e("0123456789abcdef"),g(""),x(le=>{if("string"!=typeof le||le.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof le} with length ${le.length}`);return le.toLowerCase()}));const Y={utf8:O.utf8,hex:O.hex,base16:O.base16,base32:O.base32,base64:O.base64,base64url:O.base64url,base58:O.base58,base58xmr:O.base58xmr},X=`Invalid encoding type. Available types: ${Object.keys(Y).join(", ")}`;O.bytesToString=(le,pe)=>{if("string"!=typeof le||!Y.hasOwnProperty(le))throw new TypeError(X);if(!(pe instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return Y[le].encode(pe)},O.str=O.bytesToString,O.stringToBytes=(le,pe)=>{if(!Y.hasOwnProperty(le))throw new TypeError(X);if("string"!=typeof pe)throw new TypeError("stringToBytes() expects string");return Y[le].decode(pe)},O.bytes=O.stringToBytes},6837:(Se,O,y)=>{"use strict";O.Z1=O._I=O.OF=void 0;const e=y(5729),g=y(9522),_=y(8519),x=y(27),k=y(7507),F=y(5521),S=$=>"\u3042\u3044\u3053\u304f\u3057\u3093"===$[0];function D($){if("string"!=typeof $)throw new TypeError("Invalid mnemonic type: "+typeof $);return $.normalize("NFKD")}function P($){const Y=D($),X=Y.split(" ");if(![12,15,18,21,24].includes(X.length))throw new Error("Invalid mnemonic");return{nfkd:Y,words:X}}function U($){e.default.bytes($,16,20,24,28,32)}O.OF=function I($,Y=128){if(e.default.number(Y),Y%32!=0||Y>256)throw new TypeError("Invalid entropy");return function ne($,Y){return U($),J(Y).encode($).join(S(Y)?"\u3000":" ")}((0,k.randomBytes)(Y/8),$)};const L=$=>{const Y=8-$.length/4;return new Uint8Array([(0,_.sha256)($)[0]>>Y<{if("string"!=typeof Y)throw new Error(`Wordlist: non-string element: ${Y}`)}),F.utils.chain(F.utils.checksum(1,L),F.utils.radix2(11,!0),F.utils.alphabet($))}O._I=function V($,Y){try{!function Z($,Y){const{words:X}=P($),ie=J(Y).decode(X);return U(ie),ie}($,Y)}catch{return!1}return!0};O.Z1=function fe($,Y=""){return(0,g.pbkdf2)(x.sha512,P($).nfkd,($=>D(`mnemonic${$}`))(Y),{c:2048,dkLen:64})}},5729:(Se,O)=>{"use strict";function y(F){if(!Number.isSafeInteger(F)||F<0)throw new Error(`Wrong positive integer: ${F}`)}function f(F){if("boolean"!=typeof F)throw new Error(`Expected boolean, not ${F}`)}function e(F,...S){if(!(F instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(S.length>0&&!S.includes(F.length))throw new TypeError(`Expected Uint8Array of length ${S}, not of length=${F.length}`)}function g(F){if("function"!=typeof F||"function"!=typeof F.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");y(F.outputLen),y(F.blockLen)}function _(F,S=!0){if(F.destroyed)throw new Error("Hash instance has been destroyed");if(S&&F.finished)throw new Error("Hash#digest() has already been called")}function x(F,S){e(F);const D=S.outputLen;if(F.length{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.SHA2=void 0;const f=y(5729),e=y(7507);O.SHA2=class _ extends e.Hash{constructor(k,F,S,D){super(),this.blockLen=k,this.outputLen=F,this.padOffset=S,this.isLE=D,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(k),this.view=(0,e.createView)(this.buffer)}update(k){f.default.exists(this);const{view:F,buffer:S,blockLen:D}=this,P=(k=(0,e.toBytes)(k)).length;for(let U=0;UD-U&&(this.process(S,0),U=0);for(let ne=U;ne>D&P),I=Number(F&P),J=S?0:4;x.setUint32(k+(S?4:0),U,S),x.setUint32(k+J,I,S)})(S,D-8,BigInt(8*this.length),P),this.process(S,0);const I=(0,e.createView)(k),L=this.outputLen;if(L%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const J=L/4,Z=this.get();if(J>Z.length)throw new Error("_sha2: outputLen bigger than state");for(let ne=0;ne{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.add=O.toBig=O.split=O.fromBig=void 0;const y=BigInt(2**32-1),f=BigInt(32);function e(te,le=!1){return le?{h:Number(te&y),l:Number(te>>f&y)}:{h:0|Number(te>>f&y),l:0|Number(te&y)}}function g(te,le=!1){let pe=new Uint32Array(te.length),ae=new Uint32Array(te.length);for(let De=0;De>>0)+(ae>>>0);return{h:te+pe+(De/2**32|0)|0,l:0|De}}O.fromBig=e,O.split=g,O.toBig=(te,le)=>BigInt(te>>>0)<>>0),O.add=V,O.default={fromBig:e,split:g,toBig:O.toBig,shrSH:(te,le,pe)=>te>>>pe,shrSL:(te,le,pe)=>te<<32-pe|le>>>pe,rotrSH:(te,le,pe)=>te>>>pe|le<<32-pe,rotrSL:(te,le,pe)=>te<<32-pe|le>>>pe,rotrBH:(te,le,pe)=>te<<64-pe|le>>>pe-32,rotrBL:(te,le,pe)=>te>>>pe-32|le<<64-pe,rotr32H:(te,le)=>le,rotr32L:(te,le)=>te,rotlSH:(te,le,pe)=>te<>>32-pe,rotlSL:(te,le,pe)=>le<>>32-pe,rotlBH:(te,le,pe)=>le<>>64-pe,rotlBL:(te,le,pe)=>te<>>64-pe,add:V,add3L:(te,le,pe)=>(te>>>0)+(le>>>0)+(pe>>>0),add3H:(te,le,pe,ae)=>le+pe+ae+(te/2**32|0)|0,add4L:(te,le,pe,ae)=>(te>>>0)+(le>>>0)+(pe>>>0)+(ae>>>0),add4H:(te,le,pe,ae,De)=>le+pe+ae+De+(te/2**32|0)|0,add5H:(te,le,pe,ae,De,Ce)=>le+pe+ae+De+Ce+(te/2**32|0)|0,add5L:(te,le,pe,ae,De)=>(te>>>0)+(le>>>0)+(pe>>>0)+(ae>>>0)+(De>>>0)}},7882:(Se,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.crypto=void 0,O.crypto={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0}},602:(Se,O,y)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.hmac=void 0;const f=y(5729),e=y(7507);class g extends e.Hash{constructor(k,F){super(),this.finished=!1,this.destroyed=!1,f.default.hash(k);const S=(0,e.toBytes)(F);if(this.iHash=k.create(),"function"!=typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const D=this.blockLen,P=new Uint8Array(D);P.set(S.length>D?k.create().update(S).digest():S);for(let U=0;Unew g(x,k).update(F).digest(),O.hmac.create=(x,k)=>new g(x,k)},9522:(Se,O,y)=>{"use strict";var f=y(9598).default;Object.defineProperty(O,"__esModule",{value:!0}),O.pbkdf2Async=O.pbkdf2=void 0;const e=y(5729),g=y(602),_=y(7507);function x(P,U,I,L){e.default.hash(P);const J=(0,_.checkOpts)({dkLen:32,asyncTick:10},L),{c:Z,dkLen:ne,asyncTick:V}=J;if(e.default.number(Z),e.default.number(ne),e.default.number(V),Z<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const W=(0,_.toBytes)(U),ue=(0,_.toBytes)(I),fe=new Uint8Array(ne),$=g.hmac.create(P,W),Y=$._cloneInto().update(ue);return{c:Z,dkLen:ne,asyncTick:V,DK:fe,PRF:$,PRFSalt:Y}}function k(P,U,I,L,J){return P.destroy(),U.destroy(),L&&L.destroy(),J.fill(0),I}function D(){return(D=f(function*(P,U,I,L){const{c:J,dkLen:Z,asyncTick:ne,DK:V,PRF:W,PRFSalt:ue}=x(P,U,I,L);let fe;const $=new Uint8Array(4),Y=(0,_.createView)($),X=new Uint8Array(W.outputLen);for(let ie=1,te=0;te{W._cloneInto(fe).update(X).digestInto(X);for(let ae=0;ae{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.sha224=O.sha256=void 0;const f=y(4206),e=y(7507),g=(P,U,I)=>P&U^~P&I,_=(P,U,I)=>P&U^P&I^U&I,x=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]),k=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),F=new Uint32Array(64);class S extends f.SHA2{constructor(){super(64,32,8,!1),this.A=0|k[0],this.B=0|k[1],this.C=0|k[2],this.D=0|k[3],this.E=0|k[4],this.F=0|k[5],this.G=0|k[6],this.H=0|k[7]}get(){const{A:U,B:I,C:L,D:J,E:Z,F:ne,G:V,H:W}=this;return[U,I,L,J,Z,ne,V,W]}set(U,I,L,J,Z,ne,V,W){this.A=0|U,this.B=0|I,this.C=0|L,this.D=0|J,this.E=0|Z,this.F=0|ne,this.G=0|V,this.H=0|W}process(U,I){for(let $=0;$<16;$++,I+=4)F[$]=U.getUint32(I,!1);for(let $=16;$<64;$++){const Y=F[$-15],X=F[$-2],ie=(0,e.rotr)(Y,7)^(0,e.rotr)(Y,18)^Y>>>3,te=(0,e.rotr)(X,17)^(0,e.rotr)(X,19)^X>>>10;F[$]=te+F[$-7]+ie+F[$-16]|0}let{A:L,B:J,C:Z,D:ne,E:V,F:W,G:ue,H:fe}=this;for(let $=0;$<64;$++){const X=fe+((0,e.rotr)(V,6)^(0,e.rotr)(V,11)^(0,e.rotr)(V,25))+g(V,W,ue)+x[$]+F[$]|0,te=((0,e.rotr)(L,2)^(0,e.rotr)(L,13)^(0,e.rotr)(L,22))+_(L,J,Z)|0;fe=ue,ue=W,W=V,V=ne+X|0,ne=Z,Z=J,J=L,L=X+te|0}L=L+this.A|0,J=J+this.B|0,Z=Z+this.C|0,ne=ne+this.D|0,V=V+this.E|0,W=W+this.F|0,ue=ue+this.G|0,fe=fe+this.H|0,this.set(L,J,Z,ne,V,W,ue,fe)}roundClean(){F.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class D extends S{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}}O.sha256=(0,e.wrapConstructor)(()=>new S),O.sha224=(0,e.wrapConstructor)(()=>new D)},27:(Se,O,y)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.sha384=O.sha512_256=O.sha512_224=O.sha512=O.SHA512=void 0;const f=y(4206),e=y(9027),g=y(7507),[_,x]=e.default.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))),k=new Uint32Array(80),F=new Uint32Array(80);class S extends f.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:L,Al:J,Bh:Z,Bl:ne,Ch:V,Cl:W,Dh:ue,Dl:fe,Eh:$,El:Y,Fh:X,Fl:ie,Gh:te,Gl:le,Hh:pe,Hl:ae}=this;return[L,J,Z,ne,V,W,ue,fe,$,Y,X,ie,te,le,pe,ae]}set(L,J,Z,ne,V,W,ue,fe,$,Y,X,ie,te,le,pe,ae){this.Ah=0|L,this.Al=0|J,this.Bh=0|Z,this.Bl=0|ne,this.Ch=0|V,this.Cl=0|W,this.Dh=0|ue,this.Dl=0|fe,this.Eh=0|$,this.El=0|Y,this.Fh=0|X,this.Fl=0|ie,this.Gh=0|te,this.Gl=0|le,this.Hh=0|pe,this.Hl=0|ae}process(L,J){for(let Ue=0;Ue<16;Ue++,J+=4)k[Ue]=L.getUint32(J),F[Ue]=L.getUint32(J+=4);for(let Ue=16;Ue<80;Ue++){const Je=0|k[Ue-15],Ie=0|F[Ue-15],rt=e.default.rotrSH(Je,Ie,1)^e.default.rotrSH(Je,Ie,8)^e.default.shrSH(Je,Ie,7),Fe=e.default.rotrSL(Je,Ie,1)^e.default.rotrSL(Je,Ie,8)^e.default.shrSL(Je,Ie,7),Le=0|k[Ue-2],at=0|F[Ue-2],Ze=e.default.rotrSH(Le,at,19)^e.default.rotrBH(Le,at,61)^e.default.shrSH(Le,at,6),xt=e.default.rotrSL(Le,at,19)^e.default.rotrBL(Le,at,61)^e.default.shrSL(Le,at,6),lt=e.default.add4L(Fe,xt,F[Ue-7],F[Ue-16]),We=e.default.add4H(lt,rt,Ze,k[Ue-7],k[Ue-16]);k[Ue]=0|We,F[Ue]=0|lt}let{Ah:Z,Al:ne,Bh:V,Bl:W,Ch:ue,Cl:fe,Dh:$,Dl:Y,Eh:X,El:ie,Fh:te,Fl:le,Gh:pe,Gl:ae,Hh:De,Hl:Ce}=this;for(let Ue=0;Ue<80;Ue++){const Je=e.default.rotrSH(X,ie,14)^e.default.rotrSH(X,ie,18)^e.default.rotrBH(X,ie,41),Ie=e.default.rotrSL(X,ie,14)^e.default.rotrSL(X,ie,18)^e.default.rotrBL(X,ie,41),rt=X&te^~X&pe,Le=e.default.add5L(Ce,Ie,ie&le^~ie&ae,x[Ue],F[Ue]),at=e.default.add5H(Le,De,Je,rt,_[Ue],k[Ue]),Ze=0|Le,xt=e.default.rotrSH(Z,ne,28)^e.default.rotrBH(Z,ne,34)^e.default.rotrBH(Z,ne,39),lt=e.default.rotrSL(Z,ne,28)^e.default.rotrBL(Z,ne,34)^e.default.rotrBL(Z,ne,39),We=Z&V^Z&ue^V&ue,$t=ne&W^ne&fe^W&fe;De=0|pe,Ce=0|ae,pe=0|te,ae=0|le,te=0|X,le=0|ie,({h:X,l:ie}=e.default.add(0|$,0|Y,0|at,0|Ze)),$=0|ue,Y=0|fe,ue=0|V,fe=0|W,V=0|Z,W=0|ne;const Yt=e.default.add3L(Ze,lt,$t);Z=e.default.add3H(Yt,at,xt,We),ne=0|Yt}({h:Z,l:ne}=e.default.add(0|this.Ah,0|this.Al,0|Z,0|ne)),({h:V,l:W}=e.default.add(0|this.Bh,0|this.Bl,0|V,0|W)),({h:ue,l:fe}=e.default.add(0|this.Ch,0|this.Cl,0|ue,0|fe)),({h:$,l:Y}=e.default.add(0|this.Dh,0|this.Dl,0|$,0|Y)),({h:X,l:ie}=e.default.add(0|this.Eh,0|this.El,0|X,0|ie)),({h:te,l:le}=e.default.add(0|this.Fh,0|this.Fl,0|te,0|le)),({h:pe,l:ae}=e.default.add(0|this.Gh,0|this.Gl,0|pe,0|ae)),({h:De,l:Ce}=e.default.add(0|this.Hh,0|this.Hl,0|De,0|Ce)),this.set(Z,ne,V,W,ue,fe,$,Y,X,ie,te,le,pe,ae,De,Ce)}roundClean(){k.fill(0),F.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)}}O.SHA512=S;class D extends S{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class P extends S{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class U extends S{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}O.sha512=(0,g.wrapConstructor)(()=>new S),O.sha512_224=(0,g.wrapConstructor)(()=>new D),O.sha512_256=(0,g.wrapConstructor)(()=>new P),O.sha384=(0,g.wrapConstructor)(()=>new U)},7507:(Se,O,y)=>{"use strict";var f=y(9598).default;Object.defineProperty(O,"__esModule",{value:!0}),O.randomBytes=O.wrapConstructorWithOpts=O.wrapConstructor=O.checkOpts=O.Hash=O.concatBytes=O.toBytes=O.utf8ToBytes=O.asyncLoop=O.nextTick=O.hexToBytes=O.bytesToHex=O.isLE=O.rotr=O.createView=O.u32=O.u8=void 0;const e=y(7882);if(O.u8=Y=>new Uint8Array(Y.buffer,Y.byteOffset,Y.byteLength),O.u32=Y=>new Uint32Array(Y.buffer,Y.byteOffset,Math.floor(Y.byteLength/4)),O.createView=Y=>new DataView(Y.buffer,Y.byteOffset,Y.byteLength),O.rotr=(Y,X)=>Y<<32-X|Y>>>X,O.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!O.isLE)throw new Error("Non little-endian hardware is not supported");const F=Array.from({length:256},(Y,X)=>X.toString(16).padStart(2,"0"));function I(){return(I=f(function*(Y,X,ie){let te=Date.now();for(let le=0;le=0&&pete instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===Y.length)return Y[0];const X=Y.reduce((te,le)=>te+le.length,0),ie=new Uint8Array(X);for(let te=0,le=0;te"[object Object]"===Object.prototype.toString.call(Y)&&Y.constructor===Object)(X)))throw new TypeError("Options should be object or undefined");return Object.assign(Y,X)},O.wrapConstructor=function ue(Y){const X=te=>Y().update(J(te)).digest(),ie=Y();return X.outputLen=ie.outputLen,X.blockLen=ie.blockLen,X.create=()=>Y(),X},O.wrapConstructorWithOpts=function fe(Y){const X=(te,le)=>Y(le).update(J(te)).digest(),ie=Y({});return X.outputLen=ie.outputLen,X.blockLen=ie.blockLen,X.create=te=>Y(te),X},O.randomBytes=function $(Y=32){if(e.crypto.web)return e.crypto.web.getRandomValues(new Uint8Array(Y));if(e.crypto.node)return new Uint8Array(e.crypto.node.randomBytes(Y).buffer);throw new Error("The environment doesn't have randomBytes function")}},3439:(Se,O)=>{"use strict";O.U=void 0,O.U="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")},5834:(Se,O,y)=>{"use strict";var f=y(5203),e=y(5685),g=e(f("String.prototype.indexOf"));Se.exports=function(x,k){var F=f(x,!!k);return"function"==typeof F&&g(x,".prototype.")>-1?e(F):F}},5685:(Se,O,y)=>{"use strict";var f=y(4444),e=y(5203),g=e("%Function.prototype.apply%"),_=e("%Function.prototype.call%"),x=e("%Reflect.apply%",!0)||f.call(_,g),k=e("%Object.getOwnPropertyDescriptor%",!0),F=e("%Object.defineProperty%",!0),S=e("%Math.max%");if(F)try{F({},"a",{value:1})}catch{F=null}Se.exports=function(U){var I=x(f,_,arguments);return k&&F&&k(I,"length").configurable&&F(I,"length",{value:1+S(0,U.length-(arguments.length-1))}),I};var D=function(){return x(f,g,arguments)};F?F(Se.exports,"apply",{value:D}):Se.exports.apply=D},4999:Se=>{"use strict";var O=function(V){return function y(ne){return!!ne&&"object"==typeof ne}(V)&&!function f(ne){var V=Object.prototype.toString.call(ne);return"[object RegExp]"===V||"[object Date]"===V||function _(ne){return ne.$$typeof===g}(ne)}(V)},g="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function k(ne,V){return!1!==V.clone&&V.isMergeableObject(ne)?J(function x(ne){return Array.isArray(ne)?[]:{}}(ne),ne,V):ne}function F(ne,V,W){return ne.concat(V).map(function(ue){return k(ue,W)})}function P(ne){return Object.keys(ne).concat(function D(ne){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(ne).filter(function(V){return ne.propertyIsEnumerable(V)}):[]}(ne))}function U(ne,V){try{return V in ne}catch{return!1}}function J(ne,V,W){(W=W||{}).arrayMerge=W.arrayMerge||F,W.isMergeableObject=W.isMergeableObject||O,W.cloneUnlessOtherwiseSpecified=k;var ue=Array.isArray(V);return ue===Array.isArray(ne)?ue?W.arrayMerge(ne,V,W):function L(ne,V,W){var ue={};return W.isMergeableObject(ne)&&P(ne).forEach(function(fe){ue[fe]=k(ne[fe],W)}),P(V).forEach(function(fe){(function I(ne,V){return U(ne,V)&&!(Object.hasOwnProperty.call(ne,V)&&Object.propertyIsEnumerable.call(ne,V))})(ne,fe)||(ue[fe]=U(ne,fe)&&W.isMergeableObject(V[fe])?function S(ne,V){if(!V.customMerge)return J;var W=V.customMerge(ne);return"function"==typeof W?W:J}(fe,W)(ne[fe],V[fe],W):k(V[fe],W))}),ue}(ne,V,W):k(V,W)}J.all=function(V,W){if(!Array.isArray(V))throw new Error("first argument should be an array");return V.reduce(function(ue,fe){return J(ue,fe,W)},{})},Se.exports=J},4901:Se=>{"use strict";var O={single_source_shortest_paths:function(y,f,e){var g={},_={};_[f]=0;var k,F,S,D,P,I,x=O.PriorityQueue.make();for(x.push(f,0);!x.empty();)for(S in D=(k=x.pop()).cost,P=y[F=k.value]||{})P.hasOwnProperty(S)&&(I=D+P[S],(typeof _[S]>"u"||_[S]>I)&&(_[S]=I,x.push(S,I),g[S]=F));if(typeof e<"u"&&typeof _[e]>"u"){var Z=["Could not find a path from ",f," to ",e,"."].join("");throw new Error(Z)}return g},extract_shortest_path_from_predecessor_list:function(y,f){for(var e=[],g=f;g;)e.push(g),g=y[g];return e.reverse(),e},find_path:function(y,f,e){var g=O.single_source_shortest_paths(y,f,e);return O.extract_shortest_path_from_predecessor_list(g,e)},PriorityQueue:{make:function(y){var g,f=O.PriorityQueue,e={};for(g in y=y||{},f)f.hasOwnProperty(g)&&(e[g]=f[g]);return e.queue=[],e.sorter=y.sorter||f.default_sorter,e},default_sorter:function(y,f){return y.cost-f.cost},push:function(y,f){this.queue.push({value:y,cost:f}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Se.exports=O},6316:(Se,O)=>{"use strict";var y,e;Object.defineProperty(O,"__esModule",{value:!0}),O.Doctype=O.CDATA=O.Tag=O.Style=O.Script=O.Comment=O.Directive=O.Text=O.Root=O.isTag=O.ElementType=void 0,(e=y=O.ElementType||(O.ElementType={})).Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype",O.isTag=function f(e){return e.type===y.Tag||e.type===y.Script||e.type===y.Style},O.Root=y.Root,O.Text=y.Text,O.Directive=y.Directive,O.Comment=y.Comment,O.Script=y.Script,O.Style=y.Style,O.Tag=y.Tag,O.CDATA=y.CDATA,O.Doctype=y.Doctype},8419:Se=>{"use strict";Se.exports=function(y){for(var f=[],e=y.length,g=0;g=55296&&_<=56319&&e>g+1){var x=y.charCodeAt(g+1);x>=56320&&x<=57343&&(_=1024*(_-55296)+x-56320+65536,g+=1)}_<128?f.push(_):_<2048?(f.push(_>>6|192),f.push(63&_|128)):_<55296||_>=57344&&_<65536?(f.push(_>>12|224),f.push(_>>6&63|128),f.push(63&_|128)):_>=65536&&_<=1114111?(f.push(_>>18|240),f.push(_>>12&63|128),f.push(_>>6&63|128),f.push(63&_|128)):f.push(239,191,189)}return new Uint8Array(f).buffer}},3457:Se=>{"use strict";var O="Function.prototype.bind called on incompatible ",y=Array.prototype.slice,f=Object.prototype.toString,e="[object Function]";Se.exports=function(_){var x=this;if("function"!=typeof x||f.call(x)!==e)throw new TypeError(O+x);for(var F,k=y.call(arguments,1),D=Math.max(0,x.length-k.length),P=[],U=0;U{"use strict";var f=y(3457);Se.exports=Function.prototype.bind||f},5203:(Se,O,y)=>{"use strict";var f,e=SyntaxError,g=Function,_=TypeError,x=function(pe){try{return g('"use strict"; return ('+pe+").constructor;")()}catch{}},k=Object.getOwnPropertyDescriptor;if(k)try{k({},"")}catch{k=null}var F=function(){throw new _},S=k?function(){try{return F}catch{try{return k(arguments,"callee").get}catch{return F}}}():F,D=y(2969)(),P=Object.getPrototypeOf||function(pe){return pe.__proto__},U={},I=typeof Uint8Array>"u"?f:P(Uint8Array),L={"%AggregateError%":typeof AggregateError>"u"?f:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?f:ArrayBuffer,"%ArrayIteratorPrototype%":D?P([][Symbol.iterator]()):f,"%AsyncFromSyncIteratorPrototype%":f,"%AsyncFunction%":U,"%AsyncGenerator%":U,"%AsyncGeneratorFunction%":U,"%AsyncIteratorPrototype%":U,"%Atomics%":typeof Atomics>"u"?f:Atomics,"%BigInt%":typeof BigInt>"u"?f:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?f:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?f:Float32Array,"%Float64Array%":typeof Float64Array>"u"?f:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?f:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":U,"%Int8Array%":typeof Int8Array>"u"?f:Int8Array,"%Int16Array%":typeof Int16Array>"u"?f:Int16Array,"%Int32Array%":typeof Int32Array>"u"?f:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D?P(P([][Symbol.iterator]())):f,"%JSON%":"object"==typeof JSON?JSON:f,"%Map%":typeof Map>"u"?f:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D?f:P((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?f:Promise,"%Proxy%":typeof Proxy>"u"?f:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?f:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?f:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D?f:P((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?f:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D?P(""[Symbol.iterator]()):f,"%Symbol%":D?Symbol:f,"%SyntaxError%":e,"%ThrowTypeError%":S,"%TypedArray%":I,"%TypeError%":_,"%Uint8Array%":typeof Uint8Array>"u"?f:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?f:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?f:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?f:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?f:WeakMap,"%WeakRef%":typeof WeakRef>"u"?f:WeakRef,"%WeakSet%":typeof WeakSet>"u"?f:WeakSet},J=function pe(ae){var De;if("%AsyncFunction%"===ae)De=x("async function () {}");else if("%GeneratorFunction%"===ae)De=x("function* () {}");else if("%AsyncGeneratorFunction%"===ae)De=x("async function* () {}");else if("%AsyncGenerator%"===ae){var Ce=pe("%AsyncGeneratorFunction%");Ce&&(De=Ce.prototype)}else if("%AsyncIteratorPrototype%"===ae){var Ue=pe("%AsyncGenerator%");Ue&&(De=P(Ue.prototype))}return L[ae]=De,De},Z={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ne=y(4444),V=y(3164),W=ne.call(Function.call,Array.prototype.concat),ue=ne.call(Function.apply,Array.prototype.splice),fe=ne.call(Function.call,String.prototype.replace),$=ne.call(Function.call,String.prototype.slice),Y=ne.call(Function.call,RegExp.prototype.exec),X=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ie=/\\(\\)?/g,te=function(ae){var De=$(ae,0,1),Ce=$(ae,-1);if("%"===De&&"%"!==Ce)throw new e("invalid intrinsic syntax, expected closing `%`");if("%"===Ce&&"%"!==De)throw new e("invalid intrinsic syntax, expected opening `%`");var Ue=[];return fe(ae,X,function(Je,Ie,rt,Fe){Ue[Ue.length]=rt?fe(Fe,ie,"$1"):Ie||Je}),Ue},le=function(ae,De){var Ue,Ce=ae;if(V(Z,Ce)&&(Ce="%"+(Ue=Z[Ce])[0]+"%"),V(L,Ce)){var Je=L[Ce];if(Je===U&&(Je=J(Ce)),typeof Je>"u"&&!De)throw new _("intrinsic "+ae+" exists, but is not available. Please file an issue!");return{alias:Ue,name:Ce,value:Je}}throw new e("intrinsic "+ae+" does not exist!")};Se.exports=function(ae,De){if("string"!=typeof ae||0===ae.length)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof De)throw new _('"allowMissing" argument must be a boolean');if(null===Y(/^%?[^%]*%?$/,ae))throw new e("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ce=te(ae),Ue=Ce.length>0?Ce[0]:"",Je=le("%"+Ue+"%",De),Ie=Je.name,rt=Je.value,Fe=!1,Le=Je.alias;Le&&(Ue=Le[0],ue(Ce,W([0,1],Le)));for(var at=1,Ze=!0;at=Ce.length){var $t=k(rt,xt);rt=(Ze=!!$t)&&"get"in $t&&!("originalValue"in $t.get)?$t.get:rt[xt]}else Ze=V(rt,xt),rt=rt[xt];Ze&&!Fe&&(L[Ie]=rt)}}return rt}},2969:(Se,O,y)=>{"use strict";var f=typeof Symbol<"u"&&Symbol,e=y(1983);Se.exports=function(){return"function"==typeof f&&"function"==typeof Symbol&&"symbol"==typeof f("foo")&&"symbol"==typeof Symbol("bar")&&e()}},1983:Se=>{"use strict";Se.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var y={},f=Symbol("test"),e=Object(f);if("string"==typeof f||"[object Symbol]"!==Object.prototype.toString.call(f)||"[object Symbol]"!==Object.prototype.toString.call(e))return!1;for(f in y[f]=42,y)return!1;if("function"==typeof Object.keys&&0!==Object.keys(y).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(y).length)return!1;var _=Object.getOwnPropertySymbols(y);if(1!==_.length||_[0]!==f||!Object.prototype.propertyIsEnumerable.call(y,f))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var x=Object.getOwnPropertyDescriptor(y,f);if(42!==x.value||!0!==x.enumerable)return!1}return!0}},3164:(Se,O,y)=>{"use strict";var f=y(4444);Se.exports=f.call(Function.call,Object.prototype.hasOwnProperty)},9140:function(Se,O){!function(y){"use strict";function f(K){return null==K}var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(K,c){K.__proto__=c}||function(K,c){for(var d in c)c.hasOwnProperty(d)&&(K[d]=c[d])};var k=function(K){function c(d){var h=this.constructor,p=K.call(this,d)||this;return Object.defineProperty(p,"name",{value:h.name,enumerable:!1}),function _(K,c){var d=Object.setPrototypeOf;d?d(K,c):K.__proto__=c}(p,h.prototype),function x(K,c){void 0===c&&(c=K.constructor);var d=Error.captureStackTrace;d&&d(K,c)}(p),p}return function g(K,c){function d(){this.constructor=K}e(K,c),K.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}(c,K),c}(Error);let F=(()=>{class K extends k{constructor(d){super(d),this.message=d}getKind(){return this.constructor.kind}}return K.kind="Exception",K})(),S=(()=>{class K extends F{}return K.kind="ArgumentException",K})(),D=(()=>{class K extends F{}return K.kind="IllegalArgumentException",K})();class P{constructor(c){if(this.binarizer=c,null===c)throw new D("Binarizer must be non-null.")}getWidth(){return this.binarizer.getWidth()}getHeight(){return this.binarizer.getHeight()}getBlackRow(c,d){return this.binarizer.getBlackRow(c,d)}getBlackMatrix(){return null==this.matrix&&(this.matrix=this.binarizer.getBlackMatrix()),this.matrix}isCropSupported(){return this.binarizer.getLuminanceSource().isCropSupported()}crop(c,d,h,p){const b=this.binarizer.getLuminanceSource().crop(c,d,h,p);return new P(this.binarizer.createBinarizer(b))}isRotateSupported(){return this.binarizer.getLuminanceSource().isRotateSupported()}rotateCounterClockwise(){const c=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new P(this.binarizer.createBinarizer(c))}rotateCounterClockwise45(){const c=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new P(this.binarizer.createBinarizer(c))}toString(){try{return this.getBlackMatrix().toString()}catch{return""}}}let U=(()=>{class K extends F{static getChecksumInstance(){return new K}}return K.kind="ChecksumException",K})();class I{constructor(c){this.source=c}getLuminanceSource(){return this.source}getWidth(){return this.source.getWidth()}getHeight(){return this.source.getHeight()}}class L{static arraycopy(c,d,h,p,b){for(;b--;)h[p++]=c[d++]}static currentTimeMillis(){return Date.now()}}let J=(()=>{class K extends F{}return K.kind="IndexOutOfBoundsException",K})(),Z=(()=>{class K extends J{constructor(d,h){super(h),this.index=d,this.message=h}}return K.kind="ArrayIndexOutOfBoundsException",K})();class ne{static fill(c,d){for(let h=0,p=c.length;hh)throw new D("fromIndex("+d+") > toIndex("+h+")");if(d<0)throw new Z(d);if(h>c)throw new Z(h)}static asList(...c){return c}static create(c,d,h){return Array.from({length:c}).map(b=>Array.from({length:d}).fill(h))}static createInt32Array(c,d,h){return Array.from({length:c}).map(b=>Int32Array.from({length:d}).fill(h))}static equals(c,d){if(!(c&&d&&c.length&&d.length&&c.length===d.length))return!1;for(let h=0,p=c.length;h>1,A=h(d,c[C]);if(A>0)p=C+1;else{if(!(A<0))return C;b=C-1}}return-p-1}static numberComparator(c,d){return c-d}}class V{static numberOfTrailingZeros(c){let d;if(0===c)return 32;let h=31;return d=c<<16,0!==d&&(h-=16,c=d),d=c<<8,0!==d&&(h-=8,c=d),d=c<<4,0!==d&&(h-=4,c=d),d=c<<2,0!==d&&(h-=2,c=d),h-(c<<1>>>31)}static numberOfLeadingZeros(c){if(0===c)return 32;let d=1;return c>>>16||(d+=16,c<<=16),c>>>24||(d+=8,c<<=8),c>>>28||(d+=4,c<<=4),c>>>30||(d+=2,c<<=2),d-=c>>>31,d}static toHexString(c){return c.toString(16)}static toBinaryString(c){return String(parseInt(String(c),2))}static bitCount(c){return c=(c=(858993459&(c-=c>>>1&1431655765))+(c>>>2&858993459))+(c>>>4)&252645135,63&(c+=c>>>8)+(c>>>16)}static truncDivision(c,d){return Math.trunc(c/d)}static parseInt(c,d){return parseInt(c,d)}}V.MIN_VALUE_32_BITS=-2147483648,V.MAX_VALUE=Number.MAX_SAFE_INTEGER;class W{constructor(c,d){void 0===c?(this.size=0,this.bits=new Int32Array(1)):(this.size=c,this.bits=null==d?W.makeArray(c):d)}getSize(){return this.size}getSizeInBytes(){return Math.floor((this.size+7)/8)}ensureCapacity(c){if(c>32*this.bits.length){const d=W.makeArray(c);L.arraycopy(this.bits,0,d,0,this.bits.length),this.bits=d}}get(c){return 0!=(this.bits[Math.floor(c/32)]&1<<(31&c))}set(c){this.bits[Math.floor(c/32)]|=1<<(31&c)}flip(c){this.bits[Math.floor(c/32)]^=1<<(31&c)}getNextSet(c){const d=this.size;if(c>=d)return d;const h=this.bits;let p=Math.floor(c/32),b=h[p];b&=~((1<<(31&c))-1);const C=h.length;for(;0===b;){if(++p===C)return d;b=h[p]}const A=32*p+V.numberOfTrailingZeros(b);return A>d?d:A}getNextUnset(c){const d=this.size;if(c>=d)return d;const h=this.bits;let p=Math.floor(c/32),b=~h[p];b&=~((1<<(31&c))-1);const C=h.length;for(;0===b;){if(++p===C)return d;b=~h[p]}const A=32*p+V.numberOfTrailingZeros(b);return A>d?d:A}setBulk(c,d){this.bits[Math.floor(c/32)]=d}setRange(c,d){if(dthis.size)throw new D;if(d===c)return;d--;const h=Math.floor(c/32),p=Math.floor(d/32),b=this.bits;for(let C=h;C<=p;C++)b[C]|=(2<<(Ch?0:31&c))}clear(){const c=this.bits.length,d=this.bits;for(let h=0;hthis.size)throw new D;if(d===c)return!0;d--;const p=Math.floor(c/32),b=Math.floor(d/32),C=this.bits;for(let A=p;A<=b;A++){const he=(2<<(Ap?0:31&c))&4294967295;if((C[A]&he)!==(h?he:0))return!1}return!0}appendBit(c){this.ensureCapacity(this.size+1),c&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++}appendBits(c,d){if(d<0||d>32)throw new D("Num bits must be between 0 and 32");this.ensureCapacity(this.size+d);for(let h=d;h>0;h--)this.appendBit(1==(c>>h-1&1))}appendBitArray(c){const d=c.size;this.ensureCapacity(this.size+d);for(let h=0;h>1&1431655765|(1431655765&C)<<1,C=C>>2&858993459|(858993459&C)<<2,C=C>>4&252645135|(252645135&C)<<4,C=C>>8&16711935|(16711935&C)<<8,C=C>>16&65535|(65535&C)<<16,c[d-b]=C}if(this.size!==32*h){const b=32*h-this.size;let C=c[0]>>>b;for(let A=1;A>>b}c[h-1]=C}this.bits=c}static makeArray(c){return new Int32Array(Math.floor((c+31)/32))}equals(c){return c instanceof W&&this.size===c.size&&ne.equals(this.bits,c.bits)}hashCode(){return 31*this.size+ne.hashCode(this.bits)}toString(){let c="";for(let d=0,h=this.size;d{return(K=ue||(ue={}))[K.OTHER=0]="OTHER",K[K.PURE_BARCODE=1]="PURE_BARCODE",K[K.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",K[K.TRY_HARDER=3]="TRY_HARDER",K[K.CHARACTER_SET=4]="CHARACTER_SET",K[K.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",K[K.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",K[K.ASSUME_GS1=7]="ASSUME_GS1",K[K.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",K[K.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",K[K.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS",ue;var K})(),fe=ue;let $=(()=>{class K extends F{static getFormatInstance(){return new K}}return K.kind="FormatException",K})();var Y=(()=>{return(K=Y||(Y={}))[K.Cp437=0]="Cp437",K[K.ISO8859_1=1]="ISO8859_1",K[K.ISO8859_2=2]="ISO8859_2",K[K.ISO8859_3=3]="ISO8859_3",K[K.ISO8859_4=4]="ISO8859_4",K[K.ISO8859_5=5]="ISO8859_5",K[K.ISO8859_6=6]="ISO8859_6",K[K.ISO8859_7=7]="ISO8859_7",K[K.ISO8859_8=8]="ISO8859_8",K[K.ISO8859_9=9]="ISO8859_9",K[K.ISO8859_10=10]="ISO8859_10",K[K.ISO8859_11=11]="ISO8859_11",K[K.ISO8859_13=12]="ISO8859_13",K[K.ISO8859_14=13]="ISO8859_14",K[K.ISO8859_15=14]="ISO8859_15",K[K.ISO8859_16=15]="ISO8859_16",K[K.SJIS=16]="SJIS",K[K.Cp1250=17]="Cp1250",K[K.Cp1251=18]="Cp1251",K[K.Cp1252=19]="Cp1252",K[K.Cp1256=20]="Cp1256",K[K.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",K[K.UTF8=22]="UTF8",K[K.ASCII=23]="ASCII",K[K.Big5=24]="Big5",K[K.GB18030=25]="GB18030",K[K.EUC_KR=26]="EUC_KR",Y;var K})();class X{constructor(c,d,h,...p){this.valueIdentifier=c,this.name=h,this.values="number"==typeof d?Int32Array.from([d]):d,this.otherEncodingNames=p,X.VALUE_IDENTIFIER_TO_ECI.set(c,this),X.NAME_TO_ECI.set(h,this);const b=this.values;for(let C=0,A=b.length;C!==A;C++)X.VALUES_TO_ECI.set(b[C],this);for(const C of p)X.NAME_TO_ECI.set(C,this)}getValueIdentifier(){return this.valueIdentifier}getName(){return this.name}getValue(){return this.values[0]}static getCharacterSetECIByValue(c){if(c<0||c>=900)throw new $("incorect value");const d=X.VALUES_TO_ECI.get(c);if(void 0===d)throw new $("incorect value");return d}static getCharacterSetECIByName(c){const d=X.NAME_TO_ECI.get(c);if(void 0===d)throw new $("incorect value");return d}equals(c){if(!(c instanceof X))return!1;const d=c;return this.getName()===d.getName()}}X.VALUE_IDENTIFIER_TO_ECI=new Map,X.VALUES_TO_ECI=new Map,X.NAME_TO_ECI=new Map,X.Cp437=new X(Y.Cp437,Int32Array.from([0,2]),"Cp437"),X.ISO8859_1=new X(Y.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),X.ISO8859_2=new X(Y.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),X.ISO8859_3=new X(Y.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),X.ISO8859_4=new X(Y.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),X.ISO8859_5=new X(Y.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),X.ISO8859_6=new X(Y.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),X.ISO8859_7=new X(Y.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),X.ISO8859_8=new X(Y.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),X.ISO8859_9=new X(Y.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),X.ISO8859_10=new X(Y.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),X.ISO8859_11=new X(Y.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),X.ISO8859_13=new X(Y.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),X.ISO8859_14=new X(Y.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),X.ISO8859_15=new X(Y.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),X.ISO8859_16=new X(Y.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),X.SJIS=new X(Y.SJIS,20,"SJIS","Shift_JIS"),X.Cp1250=new X(Y.Cp1250,21,"Cp1250","windows-1250"),X.Cp1251=new X(Y.Cp1251,22,"Cp1251","windows-1251"),X.Cp1252=new X(Y.Cp1252,23,"Cp1252","windows-1252"),X.Cp1256=new X(Y.Cp1256,24,"Cp1256","windows-1256"),X.UnicodeBigUnmarked=new X(Y.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),X.UTF8=new X(Y.UTF8,26,"UTF8","UTF-8"),X.ASCII=new X(Y.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),X.Big5=new X(Y.Big5,28,"Big5"),X.GB18030=new X(Y.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),X.EUC_KR=new X(Y.EUC_KR,30,"EUC_KR","EUC-KR");let ie=(()=>{class K extends F{}return K.kind="UnsupportedOperationException",K})();class te{static decode(c,d){const h=this.encodingName(d);return this.customDecoder?this.customDecoder(c,h):typeof TextDecoder>"u"||this.shouldDecodeOnFallback(h)?this.decodeFallback(c,h):new TextDecoder(h).decode(c)}static shouldDecodeOnFallback(c){return!te.isBrowser()&&"ISO-8859-1"===c}static encode(c,d){const h=this.encodingName(d);return this.customEncoder?this.customEncoder(c,h):typeof TextEncoder>"u"?this.encodeFallback(c):(new TextEncoder).encode(c)}static isBrowser(){return typeof window<"u"&&"[object Window]"==={}.toString.call(window)}static encodingName(c){return"string"==typeof c?c:c.getName()}static encodingCharacterSet(c){return c instanceof X?c:X.getCharacterSetECIByName(c)}static decodeFallback(c,d){const h=this.encodingCharacterSet(d);if(te.isDecodeFallbackSupported(h)){let p="";for(let b=0,C=c.length;b3&&239===c[0]&&187===c[1]&&191===c[2];for(let Ai=0;Ai0?128&ri?A--:C=!1:128&ri&&(64&ri?(A++,32&ri?(A++,16&ri?(A++,8&ri?C=!1:he++):q++):N++):C=!1)),p&&(ri>127&&ri<160?p=!1:ri>159&&(ri<192||215===ri||247===ri)&&qt++),b&&(Te>0?ri<64||127===ri||ri>252?b=!1:Te--:128===ri||160===ri||ri>239?b=!1:ri>160&&ri<224?(je++,wt=0,ct++,ct>Mt&&(Mt=ct)):ri>127?(Te++,ct=0,wt++,wt>jt&&(jt=wt)):(ct=0,wt=0))}return C&&A>0&&(C=!1),b&&Te>0&&(b=!1),C&&(wi||N+q+he>0)?le.UTF8:b&&(le.ASSUME_SHIFT_JIS||Mt>=3||jt>=3)?le.SHIFT_JIS:p&&b?2===Mt&&2===je||10*qt>=h?le.SHIFT_JIS:le.ISO88591:p?le.ISO88591:b?le.SHIFT_JIS:C?le.UTF8:le.PLATFORM_DEFAULT_ENCODING}static format(c,...d){let h=-1;return c.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,function p(C,A,N,q,he,Te){if("%%"===C)return"%";if(void 0===d[++h])return;C=q?parseInt(q.substr(1)):void 0;let ct,je=he?parseInt(he.substr(1)):void 0;switch(Te){case"s":ct=d[h];break;case"c":ct=d[h][0];break;case"f":ct=parseFloat(d[h]).toFixed(C);break;case"p":ct=parseFloat(d[h]).toPrecision(C);break;case"e":ct=parseFloat(d[h]).toExponential(C);break;case"x":ct=parseInt(d[h]).toString(je||16);break;case"d":ct=parseFloat(parseInt(d[h],je||10).toPrecision(C)).toFixed(0)}ct="object"==typeof ct?JSON.stringify(ct):(+ct).toString(je);let wt=parseInt(N),Mt=N&&N[0]+""=="0"?"0":" ";for(;ct.lengthC){if(-1===A)A=b-C;else if(b-C!==A)throw new D("row lengths do not match");C=b,N++}q++}else if(c.substring(q,q+d.length)===d)q+=d.length,p[b]=!0,b++;else{if(c.substring(q,q+h.length)!==h)throw new D("illegal character encountered: "+c.substring(q));q+=h.length,p[b]=!1,b++}if(b>C){if(-1===A)A=b-C;else if(b-C!==A)throw new D("row lengths do not match");N++}const he=new ae(A,N);for(let Te=0;Te>>(31&c)&1)}set(c,d){const h=d*this.rowSize+Math.floor(c/32);this.bits[h]|=1<<(31&c)&4294967295}unset(c,d){const h=d*this.rowSize+Math.floor(c/32);this.bits[h]&=~(1<<(31&c)&4294967295)}flip(c,d){const h=d*this.rowSize+Math.floor(c/32);this.bits[h]^=1<<(31&c)&4294967295}xor(c){if(this.width!==c.getWidth()||this.height!==c.getHeight()||this.rowSize!==c.getRowSize())throw new D("input matrix dimensions do not match");const d=new W(Math.floor(this.width/32)+1),h=this.rowSize,p=this.bits;for(let b=0,C=this.height;bthis.height||b>this.width)throw new D("The region must fit inside the matrix");const A=this.rowSize,N=this.bits;for(let q=d;qN&&(N=q),32*heA){let je=31;for(;!(Te>>>je);)je--;32*he+je>A&&(A=32*he+je)}}}return A=0&&0===d[h];)h--;if(h<0)return null;const p=Math.floor(h/c);let b=32*Math.floor(h%c);const C=d[h];let A=31;for(;!(C>>>A);)A--;return b+=A,Int32Array.from([b,p])}getWidth(){return this.width}getHeight(){return this.height}getRowSize(){return this.rowSize}equals(c){return c instanceof ae&&this.width===c.width&&this.height===c.height&&this.rowSize===c.rowSize&&ne.equals(this.bits,c.bits)}hashCode(){let c=this.width;return c=31*c+this.width,c=31*c+this.height,c=31*c+this.rowSize,c=31*c+ne.hashCode(this.bits),c}toString(c="X ",d=" ",h="\n"){return this.buildToString(c,d,h)}buildToString(c,d,h){let p=new pe;for(let b=0,C=this.height;b{class K extends F{static getNotFoundInstance(){return new K}}return K.kind="NotFoundException",K})();class Ce extends I{constructor(c){super(c),this.luminances=Ce.EMPTY,this.buckets=new Int32Array(Ce.LUMINANCE_BUCKETS)}getBlackRow(c,d){const h=this.getLuminanceSource(),p=h.getWidth();null==d||d.getSize()>Ce.LUMINANCE_SHIFT]++;const A=Ce.estimateBlackPoint(C);if(p<3)for(let N=0;N>Ce.LUMINANCE_SHIFT]++}const C=Ce.estimateBlackPoint(b),A=c.getMatrix();for(let N=0;Nb&&(p=he,b=c[he]),c[he]>h&&(h=c[he]);let C=0,A=0;for(let he=0;heA&&(C=he,A=je)}if(p>C){const he=p;p=C,C=he}if(C-p<=d/16)throw new De;let N=C-1,q=-1;for(let he=C-1;he>p;he--){const Te=he-p,je=Te*Te*(C-he)*(h-c[he]);je>q&&(N=he,q=je)}return N<=Ue.MINIMUM_DIMENSION&&h>=Ue.MINIMUM_DIMENSION){const p=c.getMatrix();let b=d>>Ue.BLOCK_SIZE_POWER;d&Ue.BLOCK_SIZE_MASK&&b++;let C=h>>Ue.BLOCK_SIZE_POWER;h&Ue.BLOCK_SIZE_MASK&&C++;const A=Ue.calculateBlackPoints(p,b,C,d,h),N=new ae(d,h);Ue.calculateThresholdForBlock(p,b,C,d,h,A,N),this.matrix=N}else this.matrix=super.getBlackMatrix();return this.matrix}createBinarizer(c){return new Ue(c)}static calculateThresholdForBlock(c,d,h,p,b,C,A){const N=b-Ue.BLOCK_SIZE,q=p-Ue.BLOCK_SIZE;for(let he=0;heN&&(Te=N);const je=Ue.cap(he,2,h-3);for(let ct=0;ctq&&(wt=q);const Mt=Ue.cap(ct,2,d-3);let jt=0;for(let wi=-2;wi<=2;wi++){const Ai=C[je+wi];jt+=Ai[Mt-2]+Ai[Mt-1]+Ai[Mt]+Ai[Mt+1]+Ai[Mt+2]}Ue.thresholdBlock(c,wt,Te,jt/25,p,A)}}}static cap(c,d,h){return ch?h:c}static thresholdBlock(c,d,h,p,b,C){for(let A=0,N=h*b+d;AC&&(he=C);for(let Te=0;TeA&&(je=A);let ct=0,wt=255,Mt=0;for(let qt=0,wi=he*p+je;qtMt&&(Mt=ri)}if(Mt-wt>Ue.MIN_DYNAMIC_RANGE)for(qt++,wi+=p;qt>2*Ue.BLOCK_SIZE_POWER;if(Mt-wt<=Ue.MIN_DYNAMIC_RANGE&&(jt=wt/2,q>0&&Te>0)){const qt=(N[q-1][Te]+2*N[q][Te-1]+N[q-1][Te-1])/4;wt>10,p[C]=N}return p}getRow(c,d){if(c<0||c>=this.getHeight())throw new D("Requested row is outside the image: "+c);const h=this.getWidth(),p=c*h;return null===d?d=this.buffer.slice(p,p+h):(d.lengthnew Fe(d.deviceId,d.label))})}findDeviceById(c){return Le(this,void 0,void 0,function*(){const d=yield this.listVideoInputDevices();return d?d.find(h=>h.deviceId===c):null})}decodeFromInputVideoDevice(c,d){return Le(this,void 0,void 0,function*(){return yield this.decodeOnceFromVideoDevice(c,d)})}decodeOnceFromVideoDevice(c,d){return Le(this,void 0,void 0,function*(){let h;this.reset(),h=c?{deviceId:{exact:c}}:{facingMode:"environment"};const p={video:h};return yield this.decodeOnceFromConstraints(p,d)})}decodeOnceFromConstraints(c,d){return Le(this,void 0,void 0,function*(){const h=yield navigator.mediaDevices.getUserMedia(c);return yield this.decodeOnceFromStream(h,d)})}decodeOnceFromStream(c,d){return Le(this,void 0,void 0,function*(){this.reset();const h=yield this.attachStreamToVideo(c,d);return yield this.decodeOnce(h)})}decodeFromInputVideoDeviceContinuously(c,d,h){return Le(this,void 0,void 0,function*(){return yield this.decodeFromVideoDevice(c,d,h)})}decodeFromVideoDevice(c,d,h){return Le(this,void 0,void 0,function*(){let p;p=c?{deviceId:{exact:c}}:{facingMode:"environment"};const b={video:p};return yield this.decodeFromConstraints(b,d,h)})}decodeFromConstraints(c,d,h){return Le(this,void 0,void 0,function*(){const p=yield navigator.mediaDevices.getUserMedia(c);return yield this.decodeFromStream(p,d,h)})}decodeFromStream(c,d,h){return Le(this,void 0,void 0,function*(){this.reset();const p=yield this.attachStreamToVideo(c,d);return yield this.decodeContinuously(p,h)})}stopAsyncDecode(){this._stopAsyncDecode=!0}stopContinuousDecode(){this._stopContinuousDecode=!0}attachStreamToVideo(c,d){return Le(this,void 0,void 0,function*(){const h=this.prepareVideoElement(d);return this.addVideoSource(h,c),this.videoElement=h,this.stream=c,yield this.playVideoOnLoadAsync(h),h})}playVideoOnLoadAsync(c){return new Promise((d,h)=>this.playVideoOnLoad(c,()=>d()))}playVideoOnLoad(c,d){this.videoEndedListener=()=>this.stopStreams(),this.videoCanPlayListener=()=>this.tryPlayVideo(c),c.addEventListener("ended",this.videoEndedListener),c.addEventListener("canplay",this.videoCanPlayListener),c.addEventListener("playing",d),this.tryPlayVideo(c)}isVideoPlaying(c){return c.currentTime>0&&!c.paused&&!c.ended&&c.readyState>2}tryPlayVideo(c){return Le(this,void 0,void 0,function*(){if(this.isVideoPlaying(c))console.warn("Trying to play video that is already playing.");else try{yield c.play()}catch{console.warn("It was not possible to play the video.")}})}getMediaElement(c,d){const h=document.getElementById(c);if(!h)throw new S(`element with id '${c}' not found`);if(h.nodeName.toLowerCase()!==d.toLowerCase())throw new S(`element with id '${c}' must be an ${d} element`);return h}decodeFromImage(c,d){if(!c&&!d)throw new S("either imageElement with a src set or an url must be provided");return d&&!c?this.decodeFromImageUrl(d):this.decodeFromImageElement(c)}decodeFromVideo(c,d){if(!c&&!d)throw new S("Either an element with a src set or an URL must be provided");return d&&!c?this.decodeFromVideoUrl(d):this.decodeFromVideoElement(c)}decodeFromVideoContinuously(c,d,h){if(void 0===c&&void 0===d)throw new S("Either an element with a src set or an URL must be provided");return d&&!c?this.decodeFromVideoUrlContinuously(d,h):this.decodeFromVideoElementContinuously(c,h)}decodeFromImageElement(c){if(!c)throw new S("An image element must be provided.");this.reset();const d=this.prepareImageElement(c);let h;return this.imageElement=d,h=this.isImageLoaded(d)?this.decodeOnce(d,!1,!0):this._decodeOnLoadImage(d),h}decodeFromVideoElement(c){const d=this._decodeFromVideoElementSetup(c);return this._decodeOnLoadVideo(d)}decodeFromVideoElementContinuously(c,d){const h=this._decodeFromVideoElementSetup(c);return this._decodeOnLoadVideoContinuously(h,d)}_decodeFromVideoElementSetup(c){if(!c)throw new S("A video element must be provided.");this.reset();const d=this.prepareVideoElement(c);return this.videoElement=d,d}decodeFromImageUrl(c){if(!c)throw new S("An URL must be provided.");this.reset();const d=this.prepareImageElement();this.imageElement=d;const h=this._decodeOnLoadImage(d);return d.src=c,h}decodeFromVideoUrl(c){if(!c)throw new S("An URL must be provided.");this.reset();const d=this.prepareVideoElement(),h=this.decodeFromVideoElement(d);return d.src=c,h}decodeFromVideoUrlContinuously(c,d){if(!c)throw new S("An URL must be provided.");this.reset();const h=this.prepareVideoElement(),p=this.decodeFromVideoElementContinuously(h,d);return h.src=c,p}_decodeOnLoadImage(c){return new Promise((d,h)=>{this.imageLoadedListener=()=>this.decodeOnce(c,!1,!0).then(d,h),c.addEventListener("load",this.imageLoadedListener)})}_decodeOnLoadVideo(c){return Le(this,void 0,void 0,function*(){return yield this.playVideoOnLoadAsync(c),yield this.decodeOnce(c)})}_decodeOnLoadVideoContinuously(c,d){return Le(this,void 0,void 0,function*(){yield this.playVideoOnLoadAsync(c),this.decodeContinuously(c,d)})}isImageLoaded(c){return!(!c.complete||0===c.naturalWidth)}prepareImageElement(c){let d;return typeof c>"u"&&(d=document.createElement("img"),d.width=200,d.height=200),"string"==typeof c&&(d=this.getMediaElement(c,"img")),c instanceof HTMLImageElement&&(d=c),d}prepareVideoElement(c){let d;return!c&&typeof document<"u"&&(d=document.createElement("video"),d.width=200,d.height=200),"string"==typeof c&&(d=this.getMediaElement(c,"video")),c instanceof HTMLVideoElement&&(d=c),d.setAttribute("autoplay","true"),d.setAttribute("muted","true"),d.setAttribute("playsinline","true"),d}decodeOnce(c,d=!0,h=!0){this._stopAsyncDecode=!1;const p=(b,C)=>{if(this._stopAsyncDecode)return C(new De("Video stream has ended before any code could be detected.")),void(this._stopAsyncDecode=void 0);try{b(this.decode(c))}catch(A){if(d&&A instanceof De||(A instanceof U||A instanceof $)&&h)return setTimeout(p,this._timeBetweenDecodingAttempts,b,C);C(A)}};return new Promise((b,C)=>p(b,C))}decodeContinuously(c,d){this._stopContinuousDecode=!1;const h=()=>{if(this._stopContinuousDecode)this._stopContinuousDecode=void 0;else try{const p=this.decode(c);d(p,null),setTimeout(h,this.timeBetweenScansMillis)}catch(p){d(null,p),(p instanceof U||p instanceof $||p instanceof De)&&setTimeout(h,this._timeBetweenDecodingAttempts)}};h()}decode(c){const d=this.createBinaryBitmap(c);return this.decodeBitmap(d)}_isHTMLVideoElement(c){return 0!==c.videoWidth}drawFrameOnCanvas(c,d,h){d||(d={sx:0,sy:0,sWidth:c.videoWidth,sHeight:c.videoHeight,dx:0,dy:0,dWidth:c.videoWidth,dHeight:c.videoHeight}),h||(h=this.captureCanvasContext),h.drawImage(c,d.sx,d.sy,d.sWidth,d.sHeight,d.dx,d.dy,d.dWidth,d.dHeight)}drawImageOnCanvas(c,d,h=this.captureCanvasContext){d||(d={sx:0,sy:0,sWidth:c.naturalWidth,sHeight:c.naturalHeight,dx:0,dy:0,dWidth:c.naturalWidth,dHeight:c.naturalHeight}),h||(h=this.captureCanvasContext),h.drawImage(c,d.sx,d.sy,d.sWidth,d.sHeight,d.dx,d.dy,d.dWidth,d.dHeight)}createBinaryBitmap(c){this.getCaptureCanvasContext(c),this._isHTMLVideoElement(c)?this.drawFrameOnCanvas(c):this.drawImageOnCanvas(c);const h=this.getCaptureCanvas(c),p=new rt(h),b=new Ue(p);return new P(b)}getCaptureCanvasContext(c){if(!this.captureCanvasContext){const h=this.getCaptureCanvas(c).getContext("2d");this.captureCanvasContext=h}return this.captureCanvasContext}getCaptureCanvas(c){if(!this.captureCanvas){const d=this.createCaptureCanvas(c);this.captureCanvas=d}return this.captureCanvas}decodeBitmap(c){return this.reader.decode(c,this._hints)}createCaptureCanvas(c){if(typeof document>"u")return this._destroyCaptureCanvas(),null;const d=document.createElement("canvas");let h,p;return typeof c<"u"&&(c instanceof HTMLVideoElement?(h=c.videoWidth,p=c.videoHeight):c instanceof HTMLImageElement&&(h=c.naturalWidth||c.width,p=c.naturalHeight||c.height)),d.style.width=h+"px",d.style.height=p+"px",d.width=h,d.height=p,d}stopStreams(){this.stream&&(this.stream.getVideoTracks().forEach(c=>c.stop()),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()}reset(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()}_destroyVideoElement(){this.videoElement&&(typeof this.videoEndedListener<"u"&&this.videoElement.removeEventListener("ended",this.videoEndedListener),typeof this.videoPlayingEventListener<"u"&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),typeof this.videoCanPlayListener<"u"&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)}_destroyImageElement(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)}_destroyCaptureCanvas(){this.captureCanvasContext=void 0,this.captureCanvas=void 0}addVideoSource(c,d){try{c.srcObject=d}catch{c.src=URL.createObjectURL(d)}}cleanVideoSource(c){try{c.srcObject=null}catch{c.src=""}this.videoElement.removeAttribute("src")}}class Ze{constructor(c,d,h=(null==d?0:8*d.length),p,b,C=L.currentTimeMillis()){this.text=c,this.rawBytes=d,this.numBits=h,this.resultPoints=p,this.format=b,this.timestamp=C,this.text=c,this.rawBytes=d,this.numBits=null==h?null==d?0:8*d.length:h,this.resultPoints=p,this.format=b,this.resultMetadata=null,this.timestamp=null==C?L.currentTimeMillis():C}getText(){return this.text}getRawBytes(){return this.rawBytes}getNumBits(){return this.numBits}getResultPoints(){return this.resultPoints}getBarcodeFormat(){return this.format}getResultMetadata(){return this.resultMetadata}putMetadata(c,d){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(c,d)}putAllMetadata(c){null!==c&&(this.resultMetadata=null===this.resultMetadata?c:new Map(c))}addResultPoints(c){const d=this.resultPoints;if(null===d)this.resultPoints=c;else if(null!==c&&c.length>0){const h=new Array(d.length+c.length);L.arraycopy(d,0,h,0,d.length),L.arraycopy(c,0,h,d.length,c.length),this.resultPoints=h}}getTimestamp(){return this.timestamp}toString(){return this.text}}var xt=(()=>{return(K=xt||(xt={}))[K.AZTEC=0]="AZTEC",K[K.CODABAR=1]="CODABAR",K[K.CODE_39=2]="CODE_39",K[K.CODE_93=3]="CODE_93",K[K.CODE_128=4]="CODE_128",K[K.DATA_MATRIX=5]="DATA_MATRIX",K[K.EAN_8=6]="EAN_8",K[K.EAN_13=7]="EAN_13",K[K.ITF=8]="ITF",K[K.MAXICODE=9]="MAXICODE",K[K.PDF_417=10]="PDF_417",K[K.QR_CODE=11]="QR_CODE",K[K.RSS_14=12]="RSS_14",K[K.RSS_EXPANDED=13]="RSS_EXPANDED",K[K.UPC_A=14]="UPC_A",K[K.UPC_E=15]="UPC_E",K[K.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION",xt;var K})(),lt=xt,We=(()=>{return(K=We||(We={}))[K.OTHER=0]="OTHER",K[K.ORIENTATION=1]="ORIENTATION",K[K.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",K[K.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",K[K.ISSUE_NUMBER=4]="ISSUE_NUMBER",K[K.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",K[K.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",K[K.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",K[K.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",K[K.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",K[K.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY",We;var K})(),$t=We;class Yt{constructor(c,d,h,p,b=-1,C=-1){this.rawBytes=c,this.text=d,this.byteSegments=h,this.ecLevel=p,this.structuredAppendSequenceNumber=b,this.structuredAppendParity=C,this.numBits=null==c?0:8*c.length}getRawBytes(){return this.rawBytes}getNumBits(){return this.numBits}setNumBits(c){this.numBits=c}getText(){return this.text}getByteSegments(){return this.byteSegments}getECLevel(){return this.ecLevel}getErrorsCorrected(){return this.errorsCorrected}setErrorsCorrected(c){this.errorsCorrected=c}getErasures(){return this.erasures}setErasures(c){this.erasures=c}getOther(){return this.other}setOther(c){this.other=c}hasStructuredAppend(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0}getStructuredAppendParity(){return this.structuredAppendParity}getStructuredAppendSequenceNumber(){return this.structuredAppendSequenceNumber}}class we{exp(c){return this.expTable[c]}log(c){if(0===c)throw new D;return this.logTable[c]}static addOrSubtract(c,d){return c^d}}class st{constructor(c,d){if(0===d.length)throw new D;this.field=c;const h=d.length;if(h>1&&0===d[0]){let p=1;for(;ph.length){const C=d;d=h,h=C}let p=new Int32Array(h.length);const b=h.length-d.length;L.arraycopy(h,0,p,0,b);for(let C=b;C=c.getDegree()&&!p.isZero();){const A=p.getDegree()-c.getDegree(),N=d.multiply(p.getCoefficient(p.getDegree()),C),q=c.multiplyByMonomial(A,N),he=d.buildMonomial(A,N);h=h.addOrSubtract(he),p=p.addOrSubtract(q)}return[h,p]}toString(){let c="";for(let d=this.getDegree();d>=0;d--){let h=this.getCoefficient(d);if(0!==h){if(h<0?(c+=" - ",h=-h):c.length>0&&(c+=" + "),0===d||1!==h){const p=this.field.log(h);0===p?c+="1":1===p?c+="a":(c+="a^",c+=p)}0!==d&&(1===d?c+="x":(c+="x^",c+=d))}}return c}}let Jt=(()=>{class K extends F{}return K.kind="ArithmeticException",K})();class Et extends we{constructor(c,d,h){super(),this.primitive=c,this.size=d,this.generatorBase=h;const p=new Int32Array(d);let b=1;for(let A=0;A=d&&(b^=c,b&=d-1);this.expTable=p;const C=new Int32Array(d);for(let A=0;A{class K extends F{}return K.kind="ReedSolomonException",K})(),ht=(()=>{class K extends F{}return K.kind="IllegalStateException",K})();class ot{constructor(c){this.field=c}decode(c,d){const h=this.field,p=new st(h,c),b=new Int32Array(d);let C=!0;for(let ct=0;ct=(h/2|0);){let ct=b,wt=A;if(b=C,A=N,b.isZero())throw new Ft("r_{i-1} was zero");C=ct;let Mt=p.getZero();const jt=b.getCoefficient(b.getDegree()),qt=p.inverse(jt);for(;C.getDegree()>=b.getDegree()&&!C.isZero();){const wi=C.getDegree()-b.getDegree(),Ai=p.multiply(C.getCoefficient(C.getDegree()),qt);Mt=Mt.addOrSubtract(p.buildMonomial(wi,Ai)),C=C.addOrSubtract(b.multiplyByMonomial(wi,Ai))}if(N=Mt.multiply(A).addOrSubtract(wt),C.getDegree()>=b.getDegree())throw new ht("Division algorithm failed to reduce polynomial?")}const q=N.getCoefficient(0);if(0===q)throw new Ft("sigmaTilde(0) was zero");const he=p.inverse(q);return[N.multiplyScalar(he),C.multiplyScalar(he)]}findErrorLocations(c){const d=c.getDegree();if(1===d)return Int32Array.from([c.getCoefficient(1)]);const h=new Int32Array(d);let p=0;const b=this.field;for(let C=1;C{return(K=gt||(gt={}))[K.UPPER=0]="UPPER",K[K.LOWER=1]="LOWER",K[K.MIXED=2]="MIXED",K[K.DIGIT=3]="DIGIT",K[K.PUNCT=4]="PUNCT",K[K.BINARY=5]="BINARY",gt;var K})();let At=(()=>{class K{decode(d){this.ddata=d;let h=d.getBits(),p=this.extractBits(h),b=this.correctBits(p),C=K.convertBoolArrayToByteArray(b),A=K.getEncodedData(b),N=new Yt(C,A,null,null);return N.setNumBits(b.length),N}static highLevelDecode(d){return this.getEncodedData(d)}static getEncodedData(d){let h=d.length,p=gt.UPPER,b=gt.UPPER,C="",A=0;for(;A1,je,je+p-1),je+=p-1;else for(let Mt=p-1;Mt>=0;--Mt)Te[je++]=0!=(wt&1<=8?K.readCode(d,h,8):K.readCode(d,h,p)<<8-p}static convertBoolArrayToByteArray(d){let h=new Uint8Array((d.length+7)/8);for(let p=0;p","?","[","]","{","}","CTRL_UL"],K.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],K})();class ze{constructor(){}static round(c){return NaN===c?0:c<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:c>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:c+(c<0?-.5:.5)|0}static distance(c,d,h,p){const b=c-h,C=d-p;return Math.sqrt(b*b+C*C)}static sum(c){let d=0;for(let h=0,p=c.length;h!==p;h++)d+=c[h];return d}}class ft{static floatToIntBits(c){return c}}ft.MAX_VALUE=Number.MAX_SAFE_INTEGER;class Ct{constructor(c,d){this.x=c,this.y=d}getX(){return this.x}getY(){return this.y}equals(c){return c instanceof Ct&&this.x===c.x&&this.y===c.y}hashCode(){return 31*ft.floatToIntBits(this.x)+ft.floatToIntBits(this.y)}toString(){return"("+this.x+","+this.y+")"}static orderBestPatterns(c){const d=this.distance(c[0],c[1]),h=this.distance(c[1],c[2]),p=this.distance(c[0],c[2]);let b,C,A;if(h>=d&&h>=p?(C=c[0],b=c[1],A=c[2]):p>=h&&p>=d?(C=c[1],b=c[0],A=c[2]):(C=c[2],b=c[0],A=c[1]),this.crossProductZ(b,C,A)<0){const N=b;b=A,A=N}c[0]=b,c[1]=C,c[2]=A}static distance(c,d){return ze.distance(c.x,c.y,d.x,d.y)}static crossProductZ(c,d,h){const p=d.x,b=d.y;return(h.x-p)*(c.y-b)-(h.y-b)*(c.x-p)}}class it{constructor(c,d){this.bits=c,this.points=d}getBits(){return this.bits}getPoints(){return this.points}}class Ae extends it{constructor(c,d,h,p,b){super(c,d),this.compact=h,this.nbDatablocks=p,this.nbLayers=b}getNbLayers(){return this.nbLayers}getNbDatablocks(){return this.nbDatablocks}isCompact(){return this.compact}}let $e=(()=>{class K{constructor(d,h,p,b){this.image=d,this.height=d.getHeight(),this.width=d.getWidth(),null==h&&(h=K.INIT_SIZE),null==p&&(p=d.getWidth()/2|0),null==b&&(b=d.getHeight()/2|0);const C=h/2|0;if(this.leftInit=p-C,this.rightInit=p+C,this.upInit=b-C,this.downInit=b+C,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new De}detect(){let d=this.leftInit,h=this.rightInit,p=this.upInit,b=this.downInit,C=!1,A=!0,N=!1,q=!1,he=!1,Te=!1,je=!1;const ct=this.width,wt=this.height;for(;A;){A=!1;let Mt=!0;for(;(Mt||!q)&&h=ct){C=!0;break}let jt=!0;for(;(jt||!he)&&b=wt){C=!0;break}let qt=!0;for(;(qt||!Te)&&d>=0;)qt=this.containsBlackPoint(p,b,d,!1),qt?(d--,A=!0,Te=!0):Te||d--;if(d<0){C=!0;break}let wi=!0;for(;(wi||!je)&&p>=0;)wi=this.containsBlackPoint(d,h,p,!0),wi?(p--,A=!0,je=!0):je||p--;if(p<0){C=!0;break}A&&(N=!0)}if(!C&&N){const Mt=h-d;let jt=null;for(let ri=1;null===jt&&rih||N<-1||N>p)throw new De;b=!1,-1===A?(d[C]=0,b=!0):A===h&&(d[C]=h-1,b=!0),-1===N?(d[C+1]=0,b=!0):N===p&&(d[C+1]=p-1,b=!0)}b=!0;for(let C=d.length-2;C>=0&&b;C-=2){const A=Math.floor(d[C]),N=Math.floor(d[C+1]);if(A<-1||A>h||N<-1||N>p)throw new De;b=!1,-1===A?(d[C]=0,b=!0):A===h&&(d[C]=h-1,b=!0),-1===N?(d[C+1]=0,b=!0):N===p&&(d[C+1]=p-1,b=!0)}}}class Tt{constructor(c,d,h,p,b,C,A,N,q){this.a11=c,this.a21=d,this.a31=h,this.a12=p,this.a22=b,this.a32=C,this.a13=A,this.a23=N,this.a33=q}static quadrilateralToQuadrilateral(c,d,h,p,b,C,A,N,q,he,Te,je,ct,wt,Mt,jt){const qt=Tt.quadrilateralToSquare(c,d,h,p,b,C,A,N);return Tt.squareToQuadrilateral(q,he,Te,je,ct,wt,Mt,jt).times(qt)}transformPoints(c){const d=c.length,h=this.a11,p=this.a12,b=this.a13,C=this.a21,A=this.a22,N=this.a23,q=this.a31,he=this.a32,Te=this.a33;for(let je=0;je>1&127):(p<<=10,p+=(A>>2&992)+(A>>1&31))}let b=this.getCorrectedParameterData(p,this.compact);this.compact?(this.nbLayers=1+(b>>6),this.nbDataBlocks=1+(63&b)):(this.nbLayers=1+(b>>11),this.nbDataBlocks=1+(2047&b))}getRotation(c,d){let h=0;c.forEach((p,b,C)=>{h=(p>>d-2<<1)+(1&p)+(h<<3)}),h=((1&h)<<11)+(h>>1);for(let p=0;p<4;p++)if(V.bitCount(h^this.EXPECTED_CORNER_BITS[p])<=2)return p;throw new De}getCorrectedParameterData(c,d){let h,p;d?(h=7,p=2):(h=10,p=4);let b=h-p,C=new Int32Array(h);for(let N=h-1;N>=0;--N)C[N]=15&c,c>>=4;try{new ot(Et.AZTEC_PARAM).decode(C,b)}catch{throw new De}let A=0;for(let N=0;N2){let Mt=this.distancePoint(wt,Te)*this.nbCenterLayers/(this.distancePoint(b,d)*(this.nbCenterLayers+2));if(Mt<.75||Mt>1.25||!this.isWhiteOrBlackRectangle(Te,je,ct,wt))break}d=Te,h=je,p=ct,b=wt,C=!C}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new De;this.compact=5===this.nbCenterLayers;let A=new Ct(d.getX()+.5,d.getY()-.5),N=new Ct(h.getX()+.5,h.getY()+.5),q=new Ct(p.getX()-.5,p.getY()+.5),he=new Ct(b.getX()-.5,b.getY()-.5);return this.expandSquare([A,N,q,he],2*this.nbCenterLayers-3,2*this.nbCenterLayers)}getMatrixCenter(){let c,d,h,p;try{let A=new $e(this.image).detect();c=A[0],d=A[1],h=A[2],p=A[3]}catch{let N=this.image.getWidth()/2,q=this.image.getHeight()/2;c=this.getFirstDifferent(new Qt(N+7,q-7),!1,1,-1).toResultPoint(),d=this.getFirstDifferent(new Qt(N+7,q+7),!1,1,1).toResultPoint(),h=this.getFirstDifferent(new Qt(N-7,q+7),!1,-1,1).toResultPoint(),p=this.getFirstDifferent(new Qt(N-7,q-7),!1,-1,-1).toResultPoint()}let b=ze.round((c.getX()+p.getX()+d.getX()+h.getX())/4),C=ze.round((c.getY()+p.getY()+d.getY()+h.getY())/4);try{let A=new $e(this.image,15,b,C).detect();c=A[0],d=A[1],h=A[2],p=A[3]}catch{c=this.getFirstDifferent(new Qt(b+7,C-7),!1,1,-1).toResultPoint(),d=this.getFirstDifferent(new Qt(b+7,C+7),!1,1,1).toResultPoint(),h=this.getFirstDifferent(new Qt(b-7,C+7),!1,-1,1).toResultPoint(),p=this.getFirstDifferent(new Qt(b-7,C-7),!1,-1,-1).toResultPoint()}return b=ze.round((c.getX()+p.getX()+d.getX()+h.getX())/4),C=ze.round((c.getY()+p.getY()+d.getY()+h.getY())/4),new Qt(b,C)}getMatrixCornerPoints(c){return this.expandSquare(c,2*this.nbCenterLayers,this.getDimension())}sampleGrid(c,d,h,p,b){let C=Ut.getInstance(),A=this.getDimension(),N=A/2-this.nbCenterLayers,q=A/2+this.nbCenterLayers;return C.sampleGrid(c,A,A,N,N,q,N,q,q,N,q,d.getX(),d.getY(),h.getX(),h.getY(),p.getX(),p.getY(),b.getX(),b.getY())}sampleLine(c,d,h){let p=0,b=this.distanceResultPoint(c,d),C=b/h,A=c.getX(),N=c.getY(),q=C*(d.getX()-c.getX())/b,he=C*(d.getY()-c.getY())/b;for(let Te=0;Te.1&&Te<.9?0:Te<=.1===q?1:-1}getFirstDifferent(c,d,h,p){let b=c.getX()+h,C=c.getY()+p;for(;this.isValid(b,C)&&this.image.get(b,C)===d;)b+=h,C+=p;for(b-=h,C-=p;this.isValid(b,C)&&this.image.get(b,C)===d;)b+=h;for(b-=h;this.isValid(b,C)&&this.image.get(b,C)===d;)C+=p;return C-=p,new Qt(b,C)}expandSquare(c,d,h){let p=h/(2*d),b=c[0].getX()-c[2].getX(),C=c[0].getY()-c[2].getY(),A=(c[0].getX()+c[2].getX())/2,N=(c[0].getY()+c[2].getY())/2,q=new Ct(A+p*b,N+p*C),he=new Ct(A-p*b,N-p*C);return b=c[1].getX()-c[3].getX(),C=c[1].getY()-c[3].getY(),A=(c[1].getX()+c[3].getX())/2,N=(c[1].getY()+c[3].getY())/2,[q,new Ct(A+p*b,N+p*C),he,new Ct(A-p*b,N-p*C)]}isValid(c,d){return c>=0&&c0&&d{h.foundPossibleResultPoint(p)})}}reset(){}}class yi{decode(c,d){try{return this.doDecode(c,d)}catch{if(d&&!0===d.get(fe.TRY_HARDER)&&c.isRotateSupported()){const b=c.rotateCounterClockwise(),C=this.doDecode(b,d),A=C.getResultMetadata();let N=270;null!==A&&!0===A.get($t.ORIENTATION)&&(N+=A.get($t.ORIENTATION)%360),C.putMetadata($t.ORIENTATION,N);const q=C.getResultPoints();if(null!==q){const he=b.getHeight();for(let Te=0;Te>(C?8:5));let N;N=C?p:15;const q=Math.trunc(p/2);for(let he=0;he=p)break;try{b=c.getBlackRow(ct,b)}catch{continue}for(let wt=0;wt<2;wt++){if(1===wt&&(b.reverse(),d&&!0===d.get(fe.NEED_RESULT_POINT_CALLBACK))){const Mt=new Map;d.forEach((jt,qt)=>Mt.set(qt,jt)),Mt.delete(fe.NEED_RESULT_POINT_CALLBACK),d=Mt}try{const Mt=this.decodeRow(ct,b,d);if(1===wt){Mt.putMetadata($t.ORIENTATION,180);const jt=Mt.getResultPoints();null!==jt&&(jt[0]=new Ct(h-jt[0].getX()-1,jt[0].getY()),jt[1]=new Ct(h-jt[1].getX()-1,jt[1].getY()))}return Mt}catch{}}}throw new De}static recordPattern(c,d,h){const p=h.length;for(let q=0;q=b)throw new De;let C=!c.get(d),A=0,N=d;for(;N0&&p>=0;)c.get(--d)!==b&&(p--,b=!b);if(p>=0)throw new De;yi.recordPattern(c,d+1,h)}static patternMatchVariance(c,d,h){const p=c.length;let b=0,C=0;for(let q=0;qTe?he-Te:Te-he;if(je>h)return Number.POSITIVE_INFINITY;N+=je}return N/b}}class ni extends yi{static findStartPattern(c){const d=c.getSize(),h=c.getNextSet(0);let p=0,b=Int32Array.from([0,0,0,0,0,0]),C=h,A=!1;for(let q=h;q=0&&c.isRange(Math.max(0,C-(q-C)/2),C,!1))return Int32Array.from([C,q,Te]);C+=b[0]+b[1],b=b.slice(2,b.length-1),b[p-1]=0,b[p]=0,p--}else p++;b[p]=1,A=!A}throw new De}static decodeCode(c,d,h){yi.recordPattern(c,h,d);let p=ni.MAX_AVG_VARIANCE,b=-1;for(let C=0;C=0)return b;throw new De}decodeRow(c,d,h){const p=h&&!0===h.get(fe.ASSUME_GS1),b=ni.findStartPattern(d),C=b[2];let A=0;const N=new Uint8Array(20);let q;switch(N[A++]=C,C){case ni.CODE_START_A:q=ni.CODE_CODE_A;break;case ni.CODE_START_B:q=ni.CODE_CODE_B;break;case ni.CODE_START_C:q=ni.CODE_CODE_C;break;default:throw new $}let he=!1,Te=!1,je="",ct=b[0],wt=b[1];const Mt=Int32Array.from([0,0,0,0,0,0]);let jt=0,qt=0,wi=C,Ai=0,ri=!0,Tn=!1,dn=!1;for(;!he;){const Oa=Te;switch(Te=!1,jt=qt,qt=ni.decodeCode(d,Mt,wt),N[A++]=qt,qt!==ni.CODE_STOP&&(ri=!0),qt!==ni.CODE_STOP&&(Ai++,wi+=Ai*qt),ct=wt,wt+=Mt.reduce((qs,hs)=>qs+hs,0),qt){case ni.CODE_START_A:case ni.CODE_START_B:case ni.CODE_START_C:throw new $}switch(q){case ni.CODE_CODE_A:if(qt<64)je+=String.fromCharCode(dn===Tn?" ".charCodeAt(0)+qt:" ".charCodeAt(0)+qt+128),dn=!1;else if(qt<96)je+=String.fromCharCode(dn===Tn?qt-64:qt+64),dn=!1;else switch(qt!==ni.CODE_STOP&&(ri=!1),qt){case ni.CODE_FNC_1:p&&(je+=0===je.length?"]C1":String.fromCharCode(29));break;case ni.CODE_FNC_2:case ni.CODE_FNC_3:break;case ni.CODE_FNC_4_A:!Tn&&dn?(Tn=!0,dn=!1):Tn&&dn?(Tn=!1,dn=!1):dn=!0;break;case ni.CODE_SHIFT:Te=!0,q=ni.CODE_CODE_B;break;case ni.CODE_CODE_B:q=ni.CODE_CODE_B;break;case ni.CODE_CODE_C:q=ni.CODE_CODE_C;break;case ni.CODE_STOP:he=!0}break;case ni.CODE_CODE_B:if(qt<96)je+=String.fromCharCode(dn===Tn?" ".charCodeAt(0)+qt:" ".charCodeAt(0)+qt+128),dn=!1;else switch(qt!==ni.CODE_STOP&&(ri=!1),qt){case ni.CODE_FNC_1:p&&(je+=0===je.length?"]C1":String.fromCharCode(29));break;case ni.CODE_FNC_2:case ni.CODE_FNC_3:break;case ni.CODE_FNC_4_B:!Tn&&dn?(Tn=!0,dn=!1):Tn&&dn?(Tn=!1,dn=!1):dn=!0;break;case ni.CODE_SHIFT:Te=!0,q=ni.CODE_CODE_A;break;case ni.CODE_CODE_A:q=ni.CODE_CODE_A;break;case ni.CODE_CODE_C:q=ni.CODE_CODE_C;break;case ni.CODE_STOP:he=!0}break;case ni.CODE_CODE_C:if(qt<100)qt<10&&(je+="0"),je+=qt;else switch(qt!==ni.CODE_STOP&&(ri=!1),qt){case ni.CODE_FNC_1:p&&(je+=0===je.length?"]C1":String.fromCharCode(29));break;case ni.CODE_CODE_A:q=ni.CODE_CODE_A;break;case ni.CODE_CODE_B:q=ni.CODE_CODE_B;break;case ni.CODE_STOP:he=!0}}Oa&&(q=q===ni.CODE_CODE_A?ni.CODE_CODE_B:ni.CODE_CODE_A)}const Vn=wt-ct;if(wt=d.getNextUnset(wt),!d.isRange(wt,Math.min(d.getSize(),wt+(wt-ct)/2),!1))throw new De;if(wi-=Ai*jt,wi%103!==jt)throw new U;const Qi=je.length;if(0===Qi)throw new De;Qi>0&&ri&&(je=je.substring(0,q===ni.CODE_CODE_C?Qi-2:Qi-1));const Zn=(b[1]+b[0])/2,dr=ct+Vn/2,Gr=N.length,Ar=new Uint8Array(Gr);for(let Oa=0;Oa{class K extends yi{constructor(d=!1,h=!1){super(),this.usingCheckDigit=d,this.extendedMode=h,this.decodeRowResult="",this.counters=new Int32Array(9)}decodeRow(d,h,p){let b=this.counters;b.fill(0),this.decodeRowResult="";let q,he,C=K.findAsteriskPattern(h,b),A=h.getNextSet(C[1]),N=h.getSize();do{K.recordPattern(h,A,b);let jt=K.toNarrowWidePattern(b);if(jt<0)throw new De;q=K.patternToChar(jt),this.decodeRowResult+=q,he=A;for(let qt of b)A+=qt;A=h.getNextSet(A)}while("*"!==q);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);let ct,Te=0;for(let jt of b)Te+=jt;if(A!==N&&2*(A-he-Te)p&&(C=q);p=C,b=0;let A=0,N=0;for(let q=0;qp&&(N|=1<0;q++){let he=d[q];if(he>p&&(b--,2*he>=A))return-1}return N}}while(b>3);return-1}static patternToChar(d){for(let h=0;h="A"&&A<="Z"))throw new $;N=String.fromCharCode(A.charCodeAt(0)+32);break;case"$":if(!(A>="A"&&A<="Z"))throw new $;N=String.fromCharCode(A.charCodeAt(0)-64);break;case"%":if(A>="A"&&A<="E")N=String.fromCharCode(A.charCodeAt(0)-38);else if(A>="F"&&A<="J")N=String.fromCharCode(A.charCodeAt(0)-11);else if(A>="K"&&A<="O")N=String.fromCharCode(A.charCodeAt(0)+16);else if(A>="P"&&A<="T")N=String.fromCharCode(A.charCodeAt(0)+43);else if("U"===A)N="\0";else if("V"===A)N="@";else if("W"===A)N="`";else{if("X"!==A&&"Y"!==A&&"Z"!==A)throw new $;N="\x7f"}break;case"/":if(A>="A"&&A<="O")N=String.fromCharCode(A.charCodeAt(0)-32);else{if("Z"!==A)throw new $;N=":"}}p+=N,b++}else p+=C}return p}}return K.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",K.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],K.ASTERISK_ENCODING=148,K})();class kt extends yi{constructor(){super(...arguments),this.narrowLineWidth=-1}decodeRow(c,d,h){let p=this.decodeStart(d),b=this.decodeEnd(d),C=new pe;kt.decodeMiddle(d,p[1],b[0],C);let A=C.toString(),N=null;null!=h&&(N=h.get(fe.ALLOWED_LENGTHS)),null==N&&(N=kt.DEFAULT_ALLOWED_LENGTHS);let q=A.length,he=!1,Te=0;for(let wt of N){if(q===wt){he=!0;break}wt>Te&&(Te=wt)}if(!he&&q>Te&&(he=!0),!he)throw new $;const je=[new Ct(p[1],c),new Ct(b[0],c)];return new Ze(A,null,0,je,lt.ITF,(new Date).getTime())}static decodeMiddle(c,d,h,p){let b=new Int32Array(10),C=new Int32Array(5),A=new Int32Array(5);for(b.fill(0),C.fill(0),A.fill(0);d0&&p>=0&&!c.get(p);p--)h--;if(0!==h)throw new De}static skipWhiteSpace(c){const d=c.getSize(),h=c.getNextSet(0);if(h===d)throw new De;return h}decodeEnd(c){c.reverse();try{let h,d=kt.skipWhiteSpace(c);try{h=kt.findGuardPattern(c,d,kt.END_PATTERN_REVERSED[0])}catch(b){b instanceof De&&(h=kt.findGuardPattern(c,d,kt.END_PATTERN_REVERSED[1]))}this.validateQuietZone(c,h[0]);let p=h[0];return h[0]=c.getSize()-h[1],h[1]=c.getSize()-p,h}finally{c.reverse()}}static findGuardPattern(c,d,h){let p=h.length,b=new Int32Array(p),C=c.getSize(),A=!1,N=0,q=d;b.fill(0);for(let he=d;he=0)return h%10;throw new De}}kt.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],kt.MAX_AVG_VARIANCE=.38,kt.MAX_INDIVIDUAL_VARIANCE=.5,kt.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],kt.START_PATTERN=Int32Array.from([1,1,1,1]),kt.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])];class yt extends yi{constructor(){super(...arguments),this.decodeRowStringBuffer=""}static findStartGuardPattern(c){let h,d=!1,p=0,b=Int32Array.from([0,0,0]);for(;!d;){b=Int32Array.from([0,0,0]),h=yt.findGuardPattern(c,p,!1,this.START_END_PATTERN,b);let C=h[0];p=h[1];let A=C-(p-C);A>=0&&(d=c.isRange(A,C,!1))}return h}static checkChecksum(c){return yt.checkStandardUPCEANChecksum(c)}static checkStandardUPCEANChecksum(c){let d=c.length;if(0===d)return!1;let h=parseInt(c.charAt(d-1),10);return yt.getStandardUPCEANChecksum(c.substring(0,d-1))===h}static getStandardUPCEANChecksum(c){let d=c.length,h=0;for(let p=d-1;p>=0;p-=2){let b=c.charAt(p).charCodeAt(0)-"0".charCodeAt(0);if(b<0||b>9)throw new $;h+=b}h*=3;for(let p=d-2;p>=0;p-=2){let b=c.charAt(p).charCodeAt(0)-"0".charCodeAt(0);if(b<0||b>9)throw new $;h+=b}return(1e3-h)%10}static decodeEnd(c,d){return yt.findGuardPattern(c,d,!1,yt.START_END_PATTERN,new Int32Array(yt.START_END_PATTERN.length).fill(0))}static findGuardPatternWithoutCounters(c,d,h,p){return this.findGuardPattern(c,d,h,p,new Int32Array(p.length))}static findGuardPattern(c,d,h,p,b){let C=c.getSize(),A=0,N=d=h?c.getNextUnset(d):c.getNextSet(d),q=p.length,he=h;for(let Te=d;Te=0)return C;throw new De}}yt.MAX_AVG_VARIANCE=.48,yt.MAX_INDIVIDUAL_VARIANCE=.7,yt.START_END_PATTERN=Int32Array.from([1,1,1]),yt.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),yt.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),yt.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])];class Bi{constructor(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}decodeRow(c,d,h){let p=this.decodeRowStringBuffer,b=this.decodeMiddle(d,h,p),C=p.toString(),A=Bi.parseExtensionString(C),N=[new Ct((h[0]+h[1])/2,c),new Ct(b,c)],q=new Ze(C,null,0,N,lt.UPC_EAN_EXTENSION,(new Date).getTime());return null!=A&&q.putAllMetadata(A),q}decodeMiddle(c,d,h){let p=this.decodeMiddleCounters;p[0]=0,p[1]=0,p[2]=0,p[3]=0;let b=c.getSize(),C=d[1],A=0;for(let q=0;q<5&&C=10&&(A|=1<<4-q),4!==q&&(C=c.getNextSet(C),C=c.getNextUnset(C))}if(5!==h.length)throw new De;let N=this.determineCheckDigit(A);if(Bi.extensionChecksum(h.toString())!==N)throw new De;return C}static extensionChecksum(c){let d=c.length,h=0;for(let p=d-2;p>=0;p-=2)h+=c.charAt(p).charCodeAt(0)-"0".charCodeAt(0);h*=3;for(let p=d-1;p>=0;p-=2)h+=c.charAt(p).charCodeAt(0)-"0".charCodeAt(0);return h*=3,h%10}determineCheckDigit(c){for(let d=0;d<10;d++)if(c===this.CHECK_DIGIT_ENCODINGS[d])return d;throw new De}static parseExtensionString(c){if(5!==c.length)return null;let d=Bi.parseExtension5String(c);return null==d?null:new Map([[$t.SUGGESTED_PRICE,d]])}static parseExtension5String(c){let d;switch(c.charAt(0)){case"0":d="\xa3";break;case"5":d="$";break;case"9":switch(c){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}d="";break;default:d=""}let h=parseInt(c.substring(1)),b=h%100;return d+(h/100).toString()+"."+(b<10?"0"+b:b.toString())}}class Ii{constructor(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}decodeRow(c,d,h){let p=this.decodeRowStringBuffer,b=this.decodeMiddle(d,h,p),C=p.toString(),A=Ii.parseExtensionString(C),N=[new Ct((h[0]+h[1])/2,c),new Ct(b,c)],q=new Ze(C,null,0,N,lt.UPC_EAN_EXTENSION,(new Date).getTime());return null!=A&&q.putAllMetadata(A),q}decodeMiddle(c,d,h){let p=this.decodeMiddleCounters;p[0]=0,p[1]=0,p[2]=0,p[3]=0;let b=c.getSize(),C=d[1],A=0;for(let N=0;N<2&&C=10&&(A|=1<<1-N),1!==N&&(C=c.getNextSet(C),C=c.getNextUnset(C))}if(2!==h.length)throw new De;if(parseInt(h.toString())%4!==A)throw new De;return C}static parseExtensionString(c){return 2!==c.length?null:new Map([[$t.ISSUE_NUMBER,parseInt(c)]])}}class un{static decodeRow(c,d,h){let p=yt.findGuardPattern(d,h,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new Bi).decodeRow(c,d,p)}catch{return(new Ii).decodeRow(c,d,p)}}}un.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]);class ui extends yt{constructor(){super(),this.decodeRowStringBuffer="",ui.L_AND_G_PATTERNS=ui.L_PATTERNS.map(c=>Int32Array.from(c));for(let c=10;c<20;c++){let d=ui.L_PATTERNS[c-10],h=new Int32Array(d.length);for(let p=0;p=d.getSize()||!d.isRange(he,Te,!1))throw new De;let je=N.toString();if(je.length<8)throw new $;if(!ui.checkChecksum(je))throw new U;let ct=(p[1]+p[0])/2,wt=(q[1]+q[0])/2,Mt=this.getBarcodeFormat(),jt=[new Ct(ct,c),new Ct(wt,c)],qt=new Ze(je,null,0,jt,Mt,(new Date).getTime()),wi=0;try{let ri=un.decodeRow(c,d,q[1]);qt.putMetadata($t.UPC_EAN_EXTENSION,ri.getText()),qt.putAllMetadata(ri.getResultMetadata()),qt.addResultPoints(ri.getResultPoints()),wi=ri.getText().length}catch{}let Ai=null==h?null:h.get(fe.ALLOWED_EAN_EXTENSIONS);if(null!=Ai){let ri=!1;for(let Tn in Ai)if(wi.toString()===Tn){ri=!0;break}if(!ri)throw new De}return qt}decodeEnd(c,d){return ui.findGuardPattern(c,d,!1,ui.START_END_PATTERN,new Int32Array(ui.START_END_PATTERN.length).fill(0))}static checkChecksum(c){return ui.checkStandardUPCEANChecksum(c)}static checkStandardUPCEANChecksum(c){let d=c.length;if(0===d)return!1;let h=parseInt(c.charAt(d-1),10);return ui.getStandardUPCEANChecksum(c.substring(0,d-1))===h}static getStandardUPCEANChecksum(c){let d=c.length,h=0;for(let p=d-1;p>=0;p-=2){let b=c.charAt(p).charCodeAt(0)-"0".charCodeAt(0);if(b<0||b>9)throw new $;h+=b}h*=3;for(let p=d-2;p>=0;p-=2){let b=c.charAt(p).charCodeAt(0)-"0".charCodeAt(0);if(b<0||b>9)throw new $;h+=b}return(1e3-h)%10}}let hn=(()=>{class K extends ui{constructor(){super(),this.decodeMiddleCounters=Int32Array.from([0,0,0,0])}decodeMiddle(d,h,p){let b=this.decodeMiddleCounters;b[0]=0,b[1]=0,b[2]=0,b[3]=0;let C=d.getSize(),A=h[1],N=0;for(let he=0;he<6&&A=10&&(N|=1<<5-he)}p=K.determineFirstDigit(p,N),A=ui.findGuardPattern(d,A,!0,ui.MIDDLE_PATTERN,new Int32Array(ui.MIDDLE_PATTERN.length).fill(0))[1];for(let he=0;he<6&&Aq);p[0]=0,p[1]=0,p[2]=0,p[3]=0;const b=c.getSize();let C=d[1],A=0;for(let q=0;q<6&&C=10&&(A|=1<<5-q)}return{rowOffset:C,resultString:oe.determineNumSysAndCheckDigit(h,A)}}decodeEnd(c,d){return oe.findGuardPatternWithoutCounters(c,d,!0,oe.MIDDLE_END_PATTERN)}checkChecksum(c){return ui.checkChecksum(oe.convertUPCEtoUPCA(c))}static determineNumSysAndCheckDigit(c,d){for(let h=0;h<=1;h++)for(let p=0;p<10;p++)if(d===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[h][p])return String.fromCharCode("0".charCodeAt(0)+h)+c+String.fromCharCode("0".charCodeAt(0)+p);throw De.getNotFoundInstance()}getBarcodeFormat(){return lt.UPC_E}static convertUPCEtoUPCA(c){const d=c.slice(1,7).split("").map(b=>b.charCodeAt(0)),h=new pe;h.append(c.charAt(0));let p=d[5];switch(p){case 0:case 1:case 2:h.appendChars(d,0,2),h.append(p),h.append("0000"),h.appendChars(d,2,3);break;case 3:h.appendChars(d,0,3),h.append("00000"),h.appendChars(d,3,2);break;case 4:h.appendChars(d,0,4),h.append("00000"),h.append(d[4]);break;default:h.appendChars(d,0,5),h.append("0000"),h.append(p)}return c.length>=8&&h.append(c.charAt(7)),h.toString()}}oe.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),oe.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,26])];class de extends yi{constructor(c){super();let d=null==c?null:c.get(fe.POSSIBLE_FORMATS),h=[];f(d)?(h.push(new hn),h.push(new ke),h.push(new Dt),h.push(new oe)):(d.indexOf(lt.EAN_13)>-1&&h.push(new hn),d.indexOf(lt.UPC_A)>-1&&h.push(new ke),d.indexOf(lt.EAN_8)>-1&&h.push(new Dt),d.indexOf(lt.UPC_E)>-1&&h.push(new oe)),this.readers=h}decodeRow(c,d,h){for(let p of this.readers)try{const b=p.decodeRow(c,d,h),C=b.getBarcodeFormat()===lt.EAN_13&&"0"===b.getText().charAt(0),A=null==h?null:h.get(fe.POSSIBLE_FORMATS),N=null==A||A.includes(lt.UPC_A);if(C&&N){const q=b.getRawBytes(),he=new Ze(b.getText().substring(1),q,q?q.length:null,b.getResultPoints(),lt.UPC_A);return he.putAllMetadata(b.getResultMetadata()),he}return b}catch{}throw new De}reset(){for(let c of this.readers)c.reset()}}let Oe=(()=>{class K extends yi{constructor(){super(),this.decodeFinderCounters=new Int32Array(4),this.dataCharacterCounters=new Int32Array(8),this.oddRoundingErrors=new Array(4),this.evenRoundingErrors=new Array(4),this.oddCounts=new Array(this.dataCharacterCounters.length/2),this.evenCounts=new Array(this.dataCharacterCounters.length/2)}getDecodeFinderCounters(){return this.decodeFinderCounters}getDataCharacterCounters(){return this.dataCharacterCounters}getOddRoundingErrors(){return this.oddRoundingErrors}getEvenRoundingErrors(){return this.evenRoundingErrors}getOddCounts(){return this.oddCounts}getEvenCounts(){return this.evenCounts}parseFinderValue(d,h){for(let p=0;pb&&(b=h[C],p=C);d[p]++}static decrement(d,h){let p=0,b=h[0];for(let C=1;C=K.MIN_FINDER_PATTERN_RATIO&&b<=K.MAX_FINDER_PATTERN_RATIO){let C=Number.MAX_SAFE_INTEGER,A=Number.MIN_SAFE_INTEGER;for(let N of d)N>A&&(A=N),N=A-N-1&&(he-=fi.combins(p-q-(A-N),A-N-2)),A-N-1>1){let Te=0;for(let je=p-q-(A-N-2);je>d;je--)Te+=fi.combins(p-q-je-1,A-N-3);he-=Te*(A-1-N)}else p-q>d&&he--;b+=he}p-=q}return b}static combins(c,d){let h,p;c-d>d?(p=d,h=c-d):(p=c-d,h=d);let b=1,C=1;for(let A=c;A>h;A--)b*=A,C<=p&&(b/=C,C++);for(;C<=p;)b/=C,C++;return b}}class Ni{static buildBitArray(c){let d=2*c.length-1;null==c[c.length-1].getRightChar()&&(d-=1);let p=new W(12*d),b=0,A=c[0].getRightChar().getValue();for(let N=11;N>=0;--N)A&1<=0;--Te)he&1<=0;--je)Te&1<{class K extends Ui{constructor(d,h){super(d),this.value=h}getValue(){return this.value}isFNC1(){return this.value===K.FNC1}}return K.FNC1="$",K})();class Ne extends Ui{constructor(c,d,h){super(c),h?(this.remaining=!0,this.remainingValue=this.remainingValue):(this.remaining=!1,this.remainingValue=0),this.newString=d}getNewString(){return this.newString}isRemaining(){return this.remaining}getRemainingValue(){return this.remainingValue}}let Qe=(()=>{class K extends Ui{constructor(d,h,p){if(super(d),h<0||h>10||p<0||p>10)throw new $;this.firstDigit=h,this.secondDigit=p}getFirstDigit(){return this.firstDigit}getSecondDigit(){return this.secondDigit}getValue(){return 10*this.firstDigit+this.secondDigit}isFirstDigitFNC1(){return this.firstDigit===K.FNC1}isSecondDigitFNC1(){return this.secondDigit===K.FNC1}isAnyFNC1(){return this.firstDigit===K.FNC1||this.secondDigit===K.FNC1}}return K.FNC1=10,K})();class qe{constructor(){}static parseFieldsInGeneralPurpose(c){if(!c)return null;if(c.length<2)throw new De;let d=c.substring(0,2);for(let b of qe.TWO_DIGIT_DATA_LENGTH)if(b[0]===d)return b[1]===qe.VARIABLE_LENGTH?qe.processVariableAI(2,b[2],c):qe.processFixedAI(2,b[1],c);if(c.length<3)throw new De;let h=c.substring(0,3);for(let b of qe.THREE_DIGIT_DATA_LENGTH)if(b[0]===h)return b[1]===qe.VARIABLE_LENGTH?qe.processVariableAI(3,b[2],c):qe.processFixedAI(3,b[1],c);for(let b of qe.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH)if(b[0]===h)return b[1]===qe.VARIABLE_LENGTH?qe.processVariableAI(4,b[2],c):qe.processFixedAI(4,b[1],c);if(c.length<4)throw new De;let p=c.substring(0,4);for(let b of qe.FOUR_DIGIT_DATA_LENGTH)if(b[0]===p)return b[1]===qe.VARIABLE_LENGTH?qe.processVariableAI(4,b[2],c):qe.processFixedAI(4,b[1],c);throw new De}static processFixedAI(c,d,h){if(h.lengththis.information.getSize())return c+4<=this.information.getSize();for(let d=c;dthis.information.getSize()){let b=this.extractNumericValueFromBitArray(c,4);return new Qe(this.information.getSize(),0===b?Qe.FNC1:b-1,Qe.FNC1)}let d=this.extractNumericValueFromBitArray(c,7);return new Qe(c+7,(d-8)/11,(d-8)%11)}extractNumericValueFromBitArray(c,d){return Lt.extractNumericValueFromBitArray(this.information,c,d)}static extractNumericValueFromBitArray(c,d,h){let p=0;for(let b=0;bthis.information.getSize())return!1;let d=this.extractNumericValueFromBitArray(c,5);if(d>=5&&d<16)return!0;if(c+7>this.information.getSize())return!1;let h=this.extractNumericValueFromBitArray(c,7);if(h>=64&&h<116)return!0;if(c+8>this.information.getSize())return!1;let p=this.extractNumericValueFromBitArray(c,8);return p>=232&&p<253}decodeIsoIec646(c){let d=this.extractNumericValueFromBitArray(c,5);if(15===d)return new _e(c+5,_e.FNC1);if(d>=5&&d<15)return new _e(c+5,"0"+(d-5));let b,h=this.extractNumericValueFromBitArray(c,7);if(h>=64&&h<90)return new _e(c+7,""+(h+1));if(h>=90&&h<116)return new _e(c+7,""+(h+7));switch(this.extractNumericValueFromBitArray(c,8)){case 232:b="!";break;case 233:b='"';break;case 234:b="%";break;case 235:b="&";break;case 236:b="'";break;case 237:b="(";break;case 238:b=")";break;case 239:b="*";break;case 240:b="+";break;case 241:b=",";break;case 242:b="-";break;case 243:b=".";break;case 244:b="/";break;case 245:b=":";break;case 246:b=";";break;case 247:b="<";break;case 248:b="=";break;case 249:b=">";break;case 250:b="?";break;case 251:b="_";break;case 252:b=" ";break;default:throw new $}return new _e(c+8,b)}isStillAlpha(c){if(c+5>this.information.getSize())return!1;let d=this.extractNumericValueFromBitArray(c,5);if(d>=5&&d<16)return!0;if(c+6>this.information.getSize())return!1;let h=this.extractNumericValueFromBitArray(c,6);return h>=16&&h<63}decodeAlphanumeric(c){let d=this.extractNumericValueFromBitArray(c,5);if(15===d)return new _e(c+5,_e.FNC1);if(d>=5&&d<15)return new _e(c+5,"0"+(d-5));let p,h=this.extractNumericValueFromBitArray(c,6);if(h>=32&&h<58)return new _e(c+6,""+(h+33));switch(h){case 58:p="*";break;case 59:p=",";break;case 60:p="-";break;case 61:p=".";break;case 62:p="/";break;default:throw new ht("Decoding invalid alphanumeric value: "+h)}return new _e(c+6,p)}isAlphaTo646ToAlphaLatch(c){if(c+1>this.information.getSize())return!1;for(let d=0;d<5&&d+cthis.information.getSize())return!1;for(let d=c;dthis.information.getSize())return!1;for(let d=0;d<4&&d+c{class K extends Ke{constructor(d){super(d)}encodeCompressedGtin(d,h){d.append("(01)");let p=d.length();d.append("9"),this.encodeCompressedGtinWithoutAI(d,h,p)}encodeCompressedGtinWithoutAI(d,h,p){for(let b=0;b<4;++b){let C=this.getGeneralDecoder().extractNumericValueFromBitArray(h+10*b,10);C/100==0&&d.append("0"),C/10==0&&d.append("0"),d.append(C)}K.appendCheckDigit(d,p)}static appendCheckDigit(d,h){let p=0;for(let b=0;b<13;b++){let C=d.charAt(b+h).charCodeAt(0)-"0".charCodeAt(0);p+=1&b?C:3*C}p=10-p%10,10===p&&(p=0),d.append(p)}}return K.GTIN_SIZE=40,K})(),Re=(()=>{class K extends et{constructor(d){super(d)}parseInformation(){let d=new pe;d.append("(01)");let h=d.length(),p=this.getGeneralDecoder().extractNumericValueFromBitArray(K.HEADER_SIZE,4);return d.append(p),this.encodeCompressedGtinWithoutAI(d,K.HEADER_SIZE+4,h),this.getGeneralDecoder().decodeAllCodes(d,K.HEADER_SIZE+44)}}return K.HEADER_SIZE=4,K})(),pt=(()=>{class K extends Ke{constructor(d){super(d)}parseInformation(){let d=new pe;return this.getGeneralDecoder().decodeAllCodes(d,K.HEADER_SIZE)}}return K.HEADER_SIZE=5,K})();class Nt extends et{constructor(c){super(c)}encodeCompressedWeight(c,d,h){let p=this.getGeneralDecoder().extractNumericValueFromBitArray(d,h);this.addWeightCode(c,p);let b=this.checkWeight(p),C=1e5;for(let A=0;A<5;++A)b/C==0&&c.append("0"),C/=10;c.append(b)}}let Xt=(()=>{class K extends Nt{constructor(d){super(d)}parseInformation(){if(this.getInformation().getSize()!=K.HEADER_SIZE+Nt.GTIN_SIZE+K.WEIGHT_SIZE)throw new De;let d=new pe;return this.encodeCompressedGtin(d,K.HEADER_SIZE),this.encodeCompressedWeight(d,K.HEADER_SIZE+Nt.GTIN_SIZE,K.WEIGHT_SIZE),d.toString()}}return K.HEADER_SIZE=5,K.WEIGHT_SIZE=15,K})();class ci extends Xt{constructor(c){super(c)}addWeightCode(c,d){c.append("(3103)")}checkWeight(c){return c}}class Mi extends Xt{constructor(c){super(c)}addWeightCode(c,d){c.append(d<1e4?"(3202)":"(3203)")}checkWeight(c){return c<1e4?c:c-1e4}}let Wi=(()=>{class K extends et{constructor(d){super(d)}parseInformation(){if(this.getInformation().getSize(){class K extends et{constructor(d){super(d)}parseInformation(){if(this.getInformation().getSize(){class K extends Nt{constructor(d,h,p){super(d),this.dateCode=p,this.firstAIdigits=h}parseInformation(){if(this.getInformation().getSize()!=K.HEADER_SIZE+K.GTIN_SIZE+K.WEIGHT_SIZE+K.DATE_SIZE)throw new De;let d=new pe;return this.encodeCompressedGtin(d,K.HEADER_SIZE),this.encodeCompressedWeight(d,K.HEADER_SIZE+K.GTIN_SIZE,K.WEIGHT_SIZE),this.encodeCompressedDate(d,K.HEADER_SIZE+K.GTIN_SIZE+K.WEIGHT_SIZE),d.toString()}encodeCompressedDate(d,h){let p=this.getGeneralDecoder().extractNumericValueFromBitArray(h,K.DATE_SIZE);if(38400==p)return;d.append("("),d.append(this.dateCode),d.append(")");let b=p%32;p/=32;let C=p%12+1;p/=12;let A=p;A/10==0&&d.append("0"),d.append(A),C/10==0&&d.append("0"),d.append(C),b/10==0&&d.append("0"),d.append(b)}addWeightCode(d,h){d.append("("),d.append(this.firstAIdigits),d.append(h/1e5),d.append(")")}checkWeight(d){return d%1e5}}return K.HEADER_SIZE=8,K.WEIGHT_SIZE=20,K.DATE_SIZE=16,K})();function vr(K){try{if(K.get(1))return new Re(K);if(!K.get(2))return new pt(K);switch(Lt.extractNumericValueFromBitArray(K,1,4)){case 4:return new ci(K);case 5:return new Mi(K)}switch(Lt.extractNumericValueFromBitArray(K,1,5)){case 12:return new Wi(K);case 13:return new mn(K)}switch(Lt.extractNumericValueFromBitArray(K,1,7)){case 56:return new Un(K,"310","11");case 57:return new Un(K,"320","11");case 58:return new Un(K,"310","13");case 59:return new Un(K,"320","13");case 60:return new Un(K,"310","15");case 61:return new Un(K,"320","15");case 62:return new Un(K,"310","17");case 63:return new Un(K,"320","17")}}catch(c){throw console.log(c),new ht("unknown decoder: "+K)}}class fr{constructor(c,d,h,p){this.leftchar=c,this.rightchar=d,this.finderpattern=h,this.maybeLast=p}mayBeLast(){return this.maybeLast}getLeftChar(){return this.leftchar}getRightChar(){return this.rightchar}getFinderPattern(){return this.finderpattern}mustBeLast(){return null==this.rightchar}toString(){return"[ "+this.leftchar+", "+this.rightchar+" : "+(null==this.finderpattern?"null":this.finderpattern.getValue())+" ]"}static equals(c,d){return c instanceof fr&&fr.equalsOrNull(c.leftchar,d.leftchar)&&fr.equalsOrNull(c.rightchar,d.rightchar)&&fr.equalsOrNull(c.finderpattern,d.finderpattern)}static equalsOrNull(c,d){return null===c?null===d:fr.equals(c,d)}hashCode(){return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()}}class Dn{constructor(c,d,h){this.pairs=c,this.rowNumber=d,this.wasReversed=h}getPairs(){return this.pairs}getRowNumber(){return this.rowNumber}isReversed(){return this.wasReversed}isEquivalent(c){return this.checkEqualitity(this,c)}toString(){return"{ "+this.pairs+" }"}equals(c,d){return c instanceof Dn&&this.checkEqualitity(c,d)&&c.wasReversed===d.wasReversed}checkEqualitity(c,d){if(!c||!d)return;let h;return c.forEach((p,b)=>{d.forEach(C=>{p.getLeftChar().getValue()===C.getLeftChar().getValue()&&p.getRightChar().getValue()===C.getRightChar().getValue()&&p.getFinderPatter().getValue()===C.getFinderPatter().getValue()&&(h=!0)})}),h}}class si extends Oe{constructor(c){super(...arguments),this.pairs=new Array(si.MAX_PAIRS),this.rows=new Array,this.startEnd=[2],this.verbose=!0===c}decodeRow(c,d,h){this.pairs.length=0,this.startFromEven=!1;try{return si.constructResult(this.decodeRow2pairs(c,d))}catch(p){this.verbose&&console.log(p)}return this.pairs.length=0,this.startFromEven=!0,si.constructResult(this.decodeRow2pairs(c,d))}reset(){this.pairs.length=0,this.rows.length=0}decodeRow2pairs(c,d){let p,h=!1;for(;!h;)try{this.pairs.push(this.retrieveNextPair(d,this.pairs,c))}catch(b){if(b instanceof De){if(!this.pairs.length)throw new De;h=!0}}if(this.checkChecksum())return this.pairs;if(p=!!this.rows.length,this.storeRow(c,!1),p){let b=this.checkRowsBoolean(!1);if(null!=b||(b=this.checkRowsBoolean(!0),null!=b))return b}throw new De}checkRowsBoolean(c){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,c&&(this.rows=this.rows.reverse());let d=null;try{d=this.checkRows(new Array,0)}catch(h){this.verbose&&console.log(h)}return c&&(this.rows=this.rows.reverse()),d}checkRows(c,d){for(let h=d;hd.length)continue;let h=!0;for(let p=0;pc){b=C.isEquivalent(this.pairs);break}p=C.isEquivalent(this.pairs),h++}b||p||si.isPartialRow(this.pairs,this.rows)||(this.rows.push(h,new Dn(this.pairs,c,d)),this.removePartialRows(this.pairs,this.rows))}removePartialRows(c,d){for(let h of d)if(h.getPairs().length!==c.length)for(let p of h.getPairs())for(let b of c)if(fr.equals(p,b))break}static isPartialRow(c,d){for(let h of d){let p=!0;for(let b of c){let C=!1;for(let A of h.getPairs())if(b.equals(A)){C=!0;break}if(!C){p=!1;break}}if(p)return!0}return!1}getRows(){return this.rows}static constructResult(c){let p=vr(Ni.buildBitArray(c)).parseInformation(),b=c[0].getFinderPattern().getResultPoints(),C=c[c.length-1].getFinderPattern().getResultPoints();return new Ze(p,null,null,[b[0],b[1],C[0],C[1]],lt.RSS_EXPANDED,null)}checkChecksum(){let c=this.pairs.get(0),d=c.getLeftChar(),h=c.getRightChar();if(null==h)return!1;let p=h.getChecksumPortion(),b=2;for(let A=1;A=0?h:this.isEmptyPair(d)?0:d[d.length-1].getFinderPattern().getStartEnd()[1];let A=d.length%2!=0;this.startFromEven&&(A=!A);let N=!1;for(;C=0&&!c.get(q);)q--;q++,p=this.startEnd[0]-q,b=q,C=this.startEnd[1]}else b=this.startEnd[0],C=c.getNextUnset(this.startEnd[1]+1),p=C-this.startEnd[1];let N,A=this.getDecodeFinderCounters();L.arraycopy(A,0,A,1,A.length-1),A[0]=p;try{N=this.parseFinderValue(A,si.FINDER_PATTERNS)}catch{return null}return new St(N,[b,C],b,C,d)}decodeDataCharacter(c,d,h,p){let b=this.getDataCharacterCounters();for(let dr=0;dr.3)throw new De;let q=this.getOddCounts(),he=this.getEvenCounts(),Te=this.getOddRoundingErrors(),je=this.getEvenRoundingErrors();for(let dr=0;dr8){if(Gr>8.7)throw new De;Ar=8}let xa=dr/2;1&dr?(he[xa]=Ar,je[xa]=Gr-Ar):(q[xa]=Ar,Te[xa]=Gr-Ar)}this.adjustOddEvenCounts(17);let ct=4*d.getValue()+(h?0:2)+(p?0:1)-1,wt=0,Mt=0;for(let dr=q.length-1;dr>=0;dr--)si.isNotA1left(d,h,p)&&(Mt+=q[dr]*si.WEIGHTS[ct][2*dr]),wt+=q[dr];let jt=0;for(let dr=he.length-1;dr>=0;dr--)si.isNotA1left(d,h,p)&&(jt+=he[dr]*si.WEIGHTS[ct][2*dr+1]);let qt=Mt+jt;if(1&wt||wt>13||wt<4)throw new De;let wi=(13-wt)/2,Ai=si.SYMBOL_WIDEST[wi],ri=9-Ai,Tn=fi.getRSSvalue(q,Ai,!0),dn=fi.getRSSvalue(he,ri,!1);return new Xe(Tn*si.EVEN_TOTAL_SUBSET[wi]+dn+si.GSUM[wi],qt)}static isNotA1left(c,d,h){return!(0==c.getValue()&&d&&h)}adjustOddEvenCounts(c){let d=ze.sum(new Int32Array(this.getOddCounts())),h=ze.sum(new Int32Array(this.getEvenCounts())),p=!1,b=!1;d>13?b=!0:d<4&&(p=!0);let C=!1,A=!1;h>13?A=!0:h<4&&(C=!0);let N=d+h-c,q=1==(1&d),he=0==(1&h);if(1==N)if(q){if(he)throw new De;b=!0}else{if(!he)throw new De;A=!0}else if(-1==N)if(q){if(he)throw new De;p=!0}else{if(!he)throw new De;C=!0}else{if(0!=N)throw new De;if(q){if(!he)throw new De;d1)for(let A of this.possibleRightPairs)if(A.getCount()>1&&rn.checkChecksum(C,A))return rn.constructResult(C,A);throw new De}static addOrTally(c,d){if(null==d)return;let h=!1;for(let p of c)if(p.getValue()===d.getValue()){p.incrementCount(),h=!0;break}h||c.push(d)}reset(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0}static constructResult(c,d){let h=4537077*c.getValue()+d.getValue(),p=new String(h).toString(),b=new pe;for(let q=13-p.length;q>0;q--)b.append("0");b.append(p);let C=0;for(let q=0;q<13;q++){let he=b.charAt(q).charCodeAt(0)-"0".charCodeAt(0);C+=1&q?he:3*he}C=10-C%10,10===C&&(C=0),b.append(C.toString());let A=c.getFinderPattern().getResultPoints(),N=d.getFinderPattern().getResultPoints();return new Ze(b.toString(),null,0,[A[0],A[1],N[0],N[1]],lt.RSS_14,(new Date).getTime())}static checkChecksum(c,d){let h=(c.getChecksumPortion()+16*d.getChecksumPortion())%79,p=9*c.getFinderPattern().getValue()+d.getFinderPattern().getValue();return p>72&&p--,p>8&&p--,h===p}decodePair(c,d,h,p){try{let b=this.findFinderPattern(c,d),C=this.parseFoundFinderPattern(c,h,d,b),A=null==p?null:p.get(fe.NEED_RESULT_POINT_CALLBACK);if(null!=A){let he=(b[0]+b[1])/2;d&&(he=c.getSize()-1-he),A.foundPossibleResultPoint(new Ct(he,h))}let N=this.decodeDataCharacter(c,C,!0),q=this.decodeDataCharacter(c,C,!1);return new Mn(1597*N.getValue()+q.getValue(),N.getChecksumPortion()+4*q.getChecksumPortion(),C)}catch{return null}}decodeDataCharacter(c,d,h){let p=this.getDataCharacterCounters();for(let jt=0;jt8&&(wi=8);let Ai=Math.floor(jt/2);1&jt?(N[Ai]=wi,he[Ai]=qt-wi):(A[Ai]=wi,q[Ai]=qt-wi)}this.adjustOddEvenCounts(h,b);let Te=0,je=0;for(let jt=A.length-1;jt>=0;jt--)je*=9,je+=A[jt],Te+=A[jt];let ct=0,wt=0;for(let jt=N.length-1;jt>=0;jt--)ct*=9,ct+=N[jt],wt+=N[jt];let Mt=je+3*ct;if(h){if(1&Te||Te>12||Te<4)throw new De;let jt=(12-Te)/2,qt=rn.OUTSIDE_ODD_WIDEST[jt],wi=9-qt,Ai=fi.getRSSvalue(A,qt,!1),ri=fi.getRSSvalue(N,wi,!0);return new Xe(Ai*rn.OUTSIDE_EVEN_TOTAL_SUBSET[jt]+ri+rn.OUTSIDE_GSUM[jt],Mt)}{if(1&wt||wt>10||wt<4)throw new De;let jt=(10-wt)/2,qt=rn.INSIDE_ODD_WIDEST[jt],wi=9-qt,Ai=fi.getRSSvalue(A,qt,!0),ri=fi.getRSSvalue(N,wi,!1);return new Xe(ri*rn.INSIDE_ODD_TOTAL_SUBSET[jt]+Ai+rn.INSIDE_GSUM[jt],Mt)}}findFinderPattern(c,d){let h=this.getDecodeFinderCounters();h[0]=0,h[1]=0,h[2]=0,h[3]=0;let p=c.getSize(),b=!1,C=0;for(;C=0&&b!==c.get(C);)C--;C++;const A=p[0]-C,N=this.getDecodeFinderCounters(),q=new Int32Array(N.length);L.arraycopy(N,0,q,1,N.length-1),q[0]=A;const he=this.parseFinderValue(q,rn.FINDER_PATTERNS);let Te=C,je=p[1];return h&&(Te=c.getSize()-1-Te,je=c.getSize()-1-je),new St(he,[C,p[1]],Te,je,d)}adjustOddEvenCounts(c,d){let h=ze.sum(new Int32Array(this.getOddCounts())),p=ze.sum(new Int32Array(this.getEvenCounts())),b=!1,C=!1,A=!1,N=!1;c?(h>12?C=!0:h<4&&(b=!0),p>12?N=!0:p<4&&(A=!0)):(h>11?C=!0:h<5&&(b=!0),p>10?N=!0:p<4&&(A=!0));let q=h+p-d,he=(1&h)==(c?1:0),Te=1==(1&p);if(1===q)if(he){if(Te)throw new De;C=!0}else{if(!Te)throw new De;N=!0}else if(-1===q)if(he){if(Te)throw new De;b=!0}else{if(!Te)throw new De;A=!0}else{if(0!==q)throw new De;if(he){if(!Te)throw new De;hc.reset())}}class Xi{constructor(c,d,h){this.ecCodewords=c,this.ecBlocks=[d],h&&this.ecBlocks.push(h)}getECCodewords(){return this.ecCodewords}getECBlocks(){return this.ecBlocks}}class bn{constructor(c,d){this.count=c,this.dataCodewords=d}getCount(){return this.count}getDataCodewords(){return this.dataCodewords}}class hi{constructor(c,d,h,p,b,C){this.versionNumber=c,this.symbolSizeRows=d,this.symbolSizeColumns=h,this.dataRegionSizeRows=p,this.dataRegionSizeColumns=b,this.ecBlocks=C;let A=0;const N=C.getECCodewords(),q=C.getECBlocks();for(let he of q)A+=he.getCount()*(he.getDataCodewords()+N);this.totalCodewords=A}getVersionNumber(){return this.versionNumber}getSymbolSizeRows(){return this.symbolSizeRows}getSymbolSizeColumns(){return this.symbolSizeColumns}getDataRegionSizeRows(){return this.dataRegionSizeRows}getDataRegionSizeColumns(){return this.dataRegionSizeColumns}getTotalCodewords(){return this.totalCodewords}getECBlocks(){return this.ecBlocks}static getVersionForDimensions(c,d){if(1&c||1&d)throw new $;for(let h of hi.VERSIONS)if(h.symbolSizeRows===c&&h.symbolSizeColumns===d)return h;throw new $}toString(){return""+this.versionNumber}static buildVersions(){return[new hi(1,10,10,8,8,new Xi(5,new bn(1,3))),new hi(2,12,12,10,10,new Xi(7,new bn(1,5))),new hi(3,14,14,12,12,new Xi(10,new bn(1,8))),new hi(4,16,16,14,14,new Xi(12,new bn(1,12))),new hi(5,18,18,16,16,new Xi(14,new bn(1,18))),new hi(6,20,20,18,18,new Xi(18,new bn(1,22))),new hi(7,22,22,20,20,new Xi(20,new bn(1,30))),new hi(8,24,24,22,22,new Xi(24,new bn(1,36))),new hi(9,26,26,24,24,new Xi(28,new bn(1,44))),new hi(10,32,32,14,14,new Xi(36,new bn(1,62))),new hi(11,36,36,16,16,new Xi(42,new bn(1,86))),new hi(12,40,40,18,18,new Xi(48,new bn(1,114))),new hi(13,44,44,20,20,new Xi(56,new bn(1,144))),new hi(14,48,48,22,22,new Xi(68,new bn(1,174))),new hi(15,52,52,24,24,new Xi(42,new bn(2,102))),new hi(16,64,64,14,14,new Xi(56,new bn(2,140))),new hi(17,72,72,16,16,new Xi(36,new bn(4,92))),new hi(18,80,80,18,18,new Xi(48,new bn(4,114))),new hi(19,88,88,20,20,new Xi(56,new bn(4,144))),new hi(20,96,96,22,22,new Xi(68,new bn(4,174))),new hi(21,104,104,24,24,new Xi(56,new bn(6,136))),new hi(22,120,120,18,18,new Xi(68,new bn(6,175))),new hi(23,132,132,20,20,new Xi(62,new bn(8,163))),new hi(24,144,144,22,22,new Xi(62,new bn(8,156),new bn(2,155))),new hi(25,8,18,6,16,new Xi(7,new bn(1,5))),new hi(26,8,32,6,14,new Xi(11,new bn(1,10))),new hi(27,12,26,10,24,new Xi(14,new bn(1,16))),new hi(28,12,36,10,16,new Xi(18,new bn(1,22))),new hi(29,16,36,14,16,new Xi(24,new bn(1,32))),new hi(30,16,48,14,22,new Xi(28,new bn(1,49)))]}}hi.VERSIONS=hi.buildVersions();class sn{constructor(c){const d=c.getHeight();if(d<8||d>144||1&d)throw new $;this.version=sn.readVersion(c),this.mappingBitMatrix=this.extractDataRegion(c),this.readMappingMatrix=new ae(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}getVersion(){return this.version}static readVersion(c){const d=c.getHeight(),h=c.getWidth();return hi.getVersionForDimensions(d,h)}readCodewords(){const c=new Int8Array(this.version.getTotalCodewords());let d=0,h=4,p=0;const b=this.mappingBitMatrix.getHeight(),C=this.mappingBitMatrix.getWidth();let A=!1,N=!1,q=!1,he=!1;do{if(h!==b||0!==p||A)if(h===b-2&&0===p&&3&C&&!N)c[d++]=255&this.readCorner2(b,C),h-=2,p+=2,N=!0;else if(h!==b+4||2!==p||7&C||q)if(h!==b-2||0!==p||4!=(7&C)||he){do{h=0&&!this.readMappingMatrix.get(p,h)&&(c[d++]=255&this.readUtah(h,p,b,C)),h-=2,p+=2}while(h>=0&&p=0&&p=0);h+=3,p+=1}else c[d++]=255&this.readCorner4(b,C),h-=2,p+=2,he=!0;else c[d++]=255&this.readCorner3(b,C),h-=2,p+=2,q=!0;else c[d++]=255&this.readCorner1(b,C),h-=2,p+=2,A=!0}while(h7?Mt-1:Mt]=c[Te++]}if(Te!==c.length)throw new D;return C}getNumDataCodewords(){return this.numDataCodewords}getCodewords(){return this.codewords}}class ur{constructor(c){this.bytes=c,this.byteOffset=0,this.bitOffset=0}getBitOffset(){return this.bitOffset}getByteOffset(){return this.byteOffset}readBits(c){if(c<1||c>32||c>this.available())throw new D(""+c);let d=0,h=this.bitOffset,p=this.byteOffset;const b=this.bytes;if(h>0){const C=8-h,A=c>8-A<>N,c-=A,h+=A,8===h&&(h=0,p++)}if(c>0){for(;c>=8;)d=d<<8|255&b[p],p++,c-=8;if(c>0){const C=8-c;d=d<>C<>C,h+=c}}return this.bitOffset=h,this.byteOffset=p,d}available(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset}}var yn=(()=>{return(K=yn||(yn={}))[K.PAD_ENCODE=0]="PAD_ENCODE",K[K.ASCII_ENCODE=1]="ASCII_ENCODE",K[K.C40_ENCODE=2]="C40_ENCODE",K[K.TEXT_ENCODE=3]="TEXT_ENCODE",K[K.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",K[K.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",K[K.BASE256_ENCODE=6]="BASE256_ENCODE",yn;var K})();class vn{static decode(c){const d=new ur(c),h=new pe,p=new pe,b=new Array;let C=yn.ASCII_ENCODE;do{if(C===yn.ASCII_ENCODE)C=this.decodeAsciiSegment(d,h,p);else{switch(C){case yn.C40_ENCODE:this.decodeC40Segment(d,h);break;case yn.TEXT_ENCODE:this.decodeTextSegment(d,h);break;case yn.ANSIX12_ENCODE:this.decodeAnsiX12Segment(d,h);break;case yn.EDIFACT_ENCODE:this.decodeEdifactSegment(d,h);break;case yn.BASE256_ENCODE:this.decodeBase256Segment(d,h,b);break;default:throw new $}C=yn.ASCII_ENCODE}}while(C!==yn.PAD_ENCODE&&d.available()>0);return p.length()>0&&h.append(p.toString()),new Yt(c,h.toString(),0===b.length?null:b,null)}static decodeAsciiSegment(c,d,h){let p=!1;do{let b=c.readBits(8);if(0===b)throw new $;if(b<=128)return p&&(b+=128),d.append(String.fromCharCode(b-1)),yn.ASCII_ENCODE;if(129===b)return yn.PAD_ENCODE;if(b<=229){const C=b-130;C<10&&d.append("0"),d.append(""+C)}else switch(b){case 230:return yn.C40_ENCODE;case 231:return yn.BASE256_ENCODE;case 232:d.append(String.fromCharCode(29));break;case 233:case 234:case 241:break;case 235:p=!0;break;case 236:d.append("[)>\x1e05\x1d"),h.insert(0,"\x1e\x04");break;case 237:d.append("[)>\x1e06\x1d"),h.insert(0,"\x1e\x04");break;case 238:return yn.ANSIX12_ENCODE;case 239:return yn.TEXT_ENCODE;case 240:return yn.EDIFACT_ENCODE;default:if(254!==b||0!==c.available())throw new $}}while(c.available()>0);return yn.ASCII_ENCODE}static decodeC40Segment(c,d){let h=!1;const p=[];let b=0;do{if(8===c.available())return;const C=c.readBits(8);if(254===C)return;this.parseTwoBytes(C,c.readBits(8),p);for(let A=0;A<3;A++){const N=p[A];switch(b){case 0:if(N<3)b=N+1;else{if(!(N0)}static decodeTextSegment(c,d){let h=!1,p=[],b=0;do{if(8===c.available())return;const C=c.readBits(8);if(254===C)return;this.parseTwoBytes(C,c.readBits(8),p);for(let A=0;A<3;A++){const N=p[A];switch(b){case 0:if(N<3)b=N+1;else{if(!(N0)}static decodeAnsiX12Segment(c,d){const h=[];do{if(8===c.available())return;const p=c.readBits(8);if(254===p)return;this.parseTwoBytes(p,c.readBits(8),h);for(let b=0;b<3;b++){const C=h[b];switch(C){case 0:d.append("\r");break;case 1:d.append("*");break;case 2:d.append(">");break;case 3:d.append(" ");break;default:if(C<14)d.append(String.fromCharCode(C+44));else{if(!(C<40))throw new $;d.append(String.fromCharCode(C+51))}}}}while(c.available()>0)}static parseTwoBytes(c,d,h){let p=(c<<8)+d-1,b=Math.floor(p/1600);h[0]=b,p-=1600*b,b=Math.floor(p/40),h[1]=b,h[2]=p-40*b}static decodeEdifactSegment(c,d){do{if(c.available()<=16)return;for(let h=0;h<4;h++){let p=c.readBits(6);if(31===p){const b=8-c.getBitOffset();return void(8!==b&&c.readBits(b))}32&p||(p|=64),d.append(String.fromCharCode(p))}}while(c.available()>0)}static decodeBase256Segment(c,d,h){let p=1+c.getByteOffset();const b=this.unrandomize255State(c.readBits(8),p++);let C;if(C=0===b?c.available()/8|0:b<250?b:250*(b-249)+this.unrandomize255State(c.readBits(8),p++),C<0)throw new $;const A=new Uint8Array(C);for(let N=0;N=0?p:p+256}}vn.C40_BASIC_SET_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"],vn.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],vn.TEXT_BASIC_SET_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"],vn.TEXT_SHIFT2_SET_CHARS=vn.C40_SHIFT2_SET_CHARS,vn.TEXT_SHIFT3_SET_CHARS=["`","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","{","|","}","~",String.fromCharCode(127)];class da{constructor(){this.rsDecoder=new ot(Et.DATA_MATRIX_FIELD_256)}decode(c){const d=new sn(c),h=d.getVersion(),p=d.readCodewords(),b=qn.getDataBlocks(p,h);let C=0;for(let q of b)C+=q.getNumDataCodewords();const A=new Uint8Array(C),N=b.length;for(let q=0;qA&&(he=A,Te[0]=d,Te[1]=h,Te[2]=p,Te[3]=b),he>N&&(he=N,Te[0]=h,Te[1]=p,Te[2]=b,Te[3]=d),he>q&&(Te[0]=p,Te[1]=b,Te[2]=d,Te[3]=h),Te}detectSolid2(c){let d=c[0],h=c[1],p=c[2],b=c[3],C=this.transitionsBetween(d,b),A=Vi.shiftPoint(h,p,4*(C+1)),N=Vi.shiftPoint(p,h,4*(C+1));return this.transitionsBetween(A,d)this.transitionsBetween(N,Te)+this.transitionsBetween(q,Te)?he:Te:he:this.isValid(Te)?Te:null}shiftToModuleCenter(c){let d=c[0],h=c[1],p=c[2],b=c[3],C=this.transitionsBetween(d,b)+1,A=this.transitionsBetween(p,b)+1,N=Vi.shiftPoint(d,h,4*A),q=Vi.shiftPoint(p,h,4*C);C=this.transitionsBetween(N,b)+1,A=this.transitionsBetween(q,b)+1,1==(1&C)&&(C+=1),1==(1&A)&&(A+=1);let je,ct,he=(d.getX()+h.getX()+p.getX()+b.getX())/4,Te=(d.getY()+h.getY()+p.getY()+b.getY())/4;return d=Vi.moveAway(d,he,Te),h=Vi.moveAway(h,he,Te),p=Vi.moveAway(p,he,Te),b=Vi.moveAway(b,he,Te),N=Vi.shiftPoint(d,h,4*A),N=Vi.shiftPoint(N,b,4*C),je=Vi.shiftPoint(h,d,4*A),je=Vi.shiftPoint(je,p,4*C),q=Vi.shiftPoint(p,b,4*A),q=Vi.shiftPoint(q,h,4*C),ct=Vi.shiftPoint(b,p,4*A),ct=Vi.shiftPoint(ct,d,4*C),[N,je,q,ct]}isValid(c){return c.getX()>=0&&c.getX()0&&c.getY()Math.abs(b-h);if(A){let Mt=h;h=p,p=Mt,Mt=b,b=C,C=Mt}let N=Math.abs(b-h),q=Math.abs(C-p),he=-N/2,Te=p0){if(jt===C)break;jt+=Te,he-=N}}return ct}}let Zi=(()=>{class K{constructor(){this.decoder=new da}decode(d,h=null){let p,b;if(null!=h&&h.has(fe.PURE_BARCODE)){const he=K.extractPureBits(d.getBlackMatrix());p=this.decoder.decode(he),b=K.NO_POINTS}else{const he=new Vi(d.getBlackMatrix()).detect();p=this.decoder.decode(he.getBits()),b=he.getPoints()}const C=p.getRawBytes(),A=new Ze(p.getText(),C,8*C.length,b,lt.DATA_MATRIX,L.currentTimeMillis()),N=p.getByteSegments();null!=N&&A.putMetadata($t.BYTE_SEGMENTS,N);const q=p.getECLevel();return null!=q&&A.putMetadata($t.ERROR_CORRECTION_LEVEL,q),A}reset(){}static extractPureBits(d){const h=d.getTopLeftOnBit(),p=d.getBottomRightOnBit();if(null==h||null==p)throw new De;const b=this.moduleSize(h,d);let C=h[1],N=h[0];const he=(p[0]-N+1)/b,Te=(p[1]-C+1)/b;if(he<=0||Te<=0)throw new De;const je=b/2;C+=je,N+=je;const ct=new ae(he,Te);for(let wt=0;wt{return(K=ji||(ji={}))[K.L=0]="L",K[K.M=1]="M",K[K.Q=2]="Q",K[K.H=3]="H",ji;var K})();class zi{constructor(c,d,h){this.value=c,this.stringValue=d,this.bits=h,zi.FOR_BITS.set(h,this),zi.FOR_VALUE.set(c,this)}getValue(){return this.value}getBits(){return this.bits}static fromString(c){switch(c){case"L":return zi.L;case"M":return zi.M;case"Q":return zi.Q;case"H":return zi.H;default:throw new S(c+"not available")}}toString(){return this.stringValue}equals(c){return c instanceof zi&&this.value===c.value}static forBits(c){if(c<0||c>=zi.FOR_BITS.size)throw new D;return zi.FOR_BITS.get(c)}}zi.FOR_BITS=new Map,zi.FOR_VALUE=new Map,zi.L=new zi(ji.L,"L",1),zi.M=new zi(ji.M,"M",0),zi.Q=new zi(ji.Q,"Q",3),zi.H=new zi(ji.H,"H",2);class ir{constructor(c){this.errorCorrectionLevel=zi.forBits(c>>3&3),this.dataMask=7&c}static numBitsDiffering(c,d){return V.bitCount(c^d)}static decodeFormatInformation(c,d){const h=ir.doDecodeFormatInformation(c,d);return null!==h?h:ir.doDecodeFormatInformation(c^ir.FORMAT_INFO_MASK_QR,d^ir.FORMAT_INFO_MASK_QR)}static doDecodeFormatInformation(c,d){let h=Number.MAX_SAFE_INTEGER,p=0;for(const b of ir.FORMAT_INFO_DECODE_LOOKUP){const C=b[0];if(C===c||C===d)return new ir(b[1]);let A=ir.numBitsDiffering(c,C);A40)throw new D;return Ri.VERSIONS[c-1]}static decodeVersionInformation(c){let d=Number.MAX_SAFE_INTEGER,h=0;for(let p=0;p6&&(d.setRegion(c-11,0,3,6),d.setRegion(0,c-11,6,3)),d}toString(){return""+this.versionNumber}}Ri.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),Ri.VERSIONS=[new Ri(1,new Int32Array(0),new Ht(7,new tt(1,19)),new Ht(10,new tt(1,16)),new Ht(13,new tt(1,13)),new Ht(17,new tt(1,9))),new Ri(2,Int32Array.from([6,18]),new Ht(10,new tt(1,34)),new Ht(16,new tt(1,28)),new Ht(22,new tt(1,22)),new Ht(28,new tt(1,16))),new Ri(3,Int32Array.from([6,22]),new Ht(15,new tt(1,55)),new Ht(26,new tt(1,44)),new Ht(18,new tt(2,17)),new Ht(22,new tt(2,13))),new Ri(4,Int32Array.from([6,26]),new Ht(20,new tt(1,80)),new Ht(18,new tt(2,32)),new Ht(26,new tt(2,24)),new Ht(16,new tt(4,9))),new Ri(5,Int32Array.from([6,30]),new Ht(26,new tt(1,108)),new Ht(24,new tt(2,43)),new Ht(18,new tt(2,15),new tt(2,16)),new Ht(22,new tt(2,11),new tt(2,12))),new Ri(6,Int32Array.from([6,34]),new Ht(18,new tt(2,68)),new Ht(16,new tt(4,27)),new Ht(24,new tt(4,19)),new Ht(28,new tt(4,15))),new Ri(7,Int32Array.from([6,22,38]),new Ht(20,new tt(2,78)),new Ht(18,new tt(4,31)),new Ht(18,new tt(2,14),new tt(4,15)),new Ht(26,new tt(4,13),new tt(1,14))),new Ri(8,Int32Array.from([6,24,42]),new Ht(24,new tt(2,97)),new Ht(22,new tt(2,38),new tt(2,39)),new Ht(22,new tt(4,18),new tt(2,19)),new Ht(26,new tt(4,14),new tt(2,15))),new Ri(9,Int32Array.from([6,26,46]),new Ht(30,new tt(2,116)),new Ht(22,new tt(3,36),new tt(2,37)),new Ht(20,new tt(4,16),new tt(4,17)),new Ht(24,new tt(4,12),new tt(4,13))),new Ri(10,Int32Array.from([6,28,50]),new Ht(18,new tt(2,68),new tt(2,69)),new Ht(26,new tt(4,43),new tt(1,44)),new Ht(24,new tt(6,19),new tt(2,20)),new Ht(28,new tt(6,15),new tt(2,16))),new Ri(11,Int32Array.from([6,30,54]),new Ht(20,new tt(4,81)),new Ht(30,new tt(1,50),new tt(4,51)),new Ht(28,new tt(4,22),new tt(4,23)),new Ht(24,new tt(3,12),new tt(8,13))),new Ri(12,Int32Array.from([6,32,58]),new Ht(24,new tt(2,92),new tt(2,93)),new Ht(22,new tt(6,36),new tt(2,37)),new Ht(26,new tt(4,20),new tt(6,21)),new Ht(28,new tt(7,14),new tt(4,15))),new Ri(13,Int32Array.from([6,34,62]),new Ht(26,new tt(4,107)),new Ht(22,new tt(8,37),new tt(1,38)),new Ht(24,new tt(8,20),new tt(4,21)),new Ht(22,new tt(12,11),new tt(4,12))),new Ri(14,Int32Array.from([6,26,46,66]),new Ht(30,new tt(3,115),new tt(1,116)),new Ht(24,new tt(4,40),new tt(5,41)),new Ht(20,new tt(11,16),new tt(5,17)),new Ht(24,new tt(11,12),new tt(5,13))),new Ri(15,Int32Array.from([6,26,48,70]),new Ht(22,new tt(5,87),new tt(1,88)),new Ht(24,new tt(5,41),new tt(5,42)),new Ht(30,new tt(5,24),new tt(7,25)),new Ht(24,new tt(11,12),new tt(7,13))),new Ri(16,Int32Array.from([6,26,50,74]),new Ht(24,new tt(5,98),new tt(1,99)),new Ht(28,new tt(7,45),new tt(3,46)),new Ht(24,new tt(15,19),new tt(2,20)),new Ht(30,new tt(3,15),new tt(13,16))),new Ri(17,Int32Array.from([6,30,54,78]),new Ht(28,new tt(1,107),new tt(5,108)),new Ht(28,new tt(10,46),new tt(1,47)),new Ht(28,new tt(1,22),new tt(15,23)),new Ht(28,new tt(2,14),new tt(17,15))),new Ri(18,Int32Array.from([6,30,56,82]),new Ht(30,new tt(5,120),new tt(1,121)),new Ht(26,new tt(9,43),new tt(4,44)),new Ht(28,new tt(17,22),new tt(1,23)),new Ht(28,new tt(2,14),new tt(19,15))),new Ri(19,Int32Array.from([6,30,58,86]),new Ht(28,new tt(3,113),new tt(4,114)),new Ht(26,new tt(3,44),new tt(11,45)),new Ht(26,new tt(17,21),new tt(4,22)),new Ht(26,new tt(9,13),new tt(16,14))),new Ri(20,Int32Array.from([6,34,62,90]),new Ht(28,new tt(3,107),new tt(5,108)),new Ht(26,new tt(3,41),new tt(13,42)),new Ht(30,new tt(15,24),new tt(5,25)),new Ht(28,new tt(15,15),new tt(10,16))),new Ri(21,Int32Array.from([6,28,50,72,94]),new Ht(28,new tt(4,116),new tt(4,117)),new Ht(26,new tt(17,42)),new Ht(28,new tt(17,22),new tt(6,23)),new Ht(30,new tt(19,16),new tt(6,17))),new Ri(22,Int32Array.from([6,26,50,74,98]),new Ht(28,new tt(2,111),new tt(7,112)),new Ht(28,new tt(17,46)),new Ht(30,new tt(7,24),new tt(16,25)),new Ht(24,new tt(34,13))),new Ri(23,Int32Array.from([6,30,54,78,102]),new Ht(30,new tt(4,121),new tt(5,122)),new Ht(28,new tt(4,47),new tt(14,48)),new Ht(30,new tt(11,24),new tt(14,25)),new Ht(30,new tt(16,15),new tt(14,16))),new Ri(24,Int32Array.from([6,28,54,80,106]),new Ht(30,new tt(6,117),new tt(4,118)),new Ht(28,new tt(6,45),new tt(14,46)),new Ht(30,new tt(11,24),new tt(16,25)),new Ht(30,new tt(30,16),new tt(2,17))),new Ri(25,Int32Array.from([6,32,58,84,110]),new Ht(26,new tt(8,106),new tt(4,107)),new Ht(28,new tt(8,47),new tt(13,48)),new Ht(30,new tt(7,24),new tt(22,25)),new Ht(30,new tt(22,15),new tt(13,16))),new Ri(26,Int32Array.from([6,30,58,86,114]),new Ht(28,new tt(10,114),new tt(2,115)),new Ht(28,new tt(19,46),new tt(4,47)),new Ht(28,new tt(28,22),new tt(6,23)),new Ht(30,new tt(33,16),new tt(4,17))),new Ri(27,Int32Array.from([6,34,62,90,118]),new Ht(30,new tt(8,122),new tt(4,123)),new Ht(28,new tt(22,45),new tt(3,46)),new Ht(30,new tt(8,23),new tt(26,24)),new Ht(30,new tt(12,15),new tt(28,16))),new Ri(28,Int32Array.from([6,26,50,74,98,122]),new Ht(30,new tt(3,117),new tt(10,118)),new Ht(28,new tt(3,45),new tt(23,46)),new Ht(30,new tt(4,24),new tt(31,25)),new Ht(30,new tt(11,15),new tt(31,16))),new Ri(29,Int32Array.from([6,30,54,78,102,126]),new Ht(30,new tt(7,116),new tt(7,117)),new Ht(28,new tt(21,45),new tt(7,46)),new Ht(30,new tt(1,23),new tt(37,24)),new Ht(30,new tt(19,15),new tt(26,16))),new Ri(30,Int32Array.from([6,26,52,78,104,130]),new Ht(30,new tt(5,115),new tt(10,116)),new Ht(28,new tt(19,47),new tt(10,48)),new Ht(30,new tt(15,24),new tt(25,25)),new Ht(30,new tt(23,15),new tt(25,16))),new Ri(31,Int32Array.from([6,30,56,82,108,134]),new Ht(30,new tt(13,115),new tt(3,116)),new Ht(28,new tt(2,46),new tt(29,47)),new Ht(30,new tt(42,24),new tt(1,25)),new Ht(30,new tt(23,15),new tt(28,16))),new Ri(32,Int32Array.from([6,34,60,86,112,138]),new Ht(30,new tt(17,115)),new Ht(28,new tt(10,46),new tt(23,47)),new Ht(30,new tt(10,24),new tt(35,25)),new Ht(30,new tt(19,15),new tt(35,16))),new Ri(33,Int32Array.from([6,30,58,86,114,142]),new Ht(30,new tt(17,115),new tt(1,116)),new Ht(28,new tt(14,46),new tt(21,47)),new Ht(30,new tt(29,24),new tt(19,25)),new Ht(30,new tt(11,15),new tt(46,16))),new Ri(34,Int32Array.from([6,34,62,90,118,146]),new Ht(30,new tt(13,115),new tt(6,116)),new Ht(28,new tt(14,46),new tt(23,47)),new Ht(30,new tt(44,24),new tt(7,25)),new Ht(30,new tt(59,16),new tt(1,17))),new Ri(35,Int32Array.from([6,30,54,78,102,126,150]),new Ht(30,new tt(12,121),new tt(7,122)),new Ht(28,new tt(12,47),new tt(26,48)),new Ht(30,new tt(39,24),new tt(14,25)),new Ht(30,new tt(22,15),new tt(41,16))),new Ri(36,Int32Array.from([6,24,50,76,102,128,154]),new Ht(30,new tt(6,121),new tt(14,122)),new Ht(28,new tt(6,47),new tt(34,48)),new Ht(30,new tt(46,24),new tt(10,25)),new Ht(30,new tt(2,15),new tt(64,16))),new Ri(37,Int32Array.from([6,28,54,80,106,132,158]),new Ht(30,new tt(17,122),new tt(4,123)),new Ht(28,new tt(29,46),new tt(14,47)),new Ht(30,new tt(49,24),new tt(10,25)),new Ht(30,new tt(24,15),new tt(46,16))),new Ri(38,Int32Array.from([6,32,58,84,110,136,162]),new Ht(30,new tt(4,122),new tt(18,123)),new Ht(28,new tt(13,46),new tt(32,47)),new Ht(30,new tt(48,24),new tt(14,25)),new Ht(30,new tt(42,15),new tt(32,16))),new Ri(39,Int32Array.from([6,26,54,82,110,138,166]),new Ht(30,new tt(20,117),new tt(4,118)),new Ht(28,new tt(40,47),new tt(7,48)),new Ht(30,new tt(43,24),new tt(22,25)),new Ht(30,new tt(10,15),new tt(67,16))),new Ri(40,Int32Array.from([6,30,58,86,114,142,170]),new Ht(30,new tt(19,118),new tt(6,119)),new Ht(28,new tt(18,47),new tt(31,48)),new Ht(30,new tt(34,24),new tt(34,25)),new Ht(30,new tt(20,15),new tt(61,16)))];var On=(()=>{return(K=On||(On={}))[K.DATA_MASK_000=0]="DATA_MASK_000",K[K.DATA_MASK_001=1]="DATA_MASK_001",K[K.DATA_MASK_010=2]="DATA_MASK_010",K[K.DATA_MASK_011=3]="DATA_MASK_011",K[K.DATA_MASK_100=4]="DATA_MASK_100",K[K.DATA_MASK_101=5]="DATA_MASK_101",K[K.DATA_MASK_110=6]="DATA_MASK_110",K[K.DATA_MASK_111=7]="DATA_MASK_111",On;var K})();class Qn{constructor(c,d){this.value=c,this.isMasked=d}unmaskBitMatrix(c,d){for(let h=0;h0==(K+c&1))],[On.DATA_MASK_001,new Qn(On.DATA_MASK_001,(K,c)=>0==(1&K))],[On.DATA_MASK_010,new Qn(On.DATA_MASK_010,(K,c)=>c%3==0)],[On.DATA_MASK_011,new Qn(On.DATA_MASK_011,(K,c)=>(K+c)%3==0)],[On.DATA_MASK_100,new Qn(On.DATA_MASK_100,(K,c)=>0==(Math.floor(K/2)+Math.floor(c/3)&1))],[On.DATA_MASK_101,new Qn(On.DATA_MASK_101,(K,c)=>K*c%6==0)],[On.DATA_MASK_110,new Qn(On.DATA_MASK_110,(K,c)=>K*c%6<3)],[On.DATA_MASK_111,new Qn(On.DATA_MASK_111,(K,c)=>0==(K+c+K*c%3&1))]]);class ta{constructor(c){const d=c.getHeight();if(d<21||1!=(3&d))throw new $;this.bitMatrix=c}readFormatInformation(){if(null!=this.parsedFormatInfo)return this.parsedFormatInfo;let c=0;for(let b=0;b<6;b++)c=this.copyBit(b,8,c);c=this.copyBit(7,8,c),c=this.copyBit(8,8,c),c=this.copyBit(8,7,c);for(let b=5;b>=0;b--)c=this.copyBit(8,b,c);const d=this.bitMatrix.getHeight();let h=0;const p=d-7;for(let b=d-1;b>=p;b--)h=this.copyBit(8,b,h);for(let b=d-8;b=0;C--)for(let A=c-9;A>=p;A--)h=this.copyBit(A,C,h);let b=Ri.decodeVersionInformation(h);if(null!==b&&b.getDimensionForVersion()===c)return this.parsedVersion=b,b;h=0;for(let C=5;C>=0;C--)for(let A=c-9;A>=p;A--)h=this.copyBit(C,A,h);if(b=Ri.decodeVersionInformation(h),null!==b&&b.getDimensionForVersion()===c)return this.parsedVersion=b,b;throw new $}copyBit(c,d,h){return(this.isMirror?this.bitMatrix.get(d,c):this.bitMatrix.get(c,d))?h<<1|1:h<<1}readCodewords(){const c=this.readFormatInformation(),d=this.readVersion(),h=Qn.values.get(c.getDataMask()),p=this.bitMatrix.getHeight();h.unmaskBitMatrix(this.bitMatrix,p);const b=d.buildFunctionPattern();let C=!0;const A=new Uint8Array(d.getTotalCodewords());let N=0,q=0,he=0;for(let Te=p-1;Te>0;Te-=2){6===Te&&Te--;for(let je=0;je=0&&A[he].codewords.length!==q;)he--;he++;const Te=q-p.getECCodewordsPerBlock();let je=0;for(let wt=0;wt{return(K=qr||(qr={}))[K.TERMINATOR=0]="TERMINATOR",K[K.NUMERIC=1]="NUMERIC",K[K.ALPHANUMERIC=2]="ALPHANUMERIC",K[K.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",K[K.BYTE=4]="BYTE",K[K.ECI=5]="ECI",K[K.KANJI=6]="KANJI",K[K.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",K[K.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",K[K.HANZI=9]="HANZI",qr;var K})();class Ei{constructor(c,d,h,p){this.value=c,this.stringValue=d,this.characterCountBitsForVersions=h,this.bits=p,Ei.FOR_BITS.set(p,this),Ei.FOR_VALUE.set(c,this)}static forBits(c){const d=Ei.FOR_BITS.get(c);if(void 0===d)throw new D;return d}getCharacterCountBits(c){const d=c.getVersionNumber();let h;return h=d<=9?0:d<=26?1:2,this.characterCountBitsForVersions[h]}getValue(){return this.value}getBits(){return this.bits}equals(c){return c instanceof Ei&&this.value===c.value}toString(){return this.stringValue}}Ei.FOR_BITS=new Map,Ei.FOR_VALUE=new Map,Ei.TERMINATOR=new Ei(qr.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),Ei.NUMERIC=new Ei(qr.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),Ei.ALPHANUMERIC=new Ei(qr.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),Ei.STRUCTURED_APPEND=new Ei(qr.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),Ei.BYTE=new Ei(qr.BYTE,"BYTE",Int32Array.from([8,16,16]),4),Ei.ECI=new Ei(qr.ECI,"ECI",Int32Array.from([0,0,0]),7),Ei.KANJI=new Ei(qr.KANJI,"KANJI",Int32Array.from([8,10,12]),8),Ei.FNC1_FIRST_POSITION=new Ei(qr.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),Ei.FNC1_SECOND_POSITION=new Ei(qr.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),Ei.HANZI=new Ei(qr.HANZI,"HANZI",Int32Array.from([8,10,12]),13);let ia=(()=>{class K{static decode(d,h,p,b){const C=new ur(d);let A=new pe;const N=new Array;let q=-1,he=-1;try{let ct,Te=null,je=!1;do{if(C.available()<4)ct=Ei.TERMINATOR;else{const wt=C.readBits(4);ct=Ei.forBits(wt)}switch(ct){case Ei.TERMINATOR:break;case Ei.FNC1_FIRST_POSITION:case Ei.FNC1_SECOND_POSITION:je=!0;break;case Ei.STRUCTURED_APPEND:if(C.available()<16)throw new $;q=C.readBits(8),he=C.readBits(8);break;case Ei.ECI:const wt=K.parseECIValue(C);if(Te=X.getCharacterSetECIByValue(wt),null===Te)throw new $;break;case Ei.HANZI:const Mt=C.readBits(4),jt=C.readBits(ct.getCharacterCountBits(h));Mt===K.GB2312_SUBSET&&K.decodeHanziSegment(C,A,jt);break;default:const qt=C.readBits(ct.getCharacterCountBits(h));switch(ct){case Ei.NUMERIC:K.decodeNumericSegment(C,A,qt);break;case Ei.ALPHANUMERIC:K.decodeAlphanumericSegment(C,A,qt,je);break;case Ei.BYTE:K.decodeByteSegment(C,A,qt,Te,N,b);break;case Ei.KANJI:K.decodeKanjiSegment(C,A,qt);break;default:throw new $}}}while(ct!==Ei.TERMINATOR)}catch{throw new $}return new Yt(d,A.toString(),0===N.length?null:N,null===p?null:p.toString(),q,he)}static decodeHanziSegment(d,h,p){if(13*p>d.available())throw new $;const b=new Uint8Array(2*p);let C=0;for(;p>0;){const A=d.readBits(13);let N=A/96<<8&4294967295|A%96;N+=N<959?41377:42657,b[C]=N>>8&255,b[C+1]=255&N,C+=2,p--}try{h.append(te.decode(b,le.GB2312))}catch(A){throw new $(A)}}static decodeKanjiSegment(d,h,p){if(13*p>d.available())throw new $;const b=new Uint8Array(2*p);let C=0;for(;p>0;){const A=d.readBits(13);let N=A/192<<8&4294967295|A%192;N+=N<7936?33088:49472,b[C]=N>>8,b[C+1]=N,C+=2,p--}try{h.append(te.decode(b,le.SHIFT_JIS))}catch(A){throw new $(A)}}static decodeByteSegment(d,h,p,b,C,A){if(8*p>d.available())throw new $;const N=new Uint8Array(p);for(let he=0;he=K.ALPHANUMERIC_CHARS.length)throw new $;return K.ALPHANUMERIC_CHARS[d]}static decodeAlphanumericSegment(d,h,p,b){const C=h.length();for(;p>1;){if(d.available()<11)throw new $;const A=d.readBits(11);h.append(K.toAlphaNumericChar(Math.floor(A/45))),h.append(K.toAlphaNumericChar(A%45)),p-=2}if(1===p){if(d.available()<6)throw new $;h.append(K.toAlphaNumericChar(d.readBits(6)))}if(b)for(let A=C;A=3;){if(d.available()<10)throw new $;const b=d.readBits(10);if(b>=1e3)throw new $;h.append(K.toAlphaNumericChar(Math.floor(b/100))),h.append(K.toAlphaNumericChar(Math.floor(b/10)%10)),h.append(K.toAlphaNumericChar(b%10)),p-=3}if(2===p){if(d.available()<7)throw new $;const b=d.readBits(7);if(b>=100)throw new $;h.append(K.toAlphaNumericChar(Math.floor(b/10))),h.append(K.toAlphaNumericChar(b%10))}else if(1===p){if(d.available()<4)throw new $;const b=d.readBits(4);if(b>=10)throw new $;h.append(K.toAlphaNumericChar(b))}}static parseECIValue(d){const h=d.readBits(8);if(!(128&h))return 127&h;if(128==(192&h))return(63&h)<<8&4294967295|d.readBits(8);if(192==(224&h))return(31&h)<<16&4294967295|d.readBits(16);throw new $}}return K.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",K.GB2312_SUBSET=1,K})();class Bo{constructor(c){this.mirrored=c}isMirrored(){return this.mirrored}applyMirroredCorrection(c){if(!this.mirrored||null===c||c.length<3)return;const d=c[0];c[0]=c[2],c[2]=d}}class Cs{constructor(){this.rsDecoder=new ot(Et.QR_CODE_FIELD_256)}decodeBooleanArray(c,d){return this.decodeBitMatrix(ae.parseFromBooleanArray(c),d)}decodeBitMatrix(c,d){const h=new ta(c);let p=null;try{return this.decodeBitMatrixParser(h,d)}catch(b){p=b}try{h.remask(),h.setMirror(!0),h.readVersion(),h.readFormatInformation(),h.mirror();const b=this.decodeBitMatrixParser(h,d);return b.setOther(new Bo(!0)),b}catch(b){throw null!==p?p:b}}decodeBitMatrixParser(c,d){const h=c.readVersion(),p=c.readFormatInformation().getErrorCorrectionLevel(),b=c.readCodewords(),C=Wa.getDataBlocks(b,h,p);let A=0;for(const he of C)A+=he.getNumDataCodewords();const N=new Uint8Array(A);let q=0;for(const he of C){const Te=he.getCodewords(),je=he.getNumDataCodewords();this.correctErrors(Te,je);for(let ct=0;ct=h)return!1;return!0}crossCheckVertical(c,d,h,p){const b=this.image,C=b.getHeight(),A=this.crossCheckStateCount;A[0]=0,A[1]=0,A[2]=0;let N=c;for(;N>=0&&b.get(d,N)&&A[1]<=h;)A[1]++,N--;if(N<0||A[1]>h)return NaN;for(;N>=0&&!b.get(d,N)&&A[0]<=h;)A[0]++,N--;if(A[0]>h)return NaN;for(N=c+1;Nh)return NaN;for(;Nh||5*Math.abs(A[0]+A[1]+A[2]-p)>=2*p?NaN:this.foundPatternCross(A)?wr.centerFromEnd(A,N):NaN}handlePossibleCenter(c,d,h){const p=c[0]+c[1]+c[2],b=wr.centerFromEnd(c,h),C=this.crossCheckVertical(d,b,2*c[1],p);if(!isNaN(C)){const A=(c[0]+c[1]+c[2])/3;for(const q of this.possibleCenters)if(q.aboutEquals(A,C,b))return q.combineEstimate(C,b,A);const N=new ua(b,C,A);this.possibleCenters.push(N),null!=this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(N)}return null}}class Ha extends Ct{constructor(c,d,h,p){super(c,d),this.estimatedModuleSize=h,this.count=p,void 0===p&&(this.count=1)}getEstimatedModuleSize(){return this.estimatedModuleSize}getCount(){return this.count}aboutEquals(c,d,h){if(Math.abs(d-this.getY())<=c&&Math.abs(h-this.getX())<=c){const p=Math.abs(c-this.estimatedModuleSize);return p<=1||p<=this.estimatedModuleSize}return!1}combineEstimate(c,d,h){const p=this.count+1,b=(this.count*this.getX()+d)/p,C=(this.count*this.getY()+c)/p;return new Ha(b,C,(this.count*this.estimatedModuleSize+h)/p,p)}}class Ir{constructor(c){this.bottomLeft=c[0],this.topLeft=c[1],this.topRight=c[2]}getBottomLeft(){return this.bottomLeft}getTopLeft(){return this.topLeft}getTopRight(){return this.topRight}}let Go=(()=>{class K{constructor(d,h){this.image=d,this.resultPointCallback=h,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=h}getImage(){return this.image}getPossibleCenters(){return this.possibleCenters}find(d){const h=null!=d&&void 0!==d.get(fe.TRY_HARDER),p=null!=d&&void 0!==d.get(fe.PURE_BARCODE),b=this.image,C=b.getHeight(),A=b.getWidth();let N=Math.floor(3*C/(4*K.MAX_MODULES));(Nhe[2]&&(je+=jt-he[2]-N,wt=A-1)}ct=0,he[0]=0,he[1]=0,he[2]=0,he[3]=0,he[4]=0}else he[0]=he[2],he[1]=he[3],he[2]=he[4],he[3]=1,he[4]=0,ct=3;else he[++ct]++;K.foundPatternCross(he)&&!0===this.handlePossibleCenter(he,je,A,p)&&(N=he[0],this.hasSkipped&&(q=this.haveMultiplyConfirmedCenters()))}const Te=this.selectBestPatterns();return Ct.orderBestPatterns(Te),new Ir(Te)}static centerFromEnd(d,h){return h-d[4]-d[3]-d[2]/2}static foundPatternCross(d){let h=0;for(let C=0;C<5;C++){const A=d[C];if(0===A)return!1;h+=A}if(h<7)return!1;const p=h/7,b=p/2;return Math.abs(p-d[0])=A&&h>=A&&N.get(h-A,d-A);)C[2]++,A++;if(d=A&&h>=A&&!N.get(h-A,d-A)&&C[1]<=p;)C[1]++,A++;if(dp)return!1;for(;d>=A&&h>=A&&N.get(h-A,d-A)&&C[0]<=p;)C[0]++,A++;if(C[0]>p)return!1;const q=N.getHeight(),he=N.getWidth();for(A=1;d+A=q||h+A>=he)return!1;for(;d+A=q||h+A>=he||C[3]>=p)return!1;for(;d+A=p)&&Math.abs(C[0]+C[1]+C[2]+C[3]+C[4]-b)<2*b&&K.foundPatternCross(C)}crossCheckVertical(d,h,p,b){const C=this.image,A=C.getHeight(),N=this.getCrossCheckStateCount();let q=d;for(;q>=0&&C.get(h,q);)N[2]++,q--;if(q<0)return NaN;for(;q>=0&&!C.get(h,q)&&N[1]<=p;)N[1]++,q--;if(q<0||N[1]>p)return NaN;for(;q>=0&&C.get(h,q)&&N[0]<=p;)N[0]++,q--;if(N[0]>p)return NaN;for(q=d+1;q=p)return NaN;for(;q=p||5*Math.abs(N[0]+N[1]+N[2]+N[3]+N[4]-b)>=2*b?NaN:K.foundPatternCross(N)?K.centerFromEnd(N,q):NaN}crossCheckHorizontal(d,h,p,b){const C=this.image,A=C.getWidth(),N=this.getCrossCheckStateCount();let q=d;for(;q>=0&&C.get(q,h);)N[2]++,q--;if(q<0)return NaN;for(;q>=0&&!C.get(q,h)&&N[1]<=p;)N[1]++,q--;if(q<0||N[1]>p)return NaN;for(;q>=0&&C.get(q,h)&&N[0]<=p;)N[0]++,q--;if(N[0]>p)return NaN;for(q=d+1;q=p)return NaN;for(;q=p||5*Math.abs(N[0]+N[1]+N[2]+N[3]+N[4]-b)>=b?NaN:K.foundPatternCross(N)?K.centerFromEnd(N,q):NaN}handlePossibleCenter(d,h,p,b){const C=d[0]+d[1]+d[2]+d[3]+d[4];let A=K.centerFromEnd(d,p),N=this.crossCheckVertical(h,Math.floor(A),d[2],C);if(!isNaN(N)&&(A=this.crossCheckHorizontal(Math.floor(A),Math.floor(N),d[2],C),!isNaN(A)&&(!b||this.crossCheckDiagonal(Math.floor(N),Math.floor(A),d[2],C)))){const q=C/7;let he=!1;const Te=this.possibleCenters;for(let je=0,ct=Te.length;je=K.CENTER_QUORUM){if(null!=h)return this.hasSkipped=!0,Math.floor((Math.abs(h.getX()-p.getX())-Math.abs(h.getY()-p.getY()))/2);h=p}return 0}haveMultiplyConfirmedCenters(){let d=0,h=0;const p=this.possibleCenters.length;for(const A of this.possibleCenters)A.getCount()>=K.CENTER_QUORUM&&(d++,h+=A.getEstimatedModuleSize());if(d<3)return!1;const b=h/p;let C=0;for(const A of this.possibleCenters)C+=Math.abs(A.getEstimatedModuleSize()-b);return C<=.05*h}selectBestPatterns(){const d=this.possibleCenters.length;if(d<3)throw new De;const h=this.possibleCenters;let p;if(d>3){let b=0,C=0;for(const q of this.possibleCenters){const he=q.getEstimatedModuleSize();b+=he,C+=he*he}p=b/d;let A=Math.sqrt(C/d-p*p);h.sort((q,he)=>{const Te=Math.abs(he.getEstimatedModuleSize()-p),je=Math.abs(q.getEstimatedModuleSize()-p);return Teje?1:0});const N=Math.max(.2*p,A);for(let q=0;q3;q++)Math.abs(h[q].getEstimatedModuleSize()-p)>N&&(h.splice(q,1),q--)}if(h.length>3){let b=0;for(const C of h)b+=C.getEstimatedModuleSize();p=b/h.length,h.sort((C,A)=>{if(A.getCount()===C.getCount()){const N=Math.abs(A.getEstimatedModuleSize()-p),q=Math.abs(C.getEstimatedModuleSize()-p);return Nq?-1:0}return A.getCount()-C.getCount()}),h.splice(3)}return[h[0],h[1],h[2]]}}return K.CENTER_QUORUM=2,K.MIN_SKIP=3,K.MAX_MODULES=57,K})();class Mr{constructor(c){this.image=c}getImage(){return this.image}getResultPointCallback(){return this.resultPointCallback}detect(c){this.resultPointCallback=null==c?null:c.get(fe.NEED_RESULT_POINT_CALLBACK);const h=new Go(this.image,this.resultPointCallback).find(c);return this.processFinderPatternInfo(h)}processFinderPatternInfo(c){const d=c.getTopLeft(),h=c.getTopRight(),p=c.getBottomLeft(),b=this.calculateModuleSize(d,h,p);if(b<1)throw new De("No pattern found in proccess finder.");const C=Mr.computeDimension(d,h,p,b),A=Ri.getProvisionalVersionForDimension(C),N=A.getDimensionForVersion()-7;let q=null;if(A.getAlignmentPatternCenters().length>0){const ct=h.getX()-d.getX()+p.getX(),wt=h.getY()-d.getY()+p.getY(),Mt=1-3/N,jt=Math.floor(d.getX()+Mt*(ct-d.getX())),qt=Math.floor(d.getY()+Mt*(wt-d.getY()));for(let wi=4;wi<=16;wi<<=1)try{q=this.findAlignmentInRegion(b,jt,qt,wi);break}catch(Ai){if(!(Ai instanceof De))throw Ai}}const he=Mr.createTransform(d,h,p,q,C),Te=Mr.sampleGrid(this.image,he,C);let je;return je=null===q?[p,d,h]:[p,d,h,q],new it(Te,je)}static createTransform(c,d,h,p,b){const C=b-3.5;let A,N,q,he;return null!==p?(A=p.getX(),N=p.getY(),q=C-3,he=q):(A=d.getX()-c.getX()+h.getX(),N=d.getY()-c.getY()+h.getY(),q=C,he=C),Tt.quadrilateralToQuadrilateral(3.5,3.5,C,3.5,q,he,3.5,C,c.getX(),c.getY(),d.getX(),d.getY(),A,N,h.getX(),h.getY())}static sampleGrid(c,d,h){return Ut.getInstance().sampleGridWithTransform(c,h,h,d)}static computeDimension(c,d,h,p){const b=ze.round(Ct.distance(c,d)/p),C=ze.round(Ct.distance(c,h)/p);let A=Math.floor((b+C)/2)+7;switch(3&A){case 0:A++;break;case 2:A--;break;case 3:throw new De("Dimensions could be not found.")}return A}calculateModuleSize(c,d,h){return(this.calculateModuleSizeOneWay(c,d)+this.calculateModuleSizeOneWay(c,h))/2}calculateModuleSizeOneWay(c,d){const h=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(c.getX()),Math.floor(c.getY()),Math.floor(d.getX()),Math.floor(d.getY())),p=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(d.getX()),Math.floor(d.getY()),Math.floor(c.getX()),Math.floor(c.getY()));return isNaN(h)?p/7:isNaN(p)?h/7:(h+p)/14}sizeOfBlackWhiteBlackRunBothWays(c,d,h,p){let b=this.sizeOfBlackWhiteBlackRun(c,d,h,p),C=1,A=c-(h-c);A<0?(C=c/(c-A),A=0):A>=this.image.getWidth()&&(C=(this.image.getWidth()-1-c)/(A-c),A=this.image.getWidth()-1);let N=Math.floor(d-(p-d)*C);return C=1,N<0?(C=d/(d-N),N=0):N>=this.image.getHeight()&&(C=(this.image.getHeight()-1-d)/(N-d),N=this.image.getHeight()-1),A=Math.floor(c+(A-c)*C),b+=this.sizeOfBlackWhiteBlackRun(c,d,A,N),b-1}sizeOfBlackWhiteBlackRun(c,d,h,p){const b=Math.abs(p-d)>Math.abs(h-c);if(b){let ct=c;c=d,d=ct,ct=h,h=p,p=ct}const C=Math.abs(h-c),A=Math.abs(p-d);let N=-C/2;const q=c0){if(wt===p)break;wt+=he,N-=C}}return 2===Te?ze.distance(h+q,p,c,d):NaN}findAlignmentInRegion(c,d,h,p){const b=Math.floor(p*c),C=Math.max(0,d-b),A=Math.min(this.image.getWidth()-1,d+b);if(A-C<3*c)throw new De("Alignment top exceeds estimated module size.");const N=Math.max(0,h-b),q=Math.min(this.image.getHeight()-1,h+b);if(q-N<3*c)throw new De("Alignment bottom exceeds estimated module size.");return new wr(this.image,C,N,A-C,q-N,c,this.resultPointCallback).find()}}class nr{constructor(){this.decoder=new Cs}getDecoder(){return this.decoder}decode(c,d){let h,p;if(null!=d&&void 0!==d.get(fe.PURE_BARCODE)){const N=nr.extractPureBits(c.getBlackMatrix());h=this.decoder.decodeBitMatrix(N,d),p=nr.NO_POINTS}else{const N=new Mr(c.getBlackMatrix()).detect(d);h=this.decoder.decodeBitMatrix(N.getBits(),d),p=N.getPoints()}h.getOther()instanceof Bo&&h.getOther().applyMirroredCorrection(p);const b=new Ze(h.getText(),h.getRawBytes(),void 0,p,lt.QR_CODE,void 0),C=h.getByteSegments();null!==C&&b.putMetadata($t.BYTE_SEGMENTS,C);const A=h.getECLevel();return null!==A&&b.putMetadata($t.ERROR_CORRECTION_LEVEL,A),h.hasStructuredAppend()&&(b.putMetadata($t.STRUCTURED_APPEND_SEQUENCE,h.getStructuredAppendSequenceNumber()),b.putMetadata($t.STRUCTURED_APPEND_PARITY,h.getStructuredAppendParity())),b}reset(){}static extractPureBits(c){const d=c.getTopLeftOnBit(),h=c.getBottomRightOnBit();if(null===d||null===h)throw new De;const p=this.moduleSize(d,c);let b=d[1],C=h[1],A=d[0],N=h[0];if(A>=N||b>=C)throw new De;if(C-b!=N-A&&(N=A+(C-b),N>=c.getWidth()))throw new De;const q=Math.round((N-A+1)/p),he=Math.round((C-b+1)/p);if(q<=0||he<=0)throw new De;if(he!==q)throw new De;const Te=Math.floor(p/2);b+=Te,A+=Te;const je=A+Math.floor((q-1)*p)-N;if(je>0){if(je>Te)throw new De;A-=je}const ct=b+Math.floor((he-1)*p)-C;if(ct>0){if(ct>Te)throw new De;b-=ct}const wt=new ae(q,he);for(let Mt=0;Mt0;){const je=nn.findGuardPattern(c,b,--p,h,!1,C,q);if(null==je){p++;break}Te=je}A[0]=new Ct(Te[0],p),A[1]=new Ct(Te[1],p),N=!0;break}}let he=p+1;if(N){let Te=0,je=Int32Array.from([Math.trunc(A[0].getX()),Math.trunc(A[1].getX())]);for(;henn.SKIPPED_ROW_COUNT_MAX)break;Te++}}he-=Te+1,A[2]=new Ct(je[0],he),A[3]=new Ct(je[1],he)}return he-p0&&q++Te?he-Te:Te-he;if(je>h)return 1/0;N+=je}return N/b}}nn.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),nn.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),nn.MAX_AVG_VARIANCE=.42,nn.MAX_INDIVIDUAL_VARIANCE=.8,nn.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),nn.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),nn.MAX_PIXEL_DRIFT=3,nn.MAX_PATTERN_DRIFT=5,nn.SKIPPED_ROW_COUNT_MAX=25,nn.ROW_STEP=5,nn.BARCODE_MIN_HEIGHT=10;class Rn{constructor(c,d){if(0===d.length)throw new D;this.field=c;let h=d.length;if(h>1&&0===d[0]){let p=1;for(;ph.length){let C=d;d=h,h=C}let p=new Int32Array(h.length),b=h.length-d.length;L.arraycopy(h,0,p,0,b);for(let C=b;C=0;d--){let h=this.getCoefficient(d);0!==h&&(h<0?(c.append(" - "),h=-h):c.length()>0&&c.append(" + "),(0===d||1!==h)&&c.append(h),0!==d&&(1===d?c.append("x"):(c.append("x^"),c.append(d))))}return c.toString()}}class ha{add(c,d){return(c+d)%this.modulus}subtract(c,d){return(this.modulus+c-d)%this.modulus}exp(c){return this.expTable[c]}log(c){if(0===c)throw new D;return this.logTable[c]}inverse(c){if(0===c)throw new Jt;return this.expTable[this.modulus-this.logTable[c]-1]}multiply(c,d){return 0===c||0===d?0:this.expTable[(this.logTable[c]+this.logTable[d])%(this.modulus-1)]}getSize(){return this.modulus}equals(c){return c===this}}class To extends ha{constructor(c,d){super(),this.modulus=c,this.expTable=new Int32Array(c),this.logTable=new Int32Array(c);let h=1;for(let p=0;p0;wt--){let Mt=p.evaluateAt(this.field.exp(wt));b[d-wt]=Mt,0!==Mt&&(C=!0)}if(!C)return 0;let A=this.field.getOne();if(null!=h)for(const wt of h){let Mt=this.field.exp(c.length-1-wt),jt=new Rn(this.field,new Int32Array([this.field.subtract(0,Mt),1]));A=A.multiply(jt)}let N=new Rn(this.field,b),q=this.runEuclideanAlgorithm(this.field.buildMonomial(d,1),N,d),he=q[0],Te=q[1],je=this.findErrorLocations(he),ct=this.findErrorMagnitudes(Te,he,je);for(let wt=0;wt=Math.round(h/2);){let je=p,ct=C;if(p=b,C=A,p.isZero())throw U.getChecksumInstance();b=je;let wt=this.field.getZero(),Mt=p.getCoefficient(p.getDegree()),jt=this.field.inverse(Mt);for(;b.getDegree()>=p.getDegree()&&!b.isZero();){let qt=b.getDegree()-p.getDegree(),wi=this.field.multiply(b.getCoefficient(b.getDegree()),jt);wt=wt.add(this.field.buildMonomial(qt,wi)),b=b.subtract(p.multiplyByMonomial(qt,wi))}A=wt.multiply(C).subtract(ct).negative()}let N=A.getCoefficient(0);if(0===N)throw U.getChecksumInstance();let q=this.field.inverse(N);return[A.multiply(q),b.multiply(q)]}findErrorLocations(c){let d=c.getDegree(),h=new Int32Array(d),p=0;for(let b=1;b0){let N=h?this.topLeft:this.topRight,q=Math.trunc(N.getY()-c);q<0&&(q=0);let he=new Ct(N.getX(),q);h?p=he:C=he}if(d>0){let N=h?this.bottomLeft:this.bottomRight,q=Math.trunc(N.getY()+d);q>=this.image.getHeight()&&(q=this.image.getHeight()-1);let he=new Ct(N.getX(),q);h?b=he:A=he}return new Ta(this.image,p,b,C,A)}getMinX(){return this.minX}getMaxX(){return this.maxX}getMinY(){return this.minY}getMaxY(){return this.maxY}getTopLeft(){return this.topLeft}getTopRight(){return this.topRight}getBottomLeft(){return this.bottomLeft}getBottomRight(){return this.bottomRight}}class oo{constructor(c,d,h,p){this.columnCount=c,this.errorCorrectionLevel=p,this.rowCountUpperPart=d,this.rowCountLowerPart=h,this.rowCount=d+h}getColumnCount(){return this.columnCount}getErrorCorrectionLevel(){return this.errorCorrectionLevel}getRowCount(){return this.rowCount}getRowCountUpperPart(){return this.rowCountUpperPart}getRowCountLowerPart(){return this.rowCountLowerPart}}class go{constructor(){this.buffer=""}static form(c,d){let h=-1;return c.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,function p(C,A,N,q,he,Te){if("%%"===C)return"%";if(void 0===d[++h])return;C=q?parseInt(q.substr(1)):void 0;let ct,je=he?parseInt(he.substr(1)):void 0;switch(Te){case"s":ct=d[h];break;case"c":ct=d[h][0];break;case"f":ct=parseFloat(d[h]).toFixed(C);break;case"p":ct=parseFloat(d[h]).toPrecision(C);break;case"e":ct=parseFloat(d[h]).toExponential(C);break;case"x":ct=parseInt(d[h]).toString(je||16);break;case"d":ct=parseFloat(parseInt(d[h],je||10).toPrecision(C)).toFixed(0)}ct="object"==typeof ct?JSON.stringify(ct):(+ct).toString(je);let wt=parseInt(N),Mt=N&&N[0]+""=="0"?"0":" ";for(;ct.length{class K{constructor(d){this.boundingBox=new Ta(d),this.codewords=new Array(d.getMaxY()-d.getMinY()+1)}getCodewordNearby(d){let h=this.getCodeword(d);if(null!=h)return h;for(let p=1;p=0&&(h=this.codewords[b],null!=h)||(b=this.imageRowToCodewordIndex(d)+p,bh,getValue:()=>p};b.getValue()>c?(c=b.getValue(),d=[],d.push(b.getKey())):b.getValue()===c&&d.push(b.getKey())}return qi.toIntArray(d)}getConfidence(c){return this.values.get(c)}}class Qa extends us{constructor(c,d){super(c),this._isLeft=d}setRowNumbers(){for(let c of this.getCodewords())c?.setRowNumberAsRowIndicatorColumn()}adjustCompleteIndicatorColumnRowNumbers(c){let d=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(d,c);let h=this.getBoundingBox(),p=this._isLeft?h.getTopLeft():h.getTopRight(),b=this._isLeft?h.getBottomLeft():h.getBottomRight(),C=this.imageRowToCodewordIndex(Math.trunc(p.getY())),A=this.imageRowToCodewordIndex(Math.trunc(b.getY())),N=-1,q=1,he=0;for(let Te=C;Te=c.getRowCount()||ct>Te)d[Te]=null;else{let wt;wt=q>2?(q-2)*ct:ct;let Mt=wt>=Te;for(let jt=1;jt<=wt&&!Mt;jt++)Mt=null!=d[Te-jt];Mt?d[Te]=null:(N=je.getRowNumber(),he=1)}}}getRowHeights(){let c=this.getBarcodeMetadata();if(null==c)return null;this.adjustIncompleteIndicatorColumnRowNumbers(c);let d=new Int32Array(c.getRowCount());for(let h of this.getCodewords())if(null!=h){let p=h.getRowNumber();if(p>=d.length)continue;d[p]++}return d}adjustIncompleteIndicatorColumnRowNumbers(c){let d=this.getBoundingBox(),h=this._isLeft?d.getTopLeft():d.getTopRight(),p=this._isLeft?d.getBottomLeft():d.getBottomRight(),b=this.imageRowToCodewordIndex(Math.trunc(h.getY())),C=this.imageRowToCodewordIndex(Math.trunc(p.getY())),A=this.getCodewords(),N=-1;for(let q=b;q=c.getRowCount()?A[q]=null:N=he.getRowNumber())}}getBarcodeMetadata(){let c=this.getCodewords(),d=new so,h=new so,p=new so,b=new so;for(let A of c){if(null==A)continue;A.setRowNumberAsRowIndicatorColumn();let N=A.getValue()%30,q=A.getRowNumber();switch(this._isLeft||(q+=2),q%3){case 0:h.setValue(3*N+1);break;case 1:b.setValue(N/3),p.setValue(N%3);break;case 2:d.setValue(N+1)}}if(0===d.getValue().length||0===h.getValue().length||0===p.getValue().length||0===b.getValue().length||d.getValue()[0]<1||h.getValue()[0]+p.getValue()[0]qi.MAX_ROWS_IN_BARCODE)return null;let C=new oo(d.getValue()[0],h.getValue()[0],p.getValue()[0],b.getValue()[0]);return this.removeIncorrectCodewords(c,C),C}removeIncorrectCodewords(c,d){for(let h=0;hd.getRowCount())c[h]=null;else switch(this._isLeft||(C+=2),C%3){case 0:3*b+1!==d.getRowCountUpperPart()&&(c[h]=null);break;case 1:(Math.trunc(b/3)!==d.getErrorCorrectionLevel()||b%3!==d.getRowCountLowerPart())&&(c[h]=null);break;case 2:b+1!==d.getColumnCount()&&(c[h]=null)}}}isLeft(){return this._isLeft}toString(){return"IsLeft: "+this._isLeft+"\n"+super.toString()}}class _o{constructor(c,d){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=c,this.barcodeColumnCount=c.getColumnCount(),this.boundingBox=d,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}getDetectionResultColumns(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);let d,c=qi.MAX_CODEWORDS_IN_BARCODE;do{d=c,c=this.adjustRowNumbersAndGetCount()}while(c>0&&c0&&b0&&(A[0]=h[d-1],A[4]=b[d-1],A[5]=C[d-1]),d>1&&(A[8]=h[d-2],A[10]=b[d-2],A[11]=C[d-2]),d{class K{constructor(d,h,p,b){this.rowNumber=K.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(d),this.endX=Math.trunc(h),this.bucket=Math.trunc(p),this.value=Math.trunc(b)}hasValidRowNumber(){return this.isValidRowNumber(this.rowNumber)}isValidRowNumber(d){return d!==K.BARCODE_ROW_UNKNOWN&&this.bucket===d%3*3}setRowNumberAsRowIndicatorColumn(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))}getWidth(){return this.endX-this.startX}getStartX(){return this.startX}getEndX(){return this.endX}getBucket(){return this.bucket}getValue(){return this.value}getRowNumber(){return this.rowNumber}setRowNumber(d){this.rowNumber=d}toString(){return this.rowNumber+"|"+this.value}}return K.BARCODE_ROW_UNKNOWN=-1,K})();class gr{static initialize(){for(let c=0;c>=1;h=1&d,gr.RATIOS_TABLE[c]||(gr.RATIOS_TABLE[c]=new Array(qi.BARS_IN_MODULE)),gr.RATIOS_TABLE[c][qi.BARS_IN_MODULE-p-1]=Math.fround(b/qi.MODULES_IN_CODEWORD)}}this.bSymbolTableReady=!0}static getDecodedValue(c){let d=gr.getDecodedCodewordValue(gr.sampleBitCounts(c));return-1!==d?d:gr.getClosestDecodedValue(c)}static sampleBitCounts(c){let d=ze.sum(c),h=new Int32Array(qi.BARS_IN_MODULE),p=0,b=0;for(let C=0;C1)for(let C=0;C=p)break}Anew Array(qi.BARS_IN_MODULE));class So{constructor(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}getSegmentIndex(){return this.segmentIndex}setSegmentIndex(c){this.segmentIndex=c}getFileId(){return this.fileId}setFileId(c){this.fileId=c}getOptionalData(){return this.optionalData}setOptionalData(c){this.optionalData=c}isLastSegment(){return this.lastSegment}setLastSegment(c){this.lastSegment=c}getSegmentCount(){return this.segmentCount}setSegmentCount(c){this.segmentCount=c}getSender(){return this.sender||null}setSender(c){this.sender=c}getAddressee(){return this.addressee||null}setAddressee(c){this.addressee=c}getFileName(){return this.fileName}setFileName(c){this.fileName=c}getFileSize(){return this.fileSize}setFileSize(c){this.fileSize=c}getChecksum(){return this.checksum}setChecksum(c){this.checksum=c}getTimestamp(){return this.timestamp}setTimestamp(c){this.timestamp=c}}class Ua{static parseLong(c,d){return parseInt(c,d)}}let Qr=(()=>{class K extends F{}return K.kind="NullPointerException",K})();class Sa{writeBytes(c){this.writeBytesOffset(c,0,c.length)}writeBytesOffset(c,d,h){if(null==c)throw new Qr;if(d<0||d>c.length||h<0||d+h>c.length||d+h<0)throw new J;if(0!==h)for(let p=0;p0&&this.grow(c)}grow(c){let h=this.buf.length<<1;if(h-c<0&&(h=c),h<0){if(c<0)throw new bo;h=V.MAX_VALUE}this.buf=ne.copyOfUint8Array(this.buf,h)}write(c){this.ensureCapacity(this.count+1),this.buf[this.count]=c,this.count+=1}writeBytesOffset(c,d,h){if(d<0||d>c.length||h<0||d+h-c.length>0)throw new J;this.ensureCapacity(this.count+h),L.arraycopy(c,d,this.buf,this.count,h),this.count+=h}writeTo(c){c.writeBytesOffset(this.buf,0,this.count)}reset(){this.count=0}toByteArray(){return ne.copyOfUint8Array(this.buf,this.count)}size(){return this.count}toString(c){return c?"string"==typeof c?this.toString_string(c):this.toString_number(c):this.toString_void()}toString_void(){return new String(this.buf).toString()}toString_string(c){return new String(this.buf).toString()}toString_number(c){return new String(this.buf).toString()}close(){}}var an=(()=>{return(K=an||(an={}))[K.ALPHA=0]="ALPHA",K[K.LOWER=1]="LOWER",K[K.MIXED=2]="MIXED",K[K.PUNCT=3]="PUNCT",K[K.ALPHA_SHIFT=4]="ALPHA_SHIFT",K[K.PUNCT_SHIFT=5]="PUNCT_SHIFT",an;var K})();function Ur(){if(typeof window<"u")return window.BigInt||null;if(typeof global<"u")return global.BigInt||null;if(typeof self<"u")return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}let _r;function Or(K){if(typeof _r>"u"&&(_r=Ur()),null===_r)throw new Error("BigInt is not supported!");return _r(K)}class Kt{static decode(c,d){let h=new pe(""),p=X.ISO8859_1;h.enableDecoding(p);let b=1,C=c[b++],A=new So;for(;bc[0])throw $.getFormatInstance();let p=new Int32Array(Kt.NUMBER_OF_SEQUENCE_CODEWORDS);for(let A=0;A0){for(let je=0;je<6;++je)C.write(Number(Or(N)>>Or(8*(5-je))));N=0,A=0}}p===d[0]&&Te0){for(let ct=0;ct<6;++ct)C.write(Number(Or(N)>>Or(8*(5-ct))));N=0,A=0}}}return b.append(te.decode(C.toByteArray(),h)),p}static numericCompaction(c,d,h){let p=0,b=!1,C=new Int32Array(Kt.MAX_NUMERIC_CODEWORDS);for(;d0&&(h.append(Kt.decodeBase900toBase10(C,p)),p=0)}return d}static decodeBase900toBase10(c,d){let h=Or(0);for(let b=0;b@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",Kt.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",Kt.EXP900=Ur()?function Wo(){let K=[];K[0]=Or(1);let c=Or(900);K[1]=c;for(let d=2;d<16;d++)K[d]=K[d-1]*c;return K}():[],Kt.NUMBER_OF_SEQUENCE_CODEWORDS=2;class _n{constructor(){}static decode(c,d,h,p,b,C,A){let Te,N=new Ta(c,d,h,p,b),q=null,he=null;for(let wt=!0;;wt=!1){if(null!=d&&(q=_n.getRowIndicatorColumn(c,N,d,!0,C,A)),null!=p&&(he=_n.getRowIndicatorColumn(c,N,p,!1,C,A)),Te=_n.merge(q,he),null==Te)throw De.getNotFoundInstance();let Mt=Te.getBoundingBox();if(!wt||null==Mt||!(Mt.getMinY()N.getMaxY()))break;N=Mt}Te.setBoundingBox(N);let je=Te.getBarcodeColumnCount()+1;Te.setDetectionResultColumn(0,q),Te.setDetectionResultColumn(je,he);let ct=null!=q;for(let wt=1;wt<=je;wt++){let jt,Mt=ct?wt:je-wt;if(void 0!==Te.getDetectionResultColumn(Mt))continue;jt=0===Mt||Mt===je?new Qa(N,0===Mt):new us(N),Te.setDetectionResultColumn(Mt,jt);let qt=-1,wi=qt;for(let Ai=N.getMinY();Ai<=N.getMaxY();Ai++){if(qt=_n.getStartColumn(Te,Mt,Ai,ct),qt<0||qt>N.getMaxX()){if(-1===wi)continue;qt=wi}let ri=_n.detectCodeword(c,N.getMinX(),N.getMaxX(),ct,qt,Ai,C,A);null!=ri&&(jt.setCodeword(Ai,ri),wi=qt,C=Math.min(C,ri.getWidth()),A=Math.max(A,ri.getWidth()))}}return _n.createDecoderResult(Te)}static merge(c,d){if(null==c&&null==d)return null;let h=_n.getBarcodeMetadata(c,d);if(null==h)return null;let p=Ta.merge(_n.adjustBoundingBox(c),_n.adjustBoundingBox(d));return new _o(h,p)}static adjustBoundingBox(c){if(null==c)return null;let d=c.getRowHeights();if(null==d)return null;let h=_n.getMax(d),p=0;for(let A of d)if(p+=h-A,A>0)break;let b=c.getCodewords();for(let A=0;p>0&&null==b[A];A++)p--;let C=0;for(let A=d.length-1;A>=0&&(C+=h-d[A],!(d[A]>0));A--);for(let A=b.length-1;C>0&&null==b[A];A--)C--;return c.getBoundingBox().addMissingRows(p,C,c.isLeft())}static getMax(c){let d=-1;for(let h of c)d=Math.max(d,h);return d}static getBarcodeMetadata(c,d){let h,p;return null==c||null==(h=c.getBarcodeMetadata())?null==d?null:d.getBarcodeMetadata():null==d||null==(p=d.getBarcodeMetadata())?h:h.getColumnCount()!==p.getColumnCount()&&h.getErrorCorrectionLevel()!==p.getErrorCorrectionLevel()&&h.getRowCount()!==p.getRowCount()?null:h}static getRowIndicatorColumn(c,d,h,p,b,C){let A=new Qa(d,p);for(let N=0;N<2;N++){let q=0===N?1:-1,he=Math.trunc(Math.trunc(h.getX()));for(let Te=Math.trunc(Math.trunc(h.getY()));Te<=d.getMaxY()&&Te>=d.getMinY();Te+=q){let je=_n.detectCodeword(c,0,c.getWidth(),p,he,Te,b,C);null!=je&&(A.setCodeword(Te,je),he=p?je.getStartX():je.getEndX())}}return A}static adjustCodewordCount(c,d){let h=d[0][1],p=h.getValue(),b=c.getBarcodeColumnCount()*c.getBarcodeRowCount()-_n.getNumberOfECCodeWords(c.getBarcodeECLevel());if(0===p.length){if(b<1||b>qi.MAX_CODEWORDS_IN_BARCODE)throw De.getNotFoundInstance();h.setValue(b)}else p[0]!==b&&h.setValue(b)}static createDecoderResult(c){let d=_n.createBarcodeMatrix(c);_n.adjustCodewordCount(c,d);let h=new Array,p=new Int32Array(c.getBarcodeRowCount()*c.getBarcodeColumnCount()),b=[],C=new Array;for(let N=0;N0;){for(let N=0;Nnew Array(c.getBarcodeColumnCount()+2));for(let p=0;p=0){if(C>=d.length)continue;d[C][h].setValue(b.getValue())}}h++}return d}static isValidBarcodeColumn(c,d){return d>=0&&d<=c.getBarcodeColumnCount()+1}static getStartColumn(c,d,h,p){let b=p?1:-1,C=null;if(_n.isValidBarcodeColumn(c,d-b)&&(C=c.getDetectionResultColumn(d-b).getCodeword(h)),null!=C)return p?C.getEndX():C.getStartX();if(C=c.getDetectionResultColumn(d).getCodewordNearby(h),null!=C)return p?C.getStartX():C.getEndX();if(_n.isValidBarcodeColumn(c,d-b)&&(C=c.getDetectionResultColumn(d-b).getCodewordNearby(h)),null!=C)return p?C.getEndX():C.getStartX();let A=0;for(;_n.isValidBarcodeColumn(c,d-b);){d-=b;for(let N of c.getDetectionResultColumn(d).getCodewords())if(null!=N)return(p?N.getEndX():N.getStartX())+b*A*(N.getEndX()-N.getStartX());A++}return p?c.getBoundingBox().getMinX():c.getBoundingBox().getMaxX()}static detectCodeword(c,d,h,p,b,C,A,N){b=_n.adjustCodewordStartColumn(c,d,h,p,b,C);let q=_n.getModuleBitCount(c,d,h,p,b,C);if(null==q)return null;let he,Te=ze.sum(q);if(p)he=b+Te;else{for(let wt=0;wt=d)&&q=d:A_n.CODEWORD_SKEW_SIZE)return b;A+=N}N=-N,p=!p}return A}static checkCodewordSkew(c,d,h){return d-_n.CODEWORD_SKEW_SIZE<=c&&c<=h+_n.CODEWORD_SKEW_SIZE}static decodeCodewords(c,d,h){if(0===c.length)throw $.getFormatInstance();let p=1<h/2+_n.MAX_ERRORS||h<0||h>_n.MAX_EC_CODEWORDS)throw U.getChecksumInstance();return _n.errorCorrection.decode(c,h,d)}static verifyCodewordCount(c,d){if(c.length<4)throw $.getFormatInstance();let h=c[0];if(h>c.length)throw $.getFormatInstance();if(0===h){if(!(d>=1;return d}static getCodewordBucketNumber(c){return c instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(c):this.getCodewordBucketNumber_number(c)}static getCodewordBucketNumber_number(c){return _n.getCodewordBucketNumber(_n.getBitCountForCodeword(c))}static getCodewordBucketNumber_Int32Array(c){return(c[0]-c[2]+c[4]-c[6]+9)%9}static toString(c){let d=new go;for(let h=0;hC)}static getMaxWidth(c,d){return null==c||null==d?0:Math.trunc(Math.abs(c.getX()-d.getX()))}static getMinWidth(c,d){return null==c||null==d?V.MAX_VALUE:Math.trunc(Math.abs(c.getX()-d.getX()))}static getMaxCodewordWidth(c){return Math.floor(Math.max(Math.max(hr.getMaxWidth(c[0],c[4]),hr.getMaxWidth(c[6],c[2])*qi.MODULES_IN_CODEWORD/qi.MODULES_IN_STOP_PATTERN),Math.max(hr.getMaxWidth(c[1],c[5]),hr.getMaxWidth(c[7],c[3])*qi.MODULES_IN_CODEWORD/qi.MODULES_IN_STOP_PATTERN)))}static getMinCodewordWidth(c){return Math.floor(Math.min(Math.min(hr.getMinWidth(c[0],c[4]),hr.getMinWidth(c[6],c[2])*qi.MODULES_IN_CODEWORD/qi.MODULES_IN_STOP_PATTERN),Math.min(hr.getMinWidth(c[1],c[5]),hr.getMinWidth(c[7],c[3])*qi.MODULES_IN_CODEWORD/qi.MODULES_IN_STOP_PATTERN)))}reset(){}}let _a=(()=>{class K extends F{}return K.kind="ReaderException",K})();class Io{constructor(c,d){this.verbose=!0===c,d&&this.setHints(d)}decode(c,d){return d&&this.setHints(d),this.decodeInternal(c)}decodeWithState(c){return null==this.readers&&this.setHints(null),this.decodeInternal(c)}setHints(c){this.hints=c;const d=!f(c)&&!0===c.get(fe.TRY_HARDER),h=f(c)?null:c.get(fe.POSSIBLE_FORMATS),p=new Array;if(!f(h)){const b=h.some(C=>C===lt.UPC_A||C===lt.UPC_E||C===lt.EAN_13||C===lt.EAN_8||C===lt.CODABAR||C===lt.CODE_39||C===lt.CODE_93||C===lt.CODE_128||C===lt.ITF||C===lt.RSS_14||C===lt.RSS_EXPANDED);b&&!d&&p.push(new tr(c,this.verbose)),h.includes(lt.QR_CODE)&&p.push(new nr),h.includes(lt.DATA_MATRIX)&&p.push(new Zi),h.includes(lt.AZTEC)&&p.push(new vi),h.includes(lt.PDF_417)&&p.push(new hr),b&&d&&p.push(new tr(c,this.verbose))}0===p.length&&(d||p.push(new tr(c,this.verbose)),p.push(new nr),p.push(new Zi),p.push(new vi),p.push(new hr),d&&p.push(new tr(c,this.verbose))),this.readers=p}reset(){if(null!==this.readers)for(const c of this.readers)c.reset()}decodeInternal(c){if(null===this.readers)throw new _a("No readers where selected, nothing can be read.");for(const d of this.readers)try{return d.decode(c,this.hints)}catch(h){if(h instanceof _a)continue}throw new De("No MultiFormat Readers were able to detect the code.")}}var ba=(()=>{return(K=ba||(ba={}))[K.ERROR_CORRECTION=0]="ERROR_CORRECTION",K[K.CHARACTER_SET=1]="CHARACTER_SET",K[K.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",K[K.MIN_SIZE=3]="MIN_SIZE",K[K.MAX_SIZE=4]="MAX_SIZE",K[K.MARGIN=5]="MARGIN",K[K.PDF417_COMPACT=6]="PDF417_COMPACT",K[K.PDF417_COMPACTION=7]="PDF417_COMPACTION",K[K.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",K[K.AZTEC_LAYERS=9]="AZTEC_LAYERS",K[K.QR_VERSION=10]="QR_VERSION",ba;var K})(),Gn=ba;class Nr{constructor(c){this.field=c,this.cachedGenerators=[],this.cachedGenerators.push(new st(c,Int32Array.from([1])))}buildGenerator(c){const d=this.cachedGenerators;if(c>=d.length){let h=d[d.length-1];const p=this.field;for(let b=d.length;b<=c;b++){const C=h.multiply(new st(p,Int32Array.from([1,p.exp(b-1+p.getGeneratorBase())])));d.push(C),h=C}}return d[c]}encode(c,d){if(0===d)throw new D("No error correction bytes");const h=c.length-d;if(h<=0)throw new D("No data bytes provided");const p=this.buildGenerator(d),b=new Int32Array(h);L.arraycopy(c,0,b,0,h);let C=new st(this.field,b);C=C.multiplyByMonomial(d,1);const N=C.divide(p)[1].getCoefficients(),q=d-N.length;for(let he=0;he{class K{constructor(){}static applyMaskPenaltyRule1(d){return K.applyMaskPenaltyRule1Internal(d,!0)+K.applyMaskPenaltyRule1Internal(d,!1)}static applyMaskPenaltyRule2(d){let h=0;const p=d.getArray(),b=d.getWidth(),C=d.getHeight();for(let A=0;A=5&&(p+=K.N1+(q-5)),q=1,he=je)}q>=5&&(p+=K.N1+(q-5))}return p}}return K.N1=3,K.N2=3,K.N3=40,K.N4=10,K})();class En{constructor(c,d){this.width=c,this.height=d;const h=new Array(d);for(let p=0;p!==d;p++)h[p]=new Uint8Array(c);this.bytes=h}getHeight(){return this.height}getWidth(){return this.width}get(c,d){return this.bytes[d][c]}getArray(){return this.bytes}setNumber(c,d,h){this.bytes[d][c]=h}setBoolean(c,d,h){this.bytes[d][c]=h?1:0}clear(c){for(const d of this.bytes)ne.fill(d,c)}equals(c){if(!(c instanceof En))return!1;const d=c;if(this.width!==d.width||this.height!==d.height)return!1;for(let h=0,p=this.height;h{class K{constructor(){this.maskPattern=-1}getMode(){return this.mode}getECLevel(){return this.ecLevel}getVersion(){return this.version}getMaskPattern(){return this.maskPattern}getMatrix(){return this.matrix}toString(){const d=new pe;return d.append("<<\n"),d.append(" mode: "),d.append(this.mode?this.mode.toString():"null"),d.append("\n ecLevel: "),d.append(this.ecLevel?this.ecLevel.toString():"null"),d.append("\n version: "),d.append(this.version?this.version.toString():"null"),d.append("\n maskPattern: "),d.append(this.maskPattern.toString()),this.matrix?(d.append("\n matrix:\n"),d.append(this.matrix.toString())):d.append("\n matrix: null\n"),d.append(">>\n"),d.toString()}setMode(d){this.mode=d}setECLevel(d){this.ecLevel=d}setVersion(d){this.version=d}setMaskPattern(d){this.maskPattern=d}setMatrix(d){this.matrix=d}static isValidMaskPattern(d){return d>=0&&d{class K extends F{}return K.kind="WriterException",K})();class Pi{constructor(){}static clearMatrix(c){c.clear(255)}static buildMatrix(c,d,h,p,b){Pi.clearMatrix(b),Pi.embedBasicPatterns(h,b),Pi.embedTypeInfo(d,p,b),Pi.maybeEmbedVersionInfo(h,b),Pi.embedDataBits(c,p,b)}static embedBasicPatterns(c,d){Pi.embedPositionDetectionPatternsAndSeparators(d),Pi.embedDarkDotAtLeftBottomCorner(d),Pi.maybeEmbedPositionAdjustmentPatterns(c,d),Pi.embedTimingPatterns(d)}static embedTypeInfo(c,d,h){const p=new W;Pi.makeTypeInfoBits(c,d,p);for(let b=0,C=p.getSize();b0;){for(6===C&&(C-=1);A>=0&&A=h;)c^=d<=0)for(let N=0;N!==C;N++){const q=p[N];q>=0&&Pi.isEmpty(d.get(q,A))&&Pi.embedPositionAdjustmentPattern(q-2,A-2,d)}}}}Pi.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),Pi.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),Pi.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),Pi.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),Pi.VERSION_INFO_POLY=7973,Pi.TYPE_INFO_POLY=1335,Pi.TYPE_INFO_MASK_PATTERN=21522;class qo{constructor(c,d){this.dataBytes=c,this.errorCorrectionBytes=d}getDataBytes(){return this.dataBytes}getErrorCorrectionBytes(){return this.errorCorrectionBytes}}class Jn{constructor(){}static calculateMaskPenalty(c){return Ka.applyMaskPenaltyRule1(c)+Ka.applyMaskPenaltyRule2(c)+Ka.applyMaskPenaltyRule3(c)+Ka.applyMaskPenaltyRule4(c)}static encode(c,d,h=null){let p=Jn.DEFAULT_BYTE_MODE_ENCODING;const b=null!==h&&void 0!==h.get(Gn.CHARACTER_SET);b&&(p=h.get(Gn.CHARACTER_SET).toString());const C=this.chooseMode(c,p),A=new W;if(C===Ei.BYTE&&(b||Jn.DEFAULT_BYTE_MODE_ENCODING!==p)){const Ai=X.getCharacterSetECIByName(p);void 0!==Ai&&this.appendECI(Ai,A)}this.appendModeInfo(C,A);const N=new W;let q;if(this.appendBytes(c,C,N,p),null!==h&&void 0!==h.get(Gn.QR_VERSION)){const Ai=Number.parseInt(h.get(Gn.QR_VERSION).toString(),10);q=Ri.getVersionForNumber(Ai);const ri=this.calculateBitsNeeded(C,A,N,q);if(!this.willFit(ri,q,d))throw new An("Data too big for requested version")}else q=this.recommendVersion(d,C,A,N);const he=new W;he.appendBitArray(A);const Te=C===Ei.BYTE?N.getSizeInBytes():c.length;this.appendLengthInfo(Te,q,C,he),he.appendBitArray(N);const je=q.getECBlocksForLevel(d),ct=q.getTotalCodewords()-je.getTotalECCodewords();this.terminateBits(ct,he);const wt=this.interleaveWithECBytes(he,q.getTotalCodewords(),ct,je.getNumBlocks()),Mt=new na;Mt.setECLevel(d),Mt.setMode(C),Mt.setVersion(q);const jt=q.getDimensionForVersion(),qt=new En(jt,jt),wi=this.chooseMaskPattern(wt,d,q,qt);return Mt.setMaskPattern(wi),Pi.buildMatrix(wt,d,q,wi,qt),Mt.setMatrix(qt),Mt}static recommendVersion(c,d,h,p){const b=this.calculateBitsNeeded(d,h,p,Ri.getVersionForNumber(1)),C=this.chooseVersion(b,c),A=this.calculateBitsNeeded(d,h,p,C);return this.chooseVersion(A,c)}static calculateBitsNeeded(c,d,h,p){return d.getSize()+c.getCharacterCountBits(p)+h.getSize()}static getAlphanumericCode(c){return c159)&&(b<224||b>235))return!1}return!0}static chooseMaskPattern(c,d,h,p){let b=Number.MAX_SAFE_INTEGER,C=-1;for(let A=0;A=(c+7)/8}static terminateBits(c,d){const h=8*c;if(d.getSize()>h)throw new An("data bits cannot fit in the QR Code"+d.getSize()+" > "+h);for(let C=0;C<4&&d.getSize()0)for(let C=p;C<8;C++)d.appendBit(!1);const b=c-d.getSizeInBytes();for(let C=0;C=h)throw new An("Block ID too large");const A=c%h,N=h-A,q=Math.floor(c/h),he=q+1,Te=Math.floor(d/h),je=Te+1,ct=q-Te,wt=he-je;if(ct!==wt)throw new An("EC bytes mismatch");if(h!==N+A)throw new An("RS blocks mismatch");if(c!==(Te+ct)*N+(je+wt)*A)throw new An("Total bytes mismatch");p=1<=0&&d<=9}static appendNumericBytes(c,d){const h=c.length;let p=0;for(;p=33088&&N<=40956?q=N-33088:N>=57408&&N<=60351&&(q=N-49472),-1===q)throw new An("Invalid byte sequence");d.appendBits(192*(q>>8)+(255&q),13)}}static appendECI(c,d){d.appendBits(Ei.ECI.getBits(),4),d.appendBits(c.getValue(),8)}}Jn.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),Jn.DEFAULT_BYTE_MODE_ENCODING=X.UTF8.getName();let mr=(()=>{class K{write(d,h,p,b=null){if(0===d.length)throw new D("Found empty contents");if(h<0||p<0)throw new D("Requested dimensions are too small: "+h+"x"+p);let C=zi.L,A=K.QUIET_ZONE_SIZE;null!==b&&(void 0!==b.get(Gn.ERROR_CORRECTION)&&(C=zi.fromString(b.get(Gn.ERROR_CORRECTION).toString())),void 0!==b.get(Gn.MARGIN)&&(A=Number.parseInt(b.get(Gn.MARGIN).toString(),10)));const N=Jn.encode(d,C,b);return this.renderResult(N,h,p,A)}writeToDom(d,h,p,b,C=null){"string"==typeof d&&(d=document.querySelector(d));const A=this.write(h,p,b,C);d&&d.appendChild(A)}renderResult(d,h,p,b){const C=d.getMatrix();if(null===C)throw new ht;const A=C.getWidth(),N=C.getHeight(),q=A+2*b,he=N+2*b,Te=Math.max(h,q),je=Math.max(p,he),ct=Math.min(Math.floor(Te/q),Math.floor(je/he)),wt=Math.floor((Te-A*ct)/2),Mt=Math.floor((je-N*ct)/2),jt=this.createSVGElement(Te,je);for(let qt=0,wi=Mt;qt{class K{encode(d,h,p,b,C){if(0===d.length)throw new D("Found empty contents");if(h!==lt.QR_CODE)throw new D("Can only encode QR_CODE, but got "+h);if(p<0||b<0)throw new D(`Requested dimensions are too small: ${p}x${b}`);let A=zi.L,N=K.QUIET_ZONE_SIZE;null!==C&&(void 0!==C.get(Gn.ERROR_CORRECTION)&&(A=zi.fromString(C.get(Gn.ERROR_CORRECTION).toString())),void 0!==C.get(Gn.MARGIN)&&(N=Number.parseInt(C.get(Gn.MARGIN).toString(),10)));const q=Jn.encode(d,A,C);return K.renderResult(q,p,b,N)}static renderResult(d,h,p,b){const C=d.getMatrix();if(null===C)throw new ht;const A=C.getWidth(),N=C.getHeight(),q=A+2*b,he=N+2*b,Te=Math.max(h,q),je=Math.max(p,he),ct=Math.min(Math.floor(Te/q),Math.floor(je/he)),wt=Math.floor((Te-A*ct)/2),Mt=Math.floor((je-N*ct)/2),jt=new ae(Te,je);for(let qt=0,wi=Mt;qt{class K extends Je{constructor(d,h,p,b,C,A,N,q){if(super(A,N),this.yuvData=d,this.dataWidth=h,this.dataHeight=p,this.left=b,this.top=C,b+A>h||C+N>p)throw new D("Crop rectangle does not fit within image data.");q&&this.reverseHorizontal(A,N)}getRow(d,h){if(d<0||d>=this.getHeight())throw new D("Requested row is outside the image: "+d);const p=this.getWidth();return(null==h||h.length>16&255)+(Te>>7&510)+(255&Te))/4&255}this.luminances=q}else this.luminances=c;if(void 0===p&&(this.dataWidth=d),void 0===b&&(this.dataHeight=h),void 0===C&&(this.left=0),void 0===A&&(this.top=0),this.left+d>this.dataWidth||this.top+h>this.dataHeight)throw new D("Crop rectangle does not fit within image data.")}getRow(c,d){if(c<0||c>=this.getHeight())throw new D("Requested row is outside the image: "+c);const h=this.getWidth();return(null==d||d.length"}}class nt extends ye{constructor(c,d,h){super(c,0,0),this.binaryShiftStart=d,this.binaryShiftByteCount=h}appendTo(c,d){for(let h=0;h62?c.appendBits(this.binaryShiftByteCount-31,16):c.appendBits(0===h?Math.min(this.binaryShiftByteCount,31):this.binaryShiftByteCount-31,5)),c.appendBits(d[this.binaryShiftStart+h],8)}addBinaryShift(c,d){return new nt(this,c,d)}toString(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"}}function mt(K,c,d){return new ye(K,c,d)}const pi=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],bi=0,cn=1,Bt=2,Si=3,gi=4,Kn=new ye(null,0,0),rr=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])];const Pr=function Rr(K){for(let c of K)ne.fill(c,-1);return K[bi][gi]=0,K[cn][gi]=0,K[cn][bi]=28,K[Si][gi]=0,K[Bt][gi]=0,K[Bt][bi]=15,K}(ne.createInt32Array(6,6));class sr{constructor(c,d,h,p){this.token=c,this.mode=d,this.binaryShiftByteCount=h,this.bitCount=p}getMode(){return this.mode}getToken(){return this.token}getBinaryShiftByteCount(){return this.binaryShiftByteCount}getBitCount(){return this.bitCount}latchAndAppend(c,d){let h=this.bitCount,p=this.token;if(c!==this.mode){let C=rr[this.mode][c];p=mt(p,65535&C,C>>16),h+=C>>16}let b=c===Bt?4:5;return p=mt(p,d,b),new sr(p,c,0,h+b)}shiftAndAppend(c,d){let h=this.token,p=this.mode===Bt?4:5;return h=mt(h,Pr[this.mode][c],p),h=mt(h,d,5),new sr(h,this.mode,0,this.bitCount+p+5)}addBinaryShiftChar(c){let d=this.token,h=this.mode,p=this.bitCount;if(this.mode===gi||this.mode===Bt){let A=rr[h][bi];d=mt(d,65535&A,A>>16),p+=A>>16,h=bi}let C=new sr(d,h,this.binaryShiftByteCount+1,p+(0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8));return 2078===C.binaryShiftByteCount&&(C=C.endBinaryShift(c+1)),C}endBinaryShift(c){if(0===this.binaryShiftByteCount)return this;let d=this.token;return d=function dt(K,c,d){return new nt(K,c,d)}(d,c-this.binaryShiftByteCount,this.binaryShiftByteCount),new sr(d,this.mode,0,this.bitCount)}isBetterThanOrEqualTo(c){let d=this.bitCount+(rr[this.mode][c.mode]>>16);return this.binaryShiftByteCountc.binaryShiftByteCount&&c.binaryShiftByteCount>0&&(d+=10),d<=c.bitCount}toBitArray(c){let d=[];for(let p=this.endBinaryShift(c.length).token;null!==p;p=p.getPrevious())d.unshift(p);let h=new W;for(const p of d)p.appendTo(h,c);return h}toString(){return le.format("%s bits=%d bytes=%d",pi[this.mode],this.bitCount,this.binaryShiftByteCount)}static calculateBinaryShiftCost(c){return c.binaryShiftByteCount>62?21:c.binaryShiftByteCount>31?20:c.binaryShiftByteCount>0?10:0}}sr.INITIAL_STATE=new sr(Kn,bi,0,0);const Ia=function wa(K){const c=le.getCharCode(" "),d=le.getCharCode("."),h=le.getCharCode(",");K[bi][c]=1;const p=le.getCharCode("Z"),b=le.getCharCode("A");for(let je=b;je<=p;je++)K[bi][je]=je-b+2;K[cn][c]=1;const C=le.getCharCode("z"),A=le.getCharCode("a");for(let je=A;je<=C;je++)K[cn][je]=je-A+2;K[Bt][c]=1;const N=le.getCharCode("9"),q=le.getCharCode("0");for(let je=q;je<=N;je++)K[Bt][je]=je-q+2;K[Bt][h]=12,K[Bt][d]=13;const he=["\0"," ","\x01","\x02","\x03","\x04","\x05","\x06","\x07","\b","\t","\n","\v","\f","\r","\x1b","\x1c","\x1d","\x1e","\x1f","@","\\","^","_","`","|","~","\x7f"];for(let je=0;je","?","[","]","{","}"];for(let je=0;je0&&(K[gi][le.getCharCode(Te[je])]=je);return K}(ne.createInt32Array(5,256));class xo{constructor(c){this.text=c}encode(){const c=le.getCharCode(" "),d=le.getCharCode("\n");let h=ln.singletonList(sr.INITIAL_STATE);for(let b=0;b0?(h=xo.updateStateListForPair(h,b,C),b++):h=this.updateStateListForChar(h,b)}return ln.min(h,(b,C)=>b.getBitCount()-C.getBitCount()).toBitArray(this.text)}updateStateListForChar(c,d){const h=[];for(let p of c)this.updateStateForChar(p,d,h);return xo.simplifyStates(h)}updateStateForChar(c,d,h){let p=255&this.text[d],b=Ia[c.getMode()][p]>0,C=null;for(let A=0;A<=gi;A++){let N=Ia[A][p];if(N>0){if(null==C&&(C=c.endBinaryShift(d)),!b||A===c.getMode()||A===Bt){const q=C.latchAndAppend(A,N);h.push(q)}if(!b&&Pr[c.getMode()][A]>=0){const q=C.shiftAndAppend(A,N);h.push(q)}}}if(c.getBinaryShiftByteCount()>0||0===Ia[c.getMode()][p]){let A=c.addBinaryShiftChar(d);h.push(A)}}static updateStateListForPair(c,d,h){const p=[];for(let b of c)this.updateStateForPair(b,d,h,p);return this.simplifyStates(p)}static updateStateForPair(c,d,h,p){let b=c.endBinaryShift(d);if(p.push(b.latchAndAppend(gi,h)),c.getMode()!==gi&&p.push(b.shiftAndAppend(gi,h)),3===h||4===h){let C=b.latchAndAppend(Bt,16-h).latchAndAppend(Bt,1);p.push(C)}if(c.getBinaryShiftByteCount()>0){let C=c.addBinaryShiftChar(d).addBinaryShiftChar(d+1);p.push(C)}}static simplifyStates(c){let d=[];for(const h of c){let p=!0;for(const b of d){if(b.isBetterThanOrEqualTo(h)){p=!1;break}h.isBetterThanOrEqualTo(b)&&(d=d.filter(C=>C!==b))}p&&d.push(h)}return d}}class Pn{constructor(){}static encodeBytes(c){return Pn.encode(c,Pn.DEFAULT_EC_PERCENT,Pn.DEFAULT_AZTEC_LAYERS)}static encode(c,d,h){let A,N,q,he,Te,p=new xo(c).encode(),b=V.truncDivision(p.getSize()*d,100)+11,C=p.getSize()+b;if(h!==Pn.DEFAULT_AZTEC_LAYERS){if(A=h<0,N=Math.abs(h),N>(A?Pn.MAX_NB_BITS_COMPACT:Pn.MAX_NB_BITS))throw new D(le.format("Illegal value %s for layers",h));q=Pn.totalBitsInLayer(N,A),he=Pn.WORD_SIZE[N];let ri=q-q%he;if(Te=Pn.stuffBits(p,he),Te.getSize()+b>ri)throw new D("Data to large for user specified layer");if(A&&Te.getSize()>64*he)throw new D("Data to large for user specified layer")}else{he=0,Te=null;for(let ri=0;;ri++){if(ri>Pn.MAX_NB_BITS)throw new D("Data too large for an Aztec code");if(A=ri<=3,N=A?ri+1:ri,q=Pn.totalBitsInLayer(N,A),C>q)continue;(null==Te||he!==Pn.WORD_SIZE[N])&&(he=Pn.WORD_SIZE[N],Te=Pn.stuffBits(p,he));let Tn=q-q%he;if(!(A&&Te.getSize()>64*he)&&Te.getSize()+b<=Tn)break}}let qt,je=Pn.generateCheckWords(Te,q,he),ct=Te.getSize()/he,wt=Pn.generateModeMessage(A,N,ct),Mt=(A?11:14)+4*N,jt=new Int32Array(Mt);if(A){qt=Mt;for(let ri=0;ri=p||c.get(C+N))&&(A|=1<0&&X.has(this.stack[this.stack.length-1]);){var ie=this.stack.pop();null===(fe=(ue=this.cbs).onclosetag)||void 0===fe||fe.call(ue,ie,!0)}this.isVoidElement(W)||(this.stack.push(W),L.has(W)?this.foreignContext.push(!0):J.has(W)&&this.foreignContext.push(!1)),null===(Y=($=this.cbs).onopentagname)||void 0===Y||Y.call($,W),this.cbs.onopentag&&(this.attribs={})},V.prototype.endOpenTag=function(W){var ue,fe;this.startIndex=this.openTagStart,this.attribs&&(null===(fe=(ue=this.cbs).onopentag)||void 0===fe||fe.call(ue,this.tagname,this.attribs,W),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},V.prototype.onopentagend=function(W){this.endIndex=W,this.endOpenTag(!1),this.startIndex=W+1},V.prototype.onclosetag=function(W,ue){var fe,$,Y,X,ie,te;this.endIndex=ue;var le=this.getSlice(W,ue);if(this.lowerCaseTagNames&&(le=le.toLowerCase()),(L.has(le)||J.has(le))&&this.foreignContext.pop(),this.isVoidElement(le))!this.options.xmlMode&&"br"===le&&(null===($=(fe=this.cbs).onopentagname)||void 0===$||$.call(fe,"br"),null===(X=(Y=this.cbs).onopentag)||void 0===X||X.call(Y,"br",{},!0),null===(te=(ie=this.cbs).onclosetag)||void 0===te||te.call(ie,"br",!1));else{var pe=this.stack.lastIndexOf(le);if(-1!==pe)if(this.cbs.onclosetag)for(var ae=this.stack.length-pe;ae--;)this.cbs.onclosetag(this.stack.pop(),0!==ae);else this.stack.length=pe;else!this.options.xmlMode&&"p"===le&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=ue+1},V.prototype.onselfclosingtag=function(W){this.endIndex=W,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=W+1):this.onopentagend(W)},V.prototype.closeCurrentTag=function(W){var ue,fe,$=this.tagname;this.endOpenTag(W),this.stack[this.stack.length-1]===$&&(null===(fe=(ue=this.cbs).onclosetag)||void 0===fe||fe.call(ue,$,!W),this.stack.pop())},V.prototype.onattribname=function(W,ue){this.startIndex=W;var fe=this.getSlice(W,ue);this.attribname=this.lowerCaseAttributeNames?fe.toLowerCase():fe},V.prototype.onattribdata=function(W,ue){this.attribvalue+=this.getSlice(W,ue)},V.prototype.onattribentity=function(W){this.attribvalue+=(0,x.fromCodePoint)(W)},V.prototype.onattribend=function(W,ue){var fe,$;this.endIndex=ue,null===($=(fe=this.cbs).onattribute)||void 0===$||$.call(fe,this.attribname,this.attribvalue,W===_.QuoteType.Double?'"':W===_.QuoteType.Single?"'":W===_.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},V.prototype.getInstructionName=function(W){var ue=W.search(Z),fe=ue<0?W:W.substr(0,ue);return this.lowerCaseTagNames&&(fe=fe.toLowerCase()),fe},V.prototype.ondeclaration=function(W,ue){this.endIndex=ue;var fe=this.getSlice(W,ue);if(this.cbs.onprocessinginstruction){var $=this.getInstructionName(fe);this.cbs.onprocessinginstruction("!".concat($),"!".concat(fe))}this.startIndex=ue+1},V.prototype.onprocessinginstruction=function(W,ue){this.endIndex=ue;var fe=this.getSlice(W,ue);if(this.cbs.onprocessinginstruction){var $=this.getInstructionName(fe);this.cbs.onprocessinginstruction("?".concat($),"?".concat(fe))}this.startIndex=ue+1},V.prototype.oncomment=function(W,ue,fe){var $,Y,X,ie;this.endIndex=ue,null===(Y=($=this.cbs).oncomment)||void 0===Y||Y.call($,this.getSlice(W,ue-fe)),null===(ie=(X=this.cbs).oncommentend)||void 0===ie||ie.call(X),this.startIndex=ue+1},V.prototype.oncdata=function(W,ue,fe){var $,Y,X,ie,te,le,pe,ae,De,Ce;this.endIndex=ue;var Ue=this.getSlice(W,ue-fe);this.options.xmlMode||this.options.recognizeCDATA?(null===(Y=($=this.cbs).oncdatastart)||void 0===Y||Y.call($),null===(ie=(X=this.cbs).ontext)||void 0===ie||ie.call(X,Ue),null===(le=(te=this.cbs).oncdataend)||void 0===le||le.call(te)):(null===(ae=(pe=this.cbs).oncomment)||void 0===ae||ae.call(pe,"[CDATA[".concat(Ue,"]]")),null===(Ce=(De=this.cbs).oncommentend)||void 0===Ce||Ce.call(De)),this.startIndex=ue+1},V.prototype.onend=function(){var W,ue;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var fe=this.stack.length;fe>0;this.cbs.onclosetag(this.stack[--fe],!0));}null===(ue=(W=this.cbs).onend)||void 0===ue||ue.call(W)},V.prototype.reset=function(){var W,ue,fe,$;null===(ue=(W=this.cbs).onreset)||void 0===ue||ue.call(W),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===($=(fe=this.cbs).onparserinit)||void 0===$||$.call(fe,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},V.prototype.parseComplete=function(W){this.reset(),this.end(W)},V.prototype.getSlice=function(W,ue){for(;W-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var fe=this.buffers[0].slice(W-this.bufferOffset,ue-this.bufferOffset);ue-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),fe+=this.buffers[0].slice(0,ue-this.bufferOffset);return fe},V.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},V.prototype.write=function(W){var ue,fe;this.ended?null===(fe=(ue=this.cbs).onerror)||void 0===fe||fe.call(ue,new Error(".write() after done!")):(this.buffers.push(W),this.tokenizer.running&&(this.tokenizer.write(W),this.writeIndex++))},V.prototype.end=function(W){var ue,fe;this.ended?null===(fe=(ue=this.cbs).onerror)||void 0===fe||fe.call(ue,Error(".end() after done!")):(W&&this.write(W),this.ended=!0,this.tokenizer.end())},V.prototype.pause=function(){this.tokenizer.pause()},V.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.QuoteType=void 0;var D,I,f=y(6569),e=(()=>{return(I=e||(e={}))[I.Tab=9]="Tab",I[I.NewLine=10]="NewLine",I[I.FormFeed=12]="FormFeed",I[I.CarriageReturn=13]="CarriageReturn",I[I.Space=32]="Space",I[I.ExclamationMark=33]="ExclamationMark",I[I.Num=35]="Num",I[I.Amp=38]="Amp",I[I.SingleQuote=39]="SingleQuote",I[I.DoubleQuote=34]="DoubleQuote",I[I.Dash=45]="Dash",I[I.Slash=47]="Slash",I[I.Zero=48]="Zero",I[I.Nine=57]="Nine",I[I.Semi=59]="Semi",I[I.Lt=60]="Lt",I[I.Eq=61]="Eq",I[I.Gt=62]="Gt",I[I.Questionmark=63]="Questionmark",I[I.UpperA=65]="UpperA",I[I.LowerA=97]="LowerA",I[I.UpperF=70]="UpperF",I[I.LowerF=102]="LowerF",I[I.UpperZ=90]="UpperZ",I[I.LowerZ=122]="LowerZ",I[I.LowerX=120]="LowerX",I[I.OpeningSquareBracket=91]="OpeningSquareBracket",e;var I})(),g=(()=>{return(I=g||(g={}))[I.Text=1]="Text",I[I.BeforeTagName=2]="BeforeTagName",I[I.InTagName=3]="InTagName",I[I.InSelfClosingTag=4]="InSelfClosingTag",I[I.BeforeClosingTagName=5]="BeforeClosingTagName",I[I.InClosingTagName=6]="InClosingTagName",I[I.AfterClosingTagName=7]="AfterClosingTagName",I[I.BeforeAttributeName=8]="BeforeAttributeName",I[I.InAttributeName=9]="InAttributeName",I[I.AfterAttributeName=10]="AfterAttributeName",I[I.BeforeAttributeValue=11]="BeforeAttributeValue",I[I.InAttributeValueDq=12]="InAttributeValueDq",I[I.InAttributeValueSq=13]="InAttributeValueSq",I[I.InAttributeValueNq=14]="InAttributeValueNq",I[I.BeforeDeclaration=15]="BeforeDeclaration",I[I.InDeclaration=16]="InDeclaration",I[I.InProcessingInstruction=17]="InProcessingInstruction",I[I.BeforeComment=18]="BeforeComment",I[I.CDATASequence=19]="CDATASequence",I[I.InSpecialComment=20]="InSpecialComment",I[I.InCommentLike=21]="InCommentLike",I[I.BeforeSpecialS=22]="BeforeSpecialS",I[I.SpecialStartSequence=23]="SpecialStartSequence",I[I.InSpecialTag=24]="InSpecialTag",I[I.BeforeEntity=25]="BeforeEntity",I[I.BeforeNumericEntity=26]="BeforeNumericEntity",I[I.InNamedEntity=27]="InNamedEntity",I[I.InNumericEntity=28]="InNumericEntity",I[I.InHexEntity=29]="InHexEntity",g;var I})();function _(I){return I===e.Space||I===e.NewLine||I===e.Tab||I===e.FormFeed||I===e.CarriageReturn}function x(I){return I===e.Slash||I===e.Gt||_(I)}function k(I){return I>=e.Zero&&I<=e.Nine}(I=D=O.QuoteType||(O.QuoteType={}))[I.NoValue=0]="NoValue",I[I.Unquoted=1]="Unquoted",I[I.Single=2]="Single",I[I.Double=3]="Double";var P={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},U=function(){function I(L,J){var Z=L.xmlMode,ne=void 0!==Z&&Z,V=L.decodeEntities,W=void 0===V||V;this.cbs=J,this.state=g.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=g.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=ne,this.decodeEntities=W,this.entityTrie=ne?f.xmlDecodeTree:f.htmlDecodeTree}return I.prototype.reset=function(){this.state=g.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=g.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},I.prototype.write=function(L){this.offset+=this.buffer.length,this.buffer=L,this.parse()},I.prototype.end=function(){this.running&&this.finish()},I.prototype.pause=function(){this.running=!1},I.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=g.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&L===e.Amp&&(this.state=g.BeforeEntity)},I.prototype.stateSpecialStartSequence=function(L){var J=this.sequenceIndex===this.currentSequence.length;if(J?x(L):(32|L)===this.currentSequence[this.sequenceIndex]){if(!J)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=g.InTagName,this.stateInTagName(L)},I.prototype.stateInSpecialTag=function(L){if(this.sequenceIndex===this.currentSequence.length){if(L===e.Gt||_(L)){var J=this.index-this.currentSequence.length;if(this.sectionStart=e.LowerA&&I<=e.LowerZ||I>=e.UpperA&&I<=e.UpperZ}(L)},I.prototype.startSpecial=function(L,J){this.isSpecial=!0,this.currentSequence=L,this.sequenceIndex=J,this.state=g.SpecialStartSequence},I.prototype.stateBeforeTagName=function(L){if(L===e.ExclamationMark)this.state=g.BeforeDeclaration,this.sectionStart=this.index+1;else if(L===e.Questionmark)this.state=g.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(L)){var J=32|L;this.sectionStart=this.index,this.xmlMode||J!==P.TitleEnd[2]?this.state=this.xmlMode||J!==P.ScriptEnd[2]?g.InTagName:g.BeforeSpecialS:this.startSpecial(P.TitleEnd,3)}else L===e.Slash?this.state=g.BeforeClosingTagName:(this.state=g.Text,this.stateText(L))},I.prototype.stateInTagName=function(L){x(L)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=g.BeforeAttributeName,this.stateBeforeAttributeName(L))},I.prototype.stateBeforeClosingTagName=function(L){_(L)||(L===e.Gt?this.state=g.Text:(this.state=this.isTagStartChar(L)?g.InClosingTagName:g.InSpecialComment,this.sectionStart=this.index))},I.prototype.stateInClosingTagName=function(L){(L===e.Gt||_(L))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=g.AfterClosingTagName,this.stateAfterClosingTagName(L))},I.prototype.stateAfterClosingTagName=function(L){(L===e.Gt||this.fastForwardTo(e.Gt))&&(this.state=g.Text,this.sectionStart=this.index+1)},I.prototype.stateBeforeAttributeName=function(L){L===e.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=g.InSpecialTag,this.sequenceIndex=0):this.state=g.Text,this.baseState=this.state,this.sectionStart=this.index+1):L===e.Slash?this.state=g.InSelfClosingTag:_(L)||(this.state=g.InAttributeName,this.sectionStart=this.index)},I.prototype.stateInSelfClosingTag=function(L){L===e.Gt?(this.cbs.onselfclosingtag(this.index),this.state=g.Text,this.baseState=g.Text,this.sectionStart=this.index+1,this.isSpecial=!1):_(L)||(this.state=g.BeforeAttributeName,this.stateBeforeAttributeName(L))},I.prototype.stateInAttributeName=function(L){(L===e.Eq||x(L))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=g.AfterAttributeName,this.stateAfterAttributeName(L))},I.prototype.stateAfterAttributeName=function(L){L===e.Eq?this.state=g.BeforeAttributeValue:L===e.Slash||L===e.Gt?(this.cbs.onattribend(D.NoValue,this.index),this.state=g.BeforeAttributeName,this.stateBeforeAttributeName(L)):_(L)||(this.cbs.onattribend(D.NoValue,this.index),this.state=g.InAttributeName,this.sectionStart=this.index)},I.prototype.stateBeforeAttributeValue=function(L){L===e.DoubleQuote?(this.state=g.InAttributeValueDq,this.sectionStart=this.index+1):L===e.SingleQuote?(this.state=g.InAttributeValueSq,this.sectionStart=this.index+1):_(L)||(this.sectionStart=this.index,this.state=g.InAttributeValueNq,this.stateInAttributeValueNoQuotes(L))},I.prototype.handleInAttributeValue=function(L,J){L===J||!this.decodeEntities&&this.fastForwardTo(J)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(J===e.DoubleQuote?D.Double:D.Single,this.index),this.state=g.BeforeAttributeName):this.decodeEntities&&L===e.Amp&&(this.baseState=this.state,this.state=g.BeforeEntity)},I.prototype.stateInAttributeValueDoubleQuotes=function(L){this.handleInAttributeValue(L,e.DoubleQuote)},I.prototype.stateInAttributeValueSingleQuotes=function(L){this.handleInAttributeValue(L,e.SingleQuote)},I.prototype.stateInAttributeValueNoQuotes=function(L){_(L)||L===e.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(D.Unquoted,this.index),this.state=g.BeforeAttributeName,this.stateBeforeAttributeName(L)):this.decodeEntities&&L===e.Amp&&(this.baseState=this.state,this.state=g.BeforeEntity)},I.prototype.stateBeforeDeclaration=function(L){L===e.OpeningSquareBracket?(this.state=g.CDATASequence,this.sequenceIndex=0):this.state=L===e.Dash?g.BeforeComment:g.InDeclaration},I.prototype.stateInDeclaration=function(L){(L===e.Gt||this.fastForwardTo(e.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=g.Text,this.sectionStart=this.index+1)},I.prototype.stateInProcessingInstruction=function(L){(L===e.Gt||this.fastForwardTo(e.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=g.Text,this.sectionStart=this.index+1)},I.prototype.stateBeforeComment=function(L){L===e.Dash?(this.state=g.InCommentLike,this.currentSequence=P.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=g.InDeclaration},I.prototype.stateInSpecialComment=function(L){(L===e.Gt||this.fastForwardTo(e.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=g.Text,this.sectionStart=this.index+1)},I.prototype.stateBeforeSpecialS=function(L){var J=32|L;J===P.ScriptEnd[3]?this.startSpecial(P.ScriptEnd,4):J===P.StyleEnd[3]?this.startSpecial(P.StyleEnd,4):(this.state=g.InTagName,this.stateInTagName(L))},I.prototype.stateBeforeEntity=function(L){this.entityExcess=1,this.entityResult=0,L===e.Num?this.state=g.BeforeNumericEntity:L===e.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=g.InNamedEntity,this.stateInNamedEntity(L))},I.prototype.stateInNamedEntity=function(L){if(this.entityExcess+=1,this.trieIndex=(0,f.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,L),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var J=this.trieCurrent&f.BinTrieFlags.VALUE_LENGTH;if(J){var Z=(J>>14)-1;if(this.allowLegacyEntity()||L===e.Semi){var ne=this.index-this.entityExcess+1;ne>this.sectionStart&&this.emitPartial(this.sectionStart,ne),this.entityResult=this.trieIndex,this.trieIndex+=Z,this.entityExcess=0,this.sectionStart=this.index+1,0===Z&&this.emitNamedEntity()}else this.trieIndex+=Z}},I.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&f.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~f.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},I.prototype.stateBeforeNumericEntity=function(L){(32|L)===e.LowerX?(this.entityExcess++,this.state=g.InHexEntity):(this.state=g.InNumericEntity,this.stateInNumericEntity(L))},I.prototype.emitNumericEntity=function(L){var J=this.index-this.entityExcess-1;J+2+Number(this.state===g.InHexEntity)!==this.index&&(J>this.sectionStart&&this.emitPartial(this.sectionStart,J),this.sectionStart=this.index+Number(L),this.emitCodePoint((0,f.replaceCodePoint)(this.entityResult))),this.state=this.baseState},I.prototype.stateInNumericEntity=function(L){L===e.Semi?this.emitNumericEntity(!0):k(L)?(this.entityResult=10*this.entityResult+(L-e.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},I.prototype.stateInHexEntity=function(L){L===e.Semi?this.emitNumericEntity(!0):k(L)?(this.entityResult=16*this.entityResult+(L-e.Zero),this.entityExcess++):function S(I){return I>=e.UpperA&&I<=e.UpperF||I>=e.LowerA&&I<=e.LowerF}(L)?(this.entityResult=16*this.entityResult+((32|L)-e.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},I.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===g.Text||this.baseState===g.InSpecialTag)},I.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===g.Text||this.state===g.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===g.InAttributeValueDq||this.state===g.InAttributeValueSq||this.state===g.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},I.prototype.shouldContinue=function(){return this.index{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.attributeNames=O.elementNames=void 0,O.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(y){return[y.toLowerCase(),y]})),O.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(y){return[y.toLowerCase(),y]}))},1175:function(Se,O,y){"use strict";var f=this&&this.__assign||function(){return f=Object.assign||function($){for(var Y,X=1,ie=arguments.length;X")}($);case x.Comment:return function fe($){return"\x3c!--".concat($.data,"--\x3e")}($);case x.CDATA:return function ue($){return"")}($);case x.Script:case x.Style:case x.Tag:return function ne($,Y){var X;"foreign"===Y.xmlMode&&($.name=null!==(X=F.elementNames.get($.name))&&void 0!==X?X:$.name,$.parent&&J.has($.parent.name)&&(Y=f(f({},Y),{xmlMode:!1}))),!Y.xmlMode&&Z.has($.name)&&(Y=f(f({},Y),{xmlMode:"foreign"}));var ie="<".concat($.name),te=function P($,Y){var X;if($){var ie=!1===(null!==(X=Y.encodeEntities)&&void 0!==X?X:Y.decodeEntities)?D:Y.xmlMode||"utf8"!==Y.encodeEntities?k.encodeXML:k.escapeAttribute;return Object.keys($).map(function(te){var le,pe,ae=null!==(le=$[te])&&void 0!==le?le:"";return"foreign"===Y.xmlMode&&(te=null!==(pe=F.attributeNames.get(te))&&void 0!==pe?pe:te),Y.emptyAttrs||Y.xmlMode||""!==ae?"".concat(te,'="').concat(ie(ae),'"'):te}).join(" ")}}($.attribs,Y);return te&&(ie+=" ".concat(te)),0===$.children.length&&(Y.xmlMode?!1!==Y.selfClosingTags:Y.selfClosingTags&&U.has($.name))?(Y.xmlMode||(ie+=" "),ie+="/>"):(ie+=">",$.children.length>0&&(ie+=I($.children,Y)),(Y.xmlMode||!U.has($.name))&&(ie+=""))),ie}($,Y);case x.Text:return function W($,Y){var X,ie=$.data||"";return!1!==(null!==(X=Y.encodeEntities)&&void 0!==X?X:Y.decodeEntities)&&!(!Y.xmlMode&&$.parent&&S.has($.parent.name))&&(ie=Y.xmlMode||"utf8"!==Y.encodeEntities?(0,k.encodeXML)(ie):(0,k.escapeText)(ie)),ie}($,Y)}}O.render=I,O.default=I;var J=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Z=new Set(["svg","math"])},3437:function(Se,O,y){"use strict";var f=this&&this.__createBinding||(Object.create?function(F,S,D,P){void 0===P&&(P=D);var U=Object.getOwnPropertyDescriptor(S,D);(!U||("get"in U?!S.__esModule:U.writable||U.configurable))&&(U={enumerable:!0,get:function(){return S[D]}}),Object.defineProperty(F,P,U)}:function(F,S,D,P){void 0===P&&(P=D),F[P]=S[D]}),e=this&&this.__exportStar||function(F,S){for(var D in F)"default"!==D&&!Object.prototype.hasOwnProperty.call(S,D)&&f(S,F,D)};Object.defineProperty(O,"__esModule",{value:!0}),O.DomHandler=void 0;var g=y(6316),_=y(2105);e(y(2105),O);var x={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},k=function(){function F(S,D,P){this.dom=[],this.root=new _.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof D&&(P=D,D=x),"object"==typeof S&&(D=S,S=void 0),this.callback=S??null,this.options=D??x,this.elementCB=P??null}return F.prototype.onparserinit=function(S){this.parser=S},F.prototype.onreset=function(){this.dom=[],this.root=new _.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},F.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},F.prototype.onerror=function(S){this.handleCallback(S)},F.prototype.onclosetag=function(){this.lastNode=null;var S=this.tagStack.pop();this.options.withEndIndices&&(S.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(S)},F.prototype.onopentag=function(S,D){var U=new _.Element(S,D,void 0,this.options.xmlMode?g.ElementType.Tag:void 0);this.addNode(U),this.tagStack.push(U)},F.prototype.ontext=function(S){var D=this.lastNode;if(D&&D.type===g.ElementType.Text)D.data+=S,this.options.withEndIndices&&(D.endIndex=this.parser.endIndex);else{var P=new _.Text(S);this.addNode(P),this.lastNode=P}},F.prototype.oncomment=function(S){if(this.lastNode&&this.lastNode.type===g.ElementType.Comment)this.lastNode.data+=S;else{var D=new _.Comment(S);this.addNode(D),this.lastNode=D}},F.prototype.oncommentend=function(){this.lastNode=null},F.prototype.oncdatastart=function(){var S=new _.Text(""),D=new _.CDATA([S]);this.addNode(D),S.parent=D,this.lastNode=S},F.prototype.oncdataend=function(){this.lastNode=null},F.prototype.onprocessinginstruction=function(S,D){var P=new _.ProcessingInstruction(S,D);this.addNode(P)},F.prototype.handleCallback=function(S){if("function"==typeof this.callback)this.callback(S,this.dom);else if(S)throw S},F.prototype.addNode=function(S){var D=this.tagStack[this.tagStack.length-1],P=D.children[D.children.length-1];this.options.withStartIndices&&(S.startIndex=this.parser.startIndex),this.options.withEndIndices&&(S.endIndex=this.parser.endIndex),D.children.push(S),P&&(S.prev=P,P.next=S),S.parent=D,this.lastNode=null},F}();O.DomHandler=k,O.default=k},2105:function(Se,O,y){"use strict";var Y,f=this&&this.__extends||(Y=function(X,ie){return(Y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,le){te.__proto__=le}||function(te,le){for(var pe in le)Object.prototype.hasOwnProperty.call(le,pe)&&(te[pe]=le[pe])})(X,ie)},function(X,ie){if("function"!=typeof ie&&null!==ie)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");function te(){this.constructor=X}Y(X,ie),X.prototype=null===ie?Object.create(ie):(te.prototype=ie.prototype,new te)}),e=this&&this.__assign||function(){return e=Object.assign||function(Y){for(var X,ie=1,te=arguments.length;ie0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(X.prototype,"childNodes",{get:function(){return this.children},set:function(ie){this.children=ie},enumerable:!1,configurable:!0}),X}(_);O.NodeWithChildren=D;var P=function(Y){function X(){var ie=null!==Y&&Y.apply(this,arguments)||this;return ie.type=g.ElementType.CDATA,ie}return f(X,Y),Object.defineProperty(X.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),X}(D);O.CDATA=P;var U=function(Y){function X(){var ie=null!==Y&&Y.apply(this,arguments)||this;return ie.type=g.ElementType.Root,ie}return f(X,Y),Object.defineProperty(X.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),X}(D);O.Document=U;var I=function(Y){function X(ie,te,le,pe){void 0===le&&(le=[]),void 0===pe&&(pe="script"===ie?g.ElementType.Script:"style"===ie?g.ElementType.Style:g.ElementType.Tag);var ae=Y.call(this,le)||this;return ae.name=ie,ae.attribs=te,ae.type=pe,ae}return f(X,Y),Object.defineProperty(X.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(X.prototype,"tagName",{get:function(){return this.name},set:function(ie){this.name=ie},enumerable:!1,configurable:!0}),Object.defineProperty(X.prototype,"attributes",{get:function(){var ie=this;return Object.keys(this.attribs).map(function(te){var le,pe;return{name:te,value:ie.attribs[te],namespace:null===(le=ie["x-attribsNamespace"])||void 0===le?void 0:le[te],prefix:null===(pe=ie["x-attribsPrefix"])||void 0===pe?void 0:pe[te]}})},enumerable:!1,configurable:!0}),X}(D);function L(Y){return(0,g.isTag)(Y)}function J(Y){return Y.type===g.ElementType.CDATA}function Z(Y){return Y.type===g.ElementType.Text}function ne(Y){return Y.type===g.ElementType.Comment}function V(Y){return Y.type===g.ElementType.Directive}function W(Y){return Y.type===g.ElementType.Root}function fe(Y,X){var ie;if(void 0===X&&(X=!1),Z(Y))ie=new k(Y.data);else if(ne(Y))ie=new F(Y.data);else if(L(Y)){var te=X?$(Y.children):[],le=new I(Y.name,e({},Y.attribs),te);te.forEach(function(Ce){return Ce.parent=le}),null!=Y.namespace&&(le.namespace=Y.namespace),Y["x-attribsNamespace"]&&(le["x-attribsNamespace"]=e({},Y["x-attribsNamespace"])),Y["x-attribsPrefix"]&&(le["x-attribsPrefix"]=e({},Y["x-attribsPrefix"])),ie=le}else if(J(Y)){te=X?$(Y.children):[];var pe=new P(te);te.forEach(function(Ue){return Ue.parent=pe}),ie=pe}else if(W(Y)){te=X?$(Y.children):[];var ae=new U(te);te.forEach(function(Ue){return Ue.parent=ae}),Y["x-mode"]&&(ae["x-mode"]=Y["x-mode"]),ie=ae}else{if(!V(Y))throw new Error("Not implemented yet: ".concat(Y.type));var De=new S(Y.name,Y.data);null!=Y["x-name"]&&(De["x-name"]=Y["x-name"],De["x-publicId"]=Y["x-publicId"],De["x-systemId"]=Y["x-systemId"]),ie=De}return ie.startIndex=Y.startIndex,ie.endIndex=Y.endIndex,null!=Y.sourceCodeLocation&&(ie.sourceCodeLocation=Y.sourceCodeLocation),ie}function $(Y){for(var X=Y.map(function(te){return fe(te,!0)}),ie=1;ie{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.getFeed=void 0;var f=y(8149),e=y(4279);O.getFeed=function g(L){var J=D(I,L);return J?"feed"===J.name?function _(L){var J,Z=L.children,ne={type:"atom",items:(0,e.getElementsByTagName)("entry",Z).map(function(ue){var fe,$=ue.children,Y={media:S($)};U(Y,"id","id",$),U(Y,"title","title",$);var X=null===(fe=D("link",$))||void 0===fe?void 0:fe.attribs.href;X&&(Y.link=X);var ie=P("summary",$)||P("content",$);ie&&(Y.description=ie);var te=P("updated",$);return te&&(Y.pubDate=new Date(te)),Y})};U(ne,"id","id",Z),U(ne,"title","title",Z);var V=null===(J=D("link",Z))||void 0===J?void 0:J.attribs.href;V&&(ne.link=V),U(ne,"description","subtitle",Z);var W=P("updated",Z);return W&&(ne.updated=new Date(W)),U(ne,"author","email",Z,!0),ne}(J):function x(L){var J,Z,ne=null!==(Z=null===(J=D("channel",L.children))||void 0===J?void 0:J.children)&&void 0!==Z?Z:[],V={type:L.name.substr(0,3),id:"",items:(0,e.getElementsByTagName)("item",L.children).map(function(ue){var fe=ue.children,$={media:S(fe)};U($,"id","guid",fe),U($,"title","title",fe),U($,"link","link",fe),U($,"description","description",fe);var Y=P("pubDate",fe);return Y&&($.pubDate=new Date(Y)),$})};U(V,"title","title",ne),U(V,"link","link",ne),U(V,"description","description",ne);var W=P("lastBuildDate",ne);return W&&(V.updated=new Date(W)),U(V,"author","managingEditor",ne,!0),V}(J):null};var k=["url","type","lang"],F=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function S(L){return(0,e.getElementsByTagName)("media:content",L).map(function(J){for(var Z=J.attribs,ne={medium:Z.medium,isDefault:!!Z.isDefault},V=0,W=k;V{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.uniqueSort=O.compareDocumentPosition=O.DocumentPosition=O.removeSubsets=void 0;var g,k,f=y(3437);function _(k,F){var S=[],D=[];if(k===F)return 0;for(var P=(0,f.hasChildren)(k)?k:k.parent;P;)S.unshift(P),P=P.parent;for(P=(0,f.hasChildren)(F)?F:F.parent;P;)D.unshift(P),P=P.parent;for(var U=Math.min(S.length,D.length),I=0;IJ.indexOf(ne)?L===F?g.FOLLOWING|g.CONTAINED_BY:g.FOLLOWING:L===k?g.PRECEDING|g.CONTAINS:g.PRECEDING}O.removeSubsets=function e(k){for(var F=k.length;--F>=0;){var S=k[F];if(F>0&&k.lastIndexOf(S,F-1)>=0)k.splice(F,1);else for(var D=S.parent;D;D=D.parent)if(k.includes(D)){k.splice(F,1);break}}return k},(k=g=O.DocumentPosition||(O.DocumentPosition={}))[k.DISCONNECTED=1]="DISCONNECTED",k[k.PRECEDING=2]="PRECEDING",k[k.FOLLOWING=4]="FOLLOWING",k[k.CONTAINS=8]="CONTAINS",k[k.CONTAINED_BY=16]="CONTAINED_BY",O.compareDocumentPosition=_,O.uniqueSort=function x(k){return(k=k.filter(function(F,S,D){return!D.includes(F,S+1)})).sort(function(F,S){var D=_(F,S);return D&g.PRECEDING?-1:D&g.FOLLOWING?1:0}),k}},5722:function(Se,O,y){"use strict";var f=this&&this.__createBinding||(Object.create?function(_,x,k,F){void 0===F&&(F=k);var S=Object.getOwnPropertyDescriptor(x,k);(!S||("get"in S?!x.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return x[k]}}),Object.defineProperty(_,F,S)}:function(_,x,k,F){void 0===F&&(F=k),_[F]=x[k]}),e=this&&this.__exportStar||function(_,x){for(var k in _)"default"!==k&&!Object.prototype.hasOwnProperty.call(x,k)&&f(x,_,k)};Object.defineProperty(O,"__esModule",{value:!0}),O.hasChildren=O.isDocument=O.isComment=O.isText=O.isCDATA=O.isTag=void 0,e(y(8149),O),e(y(74),O),e(y(6180),O),e(y(5904),O),e(y(4279),O),e(y(863),O),e(y(4477),O);var g=y(3437);Object.defineProperty(O,"isTag",{enumerable:!0,get:function(){return g.isTag}}),Object.defineProperty(O,"isCDATA",{enumerable:!0,get:function(){return g.isCDATA}}),Object.defineProperty(O,"isText",{enumerable:!0,get:function(){return g.isText}}),Object.defineProperty(O,"isComment",{enumerable:!0,get:function(){return g.isComment}}),Object.defineProperty(O,"isDocument",{enumerable:!0,get:function(){return g.isDocument}}),Object.defineProperty(O,"hasChildren",{enumerable:!0,get:function(){return g.hasChildren}})},4279:(Se,O,y)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.getElementsByTagType=O.getElementsByTagName=O.getElementById=O.getElements=O.testElement=void 0;var f=y(3437),e=y(5904),g={tag_name:function(I){return"function"==typeof I?function(L){return(0,f.isTag)(L)&&I(L.name)}:"*"===I?f.isTag:function(L){return(0,f.isTag)(L)&&L.name===I}},tag_type:function(I){return"function"==typeof I?function(L){return I(L.type)}:function(L){return L.type===I}},tag_contains:function(I){return"function"==typeof I?function(L){return(0,f.isText)(L)&&I(L.data)}:function(L){return(0,f.isText)(L)&&L.data===I}}};function _(I,L){return"function"==typeof L?function(J){return(0,f.isTag)(J)&&L(J.attribs[I])}:function(J){return(0,f.isTag)(J)&&J.attribs[I]===L}}function x(I,L){return function(J){return I(J)||L(J)}}function k(I){var L=Object.keys(I).map(function(J){var Z=I[J];return Object.prototype.hasOwnProperty.call(g,J)?g[J](Z):_(J,Z)});return 0===L.length?null:L.reduce(x)}O.testElement=function F(I,L){var J=k(I);return!J||J(L)},O.getElements=function S(I,L,J,Z){void 0===Z&&(Z=1/0);var ne=k(I);return ne?(0,e.filter)(ne,L,J,Z):[]},O.getElementById=function D(I,L,J){return void 0===J&&(J=!0),Array.isArray(L)||(L=[L]),(0,e.findOne)(_("id",I),L,J)},O.getElementsByTagName=function P(I,L,J,Z){return void 0===J&&(J=!0),void 0===Z&&(Z=1/0),(0,e.filter)(g.tag_name(I),L,J,Z)},O.getElementsByTagType=function U(I,L,J,Z){return void 0===J&&(J=!0),void 0===Z&&(Z=1/0),(0,e.filter)(g.tag_type(I),L,J,Z)}},6180:(Se,O)=>{"use strict";function y(k){if(k.prev&&(k.prev.next=k.next),k.next&&(k.next.prev=k.prev),k.parent){var F=k.parent.children;F.splice(F.lastIndexOf(k),1)}}Object.defineProperty(O,"__esModule",{value:!0}),O.prepend=O.prependChild=O.append=O.appendChild=O.replaceElement=O.removeElement=void 0,O.removeElement=y,O.replaceElement=function f(k,F){var S=F.prev=k.prev;S&&(S.next=F);var D=F.next=k.next;D&&(D.prev=F);var P=F.parent=k.parent;if(P){var U=P.children;U[U.lastIndexOf(k)]=F,k.parent=null}},O.appendChild=function e(k,F){if(y(F),F.next=null,F.parent=k,k.children.push(F)>1){var S=k.children[k.children.length-2];S.next=F,F.prev=S}else F.prev=null},O.append=function g(k,F){y(F);var S=k.parent,D=k.next;if(F.next=D,F.prev=k,k.next=F,F.parent=S,D){if(D.prev=F,S){var P=S.children;P.splice(P.lastIndexOf(D),0,F)}}else S&&S.children.push(F)},O.prependChild=function _(k,F){if(y(F),F.parent=k,F.prev=null,1!==k.children.unshift(F)){var S=k.children[1];S.prev=F,F.next=S}else F.next=null},O.prepend=function x(k,F){y(F);var S=k.parent;if(S){var D=S.children;D.splice(D.indexOf(k),0,F)}k.prev&&(k.prev.next=F),F.parent=S,F.prev=k.prev,F.next=k,k.prev=F}},5904:(Se,O,y)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.findAll=O.existsOne=O.findOne=O.findOneChild=O.find=O.filter=void 0;var f=y(3437);function g(S,D,P,U){for(var I=[],L=0,J=D;L0){var ne=g(S,Z.children,P,U);if(I.push.apply(I,ne),(U-=ne.length)<=0)break}}return I}O.filter=function e(S,D,P,U){return void 0===P&&(P=!0),void 0===U&&(U=1/0),Array.isArray(D)||(D=[D]),g(S,D,P,U)},O.find=g,O.findOneChild=function _(S,D){return D.find(S)},O.findOne=function x(S,D,P){void 0===P&&(P=!0);for(var U=null,I=0;I0&&(U=x(S,L.children,!0)))}return U},O.existsOne=function k(S,D){return D.some(function(P){return(0,f.isTag)(P)&&(S(P)||P.children.length>0&&k(S,P.children))})},O.findAll=function F(S,D){for(var P,L,U=[],I=D.filter(f.isTag);L=I.shift();){var J=null===(P=L.children)||void 0===P?void 0:P.filter(f.isTag);J&&J.length>0&&I.unshift.apply(I,J),S(L)&&U.push(L)}return U}},8149:function(Se,O,y){"use strict";var f=this&&this.__importDefault||function(P){return P&&P.__esModule?P:{default:P}};Object.defineProperty(O,"__esModule",{value:!0}),O.innerText=O.textContent=O.getText=O.getInnerHTML=O.getOuterHTML=void 0;var e=y(3437),g=f(y(1175)),_=y(6316);function x(P,U){return(0,g.default)(P,U)}O.getOuterHTML=x,O.getInnerHTML=function k(P,U){return(0,e.hasChildren)(P)?P.children.map(function(I){return x(I,U)}).join(""):""},O.getText=function F(P){return Array.isArray(P)?P.map(F).join(""):(0,e.isTag)(P)?"br"===P.name?"\n":F(P.children):(0,e.isCDATA)(P)?F(P.children):(0,e.isText)(P)?P.data:""},O.textContent=function S(P){return Array.isArray(P)?P.map(S).join(""):(0,e.hasChildren)(P)&&!(0,e.isComment)(P)?S(P.children):(0,e.isText)(P)?P.data:""},O.innerText=function D(P){return Array.isArray(P)?P.map(D).join(""):(0,e.hasChildren)(P)&&(P.type===_.ElementType.Tag||(0,e.isCDATA)(P))?D(P.children):(0,e.isText)(P)?P.data:""}},74:(Se,O,y)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.prevElementSibling=O.nextElementSibling=O.getName=O.hasAttrib=O.getAttributeValue=O.getSiblings=O.getParent=O.getChildren=void 0;var f=y(3437);function e(P){return(0,f.hasChildren)(P)?P.children:[]}function g(P){return P.parent||null}O.getChildren=e,O.getParent=g,O.getSiblings=function _(P){var L=g(P);if(null!=L)return e(L);for(var J=[P],Z=P.prev,ne=P.next;null!=Z;)J.unshift(Z),Z=Z.prev;for(;null!=ne;)J.push(ne),ne=ne.next;return J},O.getAttributeValue=function x(P,U){var I;return null===(I=P.attribs)||void 0===I?void 0:I[U]},O.hasAttrib=function k(P,U){return null!=P.attribs&&Object.prototype.hasOwnProperty.call(P.attribs,U)&&null!=P.attribs[U]},O.getName=function F(P){return P.name},O.nextElementSibling=function S(P){for(var I=P.next;null!==I&&!(0,f.isTag)(I);)I=I.next;return I},O.prevElementSibling=function D(P){for(var I=P.prev;null!==I&&!(0,f.isTag)(I);)I=I.prev;return I}},6569:function(Se,O,y){"use strict";var f=this&&this.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(O,"__esModule",{value:!0}),O.decodeXML=O.decodeHTMLStrict=O.decodeHTML=O.determineBranch=O.BinTrieFlags=O.fromCodePoint=O.replaceCodePoint=O.decodeCodePoint=O.xmlDecodeTree=O.htmlDecodeTree=void 0;var e=f(y(1575));O.htmlDecodeTree=e.default;var g=f(y(9704));O.xmlDecodeTree=g.default;var _=f(y(3906));O.decodeCodePoint=_.default;var x=y(3906);Object.defineProperty(O,"replaceCodePoint",{enumerable:!0,get:function(){return x.replaceCodePoint}}),Object.defineProperty(O,"fromCodePoint",{enumerable:!0,get:function(){return x.fromCodePoint}});var F,Z,k=(()=>{return(Z=k||(k={}))[Z.NUM=35]="NUM",Z[Z.SEMI=59]="SEMI",Z[Z.ZERO=48]="ZERO",Z[Z.NINE=57]="NINE",Z[Z.LOWER_A=97]="LOWER_A",Z[Z.LOWER_F=102]="LOWER_F",Z[Z.LOWER_X=120]="LOWER_X",Z[Z.To_LOWER_BIT=32]="To_LOWER_BIT",k;var Z})();function S(Z){return function(V,W){for(var ue="",fe=0,$=0;($=V.indexOf("&",$))>=0;)if(ue+=V.slice(fe,$),fe=$,V.charCodeAt($+=1)!==k.NUM){for(var pe=0,ae=1,De=0,Ce=Z[De];$>14)-1))break;De+=Je}}var Je;0!==pe&&(ue+=1==(Je=(Z[pe]&F.VALUE_LENGTH)>>14)?String.fromCharCode(Z[pe]&~F.VALUE_LENGTH):2===Je?String.fromCharCode(Z[pe+1]):String.fromCharCode(Z[pe+1],Z[pe+2]),fe=$-ae+1)}else{var Y=$+1,X=10,ie=V.charCodeAt(Y);(ie|k.To_LOWER_BIT)===k.LOWER_X&&(X=16,$+=1,Y+=1);do{ie=V.charCodeAt(++$)}while(ie>=k.ZERO&&ie<=k.NINE||16===X&&(ie|k.To_LOWER_BIT)>=k.LOWER_A&&(ie|k.To_LOWER_BIT)<=k.LOWER_F);if(Y!==$){var te=V.substring(Y,$),le=parseInt(te,X);if(V.charCodeAt($)===k.SEMI)$+=1;else if(W)continue;ue+=(0,_.default)(le),fe=$}}return ue+V.slice(fe)}}function D(Z,ne,V,W){var ue=(ne&F.BRANCH_LENGTH)>>7,fe=ne&F.JUMP_TABLE;if(0===ue)return 0!==fe&&W===fe?V:-1;if(fe){var $=W-fe;return $<0||$>=ue?-1:Z[V+$]-1}for(var Y=V,X=Y+ue-1;Y<=X;){var ie=Y+X>>>1,te=Z[ie];if(teW))return Z[ie+ue];X=ie-1}}return-1}(Z=F=O.BinTrieFlags||(O.BinTrieFlags={}))[Z.VALUE_LENGTH=49152]="VALUE_LENGTH",Z[Z.BRANCH_LENGTH=16256]="BRANCH_LENGTH",Z[Z.JUMP_TABLE=127]="JUMP_TABLE",O.determineBranch=D;var P=S(e.default),U=S(g.default);O.decodeHTML=function I(Z){return P(Z,!1)},O.decodeHTMLStrict=function L(Z){return P(Z,!0)},O.decodeXML=function J(Z){return U(Z,!0)}},3906:(Se,O)=>{"use strict";var y;Object.defineProperty(O,"__esModule",{value:!0}),O.replaceCodePoint=O.fromCodePoint=void 0;var f=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function e(_){var x;return _>=55296&&_<=57343||_>1114111?65533:null!==(x=f.get(_))&&void 0!==x?x:_}O.fromCodePoint=null!==(y=String.fromCodePoint)&&void 0!==y?y:function(_){var x="";return _>65535&&(_-=65536,x+=String.fromCharCode(_>>>10&1023|55296),_=56320|1023&_),x+String.fromCharCode(_)},O.replaceCodePoint=e,O.default=function g(_){return(0,O.fromCodePoint)(e(_))}},6836:function(Se,O,y){"use strict";var f=this&&this.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(O,"__esModule",{value:!0}),O.encodeNonAsciiHTML=O.encodeHTML=void 0;var e=f(y(5754)),g=y(681),_=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function F(S,D){for(var I,P="",U=0;null!==(I=S.exec(D));){var L=I.index;P+=D.substring(U,L);var J=D.charCodeAt(L),Z=e.default.get(J);if("object"==typeof Z){if(L+1{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.escapeText=O.escapeAttribute=O.escapeUTF8=O.escape=O.encodeXML=O.getCodePoint=O.xmlReplacer=void 0,O.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var y=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function f(g){for(var k,_="",x=0;null!==(k=O.xmlReplacer.exec(g));){var F=k.index,S=g.charCodeAt(F),D=y.get(S);void 0!==D?(_+=g.substring(x,F)+D,x=F+1):(_+="".concat(g.substring(x,F),"&#x").concat((0,O.getCodePoint)(g,F).toString(16),";"),x=O.xmlReplacer.lastIndex+=Number(55296==(64512&S)))}return _+g.substr(x)}function e(g,_){return function(k){for(var F,S=0,D="";F=g.exec(k);)S!==F.index&&(D+=k.substring(S,F.index)),D+=_.get(F[0].charCodeAt(0)),S=F.index+1;return D+k.substring(S)}}O.getCodePoint=null!=String.prototype.codePointAt?function(g,_){return g.codePointAt(_)}:function(g,_){return 55296==(64512&g.charCodeAt(_))?1024*(g.charCodeAt(_)-55296)+g.charCodeAt(_+1)-56320+65536:g.charCodeAt(_)},O.encodeXML=f,O.escape=f,O.escapeUTF8=e(/[&<>'"]/g,y),O.escapeAttribute=e(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),O.escapeText=e(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},1575:(Se,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=new Uint16Array('\u1d41<\xd5\u0131\u028a\u049d\u057b\u05d0\u0675\u06de\u07a2\u07d6\u080f\u0a4a\u0a91\u0da1\u0e6d\u0f09\u0f26\u10ca\u1228\u12e1\u1415\u149d\u14c3\u14df\u1525\0\0\0\0\0\0\u156b\u16cd\u198d\u1c12\u1ddd\u1f7e\u2060\u21b0\u228d\u23c0\u23fb\u2442\u2824\u2912\u2d08\u2e48\u2fce\u3016\u32ba\u3639\u37ac\u38fe\u3a28\u3a71\u3ae0\u3b2e\u0800EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig\u803b\xc6\u40c6P\u803b&\u4026cute\u803b\xc1\u40c1reve;\u4102\u0100iyx}rc\u803b\xc2\u40c2;\u4410r;\uc000\u{1d504}rave\u803b\xc0\u40c0pha;\u4391acr;\u4100d;\u6a53\u0100gp\x9d\xa1on;\u4104f;\uc000\u{1d538}plyFunction;\u6061ing\u803b\xc5\u40c5\u0100cs\xbe\xc3r;\uc000\u{1d49c}ign;\u6254ilde\u803b\xc3\u40c3ml\u803b\xc4\u40c4\u0400aceforsu\xe5\xfb\xfe\u0117\u011c\u0122\u0127\u012a\u0100cr\xea\xf2kslash;\u6216\u0176\xf6\xf8;\u6ae7ed;\u6306y;\u4411\u0180crt\u0105\u010b\u0114ause;\u6235noullis;\u612ca;\u4392r;\uc000\u{1d505}pf;\uc000\u{1d539}eve;\u42d8c\xf2\u0113mpeq;\u624e\u0700HOacdefhilorsu\u014d\u0151\u0156\u0180\u019e\u01a2\u01b5\u01b7\u01ba\u01dc\u0215\u0273\u0278\u027ecy;\u4427PY\u803b\xa9\u40a9\u0180cpy\u015d\u0162\u017aute;\u4106\u0100;i\u0167\u0168\u62d2talDifferentialD;\u6145leys;\u612d\u0200aeio\u0189\u018e\u0194\u0198ron;\u410cdil\u803b\xc7\u40c7rc;\u4108nint;\u6230ot;\u410a\u0100dn\u01a7\u01adilla;\u40b8terDot;\u40b7\xf2\u017fi;\u43a7rcle\u0200DMPT\u01c7\u01cb\u01d1\u01d6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01e2\u01f8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020foubleQuote;\u601duote;\u6019\u0200lnpu\u021e\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6a74\u0180git\u022f\u0236\u023aruent;\u6261nt;\u622fourIntegral;\u622e\u0100fr\u024c\u024e;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6a2fcr;\uc000\u{1d49e}p\u0100;C\u0284\u0285\u62d3ap;\u624d\u0580DJSZacefios\u02a0\u02ac\u02b0\u02b4\u02b8\u02cb\u02d7\u02e1\u02e6\u0333\u048d\u0100;o\u0179\u02a5trahd;\u6911cy;\u4402cy;\u4405cy;\u440f\u0180grs\u02bf\u02c4\u02c7ger;\u6021r;\u61a1hv;\u6ae4\u0100ay\u02d0\u02d5ron;\u410e;\u4414l\u0100;t\u02dd\u02de\u6207a;\u4394r;\uc000\u{1d507}\u0100af\u02eb\u0327\u0100cm\u02f0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031ccute;\u40b4o\u0174\u030b\u030d;\u42d9bleAcute;\u42ddrave;\u4060ilde;\u42dcond;\u62c4ferentialD;\u6146\u0470\u033d\0\0\0\u0342\u0354\0\u0405f;\uc000\u{1d53b}\u0180;DE\u0348\u0349\u034d\u40a8ot;\u60dcqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03cf\u03e2\u03f8ontourIntegra\xec\u0239o\u0274\u0379\0\0\u037b\xbb\u0349nArrow;\u61d3\u0100eo\u0387\u03a4ft\u0180ART\u0390\u0396\u03a1rrow;\u61d0ightArrow;\u61d4e\xe5\u02cang\u0100LR\u03ab\u03c4eft\u0100AR\u03b3\u03b9rrow;\u67f8ightArrow;\u67faightArrow;\u67f9ight\u0100AT\u03d8\u03derrow;\u61d2ee;\u62a8p\u0241\u03e9\0\0\u03efrrow;\u61d1ownArrow;\u61d5erticalBar;\u6225n\u0300ABLRTa\u0412\u042a\u0430\u045e\u047f\u037crrow\u0180;BU\u041d\u041e\u0422\u6193ar;\u6913pArrow;\u61f5reve;\u4311eft\u02d2\u043a\0\u0446\0\u0450ightVector;\u6950eeVector;\u695eector\u0100;B\u0459\u045a\u61bdar;\u6956ight\u01d4\u0467\0\u0471eeVector;\u695fector\u0100;B\u047a\u047b\u61c1ar;\u6957ee\u0100;A\u0486\u0487\u62a4rrow;\u61a7\u0100ct\u0492\u0497r;\uc000\u{1d49f}rok;\u4110\u0800NTacdfglmopqstux\u04bd\u04c0\u04c4\u04cb\u04de\u04e2\u04e7\u04ee\u04f5\u0521\u052f\u0536\u0552\u055d\u0560\u0565G;\u414aH\u803b\xd0\u40d0cute\u803b\xc9\u40c9\u0180aiy\u04d2\u04d7\u04dcron;\u411arc\u803b\xca\u40ca;\u442dot;\u4116r;\uc000\u{1d508}rave\u803b\xc8\u40c8ement;\u6208\u0100ap\u04fa\u04fecr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65fberySmallSquare;\u65ab\u0100gp\u0526\u052aon;\u4118f;\uc000\u{1d53c}silon;\u4395u\u0100ai\u053c\u0549l\u0100;T\u0542\u0543\u6a75ilde;\u6242librium;\u61cc\u0100ci\u0557\u055ar;\u6130m;\u6a73a;\u4397ml\u803b\xcb\u40cb\u0100ip\u056a\u056fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058d\u05b2\u05ccy;\u4424r;\uc000\u{1d509}lled\u0253\u0597\0\0\u05a3mallSquare;\u65fcerySmallSquare;\u65aa\u0370\u05ba\0\u05bf\0\0\u05c4f;\uc000\u{1d53d}All;\u6200riertrf;\u6131c\xf2\u05cb\u0600JTabcdfgorst\u05e8\u05ec\u05ef\u05fa\u0600\u0612\u0616\u061b\u061d\u0623\u066c\u0672cy;\u4403\u803b>\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\u{1d50a};\u62d9pf;\uc000\u{1d53e}eater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\u{1d4a2};\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\u{1d540}a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\u{1d50d}pf;\uc000\u{1d541}\u01e3\u07c7\0\u07ccr;\uc000\u{1d4a5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\u{1d50e}pf;\uc000\u{1d542}cr;\uc000\u{1d4a6}\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\u{1d50f}\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\u{1d543}er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\u{1d510}nusPlus;\u6213pf;\uc000\u{1d544}c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\u{1d511}\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\u{1d4a9}ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\u{1d512}rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\u{1d546}enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\u{1d4aa}ash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\u{1d513}i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\u{1d4ab};\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\u{1d514}pf;\u611acr;\uc000\u{1d4ac}\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\u{1d516}ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\u{1d54a}\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\u{1d4ae}ar;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\u{1d517}\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\u{1d54b}ipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\u{1d4af}rok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;\uc000\u{1d518}rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\u{1d54c}\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\u{1d4b0}ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\u{1d519}pf;\uc000\u{1d54d}cr;\uc000\u{1d4b1}dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\u{1d51a}pf;\uc000\u{1d54e}cr;\uc000\u{1d4b2}\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\u{1d51b};\u439epf;\uc000\u{1d54f}cr;\uc000\u{1d4b3}\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\u{1d51c}pf;\uc000\u{1d550}cr;\uc000\u{1d4b4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\u{1d4b5}\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\u{1d51e}rave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\u{1d552}\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\u{1d4b6};\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\u{1d51f}g\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\u{1d553}\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\u{1d4b7}mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\u{1d520}\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\u{1d554}o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\u{1d4b8}\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\u{1d521}ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\u{1d555}\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\u{1d4b9};\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\u{1d522}\u0180;rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\u{1d556}\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\u{1d523}lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\u{1d557}\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\u{1d4bb}\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\u{1d524}\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\u{1d558}\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\u{1d525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\u{1d559}bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\u{1d4bd}as\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\u{1d526}rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\u{1d55a}a;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\u{1d4be}n\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\u{1d527}ath;\u4237pf;\uc000\u{1d55b}\u01e3\u23ec\0\u23f1r;\uc000\u{1d4bf}rcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\u{1d528}reen;\u4138cy;\u4445cy;\u445cpf;\uc000\u{1d55c}cr;\uc000\u{1d4c0}\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\u{1d529}\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\u{1d55d}us;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\u{1d4c1}m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\u{1d52a}o;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\u{1d55e}\u0100ct\u28f8\u28fdr;\uc000\u{1d4c2}pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\u{1d52b}\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\u{1d55f}\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\u{1d4c3}ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\u{1d52c}\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\u{1d560}\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\u{1d52d}\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\u{1d561}nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0eec\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\u{1d4c5};\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\u{1d52e}pf;\uc000\u{1d562}rime;\u6057cr;\uc000\u{1d4c6}\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\u{1d52f}\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\u{1d563}us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\u{1d4c7}\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\u{1d530}\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\u{1d564}a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\u{1d4c8}tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\u{1d531}\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\u{1d565}rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\u{1d4c9};\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\u{1d532}rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\u{1d566}\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\u{1d4ca}\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\u{1d533}tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\u{1d567}ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\u{1d4cb}\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\u{1d534}pf;\uc000\u{1d568}\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\u{1d4cc}\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\u{1d535}\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\u{1d569}im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\u{1d4cd}\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\u{1d536}cy;\u4457pf;\uc000\u{1d56a}cr;\uc000\u{1d4ce}\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\u{1d537}cy;\u4436grarr;\u61ddpf;\uc000\u{1d56b}cr;\uc000\u{1d4cf}\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map(function(y){return y.charCodeAt(0)}))},9704:(Se,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map(function(y){return y.charCodeAt(0)}))},5754:(Se,O)=>{"use strict";function y(f){for(var e=1;e{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.decodeXMLStrict=O.decodeHTML5Strict=O.decodeHTML4Strict=O.decodeHTML5=O.decodeHTML4=O.decodeHTMLStrict=O.decodeHTML=O.decodeXML=O.encodeHTML5=O.encodeHTML4=O.encodeNonAsciiHTML=O.encodeHTML=O.escapeText=O.escapeAttribute=O.escapeUTF8=O.escape=O.encodeXML=O.encode=O.decodeStrict=O.decode=O.EncodingMode=O.DecodingMode=O.EntityLevel=void 0;var _,L,x,k,f=y(6569),e=y(6836),g=y(681);(L=_=O.EntityLevel||(O.EntityLevel={}))[L.XML=0]="XML",L[L.HTML=1]="HTML",function(L){L[L.Legacy=0]="Legacy",L[L.Strict=1]="Strict"}(x=O.DecodingMode||(O.DecodingMode={})),function(L){L[L.UTF8=0]="UTF8",L[L.ASCII=1]="ASCII",L[L.Extensive=2]="Extensive",L[L.Attribute=3]="Attribute",L[L.Text=4]="Text"}(k=O.EncodingMode||(O.EncodingMode={})),O.decode=function F(L,J){void 0===J&&(J=_.XML);var Z="number"==typeof J?{level:J}:J;return Z.level===_.HTML?Z.mode===x.Strict?(0,f.decodeHTMLStrict)(L):(0,f.decodeHTML)(L):(0,f.decodeXML)(L)},O.decodeStrict=function S(L,J){void 0===J&&(J=_.XML);var Z="number"==typeof J?{level:J}:J;return Z.level===_.HTML?Z.mode===x.Legacy?(0,f.decodeHTML)(L):(0,f.decodeHTMLStrict)(L):(0,f.decodeXML)(L)},O.encode=function D(L,J){void 0===J&&(J=_.XML);var Z="number"==typeof J?{level:J}:J;return Z.mode===k.UTF8?(0,g.escapeUTF8)(L):Z.mode===k.Attribute?(0,g.escapeAttribute)(L):Z.mode===k.Text?(0,g.escapeText)(L):Z.level===_.HTML?Z.mode===k.ASCII?(0,e.encodeNonAsciiHTML)(L):(0,e.encodeHTML)(L):(0,g.encodeXML)(L)};var P=y(681);Object.defineProperty(O,"encodeXML",{enumerable:!0,get:function(){return P.encodeXML}}),Object.defineProperty(O,"escape",{enumerable:!0,get:function(){return P.escape}}),Object.defineProperty(O,"escapeUTF8",{enumerable:!0,get:function(){return P.escapeUTF8}}),Object.defineProperty(O,"escapeAttribute",{enumerable:!0,get:function(){return P.escapeAttribute}}),Object.defineProperty(O,"escapeText",{enumerable:!0,get:function(){return P.escapeText}});var U=y(6836);Object.defineProperty(O,"encodeHTML",{enumerable:!0,get:function(){return U.encodeHTML}}),Object.defineProperty(O,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return U.encodeNonAsciiHTML}}),Object.defineProperty(O,"encodeHTML4",{enumerable:!0,get:function(){return U.encodeHTML}}),Object.defineProperty(O,"encodeHTML5",{enumerable:!0,get:function(){return U.encodeHTML}});var I=y(6569);Object.defineProperty(O,"decodeXML",{enumerable:!0,get:function(){return I.decodeXML}}),Object.defineProperty(O,"decodeHTML",{enumerable:!0,get:function(){return I.decodeHTML}}),Object.defineProperty(O,"decodeHTMLStrict",{enumerable:!0,get:function(){return I.decodeHTMLStrict}}),Object.defineProperty(O,"decodeHTML4",{enumerable:!0,get:function(){return I.decodeHTML}}),Object.defineProperty(O,"decodeHTML5",{enumerable:!0,get:function(){return I.decodeHTML}}),Object.defineProperty(O,"decodeHTML4Strict",{enumerable:!0,get:function(){return I.decodeHTMLStrict}}),Object.defineProperty(O,"decodeHTML5Strict",{enumerable:!0,get:function(){return I.decodeHTMLStrict}}),Object.defineProperty(O,"decodeXMLStrict",{enumerable:!0,get:function(){return I.decodeXML}})},1188:(Se,O,y)=>{const{bech32:f,hex:e,utf8:g}=y(5521),_={bech32:"bc",pubKeyHash:0,scriptHash:5,validWitnessVersions:[0]},x={bech32:"tb",pubKeyHash:111,scriptHash:196,validWitnessVersions:[0]},k={bech32:"bcrt",pubKeyHash:111,scriptHash:196,validWitnessVersions:[0]},F={bech32:"sb",pubKeyHash:63,scriptHash:123,validWitnessVersions:[0]},S=["option_data_loss_protect","initial_routing_sync","option_upfront_shutdown_script","gossip_queries","var_onion_optin","gossip_queries_ex","option_static_remotekey","payment_secret","basic_mpp","option_support_large_channel"],D={m:BigInt(1e3),u:BigInt(1e6),n:BigInt(1e9),p:BigInt(1e12)},P=BigInt("2100000000000000000"),U=BigInt(1e11),I={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},L={};for(let $=0,Y=Object.keys(I);$e.encode(f.fromWordsUnsafe($)),16:$=>e.encode(f.fromWordsUnsafe($)),13:$=>g.encode(f.fromWordsUnsafe($)),19:$=>e.encode(f.fromWordsUnsafe($)),23:$=>e.encode(f.fromWordsUnsafe($)),27:$=>e.encode(f.fromWordsUnsafe($)),6:ne,24:ne,3:function V($){const Y=[];let X,ie,te,le,pe,ae=f.fromWordsUnsafe($);for(;ae.length>0;)X=e.encode(ae.slice(0,33)),ie=e.encode(ae.slice(33,41)),te=parseInt(e.encode(ae.slice(41,45)),16),le=parseInt(e.encode(ae.slice(45,49)),16),pe=parseInt(e.encode(ae.slice(49,51)),16),ae=ae.slice(51),Y.push({pubkey:X,short_channel_id:ie,fee_base_msat:te,fee_proportional_millionths:le,cltv_expiry_delta:pe});return Y},5:function W($){const Y=$.slice().reverse().map(te=>[!!(1&te),!!(2&te),!!(4&te),!!(8&te),!!(16&te)]).reduce((te,le)=>te.concat(le),[]);for(;Y.length<2*S.length;)Y.push(!1);const X={};S.forEach((te,le)=>{let pe;pe=Y[2*le]?"required":Y[2*le+1]?"supported":"unsupported",X[te]=pe});const ie=Y.slice(2*S.length);return X.extra_bits={start_bit:2*S.length,bits:ie,has_required:ie.reduce((te,le,pe)=>pe%2!=0?te||!1:te||le,!1)},X}};function Z($){return Y=>({tagCode:parseInt($),words:f.encode("unknown",Y,Number.MAX_SAFE_INTEGER)})}function ne($){return $.reverse().reduce((Y,X,ie)=>Y+X*Math.pow(32,ie),0)}function ue($,Y){let X,ie;if($.slice(-1).match(/^[munp]$/))X=$.slice(-1),ie=$.slice(0,-1);else{if($.slice(-1).match(/^[^munp0-9]$/))throw new Error("Not a valid multiplier for the amount");ie=$}if(!ie.match(/^\d+$/))throw new Error("Not a valid human readable amount");const te=BigInt(ie),le=X?te*U/D[X]:te*U;if("p"===X&&te%BigInt(10)!==BigInt(0)||le>P)throw new Error("Amount is outside of valid range");return Y?le.toString():le}Se.exports={decode:function fe($,Y){if("string"!=typeof $)throw new Error("Lightning Payment Request must be string");if("ln"!==$.slice(0,2).toLowerCase())throw new Error("Not a proper lightning payment request");const X=[],ie=f.decode($,Number.MAX_SAFE_INTEGER);$=$.toLowerCase();const te=ie.prefix;let le=ie.words,pe=$.slice(te.length+1),ae=le.slice(-104);le=le.slice(0,-104);let De=te.match(/^ln(\S+?)(\d*)([a-zA-Z]?)$/);if(De&&!De[2]&&(De=te.match(/^ln(\S+)$/)),!De)throw new Error("Not a proper lightning payment request");X.push({name:"lightning_network",letters:"ln"});const Ce=De[1];let Ue;if(Y){if(void 0===Y.bech32||void 0===Y.pubKeyHash||void 0===Y.scriptHash||!Array.isArray(Y.validWitnessVersions))throw new Error("Invalid network");Ue=Y}else switch(Ce){case _.bech32:Ue=_;break;case x.bech32:Ue=x;break;case k.bech32:Ue=k;break;case F.bech32:Ue=F}if(!Ue||Ue.bech32!==Ce)throw new Error("Unknown coin bech32 prefix");X.push({name:"coin_network",letters:Ce,value:Ue});const Je=De[2];let Ie;Je?(Ie=ue(Je+De[3],!0),X.push({name:"amount",letters:De[2]+De[3],value:Ie})):Ie=null,X.push({name:"separator",letters:"1"});const rt=ne(le.slice(0,7));let Fe,Le,at,Ze;for(le=le.slice(7),X.push({name:"timestamp",letters:pe.slice(0,7),value:rt}),pe=pe.slice(7);le.length>0;){const We=le[0].toString();Fe=L[We]||"unknown_tag",Le=J[We]||Z(We),le=le.slice(1),at=ne(le.slice(0,2)),le=le.slice(2),Ze=le.slice(0,at),le=le.slice(at),X.push({name:Fe,tag:pe[0],letters:pe.slice(0,3+at),value:Le(Ze)}),pe=pe.slice(3+at)}X.push({name:"signature",letters:pe.slice(0,104),value:e.encode(f.fromWordsUnsafe(ae))}),pe=pe.slice(104),X.push({name:"checksum",letters:pe});let xt={paymentRequest:$,sections:X,get expiry(){let We=X.find($t=>"expiry"===$t.name);if(We)return lt("timestamp")+We.value},get route_hints(){return X.filter(We=>"route_hint"===We.name).map(We=>We.value)}};for(let We in I)"route_hint"!==We&&Object.defineProperty(xt,We,{get:()=>lt(We)});return xt;function lt(We){let $t=X.find(Yt=>Yt.name===We);return $t?$t.value:void 0}},hrpToMillisat:ue}},7088:function(Se,O,y){!function(f){"use strict";f.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(g){return/^nm$/i.test(g)},meridiem:function(g,_,x){return g<12?x?"vm":"VM":x?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(g){return g+(1===g||8===g||g>=20?"ste":"de")},week:{dow:1,doy:4}})}(y(5439))},2502:function(Se,O,y){!function(f){"use strict";var e=function(F){return 0===F?0:1===F?1:2===F?2:F%100>=3&&F%100<=10?3:F%100>=11?4:5},g={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},_=function(F){return function(S,D,P,U){var I=e(S),L=g[F][e(S)];return 2===I&&(L=L[D?0:1]),L.replace(/%d/i,S)}},x=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];f.defineLocale("ar-dz",{months:x,monthsShort:x,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(F){return"\u0645"===F},meridiem:function(F,S,D){return F<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:_("s"),ss:_("s"),m:_("m"),mm:_("m"),h:_("h"),hh:_("h"),d:_("d"),dd:_("d"),M:_("M"),MM:_("M"),y:_("y"),yy:_("y")},postformat:function(F){return F.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(y(5439))},128:function(Se,O,y){!function(f){"use strict";f.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(y(5439))},4519:function(Se,O,y){!function(f){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},g=function(S){return 0===S?0:1===S?1:2===S?2:S%100>=3&&S%100<=10?3:S%100>=11?4:5},_={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},x=function(S){return function(D,P,U,I){var L=g(D),J=_[S][g(D)];return 2===L&&(J=J[P?0:1]),J.replace(/%d/i,D)}},k=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];f.defineLocale("ar-ly",{months:k,monthsShort:k,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(S){return"\u0645"===S},meridiem:function(S,D,P){return S<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:x("s"),ss:x("s"),m:x("m"),mm:x("m"),h:x("h"),hh:x("h"),d:x("d"),dd:x("d"),M:x("M"),MM:x("M"),y:x("y"),yy:x("y")},preparse:function(S){return S.replace(/\u060c/g,",")},postformat:function(S){return S.replace(/\d/g,function(D){return e[D]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(y(5439))},5443:function(Se,O,y){!function(f){"use strict";f.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(y(5439))},7642:function(Se,O,y){!function(f){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},g={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};f.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(x){return"\u0645"===x},meridiem:function(x,k,F){return x<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(x){return x.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(k){return g[k]}).replace(/\u060c/g,",")},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(y(5439))},8592:function(Se,O,y){!function(f){"use strict";f.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(y(5439))},7038:function(Se,O,y){!function(f){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},g={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},_=function(D){return 0===D?0:1===D?1:2===D?2:D%100>=3&&D%100<=10?3:D%100>=11?4:5},x={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},k=function(D){return function(P,U,I,L){var J=_(P),Z=x[D][_(P)];return 2===J&&(Z=Z[U?0:1]),Z.replace(/%d/i,P)}},F=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];f.defineLocale("ar",{months:F,monthsShort:F,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(D){return"\u0645"===D},meridiem:function(D,P,U){return D<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:k("s"),ss:k("s"),m:k("m"),mm:k("m"),h:k("h"),hh:k("h"),d:k("d"),dd:k("d"),M:k("M"),MM:k("M"),y:k("y"),yy:k("y")},preparse:function(D){return D.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(P){return g[P]}).replace(/\u060c/g,",")},postformat:function(D){return D.replace(/\d/g,function(P){return e[P]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(y(5439))},1213:function(Se,O,y){!function(f){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};f.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(_){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(_)},meridiem:function(_,x,k){return _<4?"gec\u0259":_<12?"s\u0259h\u0259r":_<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(_){if(0===_)return _+"-\u0131nc\u0131";var x=_%10;return _+(e[x]||e[_%100-x]||e[_>=100?100:null])},week:{dow:1,doy:7}})}(y(5439))},9191:function(Se,O,y){!function(f){"use strict";function g(x,k,F){return"m"===F?k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===F?k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":x+" "+function e(x,k){var F=x.split("_");return k%10==1&&k%100!=11?F[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?F[1]:F[2]}({ss:k?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[F],+x)}f.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:g,mm:g,h:g,hh:g,d:"\u0434\u0437\u0435\u043d\u044c",dd:g,M:"\u043c\u0435\u0441\u044f\u0446",MM:g,y:"\u0433\u043e\u0434",yy:g},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(x){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(x)},meridiem:function(x,k,F){return x<4?"\u043d\u043e\u0447\u044b":x<12?"\u0440\u0430\u043d\u0456\u0446\u044b":x<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(x,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return x%10!=2&&x%10!=3||x%100==12||x%100==13?x+"-\u044b":x+"-\u0456";case"D":return x+"-\u0433\u0430";default:return x}},week:{dow:1,doy:7}})}(y(5439))},322:function(Se,O,y){!function(f){"use strict";f.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(g){var _=g%10,x=g%100;return 0===g?g+"-\u0435\u0432":0===x?g+"-\u0435\u043d":x>10&&x<20?g+"-\u0442\u0438":1===_?g+"-\u0432\u0438":2===_?g+"-\u0440\u0438":7===_||8===_?g+"-\u043c\u0438":g+"-\u0442\u0438"},week:{dow:1,doy:7}})}(y(5439))},8042:function(Se,O,y){!function(f){"use strict";f.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(y(5439))},5903:function(Se,O,y){!function(f){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},g={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};f.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(x){return x.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(x,k){return 12===x&&(x=0),"\u09b0\u09be\u09a4"===k?x<4?x:x+12:"\u09ad\u09cb\u09b0"===k||"\u09b8\u0995\u09be\u09b2"===k?x:"\u09a6\u09c1\u09aa\u09c1\u09b0"===k?x>=3?x:x+12:"\u09ac\u09bf\u0995\u09be\u09b2"===k||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===k?x+12:void 0},meridiem:function(x,k,F){return x<4?"\u09b0\u09be\u09a4":x<6?"\u09ad\u09cb\u09b0":x<12?"\u09b8\u0995\u09be\u09b2":x<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":x<18?"\u09ac\u09bf\u0995\u09be\u09b2":x<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(y(5439))},9620:function(Se,O,y){!function(f){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},g={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};f.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(x){return x.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(x,k){return 12===x&&(x=0),"\u09b0\u09be\u09a4"===k&&x>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===k&&x<5||"\u09ac\u09bf\u0995\u09be\u09b2"===k?x+12:x},meridiem:function(x,k,F){return x<4?"\u09b0\u09be\u09a4":x<10?"\u09b8\u0995\u09be\u09b2":x<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":x<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(y(5439))},9645:function(Se,O,y){!function(f){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},g={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};f.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(x){return x.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(x,k){return 12===x&&(x=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===k&&x>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===k&&x<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===k?x+12:x},meridiem:function(x,k,F){return x<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":x<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":x<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":x<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(y(5439))},5020:function(Se,O,y){!function(f){"use strict";function e(Z,ne,V){return Z+" "+function x(Z,ne){return 2===ne?function k(Z){var ne={m:"v",b:"v",d:"z"};return void 0===ne[Z.charAt(0)]?Z:ne[Z.charAt(0)]+Z.substring(1)}(Z):Z}({mm:"munutenn",MM:"miz",dd:"devezh"}[V],Z)}function _(Z){return Z>9?_(Z%10):Z}var F=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],S=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,L=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];f.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:L,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:L,monthsRegex:S,monthsShortRegex:S,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function g(Z){switch(_(Z)){case 1:case 3:case 4:case 5:case 9:return Z+" bloaz";default:return Z+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(Z){return Z+(1===Z?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(Z){return"g.m."===Z},meridiem:function(Z,ne,V){return Z<12?"a.m.":"g.m."}})}(y(5439))},4792:function(Se,O,y){!function(f){"use strict";function e(_,x,k){var F=_+" ";switch(k){case"ss":return F+(1===_?"sekunda":2===_||3===_||4===_?"sekunde":"sekundi");case"m":return x?"jedna minuta":"jedne minute";case"mm":return F+(1===_?"minuta":2===_||3===_||4===_?"minute":"minuta");case"h":return x?"jedan sat":"jednog sata";case"hh":return F+(1===_?"sat":2===_||3===_||4===_?"sata":"sati");case"dd":return F+(1===_?"dan":"dana");case"MM":return F+(1===_?"mjesec":2===_||3===_||4===_?"mjeseca":"mjeseci");case"yy":return F+(1===_?"godina":2===_||3===_||4===_?"godine":"godina")}}f.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},7980:function(Se,O,y){!function(f){"use strict";f.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(g,_){var x=1===g?"r":2===g?"n":3===g?"r":4===g?"t":"\xe8";return("w"===_||"W"===_)&&(x="a"),g+x},week:{dow:1,doy:4}})}(y(5439))},7322:function(Se,O,y){!function(f){"use strict";var e={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},g="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),_=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],x=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function k(D){return D>1&&D<5&&1!=~~(D/10)}function F(D,P,U,I){var L=D+" ";switch(U){case"s":return P||I?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return P||I?L+(k(D)?"sekundy":"sekund"):L+"sekundami";case"m":return P?"minuta":I?"minutu":"minutou";case"mm":return P||I?L+(k(D)?"minuty":"minut"):L+"minutami";case"h":return P?"hodina":I?"hodinu":"hodinou";case"hh":return P||I?L+(k(D)?"hodiny":"hodin"):L+"hodinami";case"d":return P||I?"den":"dnem";case"dd":return P||I?L+(k(D)?"dny":"dn\xed"):L+"dny";case"M":return P||I?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return P||I?L+(k(D)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):L+"m\u011bs\xedci";case"y":return P||I?"rok":"rokem";case"yy":return P||I?L+(k(D)?"roky":"let"):L+"lety"}}f.defineLocale("cs",{months:e,monthsShort:g,monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:F,ss:F,m:F,mm:F,h:F,hh:F,d:F,dd:F,M:F,MM:F,y:F,yy:F},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},365:function(Se,O,y){!function(f){"use strict";f.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(g){return g+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(g)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(g)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(y(5439))},2092:function(Se,O,y){!function(f){"use strict";f.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(g){var x="";return g>20?x=40===g||50===g||60===g||80===g||100===g?"fed":"ain":g>0&&(x=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][g]),g+x},week:{dow:1,doy:4}})}(y(5439))},7387:function(Se,O,y){!function(f){"use strict";f.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},9459:function(Se,O,y){!function(f){"use strict";function e(_,x,k,F){var S={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return x?S[k][0]:S[k][1]}f.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},3694:function(Se,O,y){!function(f){"use strict";function e(_,x,k,F){var S={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return x?S[k][0]:S[k][1]}f.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},4307:function(Se,O,y){!function(f){"use strict";function e(_,x,k,F){var S={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return x?S[k][0]:S[k][1]}f.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},9659:function(Se,O,y){!function(f){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],g=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];f.defineLocale("dv",{months:e,monthsShort:e,weekdays:g,weekdaysShort:g,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(x){return"\u0789\u078a"===x},meridiem:function(x,k,F){return x<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(x){return x.replace(/\u060c/g,",")},postformat:function(x){return x.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(y(5439))},3460:function(Se,O,y){!function(f){"use strict";f.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(_,x){return _?"string"==typeof x&&/D/.test(x.substring(0,x.indexOf("MMMM")))?this._monthsGenitiveEl[_.month()]:this._monthsNominativeEl[_.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(_,x,k){return _>11?k?"\u03bc\u03bc":"\u039c\u039c":k?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(_){return"\u03bc"===(_+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(_,x){var k=this._calendarEl[_],F=x&&x.hours();return function e(_){return typeof Function<"u"&&_ instanceof Function||"[object Function]"===Object.prototype.toString.call(_)}(k)&&(k=k.apply(x)),k.replace("{}",F%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(y(5439))},4369:function(Se,O,y){!function(f){"use strict";f.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:0,doy:4}})}(y(5439))},530:function(Se,O,y){!function(f){"use strict";f.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")}})}(y(5439))},9998:function(Se,O,y){!function(f){"use strict";f.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(y(5439))},3391:function(Se,O,y){!function(f){"use strict";f.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(y(5439))},5414:function(Se,O,y){!function(f){"use strict";f.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")}})}(y(5439))},9615:function(Se,O,y){!function(f){"use strict";f.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:0,doy:6}})}(y(5439))},1248:function(Se,O,y){!function(f){"use strict";f.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(y(5439))},3767:function(Se,O,y){!function(f){"use strict";f.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(y(5439))},4530:function(Se,O,y){!function(f){"use strict";f.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(g){return"p"===g.charAt(0).toLowerCase()},meridiem:function(g,_,x){return g>11?x?"p.t.m.":"P.T.M.":x?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(y(5439))},8944:function(Se,O,y){!function(f){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],x=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;f.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,S){return F?/-MMM-/.test(S)?g[F.month()]:e[F.month()]:e},monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(y(5439))},9116:function(Se,O,y){!function(f){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],x=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;f.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,S){return F?/-MMM-/.test(S)?g[F.month()]:e[F.month()]:e},monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(y(5439))},3609:function(Se,O,y){!function(f){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],x=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;f.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,S){return F?/-MMM-/.test(S)?g[F.month()]:e[F.month()]:e},monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(y(5439))},6866:function(Se,O,y){!function(f){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],x=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;f.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,S){return F?/-MMM-/.test(S)?g[F.month()]:e[F.month()]:e},monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(y(5439))},6725:function(Se,O,y){!function(f){"use strict";function e(_,x,k,F){var S={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[_+"sekundi",_+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[_+" minuti",_+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[_+" tunni",_+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[_+" kuu",_+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[_+" aasta",_+" aastat"]};return x?S[k][2]?S[k][2]:S[k][1]:F?S[k][0]:S[k][1]}f.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},7931:function(Se,O,y){!function(f){"use strict";f.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},6417:function(Se,O,y){!function(f){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},g={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};f.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(x){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(x)},meridiem:function(x,k,F){return x<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(x){return x.replace(/[\u06f0-\u06f9]/g,function(k){return g[k]}).replace(/\u060c/g,",")},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(y(5439))},944:function(Se,O,y){!function(f){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),g=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function _(F,S,D,P){var U="";switch(D){case"s":return P?"muutaman sekunnin":"muutama sekunti";case"ss":U=P?"sekunnin":"sekuntia";break;case"m":return P?"minuutin":"minuutti";case"mm":U=P?"minuutin":"minuuttia";break;case"h":return P?"tunnin":"tunti";case"hh":U=P?"tunnin":"tuntia";break;case"d":return P?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":U=P?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return P?"kuukauden":"kuukausi";case"MM":U=P?"kuukauden":"kuukautta";break;case"y":return P?"vuoden":"vuosi";case"yy":U=P?"vuoden":"vuotta"}return function x(F,S){return F<10?S?g[F]:e[F]:F}(F,P)+" "+U}f.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:_,ss:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},1766:function(Se,O,y){!function(f){"use strict";f.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(g){return g},week:{dow:1,doy:4}})}(y(5439))},5867:function(Se,O,y){!function(f){"use strict";f.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},6848:function(Se,O,y){!function(f){"use strict";f.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(g,_){switch(_){default:case"M":case"Q":case"D":case"DDD":case"d":return g+(1===g?"er":"e");case"w":case"W":return g+(1===g?"re":"e")}}})}(y(5439))},7773:function(Se,O,y){!function(f){"use strict";f.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(g,_){switch(_){default:case"M":case"Q":case"D":case"DDD":case"d":return g+(1===g?"er":"e");case"w":case"W":return g+(1===g?"re":"e")}},week:{dow:1,doy:4}})}(y(5439))},1636:function(Se,O,y){!function(f){"use strict";var _=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,x=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];f.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:_,monthsShortRegex:_,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:x,longMonthsParse:x,shortMonthsParse:x,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(F,S){switch(S){case"D":return F+(1===F?"er":"");default:case"M":case"Q":case"DDD":case"d":return F+(1===F?"er":"e");case"w":case"W":return F+(1===F?"re":"e")}},week:{dow:1,doy:4}})}(y(5439))},4940:function(Se,O,y){!function(f){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),g="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");f.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(x,k){return x?/-MMM-/.test(k)?g[x.month()]:e[x.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(x){return x+(1===x||8===x||x>=20?"ste":"de")},week:{dow:1,doy:4}})}(y(5439))},1402:function(Se,O,y){!function(f){"use strict";f.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(S){return S+(1===S?"d":S%10==2?"na":"mh")},week:{dow:1,doy:4}})}(y(5439))},6924:function(Se,O,y){!function(f){"use strict";f.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(S){return S+(1===S?"d":S%10==2?"na":"mh")},week:{dow:1,doy:4}})}(y(5439))},6398:function(Se,O,y){!function(f){"use strict";f.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(g){return 0===g.indexOf("un")?"n"+g:"en "+g},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(y(5439))},2457:function(Se,O,y){!function(f){"use strict";function e(_,x,k,F){var S={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[_+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",_+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[_+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",_+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[_+" \u0935\u0930\u093e\u0902\u0928\u0940",_+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[_+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",_+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[_+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",_+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[_+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",_+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return F?S[k][0]:S[k][1]}f.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(_,x){return"D"===x?_+"\u0935\u0947\u0930":_},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(_,x){return 12===_&&(_=0),"\u0930\u093e\u0924\u0940"===x?_<4?_:_+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===x?_:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===x?_>12?_:_+12:"\u0938\u093e\u0902\u091c\u0947"===x?_+12:void 0},meridiem:function(_,x,k){return _<4?"\u0930\u093e\u0924\u0940":_<12?"\u0938\u0915\u093e\u0933\u0940\u0902":_<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":_<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(y(5439))},2545:function(Se,O,y){!function(f){"use strict";function e(_,x,k,F){var S={s:["thoddea sekondamni","thodde sekond"],ss:[_+" sekondamni",_+" sekond"],m:["eka mintan","ek minut"],mm:[_+" mintamni",_+" mintam"],h:["eka voran","ek vor"],hh:[_+" voramni",_+" voram"],d:["eka disan","ek dis"],dd:[_+" disamni",_+" dis"],M:["eka mhoinean","ek mhoino"],MM:[_+" mhoineamni",_+" mhoine"],y:["eka vorsan","ek voros"],yy:[_+" vorsamni",_+" vorsam"]};return F?S[k][0]:S[k][1]}f.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(_,x){return"D"===x?_+"er":_},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(_,x){return 12===_&&(_=0),"rati"===x?_<4?_:_+12:"sokallim"===x?_:"donparam"===x?_>12?_:_+12:"sanje"===x?_+12:void 0},meridiem:function(_,x,k){return _<4?"rati":_<12?"sokallim":_<16?"donparam":_<20?"sanje":"rati"}})}(y(5439))},2641:function(Se,O,y){!function(f){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},g={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};f.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(x){return x.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(x,k){return 12===x&&(x=0),"\u0ab0\u0abe\u0aa4"===k?x<4?x:x+12:"\u0ab8\u0ab5\u0abe\u0ab0"===k?x:"\u0aac\u0aaa\u0acb\u0ab0"===k?x>=10?x:x+12:"\u0ab8\u0abe\u0a82\u0a9c"===k?x+12:void 0},meridiem:function(x,k,F){return x<4?"\u0ab0\u0abe\u0aa4":x<10?"\u0ab8\u0ab5\u0abe\u0ab0":x<17?"\u0aac\u0aaa\u0acb\u0ab0":x<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(y(5439))},7536:function(Se,O,y){!function(f){"use strict";f.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(g){return 2===g?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":g+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(g){return 2===g?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":g+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(g){return 2===g?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":g+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(g){return 2===g?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":g%10==0&&10!==g?g+" \u05e9\u05e0\u05d4":g+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(g){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(g)},meridiem:function(g,_,x){return g<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":g<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":g<12?x?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":g<18?x?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(y(5439))},6335:function(Se,O,y){!function(f){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},g={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},_=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];f.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:_,longMonthsParse:_,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(F){return F.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(S){return g[S]})},postformat:function(F){return F.replace(/\d/g,function(S){return e[S]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(F,S){return 12===F&&(F=0),"\u0930\u093e\u0924"===S?F<4?F:F+12:"\u0938\u0941\u092c\u0939"===S?F:"\u0926\u094b\u092a\u0939\u0930"===S?F>=10?F:F+12:"\u0936\u093e\u092e"===S?F+12:void 0},meridiem:function(F,S,D){return F<4?"\u0930\u093e\u0924":F<10?"\u0938\u0941\u092c\u0939":F<17?"\u0926\u094b\u092a\u0939\u0930":F<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(y(5439))},7458:function(Se,O,y){!function(f){"use strict";function e(_,x,k){var F=_+" ";switch(k){case"ss":return F+(1===_?"sekunda":2===_||3===_||4===_?"sekunde":"sekundi");case"m":return x?"jedna minuta":"jedne minute";case"mm":return F+(1===_?"minuta":2===_||3===_||4===_?"minute":"minuta");case"h":return x?"jedan sat":"jednog sata";case"hh":return F+(1===_?"sat":2===_||3===_||4===_?"sata":"sati");case"dd":return F+(1===_?"dan":"dana");case"MM":return F+(1===_?"mjesec":2===_||3===_||4===_?"mjeseca":"mjeseci");case"yy":return F+(1===_?"godina":2===_||3===_||4===_?"godine":"godina")}}f.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},6540:function(Se,O,y){!function(f){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function g(k,F,S,D){var P=k;switch(S){case"s":return D||F?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return P+(D||F)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(D||F?" perc":" perce");case"mm":return P+(D||F?" perc":" perce");case"h":return"egy"+(D||F?" \xf3ra":" \xf3r\xe1ja");case"hh":return P+(D||F?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(D||F?" nap":" napja");case"dd":return P+(D||F?" nap":" napja");case"M":return"egy"+(D||F?" h\xf3nap":" h\xf3napja");case"MM":return P+(D||F?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(D||F?" \xe9v":" \xe9ve");case"yy":return P+(D||F?" \xe9v":" \xe9ve")}return""}function _(k){return(k?"":"[m\xfalt] ")+"["+e[this.day()]+"] LT[-kor]"}f.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(k){return"u"===k.charAt(1).toLowerCase()},meridiem:function(k,F,S){return k<12?!0===S?"de":"DE":!0===S?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return _.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return _.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},5283:function(Se,O,y){!function(f){"use strict";f.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(g){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(g)},meridiem:function(g){return g<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":g<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":g<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(g,_){switch(_){case"DDD":case"w":case"W":case"DDDo":return 1===g?g+"-\u056b\u0576":g+"-\u0580\u0564";default:return g}},week:{dow:1,doy:7}})}(y(5439))},8780:function(Se,O,y){!function(f){"use strict";f.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(g,_){return 12===g&&(g=0),"pagi"===_?g:"siang"===_?g>=11?g:g+12:"sore"===_||"malam"===_?g+12:void 0},meridiem:function(g,_,x){return g<11?"pagi":g<15?"siang":g<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(y(5439))},4205:function(Se,O,y){!function(f){"use strict";function e(x){return x%100==11||x%10!=1}function g(x,k,F,S){var D=x+" ";switch(F){case"s":return k||S?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(x)?D+(k||S?"sek\xfandur":"sek\xfandum"):D+"sek\xfanda";case"m":return k?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(x)?D+(k||S?"m\xedn\xfatur":"m\xedn\xfatum"):k?D+"m\xedn\xfata":D+"m\xedn\xfatu";case"hh":return e(x)?D+(k||S?"klukkustundir":"klukkustundum"):D+"klukkustund";case"d":return k?"dagur":S?"dag":"degi";case"dd":return e(x)?k?D+"dagar":D+(S?"daga":"d\xf6gum"):k?D+"dagur":D+(S?"dag":"degi");case"M":return k?"m\xe1nu\xf0ur":S?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(x)?k?D+"m\xe1nu\xf0ir":D+(S?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):k?D+"m\xe1nu\xf0ur":D+(S?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return k||S?"\xe1r":"\xe1ri";case"yy":return e(x)?D+(k||S?"\xe1r":"\xe1rum"):D+(k||S?"\xe1r":"\xe1ri")}}f.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:g,ss:g,m:g,mm:g,h:"klukkustund",hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},9985:function(Se,O,y){!function(f){"use strict";f.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(g){return(/^[0-9].+$/.test(g)?"tra":"in")+" "+g},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(y(5439))},4211:function(Se,O,y){!function(f){"use strict";f.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(y(5439))},1003:function(Se,O,y){!function(f){"use strict";f.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(g,_){return"\u5143"===_[1]?1:parseInt(_[1]||g,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(g){return"\u5348\u5f8c"===g},meridiem:function(g,_,x){return g<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(g){return g.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(g){return this.week()!==g.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(g,_){switch(_){case"y":return 1===g?"\u5143\u5e74":g+"\u5e74";case"d":case"D":case"DDD":return g+"\u65e5";default:return g}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(y(5439))},420:function(Se,O,y){!function(f){"use strict";f.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(g,_){return 12===g&&(g=0),"enjing"===_?g:"siyang"===_?g>=11?g:g+12:"sonten"===_||"ndalu"===_?g+12:void 0},meridiem:function(g,_,x){return g<11?"enjing":g<15?"siyang":g<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(y(5439))},851:function(Se,O,y){!function(f){"use strict";f.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(g){return g.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(_,x,k){return"\u10d8"===k?x+"\u10e8\u10d8":x+k+"\u10e8\u10d8"})},past:function(g){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(g)?g.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(g)?g.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):g},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(g){return 0===g?g:1===g?g+"-\u10da\u10d8":g<20||g<=100&&g%20==0||g%100==0?"\u10db\u10d4-"+g:g+"-\u10d4"},week:{dow:1,doy:7}})}(y(5439))},6074:function(Se,O,y){!function(f){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};f.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(_){return _+(e[_]||e[_%10]||e[_>=100?100:null])},week:{dow:1,doy:7}})}(y(5439))},3343:function(Se,O,y){!function(f){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},g={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};f.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(x){return"\u179b\u17d2\u1784\u17b6\u1785"===x},meridiem:function(x,k,F){return x<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(x){return x.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},week:{dow:1,doy:4}})}(y(5439))},4799:function(Se,O,y){!function(f){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},g={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};f.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(x){return x.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(x,k){return 12===x&&(x=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===k?x<4?x:x+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===k?x:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===k?x>=10?x:x+12:"\u0cb8\u0c82\u0c9c\u0cc6"===k?x+12:void 0},meridiem:function(x,k,F){return x<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":x<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":x<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":x<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(x){return x+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(y(5439))},3549:function(Se,O,y){!function(f){"use strict";f.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(g,_){switch(_){case"d":case"D":case"DDD":return g+"\uc77c";case"M":return g+"\uc6d4";case"w":case"W":return g+"\uc8fc";default:return g}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(g){return"\uc624\ud6c4"===g},meridiem:function(g,_,x){return g<12?"\uc624\uc804":"\uc624\ud6c4"}})}(y(5439))},1037:function(Se,O,y){!function(f){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},g={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},_=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];f.defineLocale("ku",{months:_,monthsShort:_,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(k){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(k)},meridiem:function(k,F,S){return k<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(k){return k.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(F){return g[F]}).replace(/\u060c/g,",")},postformat:function(k){return k.replace(/\d/g,function(F){return e[F]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(y(5439))},3125:function(Se,O,y){!function(f){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};f.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(_){return _+(e[_]||e[_%10]||e[_>=100?100:null])},week:{dow:1,doy:7}})}(y(5439))},9586:function(Se,O,y){!function(f){"use strict";function e(F,S,D,P){var U={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return S?U[D][0]:U[D][1]}function x(F){if(F=parseInt(F,10),isNaN(F))return!1;if(F<0)return!0;if(F<10)return 4<=F&&F<=7;if(F<100){var S=F%10;return x(0===S?F/10:S)}if(F<1e4){for(;F>=10;)F/=10;return x(F)}return x(F/=1e3)}f.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function g(F){return x(F.substr(0,F.indexOf(" ")))?"a "+F:"an "+F},past:function _(F){return x(F.substr(0,F.indexOf(" ")))?"viru "+F:"virun "+F},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},2349:function(Se,O,y){!function(f){"use strict";f.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(g){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===g},meridiem:function(g,_,x){return g<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(g){return"\u0e97\u0eb5\u0ec8"+g}})}(y(5439))},2400:function(Se,O,y){!function(f){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function _(D,P,U,I){return P?k(U)[0]:I?k(U)[1]:k(U)[2]}function x(D){return D%10==0||D>10&&D<20}function k(D){return e[D].split("_")}function F(D,P,U,I){var L=D+" ";return 1===D?L+_(0,P,U[0],I):P?L+(x(D)?k(U)[1]:k(U)[0]):I?L+k(U)[1]:L+(x(D)?k(U)[1]:k(U)[2])}f.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function g(D,P,U,I){return P?"kelios sekund\u0117s":I?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:F,m:_,mm:F,h:_,hh:F,d:_,dd:F,M:_,MM:F,y:_,yy:F},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(D){return D+"-oji"},week:{dow:1,doy:4}})}(y(5439))},9991:function(Se,O,y){!function(f){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function g(S,D,P){return P?D%10==1&&D%100!=11?S[2]:S[3]:D%10==1&&D%100!=11?S[0]:S[1]}function _(S,D,P){return S+" "+g(e[P],S,D)}function x(S,D,P){return g(e[P],S,D)}f.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function k(S,D){return D?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:_,m:x,mm:_,h:x,hh:_,d:x,dd:_,M:x,MM:_,y:x,yy:_},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},8477:function(Se,O,y){!function(f){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(_,x){return 1===_?x[0]:_>=2&&_<=4?x[1]:x[2]},translate:function(_,x,k){var F=e.words[k];return 1===k.length?x?F[0]:F[1]:_+" "+e.correctGrammaticalCase(_,F)}};f.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},5118:function(Se,O,y){!function(f){"use strict";f.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(y(5439))},5943:function(Se,O,y){!function(f){"use strict";f.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(g){var _=g%10,x=g%100;return 0===g?g+"-\u0435\u0432":0===x?g+"-\u0435\u043d":x>10&&x<20?g+"-\u0442\u0438":1===_?g+"-\u0432\u0438":2===_?g+"-\u0440\u0438":7===_||8===_?g+"-\u043c\u0438":g+"-\u0442\u0438"},week:{dow:1,doy:7}})}(y(5439))},3849:function(Se,O,y){!function(f){"use strict";f.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(g,_){return 12===g&&(g=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===_&&g>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===_||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===_?g+12:g},meridiem:function(g,_,x){return g<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":g<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":g<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":g<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(y(5439))},1977:function(Se,O,y){!function(f){"use strict";function e(_,x,k,F){switch(k){case"s":return x?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return _+(x?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return _+(x?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return _+(x?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return _+(x?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return _+(x?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return _+(x?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return _}}f.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(_){return"\u04ae\u0425"===_},meridiem:function(_,x,k){return _<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(_,x){switch(x){case"d":case"D":case"DDD":return _+" \u04e9\u0434\u04e9\u0440";default:return _}}})}(y(5439))},6184:function(Se,O,y){!function(f){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},g={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function _(k,F,S,D){var P="";if(F)switch(S){case"s":P="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":P="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":P="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":P="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":P="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":P="%d \u0924\u093e\u0938";break;case"d":P="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":P="%d \u0926\u093f\u0935\u0938";break;case"M":P="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":P="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":P="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":P="%d \u0935\u0930\u094d\u0937\u0947"}else switch(S){case"s":P="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":P="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":P="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":P="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":P="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":P="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":P="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":P="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":P="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":P="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":P="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":P="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return P.replace(/%d/i,k)}f.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:_,ss:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},preparse:function(k){return k.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(F){return g[F]})},postformat:function(k){return k.replace(/\d/g,function(F){return e[F]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(k,F){return 12===k&&(k=0),"\u092a\u0939\u093e\u091f\u0947"===F||"\u0938\u0915\u093e\u0933\u0940"===F?k:"\u0926\u0941\u092a\u093e\u0930\u0940"===F||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===F||"\u0930\u093e\u0924\u094d\u0930\u0940"===F?k>=12?k:k+12:void 0},meridiem:function(k,F,S){return k>=0&&k<6?"\u092a\u0939\u093e\u091f\u0947":k<12?"\u0938\u0915\u093e\u0933\u0940":k<17?"\u0926\u0941\u092a\u093e\u0930\u0940":k<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(y(5439))},4524:function(Se,O,y){!function(f){"use strict";f.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(g,_){return 12===g&&(g=0),"pagi"===_?g:"tengahari"===_?g>=11?g:g+12:"petang"===_||"malam"===_?g+12:void 0},meridiem:function(g,_,x){return g<11?"pagi":g<15?"tengahari":g<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(y(5439))},485:function(Se,O,y){!function(f){"use strict";f.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(g,_){return 12===g&&(g=0),"pagi"===_?g:"tengahari"===_?g>=11?g:g+12:"petang"===_||"malam"===_?g+12:void 0},meridiem:function(g,_,x){return g<11?"pagi":g<15?"tengahari":g<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(y(5439))},6681:function(Se,O,y){!function(f){"use strict";f.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(y(5439))},2024:function(Se,O,y){!function(f){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},g={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};f.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(x){return x.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},week:{dow:1,doy:4}})}(y(5439))},2688:function(Se,O,y){!function(f){"use strict";f.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},8914:function(Se,O,y){!function(f){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},g={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};f.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(x){return x.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(x,k){return 12===x&&(x=0),"\u0930\u093e\u0924\u093f"===k?x<4?x:x+12:"\u092c\u093f\u0939\u093e\u0928"===k?x:"\u0926\u093f\u0909\u0901\u0938\u094b"===k?x>=10?x:x+12:"\u0938\u093e\u0901\u091d"===k?x+12:void 0},meridiem:function(x,k,F){return x<3?"\u0930\u093e\u0924\u093f":x<12?"\u092c\u093f\u0939\u093e\u0928":x<16?"\u0926\u093f\u0909\u0901\u0938\u094b":x<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(y(5439))},2272:function(Se,O,y){!function(f){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),g="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),_=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],x=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;f.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(F,S){return F?/-MMM-/.test(S)?g[F.month()]:e[F.month()]:e},monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(F){return F+(1===F||8===F||F>=20?"ste":"de")},week:{dow:1,doy:4}})}(y(5439))},1758:function(Se,O,y){!function(f){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),g="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),_=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],x=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;f.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(F,S){return F?/-MMM-/.test(S)?g[F.month()]:e[F.month()]:e},monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(F){return F+(1===F||8===F||F>=20?"ste":"de")},week:{dow:1,doy:4}})}(y(5439))},1510:function(Se,O,y){!function(f){"use strict";f.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},2797:function(Se,O,y){!function(f){"use strict";f.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(g,_){var x=1===g?"r":2===g?"n":3===g?"r":4===g?"t":"\xe8";return("w"===_||"W"===_)&&(x="a"),g+x},week:{dow:1,doy:4}})}(y(5439))},7944:function(Se,O,y){!function(f){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},g={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};f.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(x){return x.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(x,k){return 12===x&&(x=0),"\u0a30\u0a3e\u0a24"===k?x<4?x:x+12:"\u0a38\u0a35\u0a47\u0a30"===k?x:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===k?x>=10?x:x+12:"\u0a38\u0a3c\u0a3e\u0a2e"===k?x+12:void 0},meridiem:function(x,k,F){return x<4?"\u0a30\u0a3e\u0a24":x<10?"\u0a38\u0a35\u0a47\u0a30":x<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":x<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(y(5439))},1605:function(Se,O,y){!function(f){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),g="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),_=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function x(S){return S%10<5&&S%10>1&&~~(S/10)%10!=1}function k(S,D,P){var U=S+" ";switch(P){case"ss":return U+(x(S)?"sekundy":"sekund");case"m":return D?"minuta":"minut\u0119";case"mm":return U+(x(S)?"minuty":"minut");case"h":return D?"godzina":"godzin\u0119";case"hh":return U+(x(S)?"godziny":"godzin");case"ww":return U+(x(S)?"tygodnie":"tygodni");case"MM":return U+(x(S)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return U+(x(S)?"lata":"lat")}}f.defineLocale("pl",{months:function(S,D){return S?/D MMMM/.test(D)?g[S.month()]:e[S.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:k,m:k,mm:k,h:k,hh:k,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:k,M:"miesi\u0105c",MM:k,y:"rok",yy:k},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},3840:function(Se,O,y){!function(f){"use strict";f.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(y(5439))},4225:function(Se,O,y){!function(f){"use strict";f.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(y(5439))},5128:function(Se,O,y){!function(f){"use strict";function e(_,x,k){var S=" ";return(_%100>=20||_>=100&&_%100==0)&&(S=" de "),_+S+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[k]}f.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(y(5439))},5127:function(Se,O,y){!function(f){"use strict";function g(k,F,S){return"m"===S?F?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":k+" "+function e(k,F){var S=k.split("_");return F%10==1&&F%100!=11?S[0]:F%10>=2&&F%10<=4&&(F%100<10||F%100>=20)?S[1]:S[2]}({ss:F?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:F?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[S],+k)}var _=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];f.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:_,longMonthsParse:_,shortMonthsParse:_,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:g,m:g,mm:g,h:"\u0447\u0430\u0441",hh:g,d:"\u0434\u0435\u043d\u044c",dd:g,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:g,M:"\u043c\u0435\u0441\u044f\u0446",MM:g,y:"\u0433\u043e\u0434",yy:g},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(k){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(k)},meridiem:function(k,F,S){return k<4?"\u043d\u043e\u0447\u0438":k<12?"\u0443\u0442\u0440\u0430":k<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(k,F){switch(F){case"M":case"d":case"DDD":return k+"-\u0439";case"D":return k+"-\u0433\u043e";case"w":case"W":return k+"-\u044f";default:return k}},week:{dow:1,doy:4}})}(y(5439))},2525:function(Se,O,y){!function(f){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],g=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];f.defineLocale("sd",{months:e,monthsShort:e,weekdays:g,weekdaysShort:g,weekdaysMin:g,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(x){return"\u0634\u0627\u0645"===x},meridiem:function(x,k,F){return x<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(x){return x.replace(/\u060c/g,",")},postformat:function(x){return x.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(y(5439))},9893:function(Se,O,y){!function(f){"use strict";f.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},3123:function(Se,O,y){!function(f){"use strict";f.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(g){return g+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(g){return"\u0db4.\u0dc0."===g||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===g},meridiem:function(g,_,x){return g>11?x?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":x?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(y(5439))},3027:function(Se,O,y){!function(f){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),g="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function _(F){return F>1&&F<5}function x(F,S,D,P){var U=F+" ";switch(D){case"s":return S||P?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return S||P?U+(_(F)?"sekundy":"sek\xfand"):U+"sekundami";case"m":return S?"min\xfata":P?"min\xfatu":"min\xfatou";case"mm":return S||P?U+(_(F)?"min\xfaty":"min\xfat"):U+"min\xfatami";case"h":return S?"hodina":P?"hodinu":"hodinou";case"hh":return S||P?U+(_(F)?"hodiny":"hod\xedn"):U+"hodinami";case"d":return S||P?"de\u0148":"d\u0148om";case"dd":return S||P?U+(_(F)?"dni":"dn\xed"):U+"d\u0148ami";case"M":return S||P?"mesiac":"mesiacom";case"MM":return S||P?U+(_(F)?"mesiace":"mesiacov"):U+"mesiacmi";case"y":return S||P?"rok":"rokom";case"yy":return S||P?U+(_(F)?"roky":"rokov"):U+"rokmi"}}f.defineLocale("sk",{months:e,monthsShort:g,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:x,ss:x,m:x,mm:x,h:x,hh:x,d:x,dd:x,M:x,MM:x,y:x,yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},8106:function(Se,O,y){!function(f){"use strict";function e(_,x,k,F){var S=_+" ";switch(k){case"s":return x||F?"nekaj sekund":"nekaj sekundami";case"ss":return S+(1===_?x?"sekundo":"sekundi":2===_?x||F?"sekundi":"sekundah":_<5?x||F?"sekunde":"sekundah":"sekund");case"m":return x?"ena minuta":"eno minuto";case"mm":return S+(1===_?x?"minuta":"minuto":2===_?x||F?"minuti":"minutama":_<5?x||F?"minute":"minutami":x||F?"minut":"minutami");case"h":return x?"ena ura":"eno uro";case"hh":return S+(1===_?x?"ura":"uro":2===_?x||F?"uri":"urama":_<5?x||F?"ure":"urami":x||F?"ur":"urami");case"d":return x||F?"en dan":"enim dnem";case"dd":return S+(1===_?x||F?"dan":"dnem":2===_?x||F?"dni":"dnevoma":x||F?"dni":"dnevi");case"M":return x||F?"en mesec":"enim mesecem";case"MM":return S+(1===_?x||F?"mesec":"mesecem":2===_?x||F?"meseca":"mesecema":_<5?x||F?"mesece":"meseci":x||F?"mesecev":"meseci");case"y":return x||F?"eno leto":"enim letom";case"yy":return S+(1===_?x||F?"leto":"letom":2===_?x||F?"leti":"letoma":_<5?x||F?"leta":"leti":x||F?"let":"leti")}}f.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},8799:function(Se,O,y){!function(f){"use strict";f.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(g){return"M"===g.charAt(0)},meridiem:function(g,_,x){return g<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},2872:function(Se,O,y){!function(f){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(_,x){return _%10>=1&&_%10<=4&&(_%100<10||_%100>=20)?_%10==1?x[0]:x[1]:x[2]},translate:function(_,x,k,F){var D,S=e.words[k];return 1===k.length?"y"===k&&x?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":F||x?S[0]:S[1]:(D=e.correctGrammaticalCase(_,S),"yy"===k&&x&&"\u0433\u043e\u0434\u0438\u043d\u0443"===D?_+" \u0433\u043e\u0434\u0438\u043d\u0430":_+" "+D)}};f.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},7954:function(Se,O,y){!function(f){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(_,x){return _%10>=1&&_%10<=4&&(_%100<10||_%100>=20)?_%10==1?x[0]:x[1]:x[2]},translate:function(_,x,k,F){var D,S=e.words[k];return 1===k.length?"y"===k&&x?"jedna godina":F||x?S[0]:S[1]:(D=e.correctGrammaticalCase(_,S),"yy"===k&&x&&"godinu"===D?_+" godina":_+" "+D)}};f.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(y(5439))},6167:function(Se,O,y){!function(f){"use strict";f.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(g,_,x){return g<11?"ekuseni":g<15?"emini":g<19?"entsambama":"ebusuku"},meridiemHour:function(g,_){return 12===g&&(g=0),"ekuseni"===_?g:"emini"===_?g>=11?g:g+12:"entsambama"===_||"ebusuku"===_?0===g?0:g+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(y(5439))},9713:function(Se,O,y){!function(f){"use strict";f.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(g){var _=g%10;return g+(1==~~(g%100/10)?":e":1===_||2===_?":a":":e")},week:{dow:1,doy:4}})}(y(5439))},1982:function(Se,O,y){!function(f){"use strict";f.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(y(5439))},2732:function(Se,O,y){!function(f){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},g={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};f.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(x){return x+"\u0bb5\u0ba4\u0bc1"},preparse:function(x){return x.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(k){return g[k]})},postformat:function(x){return x.replace(/\d/g,function(k){return e[k]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(x,k,F){return x<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":x<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":x<10?" \u0b95\u0bbe\u0bb2\u0bc8":x<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":x<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":x<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(x,k){return 12===x&&(x=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===k?x<2?x:x+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===k||"\u0b95\u0bbe\u0bb2\u0bc8"===k||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===k&&x>=10?x:x+12},week:{dow:0,doy:6}})}(y(5439))},3636:function(Se,O,y){!function(f){"use strict";f.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(g,_){return 12===g&&(g=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===_?g<4?g:g+12:"\u0c09\u0c26\u0c2f\u0c02"===_?g:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===_?g>=10?g:g+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===_?g+12:void 0},meridiem:function(g,_,x){return g<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":g<10?"\u0c09\u0c26\u0c2f\u0c02":g<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":g<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(y(5439))},2115:function(Se,O,y){!function(f){"use strict";f.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(y(5439))},9801:function(Se,O,y){!function(f){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};f.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(_,x){return 12===_&&(_=0),"\u0448\u0430\u0431"===x?_<4?_:_+12:"\u0441\u0443\u0431\u04b3"===x?_:"\u0440\u04ef\u0437"===x?_>=11?_:_+12:"\u0431\u0435\u0433\u043e\u04b3"===x?_+12:void 0},meridiem:function(_,x,k){return _<4?"\u0448\u0430\u0431":_<11?"\u0441\u0443\u0431\u04b3":_<16?"\u0440\u04ef\u0437":_<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(_){return _+(e[_]||e[_%10]||e[_>=100?100:null])},week:{dow:1,doy:7}})}(y(5439))},4486:function(Se,O,y){!function(f){"use strict";f.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(g){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===g},meridiem:function(g,_,x){return g<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(y(5439))},1310:function(Se,O,y){!function(f){"use strict";var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};f.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(_,x){switch(x){case"d":case"D":case"Do":case"DD":return _;default:if(0===_)return _+"'unjy";var k=_%10;return _+(e[k]||e[_%100-k]||e[_>=100?100:null])}},week:{dow:1,doy:7}})}(y(5439))},2360:function(Se,O,y){!function(f){"use strict";f.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(g){return g},week:{dow:1,doy:4}})}(y(5439))},6645:function(Se,O,y){!function(f){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function x(S,D,P,U){var I=function k(S){var D=Math.floor(S%1e3/100),P=Math.floor(S%100/10),U=S%10,I="";return D>0&&(I+=e[D]+"vatlh"),P>0&&(I+=(""!==I?" ":"")+e[P]+"maH"),U>0&&(I+=(""!==I?" ":"")+e[U]),""===I?"pagh":I}(S);switch(P){case"ss":return I+" lup";case"mm":return I+" tup";case"hh":return I+" rep";case"dd":return I+" jaj";case"MM":return I+" jar";case"yy":return I+" DIS"}}f.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function g(S){var D=S;return-1!==S.indexOf("jaj")?D.slice(0,-3)+"leS":-1!==S.indexOf("jar")?D.slice(0,-3)+"waQ":-1!==S.indexOf("DIS")?D.slice(0,-3)+"nem":D+" pIq"},past:function _(S){var D=S;return-1!==S.indexOf("jaj")?D.slice(0,-3)+"Hu\u2019":-1!==S.indexOf("jar")?D.slice(0,-3)+"wen":-1!==S.indexOf("DIS")?D.slice(0,-3)+"ben":D+" ret"},s:"puS lup",ss:x,m:"wa\u2019 tup",mm:x,h:"wa\u2019 rep",hh:x,d:"wa\u2019 jaj",dd:x,M:"wa\u2019 jar",MM:x,y:"wa\u2019 DIS",yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},8374:function(Se,O,y){!function(f){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};f.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(_,x,k){return _<12?k?"\xf6\xf6":"\xd6\xd6":k?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(_){return"\xf6s"===_||"\xd6S"===_},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(_,x){switch(x){case"d":case"D":case"Do":case"DD":return _;default:if(0===_)return _+"'\u0131nc\u0131";var k=_%10;return _+(e[k]||e[_%100-k]||e[_>=100?100:null])}},week:{dow:1,doy:7}})}(y(5439))},256:function(Se,O,y){!function(f){"use strict";function g(_,x,k,F){var S={s:["viensas secunds","'iensas secunds"],ss:[_+" secunds",_+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[_+" m\xeduts",_+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[_+" \xfeoras",_+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[_+" ziuas",_+" ziuas"],M:["'n mes","'iens mes"],MM:[_+" mesen",_+" mesen"],y:["'n ar","'iens ar"],yy:[_+" ars",_+" ars"]};return F||x?S[k][0]:S[k][1]}f.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(_){return"d'o"===_.toLowerCase()},meridiem:function(_,x,k){return _>11?k?"d'o":"D'O":k?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(y(5439))},1631:function(Se,O,y){!function(f){"use strict";f.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(y(5439))},1595:function(Se,O,y){!function(f){"use strict";f.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(y(5439))},6050:function(Se,O,y){!function(f){"use strict";f.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(g,_){return 12===g&&(g=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===_||"\u0633\u06d5\u06be\u06d5\u0631"===_||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===_?g:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===_||"\u0643\u06d5\u0686"===_?g+12:g>=11?g:g+12},meridiem:function(g,_,x){var k=100*g+_;return k<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":k<900?"\u0633\u06d5\u06be\u06d5\u0631":k<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":k<1230?"\u0686\u06c8\u0634":k<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(g,_){switch(_){case"d":case"D":case"DDD":return g+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return g+"-\u06be\u06d5\u067e\u062a\u06d5";default:return g}},preparse:function(g){return g.replace(/\u060c/g,",")},postformat:function(g){return g.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(y(5439))},5610:function(Se,O,y){!function(f){"use strict";function g(F,S,D){return"m"===D?S?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===D?S?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":F+" "+function e(F,S){var D=F.split("_");return S%10==1&&S%100!=11?D[0]:S%10>=2&&S%10<=4&&(S%100<10||S%100>=20)?D[1]:D[2]}({ss:S?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:S?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:S?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[D],+F)}function x(F){return function(){return F+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}f.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function _(F,S){var D={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===F?D.nominative.slice(1,7).concat(D.nominative.slice(0,1)):F?D[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(S)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(S)?"genitive":"nominative"][F.day()]:D.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:x("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:x("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:x("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:x("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return x("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return x("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:g,m:g,mm:g,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:g,d:"\u0434\u0435\u043d\u044c",dd:g,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:g,y:"\u0440\u0456\u043a",yy:g},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(F){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(F)},meridiem:function(F,S,D){return F<4?"\u043d\u043e\u0447\u0456":F<12?"\u0440\u0430\u043d\u043a\u0443":F<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(F,S){switch(S){case"M":case"d":case"DDD":case"w":case"W":return F+"-\u0439";case"D":return F+"-\u0433\u043e";default:return F}},week:{dow:1,doy:7}})}(y(5439))},6077:function(Se,O,y){!function(f){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],g=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];f.defineLocale("ur",{months:e,monthsShort:e,weekdays:g,weekdaysShort:g,weekdaysMin:g,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(x){return"\u0634\u0627\u0645"===x},meridiem:function(x,k,F){return x<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(x){return x.replace(/\u060c/g,",")},postformat:function(x){return x.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(y(5439))},2207:function(Se,O,y){!function(f){"use strict";f.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(y(5439))},2862:function(Se,O,y){!function(f){"use strict";f.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(y(5439))},8093:function(Se,O,y){!function(f){"use strict";f.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(g){return/^ch$/i.test(g)},meridiem:function(g,_,x){return g<12?x?"sa":"SA":x?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(g){return g},week:{dow:1,doy:4}})}(y(5439))},5590:function(Se,O,y){!function(f){"use strict";f.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(g){var _=g%10;return g+(1==~~(g%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(y(5439))},9058:function(Se,O,y){!function(f){"use strict";f.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(y(5439))},7908:function(Se,O,y){!function(f){"use strict";f.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(g,_){return 12===g&&(g=0),"\u51cc\u6668"===_||"\u65e9\u4e0a"===_||"\u4e0a\u5348"===_?g:"\u4e0b\u5348"===_||"\u665a\u4e0a"===_?g+12:g>=11?g:g+12},meridiem:function(g,_,x){var k=100*g+_;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(g){return g.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(g){return this.week()!==g.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(g,_){switch(_){case"d":case"D":case"DDD":return g+"\u65e5";case"M":return g+"\u6708";case"w":case"W":return g+"\u5468";default:return g}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(y(5439))},8867:function(Se,O,y){!function(f){"use strict";f.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(g,_){return 12===g&&(g=0),"\u51cc\u6668"===_||"\u65e9\u4e0a"===_||"\u4e0a\u5348"===_?g:"\u4e2d\u5348"===_?g>=11?g:g+12:"\u4e0b\u5348"===_||"\u665a\u4e0a"===_?g+12:void 0},meridiem:function(g,_,x){var k=100*g+_;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1200?"\u4e0a\u5348":1200===k?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(g,_){switch(_){case"d":case"D":case"DDD":return g+"\u65e5";case"M":return g+"\u6708";case"w":case"W":return g+"\u9031";default:return g}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(y(5439))},1133:function(Se,O,y){!function(f){"use strict";f.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(g,_){return 12===g&&(g=0),"\u51cc\u6668"===_||"\u65e9\u4e0a"===_||"\u4e0a\u5348"===_?g:"\u4e2d\u5348"===_?g>=11?g:g+12:"\u4e0b\u5348"===_||"\u665a\u4e0a"===_?g+12:void 0},meridiem:function(g,_,x){var k=100*g+_;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(g,_){switch(_){case"d":case"D":case"DDD":return g+"\u65e5";case"M":return g+"\u6708";case"w":case"W":return g+"\u9031";default:return g}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(y(5439))},3291:function(Se,O,y){!function(f){"use strict";f.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(g,_){return 12===g&&(g=0),"\u51cc\u6668"===_||"\u65e9\u4e0a"===_||"\u4e0a\u5348"===_?g:"\u4e2d\u5348"===_?g>=11?g:g+12:"\u4e0b\u5348"===_||"\u665a\u4e0a"===_?g+12:void 0},meridiem:function(g,_,x){var k=100*g+_;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(g,_){switch(_){case"d":case"D":case"DDD":return g+"\u65e5";case"M":return g+"\u6708";case"w":case"W":return g+"\u9031";default:return g}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(y(5439))},5439:function(Se,O,y){(Se=y.nmd(Se)).exports=function(){"use strict";var f,ne;function e(){return f.apply(null,arguments)}function _(E){return E instanceof Array||"[object Array]"===Object.prototype.toString.call(E)}function x(E){return null!=E&&"[object Object]"===Object.prototype.toString.call(E)}function k(E,j){return Object.prototype.hasOwnProperty.call(E,j)}function F(E){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(E).length;var j;for(j in E)if(k(E,j))return!1;return!0}function S(E){return void 0===E}function D(E){return"number"==typeof E||"[object Number]"===Object.prototype.toString.call(E)}function P(E){return E instanceof Date||"[object Date]"===Object.prototype.toString.call(E)}function U(E,j){var Me,ge=[],Pe=E.length;for(Me=0;Me>>0;for(Me=0;Me0)for(ge=0;ge=0?ge?"+":"":"-")+Math.pow(10,Math.max(0,j-Me.length)).toString().substr(1)+Me}var Le=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,at=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ze={},xt={};function lt(E,j,ge,Me){var Pe=Me;"string"==typeof Me&&(Pe=function(){return this[Me]()}),E&&(xt[E]=Pe),j&&(xt[j[0]]=function(){return Fe(Pe.apply(this,arguments),j[1],j[2])}),ge&&(xt[ge]=function(){return this.localeData().ordinal(Pe.apply(this,arguments),E)})}function We(E){return E.match(/\[[\s\S]/)?E.replace(/^\[|\]$/g,""):E.replace(/\\/g,"")}function Yt(E,j){return E.isValid()?(j=we(j,E.localeData()),Ze[j]=Ze[j]||function $t(E){var ge,Me,j=E.match(Le);for(ge=0,Me=j.length;ge=0&&at.test(E);)E=E.replace(at,Me),at.lastIndex=0,ge-=1;return E}var Ct={};function it(E,j){var ge=E.toLowerCase();Ct[ge]=Ct[ge+"s"]=Ct[j]=E}function Ae(E){return"string"==typeof E?Ct[E]||Ct[E.toLowerCase()]:void 0}function $e(E){var ge,Me,j={};for(Me in E)k(E,Me)&&(ge=Ae(Me))&&(j[ge]=E[Me]);return j}var _t={};function Tt(E,j){_t[E]=j}function Ut(E){return E%4==0&&E%100!=0||E%400==0}function Qt(E){return E<0?Math.ceil(E)||0:Math.floor(E)}function zt(E){var j=+E,ge=0;return 0!==j&&isFinite(j)&&(ge=Qt(j)),ge}function vi(E,j){return function(ge){return null!=ge?(yi(this,E,ge),e.updateOffset(this,j),this):ki(this,E)}}function ki(E,j){return E.isValid()?E._d["get"+(E._isUTC?"UTC":"")+j]():NaN}function yi(E,j,ge){E.isValid()&&!isNaN(ge)&&("FullYear"===j&&Ut(E.year())&&1===E.month()&&29===E.date()?(ge=zt(ge),E._d["set"+(E._isUTC?"UTC":"")+j](ge,E.month(),si(ge,E.month()))):E._d["set"+(E._isUTC?"UTC":"")+j](ge))}var Ui,kt=/\d/,yt=/\d\d/,Bi=/\d{3}/,Ii=/\d{4}/,un=/[+-]?\d{6}/,ui=/\d\d?/,hn=/\d\d\d\d?/,Dt=/\d\d\d\d\d\d?/,ke=/\d{1,3}/,oe=/\d{1,4}/,de=/[+-]?\d{1,6}/,Oe=/\d+/,Xe=/[+-]?\d+/,St=/Z|[+-]\d\d:?\d\d/gi,fi=/Z|[+-]\d\d(?::?\d\d)?/gi,Wt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function _e(E,j,ge){Ui[E]=ae(j)?j:function(Me,Pe){return Me&&ge?ge:j}}function Ne(E,j){return k(Ui,E)?Ui[E](j._strict,j._locale):new RegExp(function Qe(E){return qe(E.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(j,ge,Me,Pe,It){return ge||Me||Pe||It}))}(E))}function qe(E){return E.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Ui={};var Lt={};function Ke(E,j){var ge,Pe,Me=j;for("string"==typeof E&&(E=[E]),D(j)&&(Me=function(It,oi){oi[j]=zt(It)}),Pe=E.length,ge=0;ge68?1900:2e3)};var ji=vi("FullYear",!0);function ir(E,j,ge,Me,Pe,It,oi){var on;return E<100&&E>=0?(on=new Date(E+400,j,ge,Me,Pe,It,oi),isFinite(on.getFullYear())&&on.setFullYear(E)):on=new Date(E,j,ge,Me,Pe,It,oi),on}function Ht(E){var j,ge;return E<100&&E>=0?((ge=Array.prototype.slice.call(arguments))[0]=E+400,j=new Date(Date.UTC.apply(null,ge)),isFinite(j.getUTCFullYear())&&j.setUTCFullYear(E)):j=new Date(Date.UTC.apply(null,arguments)),j}function tt(E,j,ge){var Me=7+j-ge;return-(7+Ht(E,0,Me).getUTCDay()-j)%7+Me-1}function Ri(E,j,ge,Me,Pe){var Bn,br,on=1+7*(j-1)+(7+ge-Me)%7+tt(E,Me,Pe);return on<=0?br=pr(Bn=E-1)+on:on>pr(E)?(Bn=E+1,br=on-pr(E)):(Bn=E,br=on),{year:Bn,dayOfYear:br}}function On(E,j,ge){var It,oi,Me=tt(E.year(),j,ge),Pe=Math.floor((E.dayOfYear()-Me-1)/7)+1;return Pe<1?It=Pe+Qn(oi=E.year()-1,j,ge):Pe>Qn(E.year(),j,ge)?(It=Pe-Qn(E.year(),j,ge),oi=E.year()+1):(oi=E.year(),It=Pe),{week:It,year:oi}}function Qn(E,j,ge){var Me=tt(E,j,ge),Pe=tt(E+1,j,ge);return(pr(E)-Me+Pe)/7}lt("w",["ww",2],"wo","week"),lt("W",["WW",2],"Wo","isoWeek"),it("week","w"),it("isoWeek","W"),Tt("week",5),Tt("isoWeek",5),_e("w",ui),_e("ww",ui,yt),_e("W",ui),_e("WW",ui,yt),et(["w","ww","W","WW"],function(E,j,ge,Me){j[Me.substr(0,1)]=zt(E)});function wr(E,j){return E.slice(j,7).concat(E.slice(0,j))}lt("d",0,"do","day"),lt("dd",0,0,function(E){return this.localeData().weekdaysMin(this,E)}),lt("ddd",0,0,function(E){return this.localeData().weekdaysShort(this,E)}),lt("dddd",0,0,function(E){return this.localeData().weekdays(this,E)}),lt("e",0,0,"weekday"),lt("E",0,0,"isoWeekday"),it("day","d"),it("weekday","e"),it("isoWeekday","E"),Tt("day",11),Tt("weekday",11),Tt("isoWeekday",11),_e("d",ui),_e("e",ui),_e("E",ui),_e("dd",function(E,j){return j.weekdaysMinRegex(E)}),_e("ddd",function(E,j){return j.weekdaysShortRegex(E)}),_e("dddd",function(E,j){return j.weekdaysRegex(E)}),et(["dd","ddd","dddd"],function(E,j,ge,Me){var Pe=ge._locale.weekdaysParse(E,Me,ge._strict);null!=Pe?j.d=Pe:Z(ge).invalidWeekday=E}),et(["d","e","E"],function(E,j,ge,Me){j[Me]=zt(E)});var Ha="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ir="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Go="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Mr=Wt,nr=Wt,qi=Wt;function ha(E,j,ge){var Me,Pe,It,oi=E.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Me=0;Me<7;++Me)It=L([2e3,1]).day(Me),this._minWeekdaysParse[Me]=this.weekdaysMin(It,"").toLocaleLowerCase(),this._shortWeekdaysParse[Me]=this.weekdaysShort(It,"").toLocaleLowerCase(),this._weekdaysParse[Me]=this.weekdays(It,"").toLocaleLowerCase();return ge?"dddd"===j?-1!==(Pe=Dn.call(this._weekdaysParse,oi))?Pe:null:"ddd"===j?-1!==(Pe=Dn.call(this._shortWeekdaysParse,oi))?Pe:null:-1!==(Pe=Dn.call(this._minWeekdaysParse,oi))?Pe:null:"dddd"===j?-1!==(Pe=Dn.call(this._weekdaysParse,oi))||-1!==(Pe=Dn.call(this._shortWeekdaysParse,oi))||-1!==(Pe=Dn.call(this._minWeekdaysParse,oi))?Pe:null:"ddd"===j?-1!==(Pe=Dn.call(this._shortWeekdaysParse,oi))||-1!==(Pe=Dn.call(this._weekdaysParse,oi))||-1!==(Pe=Dn.call(this._minWeekdaysParse,oi))?Pe:null:-1!==(Pe=Dn.call(this._minWeekdaysParse,oi))||-1!==(Pe=Dn.call(this._weekdaysParse,oi))||-1!==(Pe=Dn.call(this._shortWeekdaysParse,oi))?Pe:null}function Qa(){function E(aa,eo){return eo.length-aa.length}var It,oi,on,Bn,br,j=[],ge=[],Me=[],Pe=[];for(It=0;It<7;It++)oi=L([2e3,1]).day(It),on=qe(this.weekdaysMin(oi,"")),Bn=qe(this.weekdaysShort(oi,"")),br=qe(this.weekdays(oi,"")),j.push(on),ge.push(Bn),Me.push(br),Pe.push(on),Pe.push(Bn),Pe.push(br);j.sort(E),ge.sort(E),Me.sort(E),Pe.sort(E),this._weekdaysRegex=new RegExp("^("+Pe.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Me.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+ge.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+j.join("|")+")","i")}function _o(){return this.hours()%12||12}function gr(E,j){lt(E,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),j)})}function So(E,j){return j._meridiemParse}lt("H",["HH",2],0,"hour"),lt("h",["hh",2],0,_o),lt("k",["kk",2],0,function Ja(){return this.hours()||24}),lt("hmm",0,0,function(){return""+_o.apply(this)+Fe(this.minutes(),2)}),lt("hmmss",0,0,function(){return""+_o.apply(this)+Fe(this.minutes(),2)+Fe(this.seconds(),2)}),lt("Hmm",0,0,function(){return""+this.hours()+Fe(this.minutes(),2)}),lt("Hmmss",0,0,function(){return""+this.hours()+Fe(this.minutes(),2)+Fe(this.seconds(),2)}),gr("a",!0),gr("A",!1),it("hour","h"),Tt("hour",13),_e("a",So),_e("A",So),_e("H",ui),_e("h",ui),_e("k",ui),_e("HH",ui,yt),_e("hh",ui,yt),_e("kk",ui,yt),_e("hmm",hn),_e("hmmss",Dt),_e("Hmm",hn),_e("Hmmss",Dt),Ke(["H","HH"],ci),Ke(["k","kk"],function(E,j,ge){var Me=zt(E);j[ci]=24===Me?0:Me}),Ke(["a","A"],function(E,j,ge){ge._isPm=ge._locale.isPM(E),ge._meridiem=E}),Ke(["h","hh"],function(E,j,ge){j[ci]=zt(E),Z(ge).bigHour=!0}),Ke("hmm",function(E,j,ge){var Me=E.length-2;j[ci]=zt(E.substr(0,Me)),j[Mi]=zt(E.substr(Me)),Z(ge).bigHour=!0}),Ke("hmmss",function(E,j,ge){var Me=E.length-4,Pe=E.length-2;j[ci]=zt(E.substr(0,Me)),j[Mi]=zt(E.substr(Me,2)),j[Wi]=zt(E.substr(Pe)),Z(ge).bigHour=!0}),Ke("Hmm",function(E,j,ge){var Me=E.length-2;j[ci]=zt(E.substr(0,Me)),j[Mi]=zt(E.substr(Me))}),Ke("Hmmss",function(E,j,ge){var Me=E.length-4,Pe=E.length-2;j[ci]=zt(E.substr(0,Me)),j[Mi]=zt(E.substr(Me,2)),j[Wi]=zt(E.substr(Pe))});var Sa=vi("Hours",!0);var _r,ja={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Mn,monthsShort:rn,week:{dow:0,doy:6},weekdays:Ha,weekdaysMin:Go,weekdaysShort:Ir,meridiemParse:/[ap]\.?m?\.?/i},an={},Ur={};function Or(E,j){var ge,Me=Math.min(E.length,j.length);for(ge=0;ge0;){if(Pe=hr(It.slice(0,ge).join("-")))return Pe;if(Me&&Me.length>=ge&&Or(It,Me)>=ge-1)break;ge--}j++}return _r}(E)}function ba(E){var j,ge=E._a;return ge&&-2===Z(E).overflow&&(j=ge[Nt]<0||ge[Nt]>11?Nt:ge[Xt]<1||ge[Xt]>si(ge[pt],ge[Nt])?Xt:ge[ci]<0||ge[ci]>24||24===ge[ci]&&(0!==ge[Mi]||0!==ge[Wi]||0!==ge[mn])?ci:ge[Mi]<0||ge[Mi]>59?Mi:ge[Wi]<0||ge[Wi]>59?Wi:ge[mn]<0||ge[mn]>999?mn:-1,Z(E)._overflowDayOfYear&&(jXt)&&(j=Xt),Z(E)._overflowWeeks&&-1===j&&(j=Un),Z(E)._overflowWeekday&&-1===j&&(j=vr),Z(E).overflow=j),E}var Gn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Nr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ka=/Z|[+-]\d\d(?::?\d\d)?/,En=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],na=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],An=/^\/?Date\((-?\d+)/i,Pi=/^(?:(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{4}))$/,qo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Jn(E){var j,ge,It,oi,on,Bn,Me=E._i,Pe=Gn.exec(Me)||Nr.exec(Me),br=En.length,aa=na.length;if(Pe){for(Z(E).iso=!0,j=0,ge=br;j7)&&(Bn=!0)):(It=E._locale._week.dow,oi=E._locale._week.doy,br=On(gi(),It,oi),ge=Jr(j.gg,E._a[pt],br.year),Me=Jr(j.w,br.week),null!=j.d?((Pe=j.d)<0||Pe>6)&&(Bn=!0):null!=j.e?(Pe=j.e+It,(j.e<0||j.e>6)&&(Bn=!0)):Pe=It),Me<1||Me>Qn(ge,It,oi)?Z(E)._overflowWeeks=!0:null!=Bn?Z(E)._overflowWeekday=!0:(on=Ri(ge,Me,Pe,It,oi),E._a[pt]=on.year,E._dayOfYear=on.dayOfYear)}(E),null!=E._dayOfYear&&(oi=Jr(E._a[pt],Pe[pt]),(E._dayOfYear>pr(oi)||0===E._dayOfYear)&&(Z(E)._overflowDayOfYear=!0),ge=Ht(oi,0,E._dayOfYear),E._a[Nt]=ge.getUTCMonth(),E._a[Xt]=ge.getUTCDate()),j=0;j<3&&null==E._a[j];++j)E._a[j]=Me[j]=Pe[j];for(;j<7;j++)E._a[j]=Me[j]=null==E._a[j]?2===j?1:0:E._a[j];24===E._a[ci]&&0===E._a[Mi]&&0===E._a[Wi]&&0===E._a[mn]&&(E._nextDay=!0,E._a[ci]=0),E._d=(E._useUTC?Ht:ir).apply(null,Me),It=E._useUTC?E._d.getUTCDay():E._d.getDay(),null!=E._tzm&&E._d.setUTCMinutes(E._d.getUTCMinutes()-E._tzm),E._nextDay&&(E._a[ci]=24),E._w&&typeof E._w.d<"u"&&E._w.d!==It&&(Z(E).weekdayMismatch=!0)}}function nt(E){if(E._f!==e.ISO_8601)if(E._f!==e.RFC_2822){E._a=[],Z(E).empty=!0;var ge,Me,Pe,It,oi,br,aa,j=""+E._i,on=j.length,Bn=0;for(aa=(Pe=we(E._f,E._locale).match(Le)||[]).length,ge=0;ge0&&Z(E).unusedInput.push(oi),j=j.slice(j.indexOf(Me)+Me.length),Bn+=Me.length),xt[It]?(Me?Z(E).empty=!1:Z(E).unusedTokens.push(It),Re(It,Me,E)):E._strict&&!Me&&Z(E).unusedTokens.push(It);Z(E).charsLeftOver=on-Bn,j.length>0&&Z(E).unusedInput.push(j),E._a[ci]<=12&&!0===Z(E).bigHour&&E._a[ci]>0&&(Z(E).bigHour=void 0),Z(E).parsedDateParts=E._a.slice(0),Z(E).meridiem=E._meridiem,E._a[ci]=function dt(E,j,ge){var Me;return null==ge?j:null!=E.meridiemHour?E.meridiemHour(j,ge):(null!=E.isPM&&((Me=E.isPM(ge))&&j<12&&(j+=12),!Me&&12===j&&(j=0)),j)}(E._locale,E._a[ci],E._meridiem),null!==(br=Z(E).era)&&(E._a[pt]=E._locale.erasConvertYear(br,E._a[pt])),wo(E),ba(E)}else va(E);else Jn(E)}function cn(E){var j=E._i,ge=E._f;return E._locale=E._locale||jr(E._l),null===j||void 0===ge&&""===j?W({nullInput:!0}):("string"==typeof j&&(E._i=j=E._locale.preparse(j)),X(j)?new Y(ba(j)):(P(j)?E._d=j:_(ge)?function mt(E){var j,ge,Me,Pe,It,oi,on=!1,Bn=E._f.length;if(0===Bn)return Z(E).invalidFormat=!0,void(E._d=new Date(NaN));for(Pe=0;Pethis?this:E:W()});function Rr(E,j){var ge,Me;if(1===j.length&&_(j[0])&&(j=j[0]),!j.length)return gi();for(ge=j[0],Me=1;Me=0?new Date(E+400,j,ge)-$s:new Date(E,j,ge).valueOf()}function Va(E,j,ge){return E<100&&E>=0?Date.UTC(E+400,j,ge)-$s:Date.UTC(E,j,ge)}function nc(E,j){return j.erasAbbrRegex(E)}function es(){var Pe,It,E=[],j=[],ge=[],Me=[],oi=this.eras();for(Pe=0,It=oi.length;Pe(It=Qn(E,Me,Pe))&&(j=It),nm.call(this,E,j,ge,Me,Pe))}function nm(E,j,ge,Me,Pe){var It=Ri(E,j,ge,Me,Pe),oi=Ht(It.year,0,It.dayOfYear);return this.year(oi.getUTCFullYear()),this.month(oi.getUTCMonth()),this.date(oi.getUTCDate()),this}lt("N",0,0,"eraAbbr"),lt("NN",0,0,"eraAbbr"),lt("NNN",0,0,"eraAbbr"),lt("NNNN",0,0,"eraName"),lt("NNNNN",0,0,"eraNarrow"),lt("y",["y",1],"yo","eraYear"),lt("y",["yy",2],0,"eraYear"),lt("y",["yyy",3],0,"eraYear"),lt("y",["yyyy",4],0,"eraYear"),_e("N",nc),_e("NN",nc),_e("NNN",nc),_e("NNNN",function hd(E,j){return j.erasNameRegex(E)}),_e("NNNNN",function Ms(E,j){return j.erasNarrowRegex(E)}),Ke(["N","NN","NNN","NNNN","NNNNN"],function(E,j,ge,Me){var Pe=ge._locale.erasParse(E,Me,ge._strict);Pe?Z(ge).era=Pe:Z(ge).invalidEra=E}),_e("y",Oe),_e("yy",Oe),_e("yyy",Oe),_e("yyyy",Oe),_e("yo",function Es(E,j){return j._eraYearOrdinalRegex||Oe}),Ke(["y","yy","yyy","yyyy"],pt),Ke(["yo"],function(E,j,ge,Me){var Pe;ge._locale._eraYearOrdinalRegex&&(Pe=E.match(ge._locale._eraYearOrdinalRegex)),j[pt]=ge._locale.eraYearOrdinalParse?ge._locale.eraYearOrdinalParse(E,Pe):parseInt(E,10)}),lt(0,["gg",2],0,function(){return this.weekYear()%100}),lt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),As("gggg","weekYear"),As("ggggg","weekYear"),As("GGGG","isoWeekYear"),As("GGGGG","isoWeekYear"),it("weekYear","gg"),it("isoWeekYear","GG"),Tt("weekYear",1),Tt("isoWeekYear",1),_e("G",Xe),_e("g",Xe),_e("GG",ui,yt),_e("gg",ui,yt),_e("GGGG",oe,Ii),_e("gggg",oe,Ii),_e("GGGGG",de,un),_e("ggggg",de,un),et(["gggg","ggggg","GGGG","GGGGG"],function(E,j,ge,Me){j[Me.substr(0,2)]=zt(E)}),et(["gg","GG"],function(E,j,ge,Me){j[Me]=e.parseTwoDigitYear(E)}),lt("Q",0,"Qo","quarter"),it("quarter","Q"),Tt("quarter",7),_e("Q",kt),Ke("Q",function(E,j){j[Nt]=3*(zt(E)-1)}),lt("D",["DD",2],"Do","date"),it("date","D"),Tt("date",9),_e("D",ui),_e("DD",ui,yt),_e("Do",function(E,j){return E?j._dayOfMonthOrdinalParse||j._ordinalParse:j._dayOfMonthOrdinalParseLenient}),Ke(["D","DD"],Xt),Ke("Do",function(E,j){j[Xt]=zt(E.match(ui)[0])});var Jf=vi("Date",!0);lt("DDD",["DDDD",3],"DDDo","dayOfYear"),it("dayOfYear","DDD"),Tt("dayOfYear",4),_e("DDD",ke),_e("DDDD",Bi),Ke(["DDD","DDDD"],function(E,j,ge){ge._dayOfYear=zt(E)}),lt("m",["mm",2],0,"minute"),it("minute","m"),Tt("minute",14),_e("m",ui),_e("mm",ui,yt),Ke(["m","mm"],Mi);var Bc=vi("Minutes",!1);lt("s",["ss",2],0,"second"),it("second","s"),Tt("second",15),_e("s",ui),_e("ss",ui,yt),Ke(["s","ss"],Wi);var Br,Ru,Co=vi("Seconds",!1);for(lt("S",0,0,function(){return~~(this.millisecond()/100)}),lt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),lt(0,["SSS",3],0,"millisecond"),lt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),lt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),lt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),lt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),lt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),lt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),it("millisecond","ms"),Tt("millisecond",16),_e("S",ke,kt),_e("SS",ke,yt),_e("SSS",ke,Bi),Br="SSSS";Br.length<=9;Br+="S")_e(Br,Oe);function $r(E,j){j[mn]=zt(1e3*("0."+E))}for(Br="S";Br.length<=9;Br+="S")Ke(Br,$r);Ru=vi("Milliseconds",!1),lt("z",0,0,"zoneAbbr"),lt("zz",0,0,"zoneName");var Ci=Y.prototype;function Yc(E){return E}Ci.add=Ar,Ci.calendar=function Ee(E,j){1===arguments.length&&(arguments[0]?qs(arguments[0])?(E=arguments[0],j=void 0):function Kl(E){var Pe,j=x(E)&&!F(E),ge=!1,Me=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(Pe=0;Pege.valueOf():ge.valueOf()9999?Yt(ge,j?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ae(Date.prototype.toISOString)?j?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Yt(ge,"Z")):Yt(ge,j?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ci.inspect=function lr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var ge,Me,E="moment",j="";return this.isLocal()||(E=0===this.utcOffset()?"moment.utc":"moment.parseZone",j="Z"),ge="["+E+'("]',Me=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(ge+Me+"-MM-DD[T]HH:mm:ss.SSS"+j+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ci.toJSON=function Lc(){return this.isValid()?this.toISOString():null},Ci.toString=function jn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ci.unix=function ec(){return Math.floor(this.valueOf()/1e3)},Ci.valueOf=function Oc(){return this._d.valueOf()-6e4*(this._offset||0)},Ci.creationData=function tm(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ci.eraName=function $a(){var E,j,ge,Me=this.localeData().eras();for(E=0,j=Me.length;Ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ci.isLocal=function qt(){return!!this.isValid()&&!this._isUTC},Ci.isUtcOffset=function wi(){return!!this.isValid()&&this._isUTC},Ci.isUtc=Ai,Ci.isUTC=Ai,Ci.zoneAbbr=function rc(){return this._isUTC?"UTC":""},Ci.zoneName=function Sl(){return this._isUTC?"Coordinated Universal Time":""},Ci.dates=te("dates accessor is deprecated. Use date instead.",Jf),Ci.months=te("months accessor is deprecated. Use month instead",yn),Ci.years=te("years accessor is deprecated. Use year instead",ji),Ci.zone=te("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function he(E,j){return null!=E?("string"!=typeof E&&(E=-E),this.utcOffset(E,j),this):-this.utcOffset()}),Ci.isDSTShifted=te("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function jt(){if(!S(this._isDSTShifted))return this._isDSTShifted;var j,E={};return $(E,this),(E=cn(E))._a?(j=E._isUTC?L(E._a):gi(E._a),this._isDSTShifted=this.isValid()&&function h(E,j,ge){var oi,Me=Math.min(E.length,j.length),Pe=Math.abs(E.length-j.length),It=0;for(oi=0;oi0):this._isDSTShifted=!1,this._isDSTShifted});var H=Ue.prototype;function Q(E,j,ge,Me){var Pe=jr(),It=L().set(Me,j);return Pe[ge](It,E)}function R(E,j,ge){if(D(E)&&(j=E,E=void 0),E=E||"",null!=j)return Q(E,j,ge,"month");var Me,Pe=[];for(Me=0;Me<12;Me++)Pe[Me]=Q(E,Me,ge,"month");return Pe}function se(E,j,ge,Me){"boolean"==typeof E?(D(j)&&(ge=j,j=void 0),j=j||""):(ge=j=E,E=!1,D(j)&&(ge=j,j=void 0),j=j||"");var oi,Pe=jr(),It=E?Pe._week.dow:0,on=[];if(null!=ge)return Q(j,(ge+It)%7,Me,"day");for(oi=0;oi<7;oi++)on[oi]=Q(j,(oi+It)%7,Me,"day");return on}H.calendar=function rt(E,j,ge){var Me=this._calendar[E]||this._calendar.sameElse;return ae(Me)?Me.call(j,ge):Me},H.longDateFormat=function Jt(E){var j=this._longDateFormat[E],ge=this._longDateFormat[E.toUpperCase()];return j||!ge?j:(this._longDateFormat[E]=ge.match(Le).map(function(Me){return"MMMM"===Me||"MM"===Me||"DD"===Me||"dddd"===Me?Me.slice(1):Me}).join(""),this._longDateFormat[E])},H.invalidDate=function Ft(){return this._invalidDate},H.ordinal=function gt(E){return this._ordinal.replace("%d",E)},H.preparse=Yc,H.postformat=Yc,H.relativeTime=function ze(E,j,ge,Me){var Pe=this._relativeTime[ge];return ae(Pe)?Pe(E,j,ge,Me):Pe.replace(/%d/i,E)},H.pastFuture=function ft(E,j){var ge=this._relativeTime[E>0?"future":"past"];return ae(ge)?ge(j):ge.replace(/%s/i,j)},H.set=function De(E){var j,ge;for(ge in E)k(E,ge)&&(ae(j=E[ge])?this[ge]=j:this["_"+ge]=j);this._config=E,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},H.eras=function tc(E,j){var ge,Me,Pe,It=this._eras||jr("en")._eras;for(ge=0,Me=It.length;ge=0)return It[Me]},H.erasConvertYear=function ud(E,j){var ge=E.since<=E.until?1:-1;return void 0===j?e(E.since).year():e(E.since).year()+(j-E.offset)*ge},H.erasAbbrRegex=function Yo(E){return k(this,"_erasAbbrRegex")||es.call(this),E?this._erasAbbrRegex:this._erasRegex},H.erasNameRegex=function Ml(E){return k(this,"_erasNameRegex")||es.call(this),E?this._erasNameRegex:this._erasRegex},H.erasNarrowRegex=function El(E){return k(this,"_erasNarrowRegex")||es.call(this),E?this._erasNarrowRegex:this._erasRegex},H.months=function bn(E,j){return E?_(this._months)?this._months[E.month()]:this._months[(this._months.isFormat||tr).test(j)?"format":"standalone"][E.month()]:_(this._months)?this._months:this._months.standalone},H.monthsShort=function hi(E,j){return E?_(this._monthsShort)?this._monthsShort[E.month()]:this._monthsShort[tr.test(j)?"format":"standalone"][E.month()]:_(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},H.monthsParse=function qn(E,j,ge){var Me,Pe,It;if(this._monthsParseExact)return sn.call(this,E,j,ge);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Me=0;Me<12;Me++){if(Pe=L([2e3,Me]),ge&&!this._longMonthsParse[Me]&&(this._longMonthsParse[Me]=new RegExp("^"+this.months(Pe,"").replace(".","")+"$","i"),this._shortMonthsParse[Me]=new RegExp("^"+this.monthsShort(Pe,"").replace(".","")+"$","i")),!ge&&!this._monthsParse[Me]&&(It="^"+this.months(Pe,"")+"|^"+this.monthsShort(Pe,""),this._monthsParse[Me]=new RegExp(It.replace(".",""),"i")),ge&&"MMMM"===j&&this._longMonthsParse[Me].test(E))return Me;if(ge&&"MMM"===j&&this._shortMonthsParse[Me].test(E))return Me;if(!ge&&this._monthsParse[Me].test(E))return Me}},H.monthsRegex=function Vi(E){return this._monthsParseExact?(k(this,"_monthsRegex")||Zi.call(this),E?this._monthsStrictRegex:this._monthsRegex):(k(this,"_monthsRegex")||(this._monthsRegex=Xi),this._monthsStrictRegex&&E?this._monthsStrictRegex:this._monthsRegex)},H.monthsShortRegex=function da(E){return this._monthsParseExact?(k(this,"_monthsRegex")||Zi.call(this),E?this._monthsShortStrictRegex:this._monthsShortRegex):(k(this,"_monthsShortRegex")||(this._monthsShortRegex=Aa),this._monthsShortStrictRegex&&E?this._monthsShortStrictRegex:this._monthsShortRegex)},H.week=function ta(E){return On(E,this._week.dow,this._week.doy).week},H.firstDayOfYear=function Ei(){return this._week.doy},H.firstDayOfWeek=function qr(){return this._week.dow},H.weekdays=function qa(E,j){var ge=_(this._weekdays)?this._weekdays:this._weekdays[E&&!0!==E&&this._weekdays.isFormat.test(j)?"format":"standalone"];return!0===E?wr(ge,this._week.dow):E?ge[E.day()]:ge},H.weekdaysMin=function Rn(E){return!0===E?wr(this._weekdaysMin,this._week.dow):E?this._weekdaysMin[E.day()]:this._weekdaysMin},H.weekdaysShort=function nn(E){return!0===E?wr(this._weekdaysShort,this._week.dow):E?this._weekdaysShort[E.day()]:this._weekdaysShort},H.weekdaysParse=function To(E,j,ge){var Me,Pe,It;if(this._weekdaysParseExact)return ha.call(this,E,j,ge);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Me=0;Me<7;Me++){if(Pe=L([2e3,1]).day(Me),ge&&!this._fullWeekdaysParse[Me]&&(this._fullWeekdaysParse[Me]=new RegExp("^"+this.weekdays(Pe,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Me]=new RegExp("^"+this.weekdaysShort(Pe,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Me]=new RegExp("^"+this.weekdaysMin(Pe,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Me]||(It="^"+this.weekdays(Pe,"")+"|^"+this.weekdaysShort(Pe,"")+"|^"+this.weekdaysMin(Pe,""),this._weekdaysParse[Me]=new RegExp(It.replace(".",""),"i")),ge&&"dddd"===j&&this._fullWeekdaysParse[Me].test(E))return Me;if(ge&&"ddd"===j&&this._shortWeekdaysParse[Me].test(E))return Me;if(ge&&"dd"===j&&this._minWeekdaysParse[Me].test(E))return Me;if(!ge&&this._weekdaysParse[Me].test(E))return Me}},H.weekdaysRegex=function go(E){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Qa.call(this),E?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=Mr),this._weekdaysStrictRegex&&E?this._weekdaysStrictRegex:this._weekdaysRegex)},H.weekdaysShortRegex=function us(E){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Qa.call(this),E?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=nr),this._weekdaysShortStrictRegex&&E?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},H.weekdaysMinRegex=function so(E){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Qa.call(this),E?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qi),this._weekdaysMinStrictRegex&&E?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},H.isPM=function Ua(E){return"p"===(E+"").toLowerCase().charAt(0)},H.meridiem=function bo(E,j,ge){return E>11?ge?"pm":"PM":ge?"am":"AM"},_a("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(E){var j=E%10;return E+(1===zt(E%100/10)?"th":1===j?"st":2===j?"nd":3===j?"rd":"th")}}),e.lang=te("moment.lang is deprecated. Use moment.locale instead.",_a),e.langData=te("moment.langData is deprecated. Use moment.localeData instead.",jr);var Oi=Math.abs;function Xn(E,j,ge,Me){var Pe=dn(j,ge);return E._milliseconds+=Me*Pe._milliseconds,E._days+=Me*Pe._days,E._months+=Me*Pe._months,E._bubble()}function ko(E){return E<0?Math.floor(E):Math.ceil(E)}function Fa(E){return 4800*E/146097}function ac(E){return 146097*E/4800}function pn(E){return function(){return this.as(E)}}var ns=pn("ms"),Zr=pn("s"),rs=pn("m"),Lo=pn("h"),Xs=pn("d"),oc=pn("w"),Cr=pn("M"),md=pn("Q"),fd=pn("y");function ps(E){return function(){return this.isValid()?this._data[E]:NaN}}var Z_=ps("milliseconds"),pd=ps("seconds"),tl=ps("minutes"),z_=ps("hours"),rm=ps("days"),am=ps("months"),Kf=ps("years");var as=Math.round,Ts={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function om(E,j,ge,Me,Pe){return Pe.relativeTime(j||1,!!ge,E,Me)}var Il=Math.abs;function il(E){return(E>0)-(E<0)||+E}function lm(){if(!this.isValid())return this.localeData().invalidDate();var Me,Pe,It,oi,Bn,br,aa,eo,E=Il(this._milliseconds)/1e3,j=Il(this._days),ge=Il(this._months),on=this.asSeconds();return on?(Me=Qt(E/60),Pe=Qt(Me/60),E%=60,Me%=60,It=Qt(ge/12),ge%=12,oi=E?E.toFixed(3).replace(/\.?0+$/,""):"",Bn=on<0?"-":"",br=il(this._months)!==il(on)?"-":"",aa=il(this._days)!==il(on)?"-":"",eo=il(this._milliseconds)!==il(on)?"-":"",Bn+"P"+(It?br+It+"Y":"")+(ge?br+ge+"M":"")+(j?aa+j+"D":"")+(Pe||Me||E?"T":"")+(Pe?eo+Pe+"H":"")+(Me?eo+Me+"M":"")+(E?eo+oi+"S":"")):"P0D"}var er=K.prototype;return er.isValid=function Pn(){return this._isValid},er.abs=function Yi(){var E=this._data;return this._milliseconds=Oi(this._milliseconds),this._days=Oi(this._days),this._months=Oi(this._months),E.milliseconds=Oi(E.milliseconds),E.seconds=Oi(E.seconds),E.minutes=Oi(E.minutes),E.hours=Oi(E.hours),E.months=Oi(E.months),E.years=Oi(E.years),this},er.add=function ma(E,j){return Xn(this,E,j,1)},er.subtract=function ms(E,j){return Xn(this,E,j,-1)},er.as=function is(E){if(!this.isValid())return NaN;var j,ge,Me=this._milliseconds;if("month"===(E=Ae(E))||"quarter"===E||"year"===E)switch(j=this._days+Me/864e5,ge=this._months+Fa(j),E){case"month":return ge;case"quarter":return ge/3;case"year":return ge/12}else switch(j=this._days+Math.round(ac(this._months)),E){case"week":return j/7+Me/6048e5;case"day":return j+Me/864e5;case"hour":return 24*j+Me/36e5;case"minute":return 1440*j+Me/6e4;case"second":return 86400*j+Me/1e3;case"millisecond":return Math.floor(864e5*j)+Me;default:throw new Error("Unknown unit "+E)}},er.asMilliseconds=ns,er.asSeconds=Zr,er.asMinutes=rs,er.asHours=Lo,er.asDays=Xs,er.asWeeks=oc,er.asMonths=Cr,er.asQuarters=md,er.asYears=fd,er.valueOf=function Fr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*zt(this._months/12):NaN},er._bubble=function fs(){var Pe,It,oi,on,Bn,E=this._milliseconds,j=this._days,ge=this._months,Me=this._data;return E>=0&&j>=0&&ge>=0||E<=0&&j<=0&&ge<=0||(E+=864e5*ko(ac(ge)+j),j=0,ge=0),Me.milliseconds=E%1e3,Pe=Qt(E/1e3),Me.seconds=Pe%60,It=Qt(Pe/60),Me.minutes=It%60,oi=Qt(It/60),Me.hours=oi%24,j+=Qt(oi/24),ge+=Bn=Qt(Fa(j)),j-=ko(ac(Bn)),on=Qt(ge/12),ge%=12,Me.days=j,Me.months=ge,Me.years=on,this},er.clone=function sc(){return dn(this)},er.get=function el(E){return E=Ae(E),this.isValid()?this[E+"s"]():NaN},er.milliseconds=Z_,er.seconds=pd,er.minutes=tl,er.hours=z_,er.days=rm,er.weeks=function Pu(){return Qt(this.days()/7)},er.months=am,er.years=Kf,er.humanize=function $f(E,j){if(!this.isValid())return this.localeData().invalidDate();var Pe,It,ge=!1,Me=Ts;return"object"==typeof E&&(j=E,E=!1),"boolean"==typeof E&&(ge=E),"object"==typeof j&&(Me=Object.assign({},Ts,j),null!=j.s&&null==j.ss&&(Me.ss=j.s-1)),It=function gd(E,j,ge,Me){var Pe=dn(E).abs(),It=as(Pe.as("s")),oi=as(Pe.as("m")),on=as(Pe.as("h")),Bn=as(Pe.as("d")),br=as(Pe.as("M")),aa=as(Pe.as("w")),eo=as(Pe.as("y")),Ra=It<=ge.ss&&["s",It]||It0,Ra[4]=Me,om.apply(null,Ra)}(this,!ge,Me,Pe=this.localeData()),ge&&(It=Pe.pastFuture(+this,It)),Pe.postformat(It)},er.toISOString=lm,er.toString=lm,er.toJSON=lm,er.locale=uo,er.localeData=ks,er.toIsoString=te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",lm),er.lang=Js,lt("X",0,0,"unix"),lt("x",0,0,"valueOf"),_e("x",Xe),_e("X",/[+-]?\d+(\.\d{1,3})?/),Ke("X",function(E,j,ge){ge._d=new Date(1e3*parseFloat(E))}),Ke("x",function(E,j,ge){ge._d=new Date(zt(E))}),e.version="2.29.4",function g(E){f=E}(gi),e.fn=Ci,e.min=function Pr(){return Rr("isBefore",[].slice.call(arguments,0))},e.max=function sr(){return Rr("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=L,e.unix=function Xa(E){return gi(1e3*E)},e.months=function ve(E,j){return R(E,j,"months")},e.isDate=P,e.locale=_a,e.invalid=W,e.duration=dn,e.isMoment=X,e.weekdays=function Ge(E,j,ge){return se(E,j,ge,"weekdays")},e.parseZone=function ts(){return gi.apply(null,arguments).parseZone()},e.localeData=jr,e.isDuration=c,e.monthsShort=function Be(E,j){return R(E,j,"monthsShort")},e.weekdaysMin=function ai(E,j,ge){return se(E,j,ge,"weekdaysMin")},e.defineLocale=Io,e.updateLocale=function yo(E,j){if(null!=j){var ge,Me,Pe=ja;null!=an[E]&&null!=an[E].parentLocale?an[E].set(Ce(an[E]._config,j)):(null!=(Me=hr(E))&&(Pe=Me._config),j=Ce(Pe,j),null==Me&&(j.abbr=E),(ge=new Ue(j)).parentLocale=an[E],an[E]=ge),_a(E)}else null!=an[E]&&(null!=an[E].parentLocale?(an[E]=an[E].parentLocale,E===_a()&&_a(E)):null!=an[E]&&delete an[E]);return an[E]},e.locales=function Lr(){return Je(an)},e.weekdaysShort=function Rt(E,j,ge){return se(E,j,ge,"weekdaysShort")},e.normalizeUnits=Ae,e.relativeTimeRounding=function sm(E){return void 0===E?as:"function"==typeof E&&(as=E,!0)},e.relativeTimeThreshold=function _d(E,j){return void 0!==Ts[E]&&(void 0===j?Ts[E]:(Ts[E]=j,"s"===E&&(Ts.ss=j-1),!0))},e.calendarFormat=function re(E,j){var ge=E.diff(j,"days",!0);return ge<-6?"sameElse":ge<-1?"lastWeek":ge<0?"lastDay":ge<1?"sameDay":ge<2?"nextDay":ge<7?"nextWeek":"sameElse"},e.prototype=Ci,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e}()},7024:(Se,O,y)=>{var f="function"==typeof Map&&Map.prototype,e=Object.getOwnPropertyDescriptor&&f?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,g=f&&e&&"function"==typeof e.get?e.get:null,_=f&&Map.prototype.forEach,x="function"==typeof Set&&Set.prototype,k=Object.getOwnPropertyDescriptor&&x?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,F=x&&k&&"function"==typeof k.get?k.get:null,S=x&&Set.prototype.forEach,P="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,I="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,J="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Z=Boolean.prototype.valueOf,ne=Object.prototype.toString,V=Function.prototype.toString,W=String.prototype.match,ue=String.prototype.slice,fe=String.prototype.replace,$=String.prototype.toUpperCase,Y=String.prototype.toLowerCase,X=RegExp.prototype.test,ie=Array.prototype.concat,te=Array.prototype.join,le=Array.prototype.slice,pe=Math.floor,ae="function"==typeof BigInt?BigInt.prototype.valueOf:null,De=Object.getOwnPropertySymbols,Ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Ue="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Je="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,Ie=Object.prototype.propertyIsEnumerable,rt=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(kt){return kt.__proto__}:null);function Fe(kt,yt){if(kt===1/0||kt===-1/0||kt!=kt||kt&&kt>-1e3&&kt<1e3||X.call(/e/,yt))return yt;var Bi=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof kt){var Ii=kt<0?-pe(-kt):pe(kt);if(Ii!==kt){var un=String(Ii),ui=ue.call(yt,un.length+1);return fe.call(un,Bi,"$&_")+"."+fe.call(fe.call(ui,/([0-9]{3})/g,"$&_"),/_$/,"")}}return fe.call(yt,Bi,"$&_")}var Le=y(4654),at=Le.custom,Ze=Ft(at)?at:null;function xt(kt,yt,Bi){var Ii="double"===(Bi.quoteStyle||yt)?'"':"'";return Ii+kt+Ii}function lt(kt){return fe.call(String(kt),/"/g,""")}function We(kt){return!("[object Array]"!==At(kt)||Je&&"object"==typeof kt&&Je in kt)}function Yt(kt){return!("[object RegExp]"!==At(kt)||Je&&"object"==typeof kt&&Je in kt)}function Ft(kt){if(Ue)return kt&&"object"==typeof kt&&kt instanceof Symbol;if("symbol"==typeof kt)return!0;if(!kt||"object"!=typeof kt||!Ce)return!1;try{return Ce.call(kt),!0}catch{}return!1}Se.exports=function kt(yt,Bi,Ii,un){var ui=Bi||{};if(gt(ui,"quoteStyle")&&"single"!==ui.quoteStyle&&"double"!==ui.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(gt(ui,"maxStringLength")&&("number"==typeof ui.maxStringLength?ui.maxStringLength<0&&ui.maxStringLength!==1/0:null!==ui.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var hn=!gt(ui,"customInspect")||ui.customInspect;if("boolean"!=typeof hn&&"symbol"!==hn)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(gt(ui,"indent")&&null!==ui.indent&&"\t"!==ui.indent&&!(parseInt(ui.indent,10)===ui.indent&&ui.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(gt(ui,"numericSeparator")&&"boolean"!=typeof ui.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Dt=ui.numericSeparator;if(typeof yt>"u")return"undefined";if(null===yt)return"null";if("boolean"==typeof yt)return yt?"true":"false";if("string"==typeof yt)return Vt(yt,ui);if("number"==typeof yt){if(0===yt)return 1/0/yt>0?"0":"-0";var ke=String(yt);return Dt?Fe(yt,ke):ke}if("bigint"==typeof yt){var oe=String(yt)+"n";return Dt?Fe(yt,oe):oe}var de=typeof ui.depth>"u"?5:ui.depth;if(typeof Ii>"u"&&(Ii=0),Ii>=de&&de>0&&"object"==typeof yt)return We(yt)?"[Array]":"[Object]";var Oe=function yi(kt,yt){var Bi;if("\t"===kt.indent)Bi="\t";else{if(!("number"==typeof kt.indent&&kt.indent>0))return null;Bi=te.call(Array(kt.indent+1)," ")}return{base:Bi,prev:te.call(Array(yt+1),Bi)}}(ui,Ii);if(typeof un>"u")un=[];else if(ft(un,yt)>=0)return"[Circular]";function Xe(ci,Mi,Wi){if(Mi&&(un=le.call(un)).push(Mi),Wi){var mn={depth:ui.depth};return gt(ui,"quoteStyle")&&(mn.quoteStyle=ui.quoteStyle),kt(ci,mn,Ii+1,un)}return kt(ci,ui,Ii+1,un)}if("function"==typeof yt&&!Yt(yt)){var St=function ze(kt){if(kt.name)return kt.name;var yt=W.call(V.call(kt),/^function\s*([\w$]+)/);return yt?yt[1]:null}(yt),fi=tn(yt,Xe);return"[Function"+(St?": "+St:" (anonymous)")+"]"+(fi.length>0?" { "+te.call(fi,", ")+" }":"")}if(Ft(yt)){var Ni=Ue?fe.call(String(yt),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ce.call(yt);return"object"!=typeof yt||Ue?Ni:Qt(Ni)}if(function Tt(kt){return!(!kt||"object"!=typeof kt)&&(typeof HTMLElement<"u"&&kt instanceof HTMLElement||"string"==typeof kt.nodeName&&"function"==typeof kt.getAttribute)}(yt)){for(var Wt="<"+Y.call(String(yt.nodeName)),Ui=yt.attributes||[],_e=0;_e"}if(We(yt)){if(0===yt.length)return"[]";var Ne=tn(yt,Xe);return Oe&&!function ki(kt){for(var yt=0;yt=0)return!1;return!0}(Ne)?"["+ni(Ne,Oe)+"]":"[ "+te.call(Ne,", ")+" ]"}if(function we(kt){return!("[object Error]"!==At(kt)||Je&&"object"==typeof kt&&Je in kt)}(yt)){var Qe=tn(yt,Xe);return"cause"in Error.prototype||!("cause"in yt)||Ie.call(yt,"cause")?0===Qe.length?"["+String(yt)+"]":"{ ["+String(yt)+"] "+te.call(Qe,", ")+" }":"{ ["+String(yt)+"] "+te.call(ie.call("[cause]: "+Xe(yt.cause),Qe),", ")+" }"}if("object"==typeof yt&&hn){if(Ze&&"function"==typeof yt[Ze]&&Le)return Le(yt,{depth:de-Ii});if("symbol"!==hn&&"function"==typeof yt.inspect)return yt.inspect()}if(function Ct(kt){if(!g||!kt||"object"!=typeof kt)return!1;try{g.call(kt);try{F.call(kt)}catch{return!0}return kt instanceof Map}catch{}return!1}(yt)){var qe=[];return _.call(yt,function(ci,Mi){qe.push(Xe(Mi,yt,!0)+" => "+Xe(ci,yt))}),vi("Map",g.call(yt),qe,Oe)}if(function $e(kt){if(!F||!kt||"object"!=typeof kt)return!1;try{F.call(kt);try{g.call(kt)}catch{return!0}return kt instanceof Set}catch{}return!1}(yt)){var Lt=[];return S.call(yt,function(ci){Lt.push(Xe(ci,yt))}),vi("Set",F.call(yt),Lt,Oe)}if(function it(kt){if(!P||!kt||"object"!=typeof kt)return!1;try{P.call(kt,P);try{I.call(kt,I)}catch{return!0}return kt instanceof WeakMap}catch{}return!1}(yt))return zt("WeakMap");if(function _t(kt){if(!I||!kt||"object"!=typeof kt)return!1;try{I.call(kt,I);try{P.call(kt,P)}catch{return!0}return kt instanceof WeakSet}catch{}return!1}(yt))return zt("WeakSet");if(function Ae(kt){if(!J||!kt||"object"!=typeof kt)return!1;try{return J.call(kt),!0}catch{}return!1}(yt))return zt("WeakRef");if(function Jt(kt){return!("[object Number]"!==At(kt)||Je&&"object"==typeof kt&&Je in kt)}(yt))return Qt(Xe(Number(yt)));if(function ht(kt){if(!kt||"object"!=typeof kt||!ae)return!1;try{return ae.call(kt),!0}catch{}return!1}(yt))return Qt(Xe(ae.call(yt)));if(function Et(kt){return!("[object Boolean]"!==At(kt)||Je&&"object"==typeof kt&&Je in kt)}(yt))return Qt(Z.call(yt));if(function st(kt){return!("[object String]"!==At(kt)||Je&&"object"==typeof kt&&Je in kt)}(yt))return Qt(Xe(String(yt)));if(!function $t(kt){return!("[object Date]"!==At(kt)||Je&&"object"==typeof kt&&Je in kt)}(yt)&&!Yt(yt)){var Ke=tn(yt,Xe),et=rt?rt(yt)===Object.prototype:yt instanceof Object||yt.constructor===Object,Re=yt instanceof Object?"":"null prototype",pt=!et&&Je&&Object(yt)===yt&&Je in yt?ue.call(At(yt),8,-1):Re?"Object":"",Xt=(et||"function"!=typeof yt.constructor?"":yt.constructor.name?yt.constructor.name+" ":"")+(pt||Re?"["+te.call(ie.call([],pt||[],Re||[]),": ")+"] ":"");return 0===Ke.length?Xt+"{}":Oe?Xt+"{"+ni(Ke,Oe)+"}":Xt+"{ "+te.call(Ke,", ")+" }"}return String(yt)};var ot=Object.prototype.hasOwnProperty||function(kt){return kt in this};function gt(kt,yt){return ot.call(kt,yt)}function At(kt){return ne.call(kt)}function ft(kt,yt){if(kt.indexOf)return kt.indexOf(yt);for(var Bi=0,Ii=kt.length;Biyt.maxStringLength){var Bi=kt.length-yt.maxStringLength,Ii="... "+Bi+" more character"+(Bi>1?"s":"");return Vt(ue.call(kt,0,yt.maxStringLength),yt)+Ii}return xt(fe.call(fe.call(kt,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ut),"single",yt)}function Ut(kt){var yt=kt.charCodeAt(0),Bi={8:"b",9:"t",10:"n",12:"f",13:"r"}[yt];return Bi?"\\"+Bi:"\\x"+(yt<16?"0":"")+$.call(yt.toString(16))}function Qt(kt){return"Object("+kt+")"}function zt(kt){return kt+" { ? }"}function vi(kt,yt,Bi,Ii){return kt+" ("+yt+") {"+(Ii?ni(Bi,Ii):te.call(Bi,", "))+"}"}function ni(kt,yt){if(0===kt.length)return"";var Bi="\n"+yt.prev+yt.base;return Bi+te.call(kt,","+Bi)+"\n"+yt.prev}function tn(kt,yt){var Bi=We(kt),Ii=[];if(Bi){Ii.length=kt.length;for(var un=0;un=k)return ue;L=x(D),J=[],","===L.slice(-1)?(L=L.replace(P,""),$()):fe()}function fe(){for(x(F),Z="",ne="in descriptor";;){if(V=g.charAt(W),"in descriptor"===ne)if(_(V))Z&&(J.push(Z),Z="",ne="after descriptor");else{if(","===V)return W+=1,Z&&J.push(Z),void $();if("("===V)Z+=V,ne="in parens";else{if(""===V)return Z&&J.push(Z),void $();Z+=V}}else if("in parens"===ne)if(")"===V)Z+=V,ne="in descriptor";else{if(""===V)return J.push(Z),void $();Z+=V}else if("after descriptor"===ne&&!_(V)){if(""===V)return void $();ne="in descriptor",W-=1}W+=1}}function $(){var X,ie,te,le,ae,De,Ce,Ue,Je,Y=!1,pe={};for(le=0;le-1&&(At.onTap(),ft=!0);ft&&(ot.stopPropagation&&ot.stopPropagation(),le=!0,setTimeout(function(){le=!1},x.features.isOldAndroid?600:30))},Ce=function(ot,gt,At){x[(At?"add":"remove")+"Class"](ot,"pswp__"+gt)},Ue=function(){var ot=1===ie.getNumItemsFn();ot!==X&&(Ce(P,"ui--one-slide",ot),X=ot)},Je=function(){Ce(Z,"share-modal--hidden",ne)},Ie=function(){return(ne=!ne)?(x.removeClass(Z,"pswp__share-modal--fade-in"),setTimeout(function(){ne&&Je()},300)):(Je(),setTimeout(function(){ne||x.addClass(Z,"pswp__share-modal--fade-in")},30)),ne||Fe(),!1},rt=function(ot){var gt=(ot=ot||window.event).target||ot.srcElement;return _.shout("shareLinkClick",ot,gt),!(!gt.href||!gt.hasAttribute("download")&&(window.open(gt.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),ne||Ie(),1))},Fe=function(){for(var gt,ze,ft,Ct,ot="",it=0;it