PageSourceSearch

https://buk.app/chunk-K27FTPRQ.js

js buk.app collected 2026-09-25 20:27:44 UTC 23,684 bytes, 4 lines download raw bytes

1import{a as Ne,b as Re,c as Ae,d as Fe,e as Ve,h as qe,i as Ue,j as We,k as je,l as Le,m as $e,n as ze,o as Je}from"./chunk-L65QEAAZ.js";import{a as L}from"./chunk-XPGWU2C5.js";import{f as He,g as P,h as $}from"./chunk-YAMMWOQU.js";import"./chunk-ZP2XLSCX.js";import"./chunk-2P7MOSI5.js";import"./chunk-EXE5UNVO.js";import"./chunk-L5FTC2GC.js";import"./chunk-EGLP6YRY.js";import"./chunk-ZGWNSG4P.js";import"./chunk-EJJB3XEW.js";import"./chunk-PPWW3AMZ.js";import"./chunk-RDOYYCBF.js";import"./chunk-EMX64HAG.js";import"./chunk-7VO6NQGK.js";import"./chunk-5Z5TH2LF.js";import"./chunk-MTIZ6EL2.js";import"./chunk-2ERYRARB.js";import"./chunk-5XB2BQMZ.js";import"./chunk-T7F2PNNY.js";import"./chunk-YUGH5GBV.js";import{e as Be}from"./chunk-UDQ3S5DO.js";import"./chunk-KUVETZBH.js";import"./chunk-FPCIL3QG.js";import"./chunk-GSTOSL5D.js";import"./chunk-GP4MVND7.js";import"./chunk-J7QE4UKJ.js";import"./chunk-2HKKSENV.js";import{a as j}from"./chunk-OZAAYTIP.js";import{F as Ee,H as Oe,O as ee,_ as De,f as Pe,l as ke,ta as W,z as f}from"./chunk-4AEP4IYR.js";import{a as Me}from"./chunk-ARYEMVBO.js";import"./chunk-IZ3KR6PN.js";import"./chunk-NIONRHWP.js";import"./chunk-XPCL5VDP.js";import"./chunk-RJCZALW7.js";import"./chunk-3L6XVKXL.js";import"./chunk-BTFQ6KY7.js";import{a as Te}from"./chunk-YYP6GBHO.js";import{Q as Ie,a as V,ba as q,na as U}from"./chunk-DXO35ZLD.js";import"./chunk-SZ3RYLDE.js";import"./chunk-GID2AQ6H.js";import{c as be}from"./chunk-Z73XETQO.js";import{P as A,R as F,g as Ce,h as ye,i as we,l as Se,p as xe,x as Z}from"./chunk-JUPH277U.js";import{$ as le,Bb as o,Bc as Y,Dc as v,Hc as ue,Ic as he,Ja as E,Jc as ve,Ka as O,Kd as R,N as ae,Nb as _,Nc as B,P as re,Pc as I,Q as J,S as Q,Sc as u,Tb as ce,Tc as T,Uc as x,Vc as fe,Yb as C,ab as se,da as G,dc as pe,dd as D,ec as me,fb as de,hd as ge,id as _e,jc as c,jd as H,ka as K,kc as m,lc as p,mc as S,o as te,ra as oe,rd as y,sd as b,td as N,vc as X,wd as M,y as ne,z as ie}from"./chunk-4ITSOKTZ.js";var tt=["calendarRef"],nt=()=>["right","left","top","bottom"],Qe=n=>({backgroundColor:n}),it=n=>({noshow:n});function at(n,t){n&1&&(m(0,"div",11),S(1,"app-loader"),p())}function rt(n,t){n&1&&(m(0,"div",12),S(1,"app-loader"),p())}function lt(n,t){if(n&1&&(m(0,"div",13)(1,"p",14),u(2),p()()),n&2){let e=v();o(2),x("\u{1F5D3} ",e.isHoliday)}}function ot(n,t){n&1&&(m(0,"div",18)(1,"div",19),u(2,"event_busy"),p(),m(3,"div"),u(4),y(5,"translate"),p()()),n&2&&(o(4),T(b(5,1,"DASHBOARD.calendarPage.noCalendars")))}function st(n,t){if(n&1&&S(0,"app-upload-avatar-image",25),n&2){let e=v().$implicit;c("image",e==null?null:e.profileImage)("name",e==null?null:e.name)}}function dt(n,t){if(n&1){let e=X();m(0,"div",20)(1,"div",21)(2,"div",22),C(3,st,1,2,"app-upload-avatar-image",23),p(),m(4,"span"),u(5),p()(),m(6,"mwl-calendar-day-view",24,4),Y("eventClicked",function(r){E(e);let s=v(2);return O(s.eventClicked(r.event))})("hourSegmentClicked",function(r){let s=E(e).$implicit,a=v(2);return O(a.hourSegmentClicked(r.date,s))})("beforeViewRender",function(r){let s=E(e).index,a=v(2);return O(a.beforeDayViewRender(r,s))})("eventTimesChanged",function(r){let s=E(e).index,a=v(2);return O(a.dragEvent(r,s))}),p()()}if(n&2){let e=t.$implicit,i=t.index,r=v(2),s=B(7),a=B(9),l=B(13);I("first-calendar",i===0),o(3),c("ngIf",e==null?null:e.id),o(2),T(e.name),o(),c("events",e.events)("viewDate",r.viewDate)("hourSegments",60/r.bookingFrequency)("dayStartHour",r.dayStartHour)("dayEndHour",r.dayEndHour)("tooltipTemplate",s)("tooltipPlacement",_e(16,nt))("tooltipAppendToBody",!0)("hourSegmentTemplate",a)("refresh",r.refreshView)("eventTitleTemplate",l)("snapDraggedEvents",!0)}}function ct(n,t){if(n&1&&(m(0,"div",15),C(1,ot,6,3,"div",16)(2,dt,8,17,"div",17),p()),n&2){let e=v();I("pulse",e.loadingEvents),o(),c("ngIf",!e.calendarsData.length),o(),c("ngForOf",e.calendarsData)}}function pt(n,t){if(n&1&&S(0,"app-calendar-tooltip-template",26),n&2){let e=t.event;c("event",e)}}function mt(n,t){if(n&1&&(m(0,"span",32),u(1),y(2,"date"),p()),n&2){let e=v().segment;o(),x(" \xA0",N(2,1,e.date,"a")," ")}}function ut(n,t){if(n&1&&(m(0,"div",27)(1,"div",28),y(2,"date"),m(3,"span",29),u(4),y(5,"date"),p(),C(6,mt,3,4,"span",30),p(),S(7,"div",31),p()),n&2){let e=t.segment,i=v();o(),I("current",N(2,7,e.date,"HH:mm")==i.currentTime)("hour-pt",i.language!=="en"),o(3),x(" ",N(5,10,e.date,i.language!=="en"?"HH:mm":"h:mm")," "),o(2),c("ngIf",i.language==="en"),o(),c("ngClass",e.cssClass)}}function ht(n,t){n&1&&S(0,"div",33)}function vt(n,t){if(n&1&&(m(0,"span"),u(1),p()),n&2){let e=v(2).event;o(),x(" / ",e==null||e.meta==null||e.meta.data==null||e.meta.data.service==null?null:e.meta.data.service.categoryName)}}function ft(n,t){if(n&1&&(m(0,"span",38),S(1,"app-room-equipment-badge",41),p()),n&2){let e=v(2).event;o(),c("name",e==null||e.meta==null||e.meta.data==null||e.meta.data.roomEquipment==null?null:e.meta.data.roomEquipment.name)}}function gt(n,t){if(n&1&&(m(0,"h3",42)(1,"span"),u(2),p()()),n&2){let e=v(2).event;o(2),x('"',e==null||e.meta==null||e.meta.data==null?null:e.meta.data.notes,'"')}}function _t(n,t){n&1&&(m(0,"li")(1,"i",43),u(2,"chat_bubble"),p()())}function Ct(n,t){n&1&&(m(0,"li")(1,"i",44),y(2,"translate"),u(3,"euro"),p()()),n&2&&(o(),c("title",D(b(2,2,"DASHBOARD.calendarPage.paid"))))}function yt(n,t){n&1&&(m(0,"li")(1,"i",45),y(2,"translate"),u(3,"emoji_events"),p()()),n&2&&(o(),c("title",D(b(2,2,"DASHBOARD.calendarPage.isLoyaltyPrizeBooking"))))}function wt(n,t){n&1&&(m(0,"li")(1,"i",46),y(2,"translate"),u(3,"favorite"),p()()),n&2&&(o(),c("title",D(b(2,2,"DASHBOARD.calendarPage.providerSelected"))))}function St(n,t){n&1&&(m(0,"li")(1,"i",46),y(2,"translate"),u(3,"receipt_long"),p()()),n&2&&(o(),c("title",D(b(2,2,"DASHBOARD.calendarPage.invoiceExists"))))}function xt(n,t){if(n&1&&(m(0,"div",36)(1,"h3"),u(2),m(3,"span"),u(4),p(),C(5,vt,2,1,"span",37),pe(6,ft,2,1,"span",38),p(),C(7,gt,3,1,"h3",39),m(8,"ul",40),C(9,_t,3,0,"li",37)(10,Ct,4,4,"li",37)(11,yt,4,4,"li",37)(12,wt,4,4,"li",37)(13,St,4,4,"li",37),p()()),n&2){let e=v().event,i=v();c("title",D(e==null||e.meta==null||e.meta.data==null?null:e.meta.data.notes))("ngStyle",H(16,Qe,e==null||e.meta==null||e.meta.data==null||e.meta.data.service==null?null:e.meta.data.service.color))("ngClass",H(18,it,e==null||e.meta==null||e.meta.data==null?null:e.meta.data.noshow)),o(2),fe(" ",e==null||e.meta==null||e.meta.data==null||e.meta.data.client==null?null:e.meta.data.client.firstName," ",e==null||e.meta==null||e.meta.data==null||e.meta.data.client==null?null:e.meta.data.client.lastName," \u2219 "),o(2),T(e==null||e.meta==null||e.meta.data==null||e.meta.data.service==null?null:e.meta.data.service.name),o(),c("ngIf",e==null||e.meta==null||e.meta.data==null||e.meta.data.service==null?null:e.meta.data.service.categoryName),o(),me(!(e==null||e.meta==null||e.meta.data==null)&&e.meta.data.roomEquipment&&i.viewCalendarBy()===i.IViewCalendarBy.PROVIDERS?6:-1),o(),c("ngIf",i.currentStore.showNotesOnEvent&&(e==null||e.meta==null||e.meta.data==null?null:e.meta.data.notes)),o(),c("ngStyle",H(20,Qe,e==null||e.meta==null||e.meta.data==null||e.meta.data.service==null?null:e.meta.data.service.color)),o(),c("ngIf",e==null||e.meta==null||e.meta.data==null?null:e.meta.data.notes),o(),c("ngIf",e==null||e.meta==null||e.meta.data==null?null:e.meta.data.hasRegisteredPayment),o(),c("ngIf",e==null||e.meta==null||e.meta.data==null?null:e.meta.data.isLoyaltyPrizeBooking),o(),c("ngIf",(e==null||e.meta==null||e.meta.data==null?null:e.meta.data.providerSelected)&&!(!(e==null||e.meta==null||e.meta.data==null)&&e.meta.data.isLoyaltyPrizeBooking)),o(),c("ngIf",e==null||e.meta==null||e.meta.data==null?null:e.meta.data.invoiceId)}}function bt(n,t){if(n&1&&(m(0,"span"),u(1),p()),n&2){let e=v(2).event;o(),x("\u2219 ",e==null||e.meta==null||e.meta.data==null?null:e.meta.data.reason)}}function Pt(n,t){if(n&1&&(m(0,"div",47)(1,"h3"),u(2),y(3,"translate"),C(4,bt,2,1,"span",37),p()()),n&2){let e=v().event;o(2),x(" ",b(3,2,"DASHBOARD.calendarPage.blocked")," "),o(2),c("ngIf",e==null||e.meta==null||e.meta.data==null?null:e.meta.data.reason)}}function kt(n,t){n&1&&(m(0,"div",47)(1,"h3",48)(2,"i",49),u(3,"lock"),p(),m(4,"span"),u(5),y(6,"translate"),p()()()),n&2&&(o(5),T(b(6,1,"DASHBOARD.calendarPage.roomOccupied")))}function Et(n,t){if(n&1&&C(0,xt,14,22,"div",34)(1,Pt,5,4,"div",35)(2,kt,7,3,"div",35),n&2){let e=t.event;c("ngIf",(e==null?null:e.meta.type)==="booking"),o(),c("ngIf",e.meta.type==="holiday"),o(),c("ngIf",e.meta.type==="roomOccupancy")}}var w,Ge=(w=class{constructor(t,e,i,r,s,a,l,d,h,g,k){this.platformId=t,this.merchantsService=e,this.calendarService=i,this.activatedRoute=r,this.router=s,this.storeService=a,this.ref=l,this.firebaseService=d,this.countryService=h,this.intlService=g,this.userService=k,this.firstLoad=!0,this.loading=!0,this.loadingEvents=!0,this.viewDate=new Date,this.isBrowser=!1,this.events=[],this.calendarsData=[],this.refreshView=new te,this.isHoliday=!1,this.viewCalendarBy=Ie(this.calendarService.viewCalendarBy$),this.IViewCalendarBy=P}ngOnInit(){this.language=this.intlService.getCurrentLanguage(),this.timeFormatShort=this.intlService.getTimeFormatShort(),this.isBrowser=Z(this.platformId),this.merchantSubscription=this.merchantsService.activeMerchant.pipe(Q(t=>t!==null),G()).subscribe(t=>{this.currentMerchant=t}),this.init()}init(){this.activatedRoute.parent.params.subscribe(t=>{this.storeService.getStore(t.slug).pipe(Q(e=>e),G()).subscribe(e=>{this.currentStore=e;let i=this.countryService.getCountryCode(this.currentStore.country);i&&(this.holidaysChecker=new Le(i.toLocaleUpperCase()),this.checkHoliday()),this.bookingFrequency=this.storeService.getBookingFrequencyForCalendar(this.currentStore.bookingFrequency),this.loading=!0,this.ref.detectChanges(),this.getFirstCalendarData(),this.subscribeToUpdates(),this.checkHoliday()})}),this.currentUserObservable=this.userService.currentUser.subscribe(t=>{this.currentUser=t})}getFirstCalendarData(){let t=[this.storeService.getStoreProviders(this.currentStore.id),this.get
1StoreAvailability(),this.storeService.checkOrFetchStoreRoomEquipments(this.currentStore.id)];ae(t).subscribe(e=>{this.providers=e[0],this.roomEquipments=e[2],this.viewCalendarBy()===P.ROOMS?this.generateCalendarByRooms(e[2],e[1]):this.generateCalendarByProviders(this.providers,e[1])}),this.viewCalendarBySubscription=this.calendarService.viewCalendarBy$.pipe(K(1)).subscribe(()=>{this.setCurrentDate(this.viewDate)})}getStoreAvailability(){this.loadingEvents=!0,this.ref.detectChanges();let t=Pe(this.viewDate),e=De(t,{hours:23,minutes:59,seconds:59}),i={dateInit:f(t,"yyyy-MM-dd HH:mm"),dateEnd:f(e,"yyyy-MM-dd HH:mm"),providerId:this.selectedProvider,axis:this.viewCalendarBy(),view:"lite"};return this.storeService.getStoreCalendar(this.currentStore?.id,i)}generateCalendarByProviders(t,e){let i=e[0];this.fillWorkplanWithProviders(t,i);let r=this.currentUser?.role==="provider"&&!this.currentStore.allowProvidersToCreateHolidays,s=this.currentUser?.role==="provider"&&this.currentStore?.allowProvidersToCreateBookings===!1,a=t?JSON.parse(JSON.stringify(t)):[];if(a?.forEach(l=>{l.events=i?.events?.filter(d=>d.type==="booking"&&d?.data?.provider?.id===l.id||d.type==="holiday"&&(d?.data?.provider===null||d?.data?.provider?.id===l.id)),l.events=this.calendarService.convertEventsToCalendarFormat(l.events,!1,r,s)}),this.currentStore.hideProvidersCalendarIfOutOfOffice){let l=f(this.viewDate,"E")?.toLowerCase();this.calendarsData=a.filter(d=>{let h=this.workplanOverride&&Array.isArray(this.workplanOverride)?this.workplanOverride.find(g=>g.providerId===d.id):null;return h&&h.workplan&&h.workplan[l]?!0:d.workplan?d.workplan?.[l]:this.currentStore.workplan[l]??!1})}else this.calendarsData=a;this.loading=!1,this.loadingEvents=!1,this.ref.detectChanges(),setTimeout(()=>{this.currentTimeIntervalWatcher()})}generateCalendarByRooms(t,e){let i=e[0];this.fillStoreWorkplan(i);let r=this.currentUser?.role==="provider"&&!this.currentStore.allowProvidersToCreateHolidays,s=this.currentUser?.role==="provider"&&this.currentStore?.allowProvidersToCreateBookings===!1,a=t?JSON.parse(JSON.stringify(t)):[];a?.forEach(l=>{l.events=i?.events?.filter(d=>d.type==="booking"&&d?.data?.roomEquipment?.id===l.id||d.type==="roomOccupancy"&&d?.data?.roomEquipment?.id===l.id||d.type==="holiday"&&(d?.data?.roomEquipment===null||d?.data?.roomEquipment?.id===l.id)),l.events=this.calendarService.convertEventsToCalendarFormat(l.events,!1,r,s)}),this.calendarsData=a,this.loading=!1,this.loadingEvents=!1,this.ref.detectChanges(),setTimeout(()=>{this.currentTimeIntervalWatcher()})}fillStoreWorkplan(t){if(!this.currentStore.workplan||!this.roomEquipments){this.router.navigateByUrl(`/setup/store/${this.currentStore.slug}`);return}let e=f(this.viewDate,"E")?.toLowerCase(),i=this.currentStore.workplan[e];this.fillWorkplan(i,t)}fillWorkplanWithProviders(t,e){if(!this.currentStore.workplan||!t){this.router.navigateByUrl(`/setup/store/${this.currentStore.slug}`);return}let i=f(this.viewDate,"E")?.toLowerCase(),r=this.currentStore.workplan[i];this.workplanOverride=!1,e?.workplanOverride?.length>0&&(this.workplanOverride=e.workplanOverride,r=[...r||[]],this.workplanOverride.forEach(s=>{(s.workplan?.[i]||[]).forEach(l=>{r.push({start:l.start,end:l.end})})})),this.fillWorkplan(r,e)}fillWorkplan(t,e){let i=[],r=[];t?.forEach(h=>{i.push(h.start),r.push(h.end)}),e?.events?.forEach(h=>{if(h.type==="booking"||h.type==="roomOccupancy"){let g=ee(h.data.dateInit,"yyyy-MM-dd HH:mm",new Date),k=ee(h.data.dateEnd,"yyyy-MM-dd HH:mm",new Date);i.push(f(g,"HH:mm"));let Ke=f(g,"yyyy-MM-dd"),Xe=f(k,"yyyy-MM-dd"),z=f(k,"HH:mm");if(Ke!==Xe){let Ye=parseInt(z.split(":")[0]),Ze=z.split(":")[1],et=`${Ye+24}:${Ze}`;r.push(et)}else r.push(z)}});let s=Number(i.sort()[0]?.split(":")[0]),a=Number(r.sort()[r.length-1]?.split(":")[0]),l=s<9?s:9;this.dayStartHour=l;let d=Math.min(a>19?a:19,24);this.dayEndHour=d}setCurrentDate(t){this.viewDate=t,this.ref.detectChanges(),this.firstLoad?(this.loadingEvents=!1,this.ref.detectChanges()):this.getStoreAvailability().subscribe(e=>{this.viewCalendarBy()===P.ROOMS?this.generateCalendarByRooms(this.roomEquipments,e):this.generateCalendarByProviders(this.providers,e)}),this.checkHoliday(),this.firstLoad=!1}checkHoliday(){if(this.holidaysChecker){let t=f(this.viewDate,"yyyy-MM-dd"),e=this.holidaysChecker.isHoliday(new Date(t));e.length>0?this.isHoliday=e[0].name:this.isHoliday=!1}}currentTimeIntervalWatcher(){this.currentTime=this.calculateCurrentTimeSlot(),this.ref.detectChanges(),this.currentTimeIntervalWatcherSubscription=J(1e3*30).subscribe(()=>{this.currentTime=this.calculateCurrentTimeSlot(),this.ref.detectChanges()})}calculateCurrentTimeSlot(){if(!ke(new Date,this.viewDate))return null;let t=this.calendarRef?.first?.nativeElement.getElementsByClassName("hour-number");return t?(t=Array.from(t).map(i=>i.innerText),t.filter(i=>Number(i.split(":")[0])===Ee(new Date)).find((i,r,s)=>{let a=Oe(new Date),l=Number(i.split(":")[1]),d=s[r+1]?Number(s[r+1
1].split(":")[1]):null;return d?a>=l&&a<d:a>=l})):null}subscribeToUpdates(){this.refreshViewSubscription=J(1e3*60).subscribe(()=>{this.refreshView.next(null)});let t=null;if(this.refreshSubscription=this.calendarService.refreshCalendarObservable.pipe(oe(1e3)).subscribe(()=>{this.loadingEvents=!0,this.ref.detectChanges(),this.setCurrentDate(this.viewDate)}),Z(this.platformId))t=JSON.parse(localStorage?.getItem("currentUser"));else return;this.firebaseSubscription=this.firebaseService.getUserRefreshNotifications(t?.id).pipe(K(1),le(()=>re(Math.floor(Math.random()*2e3)))).subscribe(e=>{e&&this.calendarService.refreshCalendarObservable.next(!0)})}beforeDayViewRender(t,e){this.viewCalendarBy()===P.ROOMS?this.renderDayByRoom(t,e):this.renderDayByProvider(t,e)}renderDayByRoom(t,e){let i=f(this.viewDate,"E")?.toLowerCase(),r=this.currentStore.workplan[i];t.hourColumns.forEach(s=>{s.hours.forEach(a=>{a.segments.forEach(l=>{let d=!1;r?.forEach(h=>{let g=f(l.date,"HH:mm");g>=h.start&&g<h.end&&(d=!0)}),d||(l.cssClass="closed")})})})}renderDayByProvider(t,e){let i=f(this.viewDate,"E")?.toLowerCase(),r=this.providers;this.currentStore.hideProvidersCalendarIfOutOfOffice&&(r=this.providers.filter(a=>{let l=this.workplanOverride&&Array.isArray(this.workplanOverride)?this.workplanOverride.find(d=>d.providerId===a.id):null;return l&&l.workplan&&l.workplan[i]?!0:a.workplan?!!a.workplan[i]:!!this.currentStore.workplan[i]}));let s=r.map(a=>{let l=this.workplanOverride&&Array.isArray(this.workplanOverride)?this.workplanOverride.find(d=>d.providerId===a.id):null;return l&&l.workplan&&l.workplan[i]?l.workplan[i]:a.workplan?a.workplan[i]||null:this.currentStore.workplan[i]||[]})[e];if(!this.workplanOverride){let a=this.currentStore.workplan[i];s?.[0]?.start&&a?.[0]?.start&&s[0]?.start<a[0]?.start&&(s[0].start=a[0]?.start),s?.[s.length-1]?.end&&a?.[a.length-1]?.end&&s?.[s.length-1]?.end>a?.[a.length-1]?.end&&(s[s.length-1].end=a[a.length-1]?.end)}t.hourColumns.forEach(a=>{a.hours.forEach(l=>{l.segments.forEach(d=>{let h=!1;s?.forEach(g=>{let k=f(d.date,"HH:mm");k>=g.start&&k<g.end&&(h=!0)}),!h&&this.viewCalendarBy()===P.PROVIDERS&&(d.cssClass="closed")})})})}eventClicked(t){t.meta.type!=="roomOccupancy"&&(t.meta.type==="booking"?this.calendarService.editBooking(this.currentMerchant,this.currentStore,t.meta,this.viewDate):t.meta.type==="holiday"&&this.calendarService.editHoliday(this.currentMerchant,this.currentStore,t.meta,this.viewDate))}hourSegmentClicked(t,e){let i=this.viewCalendarBy()===P.PROVIDERS?e:null,r=this.viewCalendarBy()===P.ROOMS?e:null;this.calendarService.chooseBookOrBlock(this.currentMerchant,this.currentStore,this.currentUser,t,i,r)}dragEvent(t,e){let i=je(t);t.event.start=t.newStart,t.event.end=t.newEnd,this.refreshView.next(null),this.calendarService.confirmBookingDrag(i,this.calendarsData[e],()=>{t.event.start=i.event.start,t.event.end=i.event.end,this.refreshView.next(null)})}},w.\u0275fac=function(e){return new(e||w)(_(de),_(j),_($),_(A),_(F),_(W),_(R),_(L),_(q),_(U),_(V))},w.\u0275cmp=ce({type:w,selectors:[["app-new-calendar-page"]],viewQuery:function(e,i){if(e&1&&ue(tt,5,se),e&2){let r;he(r=ve())&&(i.calendarRef=r)}},features:[ge([Ve,{provide:Ae,useFactory:ze},Ne,Fe,Re])],decls:14,vars:9,consts:[["tooltipTemplate",""],["hourSegmentTemplate",""],["emptyTemplate",""],["eventTitleTemplate",""],["calendarRef",""],["class","load-wrap",4,"ngIf"],[1,"notranslate","hidden"],[3,"setCurrentDate","merchant","roomEquipments","currentStore"],["class","calendar-loader",4,"ngIf"],["class","holiday-notification alert-warning",4,"ngIf"],["class","d-flex flex-row justify-content-between calendar-groups notranslate",3,"pulse",4,"ngIf"],[1,"load-wrap"],[1,"calendar-loader"],[1,"holiday-notification","alert-warning"],[1,"mb-0"],[1,"d-flex","flex-row","justify-content-between","calendar-groups","notranslate"],["class","calendars-container text-center empty-calendar",4,"ngIf"],["class","calendars-container",3,"first-calendar",4,"ngFor","ngForOf"],[1,"calendars-container","text-center","empty-calendar"],[1,"material-icons"],[1,"calendars-container"],[1,"provider-data","p-m"],[1,"avatar"],["classes","small",3,"image","name",4,"ngIf"],[3,"eventClicked","hourSegmentClicked","beforeViewRender","eventTimesChanged","events","viewDate","hour
1Segments","dayStartHour","dayEndHour","tooltipTemplate","tooltipPlacement","tooltipAppendToBody","hourSegmentTemplate","refresh","eventTitleTemplate","snapDraggedEvents"],["classes","small",3,"image","name"],[3,"event"],[1,"hour-display"],[1,"hour-wrapper"],[1,"hour-number"],["class","hour-number opacity-50",4,"ngIf"],[1,"slot-background",3,"ngClass"],[1,"hour-number","opacity-50"],[1,"d-none"],["class","event-box",3,"title","ngStyle","ngClass",4,"ngIf"],["class","event-box",4,"ngIf"],[1,"event-box",3,"title","ngStyle","ngClass"],[4,"ngIf"],[1,"tw:ml-2"],["class","event-note",4,"ngIf"],[1,"notes",3,"ngStyle"],[3,"name"],[1,"event-note"],[1,"material-icons","icon","obs"],[1,"material-icons","icon","paid",3,"title"],[1,"material-icons","icon","emoji_events",3,"title"],[1,"material-icons","icon","heart",3,"title"],[1,"event-box"],[1,"mt-1"],[1,"material-icons","occupancy-icon"]],template:function(e,i){if(e&1){let r=X();C(0,at,2,0,"div",5),m(1,"div",6)(2,"app-new-calendar-navigation",7),Y("setCurrentDate",function(a){return E(r),O(i.setCurrentDate(a))}),p()(),C(3,rt,2,0,"div",8)(4,lt,3,1,"div",9)(5,ct,3,4,"div",10)(6,pt,1,1,"ng-template",null,0,M)(8,ut,8,13,"ng-template",null,1,M)(10,ht,1,0,"ng-template",null,2,M)(12,Et,3,3,"ng-template",null,3,M)}e&2&&(c("ngIf",i.loading),o(),I("hidden",i.loading),o(),c("merchant",i.currentMerchant)("roomEquipments",i.roomEquipments)("currentStore",i.currentStore),o(),c("ngIf",i.loadingEvents),o(),c("ngIf",i.isHoliday),o(),c("ngIf",!i.loading))},dependencies:[we,Me,$e,ye,Be,Ue,qe,Ce,Se,We,He,Je,xe,be],styles:[`.rd-1[_ngcontent-%COMP%]{border-radius:2px}.rd-2[_ngcontent-%COMP%]{border-radius:4px}.rd-3[_ngcontent-%COMP%]{border-radius:6px}.shadow-1[_ngcontent-%COMP%]{box-shadow:0 1px 1px #0003}.shadow-2[_ngcontent-%COMP%]{box-shadow:0 2px 2px #0003}.shadow-3[_ngcontent-%COMP%]{box-shadow:0 6px 12px #0003}.shadow-4[_ngcontent-%COMP%]{box-shadow:0 8px 16px #0000001a}.empty-calendar[_ngcontent-%COMP%]{padding:14%;color:#76809b;font-size:12px}.calendar-groups[_ngcontent-%COMP%]{overflow-x:auto;overflow-scrolling:touch;-webkit-overflow-scrolling:touch}.avatar[_ngcontent-%COMP%]{float:left}.calendars-container[_ngcontent-%COMP%]{width:100%;border-top:1px solid #dee2e6;min-width:240px}.calendars-container.first-calendar[_ngcontent-%COMP%]{background-color:#f2f5ff}.provider-data[_ngcontent-%COMP%]{margin-left:60px;padding:.75rem;display:flex;border-left:1px solid #dbe3fa;color:#5055b7;background-color:#fff;font-weight:700;align-items:center;overflow:hidden}.provider-data[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;margin-left:12px;white-space:nowrap}.hour-display[_ngcontent-%COMP%]{background-color:#fff;height:100%;display:flex}.hour-display[_ngcontent-%COMP%]   .hour-wrapper[_ngcontent-%COMP%]{width:60px;border-top:1px solid #DBE3FA;padding:3px;height:100%;align-items:center;display:flex;justify-content:flex-end}.hour-display[_ngcontent-%COMP%]   .hour-wrapper[_ngcontent-%COMP%]   .hour-number[_ngcontent-%COMP%]{font-size:11px;color:#76809b;font-weight:400;line-height:110%;text-transform:lowercase}.hour-display[_ngcontent-%COMP%]   .hour-wrapper.hour-pt[_ngcontent-%COMP%]{justify-content:center}.hour-display[_ngcontent-%COMP%]   .slot-background[_ngcontent-%COMP%]{border-left:1px solid #DBE3FA;border-top:1px solid #DBE3FA;height:100%;flex-grow:1;cursor:pointer}.hour-display[_ngcontent-%COMP%]   .slot-background.closed[_ngcontent-%COMP%]{position:relative;background:repeating-linear-gradient(125deg,#e4ebff,#e4ebff 10px,#dbe3fa 10px 20px)!important}.first-calendar[_ngcontent-%COMP%]   .hour-wrapper[_ngcontent-%COMP%]{border-top:1px solid #F2F5FF}.first-calendar[_ngcontent-%COMP%]   .hour-wrapper.current[_ngcontent-%COMP%]{background-color:#5055b7}.first-calendar[_ngcontent-%COMP%]   .hour-wrapper.current[_ngcontent-%COMP%]   .hour-number[_ngcontent-%COMP%]{color:#fff}.first-calendar[_ngcontent-%COMP%]   .hour-wrapper[_ngcontent-%COMP%]   .hour-number[_ngcontent-%COMP%]{font-weight:700}.hidden[_ngcontent-%COMP%]{visibility:hidden}
2/*# sourceMappingURL=new-calendar-page.component-TCU32AOD.css.map */`],changeDetection:0}),w);Ge=ne([Te({checkProperties:!0}),ie("design:paramtypes",[Object,j,$,A,F,W,R,L,q,U,V])],Ge);export{Ge as NewCalendarPageComponent};
3/**i18n:28945ee13b8e098859cdfd20e56ed1b4fbfdbb0f15acd44f32a354ab994688a6*/
4//# sourceMappingURL=chunk-K27FTPRQ.js.map

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.