@daypilot/daypilot-lite-angular 4.0.2 → 4.2.0-sandbox.684

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -144,7 +144,7 @@ DayPilot Lite
144
144
  Copyright (c) 2005 - 2025 Annpoint s.r.o.
145
145
  https://www.daypilot.org/
146
146
  Licensed under Apache Software License 2.0
147
- Version: 2025.2.674-lite
147
+ Version: 2025.3.684-lite
148
148
  */
149
149
  var DayPilot = {};
150
150
  if ("undefined" == typeof DayPilot)
@@ -240,7 +240,7 @@ if (function () {
240
240
  if (!DayPilot.Global.defaultCss) {
241
241
  var e = DayPilot.sheet();
242
242
  e.add(".menu_default_main", "user-select:none; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size: 13px;border: 1px solid #dddddd;background-color: white;padding: 0px;cursor: default;background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAABCAIAAABG0om7AAAAKXRFWHRDcmVhdGlvbiBUaW1lAHBvIDEwIDUgMjAxMCAyMjozMzo1OSArMDEwMGzy7+IAAAAHdElNRQfaBQoUJAesj4VUAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAABGdBTUEAALGPC/xhBQAAABVJREFUeNpj/P//PwO1weMnT2RlZAAYuwX/4oA3BgAAAABJRU5ErkJggg==);background-repeat: repeat-y;xborder-radius: 5px;-moz-box-shadow:0px 2px 3px rgba(000,000,000,0.3),inset 0px 0px 2px rgba(255,255,255,0.8);-webkit-box-shadow:0px 2px 3px rgba(000,000,000,0.3),inset 0px 0px 2px rgba(255,255,255,0.8);box-shadow:0px 2px 3px rgba(000,000,000,0.3),inset 0px 0px 2px rgba(255,255,255,0.8);"), e.add(".menu_default_main, .menu_default_main *, .menu_default_main *:before, .menu_default_main *:after", "box-sizing: content-box;"), e.add(".menu_default_title", "background-color: #f2f2f2;border-bottom: 1px solid gray;padding: 4px 4px 4px 37px;"), e.add(".menu_default_main a", "padding: 2px 2px 2px 35px;color: black;text-decoration: none;cursor: default;"), e.add(".menu_default_main.menu_default_withchildren a", "padding: 2px 35px 2px 35px;"), e.add(".menu_default_main a img", "margin-left: 6px;margin-top: 2px;"), e.add(".menu_default_item_text", "display: block;height: 20px;line-height: 20px; overflow:hidden;padding-left: 2px;padding-right: 20px; white-space: nowrap;"), e.add(".menu_default_main a:hover", "background-color: #f3f3f3;"), e.add(".menu_default_main div div", "border-top: 1px solid #dddddd;margin-top: 2px;margin-bottom: 2px;margin-left: 28px;"), e.add(".menu_default_main a.menu_default_item_disabled", "color: #ccc"), e.add(".menu_default_item_haschildren.menu_default_item_haschildren_active", "background-color: #f3f3f3;"), e.add(".menu_default_item_haschildren a:before", "content: ''; border-width: 5px; border-color: transparent transparent transparent #666; border-style: solid; width: 0px; height:0px; position: absolute; right: 5px; margin-top: 5px;"), e.add(".menu_default_item_icon", "position: absolute; top:0px; left: 0px; padding: 2px 2px 2px 8px;"), e.add(".menu_default_item a i", "height: 20px;line-height: 20px;"), e.add(".menu_default_item .menu_default_item_symbol", "width: 18px; height: 18px; color: #999; margin-left: 6px;margin-top: 2px;"), e.add(".menubar_default_main", "border-bottom: 1px solid #ccc; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px; user-select:none;"), e.add(".menubar_default_item", "display: inline-block; padding: 6px 10px; cursor: default;"), e.add(".menubar_default_item:hover", "background-color: #f2f2f2;"), e.add(".menubar_default_item_active", "background-color: #f2f2f2;"), e.add(".calendar_default_main", " --dp-calendar-border-color: #c0c0c0; --dp-calendar-font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; --dp-calendar-font-size: 13px; --dp-calendar-header-bg-color: #f3f3f3; --dp-calendar-header-color: #333; --dp-calendar-colheader-padding: 0px; --dp-calendar-rowheader-font-size: 16pt; --dp-calendar-rowheader-padding: 3px; --dp-calendar-cell-bg-color: #f9f9f9; --dp-calendar-cell-business-bg-color: #ffffff; --dp-calendar-cell-border-color: #ddd; --dp-calendar-colheader-horizontal-align: center; --dp-calendar-colheader-vertical-align: center; --dp-calendar-allday-event-color: #333; --dp-calendar-allday-event-border-color: #999; --dp-calendar-allday-event-border: 1px solid var(--dp-calendar-allday-event-border-color); --dp-calendar-allday-event-border-radius: 0px; --dp-calendar-allday-event-bg-top-color: #ffffff; --dp-calendar-allday-event-bg-bottom-color: #eeeeee; --dp-calendar-allday-event-background: linear-gradient(to bottom, var(--dp-calendar-allday-event-bg-top-color) 0%, var(--dp-calendar-allday-event-bg-bottom-color) 100%); --dp-calendar-allday-event-box-shadow: none; --dp-calendar-allday-event-padding: 4px; --dp-calendar-allday-event-horizontal-align: flex-start; --dp-calendar-event-color: #333; --dp-calendar-event-border-color: #999; --dp-calendar-event-border: 1px solid var(--dp-calendar-event-border-color); --dp-calendar-event-border-radius: 0px; --dp-calendar-event-box-shadow: none; --dp-calendar-event-bg-top-color: #ffffff; --dp-calendar-event-bg-bottom-color: #eeeeee; --dp-calendar-event-background: linear-gradient(to bottom, var(--dp-calendar-event-bg-top-color) 0%, var(--dp-calendar-event-bg-bottom-color) 100%); --dp-calendar-event-bar-bg-color: #9dc8e8; --dp-calendar-event-bar-color: #1066a8; --dp-calendar-event-bar-width: 6px; --dp-calendar-event-bar-left: 0px; --dp-calendar-event-bar-bottom: 0px; --dp-calendar-event-bar-top: 0px; --dp-calendar-event-bar-display: block; --dp-calendar-event-padding: 2px; --dp-calendar-event-padding-left: 8px; --dp-calendar-message-bg-color: #ffa216; --dp-calendar-message-color: #ffffff; --dp-calendar-message-padding: 10px; --dp-calendar-message-opacity: 0.9; --dp-calendar-selected-event-bg-color: #ddd; --dp-calendar-shadow-color: #bbbbbb; --dp-calendar-shadow-border-color: #888888; --dp-calendar-forbidden-shadow-border-color: #cc0000; --dp-calendar-forbidden-shadow-bg-color: #cc4125; --dp-calendar-now-indicator-color: red; --dp-calendar-scroll-bg-color: #f3f3f3;"), e.add(".calendar_default_main *, .calendar_default_main *:before, .calendar_default_main *:after", "box-sizing: content-box;"), e.add(".calendar_default_main", "border:1px solid var(--dp-calendar-border-color); font-family:var(--dp-calendar-font-family); font-size:var(--dp-calendar-font-size);"), e.add(".calendar_default_rowheader_inner, .calendar_default_cornerright_inner, .calendar_default_corner_inner, .calendar_default_colheader_inner, .calendar_default_alldayheader_inner", "color: var(--dp-calendar-header-color); background: var(--dp-calendar-header-bg-color);"), e.add(".calendar_default_colheader_back", "background: var(--dp-calendar-header-bg-color); border-bottom: 1px solid red;"), e.add(".calendar_default_colheader_back_inner", "position: absolute; inset: 0; border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_cornerright_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_direction_rtl .calendar_default_cornerright_inner", "border-right: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_rowheader_inner", "font-size: var(--dp-calendar-rowheader-font-size); text-align: right; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color); padding: var(--dp-calendar-rowheader-padding);"), e.add(".calendar_default_rowheader_simple .calendar_default_rowheader_inner", "font-size: inherit; display: flex; align-items: center; justify-content: center; white-space: nowrap;"), e.add(".calendar_default_direction_rtl .calendar_default_rowheader_inner", "border-right: none;"), e.add(".calendar_default_corner_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_direction_rtl .calendar_default_corner_inner", "border-right: none;"), e.add(".calendar_default_rowheader_minutes", "font-size: 10px; vertical-align: super; padding-left: 2px; padding-right: 2px;"), e.add(".calendar_default_colheader_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; padding: var(--dp-calendar-colheader-padding);border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color); display: flex; align-items: var(--dp-calendar-colheader-vertical-align); justify-content: var(--dp-calendar-colheader-horizontal-align);"), e.add(".calendar_default_cell_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-cell-border-color); border-bottom: 1px solid var(--dp-calendar-cell-border-color); background: var(--dp-calendar-cell-bg-color);"), e.add(".calendar_default_cell_business .calendar_default_cell_inner", "background: var(--dp-calendar-cell-business-bg-color);"), e.add(".calendar_default_alldayheader_inner", "text-align: center; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_message", "opacity: var(--dp-calendar-message-opacity); padding: var(--dp-calendar-message-padding); color: var(--dp-calendar-message-color); background: var(--dp-calendar-message-bg-color);"), e.add(".calendar_default_event_inner", "color: var(--dp-calendar-event-color); border: var(--dp-calendar-event-border); border-radius: var(--dp-calendar-event-border-radius); background: var(--dp-calendar-event-background);"), e.add(".calendar_default_alldayevent", "box-shadow: var(--dp-calendar-allday-event-box-shadow); border-radius: var(--dp-calendar-allday-event-border-radius);"), e.add(".calendar_default_alldayevent_inner", "color: var(--dp-calendar-allday-event-color); border: var(--dp-calendar-allday-event-border); border-radius: var(--dp-calendar-allday-event-border-radius); background: var(--dp-calendar-allday-event-background);"), e.add(".calendar_default_event_bar", "display: var(--dp-calendar-event-bar-display); top: var(--dp-calendar-event-bar-top); bottom: var(--dp-calendar-event-bar-bottom); left: var(--dp-calendar-event-bar-left); width: var(--dp-calendar-event-bar-width); background-color: var(--dp-calendar-event-bar-bg-color);"), e.add(".calendar_default_direction_rtl .calendar_default_event_bar", "top: 0px; bottom: 0px; right: 0px; width: var(--dp-calendar-event-bar-width); background-color: var(--dp-calendar-event-bar-bg-color);"), e.add(".calendar_default_event_bar_inner", "position: absolute; width: var(--dp-calendar-event-bar-width); background-color: var(--dp-calendar-event-bar-color);"), e.add(".calendar_default_selected .calendar_default_event_inner", "background: var(--dp-calendar-selected-event-bg-color);"), e.add(".calendar_default_alldayevent_inner", "position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; overflow: hidden; padding: var(--dp-calendar-allday-event-padding); margin-right: 0px; display: flex; align-items: center; justify-content: var(--dp-calendar-allday-event-horizontal-align);"), e.add(".calendar_default_event_withheader .calendar_default_event_inner", "padding-top: 15px;"), e.add(".calendar_default_event", "box-shadow: var(--dp-calendar-event-box-shadow); border-radius: var(--dp-calendar-event-border-radius); cursor: default;"), e.add(".calendar_default_event_inner", "position: absolute; overflow: hidden; top: 0px; bottom: 0px; left: 0px; right: 0px; padding: var(--dp-calendar-event-padding) var(--dp-calendar-event-padding) var(--dp-calendar-event-padding) var(--dp-calendar-event-padding-left);"), e.add(".calendar_default_direction_rtl .calendar_default_event_inner", "padding: 2px 8px 2px 2px;"), e.add(".calendar_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-calendar-shadow-color); border: 1px solid var(--dp-calendar-shadow-border-color); opacity: 0.5; height: 100%;"), e.add(".calendar_default_shadow", "box-shadow: 0 2px 5px rgba(0,0,0,0.2);"), e.add(".calendar_default_shadow_forbidden:after", "content: ''; position: absolute; top: 5px; left: calc(50% - 10px); border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2720%27 height=%2720%27 viewBox=%270 0 20 20%27%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%279%27 fill=%27%23cc0000aa%27 /%3E%3Cline x1=%275%27 y1=%275%27 x2=%2715%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3Cline x1=%2715%27 y1=%275%27 x2=%275%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3C/svg%3E'); background-repeat: no-repeat; background-position: center; background-size: contain;"), e.add(".calendar_default_shadow_forbidden .calendar_default_shadow_inner", "border: 1px solid var(--dp-calendar-forbidden-shadow-border-color); background: var(--dp-calendar-forbidden-shadow-bg-color);"), e.add(".calendar_default_event_delete", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAI5JREFUKFNtkLERgCAMRbmzdK8s4gAUlhYOYEHJEJYOYOEwDmGBPxC4kOPfvePy84MGR0RJ2N1A8H3N6DATwSQ57m2ql8NBG+AEM7D+UW+wjdfUPgerYNgB5gOLRHqhcasg84C2QxPMtrUhSqQIhg7ypy9VM2EUZPI/4rQ7rGxqo9sadTegw+UdjeDLAKUfhbaQUVPIfJYAAAAASUVORK5CYII=) center center no-repeat; opacity: 0.6; cursor: pointer;"), e.add(".calendar_default_event_delete:hover", "opacity: 1; -ms-filter: none;"), e.add(".calendar_default_scroll_up", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAB3RJTUUH2wESDiYcrhwCiQAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAARnQU1BAACxjwv8YQUAAACcSURBVHjaY2AgF9wWsTW6yGMlhi7OhC7AyMDQzMnBXIpFHAFuCtuaMTP+P8nA8P/b1x//FfW/HHuF1UQmxv+NUP1c3OxMVVhNvCVi683E8H8LXOY/w9+fTH81tF8fv4NiIpBRj+YoZtZ/LDUoJmKYhsVUpv0MDiyMDP96sIYV0FS2/8z9ICaLlOhvS4b/jC//MzC8xBG0vJeF7GQBlK0xdiUzCtsAAAAASUVORK5CYII=);"), e.add(".calendar_default_scroll_down", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAALiMAAC4jAXilP3YAAACqSURBVChTY7wpam3L9J+xmQEP+PGPKZZxP4MDi4zI78uMDIwa2NT+Z2DYovrmiC+TI8OBP/8ZmEqwGvif4e8vxr+FIDkmEKH25vBWBgbG0+iK/zEwLtF+ffwOXCGI8Y+BoRFFIdC030x/WmBiYBNhpgLdswNJ8RSYaSgmgk39z1gPUfj/29ef/9rwhQTDHRHbrbdEbLvRFcGthkkAra/9/uMvhkK8piNLAgCRpTnNn4AEmAAAAABJRU5ErkJggg==);"), e.add(".calendar_default_now", "background-color: var(--dp-calendar-now-indicator-color);"), e.add(".calendar_default_now:before", "content: ''; top: -5px; border-width: 5px; border-color: transparent transparent transparent var(--dp-calendar-now-indicator-color); border-style: solid; width: 0px; height: 0px; position: absolute; -moz-transform: scale(.9999);"), e.add(".calendar_default_shadow_top", "box-sizing: border-box; padding: 2px; border: 1px solid var(--dp-calendar-border-color); background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); pointer-events: none;"), e.add(".calendar_default_shadow_bottom", "box-sizing: border-box; padding: 2px; border: 1px solid var(--dp-calendar-border-color); background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); pointer-events: none;"), e.add(".calendar_default_crosshair_vertical, .calendar_default_crosshair_horizontal, .calendar_default_crosshair_left, .calendar_default_crosshair_top", "background-color: gray; opacity: 0.2;"), e.add(".calendar_default_loading", "background-color: orange; color: white; padding: 2px;"), e.add(".calendar_default_scroll", "background-color: var(--dp-calendar-header-bg-color);"), e.add(".calendar_default_event_moving_source", "opacity: 0.5;"), e.add(".calendar_default_colmove_handle", "background-repeat: no-repeat; background-position: center center; background-color: #ccc; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAKCAYAAACT+/8OAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAClJREFUGFdj+P//P4O9vX2Bg4NDP4gNFgBytgPxebgAMsYuQGMz/jMAAFsTZDPYJlDHAAAAAElFTkSuQmCC); cursor: move;"), e.add(".calendar_default_colheader:hover .calendar_default_colheader_splitter", "background-color: #c0c0c0;"), e.add(".calendar_default_colmove_source", "background-color: black; opacity: 0.5;"), e.add(".calendar_default_colmove_position_before", "box-sizing: border-box; border-left: 2px solid #999999;"), e.add(".calendar_default_colmove_position_before:before", "content: ''; border-width: 6px; border-color: transparent #999999 transparent transparent; border-style: solid; width: 0px; height: 0px; position: absolute;"), e.add(".calendar_default_colmove_position_after", "box-sizing: border-box; border-right: 2px solid #999999;"), e.add(".calendar_default_colmove_position_after:before", "content: ''; border-width: 6px; border-color: transparent transparent transparent #999999; border-style: solid; width: 0px; height: 0px; position: absolute;"), e.add(".calendar_default_colmove_position_child", "box-sizing: border-box; border-bottom: 2px solid #999999;"), e.add(".calendar_default_colmove_position_child:before", "content: ''; border-width: 6px; border-color: #999999 transparent transparent transparent; border-style: solid; width: 0px; height: 0px; position: absolute;"), e.add(".calendar_default_colmove_position_forbidden", "border-top: 2px solid red;"), e.add(".calendar_default_colheader .calendar_default_colheader_splitter:hover", "background-color: #999999;"), e.add(".calendar_default_block", "background-color: #808080; opacity: 0.5;"), e.add(".month_default_main", " --dp-month-border-color: #c0c0c0; --dp-month-font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; --dp-month-font-size: 13px; --dp-month-cell-border-color: #ddd; --dp-month-cell-bg-color: #f9f9f9; --dp-month-cell-business-bg-color: #ffffff; --dp-month-event-color: #333; --dp-month-event-border-color: #999; --dp-month-event-border: 1px solid var(--dp-month-event-border-color); --dp-month-event-bg-top-color: #ffffff; --dp-month-event-bg-bottom-color: #eeeeee; --dp-month-event-background: linear-gradient(to bottom, var(--dp-month-event-bg-top-color) 0%, var(--dp-month-event-bg-bottom-color) 100%); --dp-month-event-horizontal-align: flex-start; --dp-month-event-vertical-align: center; --dp-month-event-padding: 2px; --dp-month-event-padding-left: 10px; --dp-month-event-padding-rtl: 2px 10px 2px 1px; --dp-month-event-border-radius: 0px; --dp-month-event-box-shadow: none; --dp-month-event-bar-top: 1px; --dp-month-event-bar-left: 2px; --dp-month-event-bar-bottom: 1px; --dp-month-event-bar-width: 6px; --dp-month-event-bar-color: #1066a8; --dp-month-event-bar-display: block; --dp-month-header-bg-color: #f3f3f3; --dp-month-header-color: #333; --dp-month-header-horizontal-align: center; --dp-month-header-vertical-align: center; --dp-month-header-padding: 0px; --dp-month-message-bg-color: #ffa216; --dp-month-message-color: #ffffff; --dp-month-message-padding: 10px; --dp-month-selected-event-bg-color: #ddd; --dp-month-shadow-color: #bbbbbb; --dp-month-shadow-border-color: #888888;"), e.add(".month_default_main *, .month_default_main *:before, .month_default_main *:after", "box-sizing: content-box; "), e.add(".month_default_main", "border: 1px solid var(--dp-month-border-color); font-family: var(--dp-month-font-family); font-size: var(--dp-month-font-size); color: #333; "), e.add(".month_default_cell_inner", "border-right: 1px solid var(--dp-month-cell-border-color); border-bottom: 1px solid var(--dp-month-cell-border-color); position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-color: var(--dp-month-cell-bg-color); "), e.add(".month_default_cell_business .month_default_cell_inner", "background-color: var(--dp-month-cell-business-bg-color); "), e.add(".month_default_cell_header", "text-align: right; padding: 4px; box-sizing: border-box; "), e.add(".month_default_header_inner", "position: absolute; inset: 0; border-right: 1px solid var(--dp-month-border-color); border-bottom: 1px solid var(--dp-month-border-color); cursor: default; color: var(--dp-month-header-color); background: var(--dp-month-header-bg-color); overflow: hidden; display: flex; align-items: var(--dp-month-header-vertical-align); justify-content: var(--dp-month-header-horizontal-align); padding: var(--dp-month-header-padding);"), e.add(".month_default_message", "opacity: 0.9; color: var(--dp-month-message-color); background: var(--dp-month-message-bg-color); padding: var(--dp-month-message-padding); "), e.add(".month_default_event", "border-radius: var(--dp-month-event-border-radius); box-shadow: var(--dp-month-event-box-shadow); "), e.add(".month_default_event_inner", "position: absolute; top: 0; bottom: 0; left: 1px; right: 1px; overflow: hidden; padding: var(--dp-month-event-padding) var(--dp-month-event-padding) var(--dp-month-event-padding) var(--dp-month-event-padding-left); color: var(--dp-month-event-color); background: var(--dp-month-event-background); border: var(--dp-month-event-border); border-radius: var(--dp-month-event-border-radius); display: flex; align-items: var(--dp-month-event-vertical-align); justify-content: var(--dp-month-event-horizontal-align); "), e.add(".month_default_direction_rtl .month_default_event_inner", "right: 2px; padding: var(--dp-month-event-padding-rtl); "), e.add(".month_default_event_continueright .month_default_event_inner", "border-top-right-radius: 0; border-bottom-right-radius: 0; border-right-style: dotted; "), e.add(".month_default_event_continueleft .month_default_event_inner", "border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-style: dotted; "), e.add(".month_default_event_bar", "display: var(--dp-month-event-bar-display); top: var(--dp-month-event-bar-top); bottom: var(--dp-month-event-bar-bottom); left: var(--dp-month-event-bar-left); width: var(--dp-month-event-bar-width); "), e.add(".month_default_direction_rtl .month_default_event_bar", "top: 1px; bottom: 1px; right: 3px; width: var(--dp-month-event-bar-width); "), e.add(".month_default_event_bar_inner", "position: absolute; width: var(--dp-month-event-bar-width); background-color: var(--dp-month-event-bar-color); "), e.add(".month_default_event_continueleft .month_default_event_bar", "display: none; "), e.add(".month_default_selected .month_default_event_inner", "background: var(--dp-month-selected-event-bg-color); "), e.add(".month_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-month-shadow-color); border: 1px solid var(--dp-month-shadow-border-color); opacity: 0.5; height: 100%; "), e.add(".month_default_shadow", "box-shadow: 0 2px 5px rgba(0, 0, 0, .2); "), e.add(".month_default_event_delete", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAI5JREFUKFNtkLERgCAMRbmzdK8s4gAUlhYOYEHJEJYOYOEwDmGBPxC4kOPfvePy84MGR0RJ2N1A8H3N6DATwSQ57m2ql8NBG+AEM7D+UW+wjdfUPgerYNgB5gOLRHqhcasg84C2QxPMtrUhSqQIhg7ypy9VM2EUZPI/4rQ7rGxqo9sadTegw+UdjeDLAKUfhbaQUVPIfJYAAAAASUVORK5CYII=) center center no-repeat; opacity: 0.6; cursor: pointer; "), e.add(".month_default_event_delete:hover", "opacity: 1; "), e.add(".month_default_event_timeleft", "color: #ccc; font-size: 11px; display: flex; align-items: center; "), e.add(".month_default_event_timeright", "color: #ccc; font-size: 11px; display: flex; align-items: center; justify-content: end; "), e.add(".month_default_loading", "background-color: orange; color: white; padding: 2px; "), e.add(".month_default_shadow_forbidden:after", "content: ''; position: absolute; top: calc(50% - 10px); left: 10px; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2720%27 height=%2720%27 viewBox=%270 0 20 20%27%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%279%27 fill=%27%23cc0000aa%27 /%3E%3Cline x1=%275%27 y1=%275%27 x2=%2715%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3Cline x1=%2715%27 y1=%275%27 x2=%275%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3C/svg%3E'); background-repeat: no-repeat; background-position: center; background-size: contain; "), e.add(".month_default_shadow_forbidden .month_default_shadow_inner", "border: 1px solid #cc0000; background: #cc4125; "), e.add(".navigator_default_main", " --dp-nav-border-color: #c0c0c0; --dp-nav-font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; --dp-nav-font-size: 12px; --dp-nav-title-color: #333; --dp-nav-title-bg-color: #f3f3f3; --dp-nav-dayheader-color: #333; --dp-nav-dayheader-bg-color: #ffffff; --dp-nav-weeknumber-color: #999; --dp-nav-weeknumber-bg-color: #ffffff; --dp-nav-day-color: #000; --dp-nav-day-bg-color: #ffffff; --dp-nav-dayother-color: gray; --dp-nav-dayother-bg-color: #ffffff; --dp-nav-weekend-bg-color: #f0f0f0; --dp-nav-select-bg-color: #FFE794; --dp-nav-text-align: center;"), e.add(".navigator_default_main *, .navigator_default_main *:before, .navigator_default_main *:after", "box-sizing: content-box;"), e.add(".navigator_default_main", "border-left: 1px solid var(--dp-nav-border-color);border-right: 1px solid var(--dp-nav-border-color);border-bottom: 1px solid var(--dp-nav-border-color);background-color: white;color: var(--dp-nav-day-color);box-sizing: content-box;"), e.add(".navigator_default_month", "font-family: var(--dp-nav-font-family);font-size: var(--dp-nav-font-size);"), e.add(".navigator_default_day", "color: var(--dp-nav-day-color); background-color: var(--dp-nav-day-bg-color);"), e.add(".navigator_default_weekend", "background-color: var(--dp-nav-weekend-bg-color);"), e.add(".navigator_default_dayheader", "color: var(--dp-nav-dayheader-color);background-color: var(--dp-nav-dayheader-bg-color);text-align: var(--dp-nav-text-align);padding: 0px;"), e.add(".navigator_default_line", "border-bottom: 1px solid var(--dp-nav-border-color);"), e.add(".navigator_default_dayother", "color: var(--dp-nav-dayother-color); background-color: var(--dp-nav-dayother-bg-color);"), e.add(".navigator_default_todaybox", "border: 1px solid red;"), e.add(".navigator_default_title, .navigator_default_titleleft, .navigator_default_titleright", "box-sizing: border-box; border-top: 1px solid var(--dp-nav-border-color);border-bottom: 1px solid var(--dp-nav-border-color);color: var(--dp-nav-title-color);background: var(--dp-nav-title-bg-color);text-align: var(--dp-nav-text-align);"), e.add(".navigator_default_busy", "font-weight: bold;"), e.add(".navigator_default_cell", "text-align: var(--dp-nav-text-align);"), e.add(".navigator_default_select .navigator_default_cell_box", "background-color: var(--dp-nav-select-bg-color);opacity: 0.5;"), e.add(".navigator_default_weeknumber", "text-align: var(--dp-nav-text-align);color: var(--dp-nav-weeknumber-color);background: var(--dp-nav-weeknumber-bg-color);"), e.add(".navigator_default_cell_text", "cursor: pointer;"), e.add(".navigator_default_todaysection", "box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--dp-nav-border-color);"), e.add(".navigator_default_todaysection_button", "cursor: pointer; color: #333; background-color: #f0f0f0; border: 1px solid var(--dp-nav-border-color); padding: 5px 10px; border-radius: 0px; "),
