1import{a as qt}from"./chunk-RZPVVGXB.js";import{a as _n}from"./chunk-6JHHJMCQ.js";import{a as en}from"./chunk-H4CQSBGZ.js";import{a as Zt}from"./chunk-BPUHLZ3Y.js";import"./chunk-L4XUVTNN.js";import{a as Wt}from"./chunk-DDBSE4NC.js";import{a as jt}from"./chunk-WV3YPHFQ.js";import{h as Ft,j as kt,t as zt}from"./chunk-QZKR2TVA.js";import{a as Bt}from"./chunk-QHHWW4FL.js";import"./chunk-P7CTAEYR.js";import"./chunk-TQLQCDO7.js";import{a as Jt,b as Xt}from"./chunk-QID5TN7J.js";import"./chunk-I2OYWKPA.js";import{b as wt}from"./chunk-UBIYYXVZ.js";import{a as yt,b as bt}from"./chunk-OV5KPFVR.js";import"./chunk-OX3UAJFI.js";import"./chunk-Y5F6K4KB.js";import"./chunk-DLXGYQT4.js";import"./chunk-F7CBQ7KG.js";import{a as ht,b as Ut}from"./chunk-WAAFCDTS.js";import"./chunk-CCJVPWRT.js";import"./chunk-NGXQJGBV.js";import"./chunk-CNGIBGVG.js";import"./chunk-RFQM4XFW.js";import"./chunk-RECJJD54.js";import"./chunk-EIQV63AE.js";import"./chunk-WDNHYQNM.js";import"./chunk-F2GDHKBK.js";import"./chunk-OLYBAA4Q.js";import"./chunk-SYC7BUWF.js";import"./chunk-52DLOCQ3.js";import"./chunk-CH52RHXC.js";import"./chunk-SOWEYTOI.js";import"./chunk-GNHIRYPT.js";import"./chunk-4MENSYXH.js";import"./chunk-ADNAL3LK.js";import"./chunk-KG66MHVC.js";import"./chunk-JPO4ZFNB.js";import"./chunk-BQAQYLFK.js";import"./chunk-7OTYPESL.js";import{a as Qt,b as Kt}from"./chunk-KQUPCJDE.js";import{a as ct}from"./chunk-KK7LXLGV.js";import"./chunk-3Y3LXRNU.js";import"./chunk-6AVFK6UN.js";import"./chunk-7WM7BGBO.js";import{a as Ht}from"./chunk-ZAT55BB4.js";import"./chunk-WJEG2SXN.js";import"./chunk-L5DFVYBU.js";import"./chunk-TTJQD3OO.js";import"./chunk-G62PGNWS.js";import"./chunk-BJVI7ORW.js";import"./chunk-SSW7TM7B.js";import"./chunk-MM2RDNHP.js";import{a as Vt}from"./chunk-5HZXDA73.js";import"./chunk-NSHW32TO.js";import{a as ft,b as Mt}from"./chunk-SJHBX2GD.js";import"./chunk-6V4XAI3M.js";import"./chunk-57S4SVAX.js";import"./chunk-DHEABLLN.js";import"./chunk-PKX7NVD3.js";import"./chunk-M6J4FQTL.js";import{a as xt,b as $t}from"./chunk-E45SLXXQ.js";import{a as vt,b as Yt}from"./chunk-H6AZAZWA.js";import"./chunk-7UW5BPXQ.js";import"./chunk-FJYRGNXY.js";import{a as ut,b as Rt}from"./chunk-A7NTS5Q6.js";import"./chunk-AMZTEPYC.js";import{G as mt,b as Dt,f as Lt,m as pt}from"./chunk-ROP2COTF.js";import"./chunk-6KQH25DO.js";import"./chunk-PTULGWPA.js";import"./chunk-4XRHRN4U.js";import{b as Gt,c as gt}from"./chunk-W2CNBSB4.js";import"./chunk-FHMW37PJ.js";import"./chunk-WLL2EFBG.js";import"./chunk-7C5Z2MCL.js";
1import"./chunk-P22Z6ZTT.js";import"./chunk-JOIIYE7M.js";import"./chunk-ZBKN5QBV.js";import"./chunk-GJAZP64A.js";import"./chunk-HCTJNHWZ.js";import{d as st,g as Nt}from"./chunk-M4DNKIJZ.js";import{c as Ot}from"./chunk-6O4HCS7T.js";import"./chunk-RYV4S6UQ.js";import"./chunk-Y32WCGOJ.js";import{a as Pt}from"./chunk-O2CJX7Q7.js";import"./chunk-F5INSF4B.js";import"./chunk-Y55FB4T6.js";import"./chunk-Q2B37HNE.js";import"./chunk-RXJTDQQ7.js";import{c as dt,d as Tt}from"./chunk-JRLPMACA.js";import"./chunk-GI3YYSLQ.js";import"./chunk-LNVMNFLU.js";import"./chunk-EYSUR4QW.js";import"./chunk-HKDGPWM4.js";import"./chunk-QWZNZSRC.js";import"./chunk-XAIAYX2T.js";import"./chunk-C7XKA4JM.js";import{c as Ct}from"./chunk-O6TDPGUL.js";import"./chunk-2SD4OO7B.js";import"./chunk-TRPIYLMW.js";import"./chunk-QLGKVMTZ.js";import{a as At}from"./chunk-67VOUD7E.js";import"./chunk-PSUATCHU.js";import"./chunk-A7IIHUKU.js";import{ua as rt}from"./chunk-LIXWTT5R.js";import{B as It,D as Et,F as at,n as ot,u as St,z as lt}from"./chunk-QNZW44LV.js";import{Ad as j,Bd as x,Dc as l,Ea as v,Fd as V,Gb as Ze,Gc as u,Ha as qe,Ic as a,Kd as it,Ld as Q,Mb as Y,Nb as X,Sc as b,Tc as k,Uc as Z,Vc as et,Xb as w,Xc as s,Yb as F,Yc as P,Zc as R,cd as __,dd as e_,ed as t_,fc as d,gc as T,hc as _t,jc as h,kc as U,lc as L,ma as f,mc as t,nc as n,oc as A,pb as S,pd as z,qd as tt,rd as nt,sa as p,ta as m,uc as B,xc as g,ya as We,zd as M}from"./chunk-IRDTB3E5.js";import"./chunk-KUMNY75F.js";import"./chunk-QGEGHKGC.js";import"./chunk-27JMNUDZ.js";import"./chunk-UBBI2WOW.js";import"./chunk-DXAW5VNE.js";import{a as W,b as q}from"./chunk-HVUFAEZS.js";var tn=()=>[import("./chunk-SR6UGZTV.js").then(_=>_.ExportParticipantsCsvComponent)],nn=()=>[import("./chunk-XQREEZD3.js").then(_=>_.ExportStandingsCsvComponent)],on=()=>[import("./chunk-N6BPZRDU.js").then(_=>_.CustomEmailComponent)],Sn=(_,i)=>({"flex-col gap-2":_,"flex-row gap-4 justify-between items-center":i}),ln=()=>({}),In=_=>[_],En=()=>({width:"50rem"}),an=()=>({"1199px":"75vw","575px":"90vw"}),y=(_,i)=>i.key;function sn(_,i){_&1&&(t(0,"h2",131),l(1,11),n());}function Nn(_,i){_&1&&(t(0,"h2",131),l(1,12),n());}function rn(_,i){_&1&&(t(0,"h2",131),l(1,13),n());}function dn(_,i){_&1&&(t(0,"h2",131),l(1,14),n());}function Tn(_,i){_&1&&(t(0,"h2",131),l(1,15),n());}function An(_,i){_&1&&B(0);}function Pn(_,i){if(_&1){let e=g();t(0,"p-button",139),u("click",function(){p(e);let I=a(2);return m(I.sendEmails());}),t(1,"div",140),A(2,"i",141),t(3,"p",142),l(4,16),n()()(),t(5,"div",143),Y(6,An,1,0,"ng-container",134),n();}if(_&2){a();let e=b(29);L("outlined",!0),S(6),L("ngTemplateOutlet",e);}}function Cn(_,i){_&1&&B(0);}function On(_,i){if(_&1&&Y(0,Cn,1,0,"ng-container",134),_&2){a();let e=b(27);L("ngTemplateOutlet",e);}}function cn(_,i){_&1&&B(0);}function Dn(_,i){_&1&&B(0);}function Ln(_,i){if(_&1&&Y(0,Dn,1,0,"ng-container",134),_&2){a();let e=b(23);L("ngTemplateOutlet",e);}}function pn(_,i){_&1&&(t(0,"div",138)(1,"div",144),A(2,"i",145),n(),t(3,"h6",146),l(4,17),n()());}function mn(_,i){if(_&1){let e=g();t(0,"p-iconfield",147),A(1,"p-inputicon",148),t(2,"input",149),t_("ngModelChange",function(I){p(e);let r=a(2);return e_(r.filterText,I)||(r.filterText=I),m(I);}),u("ngModelChange",function(I){p(e);let r=a(2);return m(r.filterText.set(I));}),n()();}if(_&2){let e=a(2);S(2),__("ngModel",e.filterText);}}function Gn(_,i){_&1&&(t(0,"span",150),A(1,"span",151)(2,"span",152),n());}function gn(_,i){if(_&1&&(t(0,"div",171),A(1,"div",157),t(2,"div",173)(3,"h4",160),l(4,41),n(),t(5,"span",184),s(6),n(),t(7,"p",175),l(8,42),n()()()),_&2){let e,o=a(4);S(6),P(((e=o.allEventsRegDetails())==null?null:e.revenueAmt)||0);}}function un(_,i){if(_&1&&(t(0,"h3",154),l(1,18),n(),t(2,"div",155)(3,"div",156),A(4,"div",157),t(5,"div",158)(6,"div",159)(7,"h4",160),l(8,19),n(),t(9,"p",161),l(10,20),n()(),t(11,"span",162),s(12),n()(),A(13,"div",163),t(14,"div",158)(15,"div",159)(16,"h4",160),l(17,21),n(),t(18,"p",161),l(19,22),n()(),t(20,"span",164),s(21),n()(),A(22,"div",163),t(23,"div",158)(24,"div",159)(25,"h4",160),l(26,23),n(),t(27,"p",161),l(28,24),n()(),t(29,"span",165),s(30),n()(),A(31,"div",163),t(32,"div",158)(33,"div",159)(34,"h4",160),l(35,25),n(),t(36,"p",161),l(37,26),n()(),t(38,"span",166),s(39),n()(),A(40,"div",163),t(41,"div",158)(42,"div",159)(43,"h4",160),l(44,27),n(),t(45,"p",161),l(46,28),n()(),t(47,"span",167),s(48),n()(),A(49,"div",163),t(50,"div",158)(51,"div",159)(52,"h4",160),l(53,29),n(),t(54,"p",161),l(55,30),n()(),t(56,"span",168),s(57),n()()()(),t(58,"div",169)(59,"div",170)(60,"div",171),A(61,"div",172),t(62,"div",173)(63,"h4",160),l(64,31),n(),t(65,"span",174),s(66),n(),t(67,"p",175),l(68,32),n()()(),t(69,"div",171),A(70,"div",176),t(71,"div",173)(72,"h4",160),l(73,33),n(),t(74,"
1span",177),s(75),n(),t(76,"p",175),l(77,34),n()()(),t(78,"div",171),A(79,"div",178),t(80,"div",173)(81,"h4",160),l(82,35),n(),t(83,"span",179),s(84),n(),t(85,"p",175),l(86,36),n()()(),t(87,"div",171),A(88,"div",180),t(89,"div",173)(90,"h4",160),l(91,37),n(),t(92,"span",181),s(93),n(),t(94,"p",175),l(95,38),n()()(),t(96,"div",171),A(97,"div",182),t(98,"div",173)(99,"h4",160),l(100,39),n(),t(101,"span",183),s(102),n(),t(103,"p",175),l(104,40),n()()(),d(105,gn,9,1,"div",171),n()()),_&2){let e,o,I,r,O,D,N,C,G,H,K,$,c=a(3);S(12),P(((e=c.allEventsRegDetails())==null?null:e.totRegPart)||0),S(9),P(((o=c.allEventsRegDetails())==null?null:o.draft)||0),S(9),P(((I=c.allEventsRegDetails())==null?null:I.open)||0),S(9),P(((r=c.allEventsRegDetails())==null?null:r.accept)||0),S(9),P(((O=c.allEventsRegDetails())==null?null:O.reject)||0),S(9),P(((D=c.allEventsRegDetails())==null?null:D.revenueAmt)||0),S(9),P(((N=c.allEventsRegDetails())==null?null:N.totRegPart)||0),S(9),P(((C=c.allEventsRegDetails())==null?null:C.draft)||0),S(9),P(((G=c.allEventsRegDetails())==null?null:G.open)||0),S(9),P(((H=c.allEventsRegDetails())==null?null:H.accept)||0),S(9),P(((K=c.allEventsRegDetails())==null?null:K.reject)||0),S(3),T(!(($=c.eventDetails())==null||$.paymentInfo==null||$.paymentInfo.fees==null)&&$.paymentInfo.fees.isPaid?105:-1);}}function Rn(_,i){if(_&1&&(t(0,"h3",154),l(1,43),n(),t(2,"div",155)(3,"div",185),A(4,"div",157),t(5,"div",186)(6,"div",187)(7,"h4",160),l(8,44),n(),t(9,"span",188),s(10),n()(),t(11,"p",161),l(12,45),n()(),A(13,"div",163),t(14,"div",186)(15,"div",187)(16,"h4",160),l(17,46),n(),t(18,"span",189),s(19),n()(),t(20,"p",161),l(21,47),n()(),A(22,"div",163),t(23,"div",186)(24,"div",187)(25,"h4",160),l(26,48),n(),t(27,"span",190),s(28),n()(),t(29,"p",161),l(30,49),n()(),A(31,"div",163),t(32,"div",186)(33,"div",187)(34,"h4",160),l(35,50),n(),t(36,"span",191),s(37),n()(),t(38,"p",161),l(39,51),n()()()(),t(40,"div",169)(41,"div",170)(42,"div",192),A(43,"div",176),t(44,"div",173)(45,"h4",160),l(46,52),n(),t(47,"span",177),s(48),n(),t(49,"p",175),l(50,53),n()()(),t(51,"div",192),A(52,"div",157),t(53,"div",173)(54,"h4",160),l(55,54),n(),t(56,"span",184),s(57),n(),t(58,"p",175),l(59,55),n()()(),t(60,"div",192),A(61,"div",178),t(62,"div",173)(63,"h4",160),l(64,56),n(),t(65,"span",179),s(66),n(),t(67,"p",175),l(68,57),n()()(),t(69,"div",192),A(70,"div",193),t(71,"div",173)(72,"h4",160),l(73,58),n(),t(74,"span",194),s(75),n(),t(76,"p",175),l(77,59),n()()()()()),_&2){let e,o,I,r,O,D,N,C,G=a(3);S(10),P(((e=G.overviewData())==null?null:e.matchCount)||0),S(9),P(((o=G.overviewData())==null?null:o.scoredMatchCount)||0),S(9),P(((I=G.overviewData())==null?null:I.pendingMatchCount)||0),S(9),P(((r=G.overviewData())==null?null:r.cancelledMatchCount)||0),S(11),P(((O=G.overviewData())==null?null:O.matchCount)||0),S(9),P(((D=G.overviewData())==null?null:D.scoredMatchCount)||0),S(9),P(((N=G.overviewData())==null?null:N.pendingMatchCount)||0),S(9),P(((C=G.overviewData())==null?null:C.cancelledMatchCount)||0);}}function fn(_,i){if(_&1){let e=g();t(0,"p-button",208),u("onClick",function(){p(e);let I=a(2).$implicit,r=a(4);return m(r.exportAllDivisionParticipants("player",I.value==null||I.value.sportInfo==null?null:I.value.sportInfo.id,!1));}),A(1,"i",209),t(2,"span"),l(3,64),n()();}}function Mn(_,i){_&1&&(t(0,"th",212),l(1,67),n());}function Vn(_,i){_&1&&(t(0,"th",215),l(1,68),n(),t(2,"th",216),l(3,69),n());}function vn(_,i){if(_&1&&(t(0,"tr",210)(1,"th",211),l(2,65),n(),d(3,Mn,2,0,"th",212),t(4,"th",213),l(5,66),n(),d(6,Vn,4,0),A(7,"th",214),n()),_&2){let e,o,I=a(6);S(3),T((e=I.myRole())!=null&&e.cEditEvnt||(e=I.myRole())!=null&&e.cAddEditPart?3:-1),S(3),T(!((o=I.eventDetails())==null||o.paymentInfo==null||o.paymentInfo.fees==null)&&o.paymentInfo.fees.isPaid&&(o=I.myRole())!=null&&o.cEditEvnt?6:-1);}}function Yn(_,i){_&1&&(t(0,"p-tag",220)(1,"div",232),A(2,"i",233),t(3,"p",234),l(4,71),n()()());}function xn(_,i){_&1&&(t(0,"span"),l(1,72),n());}function $n(_,i){_&1&&(t(0,"span"),l(1,73),n());}function hn(_,i){_&1&&(t(0,"span"),s(1," | "),n());}function Un(_,i){_&1&&(t(0,"span"),l(1,74),n());}function Hn(_,i){_&1&&(t(0,"span"),l(1,75),n());}function Qn(_,i){_&1&&(t(0,"span"),l(1,76),n());}function Kn(_,i){_&1&&(t(0,"span"),l(1,77),n());}function yn(_,i){_&1&&(t(0,"span"),l(1,78),n());}function bn(_,i){_&1&&(t(0,"span"),l(1,79),n());}function Bn(_,i){if(_&1&&(t(0,"span"),s(1," | "),n(),t(2,"span"),d(3,yn,2,0,"span")(4,bn,2,0,"span"),s(5),M(6,"date"),n()),_&2){let e=a(2).$implicit;S(3),T(e.value.minAgeTyp?3:4),S(2),R(" ",j(6,2,e.value.bornAfterDate)," | ");}}function Jn(_,i){if(_&1&&(t(0,"div",239),s(1),n()),_&2){let e=a().$implicit;
1k("width",e.value.percent+"%")("color",e.value.color),S(),R(" ",(e.value==null?null:e.value.value)||0," ");}}function Xn(_,i){if(_&1&&d(0,Jn,2,5,"div",238),_&2){let e=i.$implicit;T(e.value.value!==0?0:-1);}}function wn(_,i){if(_&1&&A(0,"div"),_&2){let e=i.$implicit;k("width",e.value.percent+"%")("background-color",e.value.color);}}function Fn(_,i){if(_&1&&(t(0,"td",222)(1,"div",235),h(2,Xn,1,1,null,null,y),M(4,"keyvalue"),n(),t(5,"div",236),h(6,wn,1,4,"div",237,y),M(8,"keyvalue"),n()()),_&2){let e=a(2).$implicit,o=a(7);S(2),U(x(4,0,e.value==null?null:e.value.regDetails,o.orderByDivisionPos)),S(4),U(x(8,3,e.value.regDetails,o.orderByDivisionPos));}}function kn(_,i){_&1&&(t(0,"span",224),l(1,80),n());}function zn(_,i){_&1&&(t(0,"span",225),l(1,81),n());}function jn(_,i){if(_&1&&(s(0),M(1,"currency")),_&2){let e,o=a(4).$implicit,I=a(7);R(" ",x(1,1,o.value.fees.solo==null?null:o.value.fees.solo.fee,(e=I.eventDetails())==null||e.paymentInfo==null||e.paymentInfo.fees==null?null:e.paymentInfo.fees.currId)," ");}}function Wn(_,i){if(_&1&&(s(0),M(1,"currency")),_&2){let e,o=a(4).$implicit,I=a(7);R(" ",x(1,1,o.value.fees.fee,(e=I.eventDetails())==null||e.paymentInfo==null||e.paymentInfo.fees==null?null:e.paymentInfo.fees.currId)," ");}}function qn(_,i){if(_&1&&d(0,jn,2,4)(1,Wn,2,4),_&2){let e=a(3).$implicit;T(e.value.regSettings!=null&&e.value.regSettings.enforceInd?0:1);}}function Zn(_,i){_&1&&s(0," - ");}function _i(_,i){if(_&1&&(s(0),M(1,"currency")),_&2){let e,o=a(3).$implicit,I=a(7);R(" ",x(1,1,o.value.fees.collAmt,(e=I.eventDetails())==null||e.paymentInfo==null||e.paymentInfo.fees==null?null:e.paymentInfo.fees.currId)," ");}}function ei(_,i){_&1&&s(0," - ");}function ti(_,i){if(_&1&&(t(0,"td",240),d(1,qn,2,1)(2,Zn,1,0),n(),t(3,"td",241),d(4,_i,2,4)(5,ei,1,0),n()),_&2){let e=a(2).$implicit;S(),T(e.value.fees!=null&&e.value.fees.isEntryFee?1:2),S(3),T(!(e.value==null||e.value.fees==null)&&e.value.fees.collAmt?4:5);}}function ni(_,i){_&1&&A(0,"p-divider",231);}function ii(_,i){if(_&1){let e=g();t(0,"tr",217),u("click",function(){p(e);let I=a().$implicit,r=a(7);return m(r.viewEvent(I.value.id));}),t(1,"td",211)(2,"div",218)(3,"p",219),s(4),n(),d(5,Yn,5,0,"p-tag",220),n(),t(6,"p",221),d(7,xn,2,0,"span")(8,$n,2,0,"span"),d(9,hn,2,0,"span"),d(10,Un,2,0,"span")(11,Hn,2,0,"span")(12,Qn,2,0,"span")(13,Kn,2,0,"span"),d(14,Bn,7,4),s(15),n()(),d(16,Fn,9,6,"td",222),t(17,"td",223),d(18,kn,2,0,"span",224)(19,zn,2,0,"span",225),n(),d(20,ti,6,2),t(21,"td",226)(22,"p-button",227)(23,"div",228)(24,"p",229),l(25,70),n(),A(26,"i",230),n()()()(),d(27,ni,1,0,"p-divider",231);}if(_&2){let e,o,I=a(),r=I.$implicit,O=I.$index,D=I.$count,N=a(7);S(2),Z("!pb-1",r.value.hide),S(2),P(r.value.name),S(),T(r.value.hide?5:-1),S(2),T(r.value.gender===1?7:r.value.gender===2?8:-1),S(2),T(r.value.gender!==3?9:-1),S(),T(r.value.isTeamPlay?10:r.value.partType===1?11:r.value.partType===2?12:r.value.partType===3?13:-1),S(4),T(r.value.bornAfterDate>-217747207e4?14:-1),S(),R(" ",r.value.format," "),S(),T((e=N.myRole())!=null&&e.cEditEvnt||(e=N.myRole())!=null&&e.cAddEditPart?16:-1),S(2),T(r.value!=null&&r.value.regOpen?18:19),S(2),T(!((o=N.eventDetails())==null||o.paymentInfo==null||o.paymentInfo.fees==null)&&o.paymentInfo.fees.isPaid&&(o=N.myRole())!=null&&o.cEditEvnt?20:-1),S(7),T(O!==D-1?27:-1);}}function oi(_,i){if(_&1&&d(0,ii,28,13),_&2){let e,o=i.$implicit,I=a(7);T((e=I.myRole())!=null&&e.cEditEvnt||!o.value.hide?0:-1);}}function Si(_,i){if(_&1&&(h(0,oi,1,1,null,null,y),M(2,"keyvalue")),_&2){let e=a(2).$implicit,o=a(4);U(x(2,0,e.value.divisions,o.orderByDivisionPos));}}function li(_,i){if(_&1&&(t(0,"div",198)(1,"div",199),A(2,"app-sport-icon",200),t(3,"div")(4,"h3",201),s(5),n(),t(6,"p",202)(7,"span"),s(8),n(),t(9,"span"),l(10,61),n(),t(11,"span"),s(12),n(),t(13,"span"),l(14,62),n(),t(15,"span"),s(16),n(),t(17,"span"),l(18,63),n()()()(),d(19,fn,4,0,"p-button",203),n(),t(20,"div",204)(21,"div",205)(22,"p-table",206),Y(23,vn,8,2,"ng-template",207)(24,Si,3,3,"ng-template",null,6,V),n()()()),_&2){let e,o=a().$implicit,I=a(4);S(2),L("icon",o.value.sportInfo.icons)("label",o.value.sportInfo.itemName),S(3),P(o.value.sportInfo.itemName),S(3),P(o.value.sportInfo.eventCount),S(4),R("\u2022 ",o.value.sportInfo.matchCount),S(4),R("\u2022 ",o.value.sportInfo.scoredMatchCount),S(3),T((e=I.myRole())!=null&&e.cEditEvnt||(e=I.myRole())!=null&&e.cAddEditPart?19:-1),S(3),L("value",tt(10,In,z(9,ln)))("scrollable",!0);}}function Ii(_,i){if(_&1&&d(0,li,26,12),_&2){let e,o=i.$implicit,I=a(4);T(!(o.value!=null&&o.value.hide)||(e=I.myRole())!=null&&e.cEditEvnt?0:-1);}}function Ei(_,i){if(_&1&&(t(0,"div",197),A(1,"span",242),s(2),n()),_&2){let e=i.$implicit;S(),k("background-color",e.color),S(),R(" ",e.label," ");}}function ai(_,i){if(_&1&&(h(0,Ii,1,1,null,null,y),M(2,"keyvalue"),t(3,"div")(4,"p",195),l(5,60),n(),t(6,"div",196),h(7,Ei,3,3,"div",197,_t),n()()),_&2){let e=a(3);U(x(2,0,e.filteredSportsDivision(),e.orderBySportPos)),S(7),U(e.applicantStatusTypes);}}function si(_,i){if(_&1&&(t(0,"span",248),s(1),n(),t(2,"span",248),l(3,85),n()),_&2){let e=a(3).$implicit;S(),R("\u2022 ",e.value.sportInfo.resultsDeclaredCount);}}function Ni(_,i){if(_&1&&(t(0,"div",245),A(1,"app-sport-icon",246),t(2,"div",159)(3,"h3",247),s(4),n(),t(5,"p",202)(6,"span"),s(7),n(),t(8,"span"),l(9,82),n(),d(10,si,4,1),t(11,"span"),s(12),n(),t(13,"span"),l(14,83),n(),t(15,"span"),s(16),n(),t(17,"span"),l(18,84),n()()()()),_&2){let e=a(2).$implicit;S(),L("icon",e.value.sportInfo.icons)("label",e.value.sportInfo.itemName),S(3),P(e.value.sportInfo.itemName),S(3),P(e.value.sportInfo.eventCount),S(3),T(e.value.sportInfo.resultsDeclaredCount?10:-1),S(2),R("\u2022 ",e.value.sportInfo.matchCount),S(4),R("\u2022 ",e.value.sportInfo.scoredMatchCount);}}function ri(_,i){_&1&&(t(0,"span"),l(1,87),n());}function di(_,i){_&1&&(t(0,"span"),l(1,88),n());}function Ti(_,i){_&1&&(t(0,"span"),s(1," | "),n());}function Ai(_,i){_&1&&(t(0,"span"),l(1,89),n());}function Pi(_,i){_&1&&(t(0,"span"),l(1,90),n());}function Ci(_,i){_&1&&(t(0,"span"),l(1,91),n());}function Oi(_,i){_&1&&(t(0,"span"),l(1,92),n());}function ci(_,i){_&1&&(t(0,"span"),l(1,93),n());}function Di(_,i){_&1&&(t(0,"span"),l(1,94),n());}function Li(_,i){if(_&1&&(t(0,"span"),s(1," | "),n(),t(2,"span"),d(3,ci,2,0,"span")(4,Di,2,0,"span"),s(5),M(6,"date"),n()),_&2){let e=a(2).$implicit;S(3),T(e.value.minAgeTyp?3:4),S(2),R(" ",j(6,2,e.value.bornAfterDate)," ");}}function pi(_,i){_&1&&(t(0,"h4",263),l(1,98),n());}function mi(_,i){_&1&&(t(0,"h4",263),l(1,99),n());}function Gi(_,i){_&1&&(t(0,"h4",263),l(1,100),n());}function gi(_,i){_&1&&(t(0,"span",270),A(1,"img",274),n(),t(2,"span",275),l(3,101),n());}function ui(_,i){if(_&1&&(t(0,"span",270),s(1),n(),t(2,"span",271),l(3,102),n()),_&2){let e=a(3).$implicit;S(),P(e.value.matchLength-e.value.scoredMatch);}}function Ri(_,i){if(_&1&&(t(0,"div")(1,"div",262),d(2,pi,2,0,"h4",263)(3,mi,2,0,"h4",263)(4,Gi,2,0,"h4",263),t(5,"div",264)(6,"span"),s(7),n(),t(8,"span"),s(9,"/"),n(),t(10,"span"),s(11),n(),t(12,"
1span"),s(13,"matches"),n()()(),A(14,"p-meterGroup",265),t(15,"div",266)(16,"div",267)(17,"span",268),s(18),n(),t(19,"span",221),l(20,95),n()(),t(21,"div",269)(22,"span",270),s(23),n(),t(24,"span",271),l(25,96),n()(),t(26,"div",272)(27,"span",270),s(28),n(),t(29,"span",271),l(30,97),n()(),t(31,"div",273),d(32,gi,4,0)(33,ui,4,1),n()()()),_&2){let e=a(2).$implicit;S(2),T(e.value.scoredMatch===e.value.matchLength?2:e.value.scoredMatch>0&&e.value.scoredMatch<e.value.matchLength?3:e.value.matchLength===e.value.matchLength-e.value.scoredMatch?4:-1),S(5),P(e.value.matchLength-(e.value.matchLength-e.value.scoredMatch)),S(4),P(e.value.matchLength),S(3),L("value",e.value.matchMeterData)("max",e.value.matchLength),S(4),P(e.value.matchLength),S(5),P(e.value.scoredMatch-((e.value==null?null:e.value.cancelledMatch)||0)),S(5),P((e.value==null?null:e.value.cancelledMatch)||0),S(3),Z("!bg-orange-100",e.value.resultDeclared),S(),T(e.value.resultDeclared?32:33);}}function fi(_,i){_&1&&(t(0,"div",257)(1,"p",260),l(2,103),n()());}function Mi(_,i){_&1&&(t(0,"p",260),l(1,104),n());}
1function Vi(_,i){_&1&&(t(0,"p",260),l(1,105),n());}function vi(_,i){if(_&1){let e=g();t(0,"div",250),u("click",function(){p(e);let I=a().$implicit,r=a(6);return m(r.viewEvent(I.value.id));}),t(1,"div",251)(2,"div",252),A(3,"div",157),t(4,"div",253)(5,"div",254)(6,"div",198)(7,"h4",160),s(8),n()(),t(9,"p",221),d(10,ri,2,0,"span")(11,di,2,0,"span"),d(12,Ti,2,0,"span"),d(13,Ai,2,0,"span")(14,Pi,2,0,"span")(15,Ci,2,0,"span")(16,Oi,2,0,"span"),d(17,Li,7,4),n(),t(18,"span",255)(19,"strong",256),l(20,86),n(),t(21,"span"),s(22),n()()(),d(23,Ri,34,11,"div")(24,fi,3,0,"div",257),n(),t(25,"div",258)(26,"div",259),d(27,Mi,2,0,"p",260),d(28,Vi,2,0,"p",260),A(29,"i",261),n()()()()();}if(_&2){let e=a().$implicit,o=a(6);S(8),P(e.value.name),S(2),T(e.value.gender===1?10:e.value.gender===2?11:-1),S(2),T(e.value.gender!==3?12:-1),S(),T(e.value.isTeamPlay?13:e.value.partType===1?14:e.value.partType===2?15:e.value.partType===3?16:-1),S(4),T(e.value.bornAfterDate>-217747207e4?17:-1),S(5),P(e.value.format),S(),T(e.value.matchLength>0?23:24),S(4),T(o.finalPath()==="schedule"?27:-1),S(),T(o.finalPath()==="standings"?28:-1);}}function Yi(_,i){if(_&1&&d(0,vi,30,9,"div",249),_&2){let e,o=i.$implicit,I=a(6);T((e=I.myRole())!=null&&e.cEditEvnt||!o.value.hide?0:-1);}}function xi(_,i){if(_&1&&(t(0,"p-panel",243),Y(1,Ni,19,7,"ng-template",null,7,V),t(3,"div",244),h(4,Yi,1,1,null,null,y),M(6,"keyvalue"),n()()),_&2){let e=a().$implicit,o=a(4);L("toggleable",!0)("pt",o.panelPT),S(4),U(x(6,2,e.value.divisions,o.orderByDivisionPos));}}function $i(_,i){if(_&1&&d(0,xi,7,5,"p-panel",243),_&2){let e,o=i.$implicit,I=a(4);T(!(o.value!=null&&o.value.hide)||(e=I.myRole())!=null&&e.cEditEvnt?0:-1);}}function hi(_,i){if(_&1&&(h(0,$i,1,1,null,null,y),M(2,"keyvalue")),_&2){let e=a(3);U(x(2,0,e.filteredSportsDivision(),e.orderBySportPos));}}function Ui(_,i){if(_&1&&(t(0,"div",245),A(1,"app-sport-icon",246),t(2,"div",159)(3,"h3",247),s(4),n(),t(5,"p",202)(6,"span"),s(7),n(),t(8,"span"),l(9,106),n(),t(10,"span"),s(11),n(),t(12,"span"),l(13,107),n(),t(14,"span"),s(15),n(),t(16,"span"),l(17,108),n()()()()),_&2){let e=a(2).$implicit;S(),L("icon",e.value.sportInfo.icons)("label",e.value.sportInfo.itemName),S(3),P(e.value.sportInfo.itemName),S(3),P(e.value.sportInfo.eventCount),S(4),R("\u2022 ",e.value.sportInfo.matchCount),S(4),R("\u2022 ",e.value.sportInfo.scoredMatchCount);}}function Hi(_,i){_&1&&(t(0,"span"),l(1,111),n());}function Qi(_,i){_&1&&(t(0,"span"),l(1,112),n());}function Ki(_,i){_&1&&(t(0,"span"),l(1,113),n());}function yi(_,i){_&1&&(t(0,"span"),l(1,114),n());}function bi(_,i){_&1&&(t(0,"span"),l(1,115),n());}function Bi(_,i){_&1&&(t(0,"span"),l(1,116),n());}function Ji(_,i){_&1&&(t(0,"span"),l(1,117),n());}function Xi(_,i){_&1&&(t(0,"span"),l(1,118),n());}function wi(_,i){if(_&1&&(t(0,"span"),s(1," | "),d(2,Ji,2,0,"span")(3,Xi,2,0,"span"),s(4),M(5,"date"),n()),_&2){let e=a(2).$implicit;S(2),T(e.value.minAgeTyp?2:3),S(2),R(" ",j(5,2,e.value.bornAfterDate)," ");}}function Fi(_,i){if(_&1){let e=g();t(0,"div",277),u("click",function(){p(e);let I=a().$implicit,r=a(6);return m(r.viewEvent(I.value.id));}),t(1,"div",278)(2,"div",252),A(3,"div",157),t(4,"div",253)(5,"div",254)(6,"div",198)(7,"h4",160),s(8),n()(),t(9,"p",221),d(10,Hi,2,0,"span")(11,Qi,2,0,"span"),d(12,Ki,2,0,"span")(13,yi,2,0,"span")(14,bi,2,0,"span")(15,Bi,2,0,"span"),d(16,wi,6,4,"span"),n(),t(17,"span",255)(18,"strong",256),l(19,109),n(),t(20,"span"),s(21),n()()()(),t(22,"div",258)(23,"div",259)(24,"p",260),l(25,110),n(),A(26,"i",261),n()()()()();}if(_&2){let e=a().$implicit;S(8),P(e.value.name),S(2),T(e.value.gender===1?10:e.value.gender===2?11:-1),S(2),T(e.value.isTeamPlay?12:e.value.partType===1?13:e.value.partType===2?14:e.value.partType===3?15:-1),S(4),T(e.value.bornAfterDate>-217747207e4?16:-1),S(5),P(e.value.format);}}function ki(_,i){if(_&1&&d(0,Fi,27,5,"div",276),_&2){let e,o=i.$implicit,I=a(6);T((e=I.myRole())!=null&&e.cEditEvnt||!o.value.hide?0:-1);}}function zi(_,i){if(_&1&&(t(0,"p-panel",243),Y(1,Ui,18,6,"ng-template",null,7,V),t(3,"div",244),h(4,ki,1,1,null,null,y),M(6,"keyvalue"),n()()),_&2){let e=a().$implicit,o=a(4);L("toggleable",!0)("pt",o.panelPT),S(4),U(x(6,2,e.value.divisions,o.orderByDivisionPos));}}
1function ji(_,i){if(_&1&&d(0,zi,7,5,"p-panel",243),_&2){let e,o=i.$implicit,I=a(4);T(!(o.value!=null&&o.value.hide)||(e=I.myRole())!=null&&e.cEditEvnt?0:-1);}}function Wi(_,i){if(_&1&&(h(0,ji,1,1,null,null,y),M(2,"keyvalue")),_&2){let e=a(3);U(x(2,0,e.sportsAndDivArray(),e.orderBySportPos));}}function qi(_,i){if(_&1&&(d(0,un,106,12),d(1,Rn,78,8),t(2,"div",153),d(3,ai,9,3),d(4,hi,3,3),d(5,Wi,3,3),n()),_&2){let e,o=a(2);T(o.finalPath()==="participants"&&((e=o.myRole())!=null&&e.cEditEvnt||(e=o.myRole())!=null&&e.cAddEditPart)?0:-1),S(),T(o.finalPath()==="schedule"||o.finalPath()==="standings"?1:-1),S(2),T(o.finalPath()==="participants"?3:-1),S(),T(o.finalPath()==="schedule"||o.finalPath()==="standings"?4:-1),S(),T(o.finalPath()==="statistics"?5:-1);}}function Zi(_,i){_&1&&(t(0,"div",279)(1,"div",280)(2,"div",281)(3,"div",223)(4,"p",282),s(5,"Melisa Flair"),n(),t(6,"p",221),s(7,"Runner-up"),n()(),t(8,"div",283)(9,"span",284),s(10,"2"),n()()(),t(11,"div",281)(12,"div",223)(13,"p",282),s(14,"Sarah Jones"),n(),t(15,"div",285),A(16,"img",286),t(17,"p",221),s(18,"Winner"),n()()(),t(19,"div",287)(20,"span",284),s(21,"1"),n()()(),t(22,"div",281)(23,"div",223)(24,"p",282),s(25,"Lisa Elizabeth"),n(),t(26,"p",221),s(27,"Third"),n()(),t(28,"div",288)(29,"span",284),s(30,"3"),n()()()(),t(31,"div",289)(32,"div",290)(33,"span"),s(34,"4"),n(),t(35,"p"),s(36,"John Joseph"),n()(),t(37,"span",291),s(38,"4th Place"),n()(),t(39,"div",289)(40,"div",290)(41,"span"),s(42,"5"),n(),t(43,"p"),s(44,"Mary Jones"),n()(),t(45,"span",291),s(46,"5th Place"),n()()());}function _o(_,i){_&1&&A(0,"i",294);}function eo(_,i){_&1&&(A(0,"i",296),t(1,"p",297),l(2,119),n(),A(3,"i",298));}function to(_,i){if(_&1){let e=g();t(0,"a",300),u("click",function(){p(e);let I=a(4);return m(I.exportAllDivisionStandings());}),A(1,"i",301),t(2,"span",302),l(3,120),n()();}}function no(_,i){if(_&1&&d(0,to,4,0,"a",299),_&2){let e,o=i.$implicit;T((e=o)===1?0:-1);}}function io(_,i){if(_&1){let e=g();t(0,"p-button",292),u("click",function(I){p(e);let r=b(5);return a(2).onClickExportStandings(I),m(r.toggle(I));}),t(1,"div",293),d(2,_o,1,0,"i",294)(3,eo,4,0),n()(),t(4,"p-tieredMenu",295,8),Y(6,no,1,1,"ng-template",null,9,V),n();}if(_&2){let e=a(2);S(2),T(e.platformDataService.isMobileOnlyView()?2:3),S(2),L("model",e.moreActionsStandings())("popup",!0);}}function oo(_,i){_&1&&A(0,"i",294);}function So(_,i){_&1&&(A(0,"i",296),t(1,"p",297),l(2,121),n(),A(3,"i",298));}function lo(_,i){if(_&1){let e=g();t(0,"a",300),u("click",function(){p(e);let I=a(4);return m(I.exportAllDivisionParticipants("player",null,!1));}),A(1,"i",301),t(2,"span",302),l(3,122),n()();}}function Io(_,i){if(_&1){let e=g();t(0,"a",300),u("click",function(){p(e);let I=a(4);return m(I.exportAllDivisionParticipants("team",null,!1));}),A(1,"i",301),t(2,"span",302),l(3,123),n()();}}function Eo(_,i){if(_&1){let e=g();t(0,"a",300),u("click",function(){p(e);let I=a(4);return m(I.exportAllDivisionParticipants("player",null,!0));}),A(1,"i",301),t(2,"span",302),l(3,124),n()();}}function ao(_,i){if(_&1&&d(0,lo,4,0,"a",299)(1,Io,4,0,"a",299)(2,Eo,4,0,"a",299),_&2){let e,o=i.$implicit;T((e=o)===1?0:e===2?1:e===3?2:-1);}}function so(_,i){if(_&1){let e=g();t(0,"p-button",292),u("click",function(I){p(e);let r=b(5);return a(2).onClickImportExport(I),m(r.toggle(I));}),t(1,"div",293),d(2,oo,1,0,"i",294)(3,So,4,0),n()(),t(4,"p-tieredMenu",295,10),Y(6,ao,3,1,"ng-template",null,9,V),n();}if(_&2){let e=a(2);S(2),T(e.platformDataService.isMobileOnlyView()?2:3),S(2),L("model",e.moreActionsMenuItem())("popup",!0);}}function No(_,i){if(_&1&&(t(0,"div",128)(1,"div",129)(2,"div",130),d(3,sn,2,0,"h2",131)(4,Nn,2,0,"h2",131)(5,rn,2,0,"h2",131)(6,dn,2,0,"h2",131)(7,Tn,2,0,"h2",131),t(8,"div",132)(9,"div",133),d(10,Pn,7,2),d(11,On,1,1,"ng-container"),n(),Y(12,cn,1,0,"ng-container",134),n()(),t(13,"div",135),A(14,"p-divider",136),n()(),t(15,"div",137),d(16,Ln,1,1,"ng-container")(17,pn,5,0,"div",138),n()(),Y(18,mn,3,1,"ng-template",null,0,V)(20,Gn,3,0,"ng-template",null,1,V)(22,qi,6,5,"ng-template",null,2,V)(24,Zi,47,0,"ng-template",null,3,V)(26,io,8,3,"ng-template",null,4,V)(28,so,8,3,"ng-template",null,5,V)),_&2){let e,o=b(19),I=a();S(2),L("ngClass",nt(6,Sn,I.platformDataService.isMobileOnlyView(),!I.platformDataService.isMobileOnlyView())),S(),T(I.finalPath()==="participants"?3:I.finalPath()==="schedule"?4:I.finalPath()==="standings"?5:I.finalPath()==="statistics"?6:7),S(7),T(I.finalPath()==="participants"&&((e=I.myRole())!=null&&e.cEditEvnt||(e=I.myRole())!=null&&e.cAddEditPart)?10:-1),S(),T(I.finalPath()==="standings"?11:-1),S(),L("ngTemplateOutlet",o),S(4),T(I.object.keys(I.filteredSportsDivision()).length>0?16:17);}}function ro(_,i){}function To(_,i){if(_&1){let e=g();t(0,"app-export-participants-csv",303),u("onCloseExport",function(I){p(e);let r=a(2);return m(r.onCloseExport(I));}),n();}if(_&2){let e=a(2);L("csvType",e.showExportCsv())("selectedSportId",e.selectedSportId())("allSportsByFlag",e.allSportsByFlag());}}function Ao(_,i){if(_&1&&(X(0,To,1,3),w(1,0,tn)),_&2){let e=a();S(),F(e.showExportCsv());}}function Po(_,i){if(_&1){let e=g();t(0,"app-export-standings-csv",304),u("onCloseExport",function(I){p(e);let r=a(2);return m(r.onCloseExport(I));}),n();}if(_&2){let e=a(2);L("showExportCsv","csv")("showAllEventExportStandingsCsv",e.showAllEventExportStandingsCsv());}}function Co(_,i){if(_&1&&(X(0,Po,1,2),w(1,0,nn)),_&2){let e=a();S(),F(e.showAllEventExportStandingsCsv());}}function Oo(_,i){_&1&&(t(0,"h4",308),l(1,126),n());}function co(_,i){if(_&1){let e=g();t(0,"app-custom-email",309),u("customEmailClose",function(){p(e);let I=a(3);return m(I.onCloseCustomEmailModal());}),n();}if(_&2){let e=a(3);L("module",e.moduleConstants.EVENT_MODULE)("orgDetails",e.orgDetails())("emailArray",e.eventEmailParticipants())("isInline",!0)("currentUserData",e.currUserDetails())("eventDetails",e.eventDetails());}}function Do(_,i){if(_&1&&(X(0,co,1,6),w(1,0,on)),_&2){let e=a(2);S(),F(e.modalSignal().modalType==="showEmailParticipants");}}function Lo(_,i){if(_&1){let e=g();
1t(0,"p-dialog",305),t_("visibleChange",function(I){p(e);let r=a();return e_(r.modalSignal().showModal,I)||(r.modalSignal().showModal=I),m(I);}),u("onHide",function(){p(e);let I=a();return m(I.onCloseCustomEmailModal());}),Y(1,Oo,2,0,"ng-template",null,7,V),t(3,"div",306)(4,"p",307),l(5,125),n(),d(6,Do,3,1),n()();}if(_&2){let e=a();et(z(8,En)),L("blockScroll",!0)("modal",!0),__("visible",e.modalSignal().showModal),L("draggable",!1)("breakpoints",z(9,an)),S(6),T(e.modalSignal().modalType==="showEmailParticipants"?6:-1);}}var TS=(()=>{class _{constructor(){this.eventDataService=f(wt),this.roleDataService=f(qt),this.activatedRoute=f(st),this.applicantDataService=f(Wt),this.platformDataService=f(Ct),this.router=f(Nt),this.destroyRef=f(We),this.participantserviceDataService=f(Bt),this.customEmailService=f(Zt),this.organizationDataService=f(Ht),this.divisionDataService=f(_n),this.participantsService=f(en),this.modalDataService=f(jt),this.authUserService=f(Ot),this.defaultConstants=new Vt(),this.moduleConstants=new Pt(),this.eventDetails=Q(()=>this.eventDataService.eventDetails()),this.sportsDivision=Q(()=>this.eventDataService.sportsDivision()),this.myRole=Q(()=>this.eventDataService.myRole()),this.orgDetails=Q(()=>this.organizationDataService.orgDetails()),this.modalSignal=Q(()=>this.modalDataService.modalSignal()),this.eventEmailParticipants=Q(()=>this.participantserviceDataService.eventEmailParticipants()),this.currUserDetails=Q(()=>this.authUserService.currUserDetails()),this.filterText=v(""),this.finalPath=v(""),this.moreActionsMenuItem=v([]),this.moreActionsStandings=v([]),this.showExportCsv=v(""),this.sportsAndDivArray=v(null),this.allEventsRegDetails=v(null),this.overviewData=v({matchCount:0,scoredMatchCount:0,pendingMatchCount:0,cancelledMatchCount:0,resultsDeclaredCount:0}),this.selectedSportId=v(null),this.allSportsByFlag=v(!1),this.showAllEventExportStandingsCsv=v(!1),this.panelPT={togglericon:({context:o})=>({class:o.collapsed?"pi pi-plus":"pi pi-minus"}),content:{class:"p-2 md:p-3"}},this.object=Object,this.applicantStatusTypes=[{label:"Draft",status:0,color:"#6B7280"},{label:"Open",status:1,color:"#F97316"},{label:"Accepted",status:2,color:"#16A34A"},{label:"Rejected",status:3,color:"#DC2626"}],this.filteredSportsDivision=Q(()=>{let o=this.filterText()?.toLowerCase()||"";return o?Object.fromEntries(Object.entries(this.sportsAndDivArray()||{}).map(([I,r])=>{let O=Object.fromEntries(Object.entries(r.divisions||{}).filter(([D,N])=>N?.name?.toLowerCase().includes(o)));return[I,q(W({},r),{divisions:O})];}).filter(([I,r])=>Object.keys(r.divisions).length>0)):this.sportsAndDivArray();}),this.orderBySportPos=(o,I)=>o.value.sportInfo.sortPos<I.value.sportInfo.sortPos?-1:1,this.orderByDivisionPos=(o,I)=>o.value.sortPos<I.value.sortPos?-1:1,this.steps=[{short:"GS",label:"Group Stage"},{short:"R16",label:"Round of 16"},{short:"QF",label:"Quarter Finals"},{short:"SF",label:"Semi Finals"},{label:"Finals",isImage:!0,img:"assets/icons/trophy/color/Trophy6Colour.svg",completedImg:"assets/icons/trophy/color/Trophy1Colour.svg"}],this.currentIndex=1,this.total=56,this.scored=32,this.live=20,this.status="complete",this.divisionDataService.onSelectDivision(null),qe(()=>{let o=this.sportsDivision(),I=this.myRole();Object.values(this.sportsDivision()).length>0&&it(()=>{let r={};Object.keys(this.sportsDivision()||{}).forEach(N=>{let C=this.sportsDivision()[N];r[N]={divisions:this.myRole()?.cEditEvnt?C?.divisions||{}:Object.fromEntries(Object.entries(C?.divisions||{}).filter(([G,H])=>!H?.hide)),sportInfo:C?.sportInfo||{}};}),this.sportsAndDivArray.set(r);let O={totRegPart:0,draft:0,accept:0,open:0,reject:0,revenueAmt:0},D={matchCount:0,scoredMatchCount:0,pendingMatchCount:0,cancelledMatchCount:0,resultsDeclaredCount:0};Object.keys(this.sportsAndDivArray()).forEach(N=>{this.sportsAndDivArray()[N].sportInfo=q(W({},this.sportsAndDivArray()[N].sportInfo),{eventCount:Object.keys(this.sportsAndDivArray()[N].divisions).length,matchCount:0,scoredMatchCount:0,cancelledMatchCount:0,resultsDeclaredCount:0}
1),Object.keys(this.sportsAndDivArray()[N].divisions).forEach(C=>{this.sportsAndDivArray()[N].sportInfo.matchCount+=this.sportsAndDivArray()[N].divisions[C].matchLength??0,this.sportsAndDivArray()[N].sportInfo.scoredMatchCount+=(this.sportsAndDivArray()[N].divisions[C].scoredMatch??0)-(this.sportsAndDivArray()[N].divisions[C]?.cancelledMatch??0),this.sportsAndDivArray()[N].sportInfo.cancelledMatchCount+=this.sportsAndDivArray()[N].divisions[C]?.cancelledMatch??0,this.sportsAndDivArray()[N].sportInfo.resultsDeclaredCount+=this.sportsAndDivArray()[N].divisions[C]?.resultDeclared?1:0;let G=[];if(Object.keys(this.sportsAndDivArray()[N].divisions[C]?.regCount??{})?.length>0){let H=Object.entries(this.sportsAndDivArray()[N].divisions[C]?.regCount).filter(([c])=>c!=="4"&&c!=="5").reduce((c,[,J])=>c+J,0),K={};this.applicantStatusTypes.map(c=>{K[c.status]={value:this.sportsAndDivArray()[N].divisions[C]?.regCount[c.status]>0?this.sportsAndDivArray()[N].divisions[C]?.regCount[c.status]:0,percent:(this.sportsAndDivArray()[N].divisions[C]?.regCount[c.status]??0)/H*100,color:c.color};}),this.sportsAndDivArray()[N].divisions[C].regDetails=K,O.draft=(O.draft??0)+(this.sportsAndDivArray()[N].divisions[C]?.regCount["0"]??0),O.accept=(O.accept??0)+(this.sportsAndDivArray()[N].divisions[C]?.regCount["2"]??0),O.open=(O.open??0)+(this.sportsAndDivArray()[N].divisions[C]?.regCount["1"]??0),O.reject=(O.reject??0)+(this.sportsAndDivArray()[N].divisions[C]?.regCount["3"]??0);let $=0;for(let c in this.sportsAndDivArray()[N].divisions[C]?.regCount)$+=this.sportsAndDivArray()[N].divisions[C]?.regCount[c];O.totRegPart=(O.totRegPart??0)+$;}O.revenueAmt=(O.revenueAmt??0)+(this.sportsAndDivArray()[N].divisions[C].fees?.collAmt??0),G.push({value:this.sportsAndDivArray()[N].divisions[C].scoredMatch-(this.sportsAndDivArray()[N].divisions[C]?.cancelledMatch||0),color:"#00ba5d"},{value:this.sportsAndDivArray()[N].divisions[C]?.cancelledMatch||0,color:"#F4320B"},{value:this.sportsAndDivArray()[N].divisions[C].matchLength-this.sportsAndDivArray()[N].divisions[C].scoredMatch,color:"#e5e7eb"}),this.sportsAndDivArray()[N].divisions[C].matchMeterData=G;}),D.matchCount+=this.sportsAndDivArray()[N].sportInfo.matchCount,D.scoredMatchCount+=this.sportsAndDivArray()[N].sportInfo.scoredMatchCount,D.pendingMatchCount+=(this.sportsAndDivArray()[N].sportInfo.matchCount??0)-((this.sportsAndDivArray()[N].sportInfo.scoredMatchCount??0)+(this.sportsAndDivArray()[N].sportInfo?.cancelledMatchCount??0)),D.cancelledMatchCount+=this.sportsAndDivArray()[N].sportInfo.cancelledMatchCount,D.resultsDeclaredCount+=this.sportsAndDivArray()[N].sportInfo.resultsDeclaredCount;}),this.allEventsRegDetails.set(O),this.overviewData.set(D);});});let e=this.activatedRoute.snapshot.data?.eventMainTab||"participants";this.finalPath.set(e);}viewEvent(e){this.applicantDataService.selectedListingTabId.set(0),this.router.navigate(["../division",e,this.finalPath()],{relativeTo:this.activatedRoute});}onClickImportExport(e){e.isTrusted&&(this.moreActionsMenuItem.set([1,3]),this.eventDetails()?.eventInfo?.isChamp&&this.moreActionsMenuItem.set([1,2,3]));}onClickExportStandings(e){e.isTrusted&&this.moreActionsStandings.set([1]);}exportAllDivisionParticipants(e,o,I){this.selectedSportId.set(o),this.allSportsByFlag.set(I),this.showExportCsv.set(e);}exportAllDivisionStandings(){this.showAllEventExportStandingsCsv.set(!0);}onCloseExport(e){this.allSportsByFlag.set(!1),this.selectedSportId.set(null),this.showExportCsv.set(""),this.showAllEventExportStandingsCsv.set(!1);}sendEmails(){this.participantsService.getAllEventsApplicants(this.eventDetails().eventInfo.id).pipe(At(this.destroyRef)).subscribe(e=>{if(e.length>0){let I=structuredClone(e.filter(D=>D.applicantInfo.id)).flatMap(D=>Object.values(D.applicantInfo.playerDetails??{}).filter(N=>!!N.email&&N.email!=="[email protected]").map(N=>({name:N.username,email:N.email,img:N.img,selected:!0}))),r=[...new Map(I.map(D=>[D.email,D])).values()];this.participantserviceDataService.eventEmailParticipants.set(r);let O={modalType:"showEmailParticipants"};this.customEmailService.availableMembersMails(r.length,this.orgDetails()?.orgInfo?.mail?.availableMails??this.defaultConstants.MINIMUM_EMAILS,this.orgDetails()?.orgInfo?.mail?.sentMailCount??0)?this.modalDataService.openModal(O):this.addMails();}});}addMails(){let e=this.orgDetails()?.orgInfo?.mail?.availableMails||this.defaultConstants.MINIMUM_EMAILS,o=this.orgDetails()?.orgInfo?.mail?.sentMailCount||0,I=this.orgDetails()?.orgInfo?.mail?.remainingMails??e-o,r=this.defaultConstants.MINIMUM_EMAILS;this.eventDataService.mailObject.set({totalEmailQuota:e,remainingEmailQuota:I,emailsSentCount:o,mails:r});let O={buyEmailModule:!0};this.modalDataService.openModal(O);}onCloseCustomEmailModal(){this.participantserviceDataService.eventEmailParticipants.set(null),this.modalDataService.closeModal();}ngOnDestroy(){this.filterText.set("");}ngOnInit(){}getStatus(e){return e<this.currentIndex?"completed":e===this.currentIndex?"active":"disabled";}get activeCount(){return this.scored+this.live;}get remaining(){return Math.max(this.total-this.activeCount,0);}get meterValues(){let e=[];return this.scored>0&&e.push({value:this.scored,color:"#00ba5d"}),this.live>0&&e.push({value:this.live,color:"#005CE6"}),this.remaining>0&&e.push({value:this.remaining,color:"#e5e7eb"}),e;}static{this.ɵfac=function(o){return new(o||_)();};}static{this.ɵcmp=Ze({type:_,selectors:[["app-divisions-listing"]],decls:5,vars:4,consts:()=>{let e;e="Participants";let o;o="Schedule";let I;I="Standings";let r;r="Statistics";let O;O="Categories";let D;D="Send Emails";let N;N=" No Events to show ";let C;
1C="Tournament Overview";let G;G="Total Registrations";let H;H="Across All Sports & Categories";let K;K="Draft";let $;$="Awaiting Completion";let c;c="Open";let J;J="Pending Acceptance";let n_;n_="Accepted";let i_;i_="Confirmed Participants";let o_;o_="Rejected";let S_;S_="Declined Participants";let l_;l_="Total Revenue";let I_;I_="All Fees Collected";let E_;E_="Total Registrations";let a_;a_="Across All Sports & Categories";let s_;s_="Draft";let N_;N_="Awaiting Completion";let r_;r_="Open";let d_;d_="Pending Acceptance";let T_;T_="Accepted";let A_;A_="Confirmed Participants";let P_;P_="Rejected";let C_;C_="Declined Participants";let O_;O_="Total Revenue";let c_;c_="All Fees Collected";let D_;D_="Tournament Overview";let L_;L_="Total Matches";let p_;p_="Across all categories";let m_;m_="Scored / Done";let G_;G_="Results Entered";let g_;g_="Pending Score";let u_;u_="To Be Scored";let R_;R_="Cancelled Score";let f_;f_="Results Entered";let M_;M_="Total Matches";let V_;V_="Across all categories";let v_;v_="Scored / Done";let Y_;Y_="Results Entered";let x_;x_="Pending Score";let $_;$_="To be scored";let h_;h_="Cancelled Score";let U_;U_="Results Entered";let H_;H_="Each bar shows the registration pipeline per Category";let Q_;Q_=" Categories ";let K_;K_=" Matches ";let y_;y_=" Scored";let b_;b_="Export";let B_;B_="Categories";let J_;J_="Status";let X_;X_="Particulars";let w_;w_="Fee";let F_;F_="Collected";let k_;k_="View";let z_;z_="Hidden";let j_;j_="Men ";let W_;W_="Women ";let q_;q_="Team Play";let Z_;Z_="Singles";let _e;_e="Doubles";let ee;ee="Mixed Doubles";let te;te="Born Before";let ne;ne="Born After";let ie;ie="Open";let oe;oe="Closed";let Se;Se=" Categories ";let le;le=" Matches ";let Ie;Ie=" Scored";let Ee;Ee=" Results Declared ";let ae;ae="Format:";let se;se="Men ";let Ne;Ne="Women ";let re;re="Team Play";let de;de="Singles";let Te;Te="Doubles";let Ae;Ae="Mixed Doubles";let Pe;Pe="Born Before";let Ce;Ce="Born After";let Oe;Oe="Total";let ce;ce="Scored";let De;De="Cancelled";let Le;Le="Scoring Completed";let pe;pe="Scoring Started";let me;me="Scoring Yet To Started";let Ge;Ge="Declared";let ge;ge="Pending";let ue;ue="Schedule Not Yet Published";let Re;Re="View Schedule";let fe;fe="View Standings";let Me;Me=" Categories ";let Ve;Ve=" Matches ";let ve;ve=" Scored";let Ye;Ye="Format:";let xe;xe="View Statistics";let $e;$e="Men | ";let he;he="Women | ";let Ue;Ue="Team Play ";let He;He="Singles ";let Qe;Qe="Doubles";let Ke;Ke="Mixed Doubles";let ye;ye="Born Before";let be;be="Born After";let Be;Be="Export & Tools";let Je;Je="Export Standings All Categories";let Xe;Xe="Export & Tools";let we;we="Export Participants By Category (CSV)";let Fe;Fe="Export Contingent (CSV)";let ke;ke="Export Participants By Sport (CSV)";let ze;ze="Enter the subject and message for the email, then send it to the selected participants.";let je;return je="Send Emails",[["filterTemplate",""],["pulsator",""],["newUiTemplate",""],["standingTemplate",""],["moreOptionsStandingsButtonTemplate",""],["moreOptionsButtonTemplate",""],["body",""],["header",""],["moreOptionsStandingsButtonToggle",""],["item",""],["moreOptionsButtonToggle",""],e,o,I,r,O,D,N,C,G,H,K,$,c,J,n_,i_,o_,S_,l_,I_,E_,a_,s_,N_,r_,d_,T_,A_,P_,C_,O_,c_,D_,L_,p_,m_,G_,g_,u_,R_,f_,M_,V_,v_,Y_,x_,$_,h_,U_,H_,Q_,K_,y_,b_,B_,J_,X_,w_,F_,k_,z_,j_,W_,q_,Z_,_e,ee,te,ne,ie,oe,Se,le,Ie,Ee,ae,se,Ne,re,de,Te,Ae,Pe,Ce,Oe,ce,De,Le,pe,me,Ge,ge,ue,Re,fe,Me,Ve,ve,Ye,xe,$e,he,Ue,He,Qe,Ke,ye,be,Be,Je,Xe,we,Fe,ke,ze,je,["appendTo","body","aria-label","Send Emails",3,"blockScroll","modal","visible","draggable","style","breakpoints"],[1,"container","min-h-[70vh]","relative"],[1,"flex","flex-col","w-full","mt-6","mb-4","gap-2"],[1,"flex","grow","page-header-title",3,"ngClass"],[1,"text-xl","md:text-3xl","font-bold"],[1,"flex","flex-col","md:flex-row","gap-2"],[1,"flex","flex-row","gap-2"],[4,"ngTemplateOutlet"],[1,"hidden","lg:block"],[1,"m-0"],[1,"flex","flex-col","gap-2","md:gap-3","pb-32","md:pb-0"],[1,"flex","flex-col","items-center","justify-center","h-64","gap-3"],["size","small",1,"bg-primary-50","dark:bg-primary-500","full-btn","rounded-md","h-fit","shrink-0",3,"click","outlined"],[1,"flex","justify-center","items-center","gap-2","dark:text-white"],[1,"pi","pi-send","text-xs","md:text-sm"],[1,"text-xs","md:text-sm","font-bold"],[1,"shrink-0"],[1,"flex","items-center","justify-center","w-20","h-20","border","border-surface-300","dark:border-surface-500","rounded-full"],[1,"icon","icon-ParticipantsStroke","text-4xl","text-surface-400"],[1,"text-sm","md:text-base","font-bold","text-surface-400"],[1,"w-full","lg:max-w-max","overflow-hidden","h-8"],["styleClass","pi pi-search"],["pInputText","","placeholder","Search","type","search",1,"w-full","lg:max-w-max","h-8",3,"ngModelChange","ngModel"],[1,"relative","flex","size-2"],[1,"absolute","
1inline-flex","h-full","w-full","animate-ping","rounded-full","bg-primary-400","opacity-75"],[1,"relative","inline-flex","size-2","rounded-full","bg-primary-500"],[1,"flex","flex-col","gap-4","md:gap-6","mt-3"],[1,"text-lg","md:text-xl","font-bold","text-surface-700","dark:text-surface-100"],[1,"block","md:hidden"],[1,"rounded-lg","border","border-surface-200","overflow-hidden","bg-gradient-to-b","from-[#E4E9EF]","dark:from-surface-800","to-white","dark:to-surface-950","dark:border-surface-700"],[1,"h-1.5","w-full","bg-primary-500"],[1,"px-2","py-1","flex","items-center","justify-between","text-sm"],[1,"flex","flex-col"],[1,"font-semibold","text-surface-800","dark:text-surface-200"],[1,"text-xs","text-surface-500","dark:text-surface-200"],[1,"text-blue-500","font-bold","dark:text-surface-300"],[1,"border-t","border-surface-300","w-full"],[1,"text-surface-500","font-bold","dark:text-surface-300"],[1,"text-[#FB8716]","font-bold","dark:text-surface-300"],[1,"text-green-500","font-bold","dark:text-surface-300"],[1,"text-[#C52E2E]","font-bold","dark:text-surface-300"],[1,"text-primary-500","font-bold","dark:text-surface-300"],[1,"hidden","md:block"],[1,"flex","flex-wrap","lg:flex-nowrap","gap-2","xl:gap-4"],[1,"flex-1","min-w-32","rounded-2xl","border","border-surface-200","overflow-hidden","bg-gradient-to-b","from-[#E4E9EF]","dark:from-surface-800","to-white","dark:to-surface-950","to-25%","dark:border-surface-700"],[1,"h-1.5","w-full","bg-blue-500"],[1,"p-2","md:p-3","flex","flex-col","gap-2"],[1,"text-blue-500","text-base","md:text-lg","font-bold"],[1,"text-sm","text-surface-600","dark:text-surface-200"],[1,"h-1.5","w-full","bg-surface-500"],[1,"text-surface-500","text-base","md:text-lg","font-bold","dark:text-surface-300"],[1,"h-1.5","w-full","bg-[#FB8716]"],[1,"text-[#FB8716]","text-base","md:text-lg","font-bold"],[1,"h-1.5","w-full","bg-green-500"],[1,"text-green-500","text-base","md:text-lg","font-bold"],[1,"h-1.5","w-full","bg-[#C52E2E]"],[1,"text-[#C52E2E]","text-base","md:text-lg","font-bold"],[1,"text-primary-500","text-base","md:text-lg","font-bold"],[1,"rounded-lg","border","border-surface-200","overflow-hidden","bg-gradient-to-b","from-[#E4E9EF]","dark:from-surface-800","to-white","dark:to-surface-950","to-25%","dark:border-surface-700"],[1,"px-2","py-1","flex","flex-col"],[1,"flex","justify-between","items-center","text-sm"],[1,"text-surface-500","font-semibold","dark:text-surface-300"],[1,"text-[#00ba5d]","font-semibold"],[1,"text-[#FB8716]","font-semibold"],[1,"text-[#F4320B]","font-semibold"],[1,"flex-1","min-w-32","rounded-2xl","border","border-surface-200","overflow-hidden","bg-gradient-to-b","from-[#E4E9EF]","dark:from-surface-800","to-white","dark:to-surface-950","dark:border-surface-700"],[1,"h-1.5","w-full","bg-[#F4320B]"],[1,"text-[#F4320B]","text-base","md:text-lg","font-bold"],[1,"flex","text-surface-500","dark:text-surface-300","text-xs","mb-2"],[1,"flex","flex-wrap","gap-x-4","gap-y-1","text-xs","text-surface-500","dark:text-surface-300"],[1,"flex","items-center","gap-1"],[1,"flex","justify-between","items-center"],[1,"flex","items-center","gap-2"],["styleClass","p-2 rounded-lg w-10 h-10 object-contain bg-[#E4E9EF] dark:bg-surface-600 border border-[#D1D5DC] dark:border-surface-600",3,"icon","label"],[1,"md:text-lg","font-semibold","text-surface-700","dark:text-surface-200"],[1,"text-xs","text-surface-500","mr-2","dark:text-surface-300"],["styleClass","text-sm bg-[#E4E9EF] border-none text-surface-700 font-semibold","size","small"],[1,"border","border-[#D1D5DC]","dark:border-surface-700","rounded-xl","overflow-hidden"],[1,"w-full"],[3,"value","scrollable"],["pTemplate","header"],["styleClass","text-sm bg-[#E4E9EF] border-none text-surface-700 font-semibold","size","small",3,"onClick"],[1,"pi","pi-upload","text-xs"],[1,"text-left","bg-surface-200","dark:bg-surface-700","text-surface-600","dark:text-surface-300","py-2"],["pFrozenColumn","",1,"min-w-44","max-w-56"],[1,"w-64"],[1,"min-w-36","text-center"],[1,"w-32"],[1,"w-20","text-center"],[1,"w-32","text-center"],[1,"cursor-pointer",3,"click"],[1,"flex","flex-row","items-center","gap-3"],[1,"text-sm","md:text-base","font-semibold","text-surface-900","dark:text-surface-300","capitalize"],["severity","warn"],[1,"text-xs","text-surface-500","dark:text-surface-300"],[1,"mr-2","w-64"],[1,"text-center"],[1,"inline-block","break-words","text-center","text-xs","text-primary-600","bg-primary-100","border","border-primary-200","px-4","py-1","rounded-full"],[1,"inline-block","break-words","text-center","text-xs","text-surface-600","bg-surface-100","border","border-surface-200","px-4","py-1","rounded-full"],[1,"text-center","w-32"],["severity","secondary","variant","text","size","small","rounded",""],[1,"flex","justify-center","items-center","gap-2"],[1,"text-xs","font-bold"],[1,"text-xs","pi","pi-arrow-circle-right","text-surface-400"],["styleClass","m-0"],[1,"flex","gap-1","items-center"],[1,"pi","pi-exclamation-triangle","text-xs"],[1,"text-xs","font-semibold"],[1,"flex","text-xxs","font-semibold"],[1,"flex","h-1.5","w-full","bg-surface-200","rounded","overflow-hidden"],[3,"width","backgroundColor"],[1,"text-center","text-xs",3,"width","color"],[1,"text-center","text-xs"],[1,"w-20","font-semibold","text-surface-800","dark:text-surface-300","text-center"],[1,"w-32","font-semibold","text-primary-500","text-center"],[1,"w-3","h-3","rounded-sm"],["toggler","header","styleClass","border-0 bg-gradient-to-b from-surface-200 via-surface-100/70 to-surface-100/50 dark:from-surface-900 dark:via-surface-700/50 dark:to-surface-700/50 p-0 rounded-lg overflow-hidden",1,"register-panel",3,"toggleable","pt"],[1,"grid","grid-cols-12","gap-2"],[1,"flex","items-center","gap-2","mt-2","cursor-pointer"],["styleClass","size-4 md:size-5",3,"icon","label"],[1,"text-base","md:text-lg","font-bold","text-surface-700","dark:text-surface-100"],[1,"hidden","md:inline"],[1,"col-span-12","sm:col-span-6","md:col-span-4","xl:col-span-3","gap-2","cursor-pointer"],[1,"col-span-12","sm:col-span-6","md:col-span-4","xl:col-span-3","gap-2","cursor-pointer",3,"click"],[1,"flex","gap-4","h-full"],[1,"w-full","h-full","flex","flex-col","rounded-2xl","border","border-surface-200","overflow-hidden","bg-gradient-to-b","from-[#E4E9EF]","dark:from-surface-800","to-white","dark:to-surface-950","dark:border-surface-700"],[1,"p-2","md:p-3","flex","flex-col","gap-4","h-full"],[1,"flex","flex-col","gap-1"],[1,"inline-block","w-fit","text-xs","text-surface-600","dark:text-surface-400","py-1","rounded-md","dark:bg-none","dar
1k:bg-surface-800","dark:border-surface-700"],[1,"pr-1"],[1,"flex","flex-col","h-full","py-3"],[1,"mt-auto","bg-surface-200","flex","items-center","p-3","dark:bg-surface-700","text-right"],[1,"flex","gap-1","justify-end","items-center","w-full"],[1,"text-sm","font-semibold"],[1,"pi","pi-arrow-circle-right","text-surface-700","dark:text-surface-300","text-sm"],[1,"flex","justify-between","items-center","mb-1"],[1,"text-surface-600","dark:text-surface-200","font-semibold","mb-2"],[1,"flex","gap-1","text-xs","text-surface-500","dark:text-surface-400"],["styleClass","custom-meter w-full",3,"value","max"],[1,"grid","grid-cols-4","gap-4","items-start"],[1,"rounded-xl","p-2","flex","flex-col","gap-1","items-center","text-center"],[1,"text-surface-800","dark:text-surface-200","font-semibold"],[1,"rounded-xl","bg-primary-500/10","text-primary-500","p-2","flex","flex-col","gap-1","items-center","text-center"],[1,"font-semibold"],[1,"text-xs"],[1,"rounded-xl","bg-[#F4320B]/10","text-[#F4320B]","p-2","flex","flex-col","gap-1","items-center","text-center"],[1,"rounded-xl","bg-[#e5e7eb]","dark:bg-surface-700","text-surface-800","dark:text-surface-100","p-2","flex","flex-col","gap-1","items-center","text-center"],["src","assets/icons/trophy/color/Trophy6Colour.svg","alt","Trophy",1,"size-5"],[1,"text-xs","text-orange-600"],[1,"col-span-12","md:col-span-3","gap-2","cursor-pointer"],[1,"col-span-12","md:col-span-3","gap-2","cursor-pointer",3,"click"],[1,"flex","gap-4"],[1,"flex","flex-col","gap-2"],[1,"w-full","flex","items-end","justify-center","gap-2","mb-2"],[1,"flex","flex-col","gap-3","items-center","flex-1"],[1,"text-sm","font-semibold","text-surface-800","dark:text-surface-200"],[1,"w-full","h-32","border","border-[#C0C0C0]/50","rounded-t-2xl","bg-gradient-to-b","from-[#C0C0C0]/50","to[#C0C0C0]/10","flex","items-center","justify-center"],[1,"text-lg","font-bold","text-surface-600","dark:text-surface-300"],[1,"flex","items-center","justify-center","gap-1"],["src","assets/icons/trophy/color/Trophy6Colour.svg",1,"w-3","object-contain"],[1,"w-full","h-40","border","border-[#D4AF37]/50","rounded-t-2xl","bg-gradient-to-b","from-[#D4AF37]/50","to-[#D4AF37]/10","flex","items-center","justify-center"],[1,"w-full","h-24","border","border-[#CD7F32]/50","rounded-t-2xl","bg-gradient-to-b","from-[#CD7F32]/50","to-[#CD7F32]/10","flex","items-center","justify-center"],[1,"border","border-surface-300","bg-surface-100","dark:bg-surface-700","flex","justify-between","items-center","p-2","rounded-lg"],[1,"flex","gap-2","text-sm","text-surface-700","dark:text-surface-300"],[1,"text-xs","text-surface-400","font-bold"],["severity","secondary","size","small",3,"click"],[1,"flex","justify-center","items-center","gap-1"],[1,"pi","pi-ellipsis-h","text-lg","font-bold"],["appendTo","body",3,"model","popup"],[1,"pi","pi-ellipsis-h",2,"font-size","0.8rem"],[1,"text-sm","font-bold"],[1,"pi","pi-angle-down",2,"font-size","0.8rem"],["pRipple","",1,"flex","items-center","p-menu-item-link"],["pRipple","",1,"flex","items-center","p-menu-item-link",3,"click"],[1,"pi","pi-file-excel",2,"font-size","0.8rem"],[1,"ml-2","text-sm"],[3,"onCloseExport","csvType","selectedSportId","allSportsByFlag"],[3,"onCloseExport","showExportCsv","showAllEventExportStandingsCsv"],["appendTo","body","aria-label","Send Emails",3,"visibleChange","onHide","blockScroll","modal","visible","draggable","breakpoints"],[1,"flex","flex-col","gap-4","mb-4"],[1,"text-sm","text-surface-600","dark:text-surface-100","mb-2"],[1,"text-2xl","font-bold"],[3,"customEmailClose","module","orgDetails","emailArray","isInline","currentUserData","eventDetails"]];},template:function(o,I){if(o&1&&(d(0,No,30,9)(1,ro,0,0),d(2,Ao,3,1),d(3,Co,3,1),d(4,Lo,7,10,"p-dialog",127)),o&2){let r;T(!((r=I.eventDetails())==null||r.eventInfo==null)&&r.eventInfo.id&&I.myRole()?0:1),S(2),T(I.showExportCsv()?2:-1),S(),T(I.showAllEventExportStandingsCsv()?3:-1),S(),T(I.modalSignal().modalType==="showEmailParticipants"?4:-1);}},dependencies:[ct,mt,Dt,Lt,pt,Mt,ft,Tt,dt,rt,Yt,vt,$t,xt,Rt,ut,bt,yt,Kt,Qt,ot,St,at,Xt,Jt,Ut,ht,zt,Ft,kt,gt,Gt,It,lt,Et],styles:["[_nghost-%COMP%] .custom-meter{padding:0}[_nghost-%COMP%] .custom-meter.p-metergroup-horizontal .p-metergroup-meters{height:5px!important}[_nghost-%COMP%] .custom-meter .p-metergroup-meter{height:100%;overflow:hidden;display:flex}[_nghost-%COMP%] .custom-meter .p-metergroup-value{height:100%}[_nghost-%COMP%] .custom-meter .p-metergroup-label-list, [_nghost-%COMP%] .custom-meter .p-metergroup-text{display:none}"]});}}return _;})();export{TS as DivisionsListingComponent};/**i18n:9bc18a1204d19a309c447bb3b01c83f0baabdcd9ed7053439bf7db96a208d800*/
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.