PageSourceSearch

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

js usasoftballofvirginia.com collected 2026-09-28 18:58:39 UTC 123,957 bytes, 1 lines download raw bytes

1import{a as Et,b as wt,c as Q,d as Ft,e as Tt}from"./chunk-XFTQIVNH.js";import{a as Ot}from"./chunk-3VUQLEAX.js";import{b as vt,d as bt,f as Mt,g as Pt,j as St}from"./chunk-MIXYX7LR.js";import{a as ht}from"./chunk-CK4TFXED.js";import"./chunk-TFHCQGNH.js";import{a as It}from"./chunk-I2CWBCWA.js";import{a as Rt}from"./chunk-MNJI6Q4E.js";import{a as $,b as xt}from"./chunk-DKZQI3JZ.js";import{c as _t,d as ft,e as Ct}from"./chunk-UR5J6BCV.js";import{b as tt}from"./chunk-RGJQHTQG.js";import{a as ut}from"./chunk-6NUBY5FT.js";import{a as gt}from"./chunk-CXPCPPOI.js";import{b as nt,c as it,d as ot,f as at,g as rt,i as lt,j as dt,l as ct,m as st,o as mt,q as pt}from"./chunk-IRVXRWZD.js";import{a as Ye,b as je}from"./chunk-UAHJPPOQ.js";import"./chunk-PVDG46DZ.js";import"./chunk-GS37RU6G.js";import{a as Ue}from"./chunk-MJHKSL2V.js";import{d as Fe,e as Te,g as Be}from"./chunk-OASEBQL4.js";import{a as Ie,b as Re}from"./chunk-AMHTXUJN.js";import{a as He,b as Ge,c as Qe,d as Ze,f as Je,g as Xe,k as Ke}from"./chunk-DBB3PKOU.js";import{b as et}from"./chunk-H3ZOHFO7.js";import"./chunk-CIKJJUSN.js";import"./chunk-RRZRS5BZ.js";import"./chunk-LY7WOQZN.js";import{b as qe}from"./chunk-VG7OHNZN.js";import"./chunk-MS4AQ6UA.js";import{b as We,c as Le,d as $e}from"./chunk-N7NZ2FMU.js";import{f as Ne}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{c as be}from"./chunk-V46ZQKC5.js";import"./chunk-QNUNLKYK.js";import{c as ze,d as Ae}from"./chunk-YPNUJAUO.js";import{r as De}from"./chunk-RE4JJFV5.js";import{f as Ce}from"./chunk-COEKBYWO.js";import"./chunk-E2K2LIS4.js";import{a as Ve}from"./chunk-KJKRX6VS.js";import"./chunk-2CRWMDGS.js";import{a as ye,b as ke}from"./chunk-4WMDX4SQ.js";import"./chunk-IQLKO45Z.js";import"./chunk-V6KBZVCY.js";import"./chunk-6FQQM4CE.js";import{a as Me,c as Pe,i as Se,j as Oe}from"./chunk-VTTO24NQ.js";import"./chunk-Y5VOXWTF.js";import{l as xe,n as he,q as ve}from"./chunk-YWHNFDXQ.js";import"./chunk-FCTHY2PU.js";import"./chunk-DPVJW3LI.js";import"./chunk-GW33KQPR.js";import{T as Ee,U as we,x as fe}from"./chunk-TUEKBDZZ.js";import"./chunk-RLPOKPIS.js";import"./chunk-TPES7EAS.js";import{G as ue,H as _e,h as pe,m as ge}from"./chunk-QXJM3TTT.js";import{B as se,F as me,k as ce}from"./chunk-TMOIAHHX.js";import{$a as I,Db as ne,Fa as E,Fb as U,Hb as ie,Hc as de,Ib as i,Jb as S,Kb as b,Lb as W,Rb as oe,Sb as ae,Tb as re,Wa as g,Xa as u,Za as V,_a as k,ab as v,bb as n,cb as e,cc as L,db as m,ga as l,hb as R,ib as F,kb as P,mc as H,nc as G,o as f,p as C,qb as h,rc as le,sa as w,tb as s,xb as z,yb as A,za as te,zb as q}from"./chunk-DJNWGYMM.js";import{L as K,Q as ee,ea as B,f as N}from"./chunk-VOZAGDK7.js";import{f as kt,h as X,j as D}from"./chunk-E5QWB6YB.js";var Y=kt((Ei,Bt)=>{Bt.exports=[{id:"500",name:"Youth Insurance"},{id:"6",name:"Adult Liability Insurance"},{id:"7",name:"Adult Accidental Insurance"}]});var Z=X(It()),J=X(Rt());var Vt=["fileInput"],Dt=["stepper"],zt=["validationPaginator"],At=["fieldInfoTemplate"],yt=()=>["index","mappedField","excelColumn","sampleData"],qt=()=>[10,25,50],Ut=(a,d)=>d.season;function Nt(a,d){if(a&1&&(n(0,"span"),i(1),e()),a&2){let t=s(2);l(),b("(",t.isStepCompleted(t.WorkflowStep.Upload)?"Completed":"In Progress",")")}}function Wt(a,d){if(a&1&&(i(0,"Upload Excel File "),g(1,Nt,2,1,"span")),a&2){let t=s();l(),u(t.currentStep===t.WorkflowStep.Upload?1:-1)}}function Lt(a,d){if(a&1&&(n(0,"span"),i(1),e()),a&2){let t=s(2);l(),b("(",t.isStepCompleted(t.WorkflowStep.Mapping)?"Completed":"In Progress",")")}}function $t(a,d){if(a&1&&(i(0,"Map Fields "),g(1,Lt,2,1,"span")),a&2){let t=s();l(),u(t.currentStep===t.WorkflowStep.Mapping?1:-1)}}function Yt(a,d){a&1&&i(0,"Validate Data")}function jt(a,d){a&1&&i(0,"Calculate Invoice")}function Ht(a,d){a&1&&i(0,"Payment")}function Gt(a,d){a&1&&i(0,"Confirmation")}function Qt(a,d){a&1&&(n(0,"mat-icon",16),i(1,"check_circle"),e())}function Zt(a,d){if(a&1&&(n(0,"span"),i(1),e()),a&2){let t=d.index;l(),S(t+1)}}function Jt(a,d){if(a&1){let t=P();n(0,"div",21)(1,"mat-icon"),i(2,"error"),e(),i(3," We couldn't load the seasons that are open for upload. Check your connection and try again. "),n(4,"button",22),h("click",function(){f(t);let o=s(2);return C(o.loadSeasons())}),i(5," Retry "),e()()}}function Xt(a,d){a&1&&(n(0,"div",21)(1,"mat-icon"),i(2,"error"),e(),i(3," No seasons are open for bulk upload. Contact RegisterPlay support at [email protected]. "),e())}function Kt(a,d){a&1&&(n(0,"span",29),i(1,"Historical"),e())}function en(a,d){if(a&1&&(n(0,"mat-option",25),i(1),g(2,Kt,2,0,"span",29),e()),a&2){let t=d.$implicit;v("value",t.season),l(),b(" ",t.season," "),l(),u(t.active?-1:2)}}function tn(a,d){a&1&&(n(0,"mat-hint"),i(1,"Loading seasons\u2026"),e())}function nn(a,d){a&1&&(n(0,"mat-hint"),i(1,"Start over to change the season."),e())}function on(a,d){a&1&&(n(0,"div",27)(1,"mat-icon"),i(2,"warning"),e(),n(3,"span"),i(4,"Make sure you picked the right season. If you pick the wrong one and it is not detected in time, you might need to "),n(5,"strong"),i(6,"PAY SAME REGISTRATIONS AGAIN!"),e()()())}function an(a,d){if(a&1&&(n(0,"div",28)(1,"mat-icon"),i(2,"history"),e(),n(3,"span"),i(4),e()()),a&2){let t=s(3);l(4),b("",t.selectedSeason," is closed. This upload is for historical records \u2014 National Office prices are $0 for HQ; RP fees apply.")}}function rn(a,d){if(a&1){let t=P();n(0,"mat-form-field",23)(1,"mat-label"),i(2,"Season"),e(),n(3,"mat-select",24),re("ngModelChange",function(o){f(t);let c=s(2);return ae(c.selectedSeason,o)||(c.selectedSeason=o),C(o)}),n(4,"mat-select-trigger"),i(5),e(),k(6,en,3,3,"mat-option",25,Ut),e(),g(8,tn,2,0,"mat-hint")(9,nn,2,0,"mat-hint"),e(),n(10,"p",26),i(11,"Pricing and created records follow the selected season"),e(),g(12,on,7,0,"div",27),g(13,an,5,1,"div",28)}if(a&2){let t=s(2);l(3),oe("ngModel",t.selectedSeason),v("disabled",t.seasonLocked||t.seasonsLoading),l(2),S(t.selectedSeason),l(),I(t.seasonOptions),l(2),u(t.seasonsLoading?8:t.seasonLocked?9:-1),l(4),u(t.seasonOptions.length===2&&t.selectedSeason?12:-1),l(),u(t.selectedSeasonInactive?13:-1)}}function ln(a,d){if(a&1){let t=P();n(0,"div")(1,"h3"),i(2,"Drag and drop your Excel file here"),e(),n(3,"p"),i(4,"or"),e(),n(5,"button",38),h("click",function(){f(t),s();let o=ne(12);return C(o.click())}),i(6," Choose File "),e(),n(7,"p",39),i(8,"Supports .xlsx files up to 50MB"),e()()}
1if(a&2){let t=s(3);l(5),v("disabled",!t.selectedSeason)}}function dn(a,d){if(a&1&&(n(0,"span"),i(1),H(2,"number"),H(3,"number"),e()),a&2){let t=s(5);l(),W(" ",G(2,2,t.importProgress.currentRow)," / ",G(3,4,t.importProgress.totalRows)," rows ")}}function cn(a,d){if(a&1&&(n(0,"div",41)(1,"p"),i(2),e(),m(3,"mat-progress-bar",42),n(4,"p",43),g(5,dn,4,6,"span"),i(6),e()()),a&2){let t=s(4);l(2),S(t.importProgress.message),l(),v("value",t.importProgress.percentage),l(2),u(t.importProgress.phase==="processing"?5:-1),l(),b(" ",t.importProgress.percentage,"% complete ")}}function sn(a,d){a&1&&(n(0,"p",41),i(1,"Processing Excel file..."),e())}function mn(a,d){if(a&1&&(n(0,"div",34),m(1,"mat-spinner",40),g(2,cn,7,4,"div",41)(3,sn,2,0,"p",41),e()),a&2){let t=s(3);l(2),u(t.importProgress?2:3)}}function pn(a,d){if(a&1&&(n(0,"div",35)(1,"span",44),i(2,"check_circle"),e(),n(3,"p",45),i(4,"File uploaded successfully!"),e(),n(5,"h4"),i(6),e(),n(7,"p"),i(8),e()()),a&2){let t=s(3);l(6),S(t.uploadedFile.name),l(2),W("",(t.uploadedFile.size/1024/1024).toFixed(2)," MB \u2014 ",t.uploadedFileRowCount," rows")}}function gn(a,d){if(a&1){let t=P();n(0,"div",37)(1,"mat-icon"),i(2,"error"),e(),i(3),n(4,"button",22),h("click",function(){f(t);let o=s(3);return C(o.resetWorkflow())}),i(5," Try Again "),e()()}if(a&2){let t=s(3);l(3),b(" ",t.uploadError," ")}}function un(a,d){if(a&1){let t=P();n(0,"div",30)(1,"button",31),h("click",function(){f(t);let o=s(2);return C(o.downloadTemplate())}),n(2,"mat-icon"),i(3,"download"),e(),i(4," Download Excel Template "),e(),n(5,"p",32),i(6,"Download this template to ensure your data is in the correct format"),e()(),n(7,"div",33),h("drop",function(o){f(t);let c=s(2);return C(c.onFileDrop(o))})("dragover",function(o){f(t);let c=s(2);return C(c.onDragOver(o))})("dragleave",function(o){f(t);let c=s(2);return C(c.onDragLeave(o))}),g(8,ln,9,1,"div"),g(9,mn,4,1,"div",34),g(10,pn,9,3,"div",35),n(11,"input",36,2),h("change",function(o){f(t);let c=s(2);return C(c.onFileSelected(o))}),e()(),g(13,gn,6,1,"div",37)}if(a&2){let t=s(2);l(7),U("dragover",!1)("disabled",!t.selectedSeason),l(),u(!t.uploadedFile&&!t.isProcessing?8:-1),l(),u(t.isProcessing?9:-1),l(),u(t.uploadedFile&&!t.isProcessing?10:-1),l(3),u(t.uploadError?13:-1)}}function _n(a,d){if(a&1){let t=P();n(0,"mat-card-footer")(1,"div",46)(2,"button",47),h("click",function(){f(t);let o=s(2);return C(o.proceedToMapping())}),i(3," Next: Map Fields "),n(4,"mat-icon"),i(5,"arrow_forward"),e()()()()}}function fn(a,d){if(a&1&&(n(0,"div",15)(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title",17)(4,"mat-icon"),i(5,"cloud_upload"),e(),i(6," UPLOAD IR REGISTRATION EXCEL FILE "),e(),n(7,"mat-card-subtitle"),i(8,"Upload your individual registration data file"),e()(),n(9,"mat-card-content")(10,"div",18)(11,"div",19),i(12,"Season for the Upload "),n(13,"span",20),i(14,"*"),e()(),g(15,Jt,6,0,"div",21)(16,Xt,4,0,"div",21)(17,rn,14,6),e(),g(18,un,14,8),e(),g(19,_n,6,0,"mat-card-footer"),e()()),a&2){let t=s();l(15),u(t.seasonsError?15:!t.seasonsLoading&&t.seasonOptions.length===0?16:17),l(3),u(t.seasonsUnavailable?-1:18),l(),u(t.uploadedFile&&!t.isProcessing&&!t.uploadError?19:-1)}}function Cn(a,d){if(a&1&&(n(0,"li",72),i(1),e()),a&2){let t=d.$implicit,r=s(3);l(),b(" ",r.getFieldDisplayName(t)," ")}}function xn(a,d){if(a&1&&(n(0,"div",48)(1,"div",66)(2,"mat-icon",67),i(3,"warning"),e(),n(4,"h3",68),i(5,"Required Fields Not Mapped"),e()(),n(6,"div",69)(7,"p",70),i(8," The following required fields must be mapped to Excel columns before you can proceed with validation: "),e(),n(9,"ul",71),k(10,Cn,2,1,"li",72,V),e()()()),a&2){let t=s(2);l(10),I(t.unmappedRequiredFields)}}function hn(a,d){a&1&&(n(0,"th",73),i(1,"Column #"),e())}function vn(a,d){if(a&1&&(n(0,"td",74),i(1),e()),a&2){let t=d.index;l(),b(" ",t+1," ")}}function bn(a,d){a&1&&(n(0,"th",75),i(1,"Column in Excel"),e())}function Mn(a,d){if(a&1&&(n(0,"td",74),i(1),e()),a&2){let t=d.$implicit;l(),b(" ",t.excelColumn," ")}}function Pn(a,d){if(a&1){let t=P();n(0,"th",76),i(1,"Field to Import "),n(2,"span",77),h("click",function(){f(t);let o=s(2);return C(o.openFieldInfo("mapping-help"))}),i(3," info "),e()()}}function Sn(a,d){a&1&&(n(0,"span",83),i(1,"check_box"),e())}function On(a,d){a&1&&(n(0,"span",84),i(1," emergency "),e())}function En(a,d){if(a&1&&(n(0,"mat-option",82)(1,"span",81),g(2,Sn,2,0,"span",83),i(3),g(4,On,2,0,"span",84),e()()),a&2){let t=d.$implicit,r=s().index,o=s(2);v("value",t.key)("disabled",o.isFieldMappedToAnotherColumn(t.key,r)),l(2),u(t.mapped?2:-1),l(),b(" ",t.label," "),l(),u(t.required&&!t.mapped?4:-1)}}function wn(a,d){if(a&1){let t=P();n(0,"td",78)(1,"mat-form-field",79)(2,"mat-label"),i(3,"Select field..."),e(),n(4,"mat-select",80),h("selectionChange",function(o){let c=f(t).index,p=s(2);return C(p.onFieldMappingChange(c,o.value))}),n(5,"mat-select-trigger"),i(6),e(),n(7,"mat-option",25)(8,"span",81)(9,"mat-icon"),i(10,"block"),e(),i(11," Ignore Column "),e()(),k(12,En,5,5,"mat-option",82,V),e()()()}if(a&2){let t=d.$implicit,r=s(2);l(4),v("value",t.isIgnored?r.ignoreColumnValue:t.mappedField),l(2),S(t.isIgnored?"Ignore Column":r.getFieldDisplayName(t.mappedField)),l(),v("value",r.ignoreColumnValue),l(5),I(r.requiredFields)}}function yn(a,d){if(a&1){let t=P();n(0,"th",85),i(1,"Sample Data "),n(2,"span",77),h("click",function(){f(t);let o=s(2);return C(o.openFieldInfo("sample-help"))}),i(3," info "),e()()}}function kn(a,d){if(a&1&&(n(0,"td",86)(1,"span",87),i(2),m(3,"br"),i(4),m(5,"br"),i(6),e()()),a&2){let t=d.$implicit,r=s(2);l(2),b(" ",(r.rawData[0]==null?null:r.rawData[0][t.excelColumn])??"No data"," "),l(2),b(" ",(r.rawData[1]==null?null:r.rawData[1][t.excelColumn])??""),l(2),b(" ",(r.rawData[2]==null?null:r.rawData[2][t.excelColumn])??""," ")}}function In(a,d){a&1&&m(0,"tr",88)}function Rn(a,d){if(a&1&&m(0,"tr",89),a&2){let t=d.$implicit;v("ngClass",t.mappedField?"mapped-row":"unmapped-row")}}function Fn(a,d){if(a&1){let t=P();n(0,"div",15)(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title",17)(4,"mat-icon"),i(5,"swap_horiz"),e(),i(6," MAP EXCEL COLUMNS TO REQUIRED FIELDS "),e(),n(7,"mat-card-subtitle"),i(8," Map your Excel columns to the required registration fields "),e()(),n(9,"mat-card-content"),g(10,xn,12,0,"div",48),n(11,"div",49)(12,"table",50),R(13,51),E(14,hn,2,0,"th",52)(15,vn,2,1,"td",53),F(),R(16,54),E(17,bn,2,0,"th",55)(18,Mn,2,1,"td",53),F(),R(19,56),E(20,Pn,4,0,"th",57)(21,wn,14,3,"td",58),F(),R(22,59),E(23,yn,4,0,"th",60)(24,kn,7,3,"td",61),F(),E(25,In,1,0,"tr",62)(26,Rn,1,1,"tr",63),e()()(),n(27,"mat-card-footer")(28,"div",46)(29,"button",64),h("click",function(){f(t);let o=s();return C(o.resetWorkflow())}),n(30,"mat-icon"),i(31,"refresh"),e(),i(32," Start Over "),e(),n(33,"button",65),h("click",function(){f(t);let o=s();return C(o.proceedToValidation())}),i(34," Next: Validate Data "),n(35,"mat-icon"),i(36,"arrow_forward"),e()()()()()()}if(a&2){let t=s();l(10),u(t.unmappedRequiredFields.length>0?10:-1),l(2),v("dataSource",t.fieldMappings),l(13),v("matHeaderRowDef",L(5,yt)),l(),v("matRowDefColumns",L(6,yt)),l(7),v("disabled",!t.canProceedFromMapping())}}function Tn(a,d){a&1&&(n(0,"th",110),i(1,"Remove"),e())}function Bn(a,d){if(a&1){let t=P();n(0,"td",111)(1,"span",112),h("click",function(){let o=f(t).$implicit,c=s(3);return C(c.deleteRow(o))}),i(2,"delete"),e()()}}function Vn(a,d){a&1&&(n(0,"th",110),i(1,"Status"),e())}function Dn(a,d){a&1&&(n(0,"span",113),i(1,"error"),e())}function zn(a,d){a&1&&(n(0,"span",114),i(1,"warning"),e())}function An(a,d){a&1&&(n(0,"span",115),i(1,"check_circle"),e())}function qn(a,d){if(a&1&&(n(0,"td",111),g(1,Dn,2,0,"span",113)(2,zn,2,0,"span",114)(3,An,2,0,"span",115),e()),a&2){let t=d.$implicit;l(),u(t._errors&&t._errors.length>0?1:t._warnings&&t._warnings.length>0?2:3)}}function Un(a,d){a&1&&(n(0,"span",119),i(1," *"),e())}function Nn(a,d){if(a&1){let t=P();n(0,"span",121),h("click",function(){f(t);let o=s(2).$implicit,c=s(3);return C(c.openFieldInfo(o))}),i(1," info "),e()}}function Wn(a,d){if(a&1&&(n(0,"th",118),i(1),g(2,Un,2,0,"span",119),g(3,Nn,2,0,"span",120),e()),a&2){let t=s().$implicit,r=s(3);l(),b(" ",r.getFieldDisplayName(t)," "),l(),u(r.isRequiredField(t)?2:-1),l(),u(r.shouldShowTooltip(t)?3:-1)}}function Ln(a,d){if(a&1&&(n(0,"mat-hint",124),i(1),e()),a&2){let t=s().$implicit,r=s().$implicit,o=s(3);l(),S(o.getFieldErrorMessage(t,r))}}function $n(a,d){if(a&1){let t=P();n(0,"td",78)(1,"mat-form-field",122)(2,"input",123),h("input",function(o){let c=f(t).index,p=s().$implicit,x=s(3);return C(x.onCellValueChange(c,p,o))}),e(),g(3,Ln,2,1,"mat-hint",124),e()()}
1if(a&2){let t=d.$implicit,r=s().$implicit,o=s(3);ie(o.getValidationCellClass(t,r)),l(2),U("error-input",o.hasFieldError(t,r))("required-input",o.isRequiredField(r)&&!t[r]),v("value",t[r]??"")("placeholder",o.getFieldPlaceholder(r)),l(),u(o.hasFieldError(t,r)?3:-1)}}function Yn(a,d){if(a&1&&(R(0,108),E(1,Wn,4,3,"th",116)(2,$n,4,9,"td",117),F()),a&2){let t=d.$implicit;v("matColumnDef",t)}}function jn(a,d){a&1&&m(0,"tr",88)}function Hn(a,d){if(a&1&&m(0,"tr",125),a&2){let t=d.$implicit,r=s(3);U("missing-required-row",r.hasMissingRequiredFields(t))}}function Gn(a,d){if(a&1&&(n(0,"div",99)(1,"table",103),R(2,104),E(3,Tn,2,0,"th",105)(4,Bn,3,0,"td",106),F(),R(5,107),E(6,Vn,2,0,"th",105)(7,qn,4,1,"td",106),F(),k(8,Yn,3,1,"ng-container",108,V),E(10,jn,1,0,"tr",62)(11,Hn,1,2,"tr",109),e()()),a&2){let t=s(2);l(),U("mat-elevation-z2",!0),v("dataSource",t.validationDataSource),l(7),I(t.allMappedColumns),l(2),v("matHeaderRowDef",t.validationDisplayedColumns),l(),v("matRowDefColumns",t.validationDisplayedColumns)}}function Qn(a,d){a&1&&(n(0,"div",101)(1,"mat-icon",126),i(2,"verified"),e(),n(3,"div",127),i(4,"All data validation passed!"),e(),n(5,"p",128),i(6,"All records have the required information and are ready to proceed."),e()())}function Zn(a,d){if(a&1){let t=P();n(0,"button",129),h("click",function(){f(t);let o=s(2);return C(o.removeBadRecords())}),n(1,"mat-icon"),i(2,"delete_sweep"),e(),i(3," Remove Invalid Records"),e()}}function Jn(a,d){if(a&1){let t=P();n(0,"div",15)(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title",17)(4,"mat-icon"),i(5,"fact_check"),e(),i(6," DATA VALIDATION "),e(),n(7,"mat-card-subtitle"),i(8," Review and resolve data issues before proceeding "),e()(),n(9,"mat-card-content")(10,"div",90)(11,"div",91)(12,"div",92)(13,"div",93)(14,"span",94),i(15),e()(),n(16,"div",95),i(17,"UPLOADED RECORDS"),e()(),n(18,"div",96)(19,"div",93)(20,"span",94),i(21),e()(),n(22,"div",95),i(23,"VALID RECORDS"),e()(),n(24,"div",97)(25,"div",93)(26,"span",94),i(27),e()(),n(28,"div",95),i(29,"RECORD ERRORS"),e()(),n(30,"div",98)(31,"div",93)(32,"span",94),i(33),e()(),n(34,"div",95),i(35,"RECORD WARNINGS"),e()()()(),g(36,Gn,12,5,"div",99),m(37,"mat-paginator",100,3),g(39,Qn,7,0,"div",101),e(),n(40,"mat-card-footer")(41,"div",46)(42,"button",64),h("click",function(){f(t);let o=s();return C(o.currentStep=o.WorkflowStep.Mapping)}),n(43,"mat-icon"),i(44,"arrow_back"),e(),i(45," Back to Mapping "),e(),g(46,Zn,4,0,"button",102),n(47,"button",65),h("click",function(){f(t);let o=s();return C(o.proceedToInvoice())}),i(48," Next: Calculate Invoice "),n(49,"mat-icon"),i(50,"arrow_forward"),e()()()()()()}if(a&2){let t=s();l(15),S(t.validationStats==null?null:t.validationStats.uploadedRowCount),l(6),S(t.validationStats==null?null:t.validationStats.validRowCount),l(6),S(t.validationStats==null?null:t.validationStats.errorCount),l(6),S(t.validationStats==null?null:t.validationStats.warningCount),l(3),u(t.initiallyHadIssues&&t.recordsWithIssues.length>0?36:-1),l(),v("pageSizeOptions",L(11,qt))("pageSize",10)("hidden",t.validationDataSource==null||t.validationDataSource.data.length===0),l(2),u(t.recordsWithIssues.length===0?39:-1),l(7),u((t.validationStats==null?null:t.validationStats.errorCount)>0||(t.validationStats==null?null:t.validationStats.warningCount)>0?46:-1),l(),v("disabled",!t.canProceedFromValidation())}}function Xn(a,d){a&1&&(n(0,"div",34),m(1,"mat-spinner",40),n(2,"p",131),i(3,"Calculating invoice..."),e()())}function Kn(a,d){if(a&1&&(n(0,"div",37)(1,"mat-icon"),i(2,"error"),e(),i(3),e()),a&2){let t=s(2);l(3),b(" ",t.invoiceError," ")}}function ei(a,d){if(a&1&&(n(0,"div",130)(1,"div",132)(2,"div",133)(3,"mat-icon"),i(4,"groups"),e(),i(5," Duplicate Records "),e(),n(6,"div",134)(7,"div",135)(8,"div",136),i(9),e()()()()()),a&2){let t=s(2);l(9),b("",t.invoiceCalculation.duplicateCount," records in this upload were previously processed!")}}function ti(a,d){if(a&1&&(n(0,"div",135)(1,"span",137),i(2),e(),n(3,"div",138),i(4),e()()),a&2){let t=d.$implicit;l(2),S(t.count),l(2),S(t.type)}}function ni(a,d){if(a&1&&(n(0,"div",139)(1,"span",137),i(2),e()()),a&2){let t=s(3);l(2),b("** ",t.invoiceCalculation.duplicateCount," duplicate records were removed from the dataset")}}function ii(a,d){if(a&1&&(n(0,"div",143)(1,"div",145),i(2),n(3,"div",147),i(4),e()(),n(5,"div",146),i(6),e()()),a&2){let t=d.$implicit;l(2),b(" ",t.type," "),l(2),W("",t.count," \xD7 $",t.unitPrice.toFixed(2)),l(2),b("$",(t.count*t.unitPrice).toFixed(2))}}function oi(a,d){if(a&1&&(n(0,"div",143)(1,"div",145),i(2,"Processing Fee - Credit Card"),e(),n(3,"div",146),i(4),e()()),a&2){let t=s(3);l(4),b("$",t.invoiceCalculation.paymentFees.creditCardFee.toFixed(2))}}function ai(a,d){if(a&1&&(n(0,"div",143)(1,"div",145),i(2,"Processing Fee - ACH"),e(),n(3,"div",146),i(4),e()()),a&2){let t=s(3);l(4),b("$",t.invoiceCalculation.paymentFees.achFee.toFixed(2))}}function ri(a,d){if(a&1&&(n(0,"div",130)(1,"div",132)(2,"div",133)(3,"mat-icon"),i(4,"groups"),e(),i(5," Registration Summary "),e(),n(6,"div",134)(7,"div",135)(8,"span",137),i(9),e(),n(10,"div",138),i(11,"Season"),e()(),k(12,ti,5,2,"div",135,V),n(14,"div",135)(15,"span",137),i(16),e(),n(17,"div",138),i(18),e()()(),g(19,ni,3,1,"div",139),e(),n(20,"div",140)(21,"div",141)(22,"h3")(23,"mat-icon"),i(24,"receipt"),e(),i(25," Cost Breakdown "),e()(),n(26,"div",142),k(27,ii,7,4,"div",143,V),g(29,oi,5,1,"div",143),g(30,ai,5,1,"div",143),n(31,"div",144)(32,"div",145),i(33,"Total with ACH Payment"),e(),n(34,"div",146),i(35),e()(),n(36,"div",144)(37,"div",145),i(38,"Total with Credit Card Payment"),e(),n(39,"div",146),i(40),e()()()()()),a&2){let t=s(2);l(9),S(t.invoiceCalculation.season),l(3),I(t.invoiceCalculation.items),l(4),S(t.invoiceCalculation.teamCount),l(2),S(t.invoiceCalculation.teamCount===1?"Team":"Teams"),l(),u((t.invoiceCalculation==null?null:t.invoiceCalculation.duplicateCount)>0?19:-1),l(8),I(t.invoiceCalculation.items),l(2),u(t.invoiceCalculation.paymentFees.creditCardFee>0?29:-1),l(),u(t.invoiceCalculation.paymentFees.achFee>0?30:-1),l(5),b("$",t.invoiceCalculation.totalACH.toFixed(2)),l(5),b("$",t.invoiceCalculation.totalCreditCard.toFixed(2))}}function li(a,d){if(a&1){let t=P();n(0,"mat-card-footer")(1,"div",46)(2,"button",64),h("click",function(){f(t);let o=s(2);return C(o.currentStep=o.WorkflowStep.Validation)}),n(3,"mat-icon"),i(4,"arrow_back"),e(),i(5," Back to Validation "),e(),n(6,"button",47),h("click",function(){f(t);let o=s(2);return C(o.proceedToInvoice())}),i(7," Try Again "),n(8,"mat-icon"),i(9,"refresh"),e()(),n(10,"button",64),h("click",function(){f(t);let o=s(2);return C(o.resetWorkflow())}),n(11,"mat-icon"),i(12,"refresh"),e(),i(13," Start Over "),e()()()}}function di(a,d){if(a&1){let t=P();n(0,"div",46)(1,"button",64),h("click",function(){f(t);let o=s(3);return C(o.currentStep=o.WorkflowStep.Validation)}),n(2,"mat-icon"),i(3,"arrow_back"),e(),i(4," Back to Validation "),e(),n(5,"button",47),h("click",function(){f(t);let o=s(3);return C(o.proceedToPayment())}),i(6," Next: Payment "),n(7,"mat-icon"),i(8,"arrow_forward"),e()()()}}function ci(a,d){if(a&1){let t=P();n(0,"div",46)(1,"button",64),h("click",function(){f(t);let o=s(3);return C(o.resetWorkflow())}),n(2,"mat-icon"),i(3,"refresh"),e(),i(4," Start Over "),e()()}}function si(a,d){if(a&1&&(n(0,"mat-card-footer"),g(1,di,9,0,"div",46),g(2,ci,5,0,"div",46),e()),a&2){let t=s(2);l(),u((t.invoiceCalculation==null||t.invoiceCalculation.items==null?null:t.invoiceCalculation.items.length)>0?1:-1),l(),u((t.invoiceCalculation==null||t.invoiceCalculation.items==null?null:t.invoiceCalculation.items.length)===0?2:-1)}}function mi(a,d){if(a&1&&(n(0,"div",15)(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title")(4,"mat-icon"),i(5,"receipt"),e(),i(6," Invoice Preview "),e(),n(7,"mat-card-subtitle"),i(8," Review registration costs and totals "),e()(),n(9,"mat-card-content"),g(10,Xn,4,0,"div",34),g(11,Kn,4,1,"div",37),g(12,ei,10,1,"div",130),g(13,ri,41,8,"div",130),e(),g(14,li,14,0,"mat-card-footer"),g(15,si,3,2,"mat-card-footer"),e()()),a&2){let t=s();l(10),u(t.isCalculatingInvoice?10:-1),l(),u(!t.isCalculatingInvoice&&t.invoiceError?11:-1),l(),u(!t.isCalculatingInvoice&&t.invoiceCalculation&&(t.invoiceCalculation==null||t.invoiceCalculation.items==null?null:t.invoiceCalculation.items.length)===0?12:-1),l(),u(!t.isCalculatingInvoice&&t.invoiceCalculation&&(t.invoiceCalculation==null||t.invoiceCalculation.items==null?null:t.invoiceCalculation.items.length)>0?13:-1),l(),u(!t.isCalculatingInvoice&&t.invoiceError?14:-1),l(),u(!t.isCalculatingInvoice&&t.invoiceCalculation?15:-1)}}function pi(a,d){if(a&1){let t=P();n(0,"div",148)(1,"mat-tab-group")(2,"mat-tab",150)(3,"div",151)(4,"div",152)(5,"mat-icon",153),i(6,"paid"),e(),n(7,"h3",133),i(8,"Payment Summary \u2014 ACH"),e(),n(9,"p",154),i(10,"Secure payment processing"),e()(),n(11,"div",155)(12,"div",156),i(13,"Total Amount Due"),e(),n(14,"div",157),i(15),e()()(),n(16,"div",158)(17,"div",159)(18,"h4",160)(19,"mat-icon"),i(20,"account_balance"),e(),i(21," Pay with ACH "),e(),n(22,"p",161),i(23,"Your bank information is handled by "),n(24,"b"),i(25,"Stripe"),e(),i(26," and is "),n(27,"b")(28,"u"),i(29,"not stored"),e()(),i(30," on our servers."),e()(),n(31,"tinc-ach",162),h("paymentCallBack",function(o){f(t);let c=s(2);return C(c.createCharge(o,"ach"))}),e()()(),n(32,"mat-tab",163)(33,"div",151)(34,"div",152)(35,"mat-icon",153),i(36,"paid"),e(),n(37,"h3",133),i(38,"Payment Summary \u2014 Credit Card"),e(),n(39,"p",154),i(40,"Secure payment processing"),e()(),n(41,"div",155)(42,"div",156),i(43,"Total Amount Due"),e(),n(44,"div",157),i(45),e()()(),n(46,"div",158)(47,"div",159)(48,"h4",160)(49,"mat-icon"),i(50,"credit_card"),e(),i(51," Pay with Credit Card "),e(),n(52,"p",161),i(53,"Your card 
1information is handled by "),n(54,"b"),i(55,"Stripe"),e(),i(56," and is "),n(57,"b")(58,"u"),i(59,"not stored"),e()(),i(60," on our servers."),e()(),n(61,"tinc-stripe",164),h("paymentCallBack",function(o){f(t);let c=s(2);return C(c.createCharge(o,"card"))}),e()()()()()}if(a&2){let t=s(2);l(15),b("$",t.invoiceCalculation.totalACH.toFixed(2)),l(16),v("amount",t.invoiceCalculation.totalACH*100)("stripeAccountID",t.invoiceCalculation.stripeAccountID)("loading",t.isProcessingPayment)("buttonDisabled",t.isProcessingPayment)("fullView",!0),l(14),b("$",t.invoiceCalculation.totalCreditCard.toFixed(2)),l(16),v("amount",t.invoiceCalculation.totalCreditCard*100)("cards",t.invoiceCalculation.cards)("loading",t.isProcessingPayment)("buttonDisabled",t.isProcessingPayment)("fullView",!0)}}function gi(a,d){if(a&1){let t=P();n(0,"div",15)(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title")(4,"mat-icon"),i(5,"payment"),e(),i(6," Payment "),e(),n(7,"mat-card-subtitle"),i(8," Complete your registration payment "),e()(),n(9,"mat-card-content"),g(10,pi,62,12,"div",148),e(),n(11,"mat-card-footer")(12,"div",46)(13,"button",149),h("click",function(){f(t);let o=s();return C(o.currentStep=o.WorkflowStep.Invoice)}),n(14,"mat-icon"),i(15,"arrow_back"),e(),i(16," Back to Invoice "),e()()()()()}if(a&2){let t=s();l(10),u(t.invoiceCalculation?10:-1),l(3),v("disabled",t.isProcessingPayment)}}function ui(a,d){a&1&&(n(0,"p",45),i(1,"Registrations will be processed when the ACH payment is cleared. You will receive an email confirmation when the payment is completed or fails."),e())}function _i(a,d){if(a&1&&(n(0,"div",168)(1,"div",152)(2,"h3",133)(3,"mat-icon"),i(4,"summarize"),e(),i(5," Registration Summary "),e()(),n(6,"div",171)(7,"div",134)(8,"div",135)(9,"span",137),i(10),e(),n(11,"div",138),i(12,"Registrations"),e()(),n(13,"div",135)(14,"span",137),i(15),e(),n(16,"div",138),i(17),e()()(),n(18,"div",172)(19,"div",173)(20,"span",174),i(21,"Season"),e(),n(22,"span",175),i(23),e()(),n(24,"div",173)(25,"span",174),i(26,"Payment Amount"),e(),n(27,"span",176),i(28),e()(),n(29,"div",173)(30,"span",174),i(31,"Service Fee"),e(),n(32,"span",176),i(33),e()(),n(34,"div",173)(35,"span",174),i(36,"Payment Status"),e(),n(37,"span",177),i(38),e()()()()()),a&2){let t=s(2);l(10),S(t.validationStats==null?null:t.validationStats.validRowCount),l(5),S((t.invoiceCalculation==null?null:t.invoiceCalculation.teamCount)||0),l(2),S(((t.invoiceCalculation==null?null:t.invoiceCalculation.teamCount)||0)===1?"Team":"Teams"),l(6),S(t.invoiceCalculation.season),l(5),b("$",t.invoiceCalculation.subTotal.toFixed(2)),l(5),b("$",t.paymentMethod=="card"?t.invoiceCalculation.paymentFees.creditCardFee.toFixed(2):t.invoiceCalculation.paymentFees.achFee.toFixed(2)),l(5),S(t.paymentMethod=="card"?"Completed":"Processing")}}function fi(a,d){if(a&1){let t=P();n(0,"div",15)(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title")(4,"mat-icon"),i(5,"check_circle"),e(),i(6," Import Completed "),e(),n(7,"mat-card-subtitle"),i(8," Your individual registrations have been submitted."),e()(),n(9,"mat-card-content")(10,"div",165)(11,"div",166)(12,"mat-icon",167),i(13,"verified"),e(),n(14,"div",127),i(15,"Success!"),e(),n(16,"p",45),i(17),e(),g(18,ui,2,0,"p",45),e(),g(19,_i,39,7,"div",168),n(20,"div",169)(21,"button",170),h("click",function(){f(t);let o=s();return C(o.resetWorkflow())}),i(22," Process Another File "),n(23,"mat-icon"),i(24,"sync"),e()()()()()()()}if(a&2){let t=s();l(17),b("",t.validationStats==null?null:t.validationStats.validRowCount," registrations have been submitted."),l(),u(t.paymentMethod=="ach"?18:-1),l(),u(t.invoiceCalculation?19:-1)}}function Ci(a,d){a&1&&(n(0,"span",182),i(1,"Required"),e())}function xi(a,d){if(a&1&&(n(0,"span",193),i(1),e()),a&2){let t=d.$implicit;l(),S(t.name!==void 0?t.name+": "+t.id:t)}}function hi(a,d){if(a&1&&(n(0,"div",191),i(1,"ALLOWED VALUES"),e(),n(2,"div",192),k(3,xi,2,1,"span",193,V),e()),a&2){let t=s(4);l(3),I(t.currentFieldInfo.allowedValues)}}function vi(a,d){a&1&&(n(0,"div")(1,"div",194),i(2,"YOUTH CLASS CODES"),e(),n(3,"table",195)(4,"tr")(5,"th",196),i(6,"BOYS"),e()(),n(7,"tr"),m(8,"th"),n(9,"th",197),i(10,"Unclassed"),e(),n(11,"th",197),i(12,"10/Under"),e(),n(13,"th",197),i(14,"12/Under"),e(),n(15,"th",197),i(16,"14/Under"),e(),n(17,"th",197),i(18,"16/Under"),e(),n(19,"th",197),i(20,"18/Under"),e()(),n(21,"tr")(22,"td",198),i(23,"Unclassed"),e(),n(24,"td",199),i(25,"40000"),e(),m(26,"td",200)(27,"td",200)(28,"td",200)(29,"td",200)(30,"td",200),e(),n(31,"tr")(32,"td",198),i(33,"Fast"),e(),n(34,"td",199),i(35,"40100"),e(),n(36,"td"),i(37,"40110"),e(),n(38,"td"),i(39,"40112"),e(),n(40,"td"),i(41,"40114"),e(),n(42,"td"),i(43,"40116"),e(),n(44,"td"),i(45,"40118"),e()(),n(46,"tr")(47,"td",198),i(48,"Slow"),e(),n(49,"td"),i(50,"40200"),e(),n(51,"td"),i(52,"40210"),e(),n(53,"td"),i(54,"40212"),e(),n(55,"td"),i(56,"40214"),e(),n(57,"td"),i(58,"40216"),e(),n(59,"td"),i(60,"40218"),e()(),n(61,"tr")(62,"td",198),i(63,"Baseball"),e(),n(64,"td"),i(65,"40900"),e(),n(66,"td"),i(67,"40910"),e(),n(68,"td"),i(69,"40912"),e(),n(70,"td"),i(71,"40914"),e(),n(72,"td"),i(73,"40916"),e(),n(74,"td"),i(75,"40918"),e()(),n(76,"tr")(77,"th",201),i(78,"GIRLS"),e()(),n(79,"tr"),m(80,"th"),n(81,"th"),i(82,"Unclassed"),e(),n(83,"th"),i(84,"10/Under"),e(),n(85,"th"),i(86,"12/Under"),e(),n(87,"th"),i(88,"14/Under"),e(),n(89,"th"),i(90,"16/Under"),e(),n(91,"th"),i(92,"18/Under"),e()(),n(93,"tr")(94,"td",198),i(95,"Unclassed"),e(),n(96,"td"),i(97,"50000"),e(),m(98,"td",200)(99,"td",200)(100,"td",200)(101,"td",200)(102,"td",200),e(),n(103,"tr")(104,"td",198),i(105,"Uncls Fast"),e(),n(106,"td"),i(107,"50100"),e(),n(108,"td"),i(109,"50110"),e(),n(110,"td"),i(111,"50112"),e(),n(112,"td"),i(113,"50114"),e(),n(114,"td"),i(115,"50116"),e(),n(116,"td"),i(117,"50118"),e()(),n(118,"tr")(119,"td",198),i(120,"Uncls Slow"),e(),n(121,"td"),i(122,"50200"),e(),n(123,"td"),i(124,"50210"),e(),n(125,"td"),i(126,"50212"),e(),n(127,"td"),i(128,"50214"),e(),n(129,"td"),i(130,"50216"),e(),n(131,"td"),i(132,"50218"),e()(),n(133,"tr")(134,"td",198),i(135,"Class A FP"),e(),m(136,"td",200),n(137,"td"),i(138,"53110"),e(),n(139,"td"),i(140,"53112"),e(),n(141,"td"),i(142,"53114"),e(),n(143,"td"),i(144,"53116"),e(),n(145,"td"),i(146,"53118"),e()(),n(147,"tr")(148,"td",198),i(149,"Class A SP"),e(),m(150,"td",200),n(151,"td"),i(152,"53210"),e(),n(153,"td"),i(154,"53212"),e(),n(155,"td"),i(156,"53214"),e(),n(157,"td"),i(158,"53216"),e(),n(159,"td"),i(160,"53218"),e()(),n(161,"tr")(162,"td",198),i(163,"Class B FP"),e(),m(164,"td",200),n(165,"td"),i(166,"54110"),e(),n(167,"td"),i(168,"54112"),e(),n(169,"td"),i(170,"54114"),e(),n(171,"td"),i(172,"54116"),e(),n(173,"td"),i(174,"54118"),e()(),n(175,"tr")(176,"td",198),i(177,"Class B SP"),e(),m(178,"td",200),n(179,"td"),i(180,"54210"),e(),n(181,"td"),i(182,"54212"),e(),n(183,"td"),i(184,"54214"),e(),n(185,"td"),i(186,"54216"),e(),n(187,"td"),i(188,"54218"),e()(),n(189,"tr")(190,"td",198),i(191,"Class C FP"),e(),m(192,"td",200),n(193,"td"),i(194,"55110"),e(),n(195,"td"),i(196,"55112"),e(),n(197,"td"),i(198,"55114"),e(),n(199,"td"),i(200,"55116"),e(),n(201,"td"),i(202,"55118"),e()(),n(203,"tr")(204,"td",198),i(205,"Class C SP"),e(),m(206,"td",200),n(207,"td"),i(208,"55210"),e(),n(209,"td"),i(210,"55212"),e(),n(211,"td"),i(212,"55214"),e(),n(213,"td"),i(214,"55216"),e(),n(215,"td"),i(216,"55218"),e()(),n(217,"tr")(218,"td",198),i(219,"Class D FP"),e(),m(220,"td",200),n(221,"td"),i(222,"56110"),e(),n(223,"td"),i(224,"56112"),e(),n(225,"td"),i(226,"56114"),e(),n(227,"td"),i(228,"56116"),e(),n(229,"td"),i(230,"56118"),e()(),n(231,"tr")(232,"td",198),i(233,"Class D SP"),e(),m(234,"td",200),n(235,"td"),i(236,"56210"),e(),n(237,"td"),i(238,"56212"),e(),n(239,"td"),i(240,"56214"),e(),n(241,"td"),i(242,"56216"),e(),n(243,"td"),i(244,"56218"),e()(),n(245,"tr")(246,"td",198),i(247,"Gold Fast"),e(),m(248,"td",200)(249,"td",200)(250,"td",200)(251,"td",200)(252,"td",200),n(253,"td"),i(254,"59118"),e()()(),n(255,"p",202),i(256," FP = Fast Pitch | SP = Slow Pitch "),e(),m(257,"hr",203),n(258,"div",194),i(259,"ADULT CLASS CODES"),e(),n(260,"table",195)(261,"tr")(262,"th",204),i(263,"MEN"),e()(),n(264,"tr"),m(265,"th"),n(266,"th"),i(267,"Unclassed"),e(),n(268,"th"),i(269,"Super"),e(),n(270,"th"),i(271,"Major"),e(),n(272,"th"),i(273,"Class A"),e(),n(274,"th"),i(275,"Class B"),e(),n(276,"th"),i(277,"Class C"),e(),n(278,"th"),i(279,"Class D"),e()(),n(280,"tr")(281,"td",198),i(282,"Unclassed"),e(),n(283,"td"),i(284,"10000"),e(),m(285,"td",200)(286,"td",200)(287,"td",200)(288,"td",200)(289,"td",200)(290,"td",200),e(),n(291,"tr")(292,"td",198),i(293,"Fast"),e(),n(294,"td"),i(295,"10100"),e(),m(296,"td",200),n(297,"td"),i(298,"12100"),e(),n(299,"td"),i(300,"13100"),e(),n(301,"td"),i(302,"14100"),e(),n(303,"td"),i(304,"15100"),e(),m(305,"td",200),e(),n(306,"tr")(307,"td",198),i(308,"Fast (23/U)"),e(),n(309,"td"),i(310,"10123"),e(),m(311,"td",200),n(312,"td"),i(313,"12123"),e(),n(314,"td"),i(315,"13123"),e(),n(316,"td"),i(317,"14123"),e(),n(318,"td"),i(319,"15123"),e(),m(320,"td",200),e(),n(321,"tr")(322,"td",198),i(323,"Slow"),e(),n(324,"td"),i(325,"10200"),e(),m(326,"td",200),n(327,"td"),i(328,"12200"),e(),n(329,"td"),i(330,"13200"),e(),n(331,"td"),i(332,"14200"),e(),n(333,"td"),i(334,"15200"),e(),n(335,"td"),i(336,"16200"),e()(),n(337,"tr")(338,"td",198),i(339,"Modified 9"),e(),n(340,"td"),i(341,"10300"),e(),m(342,"td",200),n(343,"td"),i(344,"12330"),e(
1),n(345,"td"),i(346,"13300"),e(),m(347,"td",200)(348,"td",200)(349,"td",200),e(),n(350,"tr")(351,"td",198),i(352,"Modified 10"),e(),n(353,"td"),i(354,"10400"),e(),m(355,"td",200)(356,"td",200)(357,"td",200)(358,"td",200)(359,"td",200)(360,"td",200),e(),n(361,"tr")(362,"td",198),i(363,"Industrial"),e(),n(364,"td"),i(365,"10500"),e(),m(366,"td",200)(367,"td",200)(368,"td",200)(369,"td",200)(370,"td",200)(371,"td",200),e(),n(372,"tr")(373,"td",198),i(374,"Church"),e(),n(375,"td"),i(376,"10600"),e(),m(377,"td",200)(378,"td",200)(379,"td",200)(380,"td",200)(381,"td",200)(382,"td",200),e(),n(383,"tr")(384,"td",198),i(385,"16 Inch"),e(),n(386,"td"),i(387,"10700"),e(),m(388,"td",200),n(389,"td"),i(390,"12700"),e(),n(391,"td"),i(392,"13700"),e(),m(393,"td",200)(394,"td",200)(395,"td",200),e(),n(396,"tr")(397,"th",204),i(398,"MEN'S MASTERS"),e()(),n(399,"tr"),m(400,"th"),n(401,"th"),i(402,"Unclassed"),e(),n(403,"th"),i(404,"Super"),e(),n(405,"th"),i(406,"Major"),e(),n(407,"th"),i(408,"Class A"),e(),n(409,"th"),i(410,"Class B"),e(),n(411,"th"),i(412,"Class C"),e(),n(413,"th"),i(414,"Class D"),e()(),n(415,"tr")(416,"td",198),i(417,"Fast Pitch"),e(),n(418,"td"),i(419,"17100"),e(),m(420,"td",200)(421,"td",200)(422,"td",200)(423,"td",200)(424,"td",200)(425,"td",200),e(),n(426,"tr")(427,"td",198),i(428,"Fast (40/Over)"),e(),n(429,"td"),i(430,"17140"),e(),m(431,"td",200)(432,"td",200)(433,"td",200)(434,"td",200)(435,"td",200)(436,"td",200),e(),n(437,"tr")(438,"td",198),i(439,"Fast (45/Over)"),e(),n(440,"td"),i(441,"17145"),e(),m(442,"td",200)(443,"td",200)(444,"td",200)(445,"td",200)(446,"td",200)(447,"td",200),e(),n(448,"tr")(449,"td",198),i(450,"Slow Class E/Rec"),e(),n(451,"td"),i(452,"17200"),e(),m(453,"td",200)(454,"td",200)(455,"td",200)(456,"td",200)(457,"td",200)(458,"td",200),e(),n(459,"tr")(460,"td",198),i(461,"Slow (35/Over)"),e(),n(462,"td"),i(463,"17235"),e(),m(464,"td",200)(465,"td",200)(466,"td",200)(467,"td",200)(468,"td",200)(469,"td",200),e(),n(470,"tr")(471,"td",198),i(472,"Slow (40/Over)"),e(),n(473,"td"),i(474,"17240"),e(),m(475,"td",200)(476,"td",200)(477,"td",200)(478,"td",200)(479,"td",200)(480,"td",200),e(),n(481,"tr")(482,"td",198),i(483,"Slow (45/Over)"),e(),n(484,"td"),i(485,"17245"),e(),m(486,"td",200)(487,"td",200)(488,"td",200)(489,"td",200)(490,"td",200)(491,"td",200),e(),n(492,"tr")(493,"th",204),i(494,"MEN'S SENIORS"),e()(),n(495,"tr"),m(496,"th"),n(497,"th"),i(498,"Unclassed"),e(),n(499,"th"),i(500,"Major Plus"),e(),n(501,"th"),i(502,"Major"),e(),n(503,"th"),i(504,"AAA"),e(),n(505,"th"),i(506,"AA"),e(),m(507,"th",205),e(),n(508,"tr")(509,"td",198),i(510,"Fast (50/Over)"),e(),n(511,"td"),i(512,"18150"),e(),m(513,"td",200)(514,"td",200)(515,"td",200)(516,"td",200)(517,"td",205),e(),n(518,"tr")(519,"td",198),i(520,"Slow (50/Over)"),e(),n(521,"td"),i(522,"18250"),e(),n(523,"td"),i(524,"12250"),e(),n(525,"td"),i(526,"13250"),e(),n(527,"td"),i(528,"14250"),e(),n(529,"td"),i(530,"15250"),e(),m(531,"td",205),e(),n(532,"tr")(533,"td",198),i(534,"Slow (55/Over)"),e(),n(535,"td"),i(536,"18255"),e(),n(537,"td"),i(538,"12255"),e(),n(539,"td"),i(540,"13255"),e(),n(541,"td"),i(542,"14255"),e(),n(543,"td"),i(544,"15255"),e(),m(545,"td",205),e(),n(546,"tr")(547,"td",198),i(548,"Slow (60/Over)"),e(),n(549,"td"),i(550,"18260"),e(),n(551,"td"),i(552,"12260"),e(),n(553,"td"),i(554,"13260"),e(),n(555,"td"),i(556,"14260"),e(),n(557,"td"),i(558,"15260"),e(),m(559,"td",205),e(),n(560,"tr")(561,"td",198),i(562,"Slow (65/Over)"),e(),n(563,"td"),i(564,"18265"),e(),n(565,"td"),i(566,"12265"),e(),n(567,"td"),i(568,"13265"),e(),n(569,"td"),i(570,"14265"),e(),n(571,"td"),i(572,"15265"),e(),m(573,"td",205),e(),n(574,"tr")(575,"td",198),i(576,"Slow (70/Over)"),e(),n(577,"td"),i(578,"18270"),e(),n(579,"td"),i(580,"12270"),e(),n(581,"td"),i(582,"13270"),e(),n(583,"td"),i(584,"14270"),e(),n(585,"td"),i(586,"15270"),e(),m(587,"td",205),e(),n(588,"tr")(589,"td",198),i(590,"Slow (75/Over)"),e(),n(591,"td"),i(592,"18275"),e(),n(593,"td"),i(594,"12275"),e(),n(595,"td"),i(596,"13275"),e(),n(597,"td"),i(598,"14275"),e(),n(599,"td"),i(600,"15275"),e(
1),m(601,"td",205),e(),n(602,"tr")(603,"th",206),i(604,"WOMEN"),e()(),n(605,"tr"),m(606,"th"),n(607,"th"),i(608,"Unclassed"),e(),n(609,"th"),i(610,"Open"),e(),n(611,"th"),i(612,"Major"),e(),n(613,"th"),i(614,"Class A"),e(),n(615,"th"),i(616,"Class B"),e(),n(617,"th"),i(618,"Class C"),e(),n(619,"th"),i(620,"Class D"),e()(),n(621,"tr")(622,"td",198),i(623,"Unclassed"),e(),n(624,"td"),i(625,"20000"),e(),m(626,"td",200)(627,"td",200)(628,"td",200)(629,"td",200)(630,"td",200)(631,"td",200),e(),n(632,"tr")(633,"td",198),i(634,"Fast"),e(),n(635,"td"),i(636,"20100"),e(),m(637,"td",200),n(638,"td"),i(639,"22100"),e(),n(640,"td"),i(641,"23100"),e(),n(642,"td"),i(643,"24100"),e(),n(644,"td"),i(645,"25100"),e(),m(646,"td",200),e(),n(647,"tr")(648,"td",198),i(649,"Slow"),e(),n(650,"td"),i(651,"20200"),e(),n(652,"td"),i(653,"23200"),e(),m(654,"td",200)(655,"td",200)(656,"td",200),n(657,"td"),i(658,"25200"),e(),n(659,"td"),i(660,"26200"),e()(),n(661,"tr")(662,"td",198),i(663,"Modified"),e(),n(664,"td"),i(665,"20300"),e(),m(666,"td",200)(667,"td",200)(668,"td",200)(669,"td",200)(670,"td",200)(671,"td",200),e(),n(672,"tr")(673,"td",198),i(674,"Industrial"),e(),n(675,"td"),i(676,"20400"),e(),m(677,"td",200)(678,"td",200)(679,"td",200)(680,"td",200)(681,"td",200)(682,"td",200),e(),n(683,"tr")(684,"td",198),i(685,"Church"),e(),n(686,"td"),i(687,"20500"),e(),m(688,"td",200)(689,"td",200)(690,"td",200)(691,"td",200)(692,"td",200)(693,"td",200),e(),n(694,"tr")(695,"td",198),i(696,"16 Inch"),e(),n(697,"td"),i(698,"20600"),e(),m(699,"td",200)(700,"td",200)(701,"td",200)(702,"td",200)(703,"td",200)(704,"td",200),e(),n(705,"tr")(706,"td",198),i(707,"23/Under Fast Pitch"),e(),n(708,"td"),i(709,"20123"),e(),m(710,"td",200)(711,"td",200)(712,"td",200)(713,"td",200)(714,"td",200)(715,"td",200),e(),n(716,"tr")(717,"th",206),i(718,"WOMEN'S MASTERS"),e()(),n(719,"tr"),m(720,"th"),n(721,"th"),i(722,"Unclassed"),e(),n(723,"th"),i(724,"35/Over"),e(),m(725,"th",207),e(),n(726,"tr")(727,"td",198),i(728,"Fast"),e(),n(729,"td"),i(730,"27100"),e(),m(731,"td",200)(732,"td",207),e(),n(733,"tr")(734,"td",198),i(735,"Slow"),e(),n(736,"td"),i(737,"27200"),e(),n(738,"td"),i(739,"27235"),e(),m(740,"td",207),e(),n(741,"tr")(742,"th",208),i(743,"COED"),e()(),n(744,"tr"),m(745,"th"),n(746,"th"),i(747,"Unclassed"),e(),n(748,"th"),i(749,"Major"),e(),n(750,"th"),i(751,"Class A"),e(),n(752,"th"),i(753,"Class B"),e(),n(754,"th"),i(755,"Class C"),e(),n(756,"th"),i(757,"Class D"),e(),m(758,"th"),e(),n(759,"tr")(760,"td",198),i(761,"Unclassed"),e(),n(762,"td"),i(763,"30000"),e(),m(764,"td",200)(765,"td",200)(766,"td",200)(767,"td",200)(768,"td",200)(769,"td",200),e(),n(770,"tr")(771,"td",198),i(772,"Slow"),e(),n(773,"td"),i(774,"30200"),e(),n(775,"td"),i(776,"32200"),e(),n(777,"td"),i(778,"33200"),e(),n(779,"td"),i(780,"34200"),e(),n(781,"td"),i(782,"35200"),e(),n(783,"td"),i(784,"36200"),e(),m(785,"td",200),e(),n(786,"tr")(787,"td",198),i(788,"Industrial"),e(),n(789,"td"),i(790,"30400"),e(),m(791,"td",200)(792,"td",200)(793,"td",200)(794,"td",200)(795,"td",200)(796,"td",200),e(),n(797,"tr")(798,"td",198),i(799,"Church Slow Pitch"),e(),n(800,"td"),i(801,"30600"),e(),m(802,"td",200)(803,"td",200)(804,"td",200)(805,"td",200)(806,"td",200)(807,"td",200),e()()())}function bi(a,d){if(a&1&&(n(0,"div",187)(1,"div",190),g(2,hi,5,0)(3,vi,808,0,"div"),e()()),a&2){let t=s(3);l(2),u((t.currentFieldInfo.allowedValues==null?null:t.currentFieldInfo.allowedValues.length)>0&&t.currentFieldInfo.fieldName!="Class"?2:t.currentFieldInfo.fieldName=="Class"?3:-1)}}function Mi(a,d){if(a&1){let t=P();n(0,"div",178)(1,"div",179)(2,"div",180)(3,"span",181),i(4,"info"),e(),n(5,"h3"),i(6),e(),g(7,Ci,2,0,"span",182),e(),n(8,"button",183),h("click",function(){f(t);let o=s(2);return C(o.closeFieldInfo())}),n(9,"span",184),i(10,"close"),e()()(),n(11,"div",185)(12,"div",186)(13,"p"),i(14),e()(),g(15,bi,4,1,"div",187),e(),n(16,"div",188)(17,"button",189),h("click",function(){f(t);let o=s(2);return C(o.closeFieldInfo())}),n(18,"span",184),i(19,"check"),e(),i(20," Got it! "),e()()()}if(a&2){let t=s(2);l(6),S(t.currentFieldInfo.fieldName),l(),u(t.currentFieldInfo.isRequired?7:-1),l(7),S(t.currentFieldInfo.description),l(),u(t.currentFieldInfo.allowedValues&&t.currentFieldInfo.allowedValues.length>0||t.currentFieldInfo.fieldName=="Class"?15:-1)}}function Pi(a,d){if(a&1&&g(0,Mi,21,4,"div",178),a&2){let t=s();u(t.currentFieldInfo?0:-1)}}var Si=new Set(["#N/A","#REF!","#NAME?","#DIV/0!","#NULL!","#VALUE!","#NUM!"]),Oi={required:[{dbField:"recNo",key:"RECNBR",label:"Record Number",type:"text",mapped:!1,example:"1"},{dbField:"asnNo",key:"REG_ASN",label:"Registration ASN",type:"text",required:!0,mapped:!1,allowedValues:Q().map(a=>a.id),example:"08112"},{dbField:"regType",key:"RegType",label:"Registration Type",type:"text",required:!0,mapped:!1,allowedValues:["a","adult","y","youth"],example:"Y"},{dbField:"class",key:"CLASS",label:"Class",type:"text",mapped:!1,allowedValues:Ft(),example:"50112"},{dbField:"insurance",key:"Insurance",label:"Insurance",type:"text",mapped:!1,allowedValues:Y().map(a=>a.id),example:"500"},{dbField:"title",key:"TITLE",label:"Title",type:"text",mapped:!1,example:"Player"},{dbField:"teamName",key:"TEAMNM",label:"Team Name",type:"text",mapped:!1,example:"Bloomington Blast 12U"},{dbField:"lastName",key:"LAST",label:"Last Name",type:"text",required:!0,mapped:!1,example:"Smith"},{dbField:"firstName",key:"FIRST",label:"First Name",type:"text",required:!0,mapped:!1,example:"Jane"}
1,{dbField:"dob",key:"DOB",label:"Date of Birth",type:"date",required:!0,mapped:!1,example:`03/15/${new Date().getFullYear()-12}`},{dbField:"address1",key:"ADDRESS1",label:"Address",type:"text",mapped:!1,example:"123 Main St"},{dbField:"city",key:"CITY",label:"City",type:"text",mapped:!1,example:"Bloomington"},{dbField:"state",key:"STATE",label:"State",type:"text",mapped:!1,example:"MN"},{dbField:"zip",key:"ZIP",label:"ZIP Code",type:"text",mapped:!1,example:"55420"},{dbField:"phone",key:"ResPhone",label:"Phone",type:"phone",mapped:!1,example:"555-123-4567"},{dbField:"email",key:"EMAIL",label:"Email",type:"email",required:!1,mapped:!1,example:"[email protected]"},{dbField:"sex",key:"sex",label:"Sex",type:"text",required:!0,mapped:!1,allowedValues:["m","f","male","female"],example:"F"}]},O=(function(a){return a[a.Upload=0]="Upload",a[a.Mapping=1]="Mapping",a[a.Validation=2]="Validation",a[a.Invoice=3]="Invoice",a[a.Payment=4]="Payment",a[a.Confirmation=5]="Confirmation",a})(O||{}),Po=(()=>{class a{api;notify;ngxLoader;breakpointObserver;cdr;confettiService;excelImportService;bottomSheet;dialog;fileInput;stepper;paginator;validationPaginator;fieldInfoTemplate;currentStep=O.Upload;WorkflowStep=O;seasonOptions=[];selectedSeason=null;seasonsLoading=!1;seasonsError=!1;uploadedFile=null;uploadedFileRowCount=0;isProcessing=!1;uploadError=null;importProgress=null;excelColumns=[];rawData=[];processedData=[];validationStats=null;fieldValidationCache=new Map;fieldMappings=[];requiredFields=Oi.required;unmappedRequiredFields=[];ignoreColumnValue="__IGNORE_COLUMN__";validationDataSource=null;validationDisplayedColumns=[];allMappedColumns=[];validationIssues=[];totalIssues=0;recordsWithIssues=[];initiallyHadIssues=!1;invoiceCalculation=null;isCalculatingInvoice=!1;invoiceError=null;paymentCards=[];isProcessingPayment=!1;isMobile=!1;completedSteps=new Set;unsubscribe$=new N;cellInputSubject$=new N;_unsubscribeAll;currentFieldInfo=null;constructor(t,r,o,c,p,x,_,M,y){this.api=t,this.notify=r,this.ngxLoader=o,this.breakpointObserver=c,this.cdr=p,this.confettiService=x,this.excelImportService=_,this.bottomSheet=M,this.dialog=y,this._unsubscribeAll=new N,this.breakpointObserver.observe(["(max-width: 768px)"]).pipe(B(this.unsubscribe$)).subscribe(j=>{this.isMobile=j.matches})}ngOnInit(){this.loadSeasons(),this.cellInputSubject$.pipe(K(250),ee((t,r)=>t.rowIndex===r.rowIndex&&t.column===r.column&&t.value===r.value),B(this.unsubscribe$)).subscribe(({rowIndex:t,column:r,value:o})=>{this.processCellValueChange(t,r,o)})}loadSeasons(){this.seasonsLoading=!0,this.seasonsError=!1,this.api.get("Bulk/uploadSeasons",!0).pipe(B(this._unsubscribeAll)).subscribe({next:t=>{this.seasonsLoading=!1,this.seasonOptions=t?.seasons??[],this.selectedSeason&&!this.seasonOptions.some(r=>r.season===this.selectedSeason)&&(this.selectedSeason=null)},error:()=>{this.seasonsLoading=!1,this.seasonsError=!0}})}get seasonLocked(){return this.uploadedFile!==null||this.isProcessing}get seasonsUnavailable(){return this.seasonsError||!this.seasonsLoading&&this.seasonOptions.length===0}get selectedSeasonInactive(){let t=this.seasonOptions.find(r=>r.season===this.selectedSeason);return!!t&&!t.active}onStepChange(t){let r=t.selectedIndex;this.isStepAccessible(r)?this.currentStep=r:setTimeout(()=>{this.stepper&&(this.stepper.selectedIndex=this.currentStep)})}isStepAccessible(t){return!!(this.completedSteps.has(t)||t===this.currentStep||t===this.currentStep+1&&this.isCurrentStepCompleted())}isCurrentStepCompleted(){switch(this.currentStep){case O.Upload:return this.uploadedFile!==null&&!this.isProcessing&&!this.uploadError;case O.Mapping:return this.canProceedFromMapping();case O.Validation:return this.canProceedFromValidation();case O.Invoice:return this.invoiceCalculation!==null&&!this.isCalculatingInvoice;case O.Payment:return!1;case O.Confirmation:return!0;default:return!1}}isStepCompleted(t){return this.completedSteps.has(t)}isStepEditable(t){return this.completedSteps.has(t)||t===this.currentStep}getStepState(t){return this.isStepCompleted(t)?"done":this.currentStep===t?"edit":"number"}markStepCompleted(t){this.completedSteps.add(t)}updateStepperState(){setTimeout(()=>{this.stepper&&(this.stepper.selectedIndex=this.currentStep)})}onFileSelected(t){let r=t.target;r.files&&r.files.length>0&&this.processFile(r.files[0])}onFileDrop(t){t.preventDefault(),t.stopPropagation(),t.dataTransfer?.files&&t.dataTransfer.files.length>0&&this.processFile(t.dataTransfer.files[0])}onDragOver(t){t.preventDefault(),t.stopPropagation()}onDragLeave(t){t.preventDefault(),t.stopPropagation()}processFile(t){if(!this.selectedSeason){this.notify.openWarningModal("Pick the season first \u2014 pricing and records follow it.");return}this.resetWorkflow();let r=this.getFileTypeError(t);if(r){this.failUpload(r);return}if(t.size>50*1024*1024){this.failUpload(`<b>${t.name}</b> is ${(t.size/1024/1024).toFixed(1)}MB. The limit is 50MB.`);return}this.uploadedFile=t,this.isProcessing=!0,this.uploadError=null,this.readExcelFile(t)}getFileTypeError(t){let r=t.name.toLowerCase();return r.endsWith(".xlsx")||t.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"?null:r.endsWith(".xls")?`<b>${t.name}</b> is in the old Excel 97-2003 format (.xls), which cannot be read.<br><br>Open it in Excel, choose <b>File &gt; Save As &gt; Excel Workbook (.xlsx)</b>, then upload the new .xlsx file.`:`<b>${t.name}</b> is not an Excel workbook.<br><br>Upload an .xlsx file.`}
1mapRowToRegistrationRecord(t,r,o){let c={_errors:[],_warnings:[],_hasIssues:!1,_originalIndex:o-2};return Object.keys(t).forEach(p=>{c[p]=t[p]}),c}readExcelFile(t){return D(this,null,function*(){try{this.importProgress=null;let r=this.excelImportService.importExcelFile(t,this.mapRowToRegistrationRecord.bind(this),{chunkSize:1e3,hasHeaders:!0,worksheetIndex:0}).pipe(B(this.unsubscribe$)).subscribe({next:o=>{o.progress&&(this.importProgress=o.progress,this.cdr.detectChanges()),o.result&&(this.excelColumns=o.result.headers,this.rawData=o.result.data,this.uploadedFileRowCount=o.result.totalRows,o.result.errors.length>0&&(this.uploadError=`Import completed with warnings: ${o.result.errors.join(", ")}`),this.isProcessing=!1,this.importProgress=null,this.initializeFieldMappings(),this.cdr.detectChanges()),o.error&&this.failUpload(`Error reading Excel file: ${o.error}`)},error:o=>{this.failUpload(`Error reading Excel file: ${o.message}`)}})}catch(r){this.failUpload(`Error reading Excel file: ${r.message}`)}})}failUpload(t){this.isProcessing=!1,this.importProgress=null,this.uploadedFile=null,this.uploadError=null,this.cdr.detectChanges(),this.notify.openErrorModal(t)}initializeFieldMappings(){this.requiredFields.forEach(r=>r.mapped=!1);let t=new Set;this.fieldMappings=this.excelColumns.map(r=>{let o=this.findBestMatch(r),c=o&&!t.has(o)?o:null;return c&&t.add(c),{excelColumn:r,mappedField:c,isMapped:!!c,isIgnored:!1}}
1),this.fieldMappings.forEach(r=>{if(r.mappedField){r.isMapped=!0;let o=this.requiredFields.find(c=>c.key===r.mappedField);o&&(o.mapped=!0)}}),this.updateUnmappedFields()}findBestMatch(t){let r=t.toLowerCase().trim(),o=this.requiredFields.find(p=>p.key.toLowerCase()===r);if(o)return o.key;let c={LAST:["last","lastname","surname"],FIRST:["first","firstname"],EMAIL:["email","mail","e-mail"],DOB:["dob","birth","birthdate","dateofbirth"],sex:["sex","gender","male","female"],ResPhone:["phone","tel","telephone","mobile","cell"],ADDRESS1:["address","street","addr"],CITY:["city","town"],STATE:["state","province"],ZIP:["zip","postal","postcode"]};for(let[p,x]of Object.entries(c))if(x.some(_=>r.includes(_)))return p;return null}onFieldMappingChange(t,r){let o=this.fieldMappings[t];if(!o)return;let c=r===this.ignoreColumnValue;if(r&&!c&&this.isFieldMappedToAnotherColumn(r,t))return;let p=o.mappedField;if(p){let x=this.requiredFields.find(_=>_.key===p);x&&(x.mapped=!1)}if(o.mappedField=c?null:r||null,o.isMapped=!!o.mappedField,o.isIgnored=c,o.mappedField){let x=this.requiredFields.find(_=>_.key===o.mappedField);x&&(x.mapped=!0)}this.updateUnmappedFields()}isFieldMappedToAnotherColumn(t,r){return this.fieldMappings.some((o,c)=>c!==r&&o.isMapped&&o.mappedField===t)}updateUnmappedFields(){let t=this.fieldMappings.filter(r=>r.isMapped).map(r=>r.mappedField);this.unmappedRequiredFields=this.requiredFields.filter(r=>r.required).map(r=>r.key).filter(r=>!t.includes(r))}canProceedFromMapping(){return this.unmappedRequiredFields.length===0}proceedToMapping(){this.uploadedFile&&!this.isProcessing&&!this.uploadError&&(this.markStepCompleted(O.Upload),this.currentStep=O.Mapping,this.updateStepperState())}proceedToValidation(){if(!this.canProceedFromMapping()){this.notify.openToaster("Please map all required fields before proceeding","error");return}this.transformDataWithMappings(),this.currentStep=O.Validation,setTimeout(()=>{this.validateData(),this.markStepCompleted(O.Mapping),this.updateStepperState()},100)}transformDataWithMappings(){this.processedData=this.rawData.map(t=>{let r={_errors:[],_warnings:[],_hasIssues:!1};
1return this.fieldMappings.forEach(o=>{o.isMapped&&o.mappedField&&(r[o.mappedField]=t[o.excelColumn])}),r})}validateData(){this.validationIssues=[],this.totalIssues=0,this.recordsWithIssues=[],this.processedData.forEach((t,r)=>{t._errors=[],t._warnings=[],t._hasIssues=!1,t._originalIndex=r;let o=!1;this.requiredFields.forEach(c=>{let p=t[c.key];c.required&&(!p||p==="")&&(o=!0),this.validateField(c,p,r).forEach(_=>{this.validationIssues.push(_),_.type==="error"?t._errors.push({field:_.field,message:_.message}):t._warnings.push({field:_.field,message:_.message})})}),t._hasIssues=t._errors.length>0||t._warnings.length>0,t._hasIssues&&this.totalIssues++,(o||t._hasIssues)&&this.recordsWithIssues.push(t)}),this.calculateValidationStats(),this.initiallyHadIssues=this.recordsWithIssues.length>0,this.updateValidationDataSource()}updateValidationDataSource(){this.validationDataSource=new ht,this.validationDataSource.paginator=this.validationPaginator,this.validationDataSource.loadData(this.recordsWithIssues),this.allMappedColumns=this.fieldMappings.filter(t=>t.isMapped&&t.mappedField).map(t=>t.mappedField),this.validationDisplayedColumns=["deleteRow","rowStatus",...this.allMappedColumns]}validateField(t,r,o){let c=[];if(Si.has(String(r).trim()))return c.push({row:o+1,field:t.key,message:`Excel error in cell (${String(r).trim()})`,type:"error"}),c;if(t.required&&(r==null||r===""))return c.push({row:o+1,field:t.key,message:"Field is Required!",type:"error"}),c;if(r==null||r==="")return c;if(t.allowedValues&&t.allowedValues.length>0){let p=r.toString().toLowerCase().trim();if(!(t.allowedValues.indexOf(p)!==-1))return c.push({row:o+1,field:t.key,message:"Invalid value",type:"error"}),c}switch(t.type){case"email":this.isValidEmail(r.toString())||c.push({row:o+1,field:t.key,message:"Invalid email!",type:"error"});break;case"phone":this.isValidPhone(r.toString())||c.push({row:o+1,field:t.key,message:"Invalid phone!",type:"warning"});break;case"date":this.isValidDate(r)||c.push({row:o+1,field:t.key,message:"Invalid date!",type:"error"});break}return c}isValidEmail(t){return/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(t.trim())}isValidPhone(t){return!(t.replace(/[^0-9]/g,"").length<10)}isValidDate(t){if(t instanceof Date)return!isNaN(t.getTime())&&this.isReasonableBirthday(t);if(typeof t=="string"){let r=t.toString().trim(),o=null,c=r.match(/^(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})$/);if(c){let[p,x,_,M]=c;if(o=new Date(parseInt(M),parseInt(x)-1,parseInt(_)),o.getFullYear()!==parseInt(M)||o.getMonth()!==parseInt(x)-1||o.getDate()!==parseInt(_))return!1}return!o||isNaN(o.getTime())?!1:this.isReasonableBirthday(o)}return!1}isReasonableBirthday(t){let r=new Date().getFullYear(),o=t.getFullYear();if(o<1930||o>r-3)return!1;let c=t.getMonth()+1,p=t.getDate();return!(c<1||c>12||p<1||p>31)}canProceedFromValidation(){return this.processedData.filter(r=>r._errors&&r._errors.length>0).length===0}proceedToInvoice(){if(!this.canProceedFromValidation()){this.notify.openToaster("Please resolve all errors before proceeding","error");return}this.calculateInvoice()}dbData;calculateInvoice(){return D(this,null,function*(){this.isCalculatingInvoice=!0,this.invoiceError=null,this.markStepCompleted(O.Validation),this.currentStep=O.Invoice,this.updateStepperState(),this.dbData=this.processedData.map(t=>({recNo:t.RECNBR,asnNo:t.REG_ASN,regType:t.RegType,class:t.CLASS,insurance:t.Insurance,title:t.TITLE,teamName:t.TEAMNM,lastName:t.LAST,firstName:t.FIRST,dob:t.DOB,address:t.ADDRESS1,city:t.CITY,state:t.STATE,zip:t.ZIP,phone:t.ResPhone,email:t.EMAIL,sex:t.sex})),this.api.post("Bulk/calcInvoice",{season:this.selectedSeason,records:this.dbData},!0).pipe(B(this._unsubscribeAll)).subscribe({next:t=>{this.invoiceCalculation=t,this.isCalculatingInvoice=!1},error:t=>{this.isCalculatingInvoice=!1,this.invoiceError=t.error?t.error:"An error has occured",this.notify.openErrorModal(this.invoiceError)}})})}proceedToPayment(){this.markStepCompleted(O.Invoice),this.currentStep=O.Payment,this.updateStepperState()}paymentMethod="";createCharge(t,r){this.isProcessingPayment||(this.isProcessingPayment=!0,this.paymentMethod=r,this.api.post("Bulk/processPayment/"+t,{season:this.selectedSeason,records:this.dbData},!0).pipe(B(this._unsubscribeAll)).subscribe({next:o=>{this.invoiceCalculation=o,this.isProcessingPayment=!1,this.completeImport()},error:o=>{this.isProcessingPayment=!1,this.notify.openErrorModal(o.error?o.error:"An error has occured")}}))}completeImport(){return D(this,null,function*(){try{this.markStepCompleted(O.Payment),this.currentStep=O.Confirmation,this.confettiService.cannon(),this.updateStepperState(),this.notify.openToaster("Registrations submitted successfully!","success")}catch{this.notify.openToaster("Error submitting registrations. Please try again.","error")}finally{this.isProcessingPayment=!1}})}openUploadHistory(){this.dialog.open(Et,{width:"80vw",maxHeight:"80vh",data:{uploadType:"IR"}})}downloadTemplate(){let t=new Z.Workbook,r=t.addWorksheet("Registration Template"),o=this.requiredFields.map(_=>_.key);r.addRow(o),r.addRow(this.requiredFields.map(_=>_.example??"")),r.getRow(1).font={bold:!0},r.getRow(1).fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFE0E0E0"}},r.columns.forEach(_=>{_.width=15});let c=Q();if(c&&c.length>0){let _=t.addWorksheet("ASN Codes");_.addRow(["ASN #","State"]),_.getRow(1).font={bold:!0}
1,c.forEach(M=>{_.addRow([M.id,M.name])})}let p=Tt();if(p&&p.length>0){let _=t.addWorksheet("Classes");p.forEach(M=>{_.addRow(" "),_.addRow([M.title]),_.getRow(_.rowCount).font={bold:!0},M.data.forEach(y=>{_.addRow(y)})})}let x=Y();if(x&&x.length>0){let _=t.addWorksheet("Insurance Types");_.addRow(["Insurance Code","Insurance Type"]),_.getRow(1).font={bold:!0},x.forEach(M=>{_.addRow([M.id,M.name])})}t.xlsx.writeBuffer().then(_=>{let M=new Blob([_],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"});(0,J.saveAs)(M,"individual-registration-template.xlsx")})}deleteRow(t){if(!confirm("Are you sure you want to delete this row?"))return;let r=this.processedData.indexOf(t);r!==-1&&(this.processedData.splice(r,1),this.validateData(),this.notify.openToaster("Row removed","warning"),this.cdr.detectChanges())}removeBadRecords(){return D(this,null,function*(){if(this.recordsWithIssues.length===0){this.notify.openToaster("No invalid records to remove","info");return}try{let t=[];if(this.recordsWithIssues.forEach((o,c)=>{this.validateSingleRecord(o,c),o._hasIssues&&t.push(o)}),this.recordsWithIssues=t,t.length===0){this.notify.openToaster("All records have been fixed! No invalid records to remove.","success"),this.calculateValidationStats(),this.updateValidationDataSource();return}yield this.exportInvalidRecordsToExcel();let r=t.map(o=>o._originalIndex).filter(o=>o!==void 0);this.processedData=this.processedData.filter((o,c)=>!r.includes(c)),this.recordsWithIssues=[],this.validationIssues=[],this.totalIssues=0,this.calculateValidationStats(),this.updateValidationDataSource(),this.notify.openToaster(`${t.length} invalid record(s) have been removed and exported to Excel. ${this.processedData.length} valid records remain.`,"success")}catch(t){console.error("Error removing bad records:",t),this.notify.openToaster("Error removing invalid records","error")}})}exportInvalidRecordsToExcel(){return D(this,null,function*(){let t=new Z.Workbook,r=t.addWorksheet("Invalid Records"),o=["Row Number","Errors","Warnings",...this.allMappedColumns];r.addRow(o),this.recordsWithIssues.forEach((M,y)=>{let j=[(M._originalIndex||y)+1,M._errors?.map(T=>`${T.field}: ${T.message}`).join("; ")||"",M._warnings?.map(T=>`${T.field}: ${T.message}`).join("; ")||"",...this.allMappedColumns.map(T=>M[T]||"")];r.addRow(j)}),r.getRow(1).font={bold:!0},r.getRow(1).fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFFE0E0"}},r.columns.forEach((M,y)=>{y===0?M.width=12:y===1||y===2?M.width=40:M.width=15});let c=this.recordsWithIssues.length;c>0&&r.addConditionalFormatting({ref:`A2:${String.fromCharCode(65+o.length-1)}${c+1}`,rules:[{type:"expression",formulae:['$B2<>""'],priority:1,style:{fill:{type:"pattern",pattern:"solid",bgColor:{argb:"FFFFF0F0"}}}}]});let p=yield t.xlsx.writeBuffer(),x=new Blob([p],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),_=new Date().toISOString().slice(0,19).replace(/:/g,"-");(0,J.saveAs)(x,`invalid-records-${_}.xlsx`)})}resetWorkflow(){this.currentStep=O.Upload,this.completedSteps.clear(),this.uploadedFile=null,this.uploadError=null,this.isProcessing=!1,this.importProgress=null,this.excelColumns=[],this.rawData=[],this.processedData=[],this.fieldMappings=[],this.unmappedRequiredFields=[],this.validationIssues=[],this.totalIssues=0,this.recordsWithIssues=[],this.allMappedColumns=[],this.validationDisplayedColumns=[],this.invoiceCalculation=null,this.validationDataSource&&(this.validationDataSource=null),this.fileInput&&(this.fileInput.nativeElement.value=""),this.updateStepperState()}getFieldDisplayName(t){let r=this.requiredFields.find(o=>o.key===t);return r?r.label:t}calculateValidationStats(){let t=0,r=0,o=0,c=0;for(let p of this.processedData)p._hasIssues||t++,r+=p._errors?.length||0,o+=p._warnings?.length||0;this.validationStats={uploadedRowCount:this.rawData.length,validRowCount:t,errorCount:r,warningCount:o,missingRequiredCount:c}}isRequiredField(t){let r=this.requiredFields.find(o=>o.key===t);return r?r.required:!1}getFieldPlaceholder(t){let r=this.requiredFields.find(o=>o.key===t);if(!r)return"";switch(r.type){case"email":return"[email protected]";case"date":return"MM/DD/YYYY";case"phone":return"555-123-4567";default:return r.example?`e.g. ${r.example}`:`Enter ${r.label}`}}onCellValueChange(t,r,o){let p=o.target.value;this.cellInputSubject$.next({rowIndex:t,column:r,value:p})}processCellValueChange(t,r,o){if(this.recordsWithIssues[t]){this.recordsWithIssues[t][r]=o;let c=this.recordsWithIssues[t]._originalIndex;c!==void 0&&this.processedData[c]&&(this.processedData[c][r]=o),this.validateSingleRecord(this.recordsWithIssues[t],t),this.calculateValidationStats()}}validateSingleRecord(t,r){t._errors=[],t._warnings=[],this.requiredFields.forEach(o=>{let c=t[o.key];this.validateField(o,c,r).forEach(x=>
1{x.type==="error"?t._errors.push({field:x.field,message:x.message}):t._warnings.push({field:x.field,message:x.message})})}),t._hasIssues=t._errors.length>0||t._warnings.length>0,this.calculateValidationStats()}hasMissingRequiredFields(t){let r=this.requiredFields.filter(p=>p.required).map(p=>`${p.key}:${t[p.key]||""}`).join("|"),o=`${t._originalIndex}_${r}`;if(this.fieldValidationCache.has(o))return this.fieldValidationCache.get(o);let c=this.requiredFields.some(p=>{if(p.required){let x=t[p.key];return!x||x===""}return!1});return this.fieldValidationCache.set(o,c),c}hasFieldError(t,r){return t._errors?.some(o=>o.field===r)||t._warnings?.some(o=>o.field===r)||!1}getFieldErrorMessage(t,r){let o=t._errors?.find(p=>p.field===r),c=t._warnings?.find(p=>p.field===r);return o?.message??c?.message??""}getValidationCellClass(t,r){return this.hasFieldError(t,r)&&this.isRequiredField(r)?"error-cell":this.hasFieldError(t,r)?"warning-cell":this.isRequiredField(r)&&(!t[r]||t[r]==="")?"required-cell":t[r]&&t[r]!==""?"filled-cell":""}shouldShowTooltip(t){return(this.requiredFields.find(r=>r.key===t)?.allowedValues?.length??0)>0}openFieldInfo(t){if(this.currentFieldInfo=null,t==="mapping-help")this.currentFieldInfo={fieldName:"Excel Column Mapping",description:"Match registration fields to Excel columns. Required fields are marked with a red asterisk (*) and must be mapped before you can proceed to validation.",isRequired:!1,allowedValues:null};else if(t==="sample-help")this.currentFieldInfo={fieldName:"Sample Data Preview",description:"This shows a preview of the first few rows from your Excel file for this column. Use this to verify that the data looks correct and is in the expected format.",isRequired:!1,allowedValues:null};else{let r=null,o=this.requiredFields.find(c=>c.key===t);t==="REG_ASN"?r=Q():t==="Insurance"?r=Y():r=o?.allowedValues||null,this.currentFieldInfo={fieldKey:t,fieldName:o?.label||"",description:null,isRequired:o?.required||!1,allowedValues:r}}this.currentFieldInfo&&this.bottomSheet.open(this.fieldInfoTemplate,{disableClose:!1,hasBackdrop:!0,backdropClass:"field-info-backdrop"})}getFieldDetails(t){return{REG_ASN:{format:"Numeric code",example:"01110, 02550, 03880"},RegType:{format:"Single character or word",example:"Y, A, Youth, Adult",allowedValues:["Y","A","Youth","Adult"]},DOB:{format:"MM/DD/YYYY",example:"03/15/1995, 12/01/2010"},EMAIL:{format:"Valid email address",example:"[email protected]"},ResPhone:{format:"Phone number (any format)",example:"555-123-4567, (555) 123-4567"},sex:{format:"Gender identifier",example:"M, F, Male, Female",allowedValues:["M","F","Male","Female"]},STATE:{format:"2-letter state code",example:"CA, NY, TX, FL"},ZIP:{format:"5 or 9 digit postal code",example:"12345, 12345-6789"},Insurance:{format:"Boolean value",example:"TRUE, FALSE, Yes, No",allowedValues:["TRUE","FALSE","Yes","No"]}}[t]||null}closeFieldInfo(){this.bottomSheet.dismiss(),this.currentFieldInfo=null}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static \u0275fac=function(r){return new(r||a)(w(Ve),w(De),w(Fe),w(fe),w(de),w(ut),w(wt),w(ze),w(Ce))};static \u0275cmp=te({type:a,selectors:[["app-bulk-indv-reg"]],viewQuery:function(r,o){if(r&1&&(z(Vt,5),z(Dt,5),z($,5),z(zt,5),z(At,5)),r&2){let c;A(c=q())&&(o.fileInput=c.first),A(c=q())&&(o.stepper=c.first),A(c=q())&&(o.paginator=c.first),A(c=q())&&(o.validationPaginator=c.first),A(c=q())&&(o.fieldInfoTemplate=c.first)}},decls:35,vars:27,consts:[["stepper",""],["fieldInfoTemplate",""],["fileInput",""],["validationPaginator",""],["fusePerfectScrollbar","",1,"page-layout","simple","fullwidth"],["title","Individual Registration\xA0Upload",3,"hideBanner"],["loaderId","loader-bulk-reg"],[1,"upload-type-bar","ir-bar"],["mat-stroked-button","",1,"history-btn",3,"click"],[1,"content","bulk-reg-container"],[1,"progress-stepper",3,"selectionChange","selectedIndex","linear"],[3,"completed","editable","state"],["matStepLabel",""],["matStepperIcon","edit"],["matStepperIcon","number"],[1,"step-container"],[2,"color","#4caf50"],[1,"primary-fg"],[1,"season-selection","mb-24","border-bottom"],[1,"h4","bold","mb-8"],[1,"required-star"],[1,"error-message"],["mat-button","","color","warn",1,"ml-8",3,"click"],["appearance","outline",1,"season-field"],[3,"ngModelChange","ngModel","disabled"],[3,"value"],[1,"text-muted","mt-4","font-size-12","red-fg"],["role","alert",1,"season-selection-warning"],[1,"historical-banner"],[1,"rpui-chip","rpui-chip--neutral","ml-8"],[1,"template-download-section","text-center"],["mat-stroked-button","","color","primary",3,"click"],[1,"template-description"],[1,"file-upload-area",3,"drop","dragover","dragleave"],[1,"py-32",2,"display","flex","flex-direction","column","align-items","center"],[1,"text-center"],["type","file","accept",".xlsx,.xls",2,"display","none",3,"change"],[1,"error-message","text-center","mt-16"],["mat-raised-button","",1,"primary","btn-lg",3,"click","disabled"],[1,"text-muted","mt-16"],["diameter","64"],[1,"mt-16"],["mode","determinate",3,"value"],[1,"text-muted","mt-8"],[1,"material-icons","green-fg","font-size-48"],[1,"success-message"],[1,"step-navigation"],["mat-raised-button","",1,"nav-button","primary-button",3,"click"],[1,"unmapped-fields-warning"],[1,"mapping-table"],["mat-table","",1,"table-bordered-dark",3,"dataSource"],["matColumnDef","index"],["mat-header-cell","","class","mapping-header","style","min-width: 100px",4,"matHeaderCellDef"],["mat-cell","","class","text-center",4,"matCellDef"],["matColumnDef","excelC
1olumn"],["mat-header-cell","","class","mapping-header","style","min-width: 150px",4,"matHeaderCellDef"],["matColumnDef","mappedField"],["mat-header-cell","","class","mapping-header","style","min-width: 250px",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","sampleData"],["mat-header-cell","","class","mapping-header",4,"matHeaderCellDef"],["mat-cell","","class","w-80-p",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-stroked-button","",1,"nav-button","back-button",3,"click"],["mat-raised-button","",1,"nav-button","primary-button",3,"click","disabled"],[1,"warning-header"],[1,"warning-icon"],[1,"warning-title"],[1,"warning-content"],[1,"warning-message"],[1,"unmapped-fields-list"],[1,"unmapped-field-item"],["mat-header-cell","",1,"mapping-header",2,"min-width","100px"],["mat-cell","",1,"text-center"],["mat-header-cell","",1,"mapping-header",2,"min-width","150px"],["mat-header-cell","",1,"mapping-header",2,"min-width","250px"],["title","Click for help",1,"material-icons","info-icon",3,"click"],["mat-cell",""],["appearance","outline",1,"w-250"],[3,"selectionChange","value"],[1,"option-content"],[3,"value","disabled"],[1,"material-icons","green-fg"],[1,"material-icons","red-fg"],["mat-header-cell","",1,"mapping-header"],["mat-cell","",1,"w-80-p"],[1,"text-muted"],["mat-header-row",""],["mat-row","",3,"ngClass"],[1,"validation-scoreboard","mb-24"],[1,"scoreboard-grid"],[1,"score-box","uploaded-box"],[1,"score-header"],[1,"score-count"],[1,"score-footer"],[1,"score-box","valid-box"],[1,"score-box","error-box"],[1,"score-box","warning-box"],[1,"validation-table"],["showFirstLastButtons","",3,"pageSizeOptions","pageSize","hidden"],[1,"validation-success-section"],["mat-stroked-button","","matTooltip","Export invalid records to Excel and remove them from processing",1,"nav-button","remove-bad-button"],["mat-table","",1,"table-bordered-dark","w-100-p","rick",3,"dataSource"],["matColumnDef","deleteRow"],["mat-header-cell","","class","row-number-header text-center",4,"matHeaderCellDef"],["mat-cell","","class","row-number-cell",4,"matCellDef"],["matColumnDef","rowStatus"],[3,"matColumnDef"],["mat-row","",3,"missing-required-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell","",1,"row-number-header","text-center"],["mat-cell","",1,"row-number-cell"],["title","Remove Row",1,"material-icons","red-fg","font-size-32","link",3,"click"],[1,"material-icons","red-fg","font-size-32"],[1,"material-icons","orange-fg","font-size-32"],[1,"material-icons","green-fg","font-size-32"],["mat-header-cell","","class","validation-header",4,"matHeaderCellDef"],["mat-cell","",3,"class",4,"matCellDef"],["mat-header-cell","",1,"validation-header"],[1,"required-indicator"],["title","Click for field info",1,"material-icons","info-icon"],["title","Click for field info",1,"material-icons","info-icon",3,"click"],["appearance","outline",1,"validation-input","mb-8"],["matInput","",3,"input","value","placeholder"],[1,"red-fg","bold","nowrap"],["mat-row",""],[1,"success-icon"],[1,"success-title"],[1,"success-description"],["mat-stroked-button","","matTooltip","Export invalid records to Excel and remove them from processing",1,"nav-button","remove-bad-button",3,"click"],[1,"invoice-container"],[1,"h3","mt-16"],[1,"invoice-summary"],[1,"summary-title"],[1,"summary-stats"],[1,"stat-item"],[1,"stat-label","red-fg"],[1,"stat-number"],[1,"stat-label"],[1,"text-italic","mt-12","pt-8","border-top",2,"color","#758398"],[1,"invoice-details"],[1,"details-header"],[1,"details-body"],[1,"detail-line"],[1,"detail-line","total-line"],[1,"line-description"],[1,"line-amount"],[1,"line-detail"],[1,"payment-section"],["mat-stroked-button","",1,"nav-button","back-button",3,"click","disabled"],["label","Pay with ACH"],[1,"payment-summary"],[1,"summary-header"],[1,"summary-icon"],[1,"summary-subtitle"],[1,"amount-display"],[1,"amount-label"],[1,"amount-value"],[1,"stripe-form-container"],[1,"form-header"],[1,"form-title"],[1,"form-subtitle"],["btnText","Pay & Submit Registrations","description","Indiv
1idual Registration Fee",3,"paymentCallBack","amount","stripeAccountID","loading","buttonDisabled","fullView"],["label","Pay with Credit Card"],["btnText","Pay & Submit Registrations","description","Individual Registration Fee",3,"paymentCallBack","amount","cards","loading","buttonDisabled","fullView"],[1,"confirmation-container"],[1,"success-celebration"],[1,"celebration-icon"],[1,"completion-summary"],[1,"next-steps"],[1,"next-steps-button",3,"click"],[1,"summary-body"],[1,"payment-details"],[1,"payment-row"],[1,"payment-label"],[1,"payment-value"],[1,"payment-value","amount"],[1,"payment-value","status"],[1,"field-info-container"],[1,"field-info-header"],[1,"field-info-title"],[1,"material-icons","field-icon"],[1,"required-badge"],["mat-icon-button","",1,"close-button",3,"click"],[1,"material-icons"],[1,"field-info-content"],[1,"field-description"],[1,"field-details"],[1,"field-info-footer"],["mat-raised-button","","color","primary",1,"got-it-button",3,"click"],[1,"detail-section"],[1,"detail-label","mb-12"],[1,"allowed-values"],[1,"value-chip","text-capitalize"],[1,"primary","h4","mt-32","py-16","text-center"],[1,"table-bordered-dark","w-100-p","allowed-values-table"],["colspan","7",1,"section-header","blue-200","py-12"],[1,"px-12"],[1,"category"],[1,"px-8","text-center"],[1,"empty-cell"],["colspan","7",1,"section-header","pink-200","py-12"],[2,"text-align","center","color","#666","font-size","14px"],[1,"my-8"],["colspan","8",1,"section-header","blue-200","py-12"],["colspan","2",1,"empty-cell"],["colspan","8",1,"section-header","pink-200","py-12"],["colspan","5",1,"empty-cell"],["colspan","8",1,"section-header","teal-200","py-12"]],template:function(r,o){if(r&1){let c=P();n(0,"div",4),m(1,"page-header",5)(2,"ngx-ui-loader",6),n(3,"div",7)(4,"span"),i(5,"### IR Upload ####"),e(),n(6,"button",8),h("click",function(){return f(c),C(o.openUploadHistory())}),n(7,"mat-icon"),i(8,"history"),e(),i(9," Upload History "),e()(),n(10,"div",9)(11,"mat-horizontal-stepper",10,0),h("selectionChange",function(x){return f(c),C(o.onStepChange(x))}),n(13,"mat-step",11),E(14,Wt,2,1,"ng-template",12),e(),n(15,"mat-step",11),E(16,$t,2,1,"ng-template",12),e(),n(17,"mat-step",11),E(18,Yt,1,0,"ng-template",12),e(),n(19,"mat-step",11),E(20,jt,1,0,"ng-template",12),e(),n(21,"mat-step",11),E(22,Ht,1,0,"ng-template",12),e(),n(23,"mat-step",11),E(24,Gt,1,0,"ng-template",12),e(),E(25,Qt,2,0,"ng-template",13)(26,Zt,2,1,"ng-template",14),e(),g(27,fn,20,3,"div",15),g(28,Fn,37,7,"div",15),g(29,Jn,51,12,"div",15),g(30,mi,16,6,"div",15),g(31,gi,17,2,"div",15),g(32,fi,25,3,"div",15),e()(),E(33,Pi,1,1,"ng-template",null,1,le)}r&2&&(l(),v("hideBanner",!0),l(10),v("selectedIndex",o.currentStep)("linear",!1),l(2),v("completed",o.isStepCompleted(o.WorkflowStep.Upload))("editable",o.isStepEditable(o.WorkflowStep.Upload))("state",o.getStepState(o.WorkflowStep.Upload)),l(2),v("completed",o.isStepCompleted(o.WorkflowStep.Mapping))("editable",o.isStepEditable(o.WorkflowStep.Mapping))("state",o.getStepState(o.WorkflowStep.Mapping)),l(2),v("completed",o.isStepCompleted(o.WorkflowStep.Validation))("editable",o.isStepEditable(o.WorkflowStep.Validation))("state",o.getStepState(o.WorkflowStep.Validation)),l(2),v("completed",o.isStepCompleted(o.WorkflowStep.Invoice))("editable",o.isStepEditable(o.WorkflowStep.Invoice))("state",o.getStepState(o.WorkflowStep.Invoice)),l(2),v("completed",o.isStepCompleted(o.WorkflowStep.Payment))("editable",o.isStepEditable(o.WorkflowStep.Payment))("state",o.getStepState(o.WorkflowStep.Payment)),l(2),v("completed",o.isStepCompleted(o.WorkflowStep.Confirmation))("editable",o.isStepEditable(o.WorkflowStep.Confirmation))("state",o.getStepState(o.WorkflowStep.Confirmation)),l(4),u(o.currentStep===o.WorkflowStep.Upload?27:-1),l(),u(o.currentStep===o.WorkflowStep.Mapping?28:-1),l(),u(o.currentStep===o.WorkflowStep.Validation?29:-1),l(),u(o.currentStep===o.WorkflowStep.Invoice?30:-1),l(),u(o.currentStep===o.WorkflowStep.Payment?31:-1),l(),u(o.currentStep===o.WorkflowStep.Confirmation?32:-1))},dependencies:[me,ce,ue,pe,ge,_e,ve,he,xe,Ke,He,Qe,Xe,Je,Ze,Ge,we,Ee,pt,nt,ot,dt,at,it,ct,rt,lt,st,mt,xt,$,$e,Se,Me,Pe,We,Le,Ne,Oe,ke,ye,Re,Ie,St,Mt,vt,Pt,bt,be,je,Ye,tt,Ue,qe,Be,Te,gt,et,Ae,Ot,Ct,_t,ft,se],styles:[`[_ngcontent-%COMP%]:root{--rp-nav
1y-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)}.upload-type-bar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 24px;font-size:1.75rem;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:#fff;position:sticky;top:0;z-index:100}.upload-type-bar.ir-bar[_ngcontent-%COMP%]{background:#1976d2}.upload-type-bar[_ngcontent-%COMP%]   .history-btn[_ngcontent-%COMP%]{color:#fff;border-color:#ffffffb3;font-size:.95rem;font-weight:600;text-transform:none;letter-spacing:0}.bulk-reg-container[_ngcontent-%COMP%]{width:100%;margin:0 auto;padding:16px;min-height:80vh;background-color:#fff}.step-container[_ngcontent-%COMP%]{margin-bottom:32px}.step-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]{border-radius:12px;box-shadow:0 4px 20px #00000014;border:1px solid rgba(0,0,0,.06);overflow:hidden}.step-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]   mat-card-header[_ngcontent-%COMP%]{background:linear-gradient(135deg,#0f4c90,#1976d2);color:#fff;padding:32px 24px 24px;margin:0;border-radius:0;position:relative}.step-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]   mat-card-header[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');opacity:.3}.step-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]   mat-card-header[_ngcontent-%COMP%]   mat-card-title[_ngcontent-%COMP%]{font-size:1.75rem!important;font-weight:700!important;letter-spacing:.5px;display:flex;align-items:center;gap:16px;margin:0;color:#fff!important;text-shadow:0 2px 4px rgba(0,0,0,.2);position:relative;z-index:1}.step-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]   mat-card-header[_ngcontent-%COMP%]   mat-card-title[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:36px;width:48px;height:48px;background:#ffffff26;border-radius:50%;padding:8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.step-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]   mat-card-header[_ngcontent-%COMP%]   mat-card-subtitle[_ngcontent-%COMP%]{font-size:1rem;margin-top:12px;color:#ffffffe6!important;font-weight:400;position:relative;z-index:1}.step-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]   mat-card-content[_ngcontent-%COMP%]{padding:32px 24px;background:#fff}.file-upload-area[_ngcontent-%COMP%]{border:2px dashed #e0e7ff;border-radius:16px;padding:48px 32px;text-align:center;transition:all .3s cubic-bezier(.4,0,.2,1);background:linear-gradient(135deg,#f8faff,#f0f4ff);position:relative;overflow:hidden}.file-upload-area[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:-2px;background:linear-gradient(45deg,#1976d2,#42a5f5,#1976d2);border-radius:16px;opacity:0;transition:opacity .3s ease;z-index:-1}.file-upload-area[_ngcontent-%COMP%]   .material-icons[_ngcontent-%COMP%]{margin-bottom:16px;filter:drop-shadow(0 2px 4px rgba(25,118,210,.2))}.file-upload-area[_ngcontent-%COMP%]   .centered-icon[_ngcontent-%COMP%]{display:block;text-align:center}.file-upload-area[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.375rem;font-weight:600;color:#2d3748;margin:16px 0 12px;line-height:1.4}.file-upload-area[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#64748b;font-size:1rem;margin:12px 0;font-weight:400}.file-upload-area[_ngcontent-%COMP%]   p.text-muted[_ngcontent-%COMP%]{font-size:.875rem;color:#94a3b8}.file-upload-area[_ngcontent-%COMP%]   button.primary.btn-lg[_ngcontent-%COMP%]{font-size:1.1rem;font-weight:600;padding:16px 32px;margin:24px 0 16px;border-radius:12px;box-shadow:0 4px 12px #1976d24d;transition:all .3s ease;text-transform:none;letter-spacing:.25px}.file-upload-area[_ngcontent-%COMP%]   button.primary.btn-lg[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 6px 20px #1976d266}.file-upload-area[_ngcontent-%COMP%]:hover{border-color:#1976d2;background:linear-gradient(135deg,#f0f4ff,#e8f2ff);transform:translateY(-2px);box-shadow:0 8px 25px #1976d226}.file-upload-area[_ngcontent-%COMP%]:hover:before{opacity:.1}.file-upload-area.dragover[_ngcontent-%COMP%]{border-color:#1976d2;background:linear-gradient(135deg,#e8f2ff,#dbeafe);transform:scale(1.02)}.file-upload-area.dragover[_ngcontent-%COMP%]:before{opacity:.2}.template-download-section[_ngcontent-%COMP%]{margin-bottom:32px}.template-download-section[_ngcontent-%COMP%]   button[mat-stroked-button][_ngcontent-%COMP%]{border:2px solid #1976d2;color:#1976d2;font-weight:600;padding:12px 24px;border-radius:12px;transition:all .3s ease;background:#1976d205}.template-download-section[_ngcontent-%COMP%]   button[mat-stroked-button][_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:8px}.template-download-section[_ngcontent-%COMP%]   button[mat-stroked-button][_ngcontent-%COMP%]:hover{background:#1976d214;transform:translateY(-1px);box-shadow:0 4px 12px #1976d233}.template-download-section[_ngcontent-%COMP%]   .template-description[_ngcontent-%COMP%]{font-size:.9rem;color:#64748b;margin-top:12px;font-style:italic}.unmapped-fields-warning[_ngcontent-%COMP%]{background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid #f59e0b;border-radius:12px;padding:20px 24px;margin-bottom:24px;position:relative;overflow:hidden;box-shadow:0 4px 12px #f59e0b26}.unmapped-fields-warning[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="warning-pattern" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M7.5 0 L15 15 L0 15 Z" fill="none" stroke="rgba(245,158,11,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23warning-pattern)"/></svg>');opacity:.4}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;margin-bottom:12px;position:relative;z-index:1}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-header[_ngcontent-%COMP%]   .warning-icon[_ngcontent-%COMP%]{font-size:28px;color:#d97706;filter:drop-shadow(0 2px 4px rgba(217,119,6,.3));animation:_ngcontent-%COMP%_warningPulse 2s ease-in-out infinite}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-header[_ngcontent-%COMP%]   .warning-title[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:700;color:#92400e;margin:0;letter-spacing:.25px}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-content[_ngcontent-%COMP%]{position:relative;z-index:1}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-content[_ngcontent-%COMP%]   .warning-message[_ngcontent-%COMP%]{font-size:.95rem;color:#a16207;font-weight:500;margin-bottom:16px;line-height:1.5}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-content[_ngcontent-%COMP%]   .unmapped-fields-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-content[_ngcontent-%COMP%]   .unmapped-fields-list[_ngcontent-%COMP%]   .unmapped-field-item[_ngcontent-%COMP%]{background:#fffc;border:1px solid #f59e0b;border-radius:20px;padding:6px 14px;font-size:.875rem;font-weight:600;color:#92400e;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .3s ease;position:relative}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-content[_ngcontent-%COMP%]   .unmapped-fields-list[_ngcontent-%COMP%]   .unmapped-field-item[_ngcontent-%COMP%]:hover{background:#fffffff2;transform:translateY(-1px);box-shadow:0 2px 8px #f59e0b40}@keyframes _ngcontent-%COMP%_warningPulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.8}}@media(max-width:768px){.unmapped-fields-warning[_ngcontent-%COMP%]{padding:16px 20px;margin-bottom:20px}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-header[_ngcontent-%COMP%]{gap:10px;margin-bottom:10px}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-header[_ngcontent-%COMP%]   .warning-icon[_ngcontent-%COMP%]{font-size:24px}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-header[_ngcontent-%COMP%]   .warning-title[_ngcontent-%COMP%]{font-size:1rem}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-content[_ngcontent-%COMP%]   .warning-message[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:12px}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-content[_ngcontent-%COMP%]   .unmapped-fields-list[_ngcontent-%COMP%]{gap:6px}.unmapped-fields-warning[_ngcontent-%COMP%]   .warning-content[_ngcontent-%COMP%]   .unmapped-fields-list[_ngcontent-%COMP%]   .unmapped-field-item[_ngcontent-%COMP%]{padding:4px 10px;font-size:.8rem}}.validation-success-section[_ngcontent-%COMP%]{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #e0e7ff;border-radius:8px;padding:20px 24px;margin:20px 0;text-align:center}.validation-success-section[_ngcontent-%COMP%]   .success-icon[_ngcontent-%COMP%]{color:#059669;font-size:48px;width:64px;
1height:64px;filter:drop-shadow(0 2px 4px rgba(5,150,105,.2))}.validation-success-section[_ngcontent-%COMP%]   .success-title[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:600;color:#0f172a;margin-bottom:4px;letter-spacing:.15px}.validation-success-section[_ngcontent-%COMP%]   .success-description[_ngcontent-%COMP%]{font-size:.875rem;color:#64748b;font-weight:400;margin:0}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]{background:#f8fafc;border-top:1px solid #e2e8f0;margin:0 -24px -24px;padding:20px 24px;border-radius:0 0 12px 12px}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:16px;margin-bottom:24px}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]   .nav-button[_ngcontent-%COMP%]{min-width:140px;height:48px;border-radius:12px;font-weight:600;font-size:1rem;letter-spacing:.25px;transition:all .3s cubic-bezier(.4,0,.2,1)}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]   .nav-button.back-button[_ngcontent-%COMP%]{background:#47556914;border:2px solid #e2e8f0;color:#475569}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]   .nav-button.back-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:8px;font-size:1.2rem}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]   .nav-button.back-button[_ngcontent-%COMP%]:hover{background:#4755691f;border-color:#cbd5e1;transform:translate(-2px);box-shadow:-4px 4px 12px #47556926}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]   .nav-button.remove-bad-button[_ngcontent-%COMP%]{background:#ff6f0014;border:2px solid #ffcc80;color:#e65100}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]   .nav-button.remove-bad-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:8px;font-size:1.2rem}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]   .nav-button.remove-bad-button[_ngcontent-%COMP%]:hover{background:#ff6f001f;border-color:#ff9800;transform:translateY(-2px);box-shadow:0 6px 16px #e6510033}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]   .nav-button.primary-button[_ngcontent-%COMP%]{background:linear-gradient(135deg,#1976d2,#1565c0);border:2px solid transparent;color:#fff;box-shadow:0 4px 12px #1976d24d}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]   .nav-button.primary-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-left:8px;font-size:1.2rem}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]   .nav-button.primary-button[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 6px 20px #1976d266}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]   .nav-button.primary-button[_ngcontent-%COMP%]:disabled{background:#e2e8f0;border-color:#e2e8f0;color:#94a3b8;box-shadow:none;transform:none;cursor:not-allowed}@media(max-width:768px){mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]{margin:0 -16px -24px;padding:16px}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]{flex-direction:column;gap:12px}mat-card[_ngcontent-%COMP%]   mat-card-footer[_ngcontent-%COMP%]   .step-navigation[_ngcontent-%COMP%]   .nav-button[_ngcontent-%COMP%]{width:100%;max-width:280px}.validation-success-section[_ngcontent-%COMP%]{padding:16px 20px;margin:16px 0}.validation-success-section[_ngcontent-%COMP%]   .success-icon[_ngcontent-%COMP%]{font-size:1.75rem;margin-bottom:6px}.validation-success-section[_ngcontent-%COMP%]   .success-title[_ngcontent-%COMP%]{font-size:1rem}.validation-success-section[_ngcontent-%COMP%]   .success-description[_ngcontent-%COMP%]{font-size:.8rem}}.mapping-table[_ngcontent-%COMP%]{margin-top:16px;height:50vh;overflow:auto}.mapping-table[_ngcontent-%COMP%]   .mapping-header[_ngcontent-%COMP%]{background-color:#f5f5f5;font-weight:500}.mapping-table[_ngcontent-%COMP%]   .unmapped-row[_ngcontent-%COMP%]{background-color:#0000000d}.mapping-table[_ngcontent-%COMP%]   .mapped-row[_ngcontent-%COMP%]{background-color:#43d9480d}.issue-row[_ngcontent-%COMP%]{background-color:#ffc1071a}.error-cell[_ngcontent-%COMP%]{border-left:3px solid #f44336;background-color:#f443360d}.warning-cell[_ngcontent-%COMP%]{border-left:3px solid #ff9800;background-color:#ff98004d}.validation-table[_ngcontent-%COMP%]{overflow-x:auto}.validation-table[_ngcontent-%COMP%]   .validation-header[_ngcontent-%COMP%]{background-color:#f5f5f5;font-weight:500;position:sticky;top:0;z-index:10}.validation-table[_ngcontent-%COMP%]   .validation-header[_ngcontent-%COMP%]   .required-indicator[_ngcontent-%COMP%]{color:#f44336;font-weight:700}.validation-table[_ngcontent-%COMP%]   .row-number-header[_ngcontent-%COMP%]{background-color:#e3f2fd;font-weight:600;position:sticky;top:0;z-index:10;width:80px;min-width:80px;max-width:80px}.validation-table[_ngcontent-%COMP%]   .row-number-cell[_ngcontent-%COMP%]{background-color:#f8f9fa;font-weight:500;text-align:center;border-right:1px solid #dee2e6;width:80px;min-width:80px;max-width:80px}.validation-table[_ngcontent-%COMP%]   .missing-required-row[_ngcontent-%COMP%]{background-color:#fff1f2b3}.validation-table[_ngcontent-%COMP%]   .missing-required-row[_ngcontent-%COMP%]:hover{background-color:#fff1f2e6}.validation-table[_ngcontent-%COMP%]   .validation-input[_ngcontent-%COMP%]{width:100%;min-width:150px}
1.validation-table[_ngcontent-%COMP%]   .validation-input[_ngcontent-%COMP%]   .mat-mdc-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:0}.validation-table[_ngcontent-%COMP%]   .validation-input[_ngcontent-%COMP%]   .mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:40px}.validation-table[_ngcontent-%COMP%]   .validation-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:14px}.validation-table[_ngcontent-%COMP%]   .validation-input[_ngcontent-%COMP%]   input.error-input[_ngcontent-%COMP%]{border-color:#f44336;background-color:#f443360d}.validation-table[_ngcontent-%COMP%]   .validation-input[_ngcontent-%COMP%]   input.required-input[_ngcontent-%COMP%]{border-color:#ff9800;background-color:#ff98000d}.validation-table[_ngcontent-%COMP%]   .error-cell[_ngcontent-%COMP%]{border-left:3px solid #f44336!important;background:#f4433644}.validation-table[_ngcontent-%COMP%]   .required-cell[_ngcontent-%COMP%]{border-left:3px solid #ff9800}.validation-table[_ngcontent-%COMP%]   .filled-cell[_ngcontent-%COMP%]{background:#31ec7f26}.validation-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{min-width:100%}.orange-fg[_ngcontent-%COMP%]{color:#ff9800!important}.invoice-container[_ngcontent-%COMP%]{max-width:500px;margin:0 auto}.invoice-container[_ngcontent-%COMP%]   .invoice-summary[_ngcontent-%COMP%]{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;padding:24px;margin-bottom:20px}.invoice-container[_ngcontent-%COMP%]   .invoice-summary[_ngcontent-%COMP%]   .summary-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;color:#475569;margin-bottom:16px;display:flex;align-items:center;gap:8px}.invoice-container[_ngcontent-%COMP%]   .invoice-summary[_ngcontent-%COMP%]   .summary-title[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#64748b;font-size:1.125rem}.invoice-container[_ngcontent-%COMP%]   .invoice-summary[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]{display:flex;justify-content:space-around;gap:16px}.invoice-container[_ngcontent-%COMP%]   .invoice-summary[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]   .stat-item[_ngcontent-%COMP%]{text-align:center;flex:1}.invoice-container[_ngcontent-%COMP%]   .invoice-summary[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]   .stat-item[_ngcontent-%COMP%]   .stat-number[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;color:#1e293b;display:block;margin-bottom:4px}.invoice-container[_ngcontent-%COMP%]   .invoice-summary[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]   .stat-item[_ngcontent-%COMP%]   .stat-label[_ngcontent-%COMP%]{font-size:.8rem;color:#64748b;font-weight:500}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-header[_ngcontent-%COMP%]{background:#f8fafc;padding:16px 20px;border-bottom:1px solid #e2e8f0}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;color:#374151;margin:0;display:flex;align-items:center;gap:8px}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#6b7280;font-size:1.125rem}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-body[_ngcontent-%COMP%]   .detail-line[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid #f3f4f6}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-body[_ngcontent-%COMP%]   .detail-line[_ngcontent-%COMP%]:last-child{border-bottom:none}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-body[_ngcontent-%COMP%]   .detail-line[_ngcontent-%COMP%]   .line-description[_ngcontent-%COMP%]{color:#374151;font-size:.9rem}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-body[_ngcontent-%COMP%]   .detail-line[_ngcontent-%COMP%]   .line-description[_ngcontent-%COMP%]   .line-detail[_ngcontent-%COMP%]{font-size:.75rem;color:#9ca3af;margin-top:2px}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-body[_ngcontent-%COMP%]   .detail-line[_ngcontent-%COMP%]   .line-amount[_ng
1content-%COMP%]{font-weight:600;color:#111827;font-size:.9rem}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-body[_ngcontent-%COMP%]   .detail-line.total-line[_ngcontent-%COMP%]{background:#f9fafb;border-bottom:none;border-top:2px solid #e5e7eb}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-body[_ngcontent-%COMP%]   .detail-line.total-line[_ngcontent-%COMP%]   .line-description[_ngcontent-%COMP%]{font-weight:700;color:#111827;font-size:1rem}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-body[_ngcontent-%COMP%]   .detail-line.total-line[_ngcontent-%COMP%]   .line-amount[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700;color:#1976d2}@media(max-width:768px){.invoice-container[_ngcontent-%COMP%]   .invoice-summary[_ngcontent-%COMP%]{padding:20px 16px}.invoice-container[_ngcontent-%COMP%]   .invoice-summary[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]{gap:12px}.invoice-container[_ngcontent-%COMP%]   .invoice-summary[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]   .stat-item[_ngcontent-%COMP%]   .stat-number[_ngcontent-%COMP%]{font-size:1.25rem}.invoice-container[_ngcontent-%COMP%]   .invoice-summary[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]   .stat-item[_ngcontent-%COMP%]   .stat-label[_ngcontent-%COMP%]{font-size:.75rem}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-header[_ngcontent-%COMP%]{padding:14px 16px}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-body[_ngcontent-%COMP%]   .detail-line[_ngcontent-%COMP%]{padding:12px 16px}.invoice-container[_ngcontent-%COMP%]   .invoice-details[_ngcontent-%COMP%]   .details-body[_ngcontent-%COMP%]   .detail-line.total-line[_ngcontent-%COMP%]   .line-amount[_ngcontent-%COMP%]{font-size:1.1rem}}.payment-section[_ngcontent-%COMP%]{width:100%;max-width:500px;margin:0 auto}.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]{background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border:1px solid #22c55e;border-radius:12px;padding:24px;margin-bottom:32px;text-align:center;position:relative;overflow:hidden}.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="payment-dots" width="15" height="15" patternUnits="userSpaceOnUse"><circle cx="7.5" cy="7.5" r="0.8" fill="rgba(34,197,94,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23payment-dots)"/></svg>');opacity:.5}.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]   .summary-header[_ngcontent-%COMP%]{position:relative;z-index:1;margin-bottom:20px}.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]   .summary-header[_ngcontent-%COMP%]   .summary-icon[_ngcontent-%COMP%]{font-size:48px;color:#16a34a;margin-bottom:8px;width:64px;height:64px;filter:drop-shadow(0 2px 4px rgba(22,163,74,.3))}.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]   .summary-header[_ngcontent-%COMP%]   .summary-title[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:700;color:#14532d;margin:0}.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]   .summary-header[_ngcontent-%COMP%]   .summary-subtitle[_ngcontent-%COMP%]{font-size:.875rem;color:#16a34a;margin-top:4px;font-weight:500}.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]   .amount-display[_ngcontent-%COMP%]{position:relative;z-index:1}.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]   .amount-display[_ngcontent-%COMP%]   .amount-label[_ngcontent-%COMP%]{font-size:.9rem;color:#166534;font-weight:600;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]   .amount-display[_ngcontent-%COMP%]   .amount-value[_ngcontent-%COMP%]{font-size:2.25rem;font-weight:800;color:#15803d;text-shadow:0 2px 4px rgba(21,128,61,.2)}.payment-section[_ngcontent-%COMP%]   .stripe-form-container[_ngcontent-%COMP%]{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;box-shadow:0 4px 6px #0000000d}.payment-section[_ngcontent-%COMP%]   .stripe-form-container[_ngcontent-%COMP%]   .form-header[_ngcontent-%COMP%]{text-align:center;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #f3f4f6}.payment-section[_ngcontent-%COMP%]   .stripe-form-container[_ngcontent-%COMP%]   .form-header[_ngcontent-%COMP%]   .form-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;color:#374151;margin:0 0 4px;display:flex;align-items:center;justify-content:center;gap:8px}.payment-section[_ngcontent-%COMP%]   .stripe-form-container[_ngcontent-%COMP%]   .form-header[_ngcontent-%COMP%]   .form-title[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#6b7280;font-size:1.125rem}.payment-section[_ngcontent-%COMP%]   .stripe-form-container[_ngcontent-%COMP%]   .form-header[_ngcontent-%COMP%]   .form-subtitle[_ngcontent-%COMP%]{font-size:.8rem;color:#9ca3af;margin:0}@media(max-width:768px){.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]{padding:20px 16px;margin-bottom:24px}.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]   .summary-header[_ngcontent-%COMP%]   .summary-icon[_ngcontent-%COMP%]{font-size:2rem}.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]   .summary-header[_ngcontent-%COMP%]   .summary-title[_ngcontent-%COMP%]{font-size:1rem}.payment-section[_ngcontent-%COMP%]   .payment-summary[_ngcontent-%COMP%]   .amount-display[_ngcontent-%COMP%]   .amount-value[_ngcontent-%COMP%]{font-size:1.875rem}.payment-section[_ngcontent-%COMP%]   .stripe-form-container[_ngcontent-%COMP%]{padding:20px 16px}}.progress-stepper[_ngcontent-%COMP%]{margin-bottom:32px}.error-message[_ngcontent-%COMP%]{color:#f44336;font-size:.875em;margin-top:4px}.success-message[_ngcontent-%COMP%]{color:#4caf50;font-size:1.4em;margin:8px 0}.loading-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background-color:#fffc;display:flex;align-items:center;justify-content:center;z-index:100}@media(max-width:768px){.bulk-reg-container[_ngcontent-%COMP%]{padding:8px}.step-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]   mat-card-header[_ngcontent-%COMP%]{padding:24px 16px 20px}.step-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]   mat-card-header[_ngcontent-%COMP%]   mat-card-title[_ngcontent-%COMP%]{font-size:1.5rem!important;gap:12px}.step-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]   mat-card-header[_ngcontent-%COMP%]   mat-card-title[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:2rem;width:2rem;height:2rem;padding:6px}.step-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]   mat-card-header[_ngcontent-%COMP%]   mat-card-subtitle[_ngcontent-%COMP%]{font-size:.9rem;margin-top:8px}.step-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]   mat-card-content[_ngcontent-%COMP%]{padding:24px 16px}.file-upload-area[_ngcontent-%COMP%]{padding:32px 16px;border-radius:12px}.file-upload-area[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.25rem}.file-upload-area[_ngcontent-%COMP%]   button.primary.btn-lg[_ngcontent-%COMP%]{font-size:1rem;padding:14px 28px;margin:20px 0 12px}.floating-counter[_ngcontent-%COMP%]{bottom:16px;right:16px}.floating-counter[_ngcontent-%COMP%]   .counter-badge[_ngcontent-%COMP%]{min-width:100px;height:36px;line-height:36px;font-size:.875em}.invoice-breakdown[_ngcontent-%COMP%]{padding:12px}}.data-grid[_ngcontent-%COMP%]   .mat-mdc-form-field[_ngcontent-%COMP%]{margin-bottom:-12px}.validation-scoreboard[_ngcontent-%COMP%]   .scoreboard-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background-color:#e5e7eb;border:1px solid #e5e7eb;border-radius:0 0 6px 6px;overflow:hidden;width:50vw;max-width:400px;margin:auto}.validation-scoreboard[_ngcontent-%COMP%]   .score-box[_ngcontent-%COMP%]{background:#fff;display:flex;flex-direction:column;min-height:80px;position:relative}.validation-scoreboard[_ngcontent-%COMP%]   .score-box[_ngcontent-%COMP%]   .score-header[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center;justify-content:center;padding:16px 8px 8px}.validation-scoreboard[_ngcontent-%COMP%]   .score-box[_ngcontent-%COMP%]   .score-header[_ngcontent-%COMP%]   .score-count[_ngcontent-%COMP%]{font-size:1.75rem;font-weight:700;line-height:1}.validation-scoreboard[_ngcontent-%COMP%]   .score-box[_ngcontent-%COMP%]   .score-footer[_ngcontent-%COMP%]{background-color:#f8f9fa;padding:8px 12px;text-align:center;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;border-top:1px solid #e5e7eb}.validation-scoreboard[_ngcontent-%COMP%]   .score-box.uploaded-box[_ngcontent-%COMP%]{border-top:4px solid #2563eb}.validation-scoreboard[_ngcontent-%COMP%]   .score-box.uploaded-box[_ngcontent-%COMP%]   .score-header[_ngcontent-%COMP%]   .score-count[_ngcontent-%COMP%]{color:#2563eb}.validation-scoreboard[_ngcontent-%COMP%]   .score-box.uploaded-box[_ngcontent-%COMP%]   .score-footer[_ngcontent-%COMP%]{color:#1e40af;background-color:#eff6ff}
1.validation-scoreboard[_ngcontent-%COMP%]   .score-box.valid-box[_ngcontent-%COMP%]{border-top:4px solid #16a34a}.validation-scoreboard[_ngcontent-%COMP%]   .score-box.valid-box[_ngcontent-%COMP%]   .score-header[_ngcontent-%COMP%]   .score-count[_ngcontent-%COMP%]{color:#16a34a}.validation-scoreboard[_ngcontent-%COMP%]   .score-box.valid-box[_ngcontent-%COMP%]   .score-footer[_ngcontent-%COMP%]{color:#15803d;background-color:#f0fdf4}.validation-scoreboard[_ngcontent-%COMP%]   .score-box.error-box[_ngcontent-%COMP%]{border-top:4px solid #dc2626}.validation-scoreboard[_ngcontent-%COMP%]   .score-box.error-box[_ngcontent-%COMP%]   .score-header[_ngcontent-%COMP%]   .score-count[_ngcontent-%COMP%]{color:#dc2626}.validation-scoreboard[_ngcontent-%COMP%]   .score-box.error-box[_ngcontent-%COMP%]   .score-footer[_ngcontent-%COMP%]{color:#b91c1c;background-color:#fef2f2}.validation-scoreboard[_ngcontent-%COMP%]   .score-box.warning-box[_ngcontent-%COMP%]{border-top:4px solid #ea580c}.validation-scoreboard[_ngcontent-%COMP%]   .score-box.warning-box[_ngcontent-%COMP%]   .score-header[_ngcontent-%COMP%]   .score-count[_ngcontent-%COMP%]{color:#ea580c}.validation-scoreboard[_ngcontent-%COMP%]   .score-box.warning-box[_ngcontent-%COMP%]   .score-footer[_ngcontent-%COMP%]{color:#c2410c;background-color:#fff7ed}@media(max-width:768px){.validation-scoreboard[_ngcontent-%COMP%]   .scoreboard-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);gap:1px}.validation-scoreboard[_ngcontent-%COMP%]   .score-box[_ngcontent-%COMP%]{min-height:70px}.validation-scoreboard[_ngcontent-%COMP%]   .score-box[_ngcontent-%COMP%]   .score-header[_ngcontent-%COMP%]{padding:12px 8px 6px}.validation-scoreboard[_ngcontent-%COMP%]   .score-box[_ngcontent-%COMP%]   .score-header[_ngcontent-%COMP%]   .score-count[_ngcontent-%COMP%]{font-size:1.5rem}.validation-scoreboard[_ngcontent-%COMP%]   .score-box[_ngcontent-%COMP%]   .score-footer[_ngcontent-%COMP%]{padding:6px 8px;font-size:.7rem}}@media(max-width:480px){.validation-scoreboard[_ngcontent-%COMP%]   .scoreboard-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}.confirmation-container[_ngcontent-%COMP%]{max-width:600px;margin:0 auto;text-align:center}.confirmation-container[_ngcontent-%COMP%]   .success-celebration[_ngcontent-%COMP%]{background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border:2px solid #22c55e;border-radius:16px;padding:48px 32px;margin-bottom:32px;position:relative;overflow:hidden}.confirmation-container[_ngcontent-%COMP%]   .success-celebration[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="success-stars" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(34,197,94,0.15)"/><circle cx="5" cy="5" r="0.5" fill="rgba(34,197,94,0.1)"/><circle cx="15" cy="15" r="0.5" fill="rgba(34,197,94,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23success-stars)"/></svg>');opacity:.6}.confirmation-container[_ngcontent-%COMP%]   .success-celebration[_ngcontent-%COMP%]   .celebration-icon[_ngcontent-%COMP%]{font-size:48px;width:64px;height:64px;color:#16a34a;margin-bottom:8px;filter:drop-shadow(0 4px 8px rgba(22,163,74,.3));position:relative;z-index:1;animation:_ngcontent-%COMP%_celebrationBounce 2s ease-in-out infinite}.confirmation-container[_ngcontent-%COMP%]   .success-celebration[_ngcontent-%COMP%]   .success-title[_ngcontent-%COMP%]{font-size:2rem;font-weight:800;color:#14532d;margin-bottom:12px;position:relative;z-index:1;text-shadow:0 2px 4px rgba(20,83,45,.1)}.confirmation-container[_ngcontent-%COMP%]   .success-celebration[_ngcontent-%COMP%]   .success-message[_ngcontent-%COMP%]{font-size:1.125rem;color:#16a34a;font-weight:500;position:relative;z-index:1;margin:0}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;margin-bottom:32px;box-shadow:0 4px 6px #0000000d}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-header[_ngcontent-%COMP%]{background:linear-gradient(135deg,#f8fafc,#f1f5f9);padding:20px 24px;border-bottom:1px solid #e5e7eb}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-header[_ngcontent-%COMP%]   .summary-title[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:700;color:#374151;margin:0;display:flex;align-items:center;justify-content:center;gap:8px}
1.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-header[_ngcontent-%COMP%]   .summary-title[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#6b7280;font-size:1.25rem}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]{padding:24px}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]   .stat-item[_ngcontent-%COMP%]{text-align:center}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]   .stat-item[_ngcontent-%COMP%]   .stat-number[_ngcontent-%COMP%]{font-size:2rem;font-weight:800;color:#1e293b;display:block;margin-bottom:4px}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]   .stat-item[_ngcontent-%COMP%]   .stat-label[_ngcontent-%COMP%]{font-size:.875rem;color:#64748b;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .payment-details[_ngcontent-%COMP%]{border-top:1px solid #f3f4f6;padding-top:20px}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .payment-details[_ngcontent-%COMP%]   .payment-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .payment-details[_ngcontent-%COMP%]   .payment-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .payment-details[_ngcontent-%COMP%]   .payment-row[_ngcontent-%COMP%]   .payment-label[_ngcontent-%COMP%]{font-size:.95rem;color:#374151;font-weight:500}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .payment-details[_ngcontent-%COMP%]   .payment-row[_ngcontent-%COMP%]   .payment-value[_ngcontent-%COMP%]{font-weight:700;color:#1e293b}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .payment-details[_ngcontent-%COMP%]   .payment-row[_ngcontent-%COMP%]   .payment-value.amount[_ngcontent-%COMP%]{font-size:1.125rem;color:#059669}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .payment-details[_ngcontent-%COMP%]   .payment-row[_ngcontent-%COMP%]   .payment-value.status[_ngcontent-%COMP%]{color:#16a34a;background:#dcfce7;padding:4px 12px;border-radius:20px;font-size:.8rem;text-transform:uppercase;letter-spacing:.5px}.confirmation-container[_ngcontent-%COMP%]   .next-steps[_ngcontent-%COMP%]   .next-steps-button[_ngcontent-%COMP%]{background:linear-gradient(135deg,#1976d2,#1565c0);color:#fff;font-weight:700;font-size:1.125rem;padding:16px 32px;border-radius:12px;box-shadow:0 4px 12px #1976d24d;transition:all .3s ease;border:none;cursor:pointer}.confirmation-container[_ngcontent-%COMP%]   .next-steps[_ngcontent-%COMP%]   .next-steps-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-left:8px;font-size:1.25rem}.confirmation-container[_ngcontent-%COMP%]   .next-steps[_ngcontent-%COMP%]   .next-steps-button[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 6px 20px #1976d266}@keyframes _ngcontent-%COMP%_celebrationBounce{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-10px) scale(1.05)}}@media(max-width:768px){.confirmation-container[_ngcontent-%COMP%]   .success-celebration[_ngcontent-%COMP%]{padding:32px 20px;margin-bottom:24px}
1.confirmation-container[_ngcontent-%COMP%]   .success-celebration[_ngcontent-%COMP%]   .celebration-icon[_ngcontent-%COMP%]{font-size:3rem}.confirmation-container[_ngcontent-%COMP%]   .success-celebration[_ngcontent-%COMP%]   .success-title[_ngcontent-%COMP%]{font-size:1.5rem}.confirmation-container[_ngcontent-%COMP%]   .success-celebration[_ngcontent-%COMP%]   .success-message[_ngcontent-%COMP%]{font-size:1rem}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-header[_ngcontent-%COMP%]{padding:16px 20px}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]{padding:20px 16px}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:16px}.confirmation-container[_ngcontent-%COMP%]   .completion-summary[_ngcontent-%COMP%]   .summary-body[_ngcontent-%COMP%]   .summary-stats[_ngcontent-%COMP%]   .stat-item[_ngcontent-%COMP%]   .stat-number[_ngcontent-%COMP%]{font-size:1.75rem}.confirmation-container[_ngcontent-%COMP%]   .next-steps[_ngcontent-%COMP%]   .next-steps-button[_ngcontent-%COMP%]{width:100%;max-width:280px}}.option-content[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%}.option-content[_ngcontent-%COMP%]   .field-info[_ngcontent-%COMP%]{flex:1}.option-content[_ngcontent-%COMP%]   .mapped-indicator[_ngcontent-%COMP%]{color:#4caf50;font-weight:700;font-size:1.1rem;margin-right:8px}.info-icon[_ngcontent-%COMP%]{font-size:16px;color:#1976d2;cursor:pointer;vertical-align:middle;margin-left:4px;padding:2px;border-radius:50%;transition:all .2s ease}.info-icon[_ngcontent-%COMP%]:hover{color:#1565c0;background:#1976d21a;transform:scale(1.1)}.info-icon[_ngcontent-%COMP%]:active{transform:scale(.95)}.field-info-container[_ngcontent-%COMP%]{padding:0;max-width:100%}.field-info-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start;padding:20px 24px 16px;background:linear-gradient(135deg,#1976d2,#1565c0);color:#fff;position:relative}.field-info-header[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="info-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23info-grid)"/></svg>');opacity:.3}.field-info-header[_ngcontent-%COMP%]   .field-info-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.field-info-header[_ngcontent-%COMP%]   .field-info-title[_ngcontent-%COMP%]   .field-icon[_ngcontent-%COMP%]{font-size:28px;background:#ffffff26;border-radius:50%;padding:8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.field-info-header[_ngcontent-%COMP%]   .field-info-title[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0;font-size:1.25rem;font-weight:600;text-shadow:0 1px 3px rgba(0,0,0,.2)}.field-info-header[_ngcontent-%COMP%]   .field-info-title[_ngcontent-%COMP%]   .required-badge[_ngcontent-%COMP%]{background:#f44336;color:#fff;padding:4px 8px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.field-info-header[_ngcontent-%COMP%]   .close-button[_ngcontent-%COMP%]{color:#ffffffe6;position:relative;z-index:1}.field-info-header[_ngcontent-%COMP%]   .close-button[_ngcontent-%COMP%]:hover{background:#ffffff1a;color:#fff}.field-info-content[_ngcontent-%COMP%]{padding:8px 12px;background:#fff}.field-info-content[_ngcontent-%COMP%]   .field-description[_ngcontent-%COMP%]{margin-bottom:20px}.field-info-content[_ngcontent-%COMP%]   .field-description[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1rem;color:#374151;line-height:1.6;margin:0}.field-info-content[_ngcontent-%COMP%]   .field-details[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]:last-child{margin-bottom:0}
1.field-info-content[_ngcontent-%COMP%]   .field-details[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   .detail-label[_ngcontent-%COMP%]{font-weight:600;color:#6b7280;min-width:80px;font-size:.875rem}.field-info-content[_ngcontent-%COMP%]   .field-details[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   .detail-value[_ngcontent-%COMP%]{color:#1f2937;font-family:Courier New,monospace;background:#f9fafb;padding:4px 8px;border-radius:4px;border:1px solid #e5e7eb;font-size:.875rem}.field-info-content[_ngcontent-%COMP%]   .field-details[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   .allowed-values[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:6px}.field-info-content[_ngcontent-%COMP%]   .field-details[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   .allowed-values[_ngcontent-%COMP%]   .value-chip[_ngcontent-%COMP%]{min-width:200px;text-align:center;background:#dbeafe;color:#1e40af;padding:4px 10px;border-radius:16px;font-size:.8rem;font-weight:500;border:1px solid #93c5fd}.field-info-footer[_ngcontent-%COMP%]{padding:16px 24px 24px;background:#f8fafc;text-align:center}.field-info-footer[_ngcontent-%COMP%]   .got-it-button[_ngcontent-%COMP%]{min-width:120px;border-radius:8px;font-weight:600}.field-info-footer[_ngcontent-%COMP%]   .got-it-button[_ngcontent-%COMP%]   .material-icons[_ngcontent-%COMP%]{margin-right:8px;font-size:18px}[_nghost-%COMP%]     .field-info-backdrop{background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}@media(max-width:768px){.field-info-header[_ngcontent-%COMP%]{padding:16px 20px 12px}.field-info-header[_ngcontent-%COMP%]   .field-info-title[_ngcontent-%COMP%]{gap:10px}.field-info-header[_ngcontent-%COMP%]   .field-info-title[_ngcontent-%COMP%]   .field-icon[_ngcontent-%COMP%]{font-size:24px;padding:6px}.field-info-header[_ngcontent-%COMP%]   .field-info-title[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.125rem}.field-info-content[_ngcontent-%COMP%]{padding:20px}.field-info-footer[_ngcontent-%COMP%]{padding:12px 20px 20px}}.table-bordered-dark[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .table-bordered-dark[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{padding:0 8px!important}.mat-table[_ngcontent-%COMP%]{width:100%;max-width:100%;margin-bottom:1rem;display:table;border-collapse:collapse;margin:0}.mat-row[_ngcontent-%COMP%], .mat-header-row[_ngcontent-%COMP%]{display:table-row}.mat-cell[_ngcontent-%COMP%], .mat-header-cell[_ngcontent-%COMP%]{word-wrap:initial;display:table-cell;padding:0 5px;line-break:unset;width:auto;white-space:nowrap;overflow:hidden;vertical-align:middle}.allowed-values-table[_ngcontent-%COMP%]{width:100%}.allowed-values-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:8px;background-color:#e2e2e2}.allowed-values-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:8px;text-align:center}.allowed-values-table[_ngcontent-%COMP%]   td.category[_ngcontent-%COMP%]{text-align:left;font-weight:600}.allowed-values-table[_ngcontent-%COMP%]   td.empty-cell[_ngcontent-%COMP%]{background-color:#f8f9fa}.season-field[_ngcontent-%COMP%]{width:100%;max-width:400px}.season-selection[_ngcontent-%COMP%]   .historical-banner[_ngcontent-%COMP%], .season-selection[_ngcontent-%COMP%]   .season-selection-warning[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-top:8px;padding:10px 14px;border-radius:8px;background:#fff3e0;border:1px solid #c9922f;color:#9a4a00;font-size:13px;max-width:640px}.season-selection[_ngcontent-%COMP%]   .historical-banner[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], .season-selection[_ngcontent-%COMP%]   .season-selection-warning[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px}.file-upload-area.disabled[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed}`]})}return a})();export{Po as BulkIndvRegComponent,Oi as FIELD_CONFIG,O as WorkflowStep};

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.