1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9354],{9354:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var r=i(95155),a=i(15420),l=i(35824),n=i(26631),o=i(7087),s=i(5094),d=i(12115);i(75007);let u={month:"dayGridMonth",week:"timeGridWeek",day:"timeGridDay",list:"listWeek"};function c({events:e,loading:t,initialView:i="month",isMobile:h=!1,onEventClick:k,onSlotSelect:m,onDateRangeChange:p}){let v=(0,d.useMemo)(()=>e.map(e=>({id:e.id,title:e.title,start:e.start,end:e.end??void 0,backgroundColor:e.color,borderColor:e.color,textColor:"#fff",classNames:"running"===e.status?["vp-event-running"]:[],extendedProps:{_original:e}})),[e]),y=(0,d.useCallback)(e=>{let t=e.event.extendedProps._original;t&&k(t)},[k]),g=(0,d.useCallback)(e=>{m(e.start)},[m]),x=h?"listWeek":u[i];return(0,r.jsx)("div",{className:"vp-calendar-wrapper",children:(0,r.jsx)(a.A,{plugins:[l.A,n.A,o.A,s.Ay],initialView:x,headerToolbar:{left:h?"prev,next":"prev,next today",center:"title",right:h?"listWeek,dayGridMonth":"dayGridMonth,timeGridWeek,timeGridDay,listWeek"},locale:"ru",firstDay:1,selectable:!0,selectMirror:!0,nowIndicator:!0,events:v,eventClick:y,select:g,datesSet:e=>{p(e.start,e.end)},height:h?"auto":700,longPressDelay:100,eventTimeFormat:{hour:"2-digit",minute:"2-digit",hour12:!1},buttonText:{today:"СегоднÑ",month:"ÐеÑÑÑ",week:"ÐеделÑ",day:"ÐенÑ",list:"СпиÑок"},noEventsText:"ÐÐµÑ ÑобÑÑий в ÑÑом пеÑиоде",allDayText:"ÐеÑÑ Ð´ÐµÐ½Ñ"})})}},75007:()=>{}}]);
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.