243
- e.add(".scheduler_default_main", ' --dp-scheduler-border-color: #c0c0c0; --dp-scheduler-border-inner-color: #e0e0e0; --dp-scheduler-cell-bg-color: #f9f9f9; --dp-scheduler-cell-business-bg-color: #ffffff; --dp-scheduler-event-background: linear-gradient(to bottom, var(--dp-scheduler-event-bg-top-color) 0%, var(--dp-scheduler-event-bg-bottom-color) 100%); --dp-scheduler-event-bg-bottom-color: #eeeeee; --dp-scheduler-event-bg-top-color: #ffffff; --dp-scheduler-event-bar-bg-color: #9dc8e8; --dp-scheduler-event-bar-color: #1066a8; --dp-scheduler-event-bar-display: block; --dp-scheduler-event-bar-height: 4px; --dp-scheduler-event-bar-left: 0px; --dp-scheduler-event-bar-right: 0px; --dp-scheduler-event-bar-top: 0px; --dp-scheduler-event-border: 1px solid var(--dp-scheduler-event-border-color); --dp-scheduler-event-border-color: #ccc; --dp-scheduler-event-border-radius: 0px; --dp-scheduler-event-box-shadow: none; --dp-scheduler-event-color: #333; --dp-scheduler-event-horizontal-align: flex-start; --dp-scheduler-event-milestone-color: #38761d; --dp-scheduler-event-padding: 2px; --dp-scheduler-event-selected-bg-color: #ddd; --dp-scheduler-event-vertical-align: center; --dp-scheduler-focus-outline-color: red; --dp-scheduler-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --dp-scheduler-font-size: 13px; --dp-scheduler-grid-line-break-color: #999; --dp-scheduler-grid-line-color: #eee; --dp-scheduler-header-bg-color: #f3f3f3; --dp-scheduler-header-color: #333; --dp-scheduler-link-color: #cc0000; --dp-scheduler-message-bg-color: #ffa216; --dp-scheduler-message-color: #ffffff; --dp-scheduler-message-padding: 10px; --dp-scheduler-rowheader-padding: 7px; --dp-scheduler-rowheader-vertical-align: center; --dp-scheduler-selectionrectangle-color: #1066a8; --dp-scheduler-shadow-border-color: #888888; --dp-scheduler-shadow-color: #bbbbbb; --dp-scheduler-timeheader-horizontal-align: center; --dp-scheduler-timeheader-padding: 0px; --dp-scheduler-timeheader-vertical-align: center;'), e.add(".scheduler_default_main *, .scheduler_default_main *:before, .scheduler_default_main *:after", "box-sizing: content-box;"), e.add(".scheduler_default_main, .scheduler_default_main svg text", "box-sizing: content-box; border: 1px solid var(--dp-scheduler-border-color); font-family: var(--dp-scheduler-font-family); font-size: var(--dp-scheduler-font-size);"), e.add(".scheduler_default_selected .scheduler_default_event_inner", "background: var(--dp-scheduler-event-selected-bg-color);"), e.add(".scheduler_default_timeheader_scroll", "background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_message", "opacity: 0.9; padding: var(--dp-scheduler-message-padding); color: var(--dp-scheduler-message-color); background: var(--dp-scheduler-message-bg-color);"), e.add(".scheduler_default_timeheadergroup,.scheduler_default_timeheadercol", "color: var(--dp-scheduler-header-color); background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_rowheader,.scheduler_default_corner", "color: var(--dp-scheduler-header-color); background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_rowheader.scheduler_default_rowheader_selected", "background-color: #aaa; background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_rowheader_inner", "position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; border-right: 1px solid var(--dp-scheduler-border-inner-color); padding: var(--dp-scheduler-rowheader-padding); display: flex; align-items: var(--dp-scheduler-rowheader-vertical-align);"), e.add(".scheduler_default_timeheadergroup_inner, .scheduler_default_timeheadercol_inner", "position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-right: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_timeheadergroup_inner", "border-bottom: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_timeheadergroup_inner, .scheduler_default_timeheadercol_inner, .scheduler_default_timeheader_float", "display: flex; align-items: var(--dp-scheduler-timeheader-vertical-align); justify-content: var(--dp-scheduler-timeheader-horizontal-align); padding: var(--dp-scheduler-timeheader-padding);"), e.add(".scheduler_default_divider, .scheduler_default_splitter", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_divider_horizontal", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_matrix_vertical_line", "background-color: var(--dp-scheduler-grid-line-color);"), e.add(".scheduler_default_matrix_vertical_break", "background-color: var(--dp-scheduler-grid-line-break-color);"), e.add(".scheduler_default_matrix_horizontal_line", "background-color: var(--dp-scheduler-grid-line-color);"), e.add(".scheduler_default_resourcedivider", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-scheduler-shadow-color); border: 1px solid var(--dp-scheduler-shadow-border-color); opacity: 0.5; height: 100%;"), e.add(".scheduler_default_shadow", "box-shadow: 0 2px 5px rgba(0,0,0,.2);"), e.add(".scheduler_default_event", "font-size: var(--dp-scheduler-font-size); color: var(--dp-scheduler-event-color); border-radius: var(--dp-scheduler-event-border-radius); box-shadow: var(--dp-scheduler-event-box-shadow);"), e.add(".scheduler_default_event_inner", "position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; border-radius: var(--dp-scheduler-event-border-radius); padding: var(--dp-scheduler-event-padding); overflow: hidden; border: var(--dp-scheduler-event-border); display: flex; align-items: var(--dp-scheduler-event-vertical-align); justify-content: var(--dp-scheduler-event-horizontal-align); background: var(--dp-scheduler-event-background);"), e.add(".scheduler_default_event_bar", "display: var(--dp-scheduler-event-bar-display);top: var(--dp-scheduler-event-bar-top); left: var(--dp-scheduler-event-bar-left); right: var(--dp-scheduler-event-bar-right); height: var(--dp-scheduler-event-bar-height); background-color: var(--dp-scheduler-event-bar-bg-color);"), e.add(".scheduler_default_event_bar_inner", "position:absolute; height: var(--dp-scheduler-event-bar-height); background-color: var(--dp-scheduler-event-bar-color);"), e.add(".scheduler_default_event_float", "display: flex; align-items: center;"), e.add(".scheduler_default_event_float_inner", "padding: var(--dp-scheduler-event-padding) var(--dp-scheduler-event-padding) var(--dp-scheduler-event-padding) 8px; position: relative;"), e.add(".scheduler_default_event_float_inner:after", 'content:""; border-color: transparent #666 transparent transparent; border-style:solid; border-width:5px; width:0; height:0; position:absolute; top: calc(50% - 5px); left:-4px;'), e.add(".scheduler_default_event_focus", "outline: var(--dp-scheduler-focus-outline-color) 2px solid; z-index: 100; opacity: 0.5;"), e.add(".scheduler_default_columnheader_inner", "font-weight: bold;"), e.add(".scheduler_default_columnheader_splitter", "box-sizing: border-box; border-right: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_columnheader_splitter:hover", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_columnheader_cell_inner", "position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; padding: 2px; display: flex; align-items: center;"), e.add(".scheduler_default_cell", "background-color: var(--dp-scheduler-cell-bg-color);"), e.add(".scheduler_default_cell.scheduler_default_cell_business", "background-color: var(--dp-scheduler-cell-business-bg-color);"), e.add(".scheduler_default_cell.scheduler_default_cell_business.scheduler_default_cell_selected, .scheduler_default_cell.scheduler_default_cell_selected", "background-color: #ccc; background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_tree_image_no_children", ""), e.add(".scheduler_default_tree_image_expand", "background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjxwYXRoIGQ9J00gMS41IDAuNSBMIDYuNSA1IEwgMS41IDkuNScgc3R5bGU9J2ZpbGw6bm9uZTtzdHJva2U6Izk5OTk5OTtzdHJva2Utd2lkdGg6MjtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWxpbmVjYXA6YnV0dCcgLz48L3N2Zz4=);"), e.add(".scheduler_default_tree_image_collapse", "background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMS41IEwgNSA2LjUgTCA5LjUgMS41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==);"), e.add(".scheduler_default_event_delete", "background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTInIGhlaWdodD0nMTInIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgMTEuNSAxMS41IE0gMC41IDExLjUgTCAxMS41IDAuNScgc3R5bGU9J2ZpbGw6bm9uZTtzdHJva2U6IzQ2NDY0NjtzdHJva2Utd2lkdGg6MztzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWxpbmVjYXA6YnV0dCcgLz48L3N2Zz4=) no-repeat center center; opacity: 0.6; cursor: pointer;"), e.add(".scheduler_default_event_delete:hover", "opacity: 1;"), e.add(".scheduler_default_rowmove_handle", "background-repeat: no-repeat; background-position: center center; background-color: #ccc; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAKCAYAAACT+/8OAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAClJREFUGFdj+P//P4O9vX2Bg4NDP4gNFgBytgPxebgAMsYuQGMz/jMAAFsTZDPYJlDHAAAAAElFTkSuQmCC); cursor: move;"), e.add(".scheduler_default_rowmove_source", "background-color: black; opacity: 0.2;"), e.add(".scheduler_default_rowmove_position_before, .scheduler_default_rowmove_position_after", "background-color: #999; height: 2px;"), e.add(".scheduler_default_rowmove_position_child", "margin-left: 20px; background-color: #999; height: 2px;"), e.add(".scheduler_default_rowmove_position_forbidden", "background-color: #cc0000; height: 2px; margin-left: 20px;"), e.add(".scheduler_default_link_horizontal", "border-bottom-style: solid; border-bottom-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_vertical", "border-right-style: solid; border-right-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_arrow_right:before", "content: ''; border-width: 6px; border-color: transparent transparent transparent var(--dp-scheduler-link-color); border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_left:before", "content: ''; border-width: 6px; border-color: transparent var(--dp-scheduler-link-color) transparent transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_down:before", "content: ''; border-width: 6px; border-color: var(--dp-scheduler-link-color) transparent transparent transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_up:before", "content: ''; border-width: 6px; border-color: transparent transparent var(--dp-scheduler-link-color) transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_horizontal", "border-bottom-color: #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_vertical", "border-right-color: #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_right:before", "border-color: transparent transparent transparent #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_left:before", "border-color: transparent #aaaaaa transparent transparent;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_down:before", "border-color: #aaaaaa transparent transparent transparent;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_up:before", "border-color: transparent transparent #aaaaaa transparent;"), e.add(".scheduler_default_block", "background-color: #808080; opacity: 0.5;"), e.add(".scheduler_default_main .scheduler_default_event_group", "box-sizing: border-box; font-size: 13px; color: #666; padding: 2px; overflow:hidden; border:1px solid var(--dp-scheduler-event-border-color); background-color: #fff; display: flex; align-items: center; white-space: nowrap;"), e.add(".scheduler_default_main .scheduler_default_header_icon", "box-sizing: border-box; border: 1px solid var(--dp-scheduler-border-color); background-color: var(--dp-scheduler-header-bg-color); color: var(--dp-scheduler-header-color);"), e.add(".scheduler_default_header_icon:hover", "background-color: #ccc;"), e.add(".scheduler_default_header_icon_hide:before", "content: '\\00AB';"), e.add(".scheduler_default_header_icon_show:before", "content: '\\00BB';"), e.add(".scheduler_default_row_new .scheduler_default_rowheader_inner", "padding-left: 10px; color: #666; cursor: text; background-position: 0px 50%; background-repeat: no-repeat; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABUSURBVChTY0ACslAaK2CC0iCQDMSlECYmQFYIAl1AjFUxukIQwKoYm0IQwFCMSyEIaEJpMMClcD4Qp0CYEIBNIUzRPzAPCtAVYlWEDgyAGIdTGBgAbqEJYyjqa3oAAAAASUVORK5CYII=);"), e.add(".scheduler_default_row_new .scheduler_default_rowheader_inner:hover", "background: white; color: white;"), e.add(".scheduler_default_rowheader textarea", "padding: 3px;"), e.add(".scheduler_default_rowheader_scroll", "cursor: default; background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_shadow_forbidden .scheduler_default_shadow_inner, .scheduler_default_shadow_overlap .scheduler_default_shadow_inner", "border: 1px solid #cc0000; background: #cc4125;"), e.add(".scheduler_default_event_moving_source", "opacity: 0.5;"), e.add(".scheduler_default_linkpoint", "background-color: white; border: 1px solid gray; border-radius: 5px;"), e.add(".scheduler_default_linkpoint.scheduler_default_linkpoint_hover", "background-color: black;"), e.add(".scheduler_default_event.scheduler_default_event_version .scheduler_default_event_inner", "overflow:hidden; background-color: #cfdde8; background-image: linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_crosshair_vertical, .scheduler_default_crosshair_horizontal, .scheduler_default_crosshair_left, .scheduler_default_crosshair_top", "background-color: gray; opacity: 0.2;"), e.add(".scheduler_default_link_dot", "border-radius: 10px; background-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_task_milestone .scheduler_default_event_inner", "position:absolute; top:16%; left:16%; right:16%; bottom:16%; background: var(--dp-scheduler-event-milestone-color); border: 0px none; transform: rotate(45deg); filter: none;"), e.add(".scheduler_default_event_left, .scheduler_default_event_right", "white-space: nowrap; color: #666; cursor: default; display: flex; align-items: center;");
243
+ e.add(".scheduler_default_main", ' --dp-scheduler-border-color: #c0c0c0; --dp-scheduler-border-inner-color: #e0e0e0; --dp-scheduler-cell-bg-color: #f9f9f9; --dp-scheduler-cell-business-bg-color: #ffffff; --dp-scheduler-event-background: linear-gradient(to bottom, var(--dp-scheduler-event-bg-top-color) 0%, var(--dp-scheduler-event-bg-bottom-color) 100%); --dp-scheduler-event-bg-bottom-color: #eeeeee; --dp-scheduler-event-bg-top-color: #ffffff; --dp-scheduler-event-bar-bg-color: #9dc8e8; --dp-scheduler-event-bar-color: #1066a8; --dp-scheduler-event-bar-display: block; --dp-scheduler-event-bar-height: 4px; --dp-scheduler-event-bar-left: 0px; --dp-scheduler-event-bar-right: 0px; --dp-scheduler-event-bar-top: 0px; --dp-scheduler-event-border: 1px solid var(--dp-scheduler-event-border-color); --dp-scheduler-event-border-color: #ccc; --dp-scheduler-event-border-radius: 0px; --dp-scheduler-event-box-shadow: none; --dp-scheduler-event-color: #333; --dp-scheduler-event-horizontal-align: flex-start; --dp-scheduler-event-milestone-color: #38761d; --dp-scheduler-event-padding: 2px; --dp-scheduler-event-selected-bg-color: #ddd; --dp-scheduler-event-vertical-align: center; --dp-scheduler-focus-outline-color: red; --dp-scheduler-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --dp-scheduler-font-size: 13px; --dp-scheduler-grid-line-break-color: #999; --dp-scheduler-grid-line-color: #eee; --dp-scheduler-header-bg-color: #f3f3f3; --dp-scheduler-header-color: #333; --dp-scheduler-link-color: #cc0000; --dp-scheduler-message-bg-color: #ffa216; --dp-scheduler-message-color: #ffffff; --dp-scheduler-message-padding: 10px; --dp-scheduler-rowheader-padding: 7px; --dp-scheduler-rowheader-vertical-align: center; --dp-scheduler-selectionrectangle-color: #1066a8; --dp-scheduler-shadow-border-color: #888888; --dp-scheduler-shadow-color: #bbbbbb; --dp-scheduler-timeheader-horizontal-align: center; --dp-scheduler-timeheader-padding: 0px; --dp-scheduler-timeheader-vertical-align: center;'), e.add(".scheduler_default_main *, .scheduler_default_main *:before, .scheduler_default_main *:after", "box-sizing: content-box;"), e.add(".scheduler_default_main, .scheduler_default_main svg text", "box-sizing: content-box; border: 1px solid var(--dp-scheduler-border-color); font-family: var(--dp-scheduler-font-family); font-size: var(--dp-scheduler-font-size);"), e.add(".scheduler_default_selected .scheduler_default_event_inner", "background: var(--dp-scheduler-event-selected-bg-color);"), e.add(".scheduler_default_timeheader_scroll", "background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_message", "opacity: 0.9; padding: var(--dp-scheduler-message-padding); color: var(--dp-scheduler-message-color); background: var(--dp-scheduler-message-bg-color);"), e.add(".scheduler_default_timeheadergroup,.scheduler_default_timeheadercol", "color: var(--dp-scheduler-header-color); background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_rowheader,.scheduler_default_corner", "color: var(--dp-scheduler-header-color); background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_rowheader.scheduler_default_rowheader_selected", "background-color: #aaa; background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_rowheader_inner", "position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; border-right: 1px solid var(--dp-scheduler-border-inner-color); padding: var(--dp-scheduler-rowheader-padding); display: flex; align-items: var(--dp-scheduler-rowheader-vertical-align);"), e.add(".scheduler_default_timeheadergroup_inner, .scheduler_default_timeheadercol_inner", "position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-right: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_timeheadergroup_inner", "border-bottom: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_timeheadergroup_inner, .scheduler_default_timeheadercol_inner, .scheduler_default_timeheader_float", "display: flex; align-items: var(--dp-scheduler-timeheader-vertical-align); justify-content: var(--dp-scheduler-timeheader-horizontal-align); padding: var(--dp-scheduler-timeheader-padding);"), e.add(".scheduler_default_divider, .scheduler_default_splitter", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_divider_horizontal", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_matrix_vertical_line", "background-color: var(--dp-scheduler-grid-line-color);"), e.add(".scheduler_default_matrix_vertical_break", "background-color: var(--dp-scheduler-grid-line-break-color);"), e.add(".scheduler_default_matrix_horizontal_line", "background-color: var(--dp-scheduler-grid-line-color);"), e.add(".scheduler_default_resourcedivider", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-scheduler-shadow-color); border: 1px solid var(--dp-scheduler-shadow-border-color); border-radius: var(--dp-scheduler-event-border-radius); opacity: 0.5; height: 100%;"), e.add(".scheduler_default_shadow", "box-shadow: 0 2px 5px rgba(0,0,0,.2); border-radius: var(--dp-scheduler-event-border-radius);"), e.add(".scheduler_default_event", "font-size: var(--dp-scheduler-font-size); color: var(--dp-scheduler-event-color); border-radius: var(--dp-scheduler-event-border-radius); box-shadow: var(--dp-scheduler-event-box-shadow);"), e.add(".scheduler_default_event_inner", "position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; border-radius: var(--dp-scheduler-event-border-radius); padding: var(--dp-scheduler-event-padding); overflow: hidden; border: var(--dp-scheduler-event-border); display: flex; align-items: var(--dp-scheduler-event-vertical-align); justify-content: var(--dp-scheduler-event-horizontal-align); background: var(--dp-scheduler-event-background);"), e.add(".scheduler_default_event_bar", "display: var(--dp-scheduler-event-bar-display);top: var(--dp-scheduler-event-bar-top); left: var(--dp-scheduler-event-bar-left); right: var(--dp-scheduler-event-bar-right); height: var(--dp-scheduler-event-bar-height); background-color: var(--dp-scheduler-event-bar-bg-color);"), e.add(".scheduler_default_event_bar_inner", "position:absolute; height: var(--dp-scheduler-event-bar-height); background-color: var(--dp-scheduler-event-bar-color);"), e.add(".scheduler_default_event_float", "display: flex; align-items: center;"), e.add(".scheduler_default_event_float_inner", "padding: var(--dp-scheduler-event-padding) var(--dp-scheduler-event-padding) var(--dp-scheduler-event-padding) 8px; position: relative;"), e.add(".scheduler_default_event_float_inner:after", 'content:""; border-color: transparent #666 transparent transparent; border-style:solid; border-width:5px; width:0; height:0; position:absolute; top: calc(50% - 5px); left:-4px;'), e.add(".scheduler_default_event_focus", "outline: var(--dp-scheduler-focus-outline-color) 2px solid; z-index: 100; opacity: 0.5;"), e.add(".scheduler_default_columnheader_inner", "font-weight: bold;"), e.add(".scheduler_default_columnheader_splitter", "box-sizing: border-box; border-right: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_columnheader_splitter:hover", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_columnheader_cell_inner", "position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; padding: 2px; display: flex; align-items: center;"), e.add(".scheduler_default_cell", "background-color: var(--dp-scheduler-cell-bg-color);"), e.add(".scheduler_default_cell.scheduler_default_cell_business", "background-color: var(--dp-scheduler-cell-business-bg-color);"), e.add(".scheduler_default_cell.scheduler_default_cell_business.scheduler_default_cell_selected, .scheduler_default_cell.scheduler_default_cell_selected", "background-color: #ccc; background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_tree_image_no_children", ""), e.add(".scheduler_default_tree_image_expand", "background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjxwYXRoIGQ9J00gMS41IDAuNSBMIDYuNSA1IEwgMS41IDkuNScgc3R5bGU9J2ZpbGw6bm9uZTtzdHJva2U6Izk5OTk5OTtzdHJva2Utd2lkdGg6MjtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWxpbmVjYXA6YnV0dCcgLz48L3N2Zz4=);"), e.add(".scheduler_default_tree_image_collapse", "background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMS41IEwgNSA2LjUgTCA5LjUgMS41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==);"), e.add(".scheduler_default_event_delete", "background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTInIGhlaWdodD0nMTInIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgMTEuNSAxMS41IE0gMC41IDExLjUgTCAxMS41IDAuNScgc3R5bGU9J2ZpbGw6bm9uZTtzdHJva2U6IzQ2NDY0NjtzdHJva2Utd2lkdGg6MztzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWxpbmVjYXA6YnV0dCcgLz48L3N2Zz4=) no-repeat center center; opacity: 0.6; cursor: pointer;"), e.add(".scheduler_default_event_delete:hover", "opacity: 1;"), e.add(".scheduler_default_rowmove_handle", "background-repeat: no-repeat; background-position: center center; background-color: #ccc; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAKCAYAAACT+/8OAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAClJREFUGFdj+P//P4O9vX2Bg4NDP4gNFgBytgPxebgAMsYuQGMz/jMAAFsTZDPYJlDHAAAAAElFTkSuQmCC); cursor: move;"), e.add(".scheduler_default_rowmove_source", "background-color: black; opacity: 0.2;"), e.add(".scheduler_default_rowmove_position_before, .scheduler_default_rowmove_position_after", "background-color: #999; height: 2px;"), e.add(".scheduler_default_rowmove_position_child", "margin-left: 20px; background-color: #999; height: 2px;"), e.add(".scheduler_default_rowmove_position_forbidden", "background-color: #cc0000; height: 2px; margin-left: 20px;"), e.add(".scheduler_default_link_horizontal", "border-bottom-style: solid; border-bottom-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_vertical", "border-right-style: solid; border-right-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_arrow_right:before", "content: ''; border-width: 6px; border-color: transparent transparent transparent var(--dp-scheduler-link-color); border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_left:before", "content: ''; border-width: 6px; border-color: transparent var(--dp-scheduler-link-color) transparent transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_down:before", "content: ''; border-width: 6px; border-color: var(--dp-scheduler-link-color) transparent transparent transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_up:before", "content: ''; border-width: 6px; border-color: transparent transparent var(--dp-scheduler-link-color) transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_horizontal", "border-bottom-color: #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_vertical", "border-right-color: #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_right:before", "border-color: transparent transparent transparent #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_left:before", "border-color: transparent #aaaaaa transparent transparent;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_down:before", "border-color: #aaaaaa transparent transparent transparent;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_up:before", "border-color: transparent transparent #aaaaaa transparent;"), e.add(".scheduler_default_block", "background-color: #808080; opacity: 0.5;"), e.add(".scheduler_default_main .scheduler_default_event_group", "box-sizing: border-box; font-size: 13px; color: #666; padding: 2px; overflow:hidden; border:1px solid var(--dp-scheduler-event-border-color); background-color: #fff; display: flex; align-items: center; white-space: nowrap;"), e.add(".scheduler_default_main .scheduler_default_header_icon", "box-sizing: border-box; border: 1px solid var(--dp-scheduler-border-color); background-color: var(--dp-scheduler-header-bg-color); color: var(--dp-scheduler-header-color);"), e.add(".scheduler_default_header_icon:hover", "background-color: #ccc;"), e.add(".scheduler_default_header_icon_hide:before", "content: '\\00AB';"), e.add(".scheduler_default_header_icon_show:before", "content: '\\00BB';"), e.add(".scheduler_default_row_new .scheduler_default_rowheader_inner", "padding-left: 10px; color: #666; cursor: text; background-position: 0px 50%; background-repeat: no-repeat; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABUSURBVChTY0ACslAaK2CC0iCQDMSlECYmQFYIAl1AjFUxukIQwKoYm0IQwFCMSyEIaEJpMMClcD4Qp0CYEIBNIUzRPzAPCtAVYlWEDgyAGIdTGBgAbqEJYyjqa3oAAAAASUVORK5CYII=);"), e.add(".scheduler_default_row_new .scheduler_default_rowheader_inner:hover", "background: white; color: white;"), e.add(".scheduler_default_rowheader textarea", "padding: 3px;"), e.add(".scheduler_default_rowheader_scroll", "cursor: default; background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_shadow_forbidden .scheduler_default_shadow_inner, .scheduler_default_shadow_overlap .scheduler_default_shadow_inner", "border: 1px solid #cc0000; background: #cc4125;"), e.add(".scheduler_default_event_moving_source", "opacity: 0.5;"), e.add(".scheduler_default_linkpoint", "background-color: white; border: 1px solid gray; border-radius: 5px;"), e.add(".scheduler_default_linkpoint.scheduler_default_linkpoint_hover", "background-color: black;"), e.add(".scheduler_default_event.scheduler_default_event_version .scheduler_default_event_inner", "overflow:hidden; background-color: #cfdde8; background-image: linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_crosshair_vertical, .scheduler_default_crosshair_horizontal, .scheduler_default_crosshair_left, .scheduler_default_crosshair_top", "background-color: gray; opacity: 0.2;"), e.add(".scheduler_default_link_dot", "border-radius: 10px; background-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_task_milestone .scheduler_default_event_inner", "position:absolute; top:16%; left:16%; right:16%; bottom:16%; background: var(--dp-scheduler-event-milestone-color); border: 0px none; transform: rotate(45deg); filter: none;"), e.add(".scheduler_default_event_left, .scheduler_default_event_right", "white-space: nowrap; color: #666; cursor: default; display: flex; align-items: center;");
244
244
  e.add(".scheduler_default_main:focus", "outline: none;");
245
245
  e.add(".scheduler_default_cell_focus", "outline: var(--dp-scheduler-focus-outline-color) 2px solid; outline-offset: -2px; z-index: 100; opacity: 0.5;"), e.add(".scheduler_default_cell_focus.scheduler_default_cell_focus_top", "border-top: 4px solid var(--dp-scheduler-focus-outline-color);"), e.add(".scheduler_default_cell_focus.scheduler_default_cell_focus_bottom", "border-bottom: 4px solid var(--dp-scheduler-focus-outline-color);"), e.add(".scheduler_default_selectionrectangle", "background-color: var(--dp-scheduler-selectionrectangle-color); border: 1px solid #000033; opacity: 0.4;"), e.add(".scheduler_default_link_shadow", "border:1px solid black;"), e.add(".scheduler_default_link_shadow_circle", "background-color:black;"), e.add(".scheduler_default_event_move_left", "box-sizing: border-box; padding: 2px; border: 1px solid #ccc; background: #fff; background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); display: flex; align-items: center;"), e.add(".scheduler_default_event_move_right", "box-sizing: border-box; padding: 2px; border: 1px solid #ccc; background: #fff; background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); display: flex; align-items: center;"), e.add(".scheduler_default_link_hover", "box-shadow: 0px 0px 2px 2px rgba(255, 0, 0, 0.3)"), e.add(".scheduler_default_sorticon", "opacity: 0.2;background-position: center center; background-repeat: no-repeat; cursor: pointer;"), e.add(".scheduler_default_sorticon.scheduler_default_sorticon_asc", "background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBvbHlnb24gcG9pbnRzPSI1IDEuNSwgMTAgMTAsIDAgMTAiLz48L3N2Zz4=');"), e.add(".scheduler_default_sorticon.scheduler_default_sorticon_desc", "background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBvbHlnb24gcG9pbnRzPSI1IDguNSwgMCAwLCAxMCAwIi8+PC9zdmc+');"), e.add(".scheduler_default_sorticon.scheduler_default_sorticon_active", "opacity: 1;"), e.add(".scheduler_default_loading", "background-color: orange; color: white; padding: 2px;"), e.add(".scheduler_default_link_curve", "stroke: var(--dp-scheduler-link-color); fill: none; stroke-width: 2;"), e.add(".scheduler_default_link_curve:hover", "stroke-opacity: 0.5;"), e.add(".scheduler_default_link_curve_dot", "fill: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_curve_marker", "fill: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_curve_text", "fill: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_curve_mshadow.scheduler_default_link_curve", "stroke: #aaaaaa;"), e.add(".scheduler_default_link_curve_mshadow.scheduler_default_link_curve_dot", "fill: #aaaaaa;"), e.add(".scheduler_default_link_curve_mshadow.scheduler_default_link_curve_marker", "fill: #aaaaaa;"), e.add(".scheduler_default_link_curve_mshadow.scheduler_default_link_curve_text", "fill: #aaaaaa;"), e.commit(), DayPilot.Global.defaultCss = !0;
246
246
  }
@@ -1033,7 +1033,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1033
1033
  if (this instanceof t.Calendar && !this.P && (o = !0, this.P = !0), !o)
1034
1034
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
1035
1035
  var r = this;
1036
- this.uniqueID = null, this.isCalendar = !0, this.v = "2025.2.674-lite", this.id = e, this.clientName = e, this.cache = {}, this.cache.pixels = {}, this.elements = {}, this.elements.events = [], this.elements.selection = [], this.nav = {}, this.afterRender = function () { }, this.fasterDispose = !0, this.angularAutoApply = !1, this.api = 2, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.cellDuration = 30, this.cellHeight = 30, this.columnMarginLeft = 0, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventBorderRadius = null, this.eventsLoadMethod = "GET", this.headerDateFormat = null, this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelHtml = null, this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.locale = "en-us", this.snapToGrid = !0, this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.headerClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.timeRangeSelectedHandling = "Enabled", this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeHeaderRender = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.Q = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.R(); }, this.R = function () { DayPilot.de(r.elements.selection), r.elements.selection = [], r.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.S = function (e, t, n) { var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); __doPostBack(r.uniqueID, a); }, this.U = function (e, t, n) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { r.loadingStart(); }, 100); var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); this.backendUrl ? DayPilot.request(this.backendUrl, this.V, a, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, a, this.W, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = r; e.Q || (e.Q = !0, clearInterval(e.X), e.Y(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.Z(), e._(), e.nav.select = null, e.nav.cornerRight = null, e.nav.scrollable = null, e.nav.zoom = null, e.nav.loading = null, e.nav.header = null, e.nav.hourTable = null, e.nav.scrolltop = null, e.nav.scroll.onscroll = null, e.nav.scroll = null, e.nav.main = null, e.nav.message = null, e.nav.messageClose = null, e.nav.top = null, t.unregister(e)); }, this.disposed = function () { return this.Q; }, this.aa = function () { this.nav.top.dispose = this.dispose; }, this.V = function (e) { r.W(e.responseText); }, this.T = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = r.days, e.startDate = r.startDate, e.heightSpec = r.heightSpec, e.businessBeginsHour = r.businessBeginsHour, e.businessEndsHour = r.businessEndsHour, e.hashes = r.hashes, e.timeFormat = r.timeFormat, e.viewType = r.viewType, e.locale = r.locale, e; }, this.ba = function (e, t) {
1036
+ this.uniqueID = null, this.isCalendar = !0, this.v = "2025.3.684-lite", this.id = e, this.clientName = e, this.cache = {}, this.cache.pixels = {}, this.elements = {}, this.elements.events = [], this.elements.selection = [], this.nav = {}, this.afterRender = function () { }, this.fasterDispose = !0, this.angularAutoApply = !1, this.api = 2, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.cellDuration = 30, this.cellHeight = 30, this.columnMarginLeft = 0, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventBorderRadius = null, this.eventsLoadMethod = "GET", this.headerDateFormat = null, this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelHtml = null, this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.locale = "en-us", this.snapToGrid = !0, this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.headerClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.timeRangeSelectedHandling = "Enabled", this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeHeaderRender = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.Q = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.R(); }, this.R = function () { DayPilot.de(r.elements.selection), r.elements.selection = [], r.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.S = function (e, t, n) { var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); __doPostBack(r.uniqueID, a); }, this.U = function (e, t, n) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { r.loadingStart(); }, 100); var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); this.backendUrl ? DayPilot.request(this.backendUrl, this.V, a, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, a, this.W, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = r; e.Q || (e.Q = !0, clearInterval(e.X), e.Y(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.Z(), e._(), e.nav.select = null, e.nav.cornerRight = null, e.nav.scrollable = null, e.nav.zoom = null, e.nav.loading = null, e.nav.header = null, e.nav.hourTable = null, e.nav.scrolltop = null, e.nav.scroll.onscroll = null, e.nav.scroll = null, e.nav.main = null, e.nav.message = null, e.nav.messageClose = null, e.nav.top = null, t.unregister(e)); }, this.disposed = function () { return this.Q; }, this.aa = function () { this.nav.top.dispose = this.dispose; }, this.V = function (e) { r.W(e.responseText); }, this.T = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = r.days, e.startDate = r.startDate, e.heightSpec = r.heightSpec, e.businessBeginsHour = r.businessBeginsHour, e.businessEndsHour = r.businessEndsHour, e.hashes = r.hashes, e.timeFormat = r.timeFormat, e.viewType = r.viewType, e.locale = r.locale, e; }, this.ba = function (e, t) {
1037
1037
  for (var n = e.parentNode; n && "TD" !== n.tagName;)
1038
1038
  n = n.parentNode;
1039
1039
  var i = r.eventBorderRadius;
@@ -1761,10 +1761,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1761
1761
  this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0);
1762
1762
  this.headerCreated = !0;
1763
1763
  this.hb(t);
1764
- }, this.loadingStart = function () { this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = ""); }, this.commandCallBack = function (e, t) {
1765
- var n = {};
1766
- n.command = e, this.U("Command", t, n);
1767
- }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.lb = function () { var e = this.nav.scroll; e.root = this, r.mb(), e.onscroll || (e.onscroll = function () { r.nb(); }); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.ob = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.pb = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp)); }, this.events = {}, this.events.add = function (e) {
1764
+ }, this.loadingStart = function () {
1765
+ this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText,
1766
+ this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = "");
1767
+ }, this.commandCallBack = function (e, t) { var n = {}; n.command = e, this.U("Command", t, n); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.lb = function () { var e = this.nav.scroll; e.root = this, r.mb(), e.onscroll || (e.onscroll = function () { r.nb(); }); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.ob = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.pb = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp)); }, this.events = {}, this.events.add = function (e) {
1768
1768
  var t = null;
1769
1769
  if (e instanceof DayPilot.Event)
1770
1770
  t = e.data;
@@ -2048,7 +2048,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2048
2048
  if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (DayPilot) {
2049
2049
  "use strict";
2050
2050
  "undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) {
2051
- this.v = "2025.2.674-lite";
2051
+ this.v = "2025.3.684-lite";
2052
2052
  var t = "navigator_" + (new Date).getTime(), n = this;
2053
2053
  this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () {
2054
2054
  if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this.ca.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, e)
@@ -2101,7 +2101,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2101
2101
  var e = function () { }, t = {};
2102
2102
  t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (n) {
2103
2103
  var i = this, a = null;
2104
- this.v = "2025.2.674-lite", this.zIndex = 120, this.cssClassPrefix = "menu_default", this.cssOnly = !0, this.menuTitle = null, this.showMenuTitle = !1, this.hideOnMouseOut = !1, this.hideAfter = 200, this.theme = null, this.onShow = null, this.Rb = function () { }, n && DayPilot.isArray(n) && (this.items = n), this.toJSON = function () { return null; }, this.show = function (n, o) {
2104
+ this.v = "2025.3.684-lite", this.zIndex = 120, this.cssClassPrefix = "menu_default", this.cssOnly = !0, this.menuTitle = null, this.showMenuTitle = !1, this.hideOnMouseOut = !1, this.hideAfter = 200, this.theme = null, this.onShow = null, this.Rb = function () { }, n && DayPilot.isArray(n) && (this.items = n), this.toJSON = function () { return null; }, this.show = function (n, o) {
2105
2105
  o = o || {};
2106
2106
  var r = null;
2107
2107
  if (n ? "string" == typeof n.id || "number" == typeof n.id ? r = n.id : "function" == typeof n.id ? r = n.id() : "function" == typeof n.value && (r = n.value()) : r = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), o.submenu || t.menuClean(), this.Rb.submenu = null, null !== t.mouse) {
@@ -2257,8 +2257,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2257
2257
  }(), o.parentLink) {
2258
2258
  var N = o.parentLink, I = parseInt(new DayPilot.StyleReader(d).get("border-top-width")), R = DayPilot.abs(o.parentLink.parentNode), L = R.x + N.offsetWidth, z = R.y - I;
2259
2259
  L + T > E && (L = Math.max(0, R.x - T));
2260
- var U = document.body.scrollTop + document.documentElement.scrollTop;
2261
- z + M - U > A && (z = Math.max(0, A - M + U)), d.style.left = L + "px", d.style.top = z + "px";
2260
+ var B = document.body.scrollTop + document.documentElement.scrollTop;
2261
+ z + M - B > A && (z = Math.max(0, A - M + B)), d.style.left = L + "px", d.style.top = z + "px";
2262
2262
  }
2263
2263
  d.style.display = "", this.addShadow(d), this.Rb.div = d, o.submenu || (DayPilot.Menu.active = this);
2264
2264
  }
@@ -2405,8 +2405,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2405
2405
  }
2406
2406
  }, e;
2407
2407
  }, i = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxwYXRoCiAgICAgICBpZD0icGF0aDMxNzMiCiAgICAgICBzdHlsZT0iZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoxLjg1MTk2ODUzO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICAgIGQ9Ik0gMC45NTQxNDgzOCwwLjY4MTYwMzEgNS4wMzkwNjI1LDUuNDExNTM4NiA5LjEyMzk3NjYsMC42ODE2MDMxIgogICAgICAgIC8+CiAgPC9nPgo8L3N2Zz4K", a = new n;
