PageSourceSearch

https://usasoftballofvirginia.com/chunk-F6YRW7U3.js

js usasoftballofvirginia.com collected 2026-09-28 18:59:16 UTC 50,205 bytes, 1 lines download raw bytes

1import{a as ot}from"./chunk-MNJI6Q4E.js";import{b as Ve,c as Ae,d as Re,f as Be,g as We,i as Fe,j as He,l as Ne,m as ze,o as Qe,q as je}from"./chunk-IRVXRWZD.js";import{d as ve,e as ye,g as Me}from"./chunk-OASEBQL4.js";import{a as Le}from"./chunk-M2SDBECC.js";import{b as ke}from"./chunk-H3ZOHFO7.js";import"./chunk-CIKJJUSN.js";import"./chunk-RRZRS5BZ.js";import"./chunk-LY7WOQZN.js";import"./chunk-MS4AQ6UA.js";import{b as be,d as De}from"./chunk-N7NZ2FMU.js";import{f as Pe}from"./chunk-F2TSTV3I.js";import"./chunk-XRMXGMS4.js";import"./chunk-Q4V6AKYI.js";import{a as Oe,b as Ie}from"./chunk-T3PLPHIG.js";import{c as T}from"./chunk-2JW6ZMWV.js";import"./chunk-NIP74ZKI.js";import"./chunk-QNUNLKYK.js";import{r as Ee}from"./chunk-RE4JJFV5.js";import{d as me,e as ce,f as pe,h as _e,i as ge,j as ue,k as W}from"./chunk-COEKBYWO.js";import"./chunk-E2K2LIS4.js";import{a as Te}from"./chunk-KJKRX6VS.js";import"./chunk-2CRWMDGS.js";import{a as fe,b as Se}from"./chunk-4WMDX4SQ.js";import"./chunk-IQLKO45Z.js";import"./chunk-V6KBZVCY.js";import"./chunk-6FQQM4CE.js";import{a as Ce,i as he,j as xe}from"./chunk-VTTO24NQ.js";import"./chunk-Y5VOXWTF.js";import{n as F,q as H}from"./chunk-YWHNFDXQ.js";import{l as we}from"./chunk-FCTHY2PU.js";import"./chunk-DPVJW3LI.js";import"./chunk-GW33KQPR.js";import{T as N,U as z}from"./chunk-TUEKBDZZ.js";import"./chunk-RLPOKPIS.js";import"./chunk-TPES7EAS.js";import{G as de,c as te,h as ne,i as ie,k as oe,m as ae,n as le,o as re,y as se}from"./chunk-QXJM3TTT.js";import{F as B,m as Z,n as $,x as ee}from"./chunk-TMOIAHHX.js";import{$a as V,Db as Y,Fa as y,Fb as D,Ib as i,Jb as v,Kb as J,Lb as O,Rb as _,Sa as G,Sb as g,Tb as u,Wa as x,Xa as f,Za as j,_a as L,aa as U,ab as S,bb as n,cb as t,cc as K,db as C,ga as s,hb as P,ib as b,kb as M,mc as A,o as c,oc as R,p,qb as h,rc as X,sa as E,tb as d,za as k}from"./chunk-DJNWGYMM.js";import{ea as w,f as q}from"./chunk-VOZAGDK7.js";import{h as it}from"./chunk-E5QWB6YB.js";var Ue=it(ot());var dt=()=>["expandedDetail"];function mt(a,m){if(a&1&&(n(0,"span",7),i(1),t()),a&2){let e=d();s(),O(" ",e.data.personCount," people \xB7 ",e.data.orderCount," orders ")}}function ct(a,m){a&1&&(n(0,"th",24),i(1,"Person ID"),t())}function pt(a,m){if(a&1&&(n(0,"td",25),i(1),t()),a&2){let e=m.$implicit;s(),v(e.personID)}}function _t(a,m){a&1&&(n(0,"th",24),i(1,"Name"),t())}function gt(a,m){if(a&1&&(n(0,"td",25),i(1),t()),a&2){let e=m.$implicit;s(),v(e.name)}}function ut(a,m){a&1&&(n(0,"th",24),i(1,"Email"),t())}function Ct(a,m){if(a&1&&(n(0,"td",25),i(1),t()),a&2){let e=m.$implicit;s(),v(e.email)}}function ht(a,m){a&1&&(n(0,"th",24),i(1,"Orders"),t())}function xt(a,m){if(a&1&&(n(0,"td",25),i(1),t()),a&2){let e=m.$implicit;s(),v(e.orderCount)}}function ft(a,m){a&1&&(n(0,"th",24),i(1,"First"),t())}function St(a,m){if(a&1&&(n(0,"td",26),i(1),A(2,"date"),t()),a&2){let e=m.$implicit;s(),v(R(2,1,e.firstCreatedOn,"medium"))}}function vt(a,m){a&1&&(n(0,"th",24),i(1,"Last"),t())}function yt(a,m){if(a&1&&(n(0,"td",26),i(1),A(2,"date"),t()),a&2){let e=m.$implicit;s(),v(R(2,1,e.lastCreatedOn,"medium"))}}function Mt(a,m){a&1&&C(0,"th",24)}function Tt(a,m){if(a&1&&(n(0,"td",25)(1,"mat-icon",27),i(2),t()()),a&2){let e=m.$implicit,l=d(2);s(2),v(l.isExpanded(e.personID)?"expand_less":"expand_more")}}function wt(a,m){if(a&1&&(n(0,"a",34),i(1,"Open"),t()),a&2){let e=d().$implicit;S("href",e.orderURL,U)}}function Et(a,m){if(a&1&&(n(0,"tr")(1,"td",32),i(2),A(3,"date"),t(),n(4,"td"),i(5),t(),n(6,"td"),i(7),t(),n(8,"td"),i(9),t(),n(10,"td"),y(11,wt,2,1,"a",33),t()()),a&2){let e=m.$implicit;s(2),v(R(3,5,e.createdOn,"medium")),s(3),v(e.status),s(2),v(e.orderID),s(2),v(e.paymentID),s(2),S("ngIf",e.orderURL)}}function Pt(a,m){if(a&1&&(n(0,"table",30)(1,"thead")(2,"tr")(3,"th"),i(4,"Created"),t(),n(5,"th"),i(6,"Status"),t(),n(7,"th"),i(8,"Order ID"),t(),n(9,"th"),i(10,"Payment ID"),t(),n(11,"th"),i(12,"NCSI Link"),t()()(),n(13,"tbody"),y(14,Et,12,8,"tr",31),t()()),a&2){let e=d().$implicit;s(14),S("ngForOf",e.orders)}}function bt(a,m){if(a&1&&(n(0,"td",25)(1,"div",28),y(2,Pt,15,1,"table",29),t()()),a&2){let e=m.$implicit,l=d(2);G("colspan",l.personColumns.length),s(),D("detail-panel-open",l.isExpanded(e.personID)),s(),S("ngIf",l.isExpanded(e.personID))}}function Dt(a,m){a&1&&C(0,"tr",35)}function Ot(a,m){if(a&1){let e=M();n(0,"tr",36),h("click",function(){let o=c(e).$implicit,r=d(2);return p(r.togglePerson(o.personID))}),t()}if(a&2){let e=m.$implicit,l=d(2);D("person-row-expanded",l.isExpanded(e.personID))}}function It(a,m){a&1&&C(0,"tr",37)}function kt(a,m){if(a&1&&(n(0,"div")(1,"div",8)(2,"table",9),P(3,10),y(4,ct,2,0,"th",11)(5,pt,2,1,"td",12),b(),P(6,13),y(7,_t,2,0,"th",11)(8,gt,2,1,"td",12),b(),P(9,14),y(10,ut,2,0,"th",11)(11,Ct,2,1,"td",12),b(),P(12,15),y(13,ht,2,0,"th",11)(14,xt,2,1,"td",12),b(),P(15,16),y(16,ft,2,0,"th",11)(17,St,3,4,"td",17),b(),P(18,18),y(19,vt,2,0,"th",11)(20,yt,3,4,"td",17),b(),P(21,19),y(22,Mt,1,0,"th",11)(23,Tt,3,1,"td",12),b(),P(24,20),y(25,bt,3,4,"td",12),b(),y(26,Dt,1,0,"tr",21)(27,Ot,1,2,"tr",22)(28,It,1,0,"tr",23),t()()()),a&2){let e=d();s(2),S("dataSource",e.people),s(24),S("matHeaderRowDef",e.personColumns)("matHeaderRowDefSticky",!0),s(),S("matRowDefColumns",e.personColumns),s(),S("matRowDefColumns",K(5,dt))}}function Lt(a,m){a&1&&(n(0,"div",38),i(1,"No duplicate background check bursts found."),t())}var qe=(()=>{class a{data;dialogRef;personColumns=["personID","name","email","orderCount","firstCreatedOn","lastCreatedOn","expand"];expandedPersonID=null;constructor(e,l){this.data=e,this.dialogRef=l}get people(){return this.data?.people||[]}togglePerson(e){this.expandedPersonID=this.expandedPersonID===e?null:e}isExpanded(e){return this.expandedPersonID===e}close(){this.dialogRef.close()}static \u0275fac=function(l){return new(l||a)(E(ce),E(me))};static \u0275cmp=k({type:a,selectors:[["app-bgcheck-duplicate-lookout-dialog"]],decls:12,vars:4,consts:[["noRowsTemplate",""],["mat-dialog-title",""],[1,"subtitle"],["class","record-count",4,"ngIf"],[4,"ngIf","ngIfElse"],["align","end"],["mat-flat-button","",3,"click"],[1,"record-count"],[1,"table-container"],["mat-table","","multiTemplateDataRows","",1,"mat-elevation-z1",3,"dataSource"],["matColumnDef","personID"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","email"],["matColumnDef","orderCount"],["matColumnDef","firstCreatedOn"],["mat-cell","","class","cell-nowrap",4,"matCellDef"],["matColumnDef","lastCreatedOn"],["matColumnDef","expand"],["matColumnDef","expandedDetail"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","","class","person-row",3,"person-row-expanded","click",4,"matRowDef","matRowDefColumns"],["mat-row","","class","detail-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-cell","",1,"cell-nowrap"],[1,"expand-icon"],[1,"detail-panel"],["class","orders-table",4,"ngIf"],[1,"orders-table"],[4,"ngFor","ngForOf"],[1,"cell-nowrap"],["target","_blank","rel","noopener noreferrer",3,"href",4,"ngIf"],["target","_blank","rel","noopener noreferrer",3,"href"],["mat-header-row",""],["mat-row","",1,"person-row",3,"click"],["mat-row","",1,"detail-row"],[1,"n
1o-rows"]],template:function(l,o){if(l&1){let r=M();n(0,"h2",1),i(1," Duplicate background check lookout "),n(2,"span",2),i(3),t(),y(4,mt,2,2,"span",3),t(),n(5,"mat-dialog-content"),y(6,kt,29,6,"div",4),t(),n(7,"mat-dialog-actions",5)(8,"button",6),h("click",function(){return c(r),p(o.close())}),i(9,"Close"),t()(),y(10,Lt,2,0,"ng-template",null,0,X)}if(l&2){let r=Y(11);s(3),J("",o.data.windowDays,"-day cluster window"),s(),S("ngIf",o.data.personCount>0),s(2),S("ngIf",o.people.length>0)("ngIfElse",r)}},dependencies:[B,Z,$,W,_e,ue,ge,H,F,z,N,je,Ve,Re,He,Be,Ae,Ne,We,Fe,ze,Qe,ee],styles:["h2[mat-dialog-title][_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:0}h2[mat-dialog-title][_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:13px;font-weight:400;color:#607d8b}h2[mat-dialog-title][_ngcontent-%COMP%]   .record-count[_ngcontent-%COMP%]{font-size:12px;font-weight:400;color:#90a4ae;margin-left:auto}.table-container[_ngcontent-%COMP%]{max-height:65vh;overflow:auto}.person-row[_ngcontent-%COMP%]{cursor:pointer}.expand-icon[_ngcontent-%COMP%]{color:#607d8b;vertical-align:middle}.person-row-expanded[_ngcontent-%COMP%]{background:#1976d20f}.detail-row[_ngcontent-%COMP%]{height:0}.detail-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:0!important;border-bottom-width:0}.detail-panel[_ngcontent-%COMP%]{overflow:hidden;max-height:0;transition:max-height .2s ease}.detail-panel-open[_ngcontent-%COMP%]{max-height:480px;overflow:auto}.orders-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;margin:8px 12px 16px;font-size:13px}.orders-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .orders-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{text-align:left;padding:6px 10px;border-bottom:1px solid #eceff1}.orders-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{color:#607d8b;font-weight:600}.cell-nowrap[_ngcontent-%COMP%]{white-space:nowrap}.no-rows[_ngcontent-%COMP%]{min-height:120px;display:flex;align-items:center;justify-content:center;color:#78909c}"]})}return a})();var Vt=(a,m)=>m._key;function At(a,m){a&1&&(n(0,"div",4)(1,"mat-icon",5),i(2,"lock"),t(),n(3,"div",6),i(4,"Access denied"),t(),n(5,"div",7),i(6,"Your account doesn't have permission to use System Tools. If you think this is wrong, contact support."),t()())}function Rt(a,m){if(a&1){let e=M();n(0,"div",14)(1,"div",18)(2,"div",19),i(3,"A"),t(),n(4,"div",20)(5,"div",21),i(6,"Move ALL events from one team to another"),t(),n(7,"div",22),i(8,"Re-points every event registration on the source team to the destination team."),t()(),n(9,"span",23),C(10,"span",24),i(11,"Live"),t()(),n(12,"div",25)(13,"form",26)(14,"mat-form-field",27)(15,"mat-label"),i(16,"From Team ID"),t(),n(17,"input",28),u("ngModelChange",function(o){c(e);let r=d(3);return g(r.moveAllEventsFromTeamID,o)||(r.moveAllEventsFromTeamID=o),p(o)}),t()(),n(18,"mat-form-field",27)(19,"mat-label"),i(20,"To Team ID"),t(),n(21,"input",29),u("ngModelChange",function(o){c(e);let r=d(3);return g(r.moveAllEventsToTeamID,o)||(r.moveAllEventsToTeamID=o),p(o)}),t()()()(),n(22,"div",30)(23,"button",31),h("click",function(){c(e);let o=d(3);return p(o.go("hq","moveAllEventsFromOneTeamToAnother",null,null,null,null,o.moveAllEventsFromTeamID,o.moveAllEventsToTeamID,null,null,null,null,null,null))}),n(24,"mat-icon"),i(25,"play_arrow"),t(),i(26," Run "),t()()()}if(a&2){let e=d(3);s(17),_("ngModel",e.moveAllEventsFromTeamID),s(4),_("ngModel",e.moveAllEventsToTeamID)}}function Bt(a,m){if(a&1){let e=M();n(0,"div",15)(1,"div",18)(2,"div",19),i(3,"B"),t(),n(4,"div",20)(5,"div",21),i(6,"Move just 1 event from one team to another"),t(),n(7,"div",22),i(8,"Move a single event entry between teams."),t()(),n(9,"span",23),C(10,"span",24),i(11,"Live"),t()(),n(12,"div",25)(13,"form",26)(14,"mat-form-field",27)(15,"mat-label"),i(16,"From Team ID"),t(),n(17,"input",32),u("ngModelChange",function(o){c(e);let r=d(3);return g(r.moveOneEventFromTeamID,o)||(r.moveOneEventFromTeamID=o),p(o)}),t()(),n(18,"mat-form-field",27)(19,"mat-label"),i(20,"To Team ID"),t(),n(21,"input",33),u("ngModelChange",function(o){c(e);let r=d(3);return g(r.moveOneEventToTeamID,o)||(r.moveOneEventToTeamID=o),p(o)}),t()(),n(22,"mat-form-field",27)(23,"mat-label"),i(24,"Event ID"),t(),n(25,"input",34),u("ngModelChange",function(o){c(e);let r=d(3);return g(r.moveOneEventDivisionID,o)||(r.moveOneEventDivisionID=o),p(o)}),t()()()(),n(26,"div",30)(27,"button",31),h("click",function(){c(e);let o=d(3);return p(o.go("hq","move1EventFromOneTeamToAnother",null,null,null,o.moveOneEventDivisionID,o.moveOneEventFromTeamID,o.moveOneEventToTeamID,null,null,null,null,null,null))}),n(28,"mat-icon"),i(29,"play_arrow"),t(),i(30," Run "),t()()()}if(a&2){let e=d(3);
1s(17),_("ngModel",e.moveOneEventFromTeamID),s(4),_("ngModel",e.moveOneEventToTeamID),s(4),_("ngModel",e.moveOneEventDivisionID)}}function Wt(a,m){if(a&1&&(n(0,"mat-option",36),i(1),t()),a&2){let e=m.$implicit;S("value",e),s(),v(e)}}function Ft(a,m){if(a&1){let e=M();n(0,"div",14)(1,"div",18)(2,"div",19),i(3,"C"),t(),n(4,"div",20)(5,"div",21),i(6,"AAG photo pack"),t(),n(7,"div",22),i(8,"Downloads a zip with full-resolution photos of players and coaches for every AAG event in the selected season, plus a workbook with a complete list and a worksheet per team."),t()(),n(9,"span",23),C(10,"span",24),i(11,"Live"),t()(),n(12,"div",25)(13,"form",26)(14,"mat-form-field",27)(15,"mat-label"),i(16,"Season"),t(),n(17,"mat-select",35),u("ngModelChange",function(o){c(e);let r=d(3);return g(r.aagSeason,o)||(r.aagSeason=o),p(o)}),L(18,Wt,2,2,"mat-option",36,j),t()()()(),n(20,"div",30)(21,"button",37),h("click",function(){c(e);let o=d(3);return p(o.downloadAagPhotoPack())}),n(22,"mat-icon"),i(23,"download"),t(),i(24," Download "),t()()()}if(a&2){let e=d(3);s(17),_("ngModel",e.aagSeason),s(),V(e.aagSeasons),s(3),S("disabled",e.aagDownloading||!e.aagSeason)}}function Ht(a,m){a&1&&(n(0,"div",38),i(1,"Checking whether the shop is on\u2026"),t())}function Nt(a,m){if(a&1&&(n(0,"div",39),i(1),t()),a&2){let e=d(4);s(),v(e.shopStatusError)}}function zt(a,m){a&1&&i(0," Buyers can see the storefront now. ")}function Qt(a,m){a&1&&i(0," Buyers see \u201CThe shop is not available on this site.\u201D ")}function jt(a,m){if(a&1){let e=M();n(0,"mat-slide-toggle",40),u("ngModelChange",function(o){c(e);let r=d(4);return g(r.shopEnabled,o)||(r.shopEnabled=o),p(o)}),h("change",function(o){c(e);let r=d(4);return p(r.onShopEnabledChange(o.checked))}),i(1," Shop is on for this site "),t(),n(2,"div",38),x(3,zt,1,0)(4,Qt,1,0),t()}if(a&2){let e=d(4);_("ngModel",e.shopEnabled),S("disabled",e.shopSaving),s(3),f(e.shopEnabled?3:4)}}function qt(a,m){if(a&1){let e=M();n(0,"div",30)(1,"button",31),h("click",function(){c(e);let o=d(4);return p(o.loadShopStatus())}),n(2,"mat-icon"),i(3,"refresh"),t(),i(4," Try again "),t()()}}function Ut(a,m){if(a&1&&(n(0,"div",14)(1,"div",18)(2,"div",19),i(3,"SH"),t(),n(4,"div",20)(5,"div",21),i(6,"Shop on this site"),t(),n(7,"div",22),i(8,"Turns the storefront on or off for this site. Turning it off hides the Shop menu and stops buyers reaching the catalogue, the product pages and the cart. Products and settings are kept."),t()(),n(9,"span",23),C(10,"span",24),i(11,"Live"),t()(),n(12,"div",25),x(13,Ht,2,0,"div",38)(14,Nt,2,1,"div",39)(15,jt,5,3),t(),x(16,qt,5,0,"div",30),t()),a&2){let e=d(3);s(13),f(e.shopStatusLoading?13:e.shopStatusError?14:15),s(3),f(e.shopStatusError?16:-1)}}function Gt(a,m){if(a&1&&(n(0,"mat-option",36),i(1),t()),a&2){let e=m.$implicit;S("value",e),s(),v(e)}}function Yt(a,m){if(a&1){let e=M();n(0,"mat-form-field",27)(1,"mat-label"),i(2,"Association"),t(),n(3,"mat-select",47),u("ngModelChange",function(o){c(e);let r=d(4);return g(r.updateSite4PersonAssociation,o)||(r.updateSite4PersonAssociation=o),p(o)}),h("selectionChange",function(){c(e);let o=d(4);return p(o.onMoveAssociationChange())}),L(4,Gt,2,2,"mat-option",36,j),t()()}if(a&2){let e=d(4);s(3),_("ngModel",e.updateSite4PersonAssociation),s(),V(e.siteOptionsAssociations)}}function Jt(a,m){if(a&1&&(n(0,"mat-option",36),i(1),t()),a&2){let e=m.$implicit;S("value",e._key),s(),O("",e.name," (",e._key,")")}}function Kt(a,m){a&1&&i(0," Loading sites\u2026 ")}function Xt(a,m){a&1&&i(0," No sites are set up for this association. ")}function Zt(a,m){if(a&1&&(i(0," from "),n(1,"strong"),i(2),t()),a&2){let e=d(5);s(2),v(e.moveResult.fromSiteName)}}function $t(a,m){if(a&1&&(i(0," Moved "),n(1,"strong"),i(2),t(),x(3,Zt,3,1),i(4," to "),n(5,"strong"),i(6),t(),i(7)),a&2){let e=d(4);s(2),v(e.moveResult.personName),s(),f(e.moveResult.fromSiteName?3:-1),s(3),v(e.moveResult.toSiteName),s(),O(". Profile photo: ",e.photoOutcome(e.moveResult.avatar),". ID photo: ",e.photoOutcome(e.moveResult.idPicture),". ")}}function en(a,m){if(a&1&&(n(0,"div",39),i(1),t()),a&2){let e=d(4);s(),v(e.siteOptionsError)}}function tn(a,m){if(a&1){let e=M();n(0,"button",31),h("click",function(){c(e);let o=d(4);return p(o.loadSiteOptions())}),n(1,"mat-icon"),i(2,"refresh"),t(),i(3," Try again "),t()}}function nn(a,m){if(a&1){let e=M();n(0,"button",37),h("click",function(){c(e);let o=d(4);return p(o.updateSite4Person())}),n(1,"mat-icon"),i(2,"play_arrow"),t(),i(3," Run "),t()}if(a&2){let e=d(4);S("disabled",e.siteOptionsLoading||!e.updateSite4PersonPersonID||!e.updateSite4PersonSite)}}function on(a,m){if(a&1){let e=M();n(0,"div",16)(1,"div",18)(2,"div",19),i(3,"N1"),t(),n(4,"div",20)(5,"div",21),i(6,"Change a person's site"),t(),n(7,"div",22),i(8,"Moves a person's home site. Their photos move with them and the site they came from stays on their record, so nothing they have registered for is lost. Only sites in the same association are offered."),t()(),n(9,"span",41),C(10,"span",24),i(11,"Caution"),t()(),n(12,"div",25)(13,"form",26)(14,"mat-form-field",27)(15,"mat-label"),i(16,"Person ID"),t(),n(17,"input",42),u("ngModelChange",function(o){c(e);let r=d(3);return g(r.updateSite4PersonPersonID,o)||(r.updateSite4PersonPersonID=o),p(o)}),t()(),x(18,Yt,6,1,"mat-form-field",27),n(19,"mat-form-field",43)(20,"mat-label"),i(21,"Move to site"),t(),n(22,"mat-select",44),u("ngModelChange",function(o){c(e);let r=d(3);return g(r.updateSite4PersonSite,o)||(r.updateSite4PersonSite=o),p(o)}),L(23,Jt,2,3,"mat-option",36,Vt),t()()(),n(25,"div",38),x(26,Kt,1,0)(27,Xt,1,0)(28,$t,8,5),t(),x(29,en,2,1,"div",39),t(),n(30,"div",30),x(31,tn,4,0,"button",45)(32,nn,4,1,"button",46),t()()}
1if(a&2){let e=d(3);s(14),D("st-field-wide",!e.siteOptionsCanChooseAssociation),s(3),_("ngModel",e.updateSite4PersonPersonID),s(),f(e.siteOptionsCanChooseAssociation?18:-1),s(4),_("ngModel",e.updateSite4PersonSite),S("disabled",e.siteOptionsLoading||e.sitesForAssociation.length===0),s(),V(e.sitesForAssociation),s(2),D("st-state-quiet",!e.moveStatusShown),s(),f(e.siteOptionsLoading?26:!e.siteOptionsError&&e.sitesForAssociation.length===0?27:e.moveResult?28:-1),s(3),f(e.siteOptionsError?29:-1),s(2),f(e.siteOptionsError?31:32)}}function an(a,m){if(a&1){let e=M();n(0,"div",17)(1,"div",18)(2,"div",19),i(3,"MV"),t(),n(4,"div",20)(5,"div",21),i(6,"Mark email as valid"),t(),n(7,"div",22),i(8,"Mark an email as valid in the Email Blacklist service."),t()(),n(9,"span",48),C(10,"span",24),i(11,"Caution"),t()(),n(12,"div",25)(13,"form",26)(14,"mat-form-field",43)(15,"mat-label"),i(16,"Email"),t(),n(17,"input",49),u("ngModelChange",function(o){c(e);let r=d(3);return g(r.markAsValidEmail,o)||(r.markAsValidEmail=o),p(o)}),t()()()(),n(18,"div",30)(19,"button",31),h("click",function(){c(e);let o=d(3);return p(o.markEmailAsValid())}),n(20,"mat-icon"),i(21,"play_arrow"),t(),i(22," Run "),t()()()}if(a&2){let e=d(3);s(17),_("ngModel",e.markAsValidEmail)}}function ln(a,m){if(a&1&&(n(0,"div",8)(1,"div",10)(2,"div",11)(3,"mat-icon"),i(4,"workspace_premium"),t(),n(5,"span"),i(6,"System Tools"),t()(),n(7,"span",12),i(8,"Cross-team / cross-event admin actions"),t()(),n(9,"div",13),x(10,Rt,27,2,"div",14),x(11,Bt,31,3,"div",15),x(12,Ft,25,2,"div",14),x(13,Ut,17,2,"div",14),x(14,on,33,11,"div",16),x(15,an,23,1,"div",17),t()()),a&2){let e=d(2);s(10),f(e.canSeeTeamMerge?10:-1),s(),f(e.canSeeTeamMerge?11:-1),s(),f(e.canSeeHQTools?12:-1),s(),f(e.canSeeHQTools?13:-1),s(),f(e.canSeeHQTools?14:-1),s(),f(e.canSeeHQTools?15:-1)}}function rn(a,m){if(a&1){let e=M();n(0,"div",8)(1,"div",10)(2,"div",11)(3,"mat-icon"),i(4,"manage_accounts"),t(),n(5,"span"),i(6,"Site Tools"),t()(),n(7,"span",12),i(8,"Actions scoped to this site's events"),t()(),n(9,"div",13)(10,"div",14)(11,"div",18)(12,"div",19),i(13,"SD"),t(),n(14,"div",20)(15,"div",21),i(16,"Set event director"),t(),n(17,"div",22),i(18,"Make a different person the director of an event. The new director gets full control of the event. If they were on the event's staff list, that staff entry is removed."),t()(),n(19,"span",23),C(20,"span",24),i(21,"Live"),t()(),n(22,"div",25)(23,"form",26)(24,"mat-form-field",27)(25,"mat-label"),i(26,"Event ID"),t(),n(27,"input",50),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.setDirectorEventID,o)||(r.setDirectorEventID=o),p(o)}),t()(),n(28,"mat-form-field",27)(29,"mat-label"),i(30,"New Director Person ID"),t(),n(31,"input",51),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.setDirectorPersonID,o)||(r.setDirectorPersonID=o),p(o)}),t()()()(),n(32,"div",30)(33,"button",31),h("click",function(){c(e);let o=d(2);return p(o.setEventDirector())}),n(34,"mat-icon"),i(35,"play_arrow"),t(),i(36," Run "),t()()()()()}if(a&2){let e=d(2);s(27),_("ngModel",e.setDirectorEventID),s(4),_("ngModel",e.setDirectorPersonID)}}function sn(a,m){if(a&1){let e=M();n(0,"div",8)(1,"div",52)(2,"div",11)(3,"mat-icon"),i(4,"handyman"),t(),n(5,"span"),i(6,"REGPLY Tools"),t()(),n(7,"span",12),i(8,"Targeted record-level fixes & maintenance"),t()(),n(9,"div",13)(10,"div",14)(11,"div",18)(12,"div",19),i(13,"N"),t(),n(14,"div",20)(15,"div",21),i(16,"Mark schedule fee paid"),t(),n(17,"div",22),i(18,"Stamp a schedule payment ID against an event."),t()(),n(19,"span",23),C(20,"span",24),i(21,"Live"),t()(),n(22,"div",25)(23,"form",26)(24,"mat-form-field",27)(25,"mat-label"),i(26,"Event ID"),t(),n(27,"input",53),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.scheduleFeePaidEventID,o)||(r.scheduleFeePaidEventID=o),p(o)}),t()(),n(28,"mat-form-field",27)(29,"mat-label"),i(30,"Schedule Payment ID"),t(),n(31,"input",54),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.scheduleFeePaymentID,o)||(r.scheduleFeePaymentID=o),p(o)}),t()()()(),n(32,"div",30)(33,"button",31),h("click",function(){c(e);let o=d(2);return p(o.go("regply","markScheduleFeePaid",null,null,null,o.scheduleFeePaidEventID,null,null,o.scheduleFeePaymentID,null,null,null,null,null))}),n(34,"mat-icon"),i(35,"play_arrow"),t(),i(36," Run "),t()()(),n(37,"div",14)(38,"div",18)(39,"div",19),i(40,"N2"),t(),n(41,"div",20)(42,"div",21),i(43,"Assign team credits to event"),t(),n(44,"div",22),i(45,"Grant schedule-fee team credits to an event (e.g. teams dropped due to rain) \u2014 does not require cancelling the source event. Credits surface on the director's next event payment of the "),n(46,"strong"),i(47,"same type"),t(),i(48," (league credits only apply to league events, weekend credits only to weekend events)."),t()(),n(49,"span",23),C(50,"span",24),i(51,"Live"),t()(),n(52,"div",25)(53,"form",26)(54,"mat-form-field",27)(55,"mat-label"),i(56,"Event ID"),t(),n(57,"input",55),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.scheduleFeeCreditEventID,o)||(r.scheduleFeeCreditEventID=o),p(o)}),t()(),n(58,"mat-form-field",27)(59,"mat-label"),i(60,"Team Credits (count)"),t(),n(61,"input",56),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.scheduleFeeCreditValue,o)||(r.scheduleFeeCreditValue=o),p(o)}),t()()()(),n(62,"div",30)(63,"button",31),h("click",function(){c(e);let o=d(2);return p(o.go("regply","assignScheduleFeeCredit",null,null,null,o.scheduleFeeCreditEventID,null,null,null,null,null,null,o.scheduleFeeCreditValue,null))}),n(64,"mat-icon"),i(65,"play_arrow"),t(),i(66," Run "),t()()(),n(67,"div",16)(68,"div",18)(69,"div",19),i(70,"O"),t(),n(71,"div",20)(72,"div",21),i(73,"Persona copy"),t(),n(74,"div",22),i(75,"Copy persona data from one person to another."),t()(),n(76,"span",41),C(77,"span",24),i(78,"Caution"),t()(),n(79,"div",25)(80,"form",26)(81,"mat-form-field",27)(82,"mat-label"),i(83,"From Person ID"),t(),n(84,"input",57),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.personaCopyFromPersonID,o)||(r.personaCopyFromPersonID=o),p(o)}),t()(),n(85,"mat-form-field",27)(86,"mat-label"),i(87,"To Person ID"),t(),n(88,"input",58),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.personaCopyToPersonID,o)||(r.personaCopyToPersonID=o),p(o)}),t()()()(),n(89,"div",30)(90,"button",31),h("click",function(){c(e);let o=d(2);return p(o.go("regply","copyPersona",null,null,null,null,null,null,null,null,o.personaCopyFromPersonID,o.personaCopyToPersonID,null,null))}),n(91,"mat-icon"),i(92,"play_arrow"),t(),i(93," Run "),t()()(),n(94,"div",14)(95,"div",18)(96,"div",19),i(97,"Q"),t(),n(98,"div",20)(99,"div",21),i(100,"Clear pending compliance documents"),t(),n(101,"div",22),i(102,"For docs not loading on the dashboard: ace, background, birthCertificate, concussion, driverLicense, safeSport."),t()(),n(103,"span",23),C(104,"span",24),i(105,"Live"),t()(),n(106,"div",25)(107,"form",26)(108,"mat-form-field",27)(109,"mat-label"),i(110,"Player ID"),t(),n(111,"input",59),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.compliancePlayerID,o)||(r.compliancePlayerID=o),p(o)}),t()(),n(112,"mat-form-field",27)(113,"mat-label"),i(114,"Compliance Type"),t(),n(115,"input",60),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.complianceSite,o)||(r.complianceSite=o),p(o)}),t()()()(),n(116,"div",30)(117,"button",31),h("click",function(){c(e);let o=d(2);return p(o.go("regply","clearPendingComplianceDocuments",null,o.compliancePlayerID,null,null,null,null,null,o.complianceSite,null,null,null,null))}),n(118,"mat-icon"),i(119,"play_arrow"),t(),i(120," Run "),t()()(),n(121,"div",14)(122,"div",18)(123,"div",19),i(124,"R"),t(),n(125,"div",20)(126,"div",21),i(127,"Ditch 5 pending avatars"),t(),n(128,"div",22),i(129,"Out-of-memory recovery \u2014 drops queued avatar uploads for a site."),t()(),n(130,"span",23),C(131,"span",24),i(132,"Live"),t()(),n(133,"div",25)(134,"form",26)(135,"mat-form-field",43)(136,"mat-label"),i(137,"Site (e.g. usasb-md)"),t(),n(138,"input",61),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.outOfMemorySite,o)||(r.outOfMemorySite=o),p(o)}),t()()()(),n(139,"div",30)(140,"button",31),h("click",function(){c(e);let o=d(2);return p(o.go("regply","ditchPendingAvatars",null,null,null,null,null,null,null,o.outOfMemorySite,null,null,null,null))}),n(141,"mat-icon"),i(142,"play_arrow"),t(),i(143," Run "),t()()(),n(144,"div",14)(145,"div",18)(146,"div",19),i(147,"GI"),t(),n(148,"div",20)(149,"div",21),i(150,"Game interval update"),t(),n(151,"div",22),i(152,"Apply a new game interval to all roun
1ds of an event."),t()(),n(153,"span",23),C(154,"span",24),i(155,"Live"),t()(),n(156,"div",25)(157,"form",26)(158,"mat-form-field",27)(159,"mat-label"),i(160,"Event ID"),t(),n(161,"input",62),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.gameIntervalsEventID,o)||(r.gameIntervalsEventID=o),p(o)}),t()(),n(162,"mat-form-field",27)(163,"mat-label"),i(164,"New Interval (number)"),t(),n(165,"input",63),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.gameIntervalsNewIntValue,o)||(r.gameIntervalsNewIntValue=o),p(o)}),t()()()(),n(166,"div",30)(167,"button",31),h("click",function(){c(e);let o=d(2);return p(o.go("regply","updateAllGameIntervalsInAnEvent",null,null,null,o.gameIntervalsEventID,null,null,null,null,null,null,o.gameIntervalsNewIntValue,null))}),n(168,"mat-icon"),i(169,"play_arrow"),t(),i(170," Run "),t()()(),n(171,"div",16)(172,"div",18)(173,"div",19),i(174,"BP"),t(),n(175,"div",20)(176,"div",21),i(177,"Set bulk payment override"),t(),n(178,"div",22),i(179,"Force a pending ACH bulk/team payment to process on the next ACH pending run."),t()(),n(180,"span",41),C(181,"span",24),i(182,"Caution"),t()(),n(183,"div",25)(184,"form",26)(185,"mat-form-field",43)(186,"mat-label"),i(187,"Charge ID"),t(),n(188,"input",64),u("ngModelChange",function(o){c(e);let r=d(2);return g(r.bulkPaymentOverrideChargeID,o)||(r.bulkPaymentOverrideChargeID=o),p(o)}),t()()()(),n(189,"div",30)(190,"button",31),h("click",function(){c(e);let o=d(2);return p(o.setBulkPaymentOverride())}),n(191,"mat-icon"),i(192,"play_arrow"),t(),i(193," Run "),t()()(),n(194,"div",14)(195,"div",18)(196,"div",19),i(197,"BC"),t(),n(198,"div",20)(199,"div",21),i(200,"Duplicate background check lookout"),t(),n(201,"div",22),i(202,"Find people with 2+ NCSI background check orders within any 7-day window (all-time)."),t()(),n(203,"span",23),C(204,"span",24),i(205,"Lookout"),t()(),n(206,"div",25)(207,"div",22),i(208,"Read-only scan of compliance2 backgroundCheck records. Results open in a modal."),t()(),n(209,"div",30)(210,"button",31),h("click",function(){c(e);let o=d(2);
1return p(o.runDuplicateBackgroundCheckLookout())}),n(211,"mat-icon"),i(212,"play_arrow"),t(),i(213," Run "),t()()()()()}if(a&2){let e=d(2);s(27),_("ngModel",e.scheduleFeePaidEventID),s(4),_("ngModel",e.scheduleFeePaymentID),s(26),_("ngModel",e.scheduleFeeCreditEventID),s(4),_("ngModel",e.scheduleFeeCreditValue),s(23),_("ngModel",e.personaCopyFromPersonID),s(4),_("ngModel",e.personaCopyToPersonID),s(23),_("ngModel",e.compliancePlayerID),s(4),_("ngModel",e.complianceSite),s(23),_("ngModel",e.outOfMemorySite),s(23),_("ngModel",e.gameIntervalsEventID),s(4),_("ngModel",e.gameIntervalsNewIntValue),s(23),_("ngModel",e.bulkPaymentOverrideChargeID)}}function dn(a,m){a&1&&(n(0,"div",9)(1,"div",65)(2,"mat-icon"),i(3,"lightbulb"),t(),n(4,"span"),i(5,"Future tools"),t()(),n(6,"ul",66)(7,"li"),i(8,"Coach added all his players to his family \u2014 delete kids that are not his (coachID, coachKidID)"),t(),n(9,"li"),i(10,"Setting Stripe ID"),t()()())}function mn(a,m){if(a&1&&(x(0,ln,16,6,"div",8),x(1,rn,37,2,"div",8),x(2,sn,214,12,"div",8),x(3,dn,11,0,"div",9)),a&2){let e=d();f(e.canSeeHQTools||e.hasTeamMerge?0:-1),s(),f(e.canSeeSiteTools?1:-1),s(),f(e.canSeeRegplyTools?2:-1),s(),f(e.canSeeRegplyTools?3:-1)}}var Qn=(()=>{class a{api;notify;ngxLoader;_fuseConfigService;dialog;data;loading;searchInput;isMobile=!1;isSmall=!1;isBrowser;noRecord;fuseConfig;action="";personaHQ=!1;personaTinc=!1;personaRegply=!1;personaHasTeamMerge=!1;personaSiteAdmin=!1;get canSeeTeamMerge(){return this.personaHQ||this.personaTinc||this.personaRegply||this.personaHasTeamMerge}get canSeeHQTools(){return this.personaHQ||this.personaTinc||this.personaRegply}get hasTeamMerge(){return this.personaHasTeamMerge}get canSeeRegplyTools(){return this.personaRegply}get canSeeSiteTools(){return this.personaSiteAdmin||this.canSeeHQTools}get hasAccess(){return this.canSeeHQTools||this.canSeeRegplyTools||this.hasTeamMerge||this.canSeeSiteTools}moveOneEventDivisionID="";freeAgentDivisionID="";freeAgentPlayerID="";compliancePlayerID="";moveAllEventsToTeamID="";moveAllEventsFromTeamID="";freeAgentTeamID="";moveOneEventFromTeamID="";moveOneEventToTeamID="";fromPersonID="";personaCopyFromPersonID="";toPersonID="";personaCopyToPersonID="";scheduleFeePaymentID="";scheduleFeeCreditValue="";eventID="";scheduleFeePaidEventID="";scheduleFeeCreditEventID="";gameIntervalsEventID="";complianceSite="";outOfMemorySite="";newIntValue="";newStringValue="";gameIntervalsNewIntValue="";_unsubscribeAll;constructor(e,l,o,r,I){this.api=e,this.notify=l,this.ngxLoader=o,this._fuseConfigService=r,this.dialog=I,this._unsubscribeAll=new q}pageSize;ngOnInit(){this._fuseConfigService.config.pipe(w(this._unsubscribeAll)).subscribe(e=>{this.fuseConfig=e});try{let e=JSON.parse(localStorage.getItem("person")||"{}")?.persona||{};this.personaHQ=e.hq===!0,this.personaTinc=e.tinc===!0,this.personaRegply=e.regply===!0,this.personaHasTeamMerge=e.hasTeamMerge===!0,this.personaSiteAdmin=e.siteAdmin===!0}catch{this.personaHQ=!1,this.personaTinc=!1,this.personaRegply=!1,this.personaHasTeamMerge=!1,this.personaSiteAdmin=!1}this.canSeeHQTools&&(this.loadShopStatus(),this.loadSiteOptions())}ngOnDestroy(){this._unsubscribeAll.next(!0),this._unsubscribeAll.complete()}go(e,l,o,r,I,Ge,Ye,Je,Ke,Xe,Ze,$e,et,tt){let nt=e==="hq"?"performHQSystemTools":"performRegplySystemTools";this.loading=!0,this.ngxLoader.startLoader("loader-systemTools"),this.api.post("Support/"+nt+"/"+l+"/"+o+"/"+r+"/"+I+"/"+Ge+"/"+Ye+"/"+Je+"/"+Ke+"/"+Xe+"/"+Ze+"/"+$e+"/"+et+"/"+tt,{},!0).pipe(w(this._unsubscribeAll)).subscribe({next:Q=>{this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools"),this.notify.openToaster(l+" Completed")},error:Q=>{this.notify.openAlertModal(Q.error?Q.error:"An error has occured",T.ERROR),this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools")}})}updateSite4PersonPersonID="";updateSite4PersonSite="";updateSite4PersonAssociation="";siteOptions=[];siteOptionsAssociations=[];siteOptionsCanChooseAssociation=!1;siteOptionsLoading=!1;siteOptionsError="";moveResult=null;get sitesForAssociation(){return this.updateSite4PersonAssociation?this.siteOptions.filter(e=>e.association===this.updateSite4PersonAssociation):this.siteOptions}get moveStatusShown(){return this.siteOptionsLoading||!this.siteOptionsError&&this.sitesForAssociation.length===0||!!this.moveResult}photoOutcome(e){return e==="moved"?"moved":e==="notFound"?"not found in storage":"none on file"}loadSiteOptions(){this.siteOptionsLoading=!0,this.siteOptionsError="",this.api.get("Support/personSiteOptions",!0).pipe(w(this._unsubscribeAll)).subscribe({next:e=>{this.siteOptions=e?.sites||[],this.siteOptionsAssociations=e?.associations||[],this.siteOptionsCanChooseAssociation=e?.canCh
1ooseAssociation===!0,this.updateSite4PersonAssociation=e?.association||this.siteOptionsAssociations[0]||"",this.siteOptionsLoading=!1},error:e=>{this.siteOptionsError=e.error?e.error:"We could not load the list of sites.",this.siteOptionsLoading=!1}})}onMoveAssociationChange(){this.updateSite4PersonSite="",this.moveResult=null}updateSite4Person(){let e=(this.updateSite4PersonPersonID||"").trim(),l=(this.updateSite4PersonSite||"").trim();if(!e||!l){this.notify.openAlertModal("Enter the Person ID and pick the site to move them to.",T.ERROR);return}this.loading=!0,this.moveResult=null,this.ngxLoader.startLoader("loader-systemTools"),this.api.post("Support/updateSite4Person/"+encodeURIComponent(e)+"/"+encodeURIComponent(l),{},!0).pipe(w(this._unsubscribeAll)).subscribe({next:o=>{this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools"),this.moveResult=o,this.notify.openToaster("Site changed")},error:o=>{this.notify.openAlertModal(o.error?o.error:"An error has occured",T.ERROR),this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools")}})}setDirectorEventID="";setDirectorPersonID="";setEventDirector(){let e=(this.setDirectorEventID||"").trim(),l=(this.setDirectorPersonID||"").trim();if(!e||!l){this.notify.openAlertModal("Enter both the Event ID and the new director's Person ID.",T.ERROR);return}this.loading=!0,this.ngxLoader.startLoader("loader-systemTools"),this.api.post("Support/setEventDirector/"+encodeURIComponent(e)+"/"+encodeURIComponent(l),{},!0).pipe(w(this._unsubscribeAll)).subscribe({next:o=>{this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools"),this.notify.openToaster("Event director updated")},error:o=>{this.notify.openAlertModal(o.error?o.error:"An error has occured",T.ERROR),this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools")}})}markAsValidEmail="";markEmailAsValid(){let e=(this.markAsValidEmail||"").trim();if(!e){this.notify.openAlertModal("Email is required",T.ERROR);return}this.loading=!0,this.ngxLoader.startLoader("loader-systemTools"),this.api.post("Support/markAsValid",{email:e},!0).pipe(w(this._unsubscribeAll)).subscribe({next:l=>{this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools"),this.notify.openToaster("Mark Email As Valid Completed")},error:l=>{this.notify.openAlertModal(l.error?l.error:"An error has occured",T.ERROR),this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools")}})}bulkPaymentOverrideChargeID="";setBulkPaymentOverride(){let e=(this.bulkPaymentOverrideChargeID||"").trim();if(!e){this.notify.openAlertModal("Charge ID is required",T.ERROR);return}this.loading=!0,this.ngxLoader.startLoader("loader-systemTools"),this.api.post("ACH/setBulkPaymentOverride/"+encodeURIComponent(e),{},!0).pipe(w(this._unsubscribeAll)).subscribe({next:l=>{this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools"),this.notify.openToaster("Set Bulk Payment Override Completed")},error:l=>{this.notify.openAlertModal(l.error?l.error:"An error has occured",T.ERROR),this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools")}})}aagSeasons=this.buildSeasons();aagSeason=String(new Date().getFullYear());aagDownloading=!1;buildSeasons(){let e=new Date().getFullYear();return[String(e+1),String(e),String(e-1),String(e-2)]}downloadAagPhotoPack(){!this.aagSeason||this.aagDownloading||(this.aagDownloading=!0,this.loading=!0,this.ngxLoader.startLoader("loader-systemTools"),this.api.get4Blob("Support/aagPhotoPack/"+this.aagSeason,!0).pipe(w(this._unsubscribeAll)).subscribe({next:e=>{(0,Ue.saveAs)(e,"AAG_PhotoPack_"+this.aagSeason+".zip"),this.aagDownloading=!1,this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools"),this.notify.openToaster("Photo pack downloaded")},error:e=>{this.aagDownloading=!1,this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools"),e?.error instanceof Blob?e.error.text().then(l=>{this.notify.openAlertModal(l||"We could not build the photo pack. Please try again in a moment.",T.ERROR)}):this.notify.openAlertModal("We could not build the photo pack. Please try again in a moment.",T.ERROR)}}))}shopEnabled=!1;shopStatusLoading=!1;shopStatusError="";shopSaving=!1;applyShopStatus(e){this.shopEnabled=e?.enabled===!0}
1loadShopStatus(){this.shopStatusLoading=!0,this.shopStatusError="",this.api.get("Shop/admin/siteEnabled",!0).pipe(w(this._unsubscribeAll)).subscribe({next:e=>{this.applyShopStatus(e),this.shopStatusLoading=!1},error:e=>{this.shopStatusError=e.error?e.error:"We could not check whether the shop is on.",this.shopStatusLoading=!1}})}onShopEnabledChange(e){this.shopSaving=!0,this.api.post("Shop/admin/setSiteEnabled/"+e,{},!0).pipe(w(this._unsubscribeAll)).subscribe({next:l=>{this.applyShopStatus(l),this.shopSaving=!1,this.notify.openToaster(this.shopEnabled?"Shop turned on for this site":"Shop turned off for this site")},error:l=>{this.shopEnabled=!e,this.shopSaving=!1,this.notify.openAlertModal(l.error?l.error:"We could not change the shop status.",T.ERROR)}})}runDuplicateBackgroundCheckLookout(){this.loading=!0,this.ngxLoader.startLoader("loader-systemTools"),this.api.get("Support/lookoutDuplicateBackgroundChecks",!0).pipe(w(this._unsubscribeAll)).subscribe({next:e=>{this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools"),this.dialog.open(qe,{width:"92vw",maxWidth:"1200px",data:e||{windowDays:7,personCount:0,orderCount:0,people:[]}})},error:e=>{this.notify.openAlertModal(e.error?e.error:"An error has occured",T.ERROR),this.loading=!1,this.ngxLoader.stopLoader("loader-systemTools")}})}static \u0275fac=function(l){return new(l||a)(E(Te),E(Ee),E(ve),E(we),E(pe))};static \u0275cmp=k({type:a,selectors:[["systemTools"]],decls:6,vars:4,consts:[["loaderId","loader-systemTools",3,"fgsSize"],["id","systemTools","fusePerfectScrollbar","",1,"page-layout","simple","fullwidth"],["title","System Tools","matIcon","build",3,"hideBanner"],[1,"content","p-24"],[1,"st-denied"],[1,"st-denied-icon"],[1,"st-denied-title"],[1,"st-denied-sub"],[1,"st-section"],[1,"st-future"],[1,"st-section-header","st-section-hq"],[1,"st-section-title"],[1,"st-section-sub"],[1,"st-grid"],[1,"st-card","st-live"],[1,"st-card"],[1,"st-card","st-warn"],[1,"st-card","st-info"],[1,"st-card-head"],[1,"st-card-id"],[1,"st-card-titles"],[1,"st-card-title"],[1,"st-card-sub"],[1,"st-tag","st-tag-live"],[1,"st-dot"],[1,"st-card-body"],[1,"st-form"],["appearance","outline",1,"st-field"],["matInput","","name","moveAllEventsFromTeamID",3,"ngModelChange","ngModel"],["matInput","","name","moveAllEventsToTeamID",3,"ngModelChange","ngModel"],[1,"st-card-foot"],["mat-flat-button","","color","primary",1,"st-go",3,"click"],["matInput","","name","moveOneEventFromTeamID",3,"ngModelChange","ngModel"],["matInput","","name","moveOneEventToTeamID",3,"ngModelChange","ngModel"],["matInput","","name","moveOneEventDivisionID",3,"ngModelChange","ngModel"],["name","aagSeason",3,"ngModelChange","ngModel"],[3,"value"],["mat-flat-button","","color","primary",1,"st-go",3,"click","disabled"],["aria-live","polite",1,"st-shop-state"],["role","alert",1,"st-shop-state","st-shop-error"],["name","shopEnabledToggle",3,"ngModelChange","change","ngModel","disabled"],[1,"st-tag","st-tag-warn"],["matInput","","name","updateSite4PersonPersonID",3,"ngModelChange","ngModel"],["appearance","outline",1,"st-field","st-field-wide"],["name","updateSite4PersonSite",3,"ngModelChange","ngModel","disabled"],["mat-flat-button","","color","primary",1,"st-go"],["mat-flat-button","","color","primary",1,"st-go",3,"disabled"],["name","updateSite4PersonAssociation",3,"ngModelChange","selectionChange","ngModel"],[1,"st-tag","st-tag-info"],["matInput","","name","markAsValidEmail",3,"ngModelChange","ngModel"],["matInput","","name","setDirectorEventID",3,"ngModelChange","ngModel"],["matInput","","name","setDirectorPersonID",3,"ngModelChange","ngModel"],[1,"st-section-header","st-section-tinc"],["matInput","","name","scheduleFeePaidEventID",3,"ngModelChange","ngModel"],["matInput","","name","scheduleFeePaymentID",3,"ngModelChange","ngModel"],["matInput","","name","scheduleFeeCreditEventID",3,"ngModelChange","ngModel"],["matInput","","name","scheduleFeeCreditValue","type","number","min","0",3,"ngModelChange","ngModel"],["matInput","","name","personaCopyFromPersonID",3,"ngModelChange","ngModel"],["matInput","","name","personaCopyToPersonID",3,"ngModelChange","ngModel"],["matInput","","name","compliancePlayerID",3,"ngModelChange","ngModel"],["matInput","","name","complianceSite",3,"ngModelChange","ngModel"],["matInput","","name","outOfMemorySite",3,"ngModelChange","ngModel"],["matInput","","name","gameIntervalsEventID",3,"ngModelChange","ngModel"],["matInput","","name","gameIntervalsNewIntValue",3,"ngModelChange","ngModel"],["matInput","","name","bulkPaymentOverrideChargeID",3,"ngModelChange","ngModel"],[1,"st-future-header"],[1,"st-future-list"]],template:function(l,o){l&1&&(C(0,"ngx-ui-loader",0),n(1,"div",1),C(2,"page-header",2),n(3,"div",3),x(4,At,7,0,"div",4),x(5,mn,4,4),t()()),l&2&&(S("fgsSize",75),s(2),S("hideBanner",!0),s(2),f(o.hasAccess?-1:4),s(),f(o.hasAccess?5:-1))},dependencies:[B,de,le,te,re,ne,ie,se,ae,oe,Me,ye,ke,xe,he,Ce,Se,fe,H,F,z,N,W,De,be,Pe,Ie,Oe,Le],styles:["#systemTools[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{width:100%;min-height:800px;overflow-x:hidden}#systemTools[_ngcontent-%COMP%]   .st-denied[_ngcontent-%COMP%]{background:#fff;border:1px solid #fee2e2;border-left:4px solid #ef4444;border-radius:14px;padding:36px 32px;margin-top:16px;box-shadow:0 1px 3px #1a22330a,0 8px 24px #1a22330a;text-align:center}#systemTools[_ngcontent-%COMP%]   .st-denied[_ngcontent-%COMP%]   .st-denied-icon[_ngcontent-%COMP%]{font-size:40px;width:40px;height:40px;color:#ef4444;margin-bottom:8px}#systemTools[_ngcontent-%COMP%]   .st-denied[_ngcontent-%COMP%]   .st-denied-title[_ngcontent-%COMP%]{font-size:20px;font-weight:700;
1color:#1a2233;margin-bottom:6px}#systemTools[_ngcontent-%COMP%]   .st-denied[_ngcontent-%COMP%]   .st-denied-sub[_ngcontent-%COMP%]{font-size:14px;color:#6b7689;max-width:520px;margin:0 auto;line-height:1.5}#systemTools[_ngcontent-%COMP%]   .st-notice[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:12px;background:#fff8e8;border:1px solid #fde6a8;border-radius:12px;padding:14px 18px;margin-bottom:24px;color:#6b4e0a}#systemTools[_ngcontent-%COMP%]   .st-notice[_ngcontent-%COMP%]   .st-notice-icon[_ngcontent-%COMP%]{color:#f59e0b;flex-shrink:0;margin-top:2px}#systemTools[_ngcontent-%COMP%]   .st-notice[_ngcontent-%COMP%]   .st-notice-text[_ngcontent-%COMP%]{font-size:14px;line-height:1.5}#systemTools[_ngcontent-%COMP%]   .st-notice[_ngcontent-%COMP%]   .st-notice-text[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:#463207}#systemTools[_ngcontent-%COMP%]   .st-section[_ngcontent-%COMP%]{margin-bottom:32px}#systemTools[_ngcontent-%COMP%]   .st-section-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 18px;border-radius:12px;margin-bottom:16px;color:#fff}#systemTools[_ngcontent-%COMP%]   .st-section-header[_ngcontent-%COMP%]   .st-section-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700}#systemTools[_ngcontent-%COMP%]   .st-section-header[_ngcontent-%COMP%]   .st-section-title[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:22px;width:22px;height:22px}#systemTools[_ngcontent-%COMP%]   .st-section-header[_ngcontent-%COMP%]   .st-section-sub[_ngcontent-%COMP%]{font-size:13px;opacity:.92}#systemTools[_ngcontent-%COMP%]   .st-section-hq[_ngcontent-%COMP%]{background:linear-gradient(135deg,#4a6cf7,#6d8bff);box-shadow:0 6px 16px #4a6cf738}#systemTools[_ngcontent-%COMP%]   .st-section-tinc[_ngcontent-%COMP%]{background:linear-gradient(135deg,#f59e0b,#fbbf24);box-shadow:0 6px 16px #f59e0b38}#systemTools[_ngcontent-%COMP%]   .st-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:16px}#systemTools[_ngcontent-%COMP%]   .st-card[_ngcontent-%COMP%]{background:#fff;border:1px solid #eef1f5;border-radius:14px;box-shadow:0 1px 3px #1a22330a,0 8px 24px #1a22330a;display:flex;flex-direction:column;overflow:hidden;transition:box-shadow .2s,transform .15s;border-left:4px solid #cbd5e1}#systemTools[_ngcontent-%COMP%]   .st-card[_ngcontent-%COMP%]:hover{box-shadow:0 4px 8px #1a22330f,0 12px 32px #1a223314;transform:translateY(-1px)}#systemTools[_ngcontent-%COMP%]   .st-card.st-live[_ngcontent-%COMP%]{border-left-color:#10b981}#systemTools[_ngcontent-%COMP%]   .st-card.st-info[_ngcontent-%COMP%]{border-left-color:#3b82f6}#systemTools[_ngcontent-%COMP%]   .st-card.st-warn[_ngcontent-%COMP%]{border-left-color:#f97316}#systemTools[_ngcontent-%COMP%]   .st-card-head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:12px;padding:16px 18px 12px;border-bottom:1px solid #f1f4f8}#systemTools[_ngcontent-%COMP%]   .st-card-id[_ngcontent-%COMP%]{flex-shrink:0;width:40px;height:40px;border-radius:10px;background:#f1f5fb;
1color:#1a2233;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;letter-spacing:.02em}#systemTools[_ngcontent-%COMP%]   .st-card-titles[_ngcontent-%COMP%]{flex:1;min-width:0}#systemTools[_ngcontent-%COMP%]   .st-card-title[_ngcontent-%COMP%]{font-size:15px;font-weight:600;color:#1a2233;line-height:1.35}#systemTools[_ngcontent-%COMP%]   .st-card-sub[_ngcontent-%COMP%]{margin-top:4px;font-size:12.5px;color:#6b7689;line-height:1.4}#systemTools[_ngcontent-%COMP%]   .st-card-body[_ngcontent-%COMP%]{padding:14px 18px 4px;flex:1}#systemTools[_ngcontent-%COMP%]   .st-card-foot[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:0 18px 16px}#systemTools[_ngcontent-%COMP%]   .st-form[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}#systemTools[_ngcontent-%COMP%]   .st-form[_ngcontent-%COMP%]   .st-field[_ngcontent-%COMP%]{width:100%}#systemTools[_ngcontent-%COMP%]   .st-form[_ngcontent-%COMP%]   .st-field-wide[_ngcontent-%COMP%]{grid-column:1/-1}#systemTools[_ngcontent-%COMP%]   .st-form[_ngcontent-%COMP%]     .mat-mdc-form-field-subscript-wrapper{height:0}#systemTools[_ngcontent-%COMP%]   .st-shop-state[_ngcontent-%COMP%]{margin-top:8px;padding-bottom:10px;font-size:12.5px;line-height:1.4;color:#6b7689}#systemTools[_ngcontent-%COMP%]   .st-state-quiet[_ngcontent-%COMP%]{margin-top:0;padding-bottom:0}#systemTools[_ngcontent-%COMP%]   .st-shop-error[_ngcontent-%COMP%]{font-weight:600;color:#b91c1c}#systemTools[_ngcontent-%COMP%]   .st-go[_ngcontent-%COMP%]{border-radius:10px!important;height:38px;padding:0 18px!important;font-weight:600!important;font-size:13px!important}#systemTools[_ngcontent-%COMP%]   .st-go[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;margin-right:4px}#systemTools[_ngcontent-%COMP%]   .st-tag[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:20px;font-size:11.5px;font-weight:600;flex-shrink:0;line-height:1;height:22px}#systemTools[_ngcontent-%COMP%]   .st-dot[_ngcontent-%COMP%]{width:6px;height:6px;border-radius:50%;flex-shrink:0}#systemTools[_ngcontent-%COMP%]   .st-tag-live[_ngcontent-%COMP%]{background:#ecfdf5;color:#059669}#systemTools[_ngcontent-%COMP%]   .st-tag-live[_ngcontent-%COMP%]   .st-dot[_ngcontent-%COMP%]{background:#10b981}
1#systemTools[_ngcontent-%COMP%]   .st-tag-dev[_ngcontent-%COMP%]{background:#f3f4f6;color:#6b7280}#systemTools[_ngcontent-%COMP%]   .st-tag-dev[_ngcontent-%COMP%]   .st-dot[_ngcontent-%COMP%]{background:#9ca3af}#systemTools[_ngcontent-%COMP%]   .st-tag-info[_ngcontent-%COMP%]{background:#eff6ff;color:#2563eb}#systemTools[_ngcontent-%COMP%]   .st-tag-info[_ngcontent-%COMP%]   .st-dot[_ngcontent-%COMP%]{background:#3b82f6}#systemTools[_ngcontent-%COMP%]   .st-tag-warn[_ngcontent-%COMP%]{background:#fff7ed;color:#c2410c}#systemTools[_ngcontent-%COMP%]   .st-tag-warn[_ngcontent-%COMP%]   .st-dot[_ngcontent-%COMP%]{background:#f97316}#systemTools[_ngcontent-%COMP%]   .st-future[_ngcontent-%COMP%]{background:#f8f9fb;border:1px dashed #d6dbe4;border-radius:12px;padding:18px 22px;margin-top:24px}#systemTools[_ngcontent-%COMP%]   .st-future[_ngcontent-%COMP%]   .st-future-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#5c6980;margin-bottom:8px}#systemTools[_ngcontent-%COMP%]   .st-future[_ngcontent-%COMP%]   .st-future-header[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#f59e0b;font-size:18px;width:18px;height:18px}#systemTools[_ngcontent-%COMP%]   .st-future[_ngcontent-%COMP%]   .st-future-list[_ngcontent-%COMP%]{margin:0;padding-left:22px;color:#6b7689;font-size:13.5px;line-height:1.6}@media screen and (max-width:600px){#systemTools[_ngcontent-%COMP%]   .st-grid[_ngcontent-%COMP%], #systemTools[_ngcontent-%COMP%]   .st-form[_ngcontent-%COMP%]{grid-template-columns:1fr}#systemTools[_ngcontent-%COMP%]   .st-section-header[_ngcontent-%COMP%]{padding:10px 14px}#systemTools[_ngcontent-%COMP%]   .st-section-header[_ngcontent-%COMP%]   .st-section-title[_ngcontent-%COMP%]{font-size:15px}#systemTools[_ngcontent-%COMP%]   .st-section-header[_ngcontent-%COMP%]   .st-section-sub[_ngcontent-%COMP%]{font-size:12px}}"]})}return a})();export{Qn as SystemToolsComponent};

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.