1import{a as Y}from"./chunk-YSKJGBHD.js";import{a as J}from"./chunk-NANIYEZA.js";import"./chunk-ZXYJLQLH.js";import{a as G}from"./chunk-2RAL7G6C.js";import"./chunk-3JMLN3K3.js";import{a as U}from"./chunk-O4FXT2CV.js";import{$a as N,Aa as x,Ab as $,B as S,Ga as M,Ia as g,Ja as h,K as u,Ka as i,La as c,Ma as s,Na as _,O as R,Rb as H,U as a,Ya as P,_ as T,ab as j,ac as W,ca as m,cb as O,eb as L,ha as E,ia as I,na as p,oa as t,pa as n,qa as b,sb as K,tb as V,ua as k,ub as F,va as B,wb as A}from"./chunk-7OTBOUFM.js";import"./chunk-6MDQTQU3.js";var ee=()=>[2,3,4],te=(o,d,e)=>({"bg-green-500":o,"bg-red-500":d,"bg-indigo-500":e});function ne(o,d){o&1&&(t(0,"div",8),b(1,"div",9),t(2,"span",10),i(3,"\u0141adowanie danych rezerwacji..."),n()())}function ie(o,d){if(o&1&&(t(0,"div",11),i(1),n()),o&2){let e=x();a(),s(" ",e.errorMessage()," ")}}function ae(o,d){if(o&1&&(t(0,"span",33),i(1),j(2,"date"),n()),o&2){let e=x(3);a(),s(" (Rezerwacja online z p\u0142atno\u015Bci\u0105 online. Je\u015Bli p\u0142atno\u015B\u0107 nie zostanie uregulowana, rezerwacja zostanie automatycznie usuni\u0119ta ",O(2,1,e.reservation().expirationDate,"yyyy.MM.dd HH:mm"),") ")}}function re(o,d){o&1&&(t(0,"span",33),i(1," (Rezerwacja online z p\u0142atno\u015Bci\u0105 w klubie) "),n())}function oe(o,d){if(o&1&&E(0,ae,3,4,"span",33)(1,re,2,0,"span",33),o&2){let e=x(2);I(e.reservation().expirationDate?0:1)}}function de(o,d){if(o&1&&(t(0,"span",34),i(1),n()),o&2){let e=x(2);a(),s(" (pobrano: ",e.reservation().ticketCourtPrice,") ")}}function le(o,d){if(o&1&&(t(0,"span",34),i(1),n()),o&2){let e=x(2);a(),s(" (pobrano: ",e.reservation().ticketTrainerPrice,") ")}}function se(o,d){if(o&1&&(t(0,"span"),i(1),n()),o&2){let e=x(2);a(),s(" ",e.reservation().promotions.join(", ")," ")}}function pe(o,d){o&1&&i(0,"Brak")}function ce(o,d){if(o&1&&(t(0,"span",42),i(1),n()),o&2){let e=x().$implicit;a(),_(" Op\u0142acono ",e.price," z\u0142 (",e.payedDateTime,") ")}}function me(o,d){if(o&1&&(t(0,"span",43),i(1),n()),o&2){let e=x().$implicit;a(),s(" Brak wp\u0142aty ",e.price," z\u0142 ")}}function xe(o,d){if(o&1&&(t(0,"div",39)(1,"span"),i(2),n(),m(3,ce,2,2,"span",40)(4,me,2,1,"span",41),n()),o&2){let e=d.$implicit;a(2),_("",e.name," (",e.email,") \u2014 "),a(),p("ngIf",e.payed),a(),p("ngIf",!e.payed)}}function ge(o,d){if(o&1&&(t(0,"div",35)(1,"p",36),i(2,"Dzielona p\u0142atno\u015B\u0107:"),n(),m(3,xe,5,4,"div",37),t(4,"div",38),i(5," \u0141\u0105cznie wp\u0142acono: "),t(6,"strong"),i(7),n(),i(8," \xA0|\xA0 Do wp\u0142aty: "),t(9,"strong"),i(10),n()()()),o&2){let e=x(2);a(3),p("ngForOf",e.reservation().splitPaymentClients),a(4),c(e.reservation().splitPaymentTotalPay),a(3),c(e.reservation().splitPaymentToPay)}}function ve(o,d){if(o&1&&(t(0,"div",16)(1,"span",17),i(2,"Kto usun\u0105\u0142:"),n(),t(3,"span",18),i(4),t(5,"span",25),i(6),n()()()),o&2){let e=x(2);a(4),_(" ",e.reservation().deletedByName," ",e.reservation().deletedBySurname," "),a(2),c(e.reservation().deletedByEmail)}}function ue(o,d){o&1&&(t(0,"span",61),i(1," Utworzenie "),n())}function fe(o,d){o&1&&(t(0,"span",62),i(1," Usuni\u0119cie "),n())}function _e(o,d){o&1&&(t(0,"span",63),i(1," Edycja "),n())}function be(o,d){o&1&&(t(0,"div",64),i(1," Rezerwacja zosta\u0142a utworzona "),n())}function ye(o,d){if(o&1&&(t(0,"div",67)(1,"span",68),i(2),n(),t(3,"span",69)(4,"span",70),i(5,"BY\u0141O"),n(),t(6,"span",71),i(7),n()(),t(8,"span",72),i(9,"\u2192"),n(),t(10,"span",73)(11,"span",74),i(12,"JEST"),n(),t(13,"span",75),i(14),n()()()),o&2){let e=d.$implicit,r=d.last;g("border-b",!r)("border-gray-100",!r),a(2),s(" ",e.field," "),a(5),c(e.oldValue),a(7),c(e.newValue)}}function Se(o,d){if(o&1&&(t(0,"div",65),m(1,ye,15,7,"div",66),n()),o&2){let e=x().$implicit;a(),p("ngForOf",e.changes)}}function he(o,d){o&1&&(t(0,"div",76),i(1," Zapis bez zmian w danych "),n())}function Ee(o,d){if(o&1&&(t(0,"div",48),b(1,"div",49),t(2,"div",50)(3,"span",51),i(4),n(),t(5,"span",52),i(6),n(),t(7,"span",53),i(8," przez: "),t(9,"span",54),i(10),n()(),m(11,ue,2,0,"span",55)(12,fe,2,0,"span",56)(13,_e,2,0,"span",57),n(),m(14,be,2,0,"div",58)(15,Se,2,1,"div",59)(16,he,2,0,"div",60),n()),o&2){let e=d.$implicit;a(),p("ngClass",N(10,te,e.isCreation,e.isDeleted,!e.isCreation&&!e.isDeleted)),a(3),s("#",e.index),a(2),s(" ",e.date," "),a(4),c(e.editedBy),a(),p("ngIf",e.isCreation),a(),p("ngIf",e.isDeleted),a(),p("ngIf",!e.isCreation&&!e.isDeleted&&e.changes.length>0),a(),p("ngIf",e.isCreation),a(),p("ngIf",!e.isCreation&&e.changes.length>0),a(),p("ngIf",!e.isCreation&&e.changes.length===0)}}function Ie(o,d){if(o&1&&(t(0,"div",12)(1,"div",29)(2,"span"),i(3,"Opis zmian w rezerwacji"),n(),t(4,"span",44),i(5),n()(),t(6,"div",14)(7,"div",45),b(8,"div",46),m(9,Ee,17,14,"div",47),n()()()),o&2){let e=x(2);a(5),s(" ",e.changeHistory().length," "),a(4),p("ngForOf",e.changeHistory())}}function we(o,d){o&1&&(t(0,"div",77),i(1," Brak log\xF3w zmian dla tej rezerwacji. "),n())}function Ce(o,d){if(o&1&&(t(0,"span"),i(1),n()),o&2){let e=x().$implicit;a(),s("Tak (",e.ticketTrainerPrice,")")}}function De(o,d){o&1&&(t(0,"span"),i(1,"Nie"),n())}function ze(o,d){if(o&1&&(t(0,"span"),i(1),n()),o&2){let e=x().$implicit;a(),s("Tak (",e.ticketCourtPrice,")")}}function Re(o,d){o&1&&(t(0,"span"),i(1,"Nie"),n())}function Te(o,d){if(o&1&&(t(0,"tr",83)(1,"td",84),i(2),n(),t(3,"td",85),i(4),b(5,"br"),t(6,"span",19),i(7),n()(),t(8,"td",85),i(9),b(10,"br"),i(11),n(),t(12,"td",86),i(13),n(),t(14,"td",87),i(15),n(),t(16,"td",86),i(17),n(),t(18,"td",86),i(19),n(),t(20,"td",86),i(21),n(),t(22,"td",86),i(23),n(),t(24,"td",86),i(25),n(),t(26,"td",86),i(27),n(),t(28,"td",86),m(29,Ce,2,1,"span",7)(30,De,2,0,"span",7),n(),t(31,"td",86),m(32,ze,2,1,"span",7)(33,Re,2,0,"span",7),n(),t(34,"td",85),i(35),n(),t(36,"td",85),i(37),n(),t(38,"td",85),i(39),n(),t(40,"td",86),i(41),n(),t(42,"td",86),i(43),n(),t(44,"td",86),i(45),n()()),o&2){let e=d.$implicit,r=d.index,l=x(3);a(2),c(r+1),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"name","surname","phone")),a(),_(" ",e.name," ",e.surname),a(3),s("tel. ",e.phone),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"date","dayOfWeek","hourStart","hourStop")),a(),_(" ",e.date," ",e.dayOfWeek),a(2),_(" ",e.hourStart," - ",e.hourStop," "),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"courtName")),a(),s(" ",e.courtName," "),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"description")),a(),s(" ",e.de
1scription," "),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"reservationTypeDesc")),a(),s(" ",e.reservationTypeDesc," "),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"payed")),a(),s(" ",l.formatBool(e.payed)," "),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"paymentMethodDesc")),a(),s(" ",e.paymentMethodDesc," "),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"price")),a(),s(" ",e.price," "),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"absent")),a(),s(" ",l.formatBool(e.absent)," "),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"trainerName")),a(),s(" ",e.trainerName," "),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"ticketTrainer","ticketTrainerPrice")),a(),p("ngIf",l.hasValue(e.ticketTrainer)),a(),p("ngIf",!l.hasValue(e.ticketTrainer)),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"ticketCourt","ticketCourtPrice")),a(),p("ngIf",l.hasValue(e.ticketCourt)),a(),p("ngIf",!l.hasValue(e.ticketCourt)),a(2),c(e.createdAt),a(2),c(e.createdByEmail),a(2),c(e.editAt),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"editByEmail")),a(),s(" ",e.editByEmail," "),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"deleted")),a(),s(" ",l.formatBool(e.deleted)," "),a(),g("bg-red-100",l.isChanged(e,l.getReference(r),"deletedAt")),a(),s(" ",e.deletedAt," ")}}function ke(o,d){if(o&1&&(t(0,"div",78)(1,"table",79)(2,"thead",80)(3,"tr")(4,"th",81),i(5,"Nr"),n(),t(6,"th",81),i(7,"Klient"),n(),t(8,"th",81),i(9,"Data"),n(),t(10,"th",81),i(11,"Kort"),n(),t(12,"th",81),i(13,"Opis"),n(),t(14,"th",81),i(15,"Typ rezerwacji"),n(),t(16,"th",81),i(17,"Op\u0142acona"),n(),t(18,"th",81),i(19,"P\u0142atno\u015B\u0107"),n(),t(20,"th",81),i(21,"Cena"),n(),t(22,"th",81),i(23,"Obecno\u015B\u0107"),n(),t(24,"th",81),i(25,"Trener"),n(),t(26,"th",81),i(27,"Karnet Trener"),n(),t(28,"th",81),i(29,"Karnet Kort"),n(),t(30,"th",81),i(31,"Utworzone"),n(),t(32,"th",81),i(33,"Utworzone przez"),n(),t(34,"th",81),i(35,"Edytowana"),n(),t(36,"th",81),i(37,"Edytowana przez"),n(),t(38,"th",81),i(39,"Usuni\u0119ta"),n(),t(40,"th",81),i(41,"Data usuni\u0119cia"),n()()(),t(42,"tbody"),m(43,Te,46,56,"tr",82),n()()()),o&2){let e=x(2);a(43),p("ngForOf",e.reservationLogs())}}function Be(o,d){if(o&1&&(k(0),t(1,"div",12)(2,"div",13),i(3),n(),t(4,"div",14)(5,"div",15)(6,"div",16)(7,"span",17),i(8,"Klient:"),n(),t(9,"span",18),i(10),t(11,"span",19),i(12),n()()(),t(13,"div",16)(14,"span",17),i(15,"Trener:"),n(),t(16,"span",18),i(17),n()(),t(18,"div",16)(19,"span",17),i(20,"Start:"),n(),t(21,"span",18),i(22),n()(),t(23,"div",16)(24,"span",17),i(25,"Dzie\u0144 tygodnia:"),n(),t(26,"span",18),i(27),n()(),t(28,"div",16)(29,"span",17),i(30,"Stop:"),n(),t(31,"span",18),i(32),n()(),t(33,"div",16)(34,"span",17),i(35,"Kort:"),n(),t(36,"span",18),i(37),n()(),t(38,"div",16)(39,"span",17),i(40,"Cena:"),n(),t(41,"span",18),i(42),n()(),t(43,"div",16)(44,"span",17),i(45,"Rodzaj p\u0142atno\u015Bci:"),n(),t(46,"span",18),i(47),n()(),t(48,"div",16)(49,"span",17),i(50,"Czy op\u0142acona:"),n(),t(51,"span",20),i(52),E(53,oe,2,1),n()(),t(54,"div",16)(55,"span",17),i(56,"Rodzaj rezerwacji:"),n(),t(57,"span",18),i(58),n()(),t(59,"div",16)(60,"span",17),i(61,"Typ rezerwacji:"),n(),t(62,"span",18),i(63),n()(),t(64,"div",16)(65,"span",17),i(66,"Nieobecno\u015B\u0107:"),n(),t(67,"span",20),i(68),n()(),t(69,"div",16)(70,"span",17),i(71,"Karnet kort:"),n(),t(72,"span",18),i(73),m(74,de,2,1,"span",21),n()(),t(75,"div",16)(76,"span",17),i(77,"Karnet trener:"),n(),t(78,"span",18),i(79),m(80,le,2,1,"span",21),n()(),t(81,"div",16)(82,"span",17),i(83,"Promocja:"),n(),t(84,"span",18),m(85,se,2,1,"span",22)(86,pe,1,0,"ng-template",null,0,L),n()(),t(88,"div",16)(89,"span",17),i(90,"Opis:"),n(),t(91,"span",18),i(92),n()()(),m(93,ge,11,3,"div",23),t(94,"div",24)(95,"div",16)(96,"span",17),i(97,"Kto utworzy\u0142:"),n(),t(98,"span",18),i(99),b(100,"br"),t(101,"span",25),i(102),n()()(),t(103,"div",16)(104,"span",17),i(105,"Kiedy dodany:"),n(),t(106,"span",18),i(107),n()(),t(108,"div",16)(109,"span",17),i(110,"Czy usuni\u0119ty:"),n(),t(111,"span",20),i(112),n()(),t(113,"div",16)(114,"span",17),i(115,"Kiedy usuni\u0119ty:"),n(),t(116,"span",18),i(117),n()(),m(118,ve,7,3,"div",26),n()()(),m(119,Ie,10,2,"div",27),t(120,"div",28)(121,"div",29)(122,"span"),i(123,"Lista wszystkich zmian"),n(),t(124,"span",30),i(125),n()(),m(126,we,2,0,"div",31)(127,ke,44,1,"div",32),n(),B()),o&2){let e=M(87),r=x();a(3),s(" Informacje o rezerwacji (",r.reservation().sport,") "),a(7),_(" ",r.reservation().name," ",r.reservation().surname," "),a(2),s("(tel. ",r.reservation().phone,")"),a(5),c(r.reservation().trainerName),a(5),c(r.reservation().dateStart),a(5),c(r.reservation().dayOfWeek),a(5),c(r.reservation().dateStop),a(5),c(r.reservation().courtName),a(5),c(r.reservation().price),a(5),c(r.reservation().paymentMethodDesc),a(4),h(r.reservation().payed?"text-[#99bc39] font-semibold":"text-red-600 font-semibold"),a(),s(" ",r.formatBool(r.reservation().payed)," "),a(),I(P(41,ee).includes(r.reservation().reservationType)&&!r.reservation().payed?53:-1),a(5),c(r.reservation().reservationTypeDesc),a(5),c(r.reservation().reservationMethodDesc),a(4),h(r.reservation().absent?"text-red-600 font-semibold":"text-gray-900"),a(),s(" ",r.formatBool(r.reservation().absent)," "),a(5),s(" ",r.hasValue(r.reservation().ticketCourt)?"Tak":"Nie"," "),a(),p("ngIf",r.hasValue(r.reservation().ticketCourt)),a(5),s(" ",r.hasValue(r.reservation().ticketTrainer)?"Tak":"Nie"," "),a(),p("ngIf",r.hasValue(r.reservation().ticketTrainer)),a(5),p("ngIf",r.reservation().promotions&&r.reservation().promotions.length>0)("ngIfElse",e),a(7),c(r.reservation().description||"\u2014"),a(),p("ngIf",r.reservation().splitPayment),a(6),_(" ",r.reservation().createdByName," ",r.reservation().createdBySurname," "),a(3),c(r.reservation().createdByEmail),a(5),c(r.reservation().createdAt),a(4),h(r.reservation().deleted?"text-red-600 font-semibold":"text-gray-900"),a(),s(" ",r.formatBool(r.reservation().deleted)," "),a(5),c(r.reservation().deleted?r.reservation().deletedAt:"\u2014"),a(),p("ngIf",r.reservation().deleted),a(),p("ngIf",r.changeHistory().length>0),a(6),s(" ",r.reservationLogs().length," "),a(),p("ngIf",r.reservationLogs().length===0),a(),p("ngIf",r.reservationLogs().length>0)}}var Z=class o{route=S(H);dataService=S(J);platformId=S(R);seoService=S(G);analyticsService=S(U);activePage=u("rezerwacja_szczegoly");isMenuOpen=u(!1);isLoading=u(!0);currentClubSlug=u("");idReservation=u(0);reservation=u(null);reservationLogs=u([]);errorMessage=u("");logColumns=["Klient","Data","Kort","Opis","Typ rezerwacji","Czy op\u0142acona","Rodzaj p\u0142atno\u015Bci","Cena","Obecno\u015B\u0107","Trener","Karnet Trener","Karnet Kort","Utworzone","Utworzone przez","Edytowana","Edytowana przez","Czy usuni\u0119ta","Data usuni\u0119cia"];changeHistory=u([]);toggleMenu=()=>this.isMenuOpen.update(d=>!d);ngOnInit(){let d=this.route.parent?.snapshot.paramMap.get("slug"),e=this.route.
1snapshot.paramMap.get("idReservation");this.seoService.setPage({title:`Rezerwacja #${e} szczeg\xF3\u0142y - RezerwujKort.pl`,description:`Rezerwacja #${e} szczeg\xF3\u0142y - RezerwujKort.pl`}),d&&this.currentClubSlug.set(d),e&&this.idReservation.set(Number(e)),d&&e&&this.loadData(d,Number(e)),this.analyticsService.trackEvent("Strona","Wej\u015Bcie","Rezerwacja #${id} szczeg\xF3\u0142y")}loadData(d,e){this.isLoading.set(!0),this.errorMessage.set(""),this.dataService.getOneReservation(d,e).subscribe({next:r=>{this.reservation.set(r),this.loadLogs(d,e)},error:r=>{console.error("B\u0142\u0105d pobierania rezerwacji:",r),this.errorMessage.set("Nie uda\u0142o si\u0119 pobra\u0107 danych rezerwacji."),this.isLoading.set(!1)}})}loadLogs(d,e){this.dataService.getOneReservationLog(d,e).subscribe({next:r=>{this.reservationLogs.set(r),this.changeHistory.set(this.buildChangeHistory()),this.isLoading.set(!1)},error:r=>{console.error("B\u0142\u0105d pobierania log\xF3w:",r),this.isLoading.set(!1)}})}isChanged(d,e,...r){return r.some(l=>{let f=d[l],v=e[l];return l==="price"?String(f).replace(",",".")!==String(v).replace(",","."):f!==v})}getReference(d){return d===0?this.reservation():this.reservationLogs()[d-1]}formatBool(d){return d?"Tak":"Nie"}hasValue(d){return d!=null}fieldLabels={name:"Imi\u0119",surname:"Nazwisko",phone:"Telefon",date:"Data",dayOfWeek:"Dzie\u0144 tygodnia",hourStart:"Godzina start",hourStop:"Godzina stop",courtName:"Kort",description:"Opis",reservationTypeDesc:"Typ rezerwacji",payed:"Op\u0142acona",paymentMethodDesc:"Rodzaj p\u0142atno\u015Bci",price:"Cena",absent:"Nieobecno\u015B\u0107",trainerName:"Trener",ticketTrainer:"Karnet trener",ticketTrainerPrice:"Karnet trener (kwota)",ticketCourt:"Karnet kort",ticketCourtPrice:"Karnet kort (kwota)",deleted:"Usuni\u0119ta",deletedAt:"Data usuni\u0119cia",sport:"Sport",reservationMethodDesc:"Metoda rezerwacji",editByEmail:"Edytowane przez"};trackedFields=["name","surname","phone","date","dayOfWeek","hourStart","hourStop","courtName","description","reservationTypeDesc","payed","paymentMethodDesc","price","absent","trainerName","ticketTrainer","ticketTrainerPrice","ticketCourt","ticketCourtPrice","deleted","deletedAt","sport","reservationMethodDesc"];buildChangeHistory(){let d=this.reservationLogs(),e=this.reservation();if(!e)return[];let r=[...d].reverse(),l=[];l.push({index:1,date:e.createdAt||"",editedBy:[e.createdByName,e.createdBySurname].filter(Boolean).join(" ")+(e.createdByEmail?` (${e.createdByEmail})`:""),changes:[],isCreation:!0,isDeleted:!1});for(let f=0;f<r.length;f++){let v=r[f],w=f<r.length-1?r[f+1]:e,C=[];for(let y of this.trackedFields){let Q=v[y],X=w[y],D=this.normalizeValue(y,Q),z=this.normalizeValue(y,X);D!==z&&C.push({field:this.fieldLabels[y]||y,oldValue:D,newValue:z})}let q=w.deleted&&!v.deleted;l.push({index:f+2,date:v.editAt||v.createdAt||"",editedBy:[v.editByName,v.editBySurname].filter(Boolean).join(" ")+(v.editByEmail?` (${v.editByEmail})`:""),changes:C,isCreation:!1,isDeleted:q})}return l}normalizeValue(d,e){return e==null?"\u2014":typeof e=="boolean"?e?"Tak":"Nie":d==="price"?String(e).replace(",","."):String(e)}formatEditor(d,e){return e?[d.createdByName,d.createdBySurname].filter(Boolean).join(" ")+(d.createdByEmail?` (${d.createdByEmail})`:""):[d.editByName,d.editBySurname].filter(Boolean).join(" ")+(d.editByEmail?` (${d.editByEmail})`:"")}static \u0275fac=function(e){return new(e||o)};static \u0275cmp=T({type:o,selectors:[["app-reservation-details"]],decls:7,vars:8,consts:[["noPromo",""],[1,"flex","flex-col","min-h-screen","w-full","font-sans","relative",2,"background-color","#eff6ff"],[1,"sticky","top-0","z-[100]","border-b","border-gray-400","w-full","shadow-md"],[3,"isLoading","isMenuOpen","activePage","currentClubSlug","toggleMenu"],[1,"w-full","max-w-[1400px]","mx-auto","px-3","sm:px-4","py-4","sm:py-6"],["class","flex justify-center items-center py-20",4,"ngIf"],["class","bg-red-50 border border-red-300 text-red-700 rounded-lg px-4 py-3 mb-4 text-base",4,"ngIf"],[4,"ngIf"],[1,"flex","justify-center","items-center","py-20"],[1,"animate-spin","rounded-full","h-10","w-10","border-4","border-blue-500","border-t-transparent"],[1,"ml-3","text-gray-600","text-base"],[1,"bg-red-50","border","border-red-300","text-red-700","rounded-lg","px-4","py-3","mb-4","text-base"],[1,"bg-white","rounded-xl","shadow-sm","border","border-gray-200","mb-6","overflow-hidden"],[1,"bg-gray-700","text-white","px-4","sm:px-5","py-3","text-base","font-semibold"],[1,"px-4","sm:px-5","py-4"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-x-8","gap-y-1"],[1,"flex","border-b","border-gray-100","py-2"],[1,"text-gray-500","font-medium","w-40","shrink-0","text-base"],[1,"text-gray-900","text-base"],[1,"text-gray-400"],[1,"text-base"],["class","text-gray-500",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","mt-4 bg-amber-50 border border-amber-200 rounded-lg p-3",4,"ngIf"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-x-8","mt-4","pt-3","border-t","border-gray-200"],[1,"text-gray-400","text-base"],["class","flex border-b border-gray-100 py-2",4,"ngIf"],["class","bg-white rounded-xl shadow-sm border border-gray-200 mb-6 overflow-hidden",4,"ngIf"],[1,"bg-white","rounded-xl","shadow-sm","border","border-gray-200","overflow-hidden"],[1,"bg-gray-700","text-white","px-4","sm:px-5","py-3","text-base","font-semibold","flex","items-center","justify-between"],[1,"bg-gray-600","text-white","text-base","font-bold","px-2.5","py-0.5","rounded-full"],["class","px-5 py-8 text-center text-gray-400 text-base",4,"ngIf"],["class","overflow-x-auto",4,"ngIf"],[1,"text-red-600","font-bold"],[1,"text-gray-500"],[1,"mt-4","bg-amber-50","border","border-amber-200","rounded-lg","p-3"],[1,"font-semibold","text-amber-800","text-base","mb-2"],["class","text-base mb-1",4,"ngFor","ngForOf"],[1,"text-base","mt-2","text-amber-900"],[1,"text-base","mb-1"],["class","text-green-700 font-semibold",4,"ngIf"],["class","text-red-600 font-semibold",4,"ngIf"],[1,"text-green-700","font-semibold"],[1,"text-red-600","font-semibold"],[1,"bg-indigo-500","text-white","text-base","font-bold","px-2.5","py-0.5","rounded-full"],[1,"relative"],[1,"absolute","left-[15px]","top-2","bottom-2","w-0.5","bg-gray-200"],["class","relative pl-10 pb-6 last:pb-0",4,"ngFor","ngForOf"],[1,"relative","pl-10","pb-6","last:pb-0"],[1,"absolute","left-[9px]","top-1","w-3.5","h-3.5","rounded-full","border-2","border-white","shadow-sm",3,"ngClass"],[1,"flex","flex-wrap","items-center","gap-x-3","gap-y-1","mb-1.5"],[1,"text-base","font-mono","text-gray-400"],[1,"text-base","font-semibold","text-gray-800"],[1,"text-base","text-gray-500"],[1,"font-medium","text-gray-700"],["class","text-base uppercase font-bold tracking-wider bg-green-100 text-green-700 px-2 py-0.5 rounded-full",4,"ngIf"],["class","text-base uppercase font-bold tracking-wider bg-red-100 text-red-700 px-2 py-0.5 rounded-full",4,"ngIf"],["class","text-base uppercase font-bold tracking-wider bg-indigo-100 text-indigo-700 px-2 py-0.5 rounded-full",4,"ngIf"],["class","text-base text-green-700 font-medium",4,"ngIf"],["class","bg-gray-50 rounded-lg border border-gray-100 overflow-hidden",4,"ngIf"],["class","text-base text-gray-400 italic",4,"ngIf"],[1,"text-base","uppercase","font-bold","tracking-wider","bg-green-100","text-green-700","px-2","py-0.5","rounded-full"],[1,"text-base","uppercase","font-bold","tracking-wider","bg-red-100","text-red-700","px-2","py-0.5","rounded-full"],[1,"text-base","uppercase","font-bold","tracking-wider","bg-indigo-100","text-indigo-700","px-2","py-0.5","rounded-full"],[1,"text-base","text-green-700","font-medium"],[1,"bg-gray-50","rounded-lg","border","border-gray-100","overflow-hidden"],["class","flex flex-col sm:flex-row sm:items-center gap-1 sm:gap-3 px-3 py-2 text-base",3,"border-b","border-gray-100",4,"ngFor","ngForOf"],[1,"flex","flex-col","sm:flex-row","sm:items-center","gap-1","
1sm:gap-3","px-3","py-2","text-base"],[1,"font-medium","text-gray-700","sm:w-44","shrink-0"],[1,"flex","items-center","gap-1","text-red-600"],[1,"text-base","font-bold","bg-red-100","px-1.5","py-0.5","rounded"],[1,"line-through","text-red-500/80"],[1,"hidden","sm:inline","text-gray-300"],[1,"flex","items-center","gap-1","text-green-700"],[1,"text-base","font-bold","bg-green-100","px-1.5","py-0.5","rounded"],[1,"font-medium"],[1,"text-base","text-gray-400","italic"],[1,"px-5","py-8","text-center","text-gray-400","text-base"],[1,"overflow-x-auto"],[1,"w-full","text-base","text-left"],[1,"bg-gray-50","text-gray-600","uppercase","tracking-wider","border-b","border-gray-200"],[1,"px-2","py-2.5","whitespace-nowrap"],["class","border-b border-gray-100 hover:bg-gray-50 transition-colors",4,"ngFor","ngForOf"],[1,"border-b","border-gray-100","hover:bg-gray-50","transition-colors"],[1,"px-2","py-2","font-semibold","text-gray-700"],[1,"px-2","py-2","whitespace-nowrap"],[1,"px-2","py-2"],[1,"px-2","py-2","max-w-[120px]","truncate"]],template:function(e,r){e&1&&(t(0,"div",1)(1,"div",2),b(2,"app-booking-header",3),n(),t(3,"div",4),m(4,ne,4,0,"div",5)(5,ie,2,1,"div",6)(6,Be,128,42,"ng-container",7),n()()),e&2&&(a(2),p("isLoading",r.isLoading())("isMenuOpen",r.isMenuOpen())("activePage",r.activePage())("currentClubSlug",r.currentClubSlug())("toggleMenu",r.toggleMenu),a(2),p("ngIf",r.isLoading()),a(),p("ngIf",r.errorMessage()),a(),p("ngIf",!r.isLoading()&&r.reservation()))},dependencies:[$,K,V,F,W,Y,A],encapsulation:2})};export{Z as ReservationDetails};
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.