2408
- a.add(".modal_default_main", "border: 10px solid #ccc; max-width: 90%;"), a.add(".modal_default_main:focus", "outline: none;"), a.add(".modal_default_content", "padding: 10px 0px;"), a.add(".modal_default_inner", "padding: 20px;"), a.add(".modal_default_input", "padding: 10px 0px;"), a.add(".modal_default_buttons", "margin-top: 10px;"), a.add(".modal_default_buttons", "padding: 10px 0px;"), a.add(".modal_default_form_item", "padding: 10px 0px; position: relative;"), a.add(".modal_default_form_item_level1", "border-left: 2px solid #ccc; margin-left: 10px; padding-left: 20px;"), a.add(".modal_default_form_item.modal_default_form_title", "font-size: 1.5rem; font-weight: bold;"),
2409
- a.add(".modal_default_form_item input[type=text]", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item textarea", "width: 100%; height: 200px; box-sizing: border-box;"), a.add(".modal_default_form_item input[type=select]", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item label", "display: block;"), a.add(".modal_default_form_item select", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item_label", "margin: 2px 0px;"), a.add(".modal_default_form_item_image img", "max-width: 100%; height: auto;"), a.add(".modal_default_form_item_invalid", ""), a.add(".modal_default_form_item_invalid_message", "position: absolute; right: 0px; top: 9px; background-color: red; color: #ffffff; padding: 2px; border-radius: 2px;"), a.add(".modal_default_background", "opacity: 0.5; background-color: #000;"), a.add(".modal_default_ok", "padding: 3px; width: 80px;"), a.add(".modal_default_cancel", "padding: 3px; width: 80px;"), a.add(".modal_default_form_item_date", "position: relative;"), a.add(".modal_default_form_item_date:after", "content: ''; position: absolute; right: 7px; top: 50%; margin-top: 3px; width: 10px; height: 15px; background-image:url(" + "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojY2NjY2NjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjM4MDM3MzM2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDE5MjgiCiAgICAgICB3aWR0aD0iOS45MTUzMDYxIgogICAgICAgaGVpZ2h0PSIxMS4zNjkzNyIKICAgICAgIHg9IjAuMTE3MTg3NSIKICAgICAgIHk9Ii0zLjAwOTk5NTciCiAgICAgICByeT0iMS4zMTE4NTA1IiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNjY2NjY2M7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNTk4MTQwMTI7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MTkzMCIKICAgICAgIHdpZHRoPSIxLjUzNDQxMzYiCiAgICAgICBoZWlnaHQ9IjIuMjE5ODI1IgogICAgICAgeD0iMi4xNTU4NDgzIgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHJ5PSIwLjY3MTc4OTE3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iMS41MjM5NTA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QxOTQ4IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjY3MTc4OTE3IgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHg9IjYuNDUyNzIzNSIKICAgICAgIGhlaWdodD0iMi4yMTk4MjUiCiAgICAgICB3aWR0aD0iMS41MzQ0MTM2IgogICAgICAgaWQ9InJlY3QyMDAzIgogICAgICAgc3R5bGU9ImZpbGw6I2NjY2NjYztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS41OTgxNDAxMjtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAwNSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIHk9Ii0xLjE2NTg0NjYiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iNi45OTI3MDA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDA3IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAxMyIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjEuNTIzOTUwNiIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHJ5PSIwLjI5NjAxNDciIC8+CiAgICA8cmVjdAogICAgICAgcnk9IjAuMjk2MDE0NyIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGlkPSJyZWN0MjAxNSIKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgLz4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDIwMTciCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB4PSI2Ljk5MjcwMDYiCiAgICAgICB5PSIxLjgwMjkwMzQiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSI0LjczMjU5MDciCiAgICAgICB4PSIxLjU2MzAxMzEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBpZD0icmVjdDIwMTkiCiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgICA8cmVjdAogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgICAgaWQ9InJlY3QyMDIxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgeD0iNC4yNTgzMjU2IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgcnk9IjAuMjk2MDE0NyIgLz4KICAgIDxyZWN0CiAgICAgICByeT0iMC4yOTYwMTQ3IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgeD0iNy4wMzE3NjMxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDIzIgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+Cg==" + ")"), "undefined" != typeof navigator && navigator.userAgent.indexOf("Edge") !== -1 && a.add(".modal_default_form_item_date input::-ms-clear", "display: none;"), a.add(".modal_default_form_item_scrollable_scroll", "width: 100%; height: 200px; box-sizing: border-box; border: 1px solid #ccc; overflow-y: auto;"), a.add(".modal_default_form_item_scrollable_scroll_content", "padding: 5px;"), a.add(".modal_default_form_item_searchable", "position: relative;"), a.add(".modal_default_form_item_searchable_icon", ""), a.add(".modal_default_form_item_searchable_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + i + ");"), a.add(".modal_default_form_item_searchable_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), a.add(".modal_default_form_item_searchable_list_item", "background: white; padding: 2px; cursor: default;"), a.add(".modal_default_form_item_searchable_list_item_highlight", "background: #ccc;"), a.add(".modal_default_form_item_time", "position: relative;"), a.add(".modal_default_form_item_time_icon", ""), a.add(".modal_default_form_item_time_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + i + ");"), a.add(".modal_default_form_item_time_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), a.add(".modal_default_form_item_time_list_item", "background: white; padding: 2px; cursor: default;"), a.add(".modal_default_form_item_time_list_item_highlight", "background: #ccc;"), a.add(".modal_default_form_item_datetime_parent", "display: flex;"), a.add(".modal_default_form_item_datetime .modal_default_form_item_time_main", "margin-left: 5px;"), a.add(".modal_default_form_item_datetime input[type='text'].modal_default_input_date ", ""), a.add(".modal_default_form_item_tabular_main", "margin-top: 10px;"), a.add(".modal_default_form_item_tabular_table", "display: table; width: 100%; xbackground-color: #fff; border-collapse: collapse;"), a.add(".modal_default_form_item_tabular_tbody", "display: table-row-group;"), a.add(".modal_default_form_item_tabular_row", "display: table-row;"), a.add(".modal_default_form_item_tabular_row.modal_default_form_item_tabular_header", ""), a.add(".modal_default_form_item_tabular_cell.modal_default_form_item_tabular_rowaction", "padding: 0px; width: 23px;"), a.add(".modal_default_form_item_tabular_cell", "display: table-cell; border: 0px; padding: 2px 2px 2px 0px; cursor: default; vertical-align: bottom;"), a.add(".modal_default_form_item_tabular_header .modal_default_form_item_tabular_cell", "padding-left: 0px; padding-bottom: 0px;"), a.add(".modal_default_form_item_tabular_table input[type=text], .modal_default_form_item_tabular_table input[type=number]", "width:100%; box-sizing: border-box;"), a.add(".modal_default_form_item_tabular_table select", "width:100%; height:100%; box-sizing: border-box;"), a.add(".modal_default_form_item_tabular_plus", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), a.add(".modal_default_form_item_tabular_plus:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSA1LjAgMC41IEwgNS4wIDkuNSBNIDAuNSA1LjAgTCA5LjUgNS4wJyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), a.add(".modal_default_form_item_tabular_delete", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), a.add(".modal_default_form_item_tabular_delete:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgOS41IDkuNSBNIDAuNSA5LjUgTCA5LjUgMC41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), a.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_plus", "display: none;"), a.add(".modal_default_form_item_tabular_plus_max.modal_default_form_item_tabular_plus", "display: none;"), a.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_delete", "visibility: hidden;"), a.add(".modal_default_form_item_tabular_empty", "height: 1px; margin: 5px 23px 5px 0px; background-color: #ccc;"), a.add(".modal_default_form_item_tabular_spacer .modal_default_form_item_tabular_cell", "padding: 0px;"), a.add(".modal_min_main", "border: 1px solid #ccc; max-width: 90%;"), a.add(".modal_min_background", "opacity: 0.5; background-color: #000;"), a.add(".modal_min_ok", "padding: 3px 10px;"), a.add(".modal_min_cancel", "padding: 3px 10px;"), a.add(".navigator_modal_main", "border-left: 1px solid #c0c0c0;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;background-color: white;color: #000000; box-sizing: content-box;"), a.add(".navigator_modal_main *, .navigator_modal_main *:before, .navigator_modal_main *:after", "box-sizing: content-box;"), a.add(".navigator_modal_month", "font-size: 11px;"), a.add(".navigator_modal_day", "color: black;"), a.add(".navigator_modal_weekend", "background-color: #f0f0f0;"), a.add(".navigator_modal_dayheader", "color: black;"), a.add(".navigator_modal_line", "border-bottom: 1px solid #c0c0c0;"), a.add(".navigator_modal_dayother", "color: gray;"), a.add(".navigator_modal_todaybox", "border: 1px solid red;"), a.add(".navigator_modal_title, .navigator_modal_titleleft, .navigator_modal_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), a.add(".navigator_modal_busy", "font-weight: bold;"), a.add(".navigator_modal_cell", "text-align: center;"), a.add(".navigator_modal_select .navigator_modal_cell_box", "background-color: #FFE794; opacity: 0.5;"), a.add(".navigator_modal_title", "text-align: center;"), a.add(".navigator_modal_titleleft, .navigator_modal_titleright", "text-align: center;"), a.add(".navigator_modal_dayheader", "text-align: center;"), a.add(".navigator_modal_weeknumber", "text-align: center;"), a.add(".navigator_modal_cell_text", "cursor: pointer;"), a.add(".navigator_modal_todaysection", "box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--dp-nav-border-color);"), a.add(".navigator_modal_todaysection_button", "cursor: pointer; color: #333; background-color: #f0f0f0; border: 1px solid var(--dp-nav-border-color); padding: 5px 10px; border-radius: 0px; "), a.commit(), DayPilot.Modal = function (e) {
2408
+ a.add(".modal_default_main", "border: 10px solid #ccc; max-width: 90%;"), a.add(".modal_default_main:focus", "outline: none;"), a.add(".modal_default_content", "padding: 10px 0px;"), a.add(".modal_default_inner", "padding: 20px;"), a.add(".modal_default_input", "padding: 10px 0px;"), a.add(".modal_default_buttons", "margin-top: 10px;"), a.add(".modal_default_buttons", "padding: 10px 0px;"), a.add(".modal_default_form_item", "padding: 10px 0px; position: relative;"), a.add(".modal_default_form_item_level1", "border-left: 2px solid #ccc; margin-left: 10px; padding-left: 20px;"),
2409
+ a.add(".modal_default_form_item.modal_default_form_title", "font-size: 1.5rem; font-weight: bold;"), a.add(".modal_default_form_item input[type=text]", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item textarea", "width: 100%; height: 200px; box-sizing: border-box;"), a.add(".modal_default_form_item input[type=select]", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item label", "display: block;"), a.add(".modal_default_form_item select", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item_label", "margin: 2px 0px;"), a.add(".modal_default_form_item_image img", "max-width: 100%; height: auto;"), a.add(".modal_default_form_item_invalid", ""), a.add(".modal_default_form_item_invalid_message", "position: absolute; right: 0px; top: 9px; background-color: red; color: #ffffff; padding: 2px; border-radius: 2px;"), a.add(".modal_default_background", "opacity: 0.5; background-color: #000;"), a.add(".modal_default_ok", "padding: 3px; width: 80px;"), a.add(".modal_default_cancel", "padding: 3px; width: 80px;"), a.add(".modal_default_form_item_date", "position: relative;"), a.add(".modal_default_form_item_date:after", "content: ''; position: absolute; right: 7px; top: 50%; margin-top: 3px; width: 10px; height: 15px; background-image:url(" + "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojY2NjY2NjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjM4MDM3MzM2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDE5MjgiCiAgICAgICB3aWR0aD0iOS45MTUzMDYxIgogICAgICAgaGVpZ2h0PSIxMS4zNjkzNyIKICAgICAgIHg9IjAuMTE3MTg3NSIKICAgICAgIHk9Ii0zLjAwOTk5NTciCiAgICAgICByeT0iMS4zMTE4NTA1IiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNjY2NjY2M7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNTk4MTQwMTI7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MTkzMCIKICAgICAgIHdpZHRoPSIxLjUzNDQxMzYiCiAgICAgICBoZWlnaHQ9IjIuMjE5ODI1IgogICAgICAgeD0iMi4xNTU4NDgzIgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHJ5PSIwLjY3MTc4OTE3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iMS41MjM5NTA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QxOTQ4IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjY3MTc4OTE3IgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHg9IjYuNDUyNzIzNSIKICAgICAgIGhlaWdodD0iMi4yMTk4MjUiCiAgICAgICB3aWR0aD0iMS41MzQ0MTM2IgogICAgICAgaWQ9InJlY3QyMDAzIgogICAgICAgc3R5bGU9ImZpbGw6I2NjY2NjYztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS41OTgxNDAxMjtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAwNSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIHk9Ii0xLjE2NTg0NjYiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iNi45OTI3MDA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDA3IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAxMyIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjEuNTIzOTUwNiIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHJ5PSIwLjI5NjAxNDciIC8+CiAgICA8cmVjdAogICAgICAgcnk9IjAuMjk2MDE0NyIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGlkPSJyZWN0MjAxNSIKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgLz4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDIwMTciCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB4PSI2Ljk5MjcwMDYiCiAgICAgICB5PSIxLjgwMjkwMzQiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSI0LjczMjU5MDciCiAgICAgICB4PSIxLjU2MzAxMzEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBpZD0icmVjdDIwMTkiCiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgICA8cmVjdAogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgICAgaWQ9InJlY3QyMDIxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgeD0iNC4yNTgzMjU2IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgcnk9IjAuMjk2MDE0NyIgLz4KICAgIDxyZWN0CiAgICAgICByeT0iMC4yOTYwMTQ3IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgeD0iNy4wMzE3NjMxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDIzIgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+Cg==" + ")"), "undefined" != typeof navigator && navigator.userAgent.indexOf("Edge") !== -1 && a.add(".modal_default_form_item_date input::-ms-clear", "display: none;"), a.add(".modal_default_form_item_scrollable_scroll", "width: 100%; height: 200px; box-sizing: border-box; border: 1px solid #ccc; overflow-y: auto;"), a.add(".modal_default_form_item_scrollable_scroll_content", "padding: 5px;"), a.add(".modal_default_form_item_searchable", "position: relative;"), a.add(".modal_default_form_item_searchable_icon", ""), a.add(".modal_default_form_item_searchable_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + i + ");"), a.add(".modal_default_form_item_searchable_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), a.add(".modal_default_form_item_searchable_list_item", "background: white; padding: 2px; cursor: default;"), a.add(".modal_default_form_item_searchable_list_item_highlight", "background: #ccc;"), a.add(".modal_default_form_item_time", "position: relative;"), a.add(".modal_default_form_item_time_icon", ""), a.add(".modal_default_form_item_time_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + i + ");"), a.add(".modal_default_form_item_time_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), a.add(".modal_default_form_item_time_list_item", "background: white; padding: 2px; cursor: default;"), a.add(".modal_default_form_item_time_list_item_highlight", "background: #ccc;"), a.add(".modal_default_form_item_datetime_parent", "display: flex;"), a.add(".modal_default_form_item_datetime .modal_default_form_item_time_main", "margin-left: 5px;"), a.add(".modal_default_form_item_datetime input[type='text'].modal_default_input_date ", ""), a.add(".modal_default_form_item_tabular_main", "margin-top: 10px;"), a.add(".modal_default_form_item_tabular_table", "display: table; width: 100%; xbackground-color: #fff; border-collapse: collapse;"), a.add(".modal_default_form_item_tabular_tbody", "display: table-row-group;"), a.add(".modal_default_form_item_tabular_row", "display: table-row;"), a.add(".modal_default_form_item_tabular_row.modal_default_form_item_tabular_header", ""), a.add(".modal_default_form_item_tabular_cell.modal_default_form_item_tabular_rowaction", "padding: 0px; width: 23px;"), a.add(".modal_default_form_item_tabular_cell", "display: table-cell; border: 0px; padding: 2px 2px 2px 0px; cursor: default; vertical-align: bottom;"), a.add(".modal_default_form_item_tabular_header .modal_default_form_item_tabular_cell", "padding-left: 0px; padding-bottom: 0px;"), a.add(".modal_default_form_item_tabular_table input[type=text], .modal_default_form_item_tabular_table input[type=number]", "width:100%; box-sizing: border-box;"), a.add(".modal_default_form_item_tabular_table select", "width:100%; height:100%; box-sizing: border-box;"), a.add(".modal_default_form_item_tabular_plus", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), a.add(".modal_default_form_item_tabular_plus:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSA1LjAgMC41IEwgNS4wIDkuNSBNIDAuNSA1LjAgTCA5LjUgNS4wJyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), a.add(".modal_default_form_item_tabular_delete", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), a.add(".modal_default_form_item_tabular_delete:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgOS41IDkuNSBNIDAuNSA5LjUgTCA5LjUgMC41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), a.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_plus", "display: none;"), a.add(".modal_default_form_item_tabular_plus_max.modal_default_form_item_tabular_plus", "display: none;"), a.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_delete", "visibility: hidden;"), a.add(".modal_default_form_item_tabular_empty", "height: 1px; margin: 5px 23px 5px 0px; background-color: #ccc;"), a.add(".modal_default_form_item_tabular_spacer .modal_default_form_item_tabular_cell", "padding: 0px;"), a.add(".modal_min_main", "border: 1px solid #ccc; max-width: 90%;"), a.add(".modal_min_background", "opacity: 0.5; background-color: #000;"), a.add(".modal_min_ok", "padding: 3px 10px;"), a.add(".modal_min_cancel", "padding: 3px 10px;"), a.add(".navigator_modal_main", "border-left: 1px solid #c0c0c0;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;background-color: white;color: #000000; box-sizing: content-box;"), a.add(".navigator_modal_main *, .navigator_modal_main *:before, .navigator_modal_main *:after", "box-sizing: content-box;"), a.add(".navigator_modal_month", "font-size: 11px;"), a.add(".navigator_modal_day", "color: black;"), a.add(".navigator_modal_weekend", "background-color: #f0f0f0;"), a.add(".navigator_modal_dayheader", "color: black;"), a.add(".navigator_modal_line", "border-bottom: 1px solid #c0c0c0;"), a.add(".navigator_modal_dayother", "color: gray;"), a.add(".navigator_modal_todaybox", "border: 1px solid red;"), a.add(".navigator_modal_title, .navigator_modal_titleleft, .navigator_modal_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), a.add(".navigator_modal_busy", "font-weight: bold;"), a.add(".navigator_modal_cell", "text-align: center;"), a.add(".navigator_modal_select .navigator_modal_cell_box", "background-color: #FFE794; opacity: 0.5;"), a.add(".navigator_modal_title", "text-align: center;"), a.add(".navigator_modal_titleleft, .navigator_modal_titleright", "text-align: center;"), a.add(".navigator_modal_dayheader", "text-align: center;"), a.add(".navigator_modal_weeknumber", "text-align: center;"), a.add(".navigator_modal_cell_text", "cursor: pointer;"), a.add(".navigator_modal_todaysection", "box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--dp-nav-border-color);"), a.add(".navigator_modal_todaysection_button", "cursor: pointer; color: #333; background-color: #f0f0f0; border: 1px solid var(--dp-nav-border-color); padding: 5px 10px; border-radius: 0px; "), a.commit(), DayPilot.Modal = function (e) {
2410
2410
  this.autoFocus = !0, this.focus = null, this.autoStretch = !0, this.autoStretchFirstLoadOnly = !1, this.className = null, this.theme = "modal_default", this.disposeOnClose = !0, this.dragDrop = !0, this.loadingHtml = null, this.maxHeight = null, this.scrollWithPage = !0, this.useIframe = !0, this.zIndex = 99999, this.left = null, this.width = 600, this.top = 20, this.height = 200, this.locale = null, this.closed = null, this.onClose = null, this.onClosed = null, this.onShow = null;
2411
2411
  var t = this;
2412
2412
  this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.Zb = !1, this.$b = null, this._b = null, this.showHtml = function (e) {
@@ -2693,12 +2693,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2693
2693
  }
2694
2694
  else if ("title" === i) {
2695
2695
  var o = new s;
2696
- o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = e.name, n.zc.push(o), a.push(o);
2696
+ o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1,
2697
+ o.text = e.name, n.zc.push(o), a.push(o);
2697
2698
  }
2698
2699
  else if ("image" === i) {
2699
2700
  var o = new s;
2700
- o.isValue = !0, o.field = e.id,
2701
- o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = null, n.zc.push(o), a.push(o);
2701
+ o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = null, n.zc.push(o), a.push(o);
2702
2702
  }
2703
2703
  else if ("html" === i) {
2704
2704
  var o = new s;
@@ -3058,7 +3058,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3058
3058
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
3059
3059
  var e = {}, t = DayPilot.Util.isVueVNode;
3060
3060
  e.Month = function (n, i) {
3061
- this.v = "2025.2.674-lite", this.nav = {};
3061
+ this.v = "2025.3.684-lite", this.nav = {};
3062
3062
  var a = this;
3063
3063
  this.id = n, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.cellMarginBottom = 0, this.contextMenu = null, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, this.eventBorderRadius = null, this.eventHeight = 25, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.hideUntilInit = !0, this.lineSpace = 1, this.locale = "en-us", this.showToolTip = !0, this.startDate = new DayPilot.Date, this.theme = null, this.visible = !0, this.weekStarts = "Auto", this.width = "100%", this.xssProtection = "Enabled", this.afterRender = function () { }, this.cellHeaderClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.headerClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onCellHeaderClick = null, this.onCellHeaderClicked = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onBeforeEventRender = null, this.onBeforeCellRender = null, this.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.Q = !1, this.W = function (e, t) { var e = JSON.parse(e); return e.CallBackRedirect ? void (document.location.href = e.CallBackRedirect) : "None" === e.UpdateType ? void a.fireAfterRenderDetached(e.CallBackData, !0) : (a.events.list = e.Events, "Full" === e.UpdateType && (a.startDate = e.StartDate, a.timeFormat = e.TimeFormat ? e.TimeFormat : a.timeFormat, "undefined" != typeof e.WeekStarts && (a.weekStarts = e.WeekStarts), a.hashes = e.Hashes), a.Y(), a.cd(), a.ha(), "Full" === e.UpdateType && (a.dd(), a.ed()), a.ma(), a.show(), a.na(), void a.fireAfterRenderDetached(e.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var n = function (e, t) { return function () { a.afterRender && a.afterRender(e, t); }; }; window.setTimeout(n(e, t), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (e) {
3064
3064
  var t = null;
@@ -3760,7 +3760,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3760
3760
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.def) {
3761
3761
  var e = DayPilot.Util.isVueVNode;
3762
3762
  DayPilot.Navigator = function (t, n) {
3763
- this.v = "2025.2.674-lite";
3763
+ this.v = "2025.3.684-lite";
3764
3764
  var i = this;
3765
3765
  this.id = t, this.api = 2, this.isNavigator = !0, this.autoFocusOnClick = !0, this.weekStarts = "Auto", this.selectMode = "Day", this.titleHeight = 30, this.dayHeaderHeight = 30, this.bound = null, this.cellWidth = 30, this.cellHeight = 30, this.cssClassPrefix = "navigator_default", this.freeHandSelectionEnabled = !1, this.selectionStart = (new DayPilot.Date).getDatePart(), this.selectionEnd = null, this.selectionDay = null, this.showMonths = 1, this.skipMonths = 1, this.command = "navigate", this.year = (new DayPilot.Date).getYear(), this.month = (new DayPilot.Date).getMonth() + 1, this.showToday = !1, this.showWeekNumbers = !1, this.todayHtml = null, this.todayHeight = 40, this.todayPosition = "Bottom", this.todayText = "Today", this.weekNumberAlgorithm = "Auto", this.rowsPerMonth = "Six", this.orientation = "Vertical", this.locale = "en-us", this.rtl = !1, this.visible = !0, this.timeRangeSelectedHandling = "Bind", this.visibleRangeChangedHandling = "Enabled", this.onVisibleRangeChange = null, this.onVisibleRangeChanged = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onTodayClick = null, this.nav = {}, this.xb = {}, this.ld = function () { this.root.dp = this, this.root.className = this.L("_main"), "Horizontal" === this.orientation ? (r.md() || (this.root.style.width = this.showMonths * (7 * r.cellWidth() + this.nd()) + "px"), this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : r.md() || (this.root.style.width = 7 * r.cellWidth() + this.nd() + "px"), this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var e = document.createElement("input"); e.type = "hidden", e.name = i.id + "_state", e.id = e.name, this.root.appendChild(e), this.state = e, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.selectionDay ? this.startDate = new DayPilot.Date(this.selectionDay).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.ta = function () { return 2 === i.api; }, this.dd = function () { this.root.innerHTML = ""; }, this.L = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.od = function (e, t) { var n = this.L("_" + t); DayPilot.Util.addClass(e, n); }, this.pd = function (e, t) { var n = this.L("_" + t); DayPilot.Util.removeClass(e, n); }, this.qd = function () {
3766
3766
  if (!r.md())
@@ -3830,10 +3830,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3830
3830
  }
3831
3831
  var I = document.createElement("div");
3832
3832
  a.cells[M][C] = I;
3833
- var R = i.zd(M, C), L = R.x, z = R.y, U = r.md() ? "%" : "px";
3834
- I.day = k, I.x = M, I.y = C, I.left = L, I.top = z, I.isCurrentMonth = A, I.isNextMonth = H, I.isPrevMonth = E, I.showBefore = s, I.showAfter = l, I.className = this.L(A ? "_day" : "_dayother"), i.od(I, "cell"), k.getTime() === v.getTime() && A && this.od(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.od(I, "weekend"), I.style.position = "absolute", I.style.left = L + U, I.style.right = L + U, I.style.top = z + "px", I.style.width = i.td(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
3835
- var B = document.createElement("div");
3836
- B.style.position = "absolute", B.className = k.getTime() === v.getTime() && A ? this.L("_todaybox") : this.L("_daybox"), i.od(B, "cell_box"), B.style.left = "0px", B.style.top = "0px", B.style.right = "0px", B.style.bottom = "0px", I.appendChild(B);
3833
+ var R = i.zd(M, C), L = R.x, z = R.y, B = r.md() ? "%" : "px";
3834
+ I.day = k, I.x = M, I.y = C, I.left = L, I.top = z, I.isCurrentMonth = A, I.isNextMonth = H, I.isPrevMonth = E, I.showBefore = s, I.showAfter = l, I.className = this.L(A ? "_day" : "_dayother"), i.od(I, "cell"), k.getTime() === v.getTime() && A && this.od(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.od(I, "weekend"), I.style.position = "absolute", I.style.left = L + B, I.style.right = L + B, I.style.top = z + "px", I.style.width = i.td(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
3835
+ var U = document.createElement("div");
3836
+ U.style.position = "absolute", U.className = k.getTime() === v.getTime() && A ? this.L("_todaybox") : this.L("_daybox"), i.od(U, "cell_box"), U.style.left = "0px", U.style.top = "0px", U.style.right = "0px", U.style.bottom = "0px", I.appendChild(U);
3837
3837
  var O = null;
3838
3838
  this.cells && this.cells[k.toStringSortable()] && (O = this.cells[k.toStringSortable()]);
3839
3839
  var j = O || {};
@@ -3849,7 +3849,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3849
3849
  if ("function" == typeof i.onBeforeCellDomAdd || "function" == typeof i.onBeforeCellDomRemove) {
3850
3850
  var t = {};
3851
3851
  if (t.control = i, t.cell = j, t.element = null, I.domArgs = t, "function" == typeof i.onBeforeCellDomAdd && i.onBeforeCellDomAdd(t), t.element) {
3852
- var n = B;
3852
+ var n = U;
3853
3853
  if (n) {
3854
3854
  t.Oa = n;
3855
3855
  if (e(t.element)) {
@@ -4345,9 +4345,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4345
4345
  if ("undefined" == typeof DayPilot.Scheduler) {
4346
4346
  var t = navigator.userAgent.indexOf("iPad") > -1 || navigator.userAgent.indexOf("iPhone") > -1, n = {}, i = function () { }, a = !1, o = function () { return document.body; }, r = function () { return document.createElement("div"); };
4347
4347
  DayPilot.Scheduler = function (a, s) {
4348
- this.v = "2025.2.674-lite";
4348
+ this.v = "2025.3.684-lite";
4349
4349
  var l = this;
4350
- this.isScheduler = !0, this.id = a, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.businessWeekends = !1, this.cellDuration = 60, this.cellGroupBy = "Day", this.cellSweeping = !0, this.cellSweepingCacheSize = 1e3, this.cellWidth = 40, this.cellsMarkBusiness = !0, this.cssClassPrefix = "scheduler_default", this.days = 1, this.durationBarHeight = 3, this.durationBarVisible = !0, this.dynamicEventRendering = "Progressive", this.dynamicEventRenderingMargin = 50, this.dynamicEventRenderingMarginX = null, this.dynamicEventRenderingMarginY = null, this.dynamicEventRenderingCacheSweeping = !1, this.dynamicEventRenderingCacheSize = 200, this.eventEndSpec = "DateTime", this.eventHeight = 35, this.eventMinWidth = 1, this.eventResizeMargin = 5, this.eventTapAndHoldHandling = "Move", this.eventTextWrappingEnabled = !1, this.eventsLoadMethod = "GET", this.floatingEvents = !t, this.floatingTimeHeaders = !0, this.headerHeight = 30, this.heightSpec = "Max", this.height = 600, this.locale = "en-us", this.progressiveRowRendering = !0, this.progressiveRowRenderingPreload = 25, this.rowHeaderWidth = 80, this.rowsLoadMethod = "GET", this.scale = "CellDuration", this.scrollDelayEvents = 200, this.scrollDelayCells = t ? 100 : 0, this.scrollDelayFloats = 0, this.scrollDelayRows = 0, this.showToolTip = !0, this.snapToGrid = !0, this.startDate = DayPilot.Date.today(), this.tapAndHoldTimeout = 300, this.timeHeaders = [{ "groupBy": "Default" }, { "groupBy": "Cell" }], this.timeHeaderTextWrappingEnabled = !1, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.visible = !0, this.weekStarts = "Auto", this.width = null, this.xssProtection = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.timeHeaderClickHandling = "Enabled", this.timeHeaderRightClickHandling = "Enabled", this.timeRangeClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onEventClick = null, this.onEventClicked = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onRowClick = null, this.onRowClicked = null, this.onTimeHeaderClick = null, this.onTimeHeaderClicked = null, this.onTimeHeaderRightClick = null, this.onTimeHeaderRightClicked = null, this.onTimeRangeClick = null, this.onTimeRangeClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onBeforeEventRender = null, this.onBeforeTimeHeaderRender = null, this.onBeforeRowHeaderRender = null, this.onAfterUpdate = null, this.Q = !1, this.fe = -1, this.ge = !0, this.rowlist = [], this.events = {}, this.cells = {}, this.elements = {}, this.elements.events = [], this.elements.bars = [], this.elements.text = [], this.elements.cells = [], this.elements.linesVertical = [], this.elements.range = [], this.elements.timeHeader = [], this.xb = {}, this.xb.cells = [], this.xb.linesVertical = {}, this.xb.linesHorizontal = {}, this.xb.timeHeaderGroups = [], this.xb.timeHeader = {}, this.xb.events = [], this.nav = {}, this.scrollTo = function (e) { l.he(e); }, this.he = function (e) {
4350
+ this.isScheduler = !0, this.id = a, this.beforeCellRenderCaching = !0, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.businessWeekends = !1, this.cellDuration = 60, this.cellGroupBy = "Day", this.cellSweeping = !0, this.cellSweepingCacheSize = 1e3, this.cellWidth = 40, this.cellsMarkBusiness = !0, this.cssClassPrefix = "scheduler_default", this.days = 1, this.durationBarHeight = 3, this.durationBarVisible = !0, this.dynamicEventRendering = "Progressive", this.dynamicEventRenderingMargin = 50, this.dynamicEventRenderingMarginX = null, this.dynamicEventRenderingMarginY = null, this.dynamicEventRenderingCacheSweeping = !1, this.dynamicEventRenderingCacheSize = 200, this.eventEndSpec = "DateTime", this.eventHeight = 35, this.eventMinWidth = 1, this.eventResizeMargin = 5, this.eventTapAndHoldHandling = "Move", this.eventTextWrappingEnabled = !1, this.eventsLoadMethod = "GET", this.floatingEvents = !t, this.floatingTimeHeaders = !0, this.headerHeight = 30, this.heightSpec = "Max", this.height = 600, this.locale = "en-us", this.progressiveRowRendering = !0, this.progressiveRowRenderingPreload = 25, this.rowHeaderWidth = 80, this.rowMarginTop = 0, this.rowMarginBottom = 0, this.rowsLoadMethod = "GET", this.scale = "CellDuration", this.scrollDelayEvents = 200, this.scrollDelayCells = t ? 100 : 0, this.scrollDelayFloats = 0, this.scrollDelayRows = 0, this.showToolTip = !0, this.snapToGrid = !0, this.startDate = DayPilot.Date.today(), this.tapAndHoldTimeout = 300, this.timeHeaders = [{ "groupBy": "Default" }, { "groupBy": "Cell" }], this.timeHeaderTextWrappingEnabled = !1, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.visible = !0, this.weekStarts = "Auto", this.width = null, this.xssProtection = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.timeHeaderClickHandling = "Enabled", this.timeHeaderRightClickHandling = "Enabled", this.timeRangeClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onEventClick = null, this.onEventClicked = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onRowClick = null, this.onRowClicked = null, this.onTimeHeaderClick = null, this.onTimeHeaderClicked = null, this.onTimeHeaderRightClick = null, this.onTimeHeaderRightClicked = null, this.onTimeRangeClick = null, this.onTimeRangeClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeRowHeaderRender = null, this.onAfterUpdate = null, this.Q = !1, this.fe = -1, this.ge = !0, this.rowlist = [], this.events = {}, this.cells = {}, this.elements = {}, this.elements.events = [], this.elements.bars = [], this.elements.text = [], this.elements.cells = [], this.elements.linesVertical = [], this.elements.range = [], this.elements.timeHeader = [], this.xb = {}, this.xb.cells = [], this.xb.linesVertical = {}, this.xb.linesHorizontal = {}, this.xb.timeHeaderGroups = [], this.xb.timeHeader = {}, this.xb.events = [], this.nav = {}, this.scrollTo = function (e) { l.he(e); }, this.he = function (e) {
4351
4351
  if (e) {
4352
4352
  if (!l.Ka)
4353
4353
  return void (l.ie = e);
@@ -4416,34 +4416,48 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4416
4416
  }, this.se = function () {
4417
4417
  if (this.floatingEvents) {
4418
4418
  var e = d.we();
4419
- l.xe(), e.forEach(function (t) { var n = t.event, i = e.area.pixels.left, a = n.part.left, o = i - a; l.ye(t, o, 0); });
4419
+ l.xe = performance.now(), e.forEach(function (t) { var n = t.event, i = e.area.pixels.left, a = n.part.left, o = i - a; l.ye(t, o, 0); }), l.ze();
4420
4420
  }
4421
- }, this.elements.sections = [], this.elements.hsections = [], this.pe = function (e, t, n) { var i = r(); i.className = l.L("_timeheader_float"), i.style.position = "absolute", i.style.left = t + "px", i.style.right = n + "px", i.style.top = "0px", i.style.bottom = "0px", i.style.overflow = "hidden"; var a = r(); a.className = l.L("_timeheader_float_inner"); var o = e.cell.th; a.innerHTML = l.$a(o.text, o.innerHTML), o.fontColor && (a.style.color = o.fontColor), i.appendChild(a), e.section = i, e.insertBefore(i, e.firstChild.nextSibling), e.firstChild.innerHTML = "", this.elements.hsections.push(e); }, this.oe = function () {
4421
+ }, this.elements.sections = [], this.elements.hsections = [], this.pe = function (e, t, n) { var i = r(); i.className = l.L("_timeheader_float"), i.style.position = "absolute", i.style.left = t + "px", i.style.right = n + "px", i.style.top = "0px", i.style.bottom = "0px", i.style.overflow = "hidden"; var a = r(); a.className = l.L("_timeheader_float_inner"); var o = e.cell.th; a.innerHTML = l.$a(o.text, o.innerHTML), o.fontColor && (a.style.color = o.fontColor), i.appendChild(a), i.Ae = { marginLeft: t, marginRight: n }, e.section = i, e.insertBefore(i, e.firstChild.nextSibling), e.firstChild.innerHTML = "", this.elements.hsections.push(e); }, this.oe = function () {
4422
4422
  for (var e = 0; e < this.elements.hsections.length; e++) {
4423
4423
  var t = this.elements.hsections[e], n = t.cell;
4424
4424
  n && t.firstChild && (t.firstChild.innerHTML = l.$a(n.th.text, n.th.innerHTML)), DayPilot.de(t.section), t.section = null;
4425
4425
  }
4426
4426
  this.elements.hsections = [];
4427
- }, this.ye = function (e, t, n) { var i = r(); i.className = l.L("_event_float"), i.style.position = "absolute", i.style.left = t + "px", i.style.right = n + "px", i.style.top = "0px", i.style.bottom = "0px", i.style.overflow = "hidden"; var a = r(); a.className = l.L("_event_float_inner"), a.innerHTML = e.event.client.html(), i.appendChild(a), e.section = i, e.insertBefore(i, e.firstChild.nextSibling), e.firstChild.innerHTML = ""; var o = e.event, s = o.cache || o.data; s.fontColor && (a.style.color = s.fontColor), this.elements.sections.push(e); }, this.xe = function () {
4428
- for (var e = 0; e < this.elements.sections.length; e++) {
4429
- var t = this.elements.sections[e], n = t.event;
4430
- n && (t.firstChild.innerHTML = n.client.html()), DayPilot.de(t.section), t.section = null;
4427
+ }, this.ye = function (e, t, n) {
4428
+ var i = e.section;
4429
+ if (i)
4430
+ return i.Ae && i.Ae.marginLeft === t && i.Ae.marginRight === n ? void (i.Ae.stamp = l.xe) : (e.section.style.left = t + "px", e.section.style.right = n + "px", void (i.Ae = { marginLeft: t, marginRight: n, stamp: l.xe }));
4431
+ i = r(), i.className = l.L("_event_float"), i.style.position = "absolute", i.style.left = t + "px", i.style.right = n + "px", i.style.top = "0px", i.style.bottom = "0px", i.style.overflow = "hidden";
4432
+ var a = r();
4433
+ a.className = l.L("_event_float_inner"), a.innerHTML = e.event.client.html(), i.appendChild(a), i.Ae = { marginLeft: t, marginRight: n, stamp: l.xe }, e.section = i, e.insertBefore(i, e.firstChild.nextSibling), e.firstChild.innerHTML = "";
4434
+ var o = e.event, s = o.cache || o.data;
4435
+ s.fontColor && (a.style.color = s.fontColor), this.elements.sections.push(e);
4436
+ }, this.ze = function () {
4437
+ for (var e = [], t = 0; t < this.elements.sections.length; t++) {
4438
+ var n = this.elements.sections[t];
4439
+ if (n.section && n.section.Ae && n.section.Ae.stamp === l.xe)
4440
+ e.push(n);
4441
+ else {
4442
+ var i = n.event;
4443
+ i && (n.firstChild.innerHTML = i.client.html()), DayPilot.de(n.section), n.section = null;
4444
+ }
4431
4445
  }
4432
- this.elements.sections = [];
4433
- }, this.setScrollX = function (e) { l.ze.enabled ? (l.ze.scrollXRequested = e, setTimeout(function () { var e = l.ze.scrollXRequested; "number" == typeof e && l.ke(e); }, 0)) : l.ke(e); }, this.ke = function (e) { var t = l.nav.scroll, n = l.Ae(); t.clientWidth + e > n && (e = n - t.clientWidth), l.divTimeScroll.scrollLeft = e, t.scrollLeft = e; }, this.setScrollY = function (e) { l.ze.enabled ? (l.ze.scrollYRequested = e, setTimeout(function () { var e = l.ze.scrollYRequested; "number" == typeof e && l.Be(e); }, 0)) : l.Be(e); }, this.Be = function (e) { var t = l.nav.scroll, n = l.fe; t.clientHeight + e > n && (e = n - t.clientHeight), l.divResScroll.scrollTop = e, t.scrollTop = e; }, this.setScroll = function (e, t) { l.setScrollX(e), l.setScrollY(t); }, this.ma = function () {
4446
+ this.elements.sections = e;
4447
+ }, this.setScrollX = function (e) { l.Be.enabled ? (l.Be.scrollXRequested = e, setTimeout(function () { var e = l.Be.scrollXRequested; "number" == typeof e && l.ke(e); }, 0)) : l.ke(e); }, this.ke = function (e) { var t = l.nav.scroll, n = l.Ce(); t.clientWidth + e > n && (e = n - t.clientWidth), l.divTimeScroll.scrollLeft = e, t.scrollLeft = e; }, this.setScrollY = function (e) { l.Be.enabled ? (l.Be.scrollYRequested = e, setTimeout(function () { var e = l.Be.scrollYRequested; "number" == typeof e && l.De(e); }, 0)) : l.De(e); }, this.De = function (e) { var t = l.nav.scroll, n = l.fe; t.clientHeight + e > n && (e = n - t.clientHeight), l.divResScroll.scrollTop = e, t.scrollTop = e; }, this.setScroll = function (e, t) { l.setScrollX(e), l.setScrollY(t); }, this.ma = function () {
4434
4448
  if (this.nav.scroll) {
4435
- !function () { var e = l.Ae(); l.je.style.height = l.fe + "px", l.je.style.width = e + "px", e > l.nav.scroll.clientWidth ? l.nav.scroll.style.overflowX = "auto" : l.nav.scroll.style.overflowX = "hidden"; }();
4449
+ !function () { var e = l.Ce(); l.je.style.height = l.fe + "px", l.je.style.width = e + "px", e > l.nav.scroll.clientWidth ? l.nav.scroll.style.overflowX = "auto" : l.nav.scroll.style.overflowX = "hidden"; }();
4436
4450
  var e = 1;
4437
4451
  this.nav.scroll.style.height = "30px";
4438
- var t = this.Xa(), n = t + this.Ce() + e;
4439
- if (t >= 0 && (this.nav.scroll.style.height = t + "px", this.De.style.height = t + "px"), this.nav.divider && ((!n || isNaN(n) || n < 0) && (n = 0), this.nav.divider.style.height = n + "px"), this.nav.top.style.height = n + "px", l.nav.resScrollSpace) {
4452
+ var t = this.Xa(), n = t + this.Ee() + e;
4453
+ if (t >= 0 && (this.nav.scroll.style.height = t + "px", this.Fe.style.height = t + "px"), this.nav.divider && ((!n || isNaN(n) || n < 0) && (n = 0), this.nav.divider.style.height = n + "px"), this.nav.top.style.height = n + "px", l.nav.resScrollSpace) {
4440
4454
  var i = 30;
4441
4455
  "Auto" === l.heightSpec && (i = DayPilot.sh(l.nav.scroll)), l.nav.resScrollSpace.style.height = i + "px";
4442
4456
  }
4443
4457
  for (var a = 0; a < this.elements.linesVertical.length; a++)
4444
4458
  this.elements.linesVertical[a].style.height = this.fe + "px";
4445
4459
  }
4446
- }, this.Ee = function () {
4460
+ }, this.Ge = function () {
4447
4461
  this.startDate = new DayPilot.Date(this.startDate).getDatePart(), this.timeHeader = [];
4448
4462
  var e = this.timeHeaders;
4449
4463
  e || (e = [{ "groupBy": this.cellGroupBy }, { "groupBy": "Cell" }]);
@@ -4452,42 +4466,42 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4452
4466
  "Default" === i && (i = this.cellGroupBy);
4453
4467
  for (var o = [], r = l.startDate; r.ticks < t.ticks;) {
4454
4468
  var s = {};
4455
- if (s.start = r, s.end = this.Fe(s.start, i), s.start.ticks === s.end.ticks)
4469
+ if (s.start = r, s.end = this.He(s.start, i), s.start.ticks === s.end.ticks)
4456
4470
  break;
4457
4471
  s.left = this.getPixels(s.start).left;
4458
4472
  var d = this.getPixels(s.end).left, c = d - s.left;
4459
- s.width = c, "string" == typeof a ? s.text = s.start.toString(a, f.Ge()) : s.text = this.He(s, i), c > 0 && o.push(s), r = s.end;
4473
+ s.width = c, "string" == typeof a ? s.text = s.start.toString(a, f.Ie()) : s.text = this.Je(s, i), c > 0 && o.push(s), r = s.end;
4460
4474
  }
4461
4475
  this.timeHeader.push(o);
4462
4476
  }
4463
4477
  }, this.getPixels = function (e) { var t = l.startDate.addDays(l.days); e = e.ticks > t.ticks ? t.addTime(-1) : e; var n = e.ticks - this.startDate.ticks, i = l.Ab(n), a = l.cellWidth, o = Math.floor(i / a), r = o * a; return { left: i, boxLeft: r, boxRight: r + a, i: o }; }, this.getDate = function (e, t, n) {
4464
- var i = this.Ie(e, n);
4478
+ var i = this.Ke(e, n);
4465
4479
  if (!i)
4466
4480
  return null;
4467
- var a = i.x, o = l.Je(a);
4481
+ var a = i.x, o = l.Le(a);
4468
4482
  if (!o)
4469
4483
  return null;
4470
4484
  var r = n && !t ? o.end : o.start;
4471
4485
  return t ? r.addTime(this.Bb(i.offset)) : r;
4472
- }, this.Ie = function (e, t) {
4486
+ }, this.Ke = function (e, t) {
4473
4487
  t && (e -= 1);
4474
- var n = Math.floor(e / l.cellWidth), i = l.Je(n);
4488
+ var n = Math.floor(e / l.cellWidth), i = l.Le(n);
4475
4489
  if (!i)
4476
4490
  return null;
4477
4491
  var a = {};
4478
4492
  return a.x = n, a.offset = e % l.cellWidth, a.cell = i, a;
4479
- }, this.Ke = function (e) {
4480
- var t = e.ticks - this.startDate.ticks, n = 60 * l.Le() * 1e3;
4493
+ }, this.Me = function (e) {
4494
+ var t = e.ticks - this.startDate.ticks, n = 60 * l.Ne() * 1e3;
4481
4495
  if (t < 0)
4482
4496
  return { past: !0 };
4483
4497
  var i = Math.floor(t / n);
4484
- return { i: i, current: l.Je(i) };
4485
- }, this.Ab = function (e) { var t = 60 * l.Le() * 1e3, n = l.cellWidth; return Math.floor(n * e / t); }, this.Bb = function (e) { var t = 60 * l.Le() * 1e3, n = l.cellWidth; return Math.floor(e / n * t); }, this.Me = function (e) { DayPilot.Global.touch.start || n.Ne || (l.Oe = {}, l.va(this, e)); }, this.va = function (e, t) { e.event && l.Pe(e, t); }, this.xa = function (e) {
4498
+ return { i: i, current: l.Le(i) };
4499
+ }, this.Ab = function (e) { var t = 60 * l.Ne() * 1e3, n = l.cellWidth; return Math.floor(n * e / t); }, this.Bb = function (e) { var t = 60 * l.Ne() * 1e3, n = l.cellWidth; return Math.floor(e / n * t); }, this.Oe = function (e) { DayPilot.Global.touch.start || n.Pe || (l.Qe = {}, l.va(this, e)); }, this.va = function (e, t) { e.event && l.Re(e, t); }, this.xa = function (e) {
4486
4500
  if (!DayPilot.Global.touch.active && !DayPilot.Global.touch.start) {
4487
4501
  var t = this.event;
4488
4502
  if (e.cancelBubble = !0, e.preventDefault(), !this.event.client.rightClickEnabled())
4489
4503
  return !1;
4490
- l.Qe(e);
4504
+ l.Se(e);
4491
4505
  var n = {};
4492
4506
  if (n.e = t, n.div = this, n.originalEvent = e, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof l.onEventRightClick && (l.onEventRightClick(n), n.preventDefault.value))
4493
4507
  return !1;
@@ -4498,14 +4512,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4498
4512
  }
4499
4513
  return "function" == typeof l.onEventRightClicked && l.onEventRightClicked(n), !1;
4500
4514
  }
4501
- }, this.Je = function (e) { var t = l.Le(), n = 60 * t * 1e3; return { start: l.startDate.addTime(e * n), end: l.startDate.addTime((e + 1) * n), left: e * l.cellWidth, width: l.cellWidth }; }, this.Pe = function (e, t) {
4515
+ }, this.Le = function (e) { var t = l.Ne(), n = 60 * t * 1e3; return { start: l.startDate.addTime(e * n), end: l.startDate.addTime((e + 1) * n), left: e * l.cellWidth, width: l.cellWidth }; }, this.Re = function (e, t) {
4502
4516
  if ("boolean" == typeof t)
4503
4517
  throw new DayPilot.Exception("Invalid _eventClickSingle parameters");
4504
4518
  var n = e.event;
4505
4519
  if (n) {
4506
4520
  var i = t.ctrlKey, a = t.metaKey;
4507
4521
  if (n.client.clickEnabled()) {
4508
- l.Qe(t);
4522
+ l.Se(t);
4509
4523
  var o = {};
4510
4524
  o.e = n, o.control = l, o.div = e, o.originalEvent = t, o.ctrl = i, o.meta = a, o.shift = t.shiftKey, o.preventDefault = function () { this.preventDefault.value = !0; }, o.toJSON = function () { return DayPilot.Util.copyProps(o, {}, ["e", "ctrl", "meta", "shift"]); }, "function" == typeof l.onEventClick && (l.onEventClick(o), o.preventDefault.value) || "function" == typeof l.onEventClicked && l.onEventClicked(o);
4511
4525
  }
@@ -4520,20 +4534,20 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4520
4534
  }
4521
4535
  }, this.getScrollX = function () { return this.nav.scroll.scrollLeft; }, this.getScrollY = function () { return this.nav.scroll.scrollTop; }, this.K = function (e, t, n, i) {
4522
4536
  if ("Disabled" !== this.eventResizeHandling) {
4523
- n = l.Re(n);
4537
+ n = l.Te(n);
4524
4538
  var a = {};
4525
4539
  a.e = e, a.async = !1, a.loaded = function () { o(); }, a.newStart = t, a.newEnd = n, a.what = i, a.preventDefault = function () { this.preventDefault.value = !0; }, a.control = l, a.toJSON = function () { return DayPilot.Util.copyProps(a, {}, ["e", "async", "newStart", "newEnd"]); };
4526
4540
  var o = function () {
4527
4541
  if (!a.preventDefault.value) {
4528
4542
  switch (a.loaded = {}, t = a.newStart, n = a.newEnd, l.eventResizeHandling) {
4529
- case "Update": l.Se(a);
4543
+ case "Update": l.Ue(a);
4530
4544
  }
4531
4545
  "function" == typeof l.onEventResized && l.onEventResized(a);
4532
4546
  }
4533
4547
  };
4534
4548
  "function" == typeof l.onEventResize && l.onEventResize(a), a.async || o();
4535
4549
  }
4536
- }, this.qb = function (e) { e = e || {}, clearTimeout(l.Te), l.timeHeader = null, l.cellProperties = {}, l.Ee(), l.Ue(), l.events.Ve(), l.ca.Md(), l.clearSelection(), this.ha(), l.We(), l.Xe(), l.rb(), l.Ye(), l.Ze(), l.$e(), l.ia(), this.Y(), this._e(), this.af(), l.ma(), this.bf(), e.immediateEvents ? l.na() : setTimeout(function () { l.na(); }, 100), this.visible ? l.ge !== l.visible && this.show() : this.hide(), this.ge = this.visible, this.qe(), l.cf(), this.df(); }, this.df = function () {
4550
+ }, this.qb = function (e) { e = e || {}, clearTimeout(l.Ve), l.timeHeader = null, l.cellProperties = {}, l.Ge(), l.We(), l.events.Xe(), l.ca.Md(), l.clearSelection(), l.ha(), l.Ye(), l.Ze(), l.rb(), l.$e(), l._e(), l.af(), l.ia(), l.Y(), l.bf(), l.cf = {}, l.df(), l.ma(), l.ef(), e.immediateEvents ? l.na() : setTimeout(function () { l.na(); }, 100), this.visible ? l.ge !== l.visible && this.show() : this.hide(), this.ge = this.visible, this.qe(), l.ff(), this.gf(); }, this.gf = function () {
4537
4551
  if ("function" == typeof l.onAfterUpdate) {
4538
4552
  var e = {};
4539
4553
  l.onAfterUpdate(e);
@@ -4546,35 +4560,35 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4546
4560
  c.request(e);
4547
4561
  };
4548
4562
  var c = {};
4549
- c.timeout = null, c.options = null, c.enabled = !1, c.request = function (e) { c.enabled ? (clearTimeout(c.timeout), c.ef(e), c.timeout = setTimeout(c.doit)) : (c.ef(e), c.doit()); }, c.ef = function (e) {
4563
+ c.timeout = null, c.options = null, c.enabled = !1, c.request = function (e) { c.enabled ? (clearTimeout(c.timeout), c.hf(e), c.timeout = setTimeout(c.doit)) : (c.hf(e), c.doit()); }, c.hf = function (e) {
4550
4564
  if (e) {
4551
4565
  c.options || (c.options = {});
4552
4566
  for (var t in e)
4553
4567
  c.options[t] = e[t];
4554
4568
  }
4555
- }, c.doit = function () { var e = c.options; return c.options = null, l.Ka ? (l.sb(e), l.qb({ "immediateEvents": !0 }), void l.vb()) : void l.sb(e); }, this.ff = function (e) { e.forEach(function (e) { l.gf(e.index); }); }, this.hf = function (e) { return e && 0 !== e.length ? e[0].isRow ? e : e.map(function (e) { return l.rowlist[e]; }) : []; }, this.if = function (e, t, n) { e = DayPilot.ua(e), e = l.hf(e), l.ff(e), this.jf ? (this.We(), this.Ze(), this._e(), e.forEach(function (e) { l.kf(e.index); }), e.forEach(function (e) { l.lf(e.index); }), this.bf(), this.mf()) : (e.forEach(function (e) { t || l.kf(e.index), l.lf(e.index); }), e.forEach(function (e) { l.nf(e.index); }), l.bf()), l.se(), n && n(), this.af(); }, this.Re = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart().ticks === e.ticks ? e.addDays(-1) : e.getDatePart(); }, this.of = function (e) {
4556
- return "DateTime" === l.eventEndSpec ? e : e.getDatePart().addDays(1);
4557
- }, this.pf = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart(); }, this.M = function (e, t, n, i, a) {
4558
- if (l.qf = null, "Disabled" !== l.eventMoveHandling) {
4559
- n = l.Re(n);
4569
+ }, c.doit = function () { var e = c.options; return c.options = null, l.Ka ? (l.sb(e), l.qb({ "immediateEvents": !0 }), void l.vb()) : void l.sb(e); }, this.if = function (e) { e.forEach(function (e) { l.jf(e.index); }); }, this.kf = function (e) { return e && 0 !== e.length ? e[0].isRow ? e : e.map(function (e) { return l.rowlist[e]; }) : []; }, this.lf = function (e, t, n) {
4570
+ e = DayPilot.ua(e), e = l.kf(e), l.if(e), this.mf ? (this.Ye(), this._e(), this.bf(), e.forEach(function (e) { l.nf(e.index); }), e.forEach(function (e) { l.of(e.index); }), this.ef(), this.pf()) : (e.forEach(function (e) { t || l.nf(e.index), l.of(e.index); }), e.forEach(function (e) { l.qf(e.index); }), l.ef()), l.se(), n && n(), this.df();
4571
+ }, this.Te = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart().ticks === e.ticks ? e.addDays(-1) : e.getDatePart(); }, this.rf = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart().addDays(1); }, this.sf = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart(); }, this.M = function (e, t, n, i, a) {
4572
+ if (l.tf = null, "Disabled" !== l.eventMoveHandling) {
4573
+ n = l.Te(n);
4560
4574
  var o = {};
4561
4575
  o.e = e, o.newStart = t, o.newEnd = n, o.newResource = i, o.ctrl = !1, o.meta = !1, o.shift = !1, a && (o.shift = a.shiftKey, o.ctrl = a.ctrlKey, o.meta = a.metaKey), o.control = l, o.areaData = DayPilot.Global.movingAreaData, o.toJSON = function () { return DayPilot.Util.copyProps(o, {}, ["e", "newStart", "newEnd", "newResource", "ctrl", "meta", "shift"]); }, o.preventDefault = function () { this.preventDefault.value = !0; };
4562
4576
  var r = function () {
4563
4577
  if (o.loaded = function () { }, o.preventDefault.value)
4564
- return void l.rf();
4578
+ return void l.uf();
4565
4579
  switch (t = o.newStart, n = o.newEnd, l.eventMoveHandling) {
4566
- case "Update": l.Se(o);
4580
+ case "Update": l.Ue(o);
4567
4581
  }
4568
- l.rf(), "function" == typeof l.onEventMoved && l.onEventMoved(o);
4582
+ l.uf(), "function" == typeof l.onEventMoved && l.onEventMoved(o);
4569
4583
  };
4570
4584
  o.async = !1, o.loaded = function () { r(); }, "function" == typeof l.onEventMove && l.onEventMove(o), o.async || r();
4571
4585
  }
4572
- }, this.Se = function (e) { var t = e.e, n = e.newStart, i = e.newEnd, a = e.newResource; t.start(n), t.end(i), t.resource(a), l.events.update(t), l.events.sf(); }, this.tf = function (e) {
4586
+ }, this.Ue = function (e) { var t = e.e, n = e.newStart, i = e.newEnd, a = e.newResource; t.start(n), t.end(i), t.resource(a), l.events.update(t), l.events.vf(); }, this.wf = function (e) {
4573
4587
  if (e)
4574
4588
  if (e.args)
4575
4589
  l.O(e.args.start, e.args.end, e.args.resource);
4576
4590
  else {
4577
- var t = l.uf(e);
4591
+ var t = l.xf(e);
4578
4592
  if (!t)
4579
4593
  return;
4580
4594
  l.O(t.start, t.end, t.resource);
@@ -4582,24 +4596,24 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4582
4596
  }, this.O = function (e, t, n) {
4583
4597
  if ("Disabled" !== l.timeRangeSelectedHandling) {
4584
4598
  var i = t;
4585
- t = l.Re(i);
4599
+ t = l.Te(i);
4586
4600
  var a = {};
4587
4601
  if (a.control = l, a.start = e, a.end = t, a.resource = n, a.preventDefault = function () { this.preventDefault.value = !0; }, a.toJSON = function () { return DayPilot.Util.copyProps(a, {}, ["start", "end", "resource"]); }, "function" == typeof l.onTimeRangeSelect) {
4588
4602
  if (l.onTimeRangeSelect(a), a.preventDefault.value)
4589
4603
  return;
4590
4604
  e = a.start, t = a.end;
4591
4605
  }
4592
- t = l.of(t), l.vf(l.wf, e, t), l.xf(l.wf), "function" == typeof l.onTimeRangeSelected && l.onTimeRangeSelected(a);
4606
+ t = l.rf(t), l.yf(l.zf, e, t), l.Af(l.zf), "function" == typeof l.onTimeRangeSelected && l.onTimeRangeSelected(a);
4593
4607
  }
4594
- }, this.vf = function (e, t, n) {
4608
+ }, this.yf = function (e, t, n) {
4595
4609
  if (e) {
4596
4610
  var i, a = n;
4597
- t.getTime() < l.startDate.getTime() ? (e.start.x = 0, e.start.time = l.startDate.getTime()) : (i = l.Ke(t), e.start.x = i.i, e.start.time = t);
4611
+ t.getTime() < l.startDate.getTime() ? (e.start.x = 0, e.start.time = l.startDate.getTime()) : (i = l.Me(t), e.start.x = i.i, e.start.time = t);
4598
4612
  var o = l.startDate.addDays(l.days);
4599
- a.getTime() > o.getTime() ? (e.end.x = l.yf(), e.end.time = o.getTime()) : (i = l.Ke(a.addMilliseconds(-1)), e.end.x = i.i, e.end.time = n);
4613
+ a.getTime() > o.getTime() ? (e.end.x = l.Bf(), e.end.time = o.getTime()) : (i = l.Me(a.addMilliseconds(-1)), e.end.x = i.i, e.end.time = n);
4600
4614
  }
4601
- }, this.zf = function (e, t) { l.Af(e, t); }, this.Af = function (e, t) { var n = {}; n.resource = e, n.row = e, n.ctrl = t.ctrlKey, n.shift = t.shiftKey, n.meta = t.metaKey, n.originalEvent = t, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof l.onRowClick && (l.onRowClick(n), n.preventDefault.value) || "function" == typeof l.onRowClicked && l.onRowClicked(n); }, this.Bf = function (e) { var t = {}; t.header = e, t.control = l, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof l.onTimeHeaderClick && (l.onTimeHeaderClick(t), t.preventDefault.value) || "function" == typeof l.onTimeHeaderClicked && l.onTimeHeaderClicked(t); }, this.getViewport = function () { var e = this.nav.scroll.scrollLeft, t = this.nav.scroll.scrollTop, n = {}, i = l.Cf(e, t), a = l.Df(i), o = l.Je(i.start.x), r = l.Je(i.end.x); return n.start = l.getDate(e, !0), n.end = l.getDate(e + l.nav.scroll.clientWidth, !0, !0), n.resources = a, o && (n.topLeft = { "start": o.start, "end": o.end, x: i.start.x, y: i.start.y, "resource": a[0] }), r && (n.bottomRight = { "start": r.start, "end": r.end, x: i.end.x, y: i.end.y, "resource": a[a.length - 1] }), n.rows = function () { return n.resources.map(function (e) { return l.rows.find(e); }); }, n.events = function () { var e = []; return n.rows().forEach(function (t) { e = e.concat(t.events.forRange(n.start, n.end)); }), e; }, n; }, this.Cf = function (e, t) { var n = {}; n.start = {}, n.end = {}; var i = l.Ie(e), a = l.Ie(e + l.nav.scroll.clientWidth); i && (n.start.x = i.x), a && (n.end.x = a.x); var o = t, r = t + l.nav.scroll.clientHeight; n.start.y = l.Ef(o).i, n.end.y = l.Ef(r).i, n.start.x = DayPilot.Util.atLeast(n.start.x, 0); var s = l.yf(); return n.end.x >= s && (n.end.x = s - 1), n; }, this.Df = function (e) {
4602
- e || (e = this.Cf(this.nav.scroll.scrollLeft, this.nav.scroll.scrollTop));
4615
+ }, this.Cf = function (e, t) { l.Df(e, t); }, this.Df = function (e, t) { var n = {}; n.resource = e, n.row = e, n.ctrl = t.ctrlKey, n.shift = t.shiftKey, n.meta = t.metaKey, n.originalEvent = t, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof l.onRowClick && (l.onRowClick(n), n.preventDefault.value) || "function" == typeof l.onRowClicked && l.onRowClicked(n); }, this.Ef = function (e) { var t = {}; t.header = e, t.control = l, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof l.onTimeHeaderClick && (l.onTimeHeaderClick(t), t.preventDefault.value) || "function" == typeof l.onTimeHeaderClicked && l.onTimeHeaderClicked(t); }, this.getViewport = function () { var e = this.nav.scroll.scrollLeft, t = this.nav.scroll.scrollTop, n = {}, i = l.Ff(e, t), a = l.Gf(i), o = l.Le(i.start.x), r = l.Le(i.end.x); return n.start = l.getDate(e, !0), n.end = l.getDate(e + l.nav.scroll.clientWidth, !0, !0), n.resources = a, o && (n.topLeft = { "start": o.start, "end": o.end, x: i.start.x, y: i.start.y, "resource": a[0] }), r && (n.bottomRight = { "start": r.start, "end": r.end, x: i.end.x, y: i.end.y, "resource": a[a.length - 1] }), n.rows = function () { return n.resources.map(function (e) { return l.rows.find(e); }); }, n.events = function () { var e = []; return n.rows().forEach(function (t) { e = e.concat(t.events.forRange(n.start, n.end)); }), e; }, n; }, this.Ff = function (e, t) { var n = {}; n.start = {}, n.end = {}; var i = l.Ke(e), a = l.Ke(e + l.nav.scroll.clientWidth); i && (n.start.x = i.x), a && (n.end.x = a.x); var o = t, r = t + l.nav.scroll.clientHeight; n.start.y = l.Hf(o).i, n.end.y = l.Hf(r).i, n.start.x = DayPilot.Util.atLeast(n.start.x, 0); var s = l.Bf(); return n.end.x >= s && (n.end.x = s - 1), n; }, this.Gf = function (e) {
4616
+ e || (e = this.Ff(this.nav.scroll.scrollLeft, this.nav.scroll.scrollTop));
4603
4617
  var t = [];
4604
4618
  t.ignoreToJSON = !0;
4605
4619
  for (var n = e.start.y; n <= e.end.y; n++) {
@@ -4611,20 +4625,20 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4611
4625
  var e = l;
4612
4626
  if (e.Ka && !e.Q) {
4613
4627
  e.Q = !0;
4614
- for (var t in e.Ff) {
4615
- var i = e.Ff[t];
4628
+ for (var t in e.If) {
4629
+ var i = e.If[t];
4616
4630
  DayPilot.isArray(i) ? i.forEach(function (e) { clearTimeout(e); }) : clearTimeout(i);
4617
4631
  }
4618
- e.Y(), e.divCells = null, e.divCorner = null, e.divEvents = null, e.divHeader && (e.divHeader.rows = null), e.divHeader = null, e.divLines = null, e.divNorth = null, e.divRange = null, e.divResScroll = null, e.divStretch = null, e.divTimeScroll = null, e.De = null, e.je.calendar = null, e.je = null, e.nav.top.onmousemove = null, e.nav.top.onmouseout = null, e.nav.top.dispose = null, e.nav.top.ontouchstart = null, e.nav.top.ontouchmove = null, e.nav.top.ontouchend = null, e.nav.top.removeAttribute("style"), e.nav.top.removeAttribute("class"), e.nav.top.innerHTML = "", e.nav.top.dp = null, e.nav.top = null, e.nav.scroll.onscroll = null, e.nav.scroll.root = null, e.nav.scroll = null, n.qc(e), u = null;
4632
+ e.Y(), e.divCells = null, e.divCorner = null, e.divEvents = null, e.divHeader && (e.divHeader.rows = null), e.divHeader = null, e.divLines = null, e.divNorth = null, e.divRange = null, e.divResScroll = null, e.divStretch = null, e.divTimeScroll = null, e.Fe = null, e.je.calendar = null, e.je = null, e.nav.top.onmousemove = null, e.nav.top.onmouseout = null, e.nav.top.dispose = null, e.nav.top.ontouchstart = null, e.nav.top.ontouchmove = null, e.nav.top.ontouchend = null, e.nav.top.removeAttribute("style"), e.nav.top.removeAttribute("class"), e.nav.top.innerHTML = "", e.nav.top.dp = null, e.nav.top = null, e.nav.scroll.onscroll = null, e.nav.scroll.root = null, e.nav.scroll = null, n.qc(e), u = null;
4619
4633
  }
4620
- }, this.disposed = function () { return l.Q; }, this.ba = function (e) { var t = null; t = e.nodeType ? e.event : e; var n = l.Gf(t), i = l.rowlist, a = l.eventHeight, o = t.part && t.part.top && i[t.part.dayIndex] ? t.part.top + i[t.part.dayIndex].top : n.top, s = n.left, d = n.width, c = document.createElement("div"); c.style.position = "absolute", c.style.width = d + "px", c.style.height = a + "px", c.style.left = s + "px", c.style.top = o + "px", c.style.overflow = "hidden"; var u = r(); return c.appendChild(u), c.className = this.L("_shadow"), u.className = this.L("_shadow_inner"), l.divShadow.appendChild(c), c.calendar = l, c; }, this.Ef = function (e) {
4634
+ }, this.disposed = function () { return l.Q; }, this.ba = function (e) { var t = null; t = e.nodeType ? e.event : e; var n = l.Jf(t), i = l.rowlist, a = l.eventHeight, o = t.part && t.part.top && i[t.part.dayIndex] ? t.part.top + i[t.part.dayIndex].top : n.top, s = n.left, d = n.width, c = document.createElement("div"); c.style.position = "absolute", c.style.width = d + "px", c.style.height = a + "px", c.style.left = s + "px", c.style.top = o + "px", c.style.overflow = "hidden"; var u = r(); return c.appendChild(u), c.className = this.L("_shadow"), u.className = this.L("_shadow_inner"), l.divShadow.appendChild(c), c.calendar = l, c; }, this.Hf = function (e) {
4621
4635
  for (var t, n = l.rowlist, i = {}, a = 0, o = 0, r = n.length, s = 0; s < r; s++) {
4622
4636
  var d = n[s];
4623
4637
  if (o += d.height, a = o - d.height, t = d, i.top = a, i.bottom = o, i.i = s, i.element = t, e < o)
4624
4638
  break;
4625
4639
  }
4626
4640
  return i;
4627
- }, this.Hf = function (e) {
4641
+ }, this.Kf = function (e) {
4628
4642
  if (e > this.rowlist.length - 1)
4629
4643
  throw new DayPilot.Exception("Row index too high");
4630
4644
  for (var t = 0, n = 0; n <= e; n++)
@@ -4635,7 +4649,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4635
4649
  if (!l.events.list || "undefined" == typeof l.events.list.length)
4636
4650
  return null;
4637
4651
  if ("function" == typeof e)
4638
- return l.If(e);
4652
+ return l.Lf(e);
4639
4653
  for (var t = l.events.list.length, n = 0; n < t; n++)
4640
4654
  if (l.events.list[n].id === e)
4641
4655
  return new DayPilot.Event(l.events.list[n], l);
@@ -4656,17 +4670,17 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4656
4670
  return !0;
4657
4671
  });
4658
4672
  throw new DayPilot.Exception("function or object argument expected");
4659
- }, this.If = function (e) {
4673
+ }, this.Lf = function (e) {
4660
4674
  for (var t = l.events.list.length, n = 0; n < t; n++) {
4661
4675
  var i = new DayPilot.Event(l.events.list[n], l);
4662
4676
  if (e(i))
4663
4677
  return i;
4664
4678
  }
4665
4679
  return null;
4666
- }, this.events.focus = function (e) { var t = l.Jf(e); t && t.focus(); }, this.events.scrollIntoView = function (e) {
4667
- if (l.Jf(e)) {
4680
+ }, this.events.focus = function (e) { var t = l.Mf(e); t && t.focus(); }, this.events.scrollIntoView = function (e) {
4681
+ if (l.Mf(e)) {
4668
4682
  var t = e.start(), n = l.getViewport();
4669
- !DayPilot.Util.overlaps(n.start, n.end, e.start(), e.end()) && DayPilot.Util.overlaps(l.sa(), l.Kf(), e.start(), e.end()) && l.scrollTo(t, "fast", "middle");
4683
+ !DayPilot.Util.overlaps(n.start, n.end, e.start(), e.end()) && DayPilot.Util.overlaps(l.sa(), l.Nf(), e.start(), e.end()) && l.scrollTo(t, "fast", "middle");
4670
4684
  var i = e.resource();
4671
4685
  l.getViewport().resources.indexOf(i) === -1 && l.scrollToResource(i);
4672
4686
  }
@@ -4708,52 +4722,52 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4708
4722
  var o = e, r = "start=" + l.visibleStart().toString() + "&end=" + l.visibleEnd().toString();
4709
4723
  o += o.indexOf("?") > -1 ? "&" + r : "?" + r, DayPilot.ajax({ "method": "GET", "url": o, "success": a, "error": i });
4710
4724
  }
4711
- }, this.events.Lf = function (e) {
4725
+ }, this.events.Of = function (e) {
4712
4726
  var t = [];
4713
4727
  return l.rowlist.forEach(function (n) {
4714
- l.Mf(n.index);
4728
+ l.Pf(n.index);
4715
4729
  for (var i = 0; i < n.events.length; i++) {
4716
4730
  var a = n.events[i].data;
4717
- if (l.Nf(a, e)) {
4731
+ if (l.Qf(a, e)) {
4718
4732
  t.push(n), n.events.splice(i, 1);
4719
4733
  break;
4720
4734
  }
4721
4735
  }
4722
4736
  }), t;
4723
- }, this.events.Of = function (e) {
4737
+ }, this.events.Rf = function (e) {
4724
4738
  if (!e)
4725
4739
  return null;
4726
4740
  for (var t = l.rowlist, n = 0; n < t.length; n++) {
4727
4741
  var i = t[n];
4728
- l.Mf(i.index);
4742
+ l.Pf(i.index);
4729
4743
  for (var a = 0; a < i.events.length; a++) {
4730
4744
  var o = i.events[a];
4731
- if (l.Nf(o.data, e))
4745
+ if (l.Qf(o.data, e))
4732
4746
  return i.events[a];
4733
4747
  }
4734
4748
  }
4735
4749
  return null;
4736
- }, this.events.Pf = function (e) {
4737
- var t = [], n = l.Qf(), i = DayPilot.indexOf(l.events.list, e);
4750
+ }, this.events.Sf = function (e) {
4751
+ var t = [], n = l.Tf(), i = DayPilot.indexOf(l.events.list, e);
4738
4752
  l.yb(i);
4739
4753
  var a = l.rowlist, o = !1;
4740
4754
  return a.forEach(function (a) {
4741
4755
  if (!o) {
4742
- l.Mf(a.index);
4743
- var r = l.Rf(e, a);
4756
+ l.Pf(a.index);
4757
+ var r = l.Uf(e, a);
4744
4758
  r && ("function" == typeof l.onBeforeEventRender && (r.cache = l.xb.events[i]), t.push(a), n || (o = !0));
4745
4759
  }
4746
4760
  }), t;
4747
- }, this.Nf = function (e, t) { return DayPilot.Util.isSameEvent(e, t); }, this.events.update = function (e, t, n) {
4761
+ }, this.Qf = function (e, t) { return DayPilot.Util.isSameEvent(e, t); }, this.events.update = function (e, t, n) {
4748
4762
  if ("object" == typeof e && !(e instanceof DayPilot.Event)) {
4749
4763
  var i = l.events.find(e.id);
4750
4764
  return l.events.remove(i), void l.events.add(e);
4751
4765
  }
4752
4766
  var a = {};
4753
- if (a.oldEvent = new DayPilot.Event(e.copy(), l), a.newEvent = new DayPilot.Event(e.temp(), l), n = n || {}, l.events.list.find(function (t) { return l.Nf(t, e.data); })) {
4754
- l.ze.Sf && (l.ze.skip = !0);
4755
- var o = l.events.Lf(e.data);
4756
- e.commit(), o = o.concat(l.events.Pf(e.data)), l.events.Tf(o);
4767
+ if (a.oldEvent = new DayPilot.Event(e.copy(), l), a.newEvent = new DayPilot.Event(e.temp(), l), n = n || {}, l.events.list.find(function (t) { return l.Qf(t, e.data); })) {
4768
+ l.Be.Vf && (l.Be.skip = !0);
4769
+ var o = l.events.Of(e.data);
4770
+ e.commit(), o = o.concat(l.events.Sf(e.data)), l.events.Wf(o);
4757
4771
  }
4758
4772
  }, this.events.remove = function (e) {
4759
4773
  if (e) {
@@ -4762,15 +4776,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4762
4776
  return void l.events.remove(t);
4763
4777
  }
4764
4778
  ({}).e = new DayPilot.Event(e.data, l);
4765
- var n = l.Uf(e.data);
4766
- n && l.events.list.splice(n.index, 1), l.ze.Sf && (l.ze.skip = !0);
4767
- var i = l.events.Lf(e.data);
4768
- l.events.Tf(i);
4779
+ var n = l.Xf(e.data);
4780
+ n && l.events.list.splice(n.index, 1), l.Be.Vf && (l.Be.skip = !0);
4781
+ var i = l.events.Of(e.data);
4782
+ l.events.Wf(i);
4769
4783
  }
4770
4784
  }, this.events.add = function (e, t, n) {
4771
4785
  var n = n || {}, i = n.renderOnly;
4772
4786
  e instanceof DayPilot.Event || (e = new DayPilot.Event(e)), e.calendar = l, l.events.list || (l.events.list = []);
4773
- var a = l.Uf(e);
4787
+ var a = l.Xf(e);
4774
4788
  if (i) {
4775
4789
  if (!a)
4776
4790
  throw new DayPilot.Exception("Unexpected: event not found in list");
@@ -4781,62 +4795,62 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4781
4795
  a || l.events.list.push(e.data);
4782
4796
  }
4783
4797
  if (l.Ka) {
4784
- l.ze.Sf && (l.ze.skip = !0);
4798
+ l.Be.Vf && (l.Be.skip = !0);
4785
4799
  ({}).e = e;
4786
- var o = l.events.Pf(e.data);
4787
- l.events.Tf(o);
4800
+ var o = l.events.Sf(e.data);
4801
+ l.events.Wf(o);
4788
4802
  }
4789
- }, this.events.Vf = function (e) {
4803
+ }, this.events.Yf = function (e) {
4790
4804
  var t = e instanceof DayPilot.Event ? e.data : e, n = new DayPilot.Date(t.start), i = new DayPilot.Date(t.end);
4791
4805
  return !!l.events.list.find(function (e) {
4792
- if (l.Nf(t, e))
4806
+ if (l.Qf(t, e))
4793
4807
  return !1;
4794
4808
  if (t.resource !== e.resource)
4795
4809
  return !1;
4796
4810
  var a = new DayPilot.Date(e.start), o = new DayPilot.Date(e.end);
4797
4811
  return DayPilot.Util.overlaps(n, i, a, o);
4798
4812
  });
4799
- }, this.events.Wf = { "rows": [] }, this.events.Xf = null, this.events.Ve = function () { clearTimeout(l.events.Xf), l.events.Xf = null, l.events.Wf.rows = []; }, this.events.Yf = 0, this.events.Tf = function (e) { var t = l.events.Wf.rows; e.forEach(function (e) { t.push(e); }), l.events.Wf.rows = DayPilot.ua(t); var n = l.events.sf; l.events.Xf || (l.events.Xf = setTimeout(n, l.events.Yf)); }, this.events.sf = function () { clearTimeout(l.events.Xf), l.events.Xf = null; var e = l.events.Wf.rows; l.events.Wf.rows = [], l.Zf(e), l.$f(), l.Ka && (l.jf && l.We(), l.ma(), l.if(e)); }, this.ze = {}, this.ze.enabled = !1, this.ze.skip = !1, this.ze.skipUpdate = function () { return l.ze.skip; }, this.ze.skipped = function () { l.ze.skip = !1; }, this.ze._f = !1, this.ze.Sf = !1, this.jd = {}, this.jd.reactDOM = null, this.jd.react = null, this.ag = function (e) {
4813
+ }, this.events.Zf = { "rows": [] }, this.events.$f = null, this.events.Xe = function () { clearTimeout(l.events.$f), l.events.$f = null, l.events.Zf.rows = []; }, this.events._f = 0, this.events.Wf = function (e) { var t = l.events.Zf.rows; e.forEach(function (e) { t.push(e); }), l.events.Zf.rows = DayPilot.ua(t); var n = l.events.vf; l.events.$f || (l.events.$f = setTimeout(n, l.events._f)); }, this.events.vf = function () { clearTimeout(l.events.$f), l.events.$f = null; var e = l.events.Zf.rows; l.events.Zf.rows = [], l.ag(e), l.bg(), l.Ka && (l.mf && l.Ye(), l.ma(), l.lf(e)); }, this.Be = {}, this.Be.enabled = !1, this.Be.skip = !1, this.Be.skipUpdate = function () { return l.Be.skip; }, this.Be.skipped = function () { l.Be.skip = !1; }, this.Be.cg = !1, this.Be.Vf = !1, this.jd = {}, this.jd.reactDOM = null, this.jd.react = null, this.dg = function (e) {
4800
4814
  var t = l.startDate;
4801
4815
  if (e.ticks === t.ticks)
4802
4816
  return e;
4803
4817
  var n = t;
4804
4818
  if (e.ticks < t.ticks) {
4805
4819
  for (; n.ticks > e.ticks;)
4806
- n = n.addTime(60 * -l.Le() * 1e3);
4820
+ n = n.addTime(60 * -l.Ne() * 1e3);
4807
4821
  return n;
4808
4822
  }
4809
- var i = this.Ke(e);
4823
+ var i = this.Me(e);
4810
4824
  if (i.current)
4811
4825
  return i.current.start;
4812
4826
  throw new DayPilot.Exception("getBoxStart(): time not found");
4813
- }, this.Gf = function (e) {
4814
- var t = this.Ef(l.coords.y);
4827
+ }, this.Jf = function (e) {
4828
+ var t = this.Hf(l.coords.y);
4815
4829
  if ("function" != typeof e.end)
4816
4830
  throw new DayPilot.Exception("e.end function is not defined");
4817
4831
  if (!e.end())
4818
4832
  throw new DayPilot.Exception("e.end() returns null");
4819
4833
  var i = DayPilot.DateUtil.diff(e.rawend(), e.start());
4820
4834
  i = DayPilot.Util.atLeast(i, 1);
4821
- var a = f.bg(i), o = 0, r = l.coords.x;
4822
- a && (o = e.start().getTime() - this.ag(e.start()).getTime());
4835
+ var a = f.eg(i), o = 0, r = l.coords.x;
4836
+ a && (o = e.start().getTime() - this.dg(e.start()).getTime());
4823
4837
  var s = 0;
4824
- if (n.cg)
4838
+ if (n.fg)
4825
4839
  if (a) {
4826
- var d = e.start(), c = this.ag(d);
4827
- s = n.cg.getTime() - c.getTime();
4828
- var u = 60 * l.Le() * 1e3;
4840
+ var d = e.start(), c = this.dg(d);
4841
+ s = n.fg.getTime() - c.getTime();
4842
+ var u = 60 * l.Ne() * 1e3;
4829
4843
  s = Math.floor(s / u) * u;
4830
4844
  }
4831
4845
  else
4832
- s = n.cg.getTime() - e.start().getTime();
4846
+ s = n.fg.getTime() - e.start().getTime();
4833
4847
  var h = this.getDate(r, !0).addTime(-s);
4834
- n.dg && (h = e.start());
4848
+ n.gg && (h = e.start());
4835
4849
  var v = l.snapToGrid;
4836
- v && (h = this.ag(h)), h = h.addTime(o);
4850
+ v && (h = this.dg(h)), h = h.addTime(o);
4837
4851
  var p = h.addTime(i), m = h, g = p, y = this.getPixels(m), b = this.getPixels(g.addTime(-1)), w = v ? y.boxLeft : y.left, x = v && a ? b.boxRight - w : b.left - w, D = {};
4838
4852
  return D.top = t.top, D.left = w, D.row = t.element, D.rowIndex = t.i, D.width = x, D.start = h, D.end = p, D.relativeY = l.coords.y - t.top, D;
4839
- }, this.Le = function () {
4853
+ }, this.Ne = function () {
4840
4854
  switch (this.scale) {
4841
4855
  case "CellDuration": return this.cellDuration;
4842
4856
  case "Minute": return 1;
@@ -4845,34 +4859,34 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4845
4859
  case "Week": return 10080;
4846
4860
  }
4847
4861
  throw new DayPilot.Exception("can't guess cellDuration value");
4848
- }, this.eg = function (e) { return e.end.ticks - e.start.ticks; }, this.fg = function () { var e = n.gg.width, t = n.gg.left, i = n.hg, a = n.dg.dpBorder, o = null, r = null, s = l.snapToGrid, d = !s; "left" === a ? (o = l.getDate(t, d), r = i.rawend()) : "right" === a && (o = i.start(), r = l.getDate(t + e, d, !0)), n.gg.start = o, n.gg.end = r; }, this.ig = function () {
4849
- var e = l.coords, t = n.dg.dpBorder, i = n.dg.event, a = i.part.left;
4862
+ }, this.hg = function (e) { return e.end.ticks - e.start.ticks; }, this.ig = function () { var e = n.jg.width, t = n.jg.left, i = n.kg, a = n.gg.dpBorder, o = null, r = null, s = l.snapToGrid, d = !s; "left" === a ? (o = l.getDate(t, d), r = i.rawend()) : "right" === a && (o = i.start(), r = l.getDate(t + e, d, !0)), n.jg.start = o, n.jg.end = r; }, this.lg = function () {
4863
+ var e = l.coords, t = n.gg.dpBorder, i = n.gg.event, a = i.part.left;
4850
4864
  "right" === t && (a += i.part.width);
4851
- var o, r, s = n.dg.event.calendar.cellWidth, d = i.part.width, c = i.part.left, u = 0, h = e.x - a, f = l.snapToGrid;
4865
+ var o, r, s = n.gg.event.calendar.cellWidth, d = i.part.width, c = i.part.left, u = 0, h = e.x - a, f = l.snapToGrid;
4852
4866
  if ("right" === t) {
4853
4867
  if (o = c, f) {
4854
- var v = l.Ie(d + c + h).cell, p = l.Ie(c).cell, m = p.left + p.width - c;
4868
+ var v = l.Ke(d + c + h).cell, p = l.Ke(c).cell, m = p.left + p.width - c;
4855
4869
  r = v.left + v.width - c, r < m && (r = m);
4856
4870
  }
4857
4871
  else
4858
4872
  r = d + h;
4859
- var g = l.Ae();
4860
- c + r > g && (r = g - c), n.gg.left = c, n.gg.width = r, n.gg.style.left = c + "px", n.gg.style.width = r + "px";
4873
+ var g = l.Ce();
4874
+ c + r > g && (r = g - c), n.jg.left = c, n.jg.width = r, n.jg.style.left = c + "px", n.jg.style.width = r + "px";
4861
4875
  }
4862
4876
  else {
4863
4877
  if ("left" !== t)
4864
4878
  throw new DayPilot.Exception("Invalid dpBorder.");
4865
4879
  f ? (h >= d && (h = d), o = Math.floor((c + h + 0) / s) * s, o < u && (o = u)) : o = c + h, r = d - (o - c);
4866
4880
  var y = c + d, b = s;
4867
- f ? "Never" === l.useEventBoxes && (b = d < s ? d : 1) : b = 1, r < b && (r = b, o = y - r), n.gg.left = o, n.gg.width = r, n.gg.style.left = o + "px", n.gg.style.width = r + "px";
4881
+ f ? "Never" === l.useEventBoxes && (b = d < s ? d : 1) : b = 1, r < b && (r = b, o = y - r), n.jg.left = o, n.jg.width = r, n.jg.style.left = o + "px", n.jg.style.width = r + "px";
4868
4882
  }
4869
- l.fg();
4870
- }, this.jg = function () {
4871
- if (l.coords && n.kg) {
4872
- var e = n.lg, t = this.Gf(n.kg);
4883
+ l.ig();
4884
+ }, this.mg = function () {
4885
+ if (l.coords && n.ng) {
4886
+ var e = n.og, t = this.Jf(n.ng);
4873
4887
  e.row = t.row, e.style.height = DayPilot.Util.atLeast(t.row.height, 0) + "px", e.style.top = t.top + "px", e.style.left = t.left + "px", e.style.width = t.width + "px", e.start = t.start, e.end = t.end;
4874
4888
  }
4875
- }, this.mg = function () { return this.rowHeaderWidth; }, this.ng = function () { return this.og(l.progressiveRowRenderingPreload); }, this.og = function (e) {
4889
+ }, this.pg = function () { return this.rowHeaderWidth; }, this.qg = function () { return this.rg(l.progressiveRowRenderingPreload); }, this.rg = function (e) {
4876
4890
  e = e || 0;
4877
4891
  var t = 0, n = l.rowlist.length;
4878
4892
  if (l.progressiveRowRendering) {
@@ -4880,42 +4894,42 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4880
4894
  t = i.yStart, n = i.yEnd + 1, t = DayPilot.Util.atLeast(0, t - e), n = Math.min(l.rowlist.length, n + e);
4881
4895
  }
4882
4896
  return { "start": t, "end": n };
4883
- }, this.Xe = function () {
4897
+ }, this.Ze = function () {
4884
4898
  function e() { var e = l.divHeader; e && (e.rows = []); var t = e; t && (t.innerHTML = ""); }
4885
- this.pg = !0;
4886
- var t = this.mg();
4899
+ this.sg = !0;
4900
+ var t = this.pg();
4887
4901
  e();
4888
4902
  var n = this.divHeader;
4889
4903
  if (n.style.width = t + "px", n.style.height = l.fe + "px", l.divHeader = n, l.progressiveRowRendering)
4890
4904
  i();
4891
4905
  else
4892
4906
  for (var a = this.rowlist.length, o = 0; o < a; o++)
4893
- l.qg(o);
4894
- l.rg(), this.divResScroll.appendChild(n);
4895
- }, this.sg = function () {
4907
+ l.tg(o);
4908
+ l.ug(), this.divResScroll.appendChild(n);
4909
+ }, this.vg = function () {
4896
4910
  if (l.progressiveRowRendering)
4897
- for (var e = this.ng(), t = 0; t < l.rowlist.length; t++)
4898
- e.start <= t && t < e.end ? l.qg(t) : l.tg(t);
4899
- }, this.rg = function () {
4900
- if (!l.ca.ug()) {
4911
+ for (var e = this.qg(), t = 0; t < l.rowlist.length; t++)
4912
+ e.start <= t && t < e.end ? l.tg(t) : l.wg(t);
4913
+ }, this.ug = function () {
4914
+ if (!l.ca.xg()) {
4901
4915
  var e = l.divHeader, t = r();
4902
4916
  t.style.position = "absolute", e.appendChild(t), l.nav.resScrollSpace = t;
4903
4917
  var n = r();
4904
4918
  n.style.position = "relative", n.style.height = "100%", n.className = this.L("_rowheader"), t.appendChild(n);
4905
- var i = this.mg(), t = l.nav.resScrollSpace;
4919
+ var i = this.pg(), t = l.nav.resScrollSpace;
4906
4920
  t.style.width = i + "px", t.style.top = this.fe + "px";
4907
4921
  }
4908
- }, this.tg = function (e) { var t = l.divHeader.rows[e]; t && (DayPilot.de(t), l.divHeader.rows[e] = null); }, this.gf = function (e) { this.tg(e), this.qg(e); }, this.qg = function (e) {
4922
+ }, this.wg = function (e) { var t = l.divHeader.rows[e]; t && (DayPilot.de(t), l.divHeader.rows[e] = null); }, this.jf = function (e) { this.wg(e), this.tg(e); }, this.tg = function (e) {
4909
4923
  var t = l.rowlist, n = l.divHeader;
4910
4924
  if (n && !n.rows[e]) {
4911
- var i = this.mg(), a = t[e];
4925
+ var i = this.pg(), a = t[e];
4912
4926
  if (a) {
4913
- var o = this.vg(a), s = r();
4927
+ var o = this.yg(a), s = r();
4914
4928
  s.style.position = "absolute", s.style.top = a.top + "px", n.rows[e] = s, s.row = a, s.index = e;
4915
4929
  var d = o.row, c = this.rowHeaderWidth;
4916
4930
  s.style.width = c + "px", s.style.border = "0px none";
4917
4931
  var u = d.toolTip || d.toolTip;
4918
- u && (s.title = u), "undefined" != typeof d.ariaLabel ? s.setAttribute("aria-label", d.ariaLabel) : s.setAttribute("aria-label", d.text || ""), s.onclick = l.wg;
4932
+ u && (s.title = u), "undefined" != typeof d.ariaLabel ? s.setAttribute("aria-label", d.ariaLabel) : s.setAttribute("aria-label", d.text || ""), s.onclick = l.zg;
4919
4933
  var h = r();
4920
4934
  h.style.width = c + "px", h.className = this.L("_rowheader"), d.cssClass && DayPilot.Util.addClass(h, d.cssClass), d.cssClass && DayPilot.Util.addClass(h, d.cssClass);
4921
4935
  var f = d.backColor || d.backColor;
@@ -4953,25 +4967,25 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4953
4967
  s.appendChild(h), n.appendChild(s), h.style.width = i + "px";
4954
4968
  }
4955
4969
  }
4956
- }, this.wg = function (e) { var t = this.row, n = l.xg(t, this.index); l.zf(n, e); }, this.yg = function (e) {
4970
+ }, this.zg = function (e) { var t = this.row, n = l.Ag(t, this.index); l.Cf(n, e); }, this.Bg = function (e) {
4957
4971
  if ("Disabled" !== l.timeHeaderClickHandling) {
4958
4972
  var t = {};
4959
- t.start = this.cell.start, t.level = this.cell.level, t.end = this.cell.end, t.end || (t.end = new DayPilot.Date(t.start).addMinutes(l.Le())), l.Bf(t);
4973
+ t.start = this.cell.start, t.level = this.cell.level, t.end = this.cell.end, t.end || (t.end = new DayPilot.Date(t.start).addMinutes(l.Ne())), l.Ef(t);
4960
4974
  }
4961
- }, this.zg = function (e) {
4975
+ }, this.Cg = function (e) {
4962
4976
  if ("Disabled" !== l.timeHeaderRightClickHandling) {
4963
4977
  e.cancelBubble = !0, e.preventDefault();
4964
4978
  var t = {};
4965
- t.start = this.cell.start, t.level = this.cell.level, t.end = this.cell.end, t.end || (t.end = new DayPilot.Date(t.start).addMinutes(l.Le()));
4979
+ t.start = this.cell.start, t.level = this.cell.level, t.end = this.cell.end, t.end || (t.end = new DayPilot.Date(t.start).addMinutes(l.Ne()));
4966
4980
  var n = {};
4967
4981
  n.header = t, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof l.onTimeHeaderRightClick && (l.onTimeHeaderRightClick(n), n.preventDefault.value) || "function" == typeof l.onTimeHeaderRightClicked && l.onTimeHeaderRightClicked(n);
4968
4982
  }
4969
- }, this.xg = function (e) { return new DayPilot.Row(e, l); }, this.Mf = function (e) { var t = l.rowlist, n = t[e]; n.events || n.resetEvents(); }, this.Ag = {}, this.ha = function (e) {
4983
+ }, this.Ag = function (e) { return new DayPilot.Row(e, l); }, this.Pf = function (e) { var t = l.rowlist, n = t[e]; n.events || n.resetEvents(); }, this.Dg = {}, this.ha = function (e) {
4970
4984
  if (e ? this.events.list = e : this.events.list || (this.events.list = []), null != this.events.list && !DayPilot.isArray(this.events.list))
4971
4985
  throw new DayPilot.Exception("DayPilot.Scheduler.events.list expects an array object");
4972
4986
  u.prepareRows(!0);
4973
4987
  var t, n = this.events.list, i = "function" == typeof this.onBeforeEventRender;
4974
- l.Ag = {};
4988
+ l.Dg = {};
4975
4989
  for (var a = 0; a < n.length; a++) {
4976
4990
  var o = n[a];
4977
4991
  if (o) {
@@ -4984,28 +4998,28 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
4984
4998
  if (!("string" == typeof o.id || "number" == typeof o.id))
4985
4999
  throw new DayPilot.Exception("All events must have an id property (string or number)");
4986
5000
  var r = "_" + o.id;
4987
- if (l.Ag[r])
5001
+ if (l.Dg[r])
4988
5002
  throw new DayPilot.Exception("Duplicate event IDs are not allowed: " + r);
4989
- l.Ag[r] = !0, i && this.yb(a), t = l.Bg(o.resource);
5003
+ l.Dg[r] = !0, i && this.yb(a), t = l.Eg(o.resource);
4990
5004
  for (var s = 0; t && s < t.length; s++) {
4991
- var d = t[s], c = this.Rf(o, d);
5005
+ var d = t[s], c = this.Uf(o, d);
4992
5006
  c && i && (c.cache = this.xb.events[a]);
4993
5007
  }
4994
5008
  }
4995
5009
  }
4996
- l.rowlist.forEach(function (e) { l.Cg(e); }), l.$f();
4997
- }, this.Dg = {};
4998
- var u = this.Dg;
5010
+ l.rowlist.forEach(function (e) { l.Fg(e); }), l.bg();
5011
+ }, this.Gg = {};
5012
+ var u = this.Gg;
4999
5013
  u.rowcache = {}, u.prepareRows = function (e) {
5000
5014
  u.rowcache = {};
5001
5015
  for (var t = l.rowlist, n = 0; n < t.length; n++) {
5002
5016
  var i = t[n];
5003
- if (e && i.resetEvents(), l.Mf(i.index), i.id) {
5017
+ if (e && i.resetEvents(), l.Pf(i.index), i.id) {
5004
5018
  var a = typeof i.id + "_" + i.id;
5005
5019
  u.rowcache[a] || (u.rowcache[a] = []), u.rowcache[a].push(i);
5006
5020
  }
5007
5021
  }
5008
- }, u.loadEvent = function (e) { }, this.Bg = function (e) { var t = typeof e + "_" + e; return u.rowcache[t] || []; }, this.Qf = function () {
5022
+ }, u.loadEvent = function (e) { }, this.Eg = function (e) { var t = typeof e + "_" + e; return u.rowcache[t] || []; }, this.Tf = function () {
5009
5023
  for (var e = {}, t = 0; t < l.rowlist.length; t++) {
5010
5024
  var n = l.rowlist[t], i = n.id;
5011
5025
  if (e[i])
@@ -5023,15 +5037,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5023
5037
  o.e = i, o.data = i, this.onBeforeEventRender(o);
5024
5038
  }
5025
5039
  t[e] = i;
5026
- }, this.Cg = function (e) {
5040
+ }, this.Fg = function (e) {
5027
5041
  e.lines = [], e.sections = null, e.events.sort(this.zb);
5028
5042
  for (var t = 0; t < e.events.length; t++) {
5029
5043
  var n = e.events[t];
5030
5044
  e.putIntoLine(n);
5031
5045
  }
5032
- }, this.Zf = function (e) { e = DayPilot.ua(e), e = l.hf(e), e.forEach(function (e) { l.Cg(e); }), e.forEach(function (e) { l.Eg(e); }); }, this.Rf = function (e, t) {
5046
+ }, this.ag = function (e) { e = DayPilot.ua(e), e = l.kf(e), e.forEach(function (e) { l.Fg(e); }), e.forEach(function (e) { l.Hg(e); }); }, this.Uf = function (e, t) {
5033
5047
  var n = new DayPilot.Date(e.start), i = new DayPilot.Date(e.end);
5034
- i = l.of(i);
5048
+ i = l.rf(i);
5035
5049
  var a = n.ticks, o = i.ticks, r = l.startDate.ticks, s = l.startDate.addDays(l.days).ticks;
5036
5050
  if (o < a)
5037
5051
  return null;
@@ -5047,7 +5061,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5047
5061
  var h = this.getPixels(u.part.start), v = this.getPixels(u.part.end.addTime(-1));
5048
5062
  u.part.start === u.part.end && (v = this.getPixels(u.part.end.addMilliseconds(1)));
5049
5063
  var p = h.left, m = v.left;
5050
- if (f.bg(o - a)) {
5064
+ if (f.eg(o - a)) {
5051
5065
  var g = h.boxLeft, y = v.boxRight;
5052
5066
  u.part.left = g, u.part.width = y - g, u.part.barLeft = Math.max(p - u.part.left, 0), u.part.barWidth = Math.max(m - p, 1);
5053
5067
  }
@@ -5062,22 +5076,22 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5062
5076
  return 0 !== n ? n : t.end().ticks - e.end().ticks;
5063
5077
  }, this.rows = {}, this.rows.all = function () {
5064
5078
  for (var e = [], t = 0; t < l.rowlist.length; t++) {
5065
- var n = l.xg(l.rowlist[t]);
5079
+ var n = l.Ag(l.rowlist[t]);
5066
5080
  e.push(n);
5067
5081
  }
5068
5082
  return e;
5069
5083
  }, this.rows.each = function (e) { l.rows.all().forEach(e); }, this.rows.forEach = function (e) { l.rows.all().forEach(e); }, this.rows.find = function (e, t) {
5070
5084
  if ("string" == typeof e || "number" == typeof e || !e && t) {
5071
- var n = l.Bg(e);
5085
+ var n = l.Eg(e);
5072
5086
  e || (n = l.rowlist);
5073
5087
  var i = null;
5074
5088
  return "string" == typeof t || t instanceof DayPilot.Date ? (t = new DayPilot.Date(t), i = n.find(function (e) { return t === e.start; })) : i = n[0], i ? new DayPilot.Row(i, l) : null;
5075
5089
  }
5076
5090
  if ("function" != typeof e)
5077
5091
  throw new DayPilot.Exception("Invalid rows.find() argument: id or function expected");
5078
- var a = t || 0, o = l.rowlist.find(function (t, n) { return !(n < a) && e(l.xg(t)); });
5092
+ var a = t || 0, o = l.rowlist.find(function (t, n) { return !(n < a) && e(l.Ag(t)); });
5079
5093
  if (o)
5080
- return l.xg(o);
5094
+ return l.Ag(o);
5081
5095
  }, this.rows.load = function (e, t, n) {
5082
5096
  if (!e)
5083
5097
  throw new DayPilot.Exception("rows.load(): 'url' parameter required");
@@ -5116,9 +5130,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5116
5130
  return;
5117
5131
  e.data = t;
5118
5132
  }
5119
- var n = e.index, i = l.rowlist, a = i[n], o = e.data, r = e.parent() ? e.parent().$.row : null, s = l.Fg(o), e = l.Gg(s, r);
5120
- e.level = a.level, e.index = n, e.top = a.top, e.height = a.height, i[n] = e, e.resetEvents(), l.Mf(e.index), l.Hg(e), l.Cg(e), l.gf(e.index), l._e(), l.bf();
5121
- }, this.Hg = function (e) {
5133
+ var n = e.index, i = l.rowlist, a = i[n], o = e.data, r = e.parent() ? e.parent().$.row : null, s = l.Ig(o), e = l.Jg(s, r);
5134
+ e.level = a.level, e.index = n, e.top = a.top, e.height = a.height, i[n] = e, e.resetEvents(), l.Pf(e.index), l.Kg(e), l.Fg(e), l.jf(e.index), l.bf(), l.ef();
5135
+ }, this.Kg = function (e) {
5122
5136
  for (var t = l.events.list, n = t.length, i = "function" == typeof l.onBeforeEventRender, a = 0; a < n; a++) {
5123
5137
  var o = t[a];
5124
5138
  if (o) {
@@ -5126,29 +5140,29 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5126
5140
  throw new DayPilot.Exception("DayPilot.Scheduler: DayPilot.Event object detected in events.list array. Use raw event data instead.");
5127
5141
  if (o.resource === e.id) {
5128
5142
  i && this.yb(a);
5129
- var r = this.Rf(o, e);
5143
+ var r = this.Uf(o, e);
5130
5144
  r && i && (r.cache = this.xb.events[a]);
5131
5145
  }
5132
5146
  }
5133
5147
  }
5134
- }, this.Ue = function () {
5148
+ }, this.We = function () {
5135
5149
  var e = this.resources;
5136
5150
  if ({}.i = 0, null != e && !DayPilot.isArray(e))
5137
5151
  throw new DayPilot.Exception("DayPilot.Scheduler.resources expects an array object");
5138
- e = e || [], l.rowlist = [], this.Ig(e);
5139
- }, this.sa = function () { return new DayPilot.Date(this.startDate); }, this.Kf = function () { return new DayPilot.Date(l.startDate).addDays(l.days); }, this.visibleStart = function () { return this.sa(); }, this.visibleEnd = function () { return this.Kf(); }, this.Gg = function (e) {
5152
+ e = e || [], l.rowlist = [], this.Lg(e);
5153
+ }, this.sa = function () { return new DayPilot.Date(this.startDate); }, this.Nf = function () { return new DayPilot.Date(l.startDate).addDays(l.days); }, this.visibleStart = function () { return this.sa(); }, this.visibleEnd = function () { return this.Nf(); }, this.Jg = function (e) {
5140
5154
  var t = {};
5141
- return t.backColor = e.backColor, t.fontColor = e.fontColor, t.cssClass = e.cssClass, t.name = e.name, t.html = l.$a(e.name, e.html), t.id = e.id, t.toolTip = e.toolTip, t.tags = e.tags, t.height = l.eventHeight, t.level = 0, t.resource = e.Jg, t.lines = [], t.isRow = !0, t.getHeight = function () { return Math.max(l.eventHeight, this.lines.length * l.eventHeight); }, t.resetEvents = function () {
5155
+ return t.backColor = e.backColor, t.fontColor = e.fontColor, t.cssClass = e.cssClass, t.name = e.name, t.html = l.$a(e.name, e.html), t.id = e.id, t.toolTip = e.toolTip, t.tags = e.tags, t.height = l.eventHeight, t.level = 0, t.resource = e.Ae, t.lines = [], t.isRow = !0, t.getHeight = function () { return Math.max(l.eventHeight, this.lines.length * l.eventHeight); }, t.resetEvents = function () {
5142
5156
  var e = this;
5143
5157
  e.events = [], e.events.forRange = function (t, n) {
5144
5158
  t = new DayPilot.Date(t), n = n ? new DayPilot.Date(n) : l.startDate.addDays(l.days);
5145
5159
  for (var i = [], a = 0; a < e.events.length; a++) {
5146
- var o = e.events[a], r = l.of(o.end());
5160
+ var o = e.events[a], r = l.rf(o.end());
5147
5161
  DayPilot.Util.overlaps(o.start(), r, t, n) && i.push(o);
5148
5162
  }
5149
5163
  return i;
5150
5164
  };
5151
- }, t.Kg = function () {
5165
+ }, t.Mg = function () {
5152
5166
  var e = [];
5153
5167
  return e.add = function (e) { this.push(e); }, e.isFree = function (e, t, n) {
5154
5168
  for (var i = e + t - 1, a = this.length, o = 0; o < a; o++) {
@@ -5167,29 +5181,29 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5167
5181
  if (a.isFree(e, n))
5168
5182
  return i;
5169
5183
  }
5170
- var a = t.Kg();
5184
+ var a = t.Mg();
5171
5185
  return this.lines.push(a), this.lines.length - 1;
5172
5186
  }, t.putIntoLine = function (e) { var n = t.findFreeLine(e.part.left, e.part.width); return this.lines[n].add(e), n; }, t;
5173
- }, this.Ig = function (e) {
5187
+ }, this.Lg = function (e) {
5174
5188
  if (e)
5175
5189
  for (var t = l.rowlist, n = 0; n < e.length; n++)
5176
5190
  if (e[n]) {
5177
5191
  var i = {};
5178
5192
  i.index = n;
5179
- var a = this.Fg(e[n], i), o = l.Gg(a, parent);
5193
+ var a = this.Ig(e[n], i), o = l.Jg(a, parent);
5180
5194
  o.index = n, t.push(o);
5181
5195
  }
5182
- }, this.vg = function (e) { var t = {}; return t.row = this.xg(e), DayPilot.Util.copyProps(e, t.row, ["html", "backColor", "fontColor", "cssClass", "toolTip"]), "function" == typeof this.onBeforeRowHeaderRender && this.onBeforeRowHeaderRender(t), t; }, this.Fg = function (e, t) {
5183
- var n = { get $data() { return this.Jg; } };
5196
+ }, this.yg = function (e) { var t = {}; return t.row = this.Ag(e), DayPilot.Util.copyProps(e, t.row, ["html", "backColor", "fontColor", "cssClass", "toolTip"]), "function" == typeof this.onBeforeRowHeaderRender && this.onBeforeRowHeaderRender(t), t; }, this.Ig = function (e, t) {
5197
+ var n = { get $data() { return this.Ae; } };
5184
5198
  for (var i in t)
5185
5199
  n[i] = t[i];
5186
5200
  for (var i in e)
5187
5201
  n[i] = e[i];
5188
- return n.html = l.$a(e.name, e.html), n.Jg = e, n;
5189
- }, this.Lg = function () { this.nav.top.dp = this, this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.L("_main")), this.nav.top.setAttribute("role", "region"), this.nav.top.setAttribute("aria-label", "scheduler"), this.nav.top.style.userSelect = "none", this.nav.top.style.webkitUserSelect = "none", this.nav.top.style.WebkitTapHighlightColor = "rgba(0,0,0,0)", this.nav.top.style.WebkitTouchCallout = "none", this.width && (this.nav.top.style.width = this.width), this.nav.top.style.lineHeight = "1.2", this.nav.top.style.position = "relative", this.visible || (this.nav.top.style.display = "none"), this.nav.top.ontouchstart = h.Mg, this.nav.top.ontouchmove = h.Ng, this.nav.top.ontouchend = h.Og; var e = this.rowHeaderWidth, t = r(); t.style.position = "absolute", t.style.left = "0px", t.style.width = e + "px"; var n = r(); n.style.height = "0px", n.style.boxSizing = "content-box", n.style.borderTop = "1px solid transparent", n.className = this.L("_divider_horizontal"), this.nav.dh1 = n, this.nav.left = t, t.appendChild(this.eb()), t.appendChild(n), t.appendChild(this.Pg()); var i = r(); i.style.position = "absolute", i.style.left = e + "px", i.style.width = "1px", i.style.height = this.Ce() + this.Xa() + "px", i.className = this.L("_splitter"), this.nav.divider = i; var a = r(); a.style.marginLeft = e + 1 + "px", a.style.marginRight = "1px", a.style.position = "relative", this.nav.right = a; var o = r(); o.style.position = "absolute", o.style.top = this.Ce() + "px", o.style.width = "100%", o.style.height = "0px", o.style.boxSizing = "content-box", o.style.borderBottom = "1px solid transparent", o.setAttribute("data-dh2", "true"), o.className = this.L("_divider_horizontal"), this.nav.dh2 = o, a.appendChild(l.Qg()), a.appendChild(l.Rg()), a.appendChild(o); var s = r(); s.style.clear = "left"; var d = r(); d.style.height = "1px", d.style.position = "absolute", d.style.left = "0px", d.style.right = "0px", d.style.display = "none", d.className = this.L("_divider_horizontal"), this.nav.dividerTop = d; var c = r(); c.style.height = "1px", c.style.position = "absolute", c.style.left = "0px", c.style.right = "0px", c.style.display = "none", c.className = this.L("_divider_horizontal") + " " + this.L("_divider_horizontal_frozen_bottom"), this.nav.dividerBottom = c, this.nav.top.appendChild(t), this.nav.top.appendChild(i), this.nav.top.appendChild(a), this.nav.top.appendChild(s), this.nav.top.appendChild(d), this.nav.top.appendChild(c); }, this.ia = function () { var e = this.Ce(); this.nav.corner && (this.nav.corner.style.height = e + "px"), this.divTimeScroll && (this.divTimeScroll.style.height = e + "px"), this.divNorth && (this.divNorth.style.height = e + "px"), this.nav.dh1 && this.nav.dh2 && (this.nav.dh1.style.top = e + "px", this.nav.dh2.style.top = e + "px"), this.nav.scroll.style.top = e + 1 + "px"; }, this.Sg = function () { var e = this.rowHeaderWidth; this.nav.corner && (this.nav.corner.style.width = e + "px"), this.divResScroll.style.width = e + "px", this.nav.left.style.width = e + "px", this.nav.divider.style.left = e - 1 + "px", this.nav.right.style.marginLeft = e + "px"; }, this.Tg = function () {
5202
+ return n.html = l.$a(e.name, e.html), n.Ae = e, n;
5203
+ }, this.Ng = function () { this.nav.top.dp = this, this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.L("_main")), this.nav.top.setAttribute("role", "region"), this.nav.top.setAttribute("aria-label", "scheduler"), this.nav.top.style.userSelect = "none", this.nav.top.style.webkitUserSelect = "none", this.nav.top.style.WebkitTapHighlightColor = "rgba(0,0,0,0)", this.nav.top.style.WebkitTouchCallout = "none", this.width && (this.nav.top.style.width = this.width), this.nav.top.style.lineHeight = "1.2", this.nav.top.style.position = "relative", this.visible || (this.nav.top.style.display = "none"), this.nav.top.ontouchstart = h.Og, this.nav.top.ontouchmove = h.Pg, this.nav.top.ontouchend = h.Qg; var e = this.rowHeaderWidth, t = r(); t.style.position = "absolute", t.style.left = "0px", t.style.width = e + "px"; var n = r(); n.style.height = "0px", n.style.boxSizing = "content-box", n.style.borderTop = "1px solid transparent", n.className = this.L("_divider_horizontal"), this.nav.dh1 = n, this.nav.left = t, t.appendChild(this.eb()), t.appendChild(n), t.appendChild(this.Rg()); var i = r(); i.style.position = "absolute", i.style.left = e + "px", i.style.width = "1px", i.style.height = this.Ee() + this.Xa() + "px", i.className = this.L("_splitter"), this.nav.divider = i; var a = r(); a.style.marginLeft = e + 1 + "px", a.style.position = "relative", this.nav.right = a; var o = r(); o.style.position = "absolute", o.style.top = this.Ee() + "px", o.style.width = "100%", o.style.height = "1px", o.style.boxSizing = "border-box", o.style.borderBottom = "1px solid transparent", o.setAttribute("data-dh2", "true"), o.className = this.L("_divider_horizontal"), this.nav.dh2 = o, a.appendChild(l.Sg()), a.appendChild(l.Tg()), a.appendChild(o); var s = r(); s.style.clear = "left"; var d = r(); d.style.height = "1px", d.style.position = "absolute", d.style.left = "0px", d.style.right = "0px", d.style.display = "none", d.className = this.L("_divider_horizontal"), this.nav.dividerTop = d; var c = r(); c.style.height = "1px", c.style.position = "absolute", c.style.left = "0px", c.style.right = "0px", c.style.display = "none", c.className = this.L("_divider_horizontal") + " " + this.L("_divider_horizontal_frozen_bottom"), this.nav.dividerBottom = c, this.nav.top.appendChild(t), this.nav.top.appendChild(i), this.nav.top.appendChild(a), this.nav.top.appendChild(s), this.nav.top.appendChild(d), this.nav.top.appendChild(c); }, this.ia = function () { var e = this.Ee(); this.nav.corner && (this.nav.corner.style.height = e + "px"), this.divTimeScroll && (this.divTimeScroll.style.height = e + "px"), this.divNorth && (this.divNorth.style.height = e + "px"), this.nav.dh1 && this.nav.dh2 && (this.nav.dh1.style.top = e + "px", this.nav.dh2.style.top = e + "px"), this.nav.scroll.style.top = e + 1 + "px"; }, this.Ug = function () { var e = this.rowHeaderWidth; this.nav.corner && (this.nav.corner.style.width = e + "px"), this.divResScroll.style.width = e + "px", this.nav.left.style.width = e + "px", this.nav.divider.style.left = e - 1 + "px", this.nav.right.style.marginLeft = e + "px"; }, this.Vg = function () {
5190
5204
  var e = this.rowHeaderWidth, t = this.divHeader;
5191
5205
  t.style.width = e + "px";
5192
- for (var n = l.ng(), i = n.start; i < n.end; i++) {
5206
+ for (var n = l.qg(), i = n.start; i < n.end; i++) {
5193
5207
  var a = t.rows[i];
5194
5208
  if (a) {
5195
5209
  var o = l.rowHeaderWidth;
@@ -5198,67 +5212,65 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5198
5212
  }
5199
5213
  }
5200
5214
  l.nav.resScrollSpace && (l.nav.resScrollSpace.style.width = e + "px");
5201
- }, this.$e = function () { this.Sg(), this.Tg(); }, this.eb = function () { var e = this.rowHeaderWidth, t = r(); l.nav.corner = t, t.style.width = e + "px", t.style.height = this.Ce() + "px", t.style.overflow = "hidden", t.style.position = "relative", t.oncontextmenu = function () { return !1; }, t.className = this.L("_corner"); var n = r(); return n.style.position = "absolute", n.style.top = "0px", n.style.left = "0px", n.style.right = "0px", n.style.bottom = "0px", n.className = this.L("_corner_inner"), n.innerHTML = "&nbsp;", this.divCorner = n, t.appendChild(n), t; }, this.Ce = function () { return l.timeHeaders ? l.timeHeaders.length * l.headerHeight : 0; }, this.Ug = null, this.Pg = function () {
5215
+ }, this.af = function () { this.Ug(), this.Vg(); }, this.eb = function () { var e = this.rowHeaderWidth, t = r(); l.nav.corner = t, t.style.width = e + "px", t.style.height = this.Ee() + "px", t.style.overflow = "hidden", t.style.position = "relative", t.oncontextmenu = function () { return !1; }, t.className = this.L("_corner"); var n = r(); return n.style.position = "absolute", n.style.top = "0px", n.style.left = "0px", n.style.right = "0px", n.style.bottom = "0px", n.className = this.L("_corner_inner"), n.innerHTML = "&nbsp;", this.divCorner = n, t.appendChild(n), t; }, this.Ee = function () { return l.timeHeaders ? l.timeHeaders.length * l.headerHeight : 0; }, this.Wg = null, this.Rg = function () {
5202
5216
  var e = r();
5203
5217
  e.style.width = this.rowHeaderWidth + "px", e.style.height = this.Xa() + "px", e.style.overflow = "hidden", e.style.position = "relative", e.className = l.L("_rowheader_scroll");
5204
- var i = l.ca.ug();
5205
- i && (e.style.overflowY = "auto"), e.ontouchstart = function () { n.Vg = !0; }, e.oncontextmenu = function () { return !1; }, e.onscroll = function () {
5206
- if (l.Ug && clearTimeout(l.Ug), i) {
5207
- var a = function () { var t = l.Wg() - l.nav.scroll.offsetHeight; e.scrollTop = Math.min(e.scrollTop, t), l.nav.scroll.scrollTop = e.scrollTop; };
5208
- t ? n.Vg && (l.Ug = setTimeout(a, 10)) : l.Ug = setTimeout(a, 10);
5218
+ var i = l.ca.xg();
5219
+ i && (e.style.overflowY = "auto"), e.ontouchstart = function () { n.Xg = !0; }, e.oncontextmenu = function () { return !1; }, e.onscroll = function () {
5220
+ if (l.Wg && clearTimeout(l.Wg), i) {
5221
+ var a = function () { var t = l.Yg() - l.nav.scroll.offsetHeight; e.scrollTop = Math.min(e.scrollTop, t), l.nav.scroll.scrollTop = e.scrollTop; };
5222
+ t ? n.Xg && (l.Wg = setTimeout(a, 10)) : l.Wg = setTimeout(a, 10);
5209
5223
  }
5210
5224
  else
5211
- l.Ug = setTimeout(function () { l.nav.scroll.scrollTop = e.scrollTop; }, 500);
5225
+ l.Wg = setTimeout(function () { l.nav.scroll.scrollTop = e.scrollTop; }, 500);
5212
5226
  }, e.setAttribute("role", "region"), e.setAttribute("aria-label", "scheduler rows");
5213
5227
  var a = r();
5214
- return this.divHeader = a, e.appendChild(a), this.divResScroll = e, this.De = e, e;
5215
- }, this.Xg = null, this.Yg = null, this.Zg = function () {
5216
- var e = function () { l.$g(), l.cf(); }, t = function () {
5228
+ return this.divHeader = a, e.appendChild(a), this.divResScroll = e, this.Fe = e, e;
5229
+ }, this.Zg = null, this.$g = null, this._g = function () {
5230
+ var e = function () { l.ah(), l.ff(); }, t = function () {
5217
5231
  var t = l.nav.top;
5218
5232
  if (t) {
5219
- if (!l.Xg)
5220
- return l.Xg = {}, void (l.Xg.width = t.offsetWidth);
5221
- l.Xg.width !== t.offsetWidth && (l.Xg.width = t.offsetWidth, e());
5233
+ if (!l.Zg)
5234
+ return l.Zg = {}, void (l.Zg.width = t.offsetWidth);
5235
+ l.Zg.width !== t.offsetWidth && (l.Zg.width = t.offsetWidth, e());
5222
5236
  }
5223
5237
  };
5224
- if (!l.Yg) {
5238
+ if (!l.$g) {
5225
5239
  var n = new ResizeObserver(DayPilot.debounce(t, 100));
5226
- n.observe(l.nav.top), l.Yg = n;
5240
+ n.observe(l.nav.top), l.$g = n;
5227
5241
  }
5228
- }, this.$g = function () { l.Q || (l.ma(), l._g(), l.xb.drawArea = null); }, this._g = function () { var e = l.wf; l.clearSelection(), l.wf = e, l.xf(e, { "justDraw": !0 }); }, this.Qg = function () { var e = r(); e.style.overflow = "hidden", e.style.display = "block", e.style.position = "absolute", e.style.top = "0px", e.style.width = "100%", e.style.height = this.Ce() + "px", e.style.overflow = "hidden", e.className = l.L("_timeheader_scroll"), this.divTimeScroll = e; var t = r(); return t.style.width = this.Ae() + 5e3 + "px", this.divNorth = t, e.appendChild(t), e; }, this.Xa = function () { var e = 0, t = l.heightSpec; return "Fixed" === t ? this.height ? this.height : 0 : (e = l.Wg(), "Max" === t && e > l.height ? l.height : e); }, this.Wg = function () { var e; return this.fe !== -1 ? (e = this.fe, this.fe > 0 && "auto" === l.nav.scroll.style.overflowX && (e += DayPilot.sh(l.nav.scroll) + 1)) : e = this.rowlist.length * l.eventHeight, e; }, this.Rg = function () {
5242
+ }, this.ah = function () { l.Q || (l.ma(), l.bh(), l.xb.drawArea = null); }, this.bh = function () { var e = l.zf; l.clearSelection(), l.zf = e, l.Af(e, { "justDraw": !0 }); }, this.Sg = function () {
5229
5243
  var e = r();
5230
- e.style.overflow = "auto", e.style.overflowX = "auto", e.style.overflowY = "auto", e.style.height = this.Xa() + "px", e.style.top = this.Ce() + 1 + "px",
5231
- e.style.position = "absolute", e.style.width = "100%", e.className = this.L("_scrollable"), e.oncontextmenu = function () { return !1; }, this.nav.scroll = e, this.je = r();
5232
- var t = this.je;
5233
- t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.calendar = this, t.style.position = "absolute";
5234
- var n = this.Ae();
5235
- return n > 0 && (t.style.width = n + "px"), t.onmousedown = this.ah, t.onmousemove = this.bh, t.onmouseup = this.ch, t.oncontextmenu = this.dh, t.className = this.L("_matrix"), this.divStretch = r(), this.divStretch.style.position = "absolute", this.divStretch.style.height = "1px", t.appendChild(this.divStretch), this.divCells = r(), this.divCells.style.position = "absolute", this.divCells.oncontextmenu = this.dh, t.appendChild(this.divCells), this.divLines = r(), this.divLines.style.position = "absolute", this.divLines.oncontextmenu = this.dh, t.appendChild(this.divLines), this.divSeparators = r(), this.divSeparators.style.position = "absolute", this.divSeparators.oncontextmenu = this.dh, t.appendChild(this.divSeparators), this.divRange = r(), this.divRange.style.position = "absolute", this.divRange.oncontextmenu = this.dh, t.appendChild(this.divRange), this.divEvents = r(), this.divEvents.style.position = "absolute", t.appendChild(this.divEvents), this.divShadow = r(), this.divShadow.style.position = "absolute", t.appendChild(this.divShadow), e.appendChild(t), e;
5236
- }, this.pb = function () { n.eh || (n.eh = !0, DayPilot.re(document, "mouseup", n.ee), DayPilot.re(document, "touchmove", n.fh), DayPilot.re(document, "touchend", n.gh)); }, this.hh = function () { this.nav.scroll.root = this, this.nav.scroll.onscroll = this.cf, l.ih = this.nav.scroll.scrollLeft, l.jh = this.nav.scroll.scrollTop, this.divNorth && (l.kh = this.divNorth.clientWidth); }, this.lh = {}, this.lh.step = 300, this.lh.delay = 10, this.lh.mode = "display", this.lh.layers = !1, this.Eg = function (e) {
5244
+ e.style.overflow = "hidden", e.style.display = "block", e.style.position = "absolute", e.style.top = "0px", e.style.width = "100%", e.style.height = this.Ee() + "px", e.style.overflow = "hidden", e.className = l.L("_timeheader_scroll"), this.divTimeScroll = e;
5245
+ var t = r();
5246
+ return t.style.width = this.Ce() + 5e3 + "px", this.divNorth = t,
5247
+ e.appendChild(t), e;
5248
+ }, this.Xa = function () { var e = 0, t = l.heightSpec; return "Fixed" === t ? this.height ? this.height : 0 : (e = l.Yg(), "Max" === t && e > l.height ? l.height : e); }, this.Yg = function () { var e; return this.fe !== -1 ? (e = this.fe, this.fe > 0 && "auto" === l.nav.scroll.style.overflowX && (e += DayPilot.sh(l.nav.scroll) + 1)) : e = this.rowlist.length * l.eventHeight, e; }, this.Tg = function () { var e = r(); e.style.overflow = "auto", e.style.overflowX = "auto", e.style.overflowY = "auto", e.style.height = this.Xa() + "px", e.style.top = this.Ee() + 1 + "px", e.style.position = "absolute", e.style.width = "100%", e.className = this.L("_scrollable"), e.oncontextmenu = function () { return !1; }, this.nav.scroll = e, this.je = r(); var t = this.je; t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.calendar = this, t.style.position = "absolute"; var n = this.Ce(); return n > 0 && (t.style.width = n + "px"), t.onmousedown = this.ch, t.onmousemove = this.dh, t.onmouseup = this.eh, t.oncontextmenu = this.fh, t.className = this.L("_matrix"), this.divStretch = r(), this.divStretch.style.position = "absolute", this.divStretch.style.height = "1px", t.appendChild(this.divStretch), this.divCells = r(), this.divCells.style.position = "absolute", this.divCells.oncontextmenu = this.fh, t.appendChild(this.divCells), this.divLines = r(), this.divLines.style.position = "absolute", this.divLines.oncontextmenu = this.fh, t.appendChild(this.divLines), this.divSeparators = r(), this.divSeparators.style.position = "absolute", this.divSeparators.oncontextmenu = this.fh, t.appendChild(this.divSeparators), this.divRange = r(), this.divRange.style.position = "absolute", this.divRange.oncontextmenu = this.fh, t.appendChild(this.divRange), this.divEvents = r(), this.divEvents.style.position = "absolute", t.appendChild(this.divEvents), this.divShadow = r(), this.divShadow.style.position = "absolute", t.appendChild(this.divShadow), e.appendChild(t), e; }, this.pb = function () { n.gh || (n.gh = !0, DayPilot.re(document, "mouseup", n.ee), DayPilot.re(document, "touchmove", n.hh), DayPilot.re(document, "touchend", n.ih)); }, this.jh = function () { this.nav.scroll.root = this, this.nav.scroll.onscroll = this.ff, l.kh = this.nav.scroll.scrollLeft, l.lh = this.nav.scroll.scrollTop, this.divNorth && (l.mh = this.divNorth.clientWidth); }, this.nh = {}, this.nh.step = 300, this.nh.delay = 10, this.nh.mode = "display", this.nh.layers = !1, this.Hg = function (e) {
5237
5249
  for (var t = 0, n = 0; n < e.lines.length; n++) {
5238
5250
  for (var i = e.lines[n], a = 0; a < i.length; a++) {
5239
5251
  var o = i[a];
5240
- o.part.line = n, o.part.top = t, o.part.right = o.part.left + o.part.width;
5252
+ o.part.line = n, o.part.top = t + l.rowMarginTop, o.part.right = o.part.left + o.part.width;
5241
5253
  }
5242
5254
  t += l.eventHeight;
5243
5255
  }
5244
- }, this.Te = null, this.na = function (e) {
5256
+ }, this.Ve = null, this.na = function (e) {
5245
5257
  if (!l.Q) {
5246
- var t = this.lh.step;
5247
- "display" === this.lh.mode ? this.divEvents.style.display = "none" : "visibility" === this.lh.mode && (this.divEvents.style.visibility = "hidden"), this.divEvents.setAttribute("role", "region"), this.divEvents.setAttribute("aria-label", "scheduler events");
5258
+ var t = this.nh.step;
5259
+ "display" === this.nh.mode ? this.divEvents.style.display = "none" : "visibility" === this.nh.mode && (this.divEvents.style.visibility = "hidden"), this.divEvents.setAttribute("role", "region"), this.divEvents.setAttribute("aria-label", "scheduler events");
5248
5260
  var n = "Progressive" === this.dynamicEventRendering, i = this.ne(), a = i.pixels.top, o = i.pixels.bottom;
5249
5261
  l.rowlist.filter(function (e) { var t = e.top - l.dynamicEventRenderingMargin, i = t + e.height + 2 * l.dynamicEventRenderingMargin; return !n || !(o <= t || a >= i); }).forEach(function (n) {
5250
- l.Eg(n);
5262
+ l.Hg(n);
5251
5263
  for (var i = 0; i < n.lines.length; i++)
5252
5264
  for (var a = n.lines[i], o = 0; o < a.length; o++) {
5253
5265
  var r = a[o], s = l.Ta(r);
5254
5266
  if (e && s && (t--, t <= 0))
5255
- return l.divEvents.style.visibility = "", l.divEvents.style.display = "", void (l.Te = setTimeout(function () { l.na(e); }, l.lh.delay));
5267
+ return l.divEvents.style.visibility = "", l.divEvents.style.display = "", void (l.Ve = setTimeout(function () { l.na(e); }, l.nh.delay));
5256
5268
  }
5257
5269
  }), this.divEvents.style.display = "", this.se();
5258
5270
  }
5259
- }, this.lf = function (e) {
5271
+ }, this.of = function (e) {
5260
5272
  var t = l.rowlist[e];
5261
- this.Eg(t);
5273
+ this.Hg(t);
5262
5274
  for (var n = 0; n < t.lines.length; n++)
5263
5275
  for (var i = t.lines[n], a = 0; a < i.length; a++) {
5264
5276
  var o = i[a];
@@ -5271,7 +5283,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5271
5283
  this.Na(n);
5272
5284
  }
5273
5285
  this.elements.events = [];
5274
- }, this.kf = function (e) {
5286
+ }, this.nf = function (e) {
5275
5287
  if (this.elements.events) {
5276
5288
  for (var t = this.elements.events.length, n = [], i = 0; i < t; i++) {
5277
5289
  var a = this.elements.events[i];
@@ -5280,19 +5292,19 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5280
5292
  for (var i = n.length - 1; i >= 0; i--)
5281
5293
  this.elements.events.splice(n[i], 1);
5282
5294
  }
5283
- }, this.Na = function (e) { e.remove(), e.onclick = null, e.oncontextmenu = null, e.onmouseover = null, e.onmouseout = null, e.onmousemove = null, e.onmousedown = null, e.ondblclick = null, e.event && (e.event.rendered = null, e.event = null); }, this.mh = function () {
5295
+ }, this.Na = function (e) { e.remove(), e.onclick = null, e.oncontextmenu = null, e.onmouseover = null, e.onmouseout = null, e.onmousemove = null, e.onmousedown = null, e.ondblclick = null, e.event && (e.event.rendered = null, e.event = null); }, this.oh = function () {
5284
5296
  if ("Progressive" === this.dynamicEventRendering) {
5285
5297
  if (l.dynamicEventRenderingCacheSweeping) {
5286
5298
  var e = l.dynamicEventRenderingCacheSize || 0;
5287
5299
  this.divEvents.style.display = "none";
5288
5300
  for (var t = [], n = 0, i = this.elements.events.length, a = i - 1; a >= 0; a--) {
5289
5301
  var o = this.elements.events[a];
5290
- this.nh(o.event) ? e > 0 ? (e--, t.unshift(o)) : (this.Na(o), n++) : t.unshift(o);
5302
+ this.ph(o.event) ? e > 0 ? (e--, t.unshift(o)) : (this.Na(o), n++) : t.unshift(o);
5291
5303
  }
5292
5304
  this.elements.events = t, this.divEvents.style.display = "";
5293
5305
  }
5294
5306
  }
5295
- }, this.oh = function (e) {
5307
+ }, this.qh = function (e) {
5296
5308
  for (var t = this.ne(), n = this.elements.cells.length, i = n - 1; i >= 0; i--) {
5297
5309
  var a = this.elements.cells[i];
5298
5310
  t.xStart < a.coords.x && a.coords.x <= t.xEnd && t.yStart < a.coords.y && a.coords.y <= t.yEnd || (e > 0 ? e-- : this.fb(a));
@@ -5302,7 +5314,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5302
5314
  var t = e.coords.x, n = e.coords.y;
5303
5315
  DayPilot.rfa(l.elements.cells, e), DayPilot.de(e), l.xb.cells[t + "_" + n] = null;
5304
5316
  }
5305
- }, this.ph = function () {
5317
+ }, this.rh = function () {
5306
5318
  var e = "Progressive" === this.dynamicEventRendering;
5307
5319
  if (!this.nav.scroll)
5308
5320
  return !1;
@@ -5312,17 +5324,17 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5312
5324
  for (var s = 0; s < a.lines.length; s++)
5313
5325
  for (var l = a.lines[s], d = 0; d < l.length; d++) {
5314
5326
  var c = l[d];
5315
- if (this.qh(c))
5327
+ if (this.uh(c))
5316
5328
  return !0;
5317
5329
  }
5318
5330
  }
5319
5331
  return !1;
5320
- }, this.qh = function (e) {
5332
+ }, this.uh = function (e) {
5321
5333
  if (e.rendered)
5322
5334
  return !1;
5323
5335
  var t = "Progressive" === this.dynamicEventRendering, n = this.nav.scroll.scrollLeft, i = n + this.nav.scroll.clientWidth, a = e.part.left, o = e.part.left + e.part.width;
5324
5336
  return !t || !(i <= a || n >= o);
5325
- }, this.nh = function (e) {
5337
+ }, this.ph = function (e) {
5326
5338
  if (!e.rendered)
5327
5339
  return !0;
5328
5340
  var t = this.ne(), n = t.pixels.top, i = t.pixels.bottom, a = t.pixels.left - this.dynamicEventRenderingMargin, o = t.pixels.right + this.dynamicEventRenderingMargin, r = e.part.left, s = e.part.right, d = e.part.top, c = e.part.top + l.eventHeight;
@@ -5339,7 +5351,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5339
5351
  _ = DayPilot.Util.atLeast(0, _), C = DayPilot.Util.atLeast(0, C);
5340
5352
  var P = r();
5341
5353
  P.style.position = "absolute", P.style.left = e.part.left + "px", P.style.top = c + e.part.top + "px", P.style.width = _ + "px", P.style.height = C + "px", l.eventTextWrappingEnabled || (P.style.whiteSpace = "nowrap"), P.style.overflow = "hidden", P.className = this.L("_event"), k.cssClass && DayPilot.Util.addClass(P, k.cssClass);
5342
- "number" == typeof e.part.line && DayPilot.Util.addClass(P, this.L("_event_line" + e.part.line)), this.showToolTip && (P.title = e.client.toolTip() || ""), P.onmousemove = this.rh, P.onmousedown = this.uh, P.onmouseup = this.vh, P.ontouchstart = h.wh, P.ontouchmove = h.xh, P.ontouchend = h.yh, e.client.clickEnabled() && (P.onclick = this.Me), "undefined" != typeof k.ariaLabel ? P.setAttribute("aria-label", k.ariaLabel) : P.setAttribute("aria-label", k.text), P.setAttribute("tabindex", "-1");
5354
+ "number" == typeof e.part.line && DayPilot.Util.addClass(P, this.L("_event_line" + e.part.line)), this.showToolTip && (P.title = e.client.toolTip() || ""), P.onmousemove = this.vh, P.onmousedown = this.wh, P.onmouseup = this.xh, P.ontouchstart = h.yh, P.ontouchmove = h.zh, P.ontouchend = h.Ah, e.client.clickEnabled() && (P.onclick = this.Oe), "undefined" != typeof k.ariaLabel ? P.setAttribute("aria-label", k.ariaLabel) : P.setAttribute("aria-label", k.text), P.setAttribute("tabindex", "-1");
5343
5355
  var S = r();
5344
5356
  S.className = l.L("_event_inner"), k.backColor && (S.style.background = k.backColor), k.fontColor && (S.style.color = k.fontColor), "darker" === k.borderColor && k.backColor ? S.style.borderColor = DayPilot.ColorUtil.darker(k.backColor, 2) : S.style.borderColor = k.borderColor, k.backImage && (S.style.backgroundImage = "url(" + k.backImage + ")", k.backRepeat && (S.style.backgroundRepeat = k.backRepeat)), P.appendChild(S);
5345
5357
  var M = e.start().getTime() === e.part.start.getTime(), T = e.rawend().getTime() === e.part.end.getTime();
@@ -5357,12 +5369,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5357
5369
  I.push({ v: "Hover", w: 17, h: 17, top: e + 2, right: 2, css: l.L("_event_delete"), onClick: function (e) { l.ya(e.source); } });
5358
5370
  }
5359
5371
  }(), k.areas && (I = I.concat(k.areas)), DayPilot.Areas.attach(P, e, { areas: I }), this.elements.events.push(P), o.appendChild(P), e.rendered = !0, !0;
5360
- }, this.$a = function (e, t) { return l.ca.da() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.mf = function () {
5372
+ }, this.$a = function (e, t) { return l.ca.da() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.pf = function () {
5361
5373
  for (var e = 0; e < this.elements.events.length; e++) {
5362
5374
  var t = this.elements.events[e], n = t.event, i = n.part.dayIndex, a = l.rowlist[i], o = a.top, r = o + n.part.top, s = a.height, d = l.eventHeight, c = !1;
5363
5375
  n.part.top + d > s && (d = Math.max(0, s - n.part.top), c = !0), t.style.top = r + "px", t.style.height = d + "px";
5364
5376
  }
5365
- }, this.zh = function (e) {
5377
+ }, this.Bh = function (e) {
5366
5378
  if (!e)
5367
5379
  return null;
5368
5380
  for (var t = 0; t < l.elements.events.length; t++) {
@@ -5371,145 +5383,145 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5371
5383
  return n;
5372
5384
  }
5373
5385
  return null;
5374
- }, this.Jf = function (e) {
5375
- var t = l.events.Of(e.data);
5386
+ }, this.Mf = function (e) {
5387
+ var t = l.events.Rf(e.data);
5376
5388
  if (!t)
5377
5389
  return null;
5378
5390
  var n = l.rowlist[t.part.dayIndex];
5379
- return l.Eg(n), l.Ta(t, { "forced": !0 }), l.zh(t);
5380
- }, this.rh = function (e) {
5391
+ return l.Hg(n), l.Ta(t, { "forced": !0 }), l.Bh(t);
5392
+ }, this.vh = function (e) {
5381
5393
  for (var t = this; t && !t.event;)
5382
5394
  t = t.parentNode;
5383
5395
  t.event;
5384
- l.Ah(t, e), l.Qe(e);
5385
- }, this.Oe = {}, this.uh = function (e) { l.Qe(e); var t = DayPilot.Util.mouseButton(e); e.preventDefault(), e.stopPropagation(), t.left && ("w-resize" === this.style.cursor || "e-resize" === this.style.cursor ? (n.Ne = !0, n.dg = this, n.hg = this.event, n.Bh = DayPilot.mc(e), o().style.cursor = this.style.cursor) : ("move" === this.style.cursor || this.event.client.moveEnabled()) && l.Ch(this, e)); }, this.vh = function (e) { DayPilot.Util.mouseButton(e).right && l.xa.call(this, e); }, this.Ch = function (e, t) { var n = l.Oe; l.Qe(t), n.Dh = !0, n.Oe = e, n.kg = e.event, n.Bh = DayPilot.mc(t), n.Eh = DayPilot.mo3(e, t).x, n.cg = l.getDate(l.coords.x, !0); }, this.Fh = {};
5386
- var h = l.Fh;
5387
- "undefined" == typeof DayPilot.Global.touch && (DayPilot.Global.touch = {}), DayPilot.Global.touch.active = !1, DayPilot.Global.touch.start = !1, h.Ff = [], h.wh = function (t) {
5396
+ l.Ch(t, e), l.Se(e);
5397
+ }, this.Qe = {}, this.wh = function (e) { l.Se(e); var t = DayPilot.Util.mouseButton(e); e.preventDefault(), e.stopPropagation(), t.left && ("w-resize" === this.style.cursor || "e-resize" === this.style.cursor ? (n.Pe = !0, n.gg = this, n.kg = this.event, n.Dh = DayPilot.mc(e), o().style.cursor = this.style.cursor) : ("move" === this.style.cursor || this.event.client.moveEnabled()) && l.Eh(this, e)); }, this.xh = function (e) { DayPilot.Util.mouseButton(e).right && l.xa.call(this, e); }, this.Eh = function (e, t) { var n = l.Qe; l.Se(t), n.Fh = !0, n.Qe = e, n.ng = e.event, n.Dh = DayPilot.mc(t), n.Gh = DayPilot.mo3(e, t).x, n.fg = l.getDate(l.coords.x, !0); }, this.Hh = {};
5398
+ var h = l.Hh;
5399
+ "undefined" == typeof DayPilot.Global.touch && (DayPilot.Global.touch = {}), DayPilot.Global.touch.active = !1, DayPilot.Global.touch.start = !1, h.If = [], h.yh = function (t) {
5388
5400
  if (!DayPilot.Global.touch.active && !DayPilot.Global.touch.start) {
5389
- t.stopPropagation(), h.Gh(), DayPilot.Global.touch.start = !0, DayPilot.Global.touch.active = !1;
5401
+ t.stopPropagation(), h.Ih(), DayPilot.Global.touch.start = !0, DayPilot.Global.touch.active = !1;
5390
5402
  var n = this;
5391
- l.coords = h.Hh(t);
5403
+ l.coords = h.Jh(t);
5392
5404
  var i = l.tapAndHoldTimeout;
5393
- h.Ff.push(setTimeout(function () {
5405
+ h.If.push(setTimeout(function () {
5394
5406
  DayPilot.Global.touch.active = !0, DayPilot.Global.touch.start = !1, t.preventDefault();
5395
5407
  var i = n.event;
5396
5408
  switch (l.eventTapAndHoldHandling) {
5397
5409
  case "Move": if (i.client.moveEnabled()) {
5398
5410
  var a = e(t);
5399
- h.Ch(n, a);
5411
+ h.Eh(n, a);
5400
5412
  }
5401
5413
  }
5402
5414
  }, i));
5403
5415
  }
5404
- }, h.xh = function (e) { h.Gh(), DayPilot.Global.touch.start = !1; }, h.yh = function (e) {
5416
+ }, h.zh = function (e) { h.Ih(), DayPilot.Global.touch.start = !1; }, h.Ah = function (e) {
5405
5417
  if (!DayPilot.Util.isMouseEvent(e)) {
5406
- if (h.Gh(), DayPilot.Global.touch.start) {
5418
+ if (h.Ih(), DayPilot.Global.touch.start) {
5407
5419
  DayPilot.Global.touch.start = !1, e.preventDefault(), e.stopPropagation();
5408
5420
  var t = this;
5409
- setTimeout(function () { l.Pe(t, e); });
5421
+ setTimeout(function () { l.Re(t, e); });
5410
5422
  }
5411
5423
  setTimeout(function () { DayPilot.Global.touch.start = !1, DayPilot.Global.touch.active = !1; }, 500);
5412
5424
  }
5413
- }, h.Mg = function (e) {
5425
+ }, h.Og = function (e) {
5414
5426
  if (!(DayPilot.Global.touch.active || DayPilot.Global.touch.start || e.touches.length > 1 || "Disabled" === l.timeRangeSelectedHandling)) {
5415
- h.Gh(), DayPilot.Global.touch.start = !0, DayPilot.Global.touch.active = !1;
5427
+ h.Ih(), DayPilot.Global.touch.start = !0, DayPilot.Global.touch.active = !1;
5416
5428
  var t = l.tapAndHoldTimeout;
5417
- h.Ff.push(setTimeout(function () { DayPilot.Global.touch.active = !0, DayPilot.Global.touch.start = !1, e.preventDefault(), l.coords = h.Hh(e), h.Ih = l.Jh(); }, t));
5418
- l.coords = h.Hh(e);
5429
+ h.If.push(setTimeout(function () { DayPilot.Global.touch.active = !0, DayPilot.Global.touch.start = !1, e.preventDefault(), l.coords = h.Jh(e), h.Kh = l.Lh(); }, t));
5430
+ l.coords = h.Jh(e);
5419
5431
  }
5420
- }, h.Ng = function (e) {
5421
- if (h.Gh(), DayPilot.Global.touch.start = !1, n.dg)
5422
- return e.preventDefault(), void h.Kh();
5432
+ }, h.Pg = function (e) {
5433
+ if (h.Ih(), DayPilot.Global.touch.start = !1, n.gg)
5434
+ return e.preventDefault(), void h.Mh();
5423
5435
  if (DayPilot.Global.touch.active) {
5424
- if (e.preventDefault(), l.coords = h.Hh(e), n.Oe)
5425
- return void h.Lh();
5426
- if (h.Ih) {
5427
- var t = h.Ih;
5428
- t.end = { x: Math.floor(l.coords.x / l.cellWidth), "time": l.getDate(l.coords.x, !0) }, l.xf(t);
5436
+ if (e.preventDefault(), l.coords = h.Jh(e), n.Qe)
5437
+ return void h.Nh();
5438
+ if (h.Kh) {
5439
+ var t = h.Kh;
5440
+ t.end = { x: Math.floor(l.coords.x / l.cellWidth), "time": l.getDate(l.coords.x, !0) }, l.Af(t);
5429
5441
  }
5430
5442
  }
5431
- }, h.debug = function (e) { }, h.Og = function (e) {
5432
- h.Gh();
5443
+ }, h.debug = function (e) { }, h.Qg = function (e) {
5444
+ h.Ih();
5433
5445
  if (DayPilot.Global.touch.active) {
5434
- if (n.Oe) {
5446
+ if (n.Qe) {
5435
5447
  e.preventDefault();
5436
- var t = n.kg;
5437
- if (l !== n.lg.calendar)
5448
+ var t = n.ng;
5449
+ if (l !== n.og.calendar)
5438
5450
  return;
5439
- var i = n.lg.start, a = n.lg.end, r = n.lg.row.id;
5440
- DayPilot.Util.removeClass(n.Oe, l.L("_event_moving_source")), DayPilot.de(n.lg), n.lg.calendar = null, o().style.cursor = "", n.Oe = null, n.kg = null, n.lg = null, l.M(t, i, a, r);
5451
+ var i = n.og.start, a = n.og.end, r = n.og.row.id;
5452
+ DayPilot.Util.removeClass(n.Qe, l.L("_event_moving_source")), DayPilot.de(n.og), n.og.calendar = null, o().style.cursor = "", n.Qe = null, n.ng = null, n.og = null, l.M(t, i, a, r);
5441
5453
  }
5442
- if (h.Ih) {
5443
- var s = h.Ih;
5444
- h.Ih = null;
5454
+ if (h.Kh) {
5455
+ var s = h.Kh;
5456
+ h.Kh = null;
5445
5457
  var d = l.elements.range2;
5446
- d && d.overlapping ? l.clearSelection() : l.tf(s);
5458
+ d && d.overlapping ? l.clearSelection() : l.wf(s);
5447
5459
  }
5448
5460
  }
5449
5461
  else if (DayPilot.Global.touch.start) {
5450
5462
  if (l.coords.x < l.getScrollX())
5451
5463
  return;
5452
- var s = l.Jh();
5453
- l.xf(s);
5464
+ var s = l.Lh();
5465
+ l.Af(s);
5454
5466
  var d = l.elements.range2;
5455
- d && d.overlapping ? l.clearSelection() : l.tf(s);
5467
+ d && d.overlapping ? l.clearSelection() : l.wf(s);
5456
5468
  }
5457
5469
  setTimeout(function () { DayPilot.Global.touch.start = !1, DayPilot.Global.touch.active = !1; }, 500);
5458
- }, h.Gh = function () {
5459
- for (var e = 0; e < h.Ff.length; e++)
5460
- clearTimeout(h.Ff[e]);
5461
- h.Ff = [];
5462
- }, h.Hh = function (e) { function t(e, t, n) { var i = DayPilot.abs(n); return { x: e - i.x, y: t - i.y, toString: function () { return "x: " + this.x + ", y:" + this.y; } }; } var n = l.je, i = e.touches ? e.touches[0] : e; return t(i.pageX, i.pageY, n); }, h.Ch = function (e, t) { n.Oe = e, n.kg = e.event, n.Bh = t; var i = DayPilot.abs(e); n.Eh = t.x - i.x, n.cg = l.getDate(l.coords.x, !0), n.lg = l.ba(e), l.jg(); }, h.Kh = function () {
5463
- if (!n.gg) {
5464
- var e = n.dg;
5465
- n.gg = l.ba(e);
5466
- }
5467
- l.ig();
5468
- }, h.Lh = function () {
5469
- if (!n.lg) {
5470
- var e = n.Oe;
5471
- n.lg = l.ba(e);
5472
- }
5473
- n.lg.calendar.jg();
5474
- }, this.Ah = function (e, t) {
5470
+ }, h.Ih = function () {
5471
+ for (var e = 0; e < h.If.length; e++)
5472
+ clearTimeout(h.If[e]);
5473
+ h.If = [];
5474
+ }, h.Jh = function (e) { function t(e, t, n) { var i = DayPilot.abs(n); return { x: e - i.x, y: t - i.y, toString: function () { return "x: " + this.x + ", y:" + this.y; } }; } var n = l.je, i = e.touches ? e.touches[0] : e; return t(i.pageX, i.pageY, n); }, h.Eh = function (e, t) { n.Qe = e, n.ng = e.event, n.Dh = t; var i = DayPilot.abs(e); n.Gh = t.x - i.x, n.fg = l.getDate(l.coords.x, !0), n.og = l.ba(e), l.mg(); }, h.Mh = function () {
5475
+ if (!n.jg) {
5476
+ var e = n.gg;
5477
+ n.jg = l.ba(e);
5478
+ }
5479
+ l.lg();
5480
+ }, h.Nh = function () {
5481
+ if (!n.og) {
5482
+ var e = n.Qe;
5483
+ n.og = l.ba(e);
5484
+ }
5485
+ n.og.calendar.mg();
5486
+ }, this.Ch = function (e, t) {
5475
5487
  var i = this.eventResizeMargin, a = e;
5476
5488
  if ("undefined" != typeof n) {
5477
5489
  var o = DayPilot.mo3(e, t);
5478
- if (o && (l.eventOffset = o, !n.dg && !n.Oe)) {
5490
+ if (o && (l.eventOffset = o, !n.gg && !n.Qe)) {
5479
5491
  var r = a.event.part.start.toString() === a.event.start().toString(), s = a.event.part.end.toString() === a.event.rawend().toString();
5480
- o.x <= i && a.event.client.resizeEnabled() ? r ? (e.style.cursor = "w-resize", e.dpBorder = "left") : e.style.cursor = "not-allowed" : e.offsetWidth - o.x <= i && a.event.client.resizeEnabled() ? s ? (e.style.cursor = "e-resize", e.dpBorder = "right") : e.style.cursor = "not-allowed" : n.dg || n.Oe || (a.event.client.clickEnabled() ? e.style.cursor = "pointer" : e.style.cursor = "default");
5492
+ o.x <= i && a.event.client.resizeEnabled() ? r ? (e.style.cursor = "w-resize", e.dpBorder = "left") : e.style.cursor = "not-allowed" : e.offsetWidth - o.x <= i && a.event.client.resizeEnabled() ? s ? (e.style.cursor = "e-resize", e.dpBorder = "right") : e.style.cursor = "not-allowed" : n.gg || n.Qe || (a.event.client.clickEnabled() ? e.style.cursor = "pointer" : e.style.cursor = "default");
5481
5493
  }
5482
5494
  }
5483
- }, this.yf = function () { var e = l.Le(); return l.days * (1440 / e); }, this.uf = function (e) {
5484
- var e = e || n.Ih || l.wf;
5495
+ }, this.Bf = function () { var e = l.Ne(); return l.days * (1440 / e); }, this.xf = function (e) {
5496
+ var e = e || n.Kh || l.zf;
5485
5497
  if (!e)
5486
5498
  return null;
5487
5499
  var t = l.rowlist[e.start.y];
5488
5500
  if (!t)
5489
5501
  return null;
5490
5502
  var i, a, o = e, r = o.end.time > o.start.time, s = t.id, d = r ? o.start.x : o.end.x, c = r ? o.end.x : o.start.x, u = l.snapToGrid;
5491
- u ? (i = l.Je(d).start, a = l.Je(c).end) : r ? (i = o.start.time, a = o.end.time) : (i = o.end.time, a = o.start.time);
5503
+ u ? (i = l.Le(d).start, a = l.Le(c).end) : r ? (i = o.start.time, a = o.end.time) : (i = o.end.time, a = o.start.time);
5492
5504
  var h = new DayPilot.Selection(i, a, s, l);
5493
5505
  return h.allowed = !e.div || !e.div.overlapping, h;
5494
- }, this.Ye = function () {
5506
+ }, this.$e = function () {
5495
5507
  this.xb.timeHeader = {}, l.elements.timeHeader.length > 0 && (l.elements.timeHeader = []);
5496
5508
  var e = r();
5497
5509
  e.style.position = "relative", this.nav.timeHeader = e;
5498
5510
  for (var t = 0; t < this.timeHeader.length; t++)
5499
5511
  for (var n = this.timeHeader[t], i = 0; i < n.length; i++)
5500
- this.Mh(i, t);
5512
+ this.Oh(i, t);
5501
5513
  var a = this.divNorth;
5502
5514
  1 === a.childNodes.length ? a.replaceChild(e, a.childNodes[0]) : (a.innerHTML = "", a.appendChild(e));
5503
- var o = this.Ae();
5515
+ var o = this.Ce();
5504
5516
  a.style.width = o + 5e3 + "px", o > 0 && (this.divStretch.style.width = o + "px");
5505
- }, this.He = function (e, t) {
5506
- var n = null, i = this.ca.Ge(), t = t || this.cellGroupBy, a = e.start;
5517
+ }, this.Je = function (e, t) {
5518
+ var n = null, i = this.ca.Ie(), t = t || this.cellGroupBy, a = e.start;
5507
5519
  switch (t) {
5508
5520
  case "Minute":
5509
5521
  n = a.toString("m");
5510
5522
  break;
5511
5523
  case "Hour":
5512
- n = "Clock12Hours" === l.ca.Nh() ? a.toString("h tt", i) : a.toString("H", i);
5524
+ n = "Clock12Hours" === l.ca.Ph() ? a.toString("h tt", i) : a.toString("H", i);
5513
5525
  break;
5514
5526
  case "Day":
5515
5527
  n = a.toString(i.datePattern);
@@ -5531,12 +5543,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5531
5543
  break;
5532
5544
  case "Cell":
5533
5545
  var o = (e.end.ticks - e.start.ticks) / 6e4;
5534
- n = this.Oh(a, o);
5546
+ n = this.Qh(a, o);
5535
5547
  break;
5536
5548
  default: throw new DayPilot.Exception("Invalid groupBy value: " + t);
5537
5549
  }
5538
5550
  return n;
5539
- }, this.Oh = function (e, t) { var n = this.ca.Ge(), t = t || this.cellDuration; return t < 1 ? e.toString("ss") : t < 60 ? e.toString("mm") : t < 1440 ? "Clock12Hours" === l.ca.Nh() ? e.toString("h tt", n) : e.toString("H", n) : t < 10080 ? e.toString("d") : 10080 === t ? 1 === f.ea() ? e.weekNumberISO() : e.weekNumber() : e.toString("MMMM yyyy", n); }, this.Fe = function (e, t, n) {
5551
+ }, this.Qh = function (e, t) { var n = this.ca.Ie(), t = t || this.cellDuration; return t < 1 ? e.toString("ss") : t < 60 ? e.toString("mm") : t < 1440 ? "Clock12Hours" === l.ca.Ph() ? e.toString("h tt", n) : e.toString("H", n) : t < 10080 ? e.toString("d") : 10080 === t ? 1 === f.ea() ? e.weekNumberISO() : e.weekNumber() : e.toString("MMMM yyyy", n); }, this.He = function (e, t, n) {
5540
5552
  var i, a = l.startDate.addDays(l.days);
5541
5553
  t = t || this.cellGroupBy;
5542
5554
  var o = 60;
@@ -5574,47 +5586,47 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5574
5586
  i = a;
5575
5587
  break;
5576
5588
  case "Cell":
5577
- var s = this.Ke(e);
5589
+ var s = this.Me(e);
5578
5590
  s.current && (i = s.current.end);
5579
5591
  break;
5580
5592
  default: throw n ? new DayPilot.Exception("Invalid scale value: " + t) : new DayPilot.Exception("Invalid groupBy value: " + t);
5581
5593
  }
5582
5594
  return i.getTime() > a.getTime() && (i = a), i;
5583
- }, this.Mh = function (e, t) { var n = this.nav.timeHeader, i = this.timeHeader[t][e], a = t < this.timeHeader.length - 1, o = i.left, s = i.width, d = t * l.headerHeight, c = l.headerHeight, u = r(); u.style.position = "absolute", u.style.top = d + "px", u.style.left = o + "px", u.style.width = s + "px", u.style.height = c + "px", i.toolTip && (u.title = i.toolTip), u.setAttribute("aria-hidden", "true"), i.cssClass && DayPilot.Util.addClass(u, i.cssClass), u.style.userSelect = "none", u.style.webkitUserSelect = "none", u.oncontextmenu = function () { return !1; }, u.cell = {}, u.cell.start = i.start, u.cell.end = i.end, u.cell.level = t, u.cell.th = i, u.onclick = this.yg, u.oncontextmenu = this.zg, DayPilot.re(u, DayPilot.touch.start, function (e) { e.stopPropagation(); }), u.style.overflow = "hidden", l.timeHeaderTextWrappingEnabled || (u.style.whiteSpace = "nowrap"); var h = r(); h.innerHTML = l.$a(i.text, i.innerHTML), i.backColor && (h.style.background = i.backColor), i.fontColor && (h.style.color = i.fontColor); var f = this.L("_timeheadercol"), v = this.L("_timeheadercol_inner"); a && (f = this.L("_timeheadergroup"), v = this.L("_timeheadergroup_inner")), DayPilot.Util.addClass(u, f), DayPilot.Util.addClass(h, v), DayPilot.Util.addClass(u, l.L("_timeheader_cell")), DayPilot.Util.addClass(h, l.L("_timeheader_cell_inner")), u.appendChild(h), this.xb.timeHeader[e + "_" + t] = u, this.elements.timeHeader.push(u), n.appendChild(u); }, this.$f = function () { l.rowlist.forEach(function (e) { var t = e.getHeight(); e.height !== t && (l.jf = !0), e.height = t; }), l.jf && (l.xb.drawArea = null); }, this.Ze = function () {
5595
+ }, this.Oh = function (e, t) { var n = this.nav.timeHeader, i = this.timeHeader[t][e], a = t < this.timeHeader.length - 1, o = i.left, s = i.width, d = t * l.headerHeight, c = l.headerHeight, u = r(); u.style.position = "absolute", u.style.top = d + "px", u.style.left = o + "px", u.style.width = s + "px", u.style.height = c + "px", i.toolTip && (u.title = i.toolTip), u.setAttribute("aria-hidden", "true"), i.cssClass && DayPilot.Util.addClass(u, i.cssClass), u.style.userSelect = "none", u.style.webkitUserSelect = "none", u.oncontextmenu = function () { return !1; }, u.cell = {}, u.cell.start = i.start, u.cell.end = i.end, u.cell.level = t, u.cell.th = i, u.onclick = this.Bg, u.oncontextmenu = this.Cg, DayPilot.re(u, DayPilot.touch.start, function (e) { e.stopPropagation(); }), u.style.overflow = "hidden", l.timeHeaderTextWrappingEnabled || (u.style.whiteSpace = "nowrap"); var h = r(); h.innerHTML = l.$a(i.text, i.innerHTML), i.backColor && (h.style.background = i.backColor), i.fontColor && (h.style.color = i.fontColor); var f = this.L("_timeheadercol"), v = this.L("_timeheadercol_inner"); a && (f = this.L("_timeheadergroup"), v = this.L("_timeheadergroup_inner")), DayPilot.Util.addClass(u, f), DayPilot.Util.addClass(h, v), DayPilot.Util.addClass(u, l.L("_timeheader_cell")), DayPilot.Util.addClass(h, l.L("_timeheader_cell_inner")), u.appendChild(h), this.xb.timeHeader[e + "_" + t] = u, this.elements.timeHeader.push(u), n.appendChild(u); }, this.bg = function () { l.rowlist.forEach(function (e) { var t = e.getHeight() + l.rowMarginTop + l.rowMarginBottom; e.height !== t && (l.mf = !0), e.height = t; }), l.mf && (l.xb.drawArea = null); }, this._e = function () {
5584
5596
  l.rowlist.forEach(function (e) {
5585
5597
  var t = l.divHeader;
5586
5598
  if (t) {
5587
5599
  var n = e.index;
5588
5600
  if (t.rows[n]) {
5589
5601
  var i = t.rows[n];
5590
- l.pg && (i.style.top = e.top + "px");
5602
+ l.sg && (i.style.top = e.top + "px");
5591
5603
  var a = e.height;
5592
5604
  i && i.firstChild && parseInt(i.firstChild.style.height, 10) !== a && (i.firstChild.style.height = a + "px");
5593
5605
  }
5594
5606
  }
5595
- }), l.pg && l.nav.resScrollSpace && (l.nav.resScrollSpace.style.top = l.fe + "px");
5596
- }, this.ah = function (e) {
5607
+ }), l.sg && l.nav.resScrollSpace && (l.nav.resScrollSpace.style.top = l.fe + "px");
5608
+ }, this.ch = function (e) {
5597
5609
  if (!DayPilot.Global.touch.start && !DayPilot.Global.touch.active) {
5598
- n.Ph, 1, l.Qe(e);
5610
+ n.Rh, 1, l.Se(e);
5599
5611
  var t = DayPilot.Util.mouseButton(e);
5600
- if (l.Qh())
5612
+ if (l.Sh())
5601
5613
  return !1;
5602
5614
  if (t.middle || t.right)
5603
5615
  return !1;
5604
- if (l.Rh(l.coords))
5616
+ if (l.Th(l.coords))
5605
5617
  return !1;
5606
5618
  var i = t.left ? "left" : t.right ? "right" : t.middle ? "middle" : "unknown";
5607
- return l.Sh = i, n.Ih = l.Jh(), n.Ih && (n.Th = l), !1;
5619
+ return l.Uh = i, n.Kh = l.Lh(), n.Kh && (n.Vh = l), !1;
5608
5620
  }
5609
- }, this.Jh = function () { var e = {}, t = l.Ie(l.coords.x).x, n = l.getDate(l.coords.x, !0); return e.start = { y: l.Ef(l.coords.y).i, x: t, "time": n }, e.end = { x: t, "time": n }, e.calendar = l, l.xf(e), e; }, this.ch = function (e) {
5610
- if (l.Oe = {}, l.wf) {
5621
+ }, this.Lh = function () { var e = {}, t = l.Ke(l.coords.x).x, n = l.getDate(l.coords.x, !0); return e.start = { y: l.Hf(l.coords.y).i, x: t, "time": n }, e.end = { x: t, "time": n }, e.calendar = l, l.Af(e), e; }, this.eh = function (e) {
5622
+ if (l.Qe = {}, l.zf) {
5611
5623
  if (DayPilot.Util.mouseButton(e).left) {
5612
- var t = l.wf;
5613
- if (l.Rh(l.coords)) {
5624
+ var t = l.zf;
5625
+ if (l.Th(l.coords)) {
5614
5626
  var i = function (e) {
5615
5627
  return function () {
5616
- n.Ph = null;
5617
- var t = l.uf(e);
5628
+ n.Rh = null;
5629
+ var t = l.xf(e);
5618
5630
  if (t) {
5619
5631
  var i = {};
5620
5632
  i.start = t.start, i.end = t.end, i.resource = t.resource, i.preventDefault = function () { i.preventDefault.value = !0; }, "function" == typeof l.onTimeRangeClick && l.onTimeRangeClick(i), i.preventDefault.value || "function" == typeof l.onTimeRangeClicked && l.onTimeRangeClicked(i);
@@ -5625,32 +5637,32 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5625
5637
  }
5626
5638
  }
5627
5639
  }
5628
- }, this.Qh = function () { return !!(n.dg || n.Oe || n.Ih) || !!l.Oe.Dh; }, this.dragInProgress = function () { return l.Qh(); }, this.Qe = function (e) { var t = DayPilot.mo3(l.je, e); t = t || {}, t.stamp = t.x + "_" + t.y, l.coords && l.coords.stamp === t.stamp || (l.coords = t); }, this.bh = function (e) {
5640
+ }, this.Sh = function () { return !!(n.gg || n.Qe || n.Kh) || !!l.Qe.Fh; }, this.dragInProgress = function () { return l.Sh(); }, this.Se = function (e) { var t = DayPilot.mo3(l.je, e); t = t || {}, t.stamp = t.x + "_" + t.y, l.coords && l.coords.stamp === t.stamp || (l.coords = t); }, this.dh = function (e) {
5629
5641
  if (!DayPilot.Global.touch.active) {
5630
5642
  var t = DayPilot.mc(e);
5631
- if (l.Qe(e), l.Oe.Dh) {
5632
- DayPilot.distance(l.Oe.Bh, t) > 2 && (DayPilot.Util.copyProps(l.Oe, n), o().style.cursor = "move", l.Oe = {});
5643
+ if (l.Se(e), l.Qe.Fh) {
5644
+ DayPilot.distance(l.Qe.Dh, t) > 2 && (DayPilot.Util.copyProps(l.Qe, n), o().style.cursor = "move", l.Qe = {});
5633
5645
  }
5634
- n.dg && n.hg.calendar === l ? (n.dg.event || (n.dg.event = n.hg), l.Uh()) : n.kg ? l.Vh() : n.Ih && n.Ih.calendar === l && (n.Ih.moved = !0, l.Wh());
5646
+ n.gg && n.kg.calendar === l ? (n.gg.event || (n.gg.event = n.kg), l.Wh()) : n.ng ? l.Xh() : n.Kh && n.Kh.calendar === l && (n.Kh.moved = !0, l.Yh());
5635
5647
  }
5636
- }, this.Wh = function () { var e = n.Ih, t = l.Ie(l.coords.x).x, i = l.getDate(l.coords.x, !0); e.end = { x: t, "time": i }, l.xf(e); }, this.Uh = function () { n.gg || (n.gg = l.ba(n.dg)), l.ig(); }, this.Vh = function () {
5637
- if (!n.lg) {
5638
- DayPilot.Util.addClass(n.Oe, l.L("_event_moving_source"));
5639
- var e = n.kg;
5640
- n.lg = l.ba(e);
5648
+ }, this.Yh = function () { var e = n.Kh, t = l.Ke(l.coords.x).x, i = l.getDate(l.coords.x, !0); e.end = { x: t, "time": i }, l.Af(e); }, this.Wh = function () { n.jg || (n.jg = l.ba(n.gg)), l.lg(); }, this.Xh = function () {
5649
+ if (!n.og) {
5650
+ DayPilot.Util.addClass(n.Qe, l.L("_event_moving_source"));
5651
+ var e = n.ng;
5652
+ n.og = l.ba(e);
5641
5653
  }
5642
- l.jg();
5643
- }, this.dh = function (e) { return e.cancelBubble = !0, !1; }, this.Rh = function (e) {
5644
- var t = l.wf;
5654
+ l.mg();
5655
+ }, this.fh = function (e) { return e.cancelBubble = !0, !1; }, this.Th = function (e) {
5656
+ var t = l.zf;
5645
5657
  if (!t || !t.start || !t.end)
5646
5658
  return !1;
5647
- var n = this.Hf(t.start.y), i = t.start.x < t.end.x, a = (i ? t.start.x : t.end.x) * this.cellWidth, o = (i ? t.end.x : t.start.x) * this.cellWidth + this.cellWidth, r = n.top, s = n.bottom;
5659
+ var n = this.Kf(t.start.y), i = t.start.x < t.end.x, a = (i ? t.start.x : t.end.x) * this.cellWidth, o = (i ? t.end.x : t.start.x) * this.cellWidth + this.cellWidth, r = n.top, s = n.bottom;
5648
5660
  return e.x >= a && e.x <= o && e.y >= r && e.y <= s;
5649
- }, this.xf = function (e) {
5661
+ }, this.Af = function (e) {
5650
5662
  function t(e) {
5651
5663
  var t, n, o, s, d = e.end.time > e.start.time, c = e.start.y, u = e.start.time && e.end.time;
5652
5664
  if (i || !u) {
5653
- var h = d ? e.start.x : e.end.x, f = d ? e.end.x : e.start.x, v = l.Je(h), p = l.Je(f);
5665
+ var h = d ? e.start.x : e.end.x, f = d ? e.end.x : e.start.x, v = l.Le(h), p = l.Le(f);
5654
5666
  t = v.left, n = p.left + p.width;
5655
5667
  }
5656
5668
  else
@@ -5663,33 +5675,33 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5663
5675
  }
5664
5676
  return g.className = l.L("_shadow"), g.firstChild.innerHTML = "", g.style.left = t + "px", g.style.top = a[c].top + "px", g.style.width = m + "px", g.style.height = a[c].height - 1 + "px", g.calendar = l, l.elements.range2 = g, g;
5665
5677
  }
5666
- if (e = e || n.Ih) {
5678
+ if (e = e || n.Kh) {
5667
5679
  var i = l.snapToGrid, a = l.rowlist;
5668
5680
  t(e);
5669
5681
  }
5670
- }, this.Xh = function (e) { return { "start": { "x": e.start.x, "y": e.start.y, "time": e.start.time }, "end": { "x": e.end.x, "time": e.end.time }, "calendar": e.calendar, "args": e.args }; }, this.Ff = {}, this.Ff.na = null, this.Ff.drawCells = null, this.Ff.drawRows = null, this.Ff.click = null, this.Ff.resClick = [], this.Ff.updateFloats = null, this.cf = function () {
5682
+ }, this.Zh = function (e) { return { "start": { "x": e.start.x, "y": e.start.y, "time": e.start.time }, "end": { "x": e.end.x, "time": e.end.time }, "calendar": e.calendar, "args": e.args }; }, this.If = {}, this.If.na = null, this.If.drawCells = null, this.If.drawRows = null, this.If.click = null, this.If.resClick = [], this.If.updateFloats = null, this.ff = function () {
5671
5683
  if (!l.Q) {
5672
- l.af();
5684
+ l.df();
5673
5685
  var e = l.nav.scroll;
5674
- if (l.ih = e.scrollLeft, l.jh = e.scrollTop, l.kh = e.clientWidth, l.divTimeScroll && (l.divTimeScroll.scrollLeft = l.ih), t && n.Vg ? i() : l.divResScroll.scrollTop = l.jh, l.progressiveRowRendering && (l.Ff.drawRows && (clearTimeout(l.Ff.drawRows), l.Ff.drawRows = null), l.scrollDelayRows > 0 ? l.Ff.drawRows = setTimeout(function () { l.sg(); }, l.scrollDelayRows) : l.sg()), l.Ff.drawCells && (clearTimeout(l.Ff.drawCells), l.Ff.drawCells = null), l.scrollDelayCells > 0)
5675
- l.Ff.drawCells = setTimeout(l.Yh(), l.scrollDelayCells);
5686
+ if (l.kh = e.scrollLeft, l.lh = e.scrollTop, l.mh = e.clientWidth, l.divTimeScroll && (l.divTimeScroll.scrollLeft = l.kh), t && n.Xg ? i() : l.divResScroll.scrollTop = l.lh, l.progressiveRowRendering && (l.If.drawRows && (clearTimeout(l.If.drawRows), l.If.drawRows = null), l.scrollDelayRows > 0 ? l.If.drawRows = setTimeout(function () { l.vg(); }, l.scrollDelayRows) : l.vg()), l.If.drawCells && (clearTimeout(l.If.drawCells), l.If.drawCells = null), l.scrollDelayCells > 0)
5687
+ l.If.drawCells = setTimeout(l.$h(), l.scrollDelayCells);
5676
5688
  else {
5677
- l.Yh()();
5689
+ l.$h()();
5678
5690
  }
5679
- l.Ff.na && (clearTimeout(l.Ff.na), l.Ff.na = null), l.scrollDelayEvents > 0 ? l.Ff.na = setTimeout(l.Zh(), l.scrollDelayEvents) : l.na(), l.Ff.updateFloats && (clearTimeout(l.Ff.updateFloats), l.Ff.updateFloats = null), l.scrollDelayFloats > 0 ? l.Ff.updateFloats = setTimeout(function () { l.qe(); }, l.scrollDelayFloats) : l.qe(), l.onScrollCalled = !0;
5691
+ l.If.na && (clearTimeout(l.If.na), l.If.na = null), l.scrollDelayEvents > 0 ? l.If.na = setTimeout(l._h(), l.scrollDelayEvents) : l.na(), l.If.updateFloats && (clearTimeout(l.If.updateFloats), l.If.updateFloats = null), l.scrollDelayFloats > 0 ? l.If.updateFloats = setTimeout(function () { l.qe(); }, l.scrollDelayFloats) : l.qe(), l.onScrollCalled = !0;
5680
5692
  }
5681
- }, this.Yh = function () { return function () { l && l.bf(); }; }, this.Zh = function () { return function () { l && (l.ph() ? setTimeout(function () { l.mh(), setTimeout(function () { l.na(!0); }, 50); }, 50) : l.se()); }; }, this.af = function () { l.xb.drawArea = null; }, this.show = function () { l.visible = !0, l.ge = !0, l.nav.top.style.display = "", l.u(), l.$g(), l.cf(); }, this.hide = function () { l.visible = !1, l.ge = !1, l.nav.top.style.display = "none"; }, this.Uf = function (e) {
5693
+ }, this.$h = function () { return function () { l && l.ef(); }; }, this._h = function () { return function () { l && (l.rh() ? setTimeout(function () { l.oh(), setTimeout(function () { l.na(!0); }, 50); }, 50) : l.se()); }; }, this.df = function () { l.xb.drawArea = null; }, this.show = function () { l.visible = !0, l.ge = !0, l.nav.top.style.display = "", l.u(), l.ah(), l.ff(); }, this.hide = function () { l.visible = !1, l.ge = !1, l.nav.top.style.display = "none"; }, this.Xf = function (e) {
5682
5694
  if (!l.events.list)
5683
5695
  return null;
5684
5696
  for (var t = 0; t < this.events.list.length; t++) {
5685
5697
  var n = this.events.list[t];
5686
- if (l.Nf(n, e)) {
5698
+ if (l.Qf(n, e)) {
5687
5699
  var i = {};
5688
5700
  return i.ex = n, i.index = t, i;
5689
5701
  }
5690
5702
  }
5691
5703
  return null;
5692
- }, this.$h = function () {
5704
+ }, this.ai = function () {
5693
5705
  var e = this.ne(), t = e.xStart, n = e.xEnd - e.xStart, i = e.yStart, a = e.yEnd - e.yStart;
5694
5706
  this.cellProperties || (this.cellProperties = {});
5695
5707
  for (var o = 0; o <= n; o++) {
@@ -5697,43 +5709,43 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5697
5709
  var l = i + s;
5698
5710
  this.hd(r, l);
5699
5711
  }
5700
- this._h(r);
5712
+ this.bi(r);
5701
5713
  }
5702
- for (var d = this.ng(), l = d.start; l < d.end; l++)
5703
- this.ai(l);
5704
- }, this.bf = function () {
5714
+ for (var d = this.qg(), l = d.start; l < d.end; l++)
5715
+ this.ci(l);
5716
+ }, this.ef = function () {
5705
5717
  if (!l.Q) {
5706
5718
  var e = l.rowlist;
5707
5719
  if (e && e.length > 0) {
5708
5720
  if (this.cellSweeping) {
5709
5721
  var t = this.cellSweepingCacheSize;
5710
- this.oh(t);
5722
+ this.qh(t);
5711
5723
  }
5712
- this.$h();
5724
+ this.ai();
5713
5725
  }
5714
- this.jf = !1;
5726
+ this.mf = !1;
5715
5727
  }
5716
5728
  }, this.ne = function () {
5717
5729
  if (l.xb.drawArea)
5718
5730
  return l.xb.drawArea;
5719
5731
  if (!this.nav.scroll)
5720
5732
  return null;
5721
- var e = l.jh, t = {}, n = null != this.dynamicEventRenderingMarginX ? this.dynamicEventRenderingMarginX : this.dynamicEventRenderingMargin, i = null != this.dynamicEventRenderingMarginY ? this.dynamicEventRenderingMarginY : this.dynamicEventRenderingMargin, a = l.ih - n, o = a + l.kh + 2 * n, r = 0, s = 0;
5722
- r = l.Ie(a).x, s = l.Ie(o, !0).x;
5723
- var d = this.yf();
5733
+ var e = l.lh, t = {}, n = null != this.dynamicEventRenderingMarginX ? this.dynamicEventRenderingMarginX : this.dynamicEventRenderingMargin, i = null != this.dynamicEventRenderingMarginY ? this.dynamicEventRenderingMarginY : this.dynamicEventRenderingMargin, a = l.kh - n, o = a + l.mh + 2 * n, r = 0, s = 0;
5734
+ r = l.Ke(a).x, s = l.Ke(o, !0).x;
5735
+ var d = this.Bf();
5724
5736
  s = Math.min(s, d - 1), r = DayPilot.Util.atLeast(r, 0);
5725
- var c = e - i, u = e + this.nav.scroll.offsetHeight + 2 * i, h = this.Ef(c).i, f = this.Ef(u).i;
5737
+ var c = e - i, u = e + this.nav.scroll.offsetHeight + 2 * i, h = this.Hf(c).i, f = this.Hf(u).i;
5726
5738
  f < this.rowlist.length && f++, t.xStart = r, t.xEnd = s, t.yStart = h, t.yEnd = f;
5727
5739
  var v = l.nav.scroll;
5728
5740
  return 0 === v.clientWidth && (v = l.divTimeScroll), t.pixels = {}, t.pixels.left = v.scrollLeft, t.pixels.right = v.scrollLeft + v.clientWidth, t.pixels.top = v.scrollTop, t.pixels.bottom = v.scrollTop + v.clientHeight, t.pixels.width = v.scrollWidth, t.sw = DayPilot.sw(l.nav.scroll), l.xb.drawArea = t, t;
5729
- }, this.Ae = function () { return l.yf() * l.cellWidth; }, this.ai = function (e) {
5741
+ }, this.Ce = function () { return l.Bf() * l.cellWidth; }, this.ci = function (e) {
5730
5742
  var t = l.rowlist, n = l.divLines, i = "y_" + e;
5731
5743
  if (!this.xb.linesHorizontal[i]) {
5732
- var a = t[e], o = a.height, s = a.top + o - 1, d = this.Ae(), c = r();
5744
+ var a = t[e], o = a.height, s = a.top + o - 1, d = this.Ce(), c = r();
5733
5745
  c.style.left = "0px", c.style.top = s + "px", c.style.width = d + "px", c.style.height = "1px", c.style.fontSize = "1px", c.style.lineHeight = "1px", c.style.overflow = "hidden", c.style.position = "absolute", c.className = this.L("_matrix_horizontal_line"), n.appendChild(c), this.xb.linesHorizontal[i] = c;
5734
5746
  }
5735
- }, this._h = function (e) {
5736
- var t = l.Je(e);
5747
+ }, this.bi = function (e) {
5748
+ var t = l.Le(e);
5737
5749
  if (t) {
5738
5750
  var n = l.divLines, i = l.fe, a = "x_" + e;
5739
5751
  if (!this.xb.linesVertical[a]) {
@@ -5741,52 +5753,87 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5741
5753
  s.style.left = o + "px", s.style.top = "0px", s.style.width = "1px", s.style.height = i + "px", s.style.fontSize = "1px", s.style.lineHeight = "1px", s.style.overflow = "hidden", s.style.position = "absolute", s.className = this.L("_matrix_vertical_line"), n.appendChild(s), this.elements.linesVertical.push(s), this.xb.linesVertical[a] = s;
5742
5754
  }
5743
5755
  }
5744
- }, this.We = function () { l.fe = l.bi(l.rowlist); }, this.bi = function (e) {
5756
+ }, this.Ye = function () { l.fe = l.di(l.rowlist); }, this.di = function (e) {
5745
5757
  for (var t = 0, n = 0; n < e.length; n++) {
5746
5758
  var i = e[n];
5747
5759
  i.top = t, t += i.height;
5748
5760
  }
5749
5761
  return t;
5750
- }, this._e = function () { l.elements.cells = [], l.xb.cells = [], l.divCells.innerHTML = "", l.ci(); }, this.ci = function () { l.divLines.innerHTML = "", l.xb.linesVertical = {}, l.xb.linesHorizontal = {}, l.elements.linesVertical = []; }, this.nf = function (e) {
5762
+ }, this.bf = function () { l.elements.cells = [], l.xb.cells = [], l.divCells.innerHTML = "", l.ei(); }, this.ei = function () { l.divLines.innerHTML = "", l.xb.linesVertical = {}, l.xb.linesHorizontal = {}, l.elements.linesVertical = []; }, this.qf = function (e) {
5751
5763
  var t = [];
5752
5764
  for (var n in l.xb.cells)
5753
5765
  t.push(l.xb.cells[n]);
5754
5766
  t.filter(function (t) { return t && t.coords && t.coords.y === e; }).forEach(function (e) { l.fb(e); });
5755
5767
  }, this.hd = function (e, t) {
5756
5768
  if (this.Ka) {
5757
- var n = l.Je(e);
5769
+ var n = l.Le(e);
5758
5770
  if (n) {
5759
5771
  var i = l.rowlist, a = l.divCells, o = e + "_" + t;
5760
5772
  if (!this.xb.cells[o]) {
5761
- var s = this.di(e, t), d = r();
5762
- d.style.left = n.left + "px", d.style.top = i[t].top + "px", d.style.width = n.width + "px", d.style.height = i[t].height + "px", d.style.position = "absolute", s && s.backColor && (d.style.backgroundColor = s.backColor), d.className = this.L("_cell"), d.coords = {}, d.coords.x = e, d.coords.y = t, s && s.business && l.cellsMarkBusiness && DayPilot.Util.addClass(d, l.L("_cell_business")), a.appendChild(d), this.elements.cells.push(d), this.xb.cells[o] = d;
5773
+ var s = this.fi(e, t), d = l.gi(e, t), c = r();
5774
+ if (c.style.left = n.left + "px", c.style.top = i[t].top + "px", c.style.width = n.width + "px", c.style.height = i[t].height + "px", c.style.position = "absolute", s && s.backColor && (c.style.backgroundColor = s.backColor), c.className = this.L("_cell"), c.coords = {}, c.coords.x = e, c.coords.y = t, s) {
5775
+ if (s.cssClass && DayPilot.Util.addClass(c, s.cssClass), c.innerHTML = l.$a(s.text, s.html), s.backImage && (c.style.backgroundImage = 'url("' + s.backImage + '")'), s.backRepeat && (c.style.backgroundRepeat = s.backRepeat), s.business && l.cellsMarkBusiness && DayPilot.Util.addClass(c, l.L("_cell_business")), s.disabled && DayPilot.Util.addClass(c, l.L("_cell_disabled")), s.backColor && (c.style.backgroundColor = s.backColor), s.fontColor && (c.style.color = s.fontColor), s.horizontalAlignment || s.verticalAlignment) {
5776
+ switch (c.style.display = "flex", s.horizontalAlignment) {
5777
+ case "right":
5778
+ c.style.justifyContent = "flex-end";
5779
+ break;
5780
+ case "left":
5781
+ c.style.justifyContent = "flex-start";
5782
+ break;
5783
+ case "center": c.style.justifyContent = "center";
5784
+ }
5785
+ switch (s.verticalAlignment) {
5786
+ case "center":
5787
+ c.style.alignItems = "center";
5788
+ break;
5789
+ case "top":
5790
+ c.style.alignItems = "flex-start";
5791
+ break;
5792
+ case "bottom": c.style.alignItems = "flex-end";
5793
+ }
5794
+ }
5795
+ DayPilot.Areas.attach(c, d.cell, { "areas": s.areas || d.cell.areas });
5796
+ }
5797
+ a.appendChild(c), this.elements.cells.push(c), this.xb.cells[o] = c;
5763
5798
  }
5764
5799
  }
5765
5800
  }
5766
- }, this.clearSelection = function () { this.ei(); }, this.fi = function (e, t, n) {
5801
+ }, this.gi = function (e, t) {
5802
+ var n = l.Le(e);
5803
+ if (!n)
5804
+ return null;
5805
+ var i = l.rowlist[t], a = i.id, o = n.start, r = n.end, s = {};
5806
+ if (s.cell = { x: e, y: t, start: o, end: r, resource: a, row: l.Ag(i), properties: l.fi(e, t) }, s.control = l, "function" == typeof this.onBeforeCellRender) {
5807
+ var d = e + "_" + t;
5808
+ if (l.beforeCellRenderCaching && l.cf[d])
5809
+ return s;
5810
+ l.cf[d] = !0, this.onBeforeCellRender(s);
5811
+ }
5812
+ return s;
5813
+ }, this.clearSelection = function () { this.hi(); }, this.ii = function (e, t, n) {
5767
5814
  e = new DayPilot.Date(e), t = new DayPilot.Date(t);
5768
- var i = l.le(n), a = l.Ke(e);
5815
+ var i = l.le(n), a = l.Me(e);
5769
5816
  if (!a.current)
5770
5817
  throw new DayPilot.Exception("Time range selection 'start' out of timeline");
5771
- var o = l.Ke(new DayPilot.Date(t).addMilliseconds(-1));
5818
+ var o = l.Me(new DayPilot.Date(t).addMilliseconds(-1));
5772
5819
  if (!o.current)
5773
5820
  throw new DayPilot.Exception("Time range selection 'end' out of timeline");
5774
5821
  var r = {};
5775
5822
  return r.start = { y: i.index, x: a.i, "time": e }, r.end = { x: o.i, "time": t }, r.calendar = this, r;
5776
- }, this.selectTimeRange = function (e, t, n, i) { var a = l.fi(e, t, n); l.xf(a), i || setTimeout(function () { l.tf(a); }, 0); }, this.rf = function () { var e = n.lg && n.lg.source; e && DayPilot.Util.removeClass(e, l.L("_event_moving_source")), DayPilot.de(n.lg), n.lg = null, DayPilot.Global.movingLink && (DayPilot.Global.movingLink.clear(), DayPilot.Global.movingLink = null); }, this.ei = function () { l.divShadow && (l.divShadow.innerHTML = ""), l.elements.range = [], l.elements.range2 = null, l.wf = null, l.gi = null; }, this.ca = {};
5823
+ }, this.selectTimeRange = function (e, t, n, i) { var a = l.ii(e, t, n); l.Af(a), i || setTimeout(function () { l.wf(a); }, 0); }, this.uf = function () { var e = n.og && n.og.source; e && DayPilot.Util.removeClass(e, l.L("_event_moving_source")), DayPilot.de(n.og), n.og = null, DayPilot.Global.movingLink && (DayPilot.Global.movingLink.clear(), DayPilot.Global.movingLink = null); }, this.hi = function () { l.divShadow && (l.divShadow.innerHTML = ""), l.elements.range = [], l.elements.range2 = null, l.zf = null, l.ji = null; }, this.ca = {};
5777
5824
  var f = this.ca;
5778
- f.Md = function () { delete l.xb.headerHeight; }, f.da = function () { return "Disabled" !== l.xssProtection; }, f.Ge = function () { return DayPilot.Locale.find(l.locale); }, f.Nh = function () { return "Auto" !== l.timeFormat ? l.timeFormat : f.Ge().timeFormat; }, f.ea = function () {
5825
+ f.Md = function () { delete l.xb.headerHeight; }, f.da = function () { return "Disabled" !== l.xssProtection; }, f.Ie = function () { return DayPilot.Locale.find(l.locale); }, f.Ph = function () { return "Auto" !== l.timeFormat ? l.timeFormat : f.Ie().timeFormat; }, f.ea = function () {
5779
5826
  if ("Auto" === l.weekStarts) {
5780
- var e = f.Ge();
5827
+ var e = f.Ie();
5781
5828
  return e ? e.weekStarts : 0;
5782
5829
  }
5783
5830
  return l.weekStarts || 0;
5784
- }, f.ug = function () { var e = navigator.userAgent.toLowerCase(); return e.indexOf("mobile") !== -1 || e.indexOf("android") != -1; }, f.bg = function (e) { return "Always" === l.useEventBoxes || "Never" !== l.useEventBoxes && e < 60 * l.Le() * 1e3; }, this.di = function (e, t) {
5831
+ }, f.xg = function () { var e = navigator.userAgent.toLowerCase(); return e.indexOf("mobile") !== -1 || e.indexOf("android") != -1; }, f.eg = function (e) { return "Always" === l.useEventBoxes || "Never" !== l.useEventBoxes && e < 60 * l.Ne() * 1e3; }, this.fi = function (e, t) {
5785
5832
  var n = e + "_" + t, i = l.rowlist;
5786
5833
  if (this.cellProperties || (this.cellProperties = {}), this.cellProperties[n])
5787
5834
  return this.cellProperties[n];
5788
5835
  if (!this.cellProperties[n]) {
5789
- var a = i[t], o = a.id, r = l.Je(e), s = r.start, d = r.end, c = {};
5836
+ var a = i[t], o = a.id, r = l.Le(e), s = r.start, d = r.end, c = {};
5790
5837
  c.start = s, c.end = d, c.resource = o;
5791
5838
  var u = {};
5792
5839
  u.business = l.isBusiness(c), this.cellProperties[n] = u;
@@ -5812,7 +5859,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5812
5859
  return !1;
5813
5860
  }
5814
5861
  return !0;
5815
- }, this.u = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.hi = function (e) { this.heightSpec = "Fixed", this.height = e - (this.Ce() + 2), this.ma(); }, this.setHeight = this.hi, this.le = function (e) { return l.Bg(e)[0]; }, this.wb = function () {
5862
+ }, this.u = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.ki = function (e) { this.heightSpec = "Fixed", this.height = e - (this.Ee() + 2), this.ma(); }, this.setHeight = this.ki, this.le = function (e) { return l.Eg(e)[0]; }, this.wb = function () {
5816
5863
  if (this.id && this.id.tagName)
5817
5864
  this.nav.top = this.id;
5818
5865
  else {
@@ -5829,11 +5876,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5829
5876
  return l;
5830
5877
  throw new DayPilot.Exception("The target placeholder was already initialized by another DayPilot component instance.");
5831
5878
  }
5832
- return this.ii(), this.Zg(), this;
5833
- }, this.ii = function () { this.Lg(), this.pb(), this.aa(), this.hh(), this.qb(); var angular = l.ze.enabled; l.scrollToDate ? l.scrollTo(l.scrollToDate) : l.scrollX || l.scrollY ? l.setScroll(l.scrollX, l.scrollY) : angular || l.cf(), l.scrollToResourceId && (l.scrollToResource(l.scrollToResourceId), l.scrollToResourceId = null); var e = function () { l.scrollY && l.setScroll(l.scrollX, l.scrollY); }; setTimeout(e, 200), this.af(), this.vb(), this.Ka = !0; var t = l.ie; t ? l.scrollTo(t) : l.cf(); }, this.ub = null, this.sb = function (e) {
5879
+ return this.li(), this._g(), this;
5880
+ }, this.li = function () { this.Ng(), this.pb(), this.aa(), this.jh(), this.qb(); var angular = l.Be.enabled; l.scrollToDate ? l.scrollTo(l.scrollToDate) : l.scrollX || l.scrollY ? l.setScroll(l.scrollX, l.scrollY) : angular || l.ff(), l.scrollToResourceId && (l.scrollToResource(l.scrollToResourceId), l.scrollToResourceId = null); var e = function () { l.scrollY && l.setScroll(l.scrollX, l.scrollY); }; setTimeout(e, 200), this.df(), this.vb(), this.Ka = !0; var t = l.ie; t ? l.scrollTo(t) : l.ff(); }, this.ub = null, this.sb = function (e) {
5834
5881
  if (e) {
5835
- var t = { "resources": { "preInit": function () { var e = this.data; e && (l.resources = e); } }, "events": { "preInit": function () { var e = this.data; e && (DayPilot.isArray(e.list) ? l.events.list = e.list : l.events.list = e); }, "postInit": function () { } }, "scrollTo": { "preInit": function () { }, "postInit": function () { this.data && l.he(this.data); } }, "scrollX": { "postInit": function () { this.data && l.ke(this.data); } }, "scrollY": { "postInit": function () { this.data && l.Be(this.data); } } };
5836
- l.ub = t, l.ze.scrollToRequested && (t.scrollTo.data = l.ze.scrollToRequested, l.ze.scrollToRequested = null), l.ze.scrollXRequested && (t.scrollX.data = l.ze.scrollXRequested, l.ze.scrollXRequested = null), l.ze.scrollYRequested && (t.scrollY.data = l.ze.scrollYRequested, l.ze.scrollYRequested = null);
5882
+ var t = { "resources": { "preInit": function () { var e = this.data; e && (l.resources = e); } }, "events": { "preInit": function () { var e = this.data; e && (DayPilot.isArray(e.list) ? l.events.list = e.list : l.events.list = e); }, "postInit": function () { } }, "scrollTo": { "preInit": function () { }, "postInit": function () { this.data && l.he(this.data); } }, "scrollX": { "postInit": function () { this.data && l.ke(this.data); } }, "scrollY": { "postInit": function () { this.data && l.De(this.data); } } };
5883
+ l.ub = t, l.Be.scrollToRequested && (t.scrollTo.data = l.Be.scrollToRequested, l.Be.scrollToRequested = null), l.Be.scrollXRequested && (t.scrollX.data = l.Be.scrollXRequested, l.Be.scrollXRequested = null), l.Be.scrollYRequested && (t.scrollY.data = l.Be.scrollYRequested, l.Be.scrollYRequested = null);
5837
5884
  for (var n in e)
5838
5885
  t[n] || (l[n] = e[n]);
5839
5886
  for (var n in e)
@@ -5861,63 +5908,62 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
5861
5908
  var i = e;
5862
5909
  DayPilot.isArray(e) && (i = n.h("div", null, e)), n.render(i, t);
5863
5910
  }
5864
- }, this.Qa.Sa = function (e) { var t = l.Qa.Pa; "function" == typeof t.render && t.render(null, e); }, this.internal = {}, this.internal.adjustEndIn = l.of, this.internal.adjustEndNormalize = l.pf, this.internal.xssTextHtml = l.$a, this.internal.touch = l.Fh, this.internal.skipUpdate = l.ze.skipUpdate, this.internal.skipped = l.ze.skipped, this.internal.loadOptions = l.sb, this.internal.postInit = l.vb, this.internal.enableAngular2 = function () { l.ze.enabled = !0; }, this.internal.eventsFromAttr = function () { l.ze.Sf = !0; }, this.internal.resourcesFromAttr = function () { l.ze._f = !0; }, this.internal.evImmediateRefresh = function () { l.events.sf(); }, this.internal.enableReact = function (e, t) { l.jd.react = e, l.jd.reactDOM = t; }, this.internal.reactRefs = function () { return DayPilot.Util.copyProps(l.jd, {}, ["react", "reactDOM"]); }, this.internal.enableVue = function (e) { l.Qa.Pa = e; }, this.internal.vueRef = function () { return l.Qa.Pa; }, this.internal.vueRendering = function () { return l.Qa.Ra; }, this.sb(s);
5911
+ }, this.Qa.Sa = function (e) { var t = l.Qa.Pa; "function" == typeof t.render && t.render(null, e); }, this.internal = {}, this.internal.adjustEndIn = l.rf, this.internal.adjustEndNormalize = l.sf, this.internal.xssTextHtml = l.$a, this.internal.touch = l.Hh, this.internal.skipUpdate = l.Be.skipUpdate, this.internal.skipped = l.Be.skipped, this.internal.loadOptions = l.sb, this.internal.postInit = l.vb, this.internal.enableAngular2 = function () { l.Be.enabled = !0; }, this.internal.eventsFromAttr = function () { l.Be.Vf = !0; }, this.internal.resourcesFromAttr = function () { l.Be.cg = !0; }, this.internal.evImmediateRefresh = function () { l.events.vf(); }, this.internal.enableReact = function (e, t) { l.jd.react = e, l.jd.reactDOM = t; }, this.internal.reactRefs = function () { return DayPilot.Util.copyProps(l.jd, {}, ["react", "reactDOM"]); }, this.internal.enableVue = function (e) { l.Qa.Pa = e; }, this.internal.vueRef = function () { return l.Qa.Pa; }, this.internal.vueRendering = function () { return l.Qa.Ra; }, this.sb(s);
5865
5912
  }, a = "${v}" === (new DayPilot.Scheduler).v, DayPilot.Row = function (e, t) {
5866
5913
  if (!e)
5867
5914
  throw new DayPilot.Exception("Now row object supplied when creating DayPilot.Row");
5868
5915
  if (!t)
5869
5916
  throw new DayPilot.Exception("No parent control supplied when creating DayPilot.Row");
5870
- this.ji = {};
5871
- var n = this.ji;
5917
+ this.mi = {};
5918
+ var n = this.mi;
5872
5919
  n.id = e.id, n.name = e.name, n.data = e.resource, n.tags = e.tags;
5873
5920
  var i = this;
5874
- i.isRow = !0, i.menuType = "resource", i.name = e.name, i.id = e.id, i.tags = e.tags,
5875
- i.index = e.index, i.calendar = t, i.data = e.resource, i.ki = e, i.$ = {}, i.$.row = e, i.toJSON = function (e) { var t = {}; return t.start = this.start, t.name = this.name, t.id = this.id, t.index = this.index, t; }, i.events = {}, i.events.all = function () {
5876
- for (var e = [], t = 0; t < i.ki.events.length; t++)
5877
- e.push(i.ki.events[t]);
5921
+ i.isRow = !0, i.menuType = "resource", i.name = e.name, i.id = e.id, i.tags = e.tags, i.index = e.index, i.calendar = t, i.data = e.resource, i.ni = e, i.$ = {}, i.$.row = e, i.toJSON = function (e) { var t = {}; return t.start = this.start, t.name = this.name, t.id = this.id, t.index = this.index, t; }, i.events = {}, i.events.all = function () {
5922
+ for (var e = [], t = 0; t < i.ni.events.length; t++)
5923
+ e.push(i.ni.events[t]);
5878
5924
  return e;
5879
- }, i.events.isEmpty = function () { return 0 === i.ki.events.length; }, i.events.forRange = function (e, t) { return i.ki.events.forRange(e, t); }, i.events.totalDuration = function () { var e = 0; return i.events.all().forEach(function (t) { e += t.part.end.getTime() - t.part.start.getTime(); }), new DayPilot.Duration(e); }, i.remove = function () { t.rows.remove(i); }, i.addClass = function (e) { var n = t.divHeader, a = n.rows[i.index]; DayPilot.Util.addClass(a, e), i.$.row.cssClass = DayPilot.Util.addClassToString(i.$.row.cssClass, e), i.data.cssClass = e; }, i.removeClass = function (e) { var n = t.divHeader, a = n.rows[i.index]; DayPilot.Util.removeClass(a, e), i.$.row.cssClass = DayPilot.Util.removeClassFromString(i.$.row.cssClass, e), i.data.cssClass = DayPilot.Util.removeClassFromString(i.data.cssClass, e); };
5880
- }, n.Oe = null, n.kg = null, n.Bh = null, n.dg = null, n.hg = null, n.Ne = !1, n.eh = !1, n.Ph = null, n.li = null, n.qc = function (e) { DayPilot.ue(document, "mouseup", n.ee), DayPilot.ue(document, "touchmove", n.fh), DayPilot.ue(document, "touchend", n.gh), n.eh = !1; }, n.fh = function (e) {
5881
- if (n.dg) {
5882
- var t = n.dg.event.calendar;
5883
- t.coords = t.Fh.Hh(e), t.Fh.Kh(), e.preventDefault();
5925
+ }, i.events.isEmpty = function () { return 0 === i.ni.events.length; }, i.events.forRange = function (e, t) { return i.ni.events.forRange(e, t); }, i.events.totalDuration = function () { var e = 0; return i.events.all().forEach(function (t) { e += t.part.end.getTime() - t.part.start.getTime(); }), new DayPilot.Duration(e); }, i.remove = function () { t.rows.remove(i); }, i.addClass = function (e) { var n = t.divHeader, a = n.rows[i.index]; DayPilot.Util.addClass(a, e), i.$.row.cssClass = DayPilot.Util.addClassToString(i.$.row.cssClass, e), i.data.cssClass = e; }, i.removeClass = function (e) { var n = t.divHeader, a = n.rows[i.index]; DayPilot.Util.removeClass(a, e), i.$.row.cssClass = DayPilot.Util.removeClassFromString(i.$.row.cssClass, e), i.data.cssClass = DayPilot.Util.removeClassFromString(i.data.cssClass, e); };
5926
+ }, n.Qe = null, n.ng = null, n.Dh = null, n.gg = null, n.kg = null, n.Pe = !1, n.gh = !1, n.Rh = null, n.oi = null, n.qc = function (e) { DayPilot.ue(document, "mouseup", n.ee), DayPilot.ue(document, "touchmove", n.hh), DayPilot.ue(document, "touchend", n.ih), n.gh = !1; }, n.hh = function (e) {
5927
+ if (n.gg) {
5928
+ var t = n.gg.event.calendar;
5929
+ t.coords = t.Hh.Jh(e), t.Hh.Mh(), e.preventDefault();
5884
5930
  }
5885
- if (n.Oe) {
5931
+ if (n.Qe) {
5886
5932
  e.preventDefault();
5887
- var t = n.kg.calendar;
5888
- t.coords = t.Fh.Hh(e), t.Fh.Lh();
5933
+ var t = n.ng.calendar;
5934
+ t.coords = t.Hh.Jh(e), t.Hh.Nh();
5889
5935
  }
5890
- }, n.gh = function (e) { n.Vg = !1, n.ee(e); }, n.ee = function (e) {
5891
- if (n.dg) {
5892
- var t = function () { var e = n.hg, t = e.calendar; o().style.cursor = "", n.dg = null, n.hg = null, DayPilot.de(n.gg), n.gg = null, t && (t.mi = null); };
5893
- if (setTimeout(function () { n.Ne = !1; }), !n.gg)
5936
+ }, n.ih = function (e) { n.Xg = !1, n.ee(e); }, n.ee = function (e) {
5937
+ if (n.gg) {
5938
+ var t = function () { var e = n.kg, t = e.calendar; o().style.cursor = "", n.gg = null, n.kg = null, DayPilot.de(n.jg), n.jg = null, t && (t.pi = null); };
5939
+ if (setTimeout(function () { n.Pe = !1; }), !n.jg)
5894
5940
  return void t();
5895
- var a = n.hg, r = a.calendar, s = n.gg.start, l = n.gg.end, d = "left" === n.dg.dpBorder ? "start" : "end";
5941
+ var a = n.kg, r = a.calendar, s = n.jg.start, l = n.jg.end, d = "left" === n.gg.dpBorder ? "start" : "end";
5896
5942
  t(), r.K(a, s, l, d);
5897
5943
  }
5898
- else if (n.kg) {
5899
- var t = function () { DayPilot.Global.movingAreaData = null; var e = n.lg && n.lg.calendar; n.lg && (DayPilot.de(n.lg), n.lg.calendar = null), o().style.cursor = "", n.Oe = null, n.kg = null, e && (e.qf = null); };
5900
- if (!n.lg)
5944
+ else if (n.ng) {
5945
+ var t = function () { DayPilot.Global.movingAreaData = null; var e = n.og && n.og.calendar; n.og && (DayPilot.de(n.og), n.og.calendar = null), o().style.cursor = "", n.Qe = null, n.ng = null, e && (e.tf = null); };
5946
+ if (!n.og)
5901
5947
  return void t();
5902
- var a = n.kg, r = n.lg.calendar;
5948
+ var a = n.ng, r = n.og.calendar;
5903
5949
  if (!r)
5904
5950
  return void t();
5905
- if (n.lg.source = n.Oe, !n.lg.row)
5951
+ if (n.og.source = n.Qe, !n.og.row)
5906
5952
  return void t();
5907
- var s = n.lg.start, l = n.lg.end, c = n.lg.row.id;
5908
- n.lg.calendar = null, o().style.cursor = "", n.Oe = null, n.kg = null, r.M(a, s, l, c, e), DayPilot.Global.movingAreaData = null;
5953
+ var s = n.og.start, l = n.og.end, c = n.og.row.id;
5954
+ n.og.calendar = null, o().style.cursor = "", n.Qe = null, n.ng = null, r.M(a, s, l, c, e), DayPilot.Global.movingAreaData = null;
5909
5955
  }
5910
- else if (n.Ih) {
5911
- var u = DayPilot.Util.mouseButton(e), h = n.Ih, r = h.calendar, t = function () { };
5912
- r.gi = null;
5956
+ else if (n.Kh) {
5957
+ var u = DayPilot.Util.mouseButton(e), h = n.Kh, r = h.calendar, t = function () { };
5958
+ r.ji = null;
5913
5959
  e.ctrlKey || e.metaKey;
5914
- if (n.Ph)
5915
- return clearTimeout(n.Ph), n.Ph = null, void t();
5916
- r.wf = h, n.Ih = null;
5917
- var f = function (e) { return function () { n.Ph = null, r.tf(e), "Hold" !== r.timeRangeSelectedHandling && "HoldForever" !== r.timeRangeSelectedHandling ? i() : r.wf = e; }; }, v = r.Xh(h);
5918
- return t(), u.left ? (f(v)(), e.cancelBubble = !0, !1) : void (n.Ph = null);
5960
+ if (n.Rh)
5961
+ return clearTimeout(n.Rh), n.Rh = null, void t();
5962
+ r.zf = h, n.Kh = null;
5963
+ var f = function (e) { return function () { n.Rh = null, r.wf(e), "Hold" !== r.timeRangeSelectedHandling && "HoldForever" !== r.timeRangeSelectedHandling ? i() : r.zf = e; }; }, v = r.Zh(h);
5964
+ return t(), u.left ? (f(v)(), e.cancelBubble = !0, !1) : void (n.Rh = null);
5919
5965
  }
5920
- n.Eh = null, n.cg = null;
5966
+ n.Gh = null, n.fg = null;
5921
5967
  };
5922
5968
  }
5923
5969
  }(DayPilot);