PageSourceSearch

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

js usasoftballofvirginia.com collected 2026-09-28 18:59:46 UTC 12,307 bytes, 2 lines download raw bytes

1import{a as Ce}from"./chunk-MNJI6Q4E.js";import{a as fe}from"./chunk-AHP6CBJJ.js";import{b as ie,c as oe,d as re,f as ae,g as le,i as me,j as pe,l as ce,m as de,o as se,q as ue}from"./chunk-IRVXRWZD.js";import{b as ne}from"./chunk-H3ZOHFO7.js";import"./chunk-CIKJJUSN.js";import"./chunk-RRZRS5BZ.js";import"./chunk-LY7WOQZN.js";import"./chunk-MS4AQ6UA.js";import{b as ee,d as te}from"./chunk-N7NZ2FMU.js";import{f as Z}from"./chunk-F2TSTV3I.js";import"./chunk-XRMXGMS4.js";import"./chunk-Q4V6AKYI.js";import"./chunk-T3PLPHIG.js";import"./chunk-2JW6ZMWV.js";import"./chunk-NIP74ZKI.js";import"./chunk-QNUNLKYK.js";import{a as x,r as X}from"./chunk-RE4JJFV5.js";import"./chunk-COEKBYWO.js";import"./chunk-E2K2LIS4.js";import{a as Q}from"./chunk-KJKRX6VS.js";import"./chunk-2CRWMDGS.js";import"./chunk-4WMDX4SQ.js";import"./chunk-IQLKO45Z.js";import"./chunk-V6KBZVCY.js";import"./chunk-6FQQM4CE.js";import{a as Y,i as q,j as G}from"./chunk-VTTO24NQ.js";import"./chunk-Y5VOXWTF.js";import{n as U,q as V}from"./chunk-YWHNFDXQ.js";import"./chunk-FCTHY2PU.js";import"./chunk-DPVJW3LI.js";import"./chunk-GW33KQPR.js";import{T as J,U as K}from"./chunk-TUEKBDZZ.js";import"./chunk-RLPOKPIS.js";import"./chunk-TPES7EAS.js";import{G as j,h as N,m as W}from"./chunk-QXJM3TTT.js";import{B as z,F as L}from"./chunk-TMOIAHHX.js";import{$a as D,Fa as f,Ib as o,Jb as p,Kb as F,Rb as A,Sb as H,Tb as $,Wa as T,Xa as O,_a as k,ab as s,bb as n,cb as i,db as h,ga as l,hb as _,ib as g,kb as B,mc as c,nc as d,o as E,p as I,qb as M,sa as S,tb as C,za as P}from"./chunk-DJNWGYMM.js";import{S as v,ea as R,f as w}from"./chunk-VOZAGDK7.js";import{h as ge}from"./chunk-E5QWB6YB.js";var he=ge(Ce());var be=(e,r)=>r.value;function Me(e,r){if(e&1&&(n(0,"mat-option",8),o(1),i()),e&2){let t=r.$implicit;s("value",t.value),l(),p(t.label)}}function xe(e,r){e&1&&h(0,"rp-state",11)}function ye(e,r){if(e&1){let t=B();n(0,"rp-state",12)(1,"button",14),M("click",function(){E(t);let a=C();return I(a.load())}),o(2,"Try again"),i()()}if(e&2){let t=C();s("body",t.loadError)}}function ve(e,r){if(e&1&&h(0,"rp-state",13),e&2){let t=C();s("title","Nothing reported in "+t.monthLabel)}}function Re(e,r){e&1&&(n(0,"th",35),o(1,"Site"),i())}function Se(e,r){if(e&1&&(n(0,"td",36),o(1),i()),e&2){let t=r.$implicit;l(),p(t.site)}}function we(e,r){e&1&&(n(0,"th",37),o(1,"People"),i())}function Ee(e,r){if(e&1&&(n(0,"td",38),o(1),c(2,"number"),i()),e&2){let t=r.$implicit;l(),p(d(2,1,t.people))}}function Ie(e,r){e&1&&(n(0,"th",37),o(1,"Bulk upload"),i())}function Pe(e,r){if(e&1&&(n(0,"td",39),o(1),c(2,"number"),i()),e&2){let t=r.$implicit;l(),p(d(2,1,t.bulk))}}function Te(e,r){e&1&&(n(0,"th",37),o(1,"Teams"),i())}function Oe(e,r){if(e&1&&(n(0,"td",40),o(1),c(2,"number"),i()),e&2){let t=r.$implicit;l(),p(d(2,1,t.teams))}}function ke(e,r){e&1&&(n(0,"th",37),o(1,"Total"),i())}function De(e,r){if(e&1&&(n(0,"td",41),o(1),c(2,"number"),i()),e&2){let t=r.$implicit;l(),p(d(2,1,t.total))}}function Be(e,r){e&1&&h(0,"tr",42)}function Fe(e,r){e&1&&h(0,"tr",43)}function Ae(e,r){if(e&1&&(n(0,"section",15)(1,"div",16)(2,"div",17),o(3,"Total"),i(),n(4,"div",18),o(5),c(6,"number"),i()(),n(7,"div",16)(8,"div",17),o(9,"People on rosters"),i(),n(10,"div",18),o(11),c(12,"number"),i()(),n(13,"div",16)(14,"div",17),o(15,"People bulk-uploaded"),i(),n(16,"div",18),o(17),c(18,"number"),i()(),n(19,"div",16)(20,"div",17),o(21,"Teams"),i(),n(22,"div",18),o(23),c(24,"number"),i()(),n(25,"div",16)(26,"div",17),o(27,"Sites"),i(),n(28,"div",18),o(29),c(30,"number"),i()()(),n(31,"div",19)(32,"table",20),_(33,21),f(34,Re,2,0,"th",22)(35,Se,2,1,"td",23),g(),_(36,24),f(37,we,2,0,"th",25)(38,Ee,3,3,"td",26),g(),_(39,27),f(40,Ie,2,0,"th",25)(41,Pe,3,3,"td",28),g(),_(42,29),f(43,Te,2,0,"th",25)(44,Oe,3,3,"td",30),g(),_(45,31),f(46,ke,2,0,"th",25)(47,De,3,3,"td",32),g(),f(48,Be,1,0,"tr",33)(49,Fe,1,0,"tr",34),i()()),e&2){let t=C();l(5),p(d(6,8,t.summary.total)),l(6),p(d(12,10,t.summary.people)),l(6),p(d(18,12,t.summary.bulk)),l(6),p(d(24,14,t.summary.teams)),l(6),p(d(30,16,t.summary.sites.length)),l(3),s("dataSource",t.summary.sites),l(16),s("matHeaderRowDef",t.columns),l(),s("matRowDefColumns",t.columns)}}var ot=(()=>{class e{api;notify;columns=["site","people","bulk","teams","total"];months=[];month="";summary=null;loading=!1;loadError="";exporting=!1;unsubscribeAll=new w;constructor(t,m){this.api=t,this.notify=m;let a=new Date,b=new Intl.DateTimeFormat("en-US",{month:"long",year:"numeric"});for(let u=1;u<=12;u++){let y=new Date(a.getFullYear(),a.getMonth()-u,1),_e=`${y.getFullYear()}-${`${y.getMonth()+1}`.padStart(2,"0")}`;this.months.push({value:_e,label:b.format(y)})}this.month=this.months[0].value}ngOnInit(){this.load()}ngOnDestroy(){this.unsubscribeAll.next(),this.unsubscribeAll.complete()}get monthLabel(){return this.months.find(t=>t.value===this.month)?.label||this.month}load(){let t=this.month;this.loading=!0,this.loadError="",this.api.get("TeamSupport/insuranceMonthlyReport/"+t,!0).pipe(R(this.unsubscribeAll),v(()=>{t===this.month&&(this.loading=!1)})).subscribe({next:m=>{t===this.month&&(this.summary=m)},error:m=>{t===this.month&&(this.summary=null,this.loadError=typeof m?.error=="string"&&m.error.trim()&&!m.error.includes(`
2`)?m.error:"We could not load the report for this month. Please try again.")}})}exportExcel(){this.exporting||!this.month||(this.exporting=!0,this.api.get4Blob("TeamSupport/insuranceMonthlyReport/"+this.month+"/xlsx",!0).pipe(R(this.unsubscribeAll),v(()=>this.exporting=!1)).subscribe({next:t=>(0,he.saveAs)(t,"insurance-report-"+this.month+".xlsx"),error:t=>{let m="We could not create the Excel file. Please try again in a moment.";if(t?.error instanceof Blob){t.error.text().then(a=>this.notify.openAlertModal(a||m,x.ERROR)).catch(()=>this.notify.openAlertModal(m,x.ERROR));return}this.notify.openAlertModal(typeof t?.error=="string"&&t.error?t.error:m,x.ERROR)}}))}static \u0275fac=function(m){return new(m||e)(S(Q),S(X))};static \u0275cmp=P({type:e,selectors:[["app-insurance-monthly-report"]],decls:23,vars:5,consts:[["id","insuranceMonthlyReport",1,"page-layout","simple","fullwidth"],["title","Monthly Insurance Reconciliation Report","matIcon","policy",3,"hideBanner"],[1,"content","p-24"],[1,"month-card","rpui-card"],[1,"month-card__picker"],[1,"rpui-eyebrow"],["appearance","outline","subscriptSizing","dynamic"],["name","reportMonth",3,"ngModelChange","ngModel"],[3,"value"],[1,"rpui-hint"],["mat-flat-button","","color","primary","type","button",1,"month-card__action","rpui-focusable",3,"click","disabled"],["mode","loading","body","Loa
2ding the month's registrations"],["mode","error",3,"body"],["mode","empty","icon","policy","body","No registrations were sent to Fortress in this month. Pick another month.",3,"title"],["mat-stroked-button","","type","button",1,"rpui-focusable",3,"click"],["aria-live","polite","aria-label","Month totals",1,"metrics"],[1,"metric"],[1,"metric__caption"],[1,"metric__value"],[1,"rpui-table-wrap","rpui-table-stack"],["mat-table","",3,"dataSource"],["matColumnDef","site"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","data-label","Site",4,"matCellDef"],["matColumnDef","people"],["mat-header-cell","","class","rpui-num",4,"matHeaderCellDef"],["mat-cell","","class","rpui-num","data-label","People",4,"matCellDef"],["matColumnDef","bulk"],["mat-cell","","class","rpui-num","data-label","Bulk upload",4,"matCellDef"],["matColumnDef","teams"],["mat-cell","","class","rpui-num","data-label","Teams",4,"matCellDef"],["matColumnDef","total"],["mat-cell","","class","rpui-num","data-label","Total",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","","data-label","Site"],["mat-header-cell","",1,"rpui-num"],["mat-cell","","data-label","People",1,"rpui-num"],["mat-cell","","data-label","Bulk upload",1,"rpui-num"],["mat-cell","","data-label","Teams",1,"rpui-num"],["mat-cell","","data-label","Total",1,"rpui-num"],["mat-header-row",""],["mat-row",""]],template:function(m,a){m&1&&(n(0,"div",0),h(1,"page-header",1),n(2,"main",2)(3,"section",3)(4,"div",4)(5,"div",5),o(6,"Report month"),i(),n(7,"mat-form-field",6)(8,"mat-label"),o(9,"Month"),i(),n(10,"mat-select",7),$("ngModelChange",function(u){return H(a.month,u)||(a.month=u),u}),M("ngModelChange",function(){return a.load()}),k(11,Me,2,2,"mat-option",8,be),i()(),n(13,"p",9),o(14,"Registrations reported to Fortress in this month, by the date Fortress recorded them (UTC). Export the file and send it to Fortress for reconciliation."),i()(),n(15,"button",10),M("click",function(){return a.exportExcel()}),n(16,"mat-icon"),o(17,"download"),i(),o(18),i()(),T(19,xe,1,0,"rp-state",11)(20,ye,3,1,"rp-state",12)(21,ve,1,1,"rp-state",13)(22,Ae,50,18),i()()),m&2&&(l(),s("hideBanner",!0),l(9),A("ngModel",a.month),l(),D(a.months),l(4),s("disabled",a.exporting||a.loading||!a.summary||a.summary.total===0),l(3),F(" ",a.exporting?"Preparing file\u2026":"Export to Excel"," "),l(),O(a.loading?19:a.loadError?20:a.summary&&a.summary.total===0?21:a.summary?22:-1))},dependencies:[L,j,N,W,ne,V,U,G,q,Y,K,J,te,ee,Z,ue,ie,re,pe,ae,oe,ce,le,me,de,se,fe,z],styles:["[_ngcontent-%COMP%]:root{--rp-navy-900: #10243f;--rp-navy-800: #143b67;--rp-navy-700: #1a3668;--rp-navy-600: #244f7e;--rp-text: #122033;--rp-text-muted: #64798c;--rp-text-subtle: #667085;--rp-divider: #dce5ee;--rp-divider-soft: #e8edf3;--rp-border-control: #8792a5;--rp-surface: #ffffff;--rp-surface-tint: #f2f7fc;--rp-surface-head: #eef2f6;--rp-surface-sunken: #f7f9fc;--rp-ok-bg: #eaf6ea;--rp-ok-border: #7fb583;--rp-ok-fg: #2e7d32;--rp-warn-bg: #fff3e0;--rp-warn-border: #c9922f;--rp-warn-fg: #9a4a00;--rp-danger-bg: #ffebee;--rp-danger-border: #d97b7b;--rp-danger-fg: #c62828;--rp-info-bg: #eef2fb;--rp-info-border: #8fa6cf;--rp-info-fg: #244f7e;--rp-neutral-bg: #f1f3f6;--rp-neutral-border: #9aa4b2;--rp-neutral-fg: #5a6b7d;--rp-gold-bg: #fdf6e3;--rp-gold-ring: #d4a531;--rp-gold-fg: #6b4700;--rp-silver-bg: #f1f3f6;--rp-silver-ring: #9ba5b1;--rp-silver-fg: #48535f;--rp-bronze-bg: #f8ede6;--rp-bronze-ring: #c4855f;--rp-bronze-fg: #6e3b1d;--rp-focus-ring: #244f7e;--rp-radius-control: 6px;--rp-radius-card: 8px;--rp-radius-row: 10px;--rp-radius-panel: 16px;--rp-shadow-card: 0 1px 3px rgba(15, 31, 53, .05);--rp-shadow-panel: 0 1px 3px rgba(15, 31, 53, .04), 0 8px 32px rgba(15, 31, 53, .07)}#insuranceMonthlyReport[_ngcontent-%COMP%], #insuranceMonthlyReport[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{width:100%}#insuranceMonthlyReport[_ngcontent-%COMP%]   .month-card[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}#insuranceMonthlyReport[_ngcontent-%COMP%]   .month-card__picker[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;min-width:0}#insuranceMonthlyReport[_ngcontent-%COMP%]   .month-card__picker[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:240px;max-width:100%}#insuranceMonthlyReport[_ngcontent-%COMP%]   .month-card__action[_ngcontent-%COMP%]{flex:0 0 auto}#insuranceMonthlyReport[_ngcontent-%COMP%]   .metrics[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:#dce5ee;border:1px solid #dce5ee;border-radius:8px;overflow:hidden;margin-bottom:24px}#insuranceMonthlyReport[_ngcontent-%COMP%]   .metric[_ngcontent-%COMP%]{background:#fff;padding:16px 18px}#insuranceMonthlyReport[_ngcontent-%COMP%]   .metric__caption[_ngcontent-%COMP%]{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#64798c}#insuranceMonthlyReport[_ngcontent-%COMP%]   .metric__value[_ngcontent-%COMP%]{margin-top:4px;font-size:24px;font-weight:700;color:#10243f;font-variant-numeric:tabular-nums}@media screen and (max-width:959px){#insuranceMonthlyReport[_ngcontent-%COMP%]   .metrics[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media screen and (max-width:599px){#insuranceMonthlyReport[_ngcontent-%COMP%]   .month-card[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}#insuranceMonthlyReport[_ngcontent-%COMP%]   .month-card__action[_ngcontent-%COMP%]{width:100%}#insuranceMonthlyReport[_ngcontent-%COMP%]   .metrics[_ngcontent-%COMP%]{grid-template-columns:minmax(0,1fr)}}"]})}return e})();export{ot as InsuranceMonthlyReportComponent};

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.