PageSourceSearch

https://apvball.net/chunk-43XYUYZK.js

js apvball.net collected 2026-09-24 14:06:00 UTC 28,642 bytes, 261 lines download raw bytes

1import{a as Z}from"./chunk-6GZHBTE2.js";import{a as E,b as We,c as $e,d as Ne,e as je}from"./chunk-FEFQ7Y45.js";import{b as Le,c as Be}from"./chunk-X4K3POQH.js";import"./chunk-FUSPQ4JN.js";import{a as ve}from"./chunk-6RDKPCMY.js";import{a as Y}from"./chunk-N3S5PJ6J.js";import"./chunk-3VU5BCPI.js";import{f as we}from"./chunk-EME7BUOO.js";import{a as Se}from"./chunk-V65ZZVY2.js";import{b as Te}from"./chunk-72FRQMR6.js";import{b as Oe}from"./chunk-FWW3IJT2.js";import"./chunk-WR54LXY5.js";import{a as j}from"./chunk-QS7STKXB.js";import"./chunk-W77CIRIX.js";import{$b as Re,Ec as be,Ee as Pe,Gb as he,Gc as Ee,Hc as Ie,Hd as ke,Jc as Fe,Kb as B,Wc as z,b as se,cc as De,d as me,k as ce,kd as Me,kh as Ae,lc as ye,mb as ge,xb as fe,ye as Ve}from"./chunk-CWIKEVUT.js";import{$ as A,$a as p,Ad as X,Fa as l,Fb as oe,Gb as J,H as G,Ib as e,Jb as I,Ka as g,Kb as v,Lc as le,Ma as S,Na as O,Qb as F,Rb as M,Sa as D,Sb as k,Th as b,U as K,Xa as L,bb as d,be as xe,bg as ue,cc as H,d as P,db as T,dc as ae,di as Ce,eb as w,ec as re,fa as u,fb as R,ga as C,gb as _,hb as n,ib as o,jb as x,ma as Q,nb as q,ob as U,pj as N,qb as h,qc as W,sb as f,tb as m,u as ee,vd as pe,wd as de,xb as te,xd as _e,yb as ie,yd as $,zb as ne}from"./chunk-45UQS2YE.js";import"./chunk-BMIYOSOG.js";var Ge=(()=>{let a=class a{};a.\u0275fac=function(r){return new(r||a)},a.\u0275cmp=S({type:a,selectors:[["ng-component"]],standalone:!1,decls:2,vars:0,consts:[["role","main"]],template:function(r,c){r&1&&(n(0,"main",0),x(1,"router-outlet"),o())},dependencies:[de],encapsulation:2});let t=a;return t})();function et(t,a){if(t&1){let i=h();e(0,`
2    `),n(1,"app-dynamic-form",1),f("onCancel",function(){u(i);let r=m();return C(r.cancel.emit())})("onSubmit",function(r){u(i);let c=m();return C(c.cloneTemplate(r))}),e(2,`
3      `),x(3,"app-dynamic-form-field",2),e(4,`
4      `),x(5,"app-dynamic-form-field",3),e(6,`
5    `),o(),e(7,`
6  `)}if(t&2){let i=m();l(),_("fields",i.fields)("entity",i.cloneRegistrationTemplate)("horizontalForm",!1)("contentFieldsMode",!0)("showSaveAndAddButton",!1)}}function tt(t,a){t&1&&(e(0,`
7    `),x(1,"app-skeleton-template",4),e(2,`
8  `))}var Ke=(()=>{let a=class a{constructor(s,r,c){this.registrationTemplateService=s,this.siteDataService=r,this.formService=c,this.clone=new Q,this.cancel=new Q,this.unsubscribe$=new P,this.loading=!0}ngOnInit(){this.cloneRegistrationTemplate=new we,this.registrationTemplateService.getDefaultRegistrationTemplateCloneMetadata().pipe(K(this.unsubscribe$)).subscribe({next:s=>{this.fields=s.fields,this.loading=!1},error:()=>{this.siteDataService.showSiteErrorAlert("There was a problem getting data.")}})}cloneTemplate(s){this.registrationTemplateService.cloneDefaultRegistrationTemplate(s).pipe(K(this.unsubscribe$)).subscribe({next:r=>{this.clone.emit(r),this.formService.hideFormLoader(),this.siteDataService.showSiteSuccessAlert("Registration form saved successfully.")},error:()=>{this.siteDataService.showSiteErrorAlert("There was a problem cloning this registration form."),this.formService.hideFormLoader()}})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}};a.\u0275fac=function(r){return new(r||a)(g(E),g(N),g(Re))},a.\u0275cmp=S({type:a,selectors:[["app-registration-template-default-clone"]],outputs:{clone:"clone",cancel:"cancel"},standalone:!1,decls:4,vars:6,consts:[["styleClass","standardWidthDialog",3,"modal","closable","visible","header"],["buttonsPosition","spread",3,"onCancel","onSubmit","fields","entity","horizontalForm","contentFieldsMode","showSaveAndAddButton"],["fieldName","registrationTemplateID"],["fieldName","name"],["skeletonType","form"]],template:function(r,c){r&1&&(n(0,"p-dialog",0),e(1,`
9  `),p(2,et,8,5),p(3,tt,3,0),o()),r&2&&(_("modal",!0)("closable",!1)("visible",!0)("header","Add Registration Form"),l(2),d(c.loading?-1:2),l(),d(c.loading?3:-1))},dependencies:[ke,Me,z,he],encapsulation:2});let t=a;return t})();var ot=(t,a)=>["/admin/programs/",t,"registrations",a];function at(t,a){if(t&1&&(e(0,`
10                        `),n(1,"app-tag",11),e(2,`
11                        `),o(),e(3,`
12                      `)),t&2){let i=m().$implicit;l(),_("text",i.name)("clickable",!0)("routerLink","/admin/waivers/"+i.waiverID)}}function rt(t,a){if(t&1&&(e(0,`
13                        `),n(1,"app-tag",12),e(2,`
14                        `),o(),e(3,`
15                      `)),t&2){let i=m().$implicit;l(),_("text",i.name)}}function lt(t,a){if(t&1&&(e(0,`
16                    `),n(1,"div",10),e(2,`
17                      `),p(3,at,4,3),p(4,rt,4,1),o(),e(5,`
18                  `)),t&2){let i=m(4);l(3),d(i.user[i.Permission.WaiverAdmin]?3:-1),l(),d(i.user[i.Permission.WaiverAdmin]?-1:4)}}function st(t,a){if(t&1&&(e(0,`
19              `),n(1,"div",9),e(2,`
20                `),n(3,"div",5),e(4,`
21                  `),w(5,lt,6,2,null,null,T),o(),e(7,`
22              `),o(),e(8,`
23            `)),t&2){let i=m(3);l(5),R(i.details.activeWaivers)}}function mt(t,a){if(t&1&&(e(0,`
24                        `),n(1,"a",15),e(2,`
25                          `),n(3,"span",16),e(4),x(5,"i",17),e(6,`
26                          `),o(),e(7,`
27                        `),o(),e(8,`
28                      `)),t&2){let i=m().$implicit;l(),_("routerLink","/admin/waivers/"+i.waiverID),l(3),v(`
29                            `,i.name,`
30                            `)}}function ct(t,a){if(t&1&&(e(0,`
31                        `),n(1,"span",16),e(2),o(),e(3,`
32                      `)),t&2){let i=m().$implicit;l(2),v(`
33                          `,i.name,`
34                        `)}}function pt(t,a){t&1&&(e(0,`
35                        `),n(1,"span",18),e(2,"\u2022"),o(),e(3,`
36                      `))}
36function dt(t,a){if(t&1&&(e(0,`
37                    `),n(1,"div",10),e(2,`
38                      `),p(3,mt,9,2),p(4,ct,4,1),p(5,pt,4,0),o(),e(6,`
39                  `)),t&2){let i=a.$index,s=a.$count,r=m(4);l(3),d(r.user[r.Permission.WaiverAdmin]?3:-1),l(),d(r.user[r.Permission.WaiverAdmin]?-1:4),l(),d(i!==s-1?5:-1)}}function _t(t,a){if(t&1&&(e(0,`
40              `),n(1,"div",13),e(2,`
41                `),n(3,"div",14),e(4,`
42                  inactive:
43                `),o(),e(5,`
44                `),n(6,"div",5),e(7,`
45                  `),w(8,dt,7,3,null,null,T),o(),e(10,`
46              `),o(),e(11,`
47            `)),t&2){let i=m(3);l(8),R(i.details.inactiveWaivers)}}function xt(t,a){if(t&1&&(e(0,`
48            `),p(1,st,9,0),p(2,_t,12,0)),t&2){let i=m(2);l(),d(i.details.activeWaivers!=null&&i.details.activeWaivers.length?1:-1),l(),d(i.details.inactiveWaivers!=null&&i.details.inactiveWaivers.length?2:-1)}}function ut(t,a){t&1&&(e(0,`
49            `),n(1,"div",16),e(2,"None"),o(),e(3,`
50          `))}function Ct(t,a){if(t&1&&(e(0,`
51                        `),n(1,"app-tag",11),e(2,`
52                        `),o(),e(3,`
53                      `)),t&2){let i=m().$implicit;l(),_("text",i.name)("clickable",!0)("routerLink","/admin/checkout-options/"+i.registrationOptionID)}}function gt(t,a){if(t&1&&(e(0,`
54                        `),n(1,"app-tag",12),e(2,`
55                        `),o(),e(3,`
56                      `)),t&2){let i=m().$implicit;l(),_("text",i.name)}}function ft(t,a){if(t&1&&(e(0,`
57                    `),n(1,"div",10),e(2,`
58                      `),p(3,Ct,4,3),p(4,gt,4,1),o(),e(5,`
59                  `)),t&2){let i=m(4);l(3),d(i.user[i.Permission.ProgramRegistrationOptions]?3:-1),l(),d(i.user[i.Permission.ProgramRegistrationOptions]?-1:4)}}function ht(t,a){if(t&1&&(e(0,`
60              `),n(1,"div",9),e(2,`
61                `),n(3,"div",5),e(4,`
62                  `),w(5,ft,6,2,null,null,T),o(),e(7,`
63              `),o(),e(8,`
64            `)),t&2){let i=m(3);l(5),R(i.details.activeOptions)}}function vt(t,a){if(t&1&&(e(0,`
65                        `),n(1,"a",15),e(2,`
66                          `),n(3,"span",16),e(4),x(5,"i",17),e(6,`
67                          `),o(),e(7,`
68                        `),o(),e(8,`
69                      `)),t&2){let i=m().$implicit;l(),_("routerLink","/admin/checkout-options/"+i.registrationOptionID),l(3),v(`
70                            `,i.name,`
71                            `)}}function St(t,a){if(t&1&&(e(0,`
72                        `),n(1,"span",16),e(2),o(),e(3,`
73                      `)),t&2){let i=m().$implicit;l(2),v(`
74                          `,i.name,`
75                        `)}}function Tt(t,a){t&1&&(e(0,`
76                        `),n(1,"span",18),e(2,"\u2022"),o(),e(3,`
77                      `))}function wt(t,a){if(t&1&&(e(0,`
78                    `),n(1,"div",10),e(2,`
79                      `),p(3,vt,9,2),p(4,St,4,1),p(5,Tt,4,0),o(),e(6,`
80                  `)),t&2){let i=a.$index,s=a.$count,r=m(4);l(3),d(r.user[r.Permission.ProgramRegistrationOptions]?3:-1),l(),d(r.user[r.Permission.ProgramRegistrationOptions]?-1:4),l(),d(i!==s-1?5:-1)}}function Rt(t,a){if(t&1&&(e(0,`
81              `),n(1,"div",13),e(2,`
82                `),n(3,"div",14),e(4,`
83                  inactive:
84                `),o(),e(5,`
85                `),n(6,"div",5),e(7,`
86                  `),w(8,wt,7,3,null,null,T),o(),e(10,`
87              `),o(),e(11,`
88            `)),t&2){let i=m(3);l(8),R(i.details.inactiveOptions)}}function Dt(t,a){if(t&1&&(e(0,`
89            `),p(1,ht,9,0),p(2,Rt,12,0)),t&2){let i=m(2);l(),d(i.details.activeOptions!=null&&i.details.activeOptions.length?1:-1),l(),d(i.details.inactiveOptions!=null&&i.details.inactiveOptions.length?2:-1)}}function yt(t,a){t&1&&(e(0,`
90            `),n(1,"div",16),e(2,"None"),o(),e(3,`
91          `))}function bt(t,a){if(t&1&&(e(0,`
92                      `),n(1,"app-tag",11),e(2,`
93                      `),o(),e(3,`
94                    `)),t&2){let i=m().$implicit;l(),_("text",i.name)("clickable",!0)("routerLink",re(3,ot,i.programID,i.registrationID))}}function Et(t,a){if(t&1&&(e(0,`
95                      `),x(1,"app-tag",12),e(2,`
96                    `)),t&2){let i=m().$implicit;l(),_("text",i.name)}}
96function It(t,a){if(t&1&&(e(0,`
97                  `),n(1,"div",10),e(2,`
98                    `),p(3,bt,4,6),p(4,Et,3,1),o(),e(5,`
99                `)),t&2){let i=m(3);l(3),d(i.user[i.Permission.ProgramRegistrationAdmin]?3:-1),l(),d(i.user[i.Permission.ProgramRegistrationAdmin]?-1:4)}}function Ft(t,a){if(t&1&&(e(0,`
100            `),n(1,"div",9),e(2,`
101              `),n(3,"div",5),e(4,`
102                `),w(5,It,6,2,null,null,T),o(),e(7,`
103            `),o(),e(8,`
104          `)),t&2){let i=m(2);l(5),R(i.details.registrations)}}function Mt(t,a){t&1&&(e(0,`
105            `),n(1,"div",16),e(2,"None"),o(),e(3,`
106          `))}function kt(t,a){t&1&&(e(0,`
107            `),n(1,"div",16),e(2,"None"),o(),e(3,`
108          `))}function Vt(t,a){if(t&1&&(e(0,`
109  `),n(1,"div",1),e(2,`
110    `),n(3,"div",2),e(4,`
111      `),n(5,"div",3),e(6,`
112        `),n(7,"div",4),e(8,"waivers"),o(),e(9,`
113        `),n(10,"div",5),e(11,`
114          `),p(12,xt,3,2)(13,ut,4,0),o(),e(14,`
115      `),o(),e(15,`
116      `),n(16,"div",3),e(17,`
117        `),n(18,"div",4),e(19,"Checkout options"),o(),e(20,`
118        `),n(21,"div",5),e(22,`
119          `),p(23,Dt,3,2)(24,yt,4,0),o(),e(25,`
120      `),o(),e(26,`
121      `),n(27,"div",3),e(28,`
122        `),n(29,"div",4),e(30),o(),e(31,`
123        `),n(32,"div",6),e(33,`
124          `),n(34,"app-pill",7),e(35,`
125          `),o(),e(36,`
126        `),o(),e(37,`
127      `),o(),e(38,`
128      `),n(39,"div",8),e(40,`
129        `),n(41,"div",4),e(42,"Registrations"),o(),e(43,`
130        `),n(44,"div",5),e(45,`
131          `),p(46,Ft,9,0)(47,Mt,4,0),D(48,kt,4,0,"ng-template",null,0,W),e(50,`
132        `),o(),e(51,`
133      `),o(),e(52,`
134    `),o(),e(53,`
135  `),o(),e(54,`
136`)),t&2){let i=m();l(12),d(i.details.activeWaivers!=null&&i.details.activeWaivers.length||i.details.inactiveWaivers!=null&&i.details.inactiveWaivers.length?12:13),l(11),d(i.details.activeOptions!=null&&i.details.activeOptions.length||i.details.inactiveOptions!=null&&i.details.inactiveOptions.length?23:24),l(7),v(`
137          `,i.club.isNonProfit?"donations":"contributions",`
138        `),l(4),_("text",i.details.donationsEnabled?"enabled":"disabled")("status",i.details.donationsEnabled?"default":"warning"),l(12),d(i.details.registrations!=null&&i.details.registrations.length?46:47)}}var Qe=(()=>{let a=class a{constructor(){this.Permission=b,this.ClubCreditType=Oe}};a.\u0275fac=function(r){return new(r||a)},a.\u0275cmp=S({type:a,selectors:[["app-registration-template-search-details"]],inputs:{details:"details",user:"user",club:"club"},standalone:!1,decls:1,vars:1,consts:[["none_3",""],[1,"details-row"],[1,"details-wrapper"],[1,"row","mx-0","border-bottom","py-2"],[1,"col-2","text-small","text-uppercase"],[1,"col"],[1,"col","d-flex","justify-content-between"],[3,"text","status"],[1,"row","mx-0","py-2"],[1,"row"],[1,"d-inline-block","mb-2"],["icon","fa-regular fa-pen-to-square",3,"text","clickable","routerLink"],[3,"text"],[1,"row","mt-2"],[1,"col-auto","text-small","text-uppercase","mr-2"],[1,"detail-link",3,"routerLink"],[1,"text-small","text-grey"],[1,"far","fa-pen-to-square","ml-1"],[1,"mx-2","text-grey"]],template:function(r,c){r&1&&p(0,Vt,55,6),r&2&&d(c.details?0:-1)},dependencies:[$,B,Pe],styles:[".details-row[_ngcontent-%COMP%]{text-align:left!important}.details-wrapper[_ngcontent-%COMP%]{margin:1rem;background-color:var(--grey-50)}a.detail-link[_ngcontent-%COMP%]:hover{color:var(--grey-800)}"]});let t=a;return t})();var At=["optionsMenu"],Ot=()=>({width:"auto"}),Lt=()=>({width:"100%"}),Wt=t=>["./",t,"settings"];function $t(t,a){if(t&1&&(e(0,`
139                            `),x(1,"p-sortIcon",31),e(2,`
140                            `)),t&2){let i=m().$implicit;l(),_("field",i.field)}}function Nt(t,a){if(t&1&&(e(0,`
141                        `),n(1,"th",30),e(2),p(3,$t,3,1),o(),e(4,`
142                        `)),t&2){let i=a.$implicit,s=m(4);l(),_("pSortableColumn",i.field),L("aria-label",s.AriaLabels.ACTIVATE_SORT),l(),v(`
143                            `,i.header,`
144                            `),l(),d(i.field?3:-1)}}function jt(t,a){t&1&&(e(0,`
145                        `),n(1,"th"),e(2,"Removed"),o(),e(3,`
146                        `))}
146function Bt(t,a){if(t&1&&(e(0,`
147                    `),n(1,"tr"),e(2,`
148                        `),w(3,Nt,5,4,null,null,T),p(5,jt,4,0),x(6,"th"),e(7,`
149                    `),o(),e(8,`
150                `)),t&2){let i=m(3);l(3),R(i.registrationTemplateService.columns),l(2),d(i.showDeleted?5:-1)}}function zt(t,a){t&1&&(e(0,`
151                            `),x(1,"app-pill",39),e(2,`
152                            `))}function Gt(t,a){t&1&&(e(0,`
153                            `),x(1,"app-pill",40),e(2,`
154                            `))}function Kt(t,a){if(t&1&&(e(0,`
155                        `),n(1,"td"),e(2,`
156                            `),p(3,zt,3,0),p(4,Gt,3,0),o(),e(5,`
157                        `)),t&2){let i=m().$implicit;l(3),d(i.isDeleted?3:-1),l(),d(i.isDeleted?-1:4)}}function Qt(t,a){if(t&1){let i=h();e(0,`
158                    `),n(1,"tr"),e(2,`
159                        `),n(3,"td"),e(4,`
160                            `),n(5,"a",32),e(6),o(),e(7,`
161                        `),o(),e(8,`
162                        `),n(9,"td"),e(10),o(),e(11,`
163                        `),n(12,"td"),e(13),o(),e(14,`
164                        `),n(15,"td"),e(16),o(),e(17,`
165                        `),n(18,"td"),e(19),o(),e(20,`
166                        `),p(21,Kt,6,2),n(22,"td",33),e(23,`
167                            `),n(24,"button",34),f("click",function(r){let c=u(i).$implicit,y=m(3);return C(y.toggleOptionsMenu(c,r))}),e(25,`
168                                `),x(26,"i",35),e(27,`
169                                `),n(28,"div",36),e(29,"Options"),o(),e(30,`
170                            `),o(),e(31,`
171                            `),n(32,"button",37),e(33,`
172                                `),x(34,"i",38),e(35,`
173                                `),n(36,"span",36),e(37,`
174                                    Expand
175                                `),o(),e(38,`
176                            `),o(),e(39,`
177                        `),o(),e(40,`
178                    `),o(),e(41,`
179                `)}if(t&2){let i=a.$implicit,s=a.expanded,r=m(3);l(5),_("routerLink",ae(9,Wt,i.registrationTemplateID)),l(),v(`
180                                `,i.name,`
181                            `),l(4),I(i.registrationTemplateTypeName),l(3),I(i.waiverCount),l(3),I(i.optionsCount),l(3),I(i.registrationCount),l(2),d(r.showDeleted?21:-1),l(11),_("pRowToggler",i),l(2),_("ngClass",s?"fa-chevron-up":"fa-chevron-down")}}function qt(t,a){if(t&1&&(e(0,`
182                    `),n(1,"tr"),e(2,`
183                        `),n(3,"td",41),e(4,`
184                            The search criteria produced no results.
185                        `),o(),e(5,`
186                    `),o(),e(6,`
187                `)),t&2){let i=a.$implicit;l(3),L("colspan",i.length+4)}}function Ut(t,a){if(t&1&&(e(0,`
188                            `),x(1,"app-registration-template-search-details",42),e(2,`
189                            `)),t&2){let i=m().$implicit,s=m(3);l(),_("details",s.details[i.registrationTemplateID])("user",s.user)("club",s.club)}}function Jt(t,a){t&1&&(e(0,`
190                            `),x(1,"app-skeleton-template"),e(2,`
191                            `))}function Ht(t,a){if(t&1&&(e(0,`
192                    `),n(1,"tr"),e(2,`
193                        `),n(3,"td"),e(4,`
194                            `),p(5,Ut,3,3),p(6,Jt,3,0),o(),e(7,`
195                    `),o(),e(8,`
196                `)),t&2){let i=a.$implicit,s=m(3);l(3),oe("details-row",s.details[i.registrationTemplateID]),L("colspan",s.showDeleted?"7":"6"),l(2),d(s.details?5:-1),l(),d(!s.details[i.registrationTemplateID]&&s.loadingDetails?6:-1)}}function Xt(t,a){if(t&1){let i=h();e(0,`
197            `),n(1,"p-table",26),f("onLazyLoad",function(r){u(i);let c=m(2);return C(c.search(r))})("onRowExpand",function(r){u(i);let c=m(2);return C(c.expandRegistrationTemplateRow(r))}),e(2,`
198                `),D(3,Bt,9,1,"ng-template",27),e(4,`
199                `),D(5,Qt,42,11,"ng-template",28),e(6,`
200                `),D(7,qt,7,1,"ng-template",29),e(8,`
201                `),D(9,Ht,9,5,"ng-template",null,1,W),e(11,`
202            `),o(),e(12,`
203            `)}if(t&2){let i=m(2);l(),_("columns",i.registrationTemplateService.columns)("value",i.searchResults)("lazy",!0)("paginator",!0)("alwaysShowPaginator",!1)("totalRecords",i.totalRecords)("rows",100)("loading",i.loading)("dataKey","registrationTemplateID")("expandedRowKeys",i.expandedRows)}}function Yt(t,a){if(t&1){let i=h();e(0,`
204`),n(1,"div",3),f("keydown.enter",function(){u(i);let r=m();return C(r.run())}),e(2,`
205    `),x(3,"app-program-navigation"),e(4,`
206    `),n(5,"app-admin-filter",4),f("adminFilterReset",function(){u(i);let r=m();return C(r.resetFilters())})("adminFilterSearch",function(){u(i);let r=m();return C(r.run())}),e(6,`
207        `),q(7,5),e(8,`
208            `),n(9,"div",6),e(10,`
209                `),n(11,"span",7),e(12,`
210                    `),x(13,"i",8),e(14,`
211                    `),n(15,"input",9),k("ngModelChange",function(r){u(i);let c=m();return M(c.registrationTemplateService.filters.registrationTemplateName,r)||(c.registrationTemplateService.filters.registrationTemplateName=r),C(r)}),o(),e(16,`
212                    `),x(17,"label",10),e(18,`
213                `),o(),e(19,`
214            `),o(),e(20,`
215        `),U(),e(21,`
216        `),q(22,11),e(23,`
217            `),n(24,"div",12),e(25,`
218                `),n(26,"div",13),e(27,`
219                    `),n(28,"div",14),e(29,`
220                        `),n(30,"label",15),e(31,"Registration"),o(),e(32,`
221                        `),n(33,"p-select",16),k("ngModelChange",function(r){u(i);let c=m();return M(c.registrationTemplateService.filters.registrationID,r)||(c.registrationTemplateService.filters.registrationID=r),C(r)}),e(34,`
222                        `),o(),e(35,`
223                    `),o(),e(36,`
224                `),o(),e(37,`
225                `),n(38,"div",13),e(39,`
226                    `),n(40,"div",14),e(41,`
227                        `),n(42,"label",17),e(43,"Form Type"),o(),e(44,`
228                        `),n(45,"p-multiSelect",18),k("ngModelChange",function(r){u(i);let c=m();return M(c.registrationTemplateService.filters.templateTypeID,r)||(c.registrationTemplateService.filters.templateTypeID=r),C(r)}),e(46,`
229                        `),o(),e(47,`
230                    `),o(),e(48,`
231                `),o(),e(49,`
232                `),n(50,"div",19),e(51,`
233                    `),n(52,"div",14),e(53,`
234                        `),n(54,"label",20),e(55,"Include Removed"),o(),e(56,`
235                        `),n(57,"p-checkbox",21),k("ngModelChange",function(r){u(i);let c=m();return M(c.registrationTemplateService.filters.includeRemoved,r)||(c.registrationTemplateService.filters.includeRemoved=r),C(r)}),e(58,`
236                        `),o(),e(59,`
237                    `),o(),e(60,`
238                `),o(),e(61,`
239            `),o(),e(62,`
240        `),U(),e(63,`
241    `),o(),e(64,`
242    `),n(65,"div",22),e(66,`
243        `),n(67,"button",23),f("click",function(){u(i);let r=m();return C(r.openCloneDefaultDialog())}),e(68,`
244            Add Registration Form
245        `),o(),e(69,`
246    `),o(),e(70,`
247    `),n(71,"section",24),e(72,`
248        `),n(73,"div",25),e(74,`
249            `),p(75,Xt,13,10),o(),e(76,`
250    `),o(),e(77,`
251`),o(),e(78,`
252`)}if(t&2){let i=m();l(5),_("showAdvanced",!0),l(10),F("ngModel",i.registrationTemplateService.filters.registrationTemplateName),l(18),J(H(12,Lt)),_("options",i.registrations),F("ngModel",i.registrationTemplateService.filters.registrationID),_("filter",!0),l(12),_("options",i.templateTypes),F("ngModel",i.registrationTemplateService.filters.templateTypeID),l(12),F("ngModel",i.registrationTemplateService.filters.includeRemoved),_("binary",!0),l(18),d(i.showTable?75:-1)}}function Zt(t,a){if(t&1){let i=h();e(0,`
253`),n(1,"app-registration-template-clone",43),f("cancel",function(){u(i);let r=m();return C(r.showCloneDialog=!1)})("clone",function(r){u(i);let c=m();return C(c.onClone(r))}),e(2,`
254`),o(),e(3,`
255`)}if(t&2){let i=m();l(),_("registrationTemplateID",i.selectedRegistrationTemplateID)}}function ei(t,a){if(t&1){let i=h();e(0,`
256`),n(1,"app-registration-template-default-clone",44),f("cancel",function(){u(i);let r=m();return C(r.showCloneDefaultDialog=!1)})("clone",function(r){u(i);let c=m();return C(c.onClone(r))}),e(2,`
257`),o(),e(3,`
258`)}}function ti(t,a){if(t&1){let i=h();e(0,`
259`),n(1,"app-registration-template-delete",45),f("onDelete",function(){u(i);let r=m();return C(r.onDelete())})("onCancel",function(){u(i);let r=m();return C(r.showDeleteDialog=!1)}),o(),e(2,`
260`)}if(t&2){let i=m();l(),_("registrationTemplateID",i.selectedRegistrationTemplateID)}}var qe=(()=>{let a=class a{constructor(s,r,c,y,Je,He){this.siteDataService=s,this.registrationTemplateService=r,this.clubService=c,this.authorizeService=y,this.router=Je,this.route=He,this.AriaLabels=ue,this.totalRecords=0,this.loading=!0,this.showTable=!1,this.showCloneDialog=!1,this.showCloneDefaultDialog=!1,this.showDeleted=!1,this.Permission=b,this.loadingDetails=!1,this.details={},this.options=[],this.showDeleteDialog=!1,this.expandedRows={},this.unsubsribe$=new P}ngOnInit(){this.registrationTemplateService.filters&&this.registrationTemplateService.filters.page?this.showTable=!0:this.registrationTemplateService.filters=new Z,this.authorizeService.getUser().pipe(G(1)).subscribe(s=>{this.user=s}),ee([this.registrationTemplateService.getRegistrationTemplateTypes(),this.clubService.getAnonymousClub(),this.registrationTemplateService.getRegistrations()]).subscribe(s=>{this.templateTypes=s[0],this.club=s[1],this.registrations=s[2],this.siteDataService.hide
260SiteLoader(),this.loading=!1,this.run()})}run(){this.registrationTemplateService.filters.page=1,this.totalRecords=0,this.showTable?this.search():this.showTable=!0}search(s=null){this.lastSearchParams=s;let r=this.registrationTemplateService.filters;s&&s.sortField&&(r.orderBy=s.sortField+" "+(s.sortOrder===1?"ASC":"DESC"),r.page=s.first/r.rows+1),r.getTotalCount=this.totalRecords===0,this.loading=!0,this.registrationTemplateService.searchRegistrationTemplates().subscribe({next:c=>{this.searchResults=c.results,r.includeRemoved?this.showDeleted=!0:this.showDeleted=!1,r.getTotalCount&&(this.totalRecords=c.count),this.loading=!1},error:()=>{this.siteDataService.showSiteErrorAlert("There was a problem getting data.")}})}resetFilters(){this.registrationTemplateService.filters=new Z(this.registrationTemplateService.filters.orderBy)}onClone(s){this.router.navigate([s.registrationTemplateID],{relativeTo:this.route})}openCloneDefaultDialog(){this.showCloneDefaultDialog=!0}onDelete(){this.search(this.lastSearchParams),this.showDeleteDialog=!1}toggleOptionsMenu(s,r){let c=[];this.selectedRegistrationTemplateID=s.registrationTemplateID,c.push({label:"Email Settings",icon:"fa fa-envelope",routerLink:[this.selectedRegistrationTemplateID,"email-settings"]}),c.push({label:"Duplicate",icon:"fa fa-clone",command:()=>{this.showCloneDialog=!0}}),s.isDeleted||c.push({label:"Remove",icon:"fa fa-times",command:()=>{this.showDeleteDialog=!0}}),this.options=[{label:"Options",items:c}],this.optionsMenu.toggle(r)}expandRegistrationTemplateRow(s){this.loadingDetails=!0;let r=s.data.registrationTemplateID;this.details[r]||this.registrationTemplateService.getRegistrationTemplateSearchDetails(r).pipe(G(1)).subscribe(c=>{c&&(this.details[r]=c),this.loadingDetails=!1})}ngOnDestroy(){this.unsubsribe$.next(null),this.unsubsribe$.complete()}};a.\u0275fac=function(r){return new(r||a)(g(N),g(E),g(j),g(Ce),g(_e),g(pe))},a.\u0275cmp=S({type:a,selectors:[["ng-component"]],viewQuery:function(r,c){if(r&1&&te(At,5),r&2){let y;ie(y=ne())&&(c.optionsMenu=y.first)}},standalone:!1,decls:7,vars:9,consts:[["optionsMenu",""],["expandedrow",""],["appendTo","body",3,"model","popup"],[3,"keydown.enter"],[3,"adminFilterReset","adminFilterSearch","showAdvanced"],["primary",""],[1,"col","pr-0"],[1,"p-input-icon-left","full-width"],[1,"fa","fa-magnifying-glass"],["type","text","id","search","pInputText","","placeholder","Search",1,"full-width","pl-4",3,"ngModelChange","ngModel"],["for","search",1,"sr-only"],["advanced",""],[1,"row"],[1,"col-md-4"],[1,"form-group"],["for","registrationID"],["inputId","registrationID","placeholder","All","appendTo","body",3,"ngModelChange","options","ngModel","filter"],["for","programs"],["inputId","programs","placeholder","All","appendTo","body",3,"ngModelChange","options","ngModel"],[1,"col-md-2"],["for","includeRemoved"],["inputId","includeRemoved",3,"ngModelChange","ngModel","binary"],[1,"full-width"],[1,"btn","btn-icon-plus",3,"click"],[1,""],[1,"report-table","table-responsive"],["sortField","name",1,"table","table-striped","table-sm",3,"onLazyLoad","onRowExpand","columns","value","lazy","paginator","alwaysShowPaginator","totalRecords","rows","loading","dataKey","expandedRowKeys"],["pTemplate","header"],["pTemplate","body"],["pTemplate","emptymessage"],[3,"pSortableColumn"],[3,"field"],[3,"routerLink"],[1,"nowrap"],["type","button",1,"btn","btn-sm","btn-tertiary","d-block","mr-0","mb-2","d-lg-inline","mr-lg-2","mb-lg-0",3,"click"],[1,"fa-solid","fa-ellipsis"],[1,"sr-only"],["type","button",1,"btn","btn-sm","btn-tertiary",3,"pRowToggler"],[1,"fa-solid","cursor-pointer",3,"ngClass"],["text","removed","status","error"],["text","not removed","status","default"],[2,"text-align","left"],[3,"details","user","club"],[3,"cancel","clone","registrationTemplateID"],[3,"cancel","clone"],[3,"onDelete","onCancel","registrationTemplateID"]],template:function(r,c){r&1&&(p(0,Yt,79,13),p(1,Zt,4,1),p(2,ei,4,0),p(3,ti,3,1),n(4,"p-menu",2,0),e(6,`
261`),o()),r&2&&(d(c.registrationTemplateService.filters?0:-1),l(),d(c.showCloneDialog?1:-1),l(),d(c.showCloneDefaultDialog?2:-1),l(),d(c.selectedRegistrationTemplateID&&c.showDeleteDialog?3:-1),l(),J(H(8,Ot)),_("model",c.options)("popup",!0))},dependencies:[le,se,me,ce,$,xe,B,z,Ve,be,Ee,Fe,Ie,De,fe,ye,ge,Le,$e,We,Ke,Qe],styles:[".details-row[_ngcontent-%COMP%]{text-align:left!important}.details-wrapper[_ngcontent-%COMP%]{margin:1rem;background-color:var(--grey-50)}"]});let t=a;return t})();var Ue=(()=>{let a=class a{};a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=O({type:a}),a.\u0275inj=A({imports:[X.forChild([{path:"",component:Ge,children:[{path:":id",canActivate:[Y,ve,Se,Te],loadChildren:()=>import("./chunk-JN5BVBGY.js").then(s=>s.RegistrationTemplateEditModule),data:{admin:!0,permissions:[b.RegistrationTemplates],metaTitle:"Registration Forms"}},{path:"",canActivate:[Y],component:qe}]}]),X]});let t=a;return t})();var wn=(()=>{let a=class a{};a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=O({type:a}),a.\u0275inj=A({providers:[E,j],imports:[Ae,Ue,Be,Ne,je]});let t=a;return t})();export{wn as RegistrationTemplateModule};

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.