PageSourceSearch

https://account.arin.net/public/chunk-EOFWGSLW.js

js arin.net collected 2026-09-24 07:19:24 UTC 51,886 bytes, 398 lines download raw bytes

1import{a as ge,b as Se}from"./chunk-RP7ERVQH.js";import{a as Ue,b as Fe,c as He,d as je}from"./chunk-L3HX4SZF.js";import{a as Ve,b as We}from"./chunk-WDDGA74L.js";import{a as Ne}from"./chunk-YBHZG67L.js";import{a as Pe}from"./chunk-XVFG7TCI.js";import{d as qe}from"./chunk-KNA2SUUJ.js";import"./chunk-OZY77U3I.js";import{a as Be}from"./chunk-KXVPLRJO.js";import{a as Re}from"./chunk-YOWSFPMA.js";import{Ac as ke,Ca as re,Da as se,Ea as le,Fa as de,Ga as e,Ha as _,I as ee,Ia as f,J as te,Ja as F,Jc as Oe,M as ie,N as y,O as b,Oa as ce,Pa as X,Sa as v,Sb as Ce,Ta as D,Tb as ye,Ua as H,Va as pe,X as W,Xa as me,Y as J,Z as o,aa as h,ab as k,ad as Te,ba as A,bb as ue,ca as ne,cb as he,fa as d,gc as be,ha as ae,hc as we,ia as r,ja as C,jc as Ee,ka as $,la as M,lb as _e,ma as Q,mb as fe,n as S,na as i,nb as ve,oa as n,oc as Ie,pa as m,pb as xe,q as g,qe as Le,rc as Ae,s as I,sa as w,t as R,ta as E,ua as p,ud as Me,va as L,wa as N,xa as q,ya as O,yc as De,za as oe}from"./chunk-ZB7A6YNV.js";var Ze=(()=>{class a{check(t){return typeof document>"u"?!1:(t=encodeURIComponent(t),new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g").test(document.cookie))}get(t){if(this.check(t)){t=encodeURIComponent(t);let c=new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g").exec(document.cookie);return decodeURIComponent(c[1])}else return""}getAll(){let t={};if(document.cookie&&document.cookie!=""){let s=document.cookie.split(";");for(let c of s){let u=c.split("=");u[0]=u[0].replace(/^ /,""),t[decodeURIComponent(u[0])]=decodeURIComponent(u[1])}}return t}set(t,s,c,u,P,V){let x=encodeURIComponent(t)+"="+encodeURIComponent(s)+";";if(c)if(typeof c=="number"){let T=new Date(new Date().getTime()+c*1e3*60*60*24);x+="expires="+T.toUTCString()+";"}else x+="expires="+c.toUTCString()+";";u||(u="/"),x+="path="+u+";",P&&(x+="domain="+P+";"),V&&(x+="secure;"),document.cookie=x}delete(t,s,c){this.set(t,"",-1,s,c)}deleteAll(t,s){let c=this.getAll();for(let u of Object.keys(c))this.delete(u,t,s)}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275prov=ee({token:a,factory:a.\u0275fac})}}return a})(),U=new Ze;var et=["*"],ze=(()=>{class a{constructor(){this.isDisabled=!1}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=A({type:a,selectors:[["ap-rd-widget"]],inputs:{isDisabled:"isDisabled"},standalone:!1,ngContentSelectors:et,decls:5,vars:1,consts:[[1,"widget",3,"ngClass"]],template:function(s,c){s&1&&(L(),i(0,"div",0),e(1,`
2  `),N(2),e(3,`
3`),n(),e(4,`
4`)),s&2&&r("ngClass",c.isDisabled?"disabled":"")},dependencies:[k],encapsulation:2})}}return a})();var it=["*"],Ge=(()=>{class a{static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=A({type:a,selectors:[["ap-rd-widget-header"]],inputs:{title:"title",icon:"icon"},standalone:!1,ngContentSelectors:it,decls:10,vars:2,consts:[[1,"widget-header","ngBinding"],["aria-hidden","true",1,"fa",3,"ngClass"],[1,"float-end"]],template:function(s,c){s&1&&(L(),i(0,"div",0),e(1,`
5  `),m(2,"i",1),e(3),i(4,"div",2),e(5,`
6    `),N(6),e(7,`
7  `),n(),e(8,`
8`),n(),e(9,`
9`)),s&2&&(o(2),r("ngClass",c.icon),o(),f(" ",c.title,`
10  `))},dependencies:[k],encapsulation:2})}}return a})();var at=["*"],Ye=(()=>{class a{constructor(){this.isLastOdd=!1}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=A({type:a,selectors:[["ap-rd-widget-body"]],inputs:{classes:"classes",isLastOdd:"isLastOdd"},standalone:!1,ngContentSelectors:at,decls:8,vars:3,consts:[[1,"widget-body",3,"ngClass"],[1,"widget-content"]],template:function(s,c){s&1&&(L(),i(0,"div",0),e(1,`
11  `),i(2,"div",1),e(3,`
12    `),N(4),e(5,`
13  `),n(),e(6,`
14`),n(),e(7,`
15`)),s&2&&(C("height",c.isLastOdd?"auto":""),r("ngClass",c.classes))},dependencies:[k],encapsulation:2})}}return a})();var rt=["notificationModalTemplate"],st=()=>({excludeRsa:!0}),lt=a=>({"past-due":a}),dt=a=>({"validation-unresponsive":a});function ct(a,l){a&1&&(i(0,"alert",6),e(1,`
16      `),i(2,"span"),m(3,"i",7),n(),e(4,`
17      `),i(5,"span"),e(6,`
18        `),i(7,"p"),e(8,"This system is temporarily out of service. Please check back soon."),n(),e(9,`
19        `),i(10,"p"),e(11,"To report an error, please document the steps you took before the error occurred and email it to "),i(12,"a",8),e(13,"[email protected]"),n(),e(14,"."),n(),e(15,`
20      `),n(),e(16,`
21    `),n())}function pt(a,l){a&1&&(i(0,"alert",32),e(1,`
22          `),i(2,"span"),m(3,"i",33),n(),e(4,`
23          `),i(5,"span"),e(6,`
24            Our billing system is currently unavailable. Please try again later.
25          `),n(),e(7,`
26        `),n())}function mt(a,l){if(a&1&&(i(0,"span"),e(1,`
27              `),i(2,"a",35),e(3,"Point of Contact (POC) record"),n(),e(4,`
28            `),n()),a&2){let t=p(4);o(2),O("routerLink","/secure/poc/view/",t.unvalidatedPocs[0].handle,"")}}function ut(a,l){a&1&&(i(0,"span"),e(1,`
29              `),i(2,"a",36),e(3,"Point of Contact (POC) records"),n(),e(4,`
30            `),n())}function ht(a,l){if(a&1&&(i(0,"alert",34),e(1,`
31          `),i(2,"span"),m(3,"i",7),n(),e(4,`
32          `),i(5,"span"),e(6,`
33            `),i(7,"span"),e(8,"Validate your "),n(),e(9,`
34            `),d(10,mt,5,2,"span",5),e(11,`
35            `),d(12,ut,5,0,"span",5),e(13,`
36            `),i(14,"span"),e(15,"to restore full functionality."),n(),e(16,`
37          `),n(),e(17,`
38        `),n()),a&2){let t=p(3);o(10),r("ngIf",t.unvalidatedPocs.length==1),o(2),r("ngIf",t.unvalidatedPocs.length!=1)}}function _t(a,l){a&1&&(i(0,"span"),e(1,`
39              Please consider securing your account further and avoiding future mandatory password resets by enabling
40              `),i(2,"a",39),e(3,"multifactor authentication"),n(),e(4,`.
41            `),n())}function ft(a,l){if(a&1&&(i(0,"alert",37),e(1,`
42          `),i(2,"span"),m(3,"i",38),n(),e(4,`
43          `),i(5,"span"),e(6,`
44            `),i(7,"span"),e(8,"Password change successful."),n(),e(9,`
45            `),d(10,_t,5,0,"span",5),e(11,`
46          `),n(),e(12,`
47        `),n()),a&2){let t=p(3);o(10),r("ngIf",t.showPasswordChangeAlert2faMessage)}}function vt(a,l){if(a&1&&(i(0,"alert",40),e(1,`
48          `),i(2,"span"),m(3,"i",41),n(),e(4,`
49          `),i(5,"span"),e(6,"NOTICE: ARIN  "),i(7,"a",42),e(8,"Terms of Service"),n(),e(9),v(10,"date"),n(),e(11,`
50        `),n()),a&2){let t=p(3);o(9),f(" were updated on ",H(10,1,t.updatedTosAvailableDate,"dd MMMM yyyy"),".")}}function xt(a,l){if(a&1&&(i(0,"span"),e(1,`
51            You have a past due unpaid invoice. Please click `),i(2,"a",44),e(3,"here"),n(),e(4,` to pay it.
52          `),n()),a&2){let t=p(4);o(2),O("routerLink","/payment/pay/",t.pastDueInvoices[0].invoiceNumber,"")}}function gt(a,l){if(a&1&&(i(0,"span"),e(1,`
53            You have `),i(2,"strong"),e(3),n(),e(4," past due "),i(5,"a",45),e(6,"invoices"),n(),e(7,`.
54            `),n()),a&2){let t=p(5);o(3),_(t.pastDueInvoices.length)}}function St(a,l){if(a&1&&(i(0,"span"),e(1,`
55              You have `),i(2,"strong"),e(3),n(),e(4,` past due invoices.
56            `),n()),a&2){let t=p(5);o(3),_(t.pastDueInvoices.length)}}function Ct(a,l){if(a&1&&(i(0,"span"),e(1,`
57            `),d(2,gt,8,1,"span",5),e(3,`
58            `),d(4,St,5,1,"span",5),e(5,`
59          `),n()),a&2){let t=p(4);o(2),r("ngIf",!t.showUnresponsivePocAlert),o(2),r("ngIf",t.showUnresponsivePocAlert)}}function yt(a,l){if(a&1&&(i(0,"alert",43),e(1,`
60          `),i(2,"span"),m(3,"i",7),n(),e(4,`
61          `),d(5,xt,5,2,"span",5),e(6,`
62          `),d(7,Ct,6,2,"span",5),e(8,`
63        `),n()),a&2){let t=p(3);o(5),r("ngIf",t.pastDueInvoices.length==1),o(2),r("ngIf",t.pastDueInvoices.length!=1)}}function bt(a,l){a&1&&(i(0,"span"),e(1,`
64            You have an `),i(2,"a",48),e(3,"unread message"),n(),e(4,`.
65          `),n())}function wt(a,l){if(a&1&&(i(0,"span"),e(1,`
66            You have `),i(2,"strong"),e(3),n(),e(4," "),i(5,"a",48),e(6,"unread messages"),n(),e(7,`.
67          `),n()),a&2){let t=p(4);o(3),_(t.unreadMessageCount)}}function Et(a,l){if(a&1&&(i(0,"alert",46),e(1,`
68          `),i(2,"span"),m(3,"i",47),n(),e(4,`
69          `),d(5,bt,5,0,"span",5),e(6,`
70          `),d(7,wt,8,1,"span",5),e(8,`
71        `),n()),a&2){let t=p(3);o(5),r("ngIf",t.unreadMessageCount==1),o(2),r("ngIf",t.unreadMessageCount!=1)}}function It(a,l){a&1&&(i(0,"div",49),e(1,`
72          `),i(2,"span"),m(3,"i",50),n(),e(4,`
73          `),i(5,"span"),e(6,`
74            Multifactor Authentication is not set. `),i(7,"a",51),e(8,"Configure it now"),n(),e(9,`.
75          `),n(),e(10,`
76        `),n())}function At(a,l){if(a&1&&(i(0,"div",52),e(1,`
77          `),i(2,"span"),m(3,"i",53),n(),e(4,`
78          `),i(5,"span"),e(6),i(7,"a",54),e(8,"Manage your MFA settings"),n(),e(9," or "),i(10,"a",55),e(11,"get new recovery codes"),n(),e(12,`.
79          `),n(),e(13,`
80        `),n()),a&2){let t=p(3);$("alert-warning",t.hasPlentifulRecoveryCodes)("alert-danger",!t.hasPlentifulRecoveryCodes),o(3),$("fa-info-circle",t.hasPlentifulRecoveryCodes)("fa-exclamation-triangle",!t.hasPlentifulRecoveryCodes),o(3),f(`
81            You have `,t.wuser.activeRecoveryCodes,` active recovery codes remaining.
82            `)}}function Dt(a,l){if(a&1&&(i(0,"span"),e(1,`
83            `),i(2,"a",59),e(3),n(),e(4,`
84          `),n()),a&2){let t=p(4);o(2),r("queryParams",ce(3,st)),o(),F("",t.uncoveredNetCount,"  ",t.uncoveredNetCount>1?"Networks":"Network","")}}function kt(a,l){a&1&&(i(0,"span"),e(1,`
85            and
86          `),n())}function Ot(a,l){if(a&1&&(i(0,"span"),e(1,`
87            `),i(2,"a",60),e(3),n(),e(4,`
88          `),n()),a&2){let t=p(4);o(3),f("",t.uncoveredAsnCount," ASN")}}function Pt(a,l){if(a&1&&(i(0,"span"),e(1,`
89            `),i(2,"a",60),e(3),n(),e(4,`
90          `),n()),a&2){let t=p(4);o(3),f("",t.uncoveredAsnCount," ASNs")}}function Tt(a,l){a&1&&(i(0,"span"),e(1,"is "),n())}function Rt(a,l){a&1&&(i(0,"span"),e(1,"are "),n())}function Mt(a,l){if(a&1&&(i(0,"alert",56),e(1,`
91          `),i(2,"span"),m(3,"i",33),n(),e(4,`
92          `),d(5,Dt,5,4,"span",5),e(6,`
93          `),d(7,kt,2,0,"span",5),e(8,`
94          `),d(9,Ot,5,1,"span",5),e(10,`
95          `),d(11,Pt,5,1,"span",5),e(12,`
96          `),d(13,Tt,2,0,"span",5),e(14,`
97          `),d(15,Rt,2,0,"span",5),e(16,`
98          `),i(17,"span",57),e(18,"ineligible for routing security services"),n(),e(19,`
99          such as RPKI and ARIN's IRR. `),i(20,"a",58),e(21,"Learn more"),n(),e(22,`.
100        `),n()),a&2){let t=p(3);o(5),r("ngIf",t.uncoveredNetCount>0),o(2),r("ngIf",t.uncoveredNetCount>0&&t.uncoveredAsnCount>0),o(2),r("ngIf",t.uncoveredAsnCount==1),o(2),r("ngIf",t.uncoveredAsnCount>1),o(2),r("ngIf",t.uncoveredAsnCount+t.uncoveredNetCount==1),o(2),r("ngIf",t.uncoveredAsnCount+t.uncoveredNetCount>1)}}function Lt(a,l){if(a&1){let t=w();i(0,"ap-rd-widget",61),E("click",function(){y(t);let c=p(3);return b(c.wuser.isStaffMember||c.goToUrl(c.votingUrl))}),e(1,`
101          `),i(2,"ap-rd-widget-body"),e(3,`
102            `),i(4,"div",62),e(5,`
103              `),i(6,"span",63),e(7,`
104                `),m(8,"i",64),e(9,`
105              `),n(),e(10,`
106              `),i(11,"span",65),e(12),v(13,"date"),i(14,"a",66),e(15,"Vote now!"),n(),e(16,`
107              `),n(),e(17,`
108            `),n(),e(18,`
109          `),n(),e(19,`
110        `),n()}if(a&2){let t=p(3);r("isDisabled",t.wuser.isStaffMember),o(12),f(`
111                Cast your ballot! Voting for the `,H(13,5,t.date,"yyyy"),` ARIN elections is now open.
112                `),o(2),M(t.wuser.isStaffMember?"disabled-link":""),q("href",t.votingUrl,J)}}function Nt(a,l){if(a&1){let t=w();i(0,"ap-rd-widget",67),E("click",function(){y(t);let c=p(3);return b(c.wuser.isStaffMember||c.goToUrl(c.votingUrl))}),e(1,`
113          `),i(2,"ap-rd-widget-body"),e(3,`
114            `),i(4,"div",62),e(5,`
115              `),i(6,"span",63),e(7,`
116                `),m(8,"i",64),e(9,`
117              `),n(),e(10,`
118              `),i(11,"span",65),e(12,`
119                `),i(13,"a",68),e(14,"Cast Support"),n(),e(15),v(16,"date"),n(),e(17,`
120            `),n(),e(18,`
121          `),n(),e(19,`
122        `),n()}if(a&2){let t=p(3);r("isDisabled",t.wuser.isStaffMember),o(13),M(t.wuser.isStaffMember?"disabled-link":""),q("href",t.votingUrl,J),o(2),f(`
123                for the `,H(16,5,t.date,"yyyy"),` ARIN Election Petitioners to be added to the Final Slate of Candidates.
124              `)}}function Ut(a,l){if(a&1&&(i(0,"div",20),e(1,`
125        `),i(2,"h2"),e(3,"Alerts"),n(),e(4,`
126        `),d(5,pt,8,0,"alert",21),e(6,`
127        `),d(7,ht,18,2,"alert",22),e(8,`
128        `),d(9,ft,13,1,"alert",23),e(10,`
129        `),d(11,vt,12,4,"alert",24),e(12,`
130        `),d(13,yt,9,2,"alert",25),e(14,`
131        `),d(15,Et,9,2,"alert",26),e(16,`
132        `),d(17,It,11,0,"div",27),e(18,`
133        `),d(19,At,14,9,"div",28),e(20,`
134        `),d(21,Mt,23,6,"alert",29),e(22,`
135        `),d(23,Lt,20,8,"ap-rd-widget",30),e(24,`
136
137        `),d(25,Nt,20,8,"ap-rd-widget",31),e(26,`
138
139      `),n()),a&2){let t=p(2);o(5),r("ngIf",t.showBillingSystemStatusAlert),o(2),r("ngIf",t.showUnresponsivePocAlert),o(2),r("ngIf",t.showPasswordChangeSuccessAlert),o(2),r("ngIf",t.showU
139pdatedTosAvailableAlert),o(2),r("ngIf",t.showPastDueInvoiceAlert),o(2),r("ngIf",t.showUnreadMessagesAlert),o(2),r("ngIf",t.show2faAlert),o(2),r("ngIf",t.showRecoveryCodeAlert),o(2),r("ngIf",t.showUncoveredResourcesAlert),o(2),r("ngIf",t.showElectionAlert),o(2),r("ngIf",t.showPetitionAlert)}}function Vt(a,l){if(a&1){let t=w();i(0,"button",76),E("click",function(){y(t);let c=p().$implicit,u=p(3);return b(u.dismissAlert(c.alertId))}),n()}if(a&2){let t=p().index;O("id","dismiss-alert-",t,"")}}function Bt(a,l){if(a&1&&(i(0,"div",71),e(1,`
140          `),i(2,"div",72),e(3,`
141            `),m(4,"i",73),e(5,`
142            `),m(6,"div",74),e(7,`
143            `),d(8,Vt,1,2,"button",75),e(9,`
144          `),n(),e(10,`
145        `),n()),a&2){let t=l.$implicit,s=l.index,c=p(3);Q("alert ",c.alertColorMap[t.color]," alert-dismissible"),O("id","dashboardAlert-",s,""),o(4),Q("fa fa-fw ",t.icon,""),o(2),r("innerHTML",t.body,W),o(2),r("ngIf",t.dismissible)}}function Wt(a,l){if(a&1&&(i(0,"div",69),e(1,`
146        `),d(2,Bt,11,10,"div",70),e(3,`
147      `),n()),a&2){let t=p(2);o(2),r("ngForOf",t.dashboardAlerts)}}function qt(a,l){a&1&&(i(0,"alert",85),e(1,`
148            `),i(2,"span"),m(3,"i",33),n(),e(4,`
149            `),i(5,"span"),e(6,`
150            You have one or more pending requests related to obtaining or managing IP Addresses and/or ASNs.
151            `),i(7,"a",86),e(8,"Track tickets"),n(),e(9,`.
152          `),n(),e(10,`
153        `),n())}function Ft(a,l){a&1&&(i(0,"alert",87),e(1,`
154            `),i(2,"span"),m(3,"i",33),n(),e(4,`
155            `),i(5,"span"),e(6,`
156            You have one or more pending requests related to creating or recovering an Organization Identifier (Org ID).
157            `),i(7,"a",86),e(8,"Track tickets"),n(),e(9,`.
158          `),n(),e(10,`
159        `),n())}function Ht(a,l){a&1&&(i(0,"alert",88),e(1,`
160            `),i(2,"span"),m(3,"i",33),n(),e(4,`
161            `),i(5,"span"),e(6,`
162            You have one or more pending requests related to the recovery of a Point of Contact (POC).
163            `),i(7,"a",86),e(8,"Track tickets"),n(),e(9,`.
164          `),n(),e(10,`
165        `),n())}function jt(a,l){a&1&&(i(0,"alert",89),e(1,`
166            `),i(2,"span"),m(3,"i",33),n(),e(4,`
167            `),i(5,"span"),e(6,`
168              You have one or more pending requests to link your account to a Point of Contact (POC) record.
169            `),i(7,"a",86),e(8,"Track tickets"),n(),e(9,`.
170          `),n(),e(10,`
171        `),n())}function zt(a,l){a&1&&(i(0,"alert",90),e(1,`
172            `),i(2,"span"),m(3,"i",33),n(),e(4,`
173            `),i(5,"span"),e(6,`
174            Your request for billing authorization is pending your confirmation or authorization.
175          `),n(),e(7,`
176        `),n())}function Gt(a,l){a&1&&(i(0,"alert",91),e(1,`
177          `),i(2,"span"),m(3,"i",92),n(),e(4,`
178          `),i(5,"span"),e(6,`
179            If your only responsibility is to manage the billing information for an organization, please
180            `),i(7,"a",93),e(8,"request billing authorization"),n(),e(9,`.
181          `),n(),e(10,`
182        `),n())}function Yt(a,l){a&1&&(i(0,"div"),e(1,`
183              `),m(2,"i",98),e(3,`
184              `),i(4,"a",99),e(5,`Create a new Point of Contact
185                (POC) record`),n(),e(6,`
186              or `),i(7,"a",100),e(8,"request to be linked to an existing POC"),n(),e(9,`.
187            `),n())}function Kt(a,l){a&1&&(i(0,"div"),e(1,`
188              `),m(2,"i",98),e(3,`
189              `),i(4,"a",101),e(5,`Create a new Organization
190                Identifier (Org ID)`),n(),e(6,`
191              or `),i(7,"a",102),e(8,`recover an
192              existing Org ID`),n(),e(9,`.
193            `),n())}function Jt(a,l){a&1&&(i(0,"div"),e(1,`
194              `),m(2,"i",98),e(3,`
195              Submit a `),i(4,"a",103),e(5,"resource request"),n(),e(6,`,
196              a `),i(7,"a",104),e(8,"transfer request"),n(),e(9,`, or inform your upstream provider of your Org ID.
197            `),n())}function $t(a,l){if(a&1&&(i(0,"alert",94),e(1,`
198          `),i(2,"p",95),e(3,`
199            To obtain or manage IP Addresses or `),i(4,"span",96),e(5,"ASNs"),n(),e(6,`:
200          `),n(),e(7,`
201          `),i(8,"div",97),e(9,`
202            `),d(10,Yt,10,0,"div",5),e(11,`
203            `),d(12,Kt,10,0,"div",5),e(13,`
204            `),d(14,Jt,10,0,"div",5),e(15,`
205          `),n(),e(16,`
206        `),n()),a&2){let t=p(3);o(10),r("ngIf",t.gettingStartedStep=="poc"),o(2),r("ngIf",t.gettingStartedStep=="org"),o(2),r("ngIf",t.gettingStartedStep=="resource")}}function Qt(a,l){if(a&1&&(i(0,"div",77),e(1,`
207        `),d(2,qt,11,0,"alert",78),e(3,`
208        `),d(4,Ft,11,0,"alert",79),e(5,`
209        `),d(6,Ht,11,0,"alert",80),e(7,`
210        `),d(8,jt,11,0,"alert",81),e(9,`
211        `),d(10,zt,8,0,"alert",82),e(11,`
212        `),d(12,Gt,11,0,"alert",83),e(13,`
213        `),d(14,$t,17,3,"alert",84),e(15,`
214      `),n()),a&2){let t=p(2);o(2),r("ngIf",t.showPendingResourceRequestAlert),o(2),r("ngIf",t.showPendingOrgRequestAlert),o(2),r("ngIf",t.showPendingPocRecoveryAlert),o(2),r("ngIf",t.showUnconfirmedPocLinkAlert),o(2),r("ngIf",t.showPendingBillingAuthorizationAlert),o(2),r("ngIf",t.showBillingAuthorizationAlert),o(2),r("ngIf",t.showGettingStartedStepAlert)}}function Xt(a,l){if(a&1&&(i(0,"span",115),e(1),v(2,"number"),n()),a&2){let t=p(4);o(),_(D(2,1,t.pocCount))}}function Zt(a,l){if(a&1&&(i(0,"span",116),e(1),n()),a&2){let t=p(4);o(),_(t.poc.handle)}}function ei(a,l){a&1&&(i(0,"span"),e(1,"Point of Contact record (POC)"),n())}function ti(a,l){a&1&&(i(0,"span"),e(1,"Point of Contact records (POCs)"),n())}function ii(a,l){if(a&1){let t=w();i(0,"div",106),e(1,`
215          `),i(2,"ap-rd-widget",107),E("click",function(){y(t);let c=p(3);return b(c.goToUrl("/secure/poc",!0))}),e(3,`
216            `),i(4,"ap-rd-widget-body",108),e(5,`
217              `),i(6,"div",109),e(7,`
218                `),m(8,"i",110),e(9,`
219              `),n(),e(10,`
220              `),i(11,"div",62),e(12,`
221                `),d(13,Xt,3,3,"span",111),e(14,`
222                `),d(15,Zt,2,1,"span",112),e(16,`
223              `),n(),e(17,`
224              `),i(18,"div",113),e(19,`
225                `),i(20,"a",114),e(21,`
226                  `),d(22,ei,2,0,"span",5),e(23,`
227                  `),d(24,ti,2,0,"span",5),e(25,`
228                `),n(),e(26,`
229              `),n(),e(27,`
230            `),n(),e(28,`
231          `),n(),e(29,`
232        `),n()}if(a&2){let t=p(3);C("width",t.lastOddAssociation==="pocs"?"100":"","%"),o(4),r("isLastOdd",t.lastOddAssociation==="pocs"),o(9),r("ngIf",t.pocCount!=1),o(2),r("ngIf",t.pocCount==1),o(7),r("ngIf",t.pocCount===1),o(2),r("ngIf",t.pocCount!==1)}}function ni(a,l){if(a&1&&(i(0,"span",123),e(1),v(2,"number"),n()),a&2){let t=p(4);o(),_(D(2,1,t.orgCount))}}function ai(a,l){if(a&1&&(i(0,"span",124),e(1),n()),a&2){let t=p(4);o(),_(t.org.handle)}}function oi(a,l){a&1&&(i(0,"span"),e(1,"Organization Identifier (Org ID)"),n())}function ri(a,l){a&1&&(i(0,"span"),e(1,"Organization Identifiers (Org IDs)"),n())}function si(a,l){if(a&1){let t=w();i(0,"div",106),e(1,`
233          `),i(2,"ap-rd-widget",117),E("click",function(){y(t);let c=p(3);return b(c.hasUnresponsivePoc||c.goToUrl("/secure/org",!0))}),e(3,`
234            `),i(4,"ap-rd-widget-body",108),e(5,`
235              `),i(6,"div",118),e(7,`
236                `),m(8,"i",119),e(9,`
237              `),n(),e(10,`
238              `),i(11,"div",62),e(12,`
239                `),d(13,ni,3,3,"span",120),e(14,`
240                `),d(15,ai,2,1,"span",121),e(16,`
241              `),n(),e(17,`
242              `),i(18,"div",113),e(19,`
243                `),i(20,"a",122),e(21,`
244                  `),d(22,oi,2,0,"span",5),e(23,`
245                  `),d(24,ri,2,0,"span",5),e(25,`
246                `),n(),e(26,`
247              `),n(),e(27,`
248            `),n(),e(28,`
249          `),n(),e(29,`
250        `),n()}if(a&2){let t=p(3);C("width",t.lastOddAssociation==="orgs"?"100":"","%"),o(2),r("isDisabled",t.hasUnresponsivePoc),o(2),r("isLastOdd",t.lastOddAssociation==="orgs"),o(9),r("ngIf",t.orgCount!=1),o(2),r("ngIf",t.orgCount==1),o(5),M(t.hasUnresponsivePoc?"disabled-link":""),o(2),r("ngIf",t.orgCount===1),o(2),r("ngIf",t.orgCount!==1)}}function li(a,l){if(a&1&&(i(0,"span",130),e(1),v(2,"number"),n()),a&2){let t=p(4);o(),_(D(2,1,t.netCount))}}function di(a,l){if(a&1&&(i(0,"span",131),e(1),n()),a&2){let t=p(4);o(),_(t.net.netHandle)}}function ci(a,l){a&1&&(i(0,"span"),e(1,"Network (NET)"),n())}function pi(a,l){a&1&&(i(0,"span"),e(1,"Networks (NETs)"),n())}function mi(a,l){if(a&1){let t=w();i(0,"div",106),e(1,`
251          `),i(2,"ap-rd-widget",117),E("click",function(){y(t);let c=p(3);return b(c.hasUnresponsivePoc||c.goToUrl("/secure/net/",!0))}),e(3,`
252            `),i(4,"ap-rd-widget-body",108),e(5,`
253              `),i(6,"div",125),e(7,`
254                `),m(8,"i",126),e(9,`
255              `),n(),e(10,`
256              `),i(11,"div"),e(12,`
257                `),i(13,"div",62),e(14,`
258                  `),d(15,li,3,3,"span",127),e(16,`
259                  `),d(17,di,2,1,"span",128),e(18,`
260                `),n(),e(19,`
261                `),i(20,"div",113),e(21,`
262                  `),i(22,"a",129),e(23,`
263                    `),d(24,ci,2,0,"span",5),e(25,`
264                    `),d(26,pi,2,0,"span",5),e(27,`
265                  `),n(),e(28,`
266                `),n(),e(29,`
267              `),n(),e(30,`
268            `),n(),e(31,`
269          `),n(),e(32,`
270        `),n()}if(a&2){let t=p(3);C("width",t.lastOddAssociation==="nets"?"100":"","%"),o(2),r("isDisabled",t.hasUnresponsivePoc),o(2),r("isLastOdd",t.lastOddAssociation==="nets"),o(11),r("ngIf",t.netCount!=1),o(2),r("ngIf",t.netCount==1),o(5),M(t.hasUnresponsivePoc?"disabled-link":""),o(2),r("ngIf",t.netCount===1),o(2),r("ngIf",t.netCount!==1)}}function ui(a,l){if(a&1&&(i(0,"span",137),e(1),v(2,"number"),n()),a&2){let t=p(4);o(),_(D(2,1,t.asnCount))}}function hi(a,l){if(a&1&&(i(0,"span",138),e(1),n()),a&2){let t=p(4);o(),_(t.asn.handle)}}function _i(a,l){a&1&&(i(0,"span"),e(1,"Autonomous System Number (ASN)"),n())}function fi(a,l){a&1&&(i(0,"span"),e(1,"Autonomous System Numbers (ASNs)"),n())}function vi(a,l){if(a&1){let t=w();i(0,"div",106),e(1,`
271          `),i(2,"ap-rd-widget",117),E("click",function(){y(t);let c=p(3);return b(c.hasUnresponsivePoc||c.goToUrl("/secure/asn/",!0))}),e(3,`
272            `),i(4,"ap-rd-widget-body",108),e(5,`
273              `),i(6,"div",132),e(7,`
274                `),m(8,"i",133),e(9,`
275              `),n(),e(10,`
276              `),i(11,"div",62),e(12,`
277                `),d(13,ui,3,3,"span",134),e(14,`
278                `),d(15,hi,2,1,"span",135),e(16,`
279              `),n(),e(17,`
280              `),i(18,"div",113),e(19,`
281                `),i(20,"a",136),e(21,`
282                  `),d(22,_i,2,0,"span",5),e(23,`
283                  `),d(24,fi,2,0,"span",5),e(25,`
284                `),n(),e(26,`
285              `),n(),e(27,`
286            `),n(),e(28,`
287          `),n(),e(29,`
288        `),n()}if(a&2){let t=p(3);C("width",t.lastOddAssociation==="asns"?"100":"","%"),o(2),r("isDisabled",t.hasUnresponsivePoc),o(2),r("isLastOdd",t.lastOddAssociation==="asns"),o(9),r("ngIf",t.asnCount!=1),o(2),r("ngIf",t.asnCount==1),o(5),M(t.hasUnresponsivePoc?"disabled-link":""),o(2),r("ngIf",t.asnCount===1),o(2),r("ngIf",t.asnCount!==1)}}function xi(a,l){if(a&1&&(i(0,"div",105),e(1,`
289        `),d(2,ii,30,7,"div",14),e(3,`
290        `),d(4,si,30,10,"div",14),e(5,`
291        `),d(6,mi,33,10,"div",14),e(7,`
292        `),d(8,vi,30,10,"div",14),e(9,`
293      `),n()),a&2){let t=p(2);o(2),r("ngIf",t.pocCount>0),o(2),r("ngIf",t.orgCount>0),o(2),r("ngIf",t.hasResources),o(2),r("ngIf",t.hasResources)}}function gi(a,l){if(a&1&&(i(0,"tr",147),e(1,`
294                    `),i(2,"td",148),e(3,`
295                      `),i(4,"a",149),e(5),n(),e(6,`
296                    `),n(),e(7,`
297                    `),i(8,"td",150),e(9,`
298                      `),i(10,"p",151),e(11),n(),e(12,`
299                    `),n(),e(13,`
300                    `),i(14,"td",152),e(15,`
301                      `),i(16,"p"),e(17),v(18,"currency"),n(),e(19,`
302                    `),n(),e(20,`
303                    `),i(21,"td",153),e(22,`
304                      `),i(23,"p"),e(24),v(25,"date"),n(),e(26,`
305                    `),n(),e(27,`
306                  `),n()),a&2){let t=l.$implicit;r("ngClass",X(14,lt,t.pastDue)),o(4),O("routerLink","/secure/billing/invoice/",t.invoiceNumber,""),o(),f(`
307                        `,t.invoiceNumber,`
308                      `),o(5),q("tooltip",t.orgName),o(),f(`
309                        `,t.orgHandle,`
310                      `),o(6),_(pe(18,8,t.amount,"USD","symbol")),o(7),_(D(25,12,t.dueDate))}}function Si(a,l){if(a&1&&(i(0,"div",106),e(1,`
311          `),i(2,"ap-rd-widget"),e(3,`
312            `),m(4,"ap-rd-widget-header",139),e(5,`
313            `),i(6,"ap-rd-widget-body",18),e(7,`
314              `),i(8,"div",140),e(9,`
315                `),i(10,"table",141),e(11,`
316                  `),i(12,"thead"),e(13,`
317                  `),i(14,"tr"),e(15,`
318                    `),i(16,"th",142),e(17,"Invoice #"),n(),e(18,`
319                    `),i(19,"th",143),e(20,"Org ID"),n(),e(21,`
320                    `),i(22,"th",144),e(23,"Amount"),n(),e(24,`
321                    `),i(25,"th",145),e(26,"Due Date"),n(),e(27,`
322                  `),n(),e(28,`
323                  `),n(),e(29,`
324                  `),i(30,"tbody"),e(31,`
325                  `),d(32,gi,28,16,"tr",146),e(33,`
326                  `),n(),e(34,`
327                `),n(),e(35,`
328              `),n(),e(36,`
329            `),n(),e(37,`
330          `),n(),e(38,`
331        `),n()),a&2){let t=p(2);C("width",t.lastOddWidget==="unpaidInvoices"?"100":"","%"),o(6),r("isLastOdd",t.lastOddWidget==="unpaidInvoices"),o(26),r("ngForOf",t.unpaidInvoices)}}function Ci(a,l){if(a&1&&(i(0,"tr",147),e(1,`
332                    `),i(2,"td",160),e(3,`
333                      `),i(4,"a",161),e(5),n(),e(6,`
334                    `),n(),e(7,`
335                    `),i(8,"td",162),e(9,`
336                      `),i(10,"p",163,1),e(12),n(),e(13,`
337                    `),n(),e(14,`
338                  `),n()),a&2){let t=l.$implicit,s=l.index,c=de(11),u=p(3);r("ngClass",X(11,dt,t.isValidationUnresponsive)),o(4),O("routerLink","/secure/poc/view/",t.handle,""),o(),f(`
339                        `,t.handle,`
340                      `),o(5),oe("tooltip","",t.firstName," ",t.lastName,""),r("isDisabled",u.isPocNameTooLarge(c)),ae("id","pocName"+s),o(2),F(`
341                        `,t.firstName," ",t.lastName,`
342                      `)}}function yi(a,l){if(a&1&&(i(0,"div",164),e(1),v(2,"number"),v(3,"number"),n()),a&2){let t=p(3);o(),F(`
343            Showing `,D(2,2,t.unvalidatedPocLimit)," of ",D(3,4,t.unvalidatedPocCount),` Unvalidated Point of Contact Records
344          `)}}function bi(a,l){if(a&1&&(i(0,"div",106),e(1,`
345          `),i(2,"ap-rd-widget"),e(3,`
346            `),m(4,"ap-rd-widget-header",154),e(5,`
347            `),i(6,"ap-rd-widget-body",18),e(7,`
348              `),i(8,"div",155),e(9,`
349                `),i(10,"table",156),e(11,`
350                  `),i(12,"thead"),e(13,`
351                  `),i(14,"tr"),e(15,`
352                    `),i(16,"th",157),e(17,"Handle"),n(),e(18,`
353                    `),i(19,"th",158),e(20,"Name"),n(),e(21,`
354                  `),n(),e(22,`
355                  `),n(),e(23,`
356                  `),i(24,"tbody"),e(25,`
357                  `),d(26,Ci,15,13,"tr",146),e(27,`
358                  `),n(),e(28,`
359                `),n(),e(29,`
360              `),n(),e(30,`
361            `),n(),e(31,`
362          `),n(),e(32,`
363          `),d(33,yi,4,6,"div",159),e(34,`
364        `),n()),a&2){let t=p(2);C("width",t.lastOddWidget==="unvalidatedPocs"?"100":"","%"),o(6),r("isLastOdd",t.lastOddWidget==="unvalidatedPocs"),o(20),r("ngForOf",t.unvalidatedPocs),o(7),r("ngIf",t.unvalidatedPocCount>t.unvalidatedPocLimit)}}function wi(a,l){if(a&1&&(i(0,"div"),e(1,`
365      `),d(2,Ut,27,11,"div",9),e(3,`
366      `),d(4,Wt,4,1,"div",10),e(5,`
367      `),i(6,"h2"),e(7,"Account Snapshot"),n(),e(8,`
368      `),d(9,Qt,16,7,"div",11),e(10,`
369      `),d(11,xi,10,4,"div",12),e(12,`
370      `),i(13,"div",13),e(14,`
371        `),d(15,Si,39,4,"div",14),e(16,`
372        `),d(17,bi,35,5,"div",14),e(18,`
373        `),i(19,"div",15),e(20,`
374          `),i(21,"ap-rd-widget",16),e(22,`
375            `),m(23,"ap-rd-widget-header",17),e(24,`
376            `),i(25,"ap-rd-widget-body",18),e(26,`
377              `),m(27,"div",19),e(28,`
378            `),n(),e(29,`
379          `),n(),e(30,`
380        `),n(),e(31,`
381      `),n(),e(32,`
382    `),n()),a&2){let t=p();o(2),r("ngIf",t.alertCount>0),o(2),r("ngIf",t.dashboardAlerts.length&&!t.showUnresponsivePocAlert),o(5),r("ngIf",t.showGettingStarted),o(2),r("ngIf",t.hasAssociations),o(4),r("ngIf",t.showUnpaidInvoices),o(2),r("ngIf",t.unvalidatedPocs.length),o(2),C("width",t.lastOddWidget==="arinOnlineFunctionality"?"100":"","%"),o(4),r("title",t.aoInfoWidget.title),o(2),r("isLastOdd",t.lastOddWidget==="arinOnlineFunctionality"),o(2),r("innerHTML",t.aoInfoWidget.body,W)}}function Ei(a,l){if(a&1){let t=w();e(0,`
383    `),i(1,"div",165),e(2,`
384      `),i(3,"div",166),e(4,`
385        `),i(5,"h1",167),e(6),n(),e(7,`
386        `),i(8,"button",168),E("click",function(){y(t);let c=p();return b(c.notificationModalRef.hide())}),n(),e(9,`
387      `),n(),e(10,`
388      `),m(11,"div",169),e(12,`
389    `),n(),e(13,`
390  `)}if(a&2){let t=p();o(6),_(t.modalNotification.title),o(5),r("innerHTML",t.modalNotification.body,W)}}var Ke=(()=>{class a{constructor(t,s,c,u,P,V,x,T,j,z,G,Y,K,Je,$e,Qe,Xe){this.asnService=t,this.electionService=s,this.orgService=c,this.pocService=u,this.invoiceService=P,this.netService=V,this.userService=x,this.messageService=T,this.billingSystemAvailabilityService=j,this.ticketService=z,this.utilService=G,this.router=Y,this.dashboardAlertService=K,this.dashboardModalService=Je,this.dashboardWidgetService=$e,this.focusService=Qe,this.modalService=Xe,this.CLOSED_ALERT_COOKIE_NAME="AOASC",this.JSESSION_COOKIE_NAME="JSESSIONID",this.alertCount=0,this.date=new Date,this.isBillingSystemAvailable=!0,this.isElectionOccurring=!1,this.isPetitionOccurring=!1,this.isElectionVendorOnline=!1,this.wuser=null,this.asnCount=0,this.orgCount=0,this.pocCount=0,this.netCount=0,this.uncoveredAsnCount=0,this.uncoveredNetCount=0,this.unvalidatedPocs=[],this.unvalidatedPocCount=0,this.unvalidatedPocLimit=500,this.unreadMessageCount=0,this.hasUnresponsivePoc=!1,this.updatedTosAvailableDate=null,this.hasAssociations=!1,this.hasResources=!1,this.unpaidInvoices=[],this.isOnVoterRoster=!1,this.votingUrl=null,this.org=null,this.poc=null,this.asn=null,this.net=null,this.hasOpenPocRecovery=!1,this.hasOpenOrgCreate=!1,this.hasOpenOrgRecovery=!1,this.hasOpenResourceRequest=!1,this.hasOpenTransferRecipientOrPreapproval=!1,this.hasPlentifulRecoveryCodes=!0,this.showBillingSystemStatusAlert=!1,this.showGettingStartedStepAlert=!1,this.showBillingAuthorizationAlert=!1,this.showPendingPocRecoveryAlert=!1,this.showUnconfirmedPocLinkAlert=!1,this.showPendingBillingAuthorizationAlert=!1,this.showPendingOrgRequestAlert=!1,this.showPendingResourceRequestAlert=!1,this.showUnreadMessagesAlert=!1,this.showElectionAlert=!1,this.showPetitionAlert=!1,this.showUncoveredResourcesAlert=!1,this.showUpdatedTosAvailableAlert=!1,this.show2faAlert=!1,this.showRecoveryCodeAlert=!1,this.showDashboard=!1,this.showError=!1,this.showGettingStarted=!1,this.gettingStartedStep=null,this.showUnpaidInvoices=!1,this.showPasswordChangeAlert2faMessage=!1,this.pastDueInvoices=[],this.closedAlertCookie=[],this.lastOddAssociation="",this.lastOddWidget="",this.alertColorMap={BLUE:"alert-info",PALE_GRAY:"alert-light",LIGHT_GRAY:"alert-secondary",VANILLA:"alert-vanilla-light",BRIGHT_ORANGE:"alert-bright-orange"},this.closedAlertCookie=this.getClosedAlertCookie()}ngOnInit(){this.loadingSub=this.checkServiceAvailability().pipe(I(()=>this.loadDashboardInfo())).pipe(I(()=>this.loadElectionInfo())).pipe(I(()=>this.loadSingletonInfo())).pipe(I(()=>this.loadNewUserInfo())).pipe(I(()=>this.loadDashboardAlertsInfo())).pipe(I(()=>this.loadNotificationModalInfo())).pipe(I(()=>this.loadWidgetInfo())).subscribe({next:t=>this.configureDashboard(),error:t=>this.showDashboardError()})}ngOnChanges(t){this.calculateLastOddAssociation(),this.calculateLastOddWidget()}checkServiceAvailability(){return R([this.billingSystemAvailabilityService.getAvailability(),this.electionService.isElectionOccurring(),this.electionService.isPetitionO
390ccurring(),this.electionService.isElectionVendorOnline()]).pipe(g(([t,s,c,u])=>{this.isBillingSystemAvailable=t.value,this.isPetitionOccurring=c.value,this.isElectionOccurring=s.value,this.isElectionVendorOnline=u.value}))}loadDashboardInfo(){return R([this.orgService.getOrgCount(),this.asnService.getAsnCount(),this.asnService.getUncoveredAsnCount(),this.pocService.getPocCount(),this.netService.getNetCount(),this.netService.getUncoveredNetCount(),this.isBillingSystemAvailable?this.invoiceService.getUnpaidInvoicesByUser():S(null),this.pocService.getUnvalidatedPocs(0,this.unvalidatedPocLimit),this.userService.getLoggedInUser(),this.messageService.getUnreadMessageCount(),this.userService.isOnVoterRoster(),this.pocService.checkForUnresponsivePocs(),this.userService.updatedTosAvailable()]).pipe(g(([t,s,c,u,P,V,x,T,j,z,G,Y,K])=>{this.wuser=j,this.asnCount=s.value,this.uncoveredAsnCount=c.value,this.orgCount=t.value,this.pocCount=u.value,this.netCount=P.value,this.uncoveredNetCount=V.value,this.unvalidatedPocs=T.objects,this.unvalidatedPocCount=T.total,this.unreadMessageCount=z.value,this.hasUnresponsivePoc=Y.value,this.updatedTosAvailableDate=K.value,this.hasAssociations=this.calculateHasAssociations(),this.hasResources=this.calculateHasResources(),this.isOnVoterRoster=G.value,this.hasPlentifulRecoveryCodes=this.wuser.activeRecoveryCodes>=5,x&&(this.unpaidInvoices=x)}))}loadElectionInfo(){return(this.isElectionOccurring||this.isPetitionOccurring)&&this.isElectionVendorOnline&&this.isOnVoterRoster?(this.isElectionOccurring&&(this.showElectionAlert=!0),this.isPetitionOccurring&&(this.showPetitionAlert=!0),this.wuser.isStaffMember===!1?this.electionService.getVotingUrl().pipe(g(t=>this.votingUrl=t.value)):S(null)):S(null)}loadSingletonInfo(){return R([this.orgCount===1?this.orgService.getOrgs(0,1):S(null),this.pocCount===1?this.pocService.getPocs(0,1):S(null),this.asnCount===1?this.asnService.getAsns():S(null),this.netCount===1?this.netService.searchNetsWithQuery("","mine",!1,0,1):S(null)]).pipe(g(([t,s,c,u])=>{this.org=t?t.objects[0]:null,this.poc=s?s.objects[0]:null,this.asn=c?c[0]:null,this.net=u?u.objects[0]:null}))}loadNewUserInfo(){return this.wuser.hasBillingAuthorization?S(null):this.pocCount===0?this.ticketService.hasOpenPocRecovery().pipe(g(t=>this.hasOpenPocRecovery=t.value)):this.orgCount===0?R([this.ticketService.hasOpenOrgCreate(),this.ticketService.hasOpenOrgRecovery()]).pipe(g(([t,s])=>{this.hasOpenOrgCreate=t.value,this.hasOpenOrgRecovery=s.value})):this.hasResources?S(null):R([this.ticketService.hasOpenResourceRequest(),this.ticketService.hasOpenTransferRecipientOrPreapproval()]).pipe(g(([t,s])=>{this.hasOpenResourceRequest=t.value,this.hasOpenTransferRecipientOrPreapproval=s.value}))}loadDashboardAlertsInfo(){return this.dashboardAlertService.getAlerts().pipe(g(t=>this.dashboardAlerts=t))}loadNotificationModalInfo(){return this.dashboardModalService.getActiveModal().pipe(g(t=>this.modalNotification=t))}loadWidgetInfo(){return this.dashboardWidgetService.getLatestWidget().pipe(g(t=>this.aoInfoWidget=t))}configureDashboard(){this.configureGettingStarted(),this.configurePasswordChangeSuccessAlert(),this.isBillingSystemAvailable?(this.configurePastDueInvoiceAlert(),this.configureUnpaidInvoiceWidget()):this.configureBillingSystemStatusAlert(),this.hasUnresponsivePoc?this.configureUnresponsivePocAlert():(this.configureUnreadMessagesAlert(),this.configureTwoFactorAuthAlert(),this.configureElectionWidget(),this.configureRecoveryCodeAlert()),this.uncoveredAsnCount+this.uncoveredNetCount>0&&this.showAlert("UncoveredResources"),this.updatedTosAvailableDate&&this.showAlert("UpdatedTosAvailable"),this.calculateLastOddAssociation(),this.calculateLastOddWidget(),this.adjustNumericalTitleFontSize(),this.modalNotification&&this.openNotificationModal(this.notificationModalTemplate),this.showDashboard=!0,this.focusService.focusOnFirstContentElement()}showDashboardError(){this.showDashboard=!1,this.showError=!0}configureBillingSystemStatusAlert(){this.showAlert("billingSystemStatus")}configureGettingStarted(){if(!this.wuser.hasBillingAuthorization){if(this.wuser.hasPendingBillingAuthorization){this.showGettingStarted=!0,this.showPendingBillingAuthorizationAlert=!0;return}if(!(this.pocCount>0&&this.hasResources&&this.wuser.isLinkedToResourcePoc)){if(this.pocCount===0&&this.hasOpenPocRecovery){this.showGettingStarted=!0,this.showPendingPocRecoveryAlert=!0;return}if(this.orgCount===0&&(this.hasOpenOrgCreate||this.hasOpenOrgRecovery)){this.showGettingStarted=!0,this.showPendingOrgRequestAlert=!0;return}if(!this.hasResources&&(this.hasOpenResourceRequest||this.hasOpenTransferRecipientOrPreapproval)){this.showGettingStarted=!0,this.showPendingResourceRequestAlert=!0;return}if(this.pocCount===0&&this.wuser.hasUnconfirmedPocLink){this.showGettingStarted=!0,this.showUnconfirmedPocLinkAlert=!0;return}if(this.pocCount===0){this.showGettingStarted=!0,this.showGettingStartedStepAlert=!0,this.showBillingAuthorizationAlert=!0,this.gettingStartedStep="poc";return}if(this.orgCount===0){this.showGettingStarted=!0,this.showGettingStartedStepAlert=!0,this.gettingStartedStep="org";return}if(!this.hasResources){this.showGettingStarted=!0,this.showGettingStartedStepAlert=!0,this.gettingStartedStep="resource";return}}}}configureUnresponsivePocAlert(){this.showAlert("unresponsivePoc")}configureUnpaidInvoiceWidget(){this.showUnpaidInvoices=this.unpaidInvoices.length>0}configurePasswordChangeSuccessAlert(){sessionStorage.getItem("force-change-password-success")&&!this.closedAlertCookie.passwordChangeSuccess&&(this.showAlert("passwordChangeSuccess"),!this.wuser.twoFactorAuthenticationEnabled&&!this.hasUnresponsivePoc&&(this.showPasswordChangeAlert2faMessage=!0)),sessionStorage.removeItem("force-change-password-success")}configurePastDueInvoiceAlert(){if(this.pastDueInvoices=[],!this.closedAlertCookie.pastDueInvoice){for(let t of this.unpaidInvoices)t.pastDue&&this.pastDueInvoices.push(t);this.pastDueInvoices.length>0&&this.showAlert("pastDueInvoice")}}configureElectionWidget(){this.wuser.isStaffMember===!1&&this.isOnVoterRoster&&(this.isElectionOccurring||this.isPetitionO
390ccurring)&&this.isElectionVendorOnline&&!this.closedAlertCookie.election&&(this.isElectionOccurring&&this.showAlert("election"),this.isPetitionOccurring&&this.showAlert("petition"))}configureUnreadMessagesAlert(){this.unreadMessageCount>0&&!this.closedAlertCookie.unreadMessages&&this.showAlert("unreadMessages")}configureTwoFactorAuthAlert(){!this.wuser.twoFactorAuthenticationEnabled&&!this.closedAlertCookie["2fa"]&&!this.showPasswordChangeAlert2faMessage&&this.showAlert("2fa")}configureRecoveryCodeAlert(){this.wuser.twoFactorAuthenticationEnabled&&!this.closedAlertCookie.recoveryCode&&!this.showPasswordChangeAlert2faMessage&&sessionStorage.getItem("login-by-recovery-code")&&this.showAlert("recoveryCode"),sessionStorage.removeItem("login-by-recovery-code")}showAlert(t){this[this.getAlertStateVariableName(t)]=!0,this.alertCount++}closeAlert(t){this.alertCount--,this[this.getAlertStateVariableName(t)]=!1,this.closedAlertCookie[t]=!0,this.setClosedAlertCookie(this.closedAlertCookie)}getAlertStateVariableName(t){return"show"+t.charAt(0).toUpperCase()+t.slice(1)+"Alert"}getClosedAlertCookie(){let t=U.get(this.CLOSED_ALERT_COOKIE_NAME),s={};if(t)try{s=JSON.parse(atob(t))}catch{U.delete(this.CLOSED_ALERT_COOKIE_NAME)}return U.get(this.JSESSION_COOKIE_NAME)!==s.sessionId&&(s={},this.setClosedAlertCookie(s)),s}setClosedAlertCookie(t){t.sessionId=U.get(this.JSESSION_COOKIE_NAME),U.set(this.CLOSED_ALERT_COOKIE_NAME,btoa(JSON.stringify(t)))}calculateHasAssociations(){return this.pocCount>0||this.orgCount>0||this.calculateHasResources()}calculateHasResources(){return this.asnCount>0||this.netCount>0}calculateLastOddAssociation(){let t=[];this.pocCount>0&&t.push("pocs"),this.orgCount>0&&t.push("orgs"),this.hasResources&&(t.push("nets"),t.push("asns")),t.length%2===1?this.lastOddAssociation=t.pop():this.lastOddWidget=""}calculateLastOddWidget(){let t=[];this.showUnpaidInvoices&&t.push("unpaidInvoices"),this.unvalidatedPocs.length>0&&t.push("unvalidatedPocs"),t.push("arinOnlineFunctionality"),t.length%2===1?this.lastOddWidget=t.pop():this.lastOddWidget=""}adjustNumericalTitleFontSize(){setTimeout(()=>{document.querySelectorAll(".numerical-widget .title").forEach(t=>{let s=t;for(;s.clientHeight>parseFloat(getComputedStyle(s).getPropertyValue("line-height"));){let c=parseFloat(getComputedStyle(s).getPropertyValue("font-size"));s.style.fontSize=`${c-1}px`}})},0)}goToUrl(t,s=!1){if(s){this.router.navigate([t]);return}this.utilService.goToUrl(t)}isPocNameTooLarge(t){return t.parentElement.offsetWidth>=t.scrollWidth}openNotificationModal(t){this.notificationModalRef=this.modalService.show(t,{class:"modal-md",ignoreBackdropClick:!0}),this.notificationModalRef.onHide.subscribe(s=>this.dismissNotificationModal())}dismissNotificationModal(){this.dashboardModalService.dismissModal(this.modalNotification.modalId).subscribe()}dismissAlert(t){this.dashboardAlertService.dismissAlert(t).subscribe({next:s=>this.dashboardAlerts=this.dashboardAlerts.filter(c=>c.alertId!==t)})}static{this.\u0275fac=function(s){return new(s||a)(h(Ne),h(Ue),h(Re),h(Me),h(Ve),h(Te),h(Pe),h(Be),h(We),h(qe),h(De),h(be),h(Fe),h(He),h(je),h(Ie),h(Oe))}}static{this.\u0275cmp=A({type:a,selectors:[["ap-dashboard"]],viewQuery:function(s,c){if(s&1&&re(rt,5),s&2){let u;se(u=le())&&(c.notificationModalTemplate=u.first)}},standalone:!1,features:[ie],decls:13,vars:3,consts:[["notificationModalTemplate",""],["pocName",""],[3,"subscriptions"],["id","content-wrapper"],["class","alert-danger","type","danger",4,"ngIf"],[4,"ngIf"],["type","danger",1,"alert-danger"],["aria-hidden","true",1,"fa","fa-fw","fa-exclamation-triangle"],["href","mailto:[email protected]"],["class","col-md-12 alert-container alerts",4,"ngIf"],["id","configurable-alert-banners",4,"ngIf"],["class","col-md-12 alert-container",4,"ngIf"],["id","associations","class","row",4,"ngIf"],["id","widgets",1,"row"],["class","col-md-6",3,"width",4,"ngIf"],[1,"col"],["id","arin-online-info-widget"],["icon","fa-question-circle fa-lg",3,"title"],["classes","medium no-padding",3,"isLastOdd"],[1,"message",3,"innerHTML"],[1,"col-md-12","alert-container","alerts"],["id","navisionStatusAlert","class","alert-warning","type","warning",4,"ngIf"],["id","unresponsivePocAlert","class","alert-danger","type","danger",4,"ngIf"],["id","passwordChangeSuccessAlert","class","alert-success","type","success",4,"ngIf"],["id","updatedTosAvailableAlert","class","alert-info","type","info",4,"ngIf"],["id","pastDueInvoiceAlert","class","alert-danger","type","danger",4,"ngIf"],["id","unreadMessagesAlert","class","alert-info","type","info",4,"ngIf"],["id","tfaAlert","class","alert alert-warning","type","warning",4,"ngIf"],["id","recoveryCodeAlert","class","alert","type","warning",3,"alert-warning","alert-danger",4,"ngIf"],["id","uncoveredResourcesAlert","class","alert-warning","type","warning",4,"ngIf"],["id","electionAlert","class","election-widget",3,"isDisabled","click",4,"ngIf"],["id","petitionAlert","class","election-widget",3,"isDisabled","click",4,"ngIf"],["id","navisionStatusAlert","type","warning",1,"alert-warning"],["aria-hidden","true",1,"fa","fa-fw","fa-flag"],["id","unresponsivePocAlert","type","danger",1,"alert-danger"],["id","validate-poc-alert-single",1,"alert-link",3,"routerLink"],["id","validate-poc-alert-multiple","routerLink","/secure/poc",1,"alert-link"],["id","passwordChangeSuccessAlert","type","success",1,"alert-success"],["aria-hidden","true",1,"fa","fa-fw","fa-check"],["
390id","2fa-enable-action","routerLink","/secure/profile/security/two-factor",1,"alert-link"],["id","updatedTosAvailableAlert","type","info",1,"alert-info"],["aria-hidden","true",1,"fa","fa-fw","fa-info-circle"],["apStaticLink","/about/corporate/agreements/#terms-of-service",1,"alert-link"],["id","pastDueInvoiceAlert","type","danger",1,"alert-danger"],[1,"alert-link",3,"routerLink"],["routerLink","/secure/billing",1,"alert-link"],["id","unreadMessagesAlert","type","info",1,"alert-info"],["aria-hidden","true",1,"fa","fa-fw","fa-envelope"],["routerLink","/communication/message",1,"alert-link"],["id","tfaAlert","type","warning",1,"alert","alert-warning"],["id","tfaAlert-icon","aria-hidden","true",1,"fa","fa-fw","fa-exclamation-triangle","text-danger"],["id","2fa-enroll-action","routerLink","/secure/profile/security/two-factor/method",1,"alert-link"],["id","recoveryCodeAlert","type","warning",1,"alert"],["id","recoveryCodeAlert-icon","aria-hidden","true",1,"fa","fa-fw"],["id","2fa-update-action","routerLink","/secure/profile/security/two-factor/method",1,"alert-link"],["id","2fa-refresh-codes","routerLink","/secure/profile/security/two-factor/recovery-codes/regenerate",1,"alert-link"],["id","uncoveredResourcesAlert","type","warning",1,"alert-warning"],["tooltip","A signed ARIN Registration Services Agreement (RSA) or Legacy RSA (LRSA) covering the resources is required for eligibility"],["apStaticLink","/routing_security_eligibility/",1,"alert-link"],["routerLink","/secure/net",1,"alert-link",3,"queryParams"],["routerLink","/secure/asn",1,"alert-link"],["id","electionAlert",1,"election-widget",3,"click","isDisabled"],[1,"title"],[1,"election-icon"],["aria-hidden","true",1,"fa","fa-check-square-o"],[1,"election-text"],["id","electionLink",3,"href"],["id","petitionAlert",1,"election-widget",3,"click","isDisabled"],["id","petitionLink",3,"href"],["id","configurable-alert-banners"],[3,"id","class",4,"ngFor","ngForOf"],[3,"id"],[1,"d-flex","flex-nowrap","align-items-baseline"],["aria-hidden","true"],[1,"flex-grow-1","ms-1",3,"innerHTML"],["type","button","class","btn-close","aria-label","Dismiss",3,"id","click",4,"ngIf"],["type","button","aria-label","Dismiss",1,"btn-close",3,"click","id"],[1,"col-md-12","alert-container"],["id","pendingResourceRequests","class","alert-warning","type","warning",4,"ngIf"],["id","pendingOrgRequests","class","alert-warning","type","warning",4,"ngIf"],["id","pendingPocRequests","class","alert-warning","type","warning",4,"ngIf"],["id","unconfirmedPocLink","class","alert-warning","type","warning",4,"ngIf"],["id","pendingBillingAuthorization","class","alert-warning","type","warning",4,"ngIf"],["id","getBillingAuthorization","class","alert-info","type","info secondary",4,"ngIf"],["id","gettingStartedStepAlert","class","alert-info","type","info",4,"ngIf"],["id","pendingResourceRequests","type","warning",1,"alert-warning"],["routerLink","/communication/ticket",1,"alert-link"],["id","pendingOrgRequests","type","warning",1,"alert-warning"],["id","pendingPocRequests","type","warning",1,"alert-warning"],["id","unconfirmedPocLink","type","warning",1,"alert-warning"],["id","pendingBillingAuthorization","type","warning",1,"alert-warning"],["id","getBillingAuthorization","type","info secondary",1,"alert-info"],["aria-hidden","true",1,"fa","fa-fw","fa-usd"],["id","requestBilling","routerLink","/secure/billing/request","title","Request permission to manage billing information.",1,"alert-link"],["id","gettingStartedStepAlert","type","info",1,"alert-info"],[1,"mb-0"],["tooltip","Autonomous System Numbers"],[1,"getting-started"],["aria-hidden","true",1,"fa","fa-fw","fa-arrow-right"],["id","linkToCreatePoc","routerLink","/secure/poc/create",1,"alert-link"],["id","linkToLinkPoc","routerLink","/secure/poc/link",1,"alert-link"],["id","linkToCreateOrg","routerLink","/secure/org/create",1,"alert-link"],["id","linkToRecoverOrg","routerLink","/secure/org/recover",1,"alert-link"],["id","linkToResourceRequest","routerLink","/secure/resources/request/ip",1,"alert-link"],["id","linkToTransferResources","routerLink","/secure/transfer/transfer-resources",1,"alert-link"],["id","associations",1,"row"],[1,"col-md-6"],[1,"numerical-widget",3,"click"],[3,"isLastOdd"],[1,"widget-icon","orange","float-start"],["aria-hidden","true",1,"fa","fa-users"],["id","pocCount",4,"ngIf"],["id","pocHandle",4,"ngIf"],[1,"comment"],["routerLink","/secure/poc"],["
390id","pocCount"],["id","pocHandle"],[1,"numerical-widget",3,"click","isDisabled"],[1,"widget-icon","red","float-start"],["aria-hidden","true",1,"fa","fa-line-chart"],["id","orgCount",4,"ngIf"],["id","orgHandle",4,"ngIf"],["routerLink","/secure/org"],["id","orgCount"],["id","orgHandle"],[1,"widget-icon","green","float-start"],["aria-hidden","true",1,"fa","fa-cloud"],["id","netCount",4,"ngIf"],["id","netHandle",4,"ngIf"],["routerLink","/secure/net/"],["id","netCount"],["id","netHandle"],[1,"widget-icon","blue","float-start"],["aria-hidden","true",1,"fa","fa-server"],["id","asnCount",4,"ngIf"],["id","asnHandle",4,"ngIf"],["routerLink","/secure/asn/"],["id","asnCount"],["id","asnHandle"],["icon","fa-money","id","descr-invoices","title","Unpaid Invoices"],[1,"table"],["id","unpaidInvoices","aria-describedby","descr-invoices",1,"table","data-responsive"],["scope","col",1,"invoice-no","text-nowrap"],["scope","col",1,"invoice-org"],["scope","col",1,"invoice-amount"],["scope","col",1,"invoice-due-date"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["data-label","Invoice #"],["tooltip","View Invoice","container","body",3,"routerLink"],["data-label","Org ID"],["container","body",3,"tooltip"],["data-label","Amount"],["data-label","Due Date"],["icon","fa-users","id","descr-pocs","title","Unvalidated Point of Contact Records"],[1,"table","data-responsive"],["id","unvalidatedPocs","aria-describedby","descr-pocs",1,"table","data-responsive"],["scope","col",1,"poc-handle"],["scope","col",1,"poc-name"],["class","help-block-static",4,"ngIf"],["data-label","Handle"],["tooltip","Validate POC","container","body",3,"routerLink"],["data-label","Name"],[3,"tooltip","isDisabled"],[1,"help-block-static"],["id","modal-notification",1,"modal-content"],[1,"modal-header","bg-info"],["id","modal-notification-title",1,"modal-title"],["id","dismiss-modal","type","button","aria-label","Close",1,"btn-close",3,"click"],[1,"modal-body",3,"innerHTML"]],template:function(s,c){s&1&&(i(0,"ap-busy",2),e(1,`
391  `),i(2,"div",3),e(3,`
392    `),d(4,ct,17,0,"alert",4),e(5,`
393    `),d(6,wi,33,11,"div",5),e(7,`
394  `),n(),e(8,`
395
396  `),d(9,Ei,14,2,"ng-template",null,0,me),e(11,`
397`),n(),e(12,`
398`)),s&2&&(r("subscriptions",c.loadingSub),o(4),r("ngIf",c.showError),o(2),r("ngIf",c.showDashboard))},dependencies:[k,ue,he,ke,Ae,we,ge,Ce,ze,Ge,Ye,fe,ve,_e],encapsulation:2})}}return a})();var Ii=[{path:"",component:Ke,data:{title:"Dashboard"}}],mn=(()=>{class a{static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275mod=ne({type:a})}static{this.\u0275inj=te({imports:[xe,Le,Ee.forChild(Ii),Se.forRoot(),ye.forRoot()]})}}return a})();export{mn as DashboardModule};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.