@daypilot/daypilot-lite-angular 3.8.0 → 3.10.1

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.
@@ -57,6 +57,18 @@ var DayPilot;
57
57
  class Locale {
58
58
  }
59
59
  DayPilot.Locale = Locale;
60
+ class MenuPropsAndEvents {
61
+ }
62
+ DayPilot.MenuPropsAndEvents = MenuPropsAndEvents;
63
+ class MenuConfig extends MenuPropsAndEvents {
64
+ }
65
+ DayPilot.MenuConfig = MenuConfig;
66
+ class Menu extends MenuPropsAndEvents {
67
+ }
68
+ DayPilot.Menu = Menu;
69
+ class MenuBar {
70
+ }
71
+ DayPilot.MenuBar = MenuBar;
60
72
  class Date {
61
73
  }
62
74
  DayPilot.Date = Date;
@@ -104,9 +116,9 @@ var DayPilot;
104
116
  /*
105
117
  DayPilot Lite
106
118
  Copyright (c) 2005 - 2022 Annpoint s.r.o.
107
- http://www.daypilot.org/
119
+ https://www.daypilot.org/
108
120
  Licensed under Apache Software License 2.0
109
- Version: 2022.3.398-lite
121
+ Version: 2022.3.432-lite
110
122
  */
111
123
  if ("undefined" == typeof DayPilot)
112
124
  var DayPilot = {};
@@ -157,38 +169,41 @@ if ("undefined" == typeof DayPilot)
157
169
  return r ? a : null;
158
170
  }
159
171
  return null;
160
- }, DayPilot.mo3 = function (e, t, a) {
161
- if (t = t || window.event, "undefined" != typeof t.pageX) {
162
- var r = DayPilot.abs(e, a);
163
- return { x: t.pageX - r.x, y: t.pageY - r.y };
164
- }
165
- return DayPilot.mo2(e, t);
166
- }, DayPilot.browser = {}, DayPilot.browser.ie9 = function () { var e = document.createElement("div"); return e.innerHTML = "<!--[if IE 9]><i></i><![endif]-->", 1 === e.getElementsByTagName("i").length; }(), DayPilot.browser.ielt9 = function () { var e = document.createElement("div"); return e.innerHTML = "<!--[if lt IE 9]><i></i><![endif]-->", 1 === e.getElementsByTagName("i").length; }(), DayPilot.abs = function (e, t) {
172
+ }, DayPilot.mo3 = function (e, t) {
173
+ var a, r = DayPilot.page(t);
174
+ if (r)
175
+ if (e) {
176
+ var o = DayPilot.abs(e);
177
+ if (!o)
178
+ throw new Error("no abs");
179
+ a = { x: r.x - o.x, y: r.y - o.y };
180
+ }
181
+ else
182
+ a = { x: r.x, y: r.y };
183
+ else if (a = DayPilot.mo2(e, t), !a)
184
+ return null;
185
+ return a.shift = t.shiftKey, a.meta = t.metaKey, a.ctrl = t.ctrlKey, a.alt = t.altKey, a;
186
+ }, DayPilot.browser = {}, DayPilot.browser.ie9 = function () { var e = document.createElement("div"); return e.innerHTML = "<!--[if IE 9]><i></i><![endif]-->", 1 === e.getElementsByTagName("i").length; }(), DayPilot.browser.ielt9 = function () { var e = document.createElement("div"); return e.innerHTML = "<!--[if lt IE 9]><i></i><![endif]-->", 1 === e.getElementsByTagName("i").length; }(), DayPilot.page = function (e) { var t = e.changedTouches && e.changedTouches[0] ? e.changedTouches[0] : e; return "undefined" == typeof t.pageX || DayPilot.browser.ie ? "undefined" != typeof e.clientX && document.body && document.documentElement ? { x: e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft, y: e.clientY + document.body.scrollTop + document.documentElement.scrollTop } : null : { x: t.pageX, y: t.pageY }; }, DayPilot.abs = function (e, t) {
167
187
  if (!e)
168
188
  return null;
169
- var a = { x: e.offsetLeft, y: e.offsetTop, w: e.clientWidth, h: e.clientHeight, toString: function () { return "x:" + this.x + " y:" + this.y + " w:" + this.w + " h:" + this.h; } };
170
189
  if (e.getBoundingClientRect) {
171
- var r = e.getBoundingClientRect();
172
- a.x = r.left, a.y = r.top;
173
- var o = DayPilot.doc();
174
- a.x -= o.clientLeft || 0, a.y -= o.clientTop || 0;
175
- var n = DayPilot.pageOffset();
176
- if (a.x += n.x, a.y += n.y, t) {
177
- var i = DayPilot.absOffsetBased(e, !1), t = DayPilot.absOffsetBased(e, !0);
178
- a.x += t.x - i.x, a.y += t.y - i.y, a.w = t.w, a.h = t.h;
190
+ var a = DayPilot.absBoundingClientBased(e);
191
+ if (t) {
192
+ var r = DayPilot.absOffsetBased(e, !1), t = DayPilot.absOffsetBased(e, !0);
193
+ a.x += t.x - r.x, a.y += t.y - r.y, a.w = t.w, a.h = t.h;
179
194
  }
180
195
  return a;
181
196
  }
182
197
  return DayPilot.absOffsetBased(e, t);
183
- }, DayPilot.absOffsetBased = function (e, t) {
198
+ }, DayPilot.absBoundingClientBased = function (e) { var t = e.getBoundingClientRect(); return { x: t.left + window.pageXOffset, y: t.top + window.pageYOffset, w: e.clientWidth, h: e.clientHeight, toString: function () { return "x:" + this.x + " y:" + this.y + " w:" + this.w + " h:" + this.h; } }; }, DayPilot.absOffsetBased = function (e, t) {
184
199
  for (var a = { x: e.offsetLeft, y: e.offsetTop, w: e.clientWidth, h: e.clientHeight, toString: function () { return "x:" + this.x + " y:" + this.y + " w:" + this.w + " h:" + this.h; } }; e.offsetParent;)
185
200
  e = e.offsetParent, a.x -= e.scrollLeft, a.y -= e.scrollTop, t && (a.x < 0 && (a.w += a.x, a.x = 0), a.y < 0 && (a.h += a.y, a.y = 0), e.scrollLeft > 0 && a.x + a.w > e.clientWidth && (a.w -= a.x + a.w - e.clientWidth), e.scrollTop && a.y + a.h > e.clientHeight && (a.h -= a.y + a.h - e.clientHeight)), a.x += e.offsetLeft, a.y += e.offsetTop;
186
201
  var r = DayPilot.pageOffset();
187
202
  return a.x += r.x, a.y += r.y, a;
188
- }, DayPilot.isArray = function (e) { return "[object Array]" === Object.prototype.toString.call(e); }, DayPilot.distance = function (e, t) { return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2)); }, DayPilot.sheet = function () { var e = document.createElement("style"); e.setAttribute("type", "text/css"), e.styleSheet || e.appendChild(document.createTextNode("")), (document.head || document.getElementsByTagName("head")[0]).appendChild(e); var t = !!e.styleSheet, a = {}; return a.rules = [], a.commit = function () { t && (e.styleSheet.cssText = this.rules.join("\n")); }, a.add = function (a, r, o) { return t ? void this.rules.push(a + "{" + r + "}") : void (e.sheet.insertRule ? ("undefined" == typeof o && (o = e.sheet.cssRules.length), e.sheet.insertRule(a + "{" + r + "}", o)) : e.sheet.addRule && e.sheet.addRule(a, r, o)); }, a; }, function () {
203
+ }, DayPilot.isArray = function (e) { return "[object Array]" === Object.prototype.toString.call(e); }, DayPilot.distance = function (e, t) { return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2)); }, DayPilot.sheet = function () { var e = document.createElement("style"); e.setAttribute("type", "text/css"), e.styleSheet || e.appendChild(document.createTextNode("")), (document.head || document.getElementsByTagName("head")[0]).appendChild(e); var t = !!e.styleSheet, a = {}; return a.rules = [], a.commit = function () { t && (e.styleSheet.cssText = this.rules.join("\n")); }, a.add = function (a, r, o) { return t ? void this.rules.push(a + "{" + r + "}") : void (e.sheet.insertRule ? ("undefined" == typeof o && (o = e.sheet.cssRules.length), e.sheet.insertRule(a + "{" + r + "}", o)) : e.sheet.addRule && e.sheet.addRule(a, r, o)); }, a; }, DayPilot.gs = function (e, t) { return window.getComputedStyle(e, null).getPropertyValue(t) || ""; }, DayPilot.StyleReader = function (e) { this.get = function (t) { return e ? DayPilot.gs(e, t) : null; }, this.getPx = function (e) { var t = this.get(e); return t.indexOf("px") === -1 ? void 0 : parseInt(t, 10); }; }, function () {
189
204
  if (!DayPilot.Global.defaultCss) {
190
205
  var e = DayPilot.sheet();
191
- e.add(".calendar_default_main", "border: 1px solid #c0c0c0; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;"), e.add(".calendar_default_main *, .calendar_default_main *:before, .calendar_default_main *:after", "box-sizing: content-box;"), e.add(".calendar_default_rowheader_inner,.calendar_default_cornerright_inner,.calendar_default_corner_inner,.calendar_default_colheader_inner,.calendar_default_alldayheader_inner", "color: #333;background: #f3f3f3;"), e.add(".calendar_default_cornerright_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;\tborder-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_direction_rtl .calendar_default_cornerright_inner", "border-right: 1px solid #c0c0c0;"), e.add(".calendar_default_rowheader_inner", "font-size: 16pt;text-align: right; position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0; padding: 3px;"), 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 #c0c0c0;border-bottom: 1px solid #c0c0c0;"), 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;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0; display: flex; align-items: center; justify-content: center; font-size: 13px;"), e.add(".calendar_default_cell_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #ddd;border-bottom: 1px solid #ddd; background: #f9f9f9;"), e.add(".calendar_default_cell_business .calendar_default_cell_inner", "background: #fff"), e.add(".calendar_default_alldayheader_inner", "text-align: center;position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_message", "opacity: 0.9; padding: 10px; color: #ffffff;background: #ffa216;"), e.add(".calendar_default_alldayevent_inner,.calendar_default_event_inner", "color: #333; border: 1px solid #999;"), e.add(".calendar_default_event_bar", "top: 0px;bottom: 0px;left: 0px;width: 6px;background-color: #9dc8e8;"), e.add(".calendar_default_event_bar_inner", "position: absolute;width: 6px;background-color: #1066a8;"), e.add(".calendar_default_alldayevent_inner,.calendar_default_event_inner", 'background: #fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_selected .calendar_default_event_inner", "background: #ddd;"), e.add(".calendar_default_alldayevent_inner", "position: absolute;top: 2px;bottom: 2px;left: 2px;right: 2px;overflow:hidden;padding: 2px;margin-right: 1px; font-size: 13px;"), e.add(".calendar_default_event_withheader .calendar_default_event_inner", "padding-top: 15px;"), e.add(".calendar_default_event", "cursor: default;"), e.add(".calendar_default_event_inner", "position: absolute;overflow: hidden;top: 0px;bottom: 0px;left: 0px;right: 0px;padding: 2px 2px 2px 8px; font-size: 13px;"), e.add(".calendar_default_shadow_inner", "position:absolute;top:0px;left:0px;right:0px;bottom:0px;background-color: #666666; opacity: 0.5;"), 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: red;"), e.add(".calendar_default_now:before", "content: ''; top: -5px; border-width: 5px; border-color: transparent transparent transparent red; border-style: solid; width: 0px; height:0px; position: absolute; -moz-transform: scale(.9999);"), e.add(".calendar_default_shadow_forbidden .calendar_default_shadow_inner", "background-color: red;"), e.add(".calendar_default_shadow_top", 'box-sizing: border-box; padding:2px;border:1px solid #ccc;background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_shadow_bottom", 'box-sizing: border-box; padding:2px;border:1px solid #ccc;background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), 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: #f3f3f3;"), e.add(".scheduler_default_selected .scheduler_default_event_inner", "background: #ddd;"), e.add(".scheduler_default_main", "border: 1px solid #c0c0c0;font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;"), e.add(".scheduler_default_timeheader", "cursor: default;color: #333;"), e.add(".scheduler_default_message", "opacity: 0.9;filter: alpha(opacity=90);padding: 10px; color: #ffffff;background: #ffa216;"), e.add(".scheduler_default_timeheadergroup,.scheduler_default_timeheadercol", "color: #333;background: #f3f3f3;"), e.add(".scheduler_default_rowheader,.scheduler_default_corner", "color: #333;background: #f3f3f3;"), e.add(".scheduler_default_rowheader_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #eee;padding: 2px;"), e.add(".scheduler_default_timeheadergroup, .scheduler_default_timeheadercol", "text-align: center;"), e.add(".scheduler_default_timeheadergroup_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".scheduler_default_timeheadercol_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #c0c0c0;"), e.add(".scheduler_default_divider", "background-color: #c0c0c0;"), e.add(".scheduler_default_divider_horizontal", "background-color: #c0c0c0;"), e.add(".scheduler_default_matrix_vertical_line", "background-color: #eee;"), e.add(".scheduler_default_matrix_vertical_break", "background-color: #000;"), e.add(".scheduler_default_matrix_horizontal_line", "background-color: #eee;"), e.add(".scheduler_default_resourcedivider", "background-color: #c0c0c0;"), e.add(".scheduler_default_shadow_inner", "background-color: #666666;opacity: 0.5;filter: alpha(opacity=50);height: 100%;xborder-radius: 5px;"), e.add(".scheduler_default_event", "color:#333; font-size: 13px;"), e.add(".scheduler_default_event_inner", "position:absolute;top:0px;left:0px;right:0px;bottom:0px;padding:5px 2px 2px 2px;overflow:hidden;border:1px solid #ccc;"), e.add(".scheduler_default_event_bar", "top:0px;left:0px;right:0px;height:4px;background-color:#9dc8e8;"), e.add(".scheduler_default_event_bar_inner", "position:absolute;height:4px;background-color:#1066a8;"), e.add(".scheduler_default_event_inner", 'background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".scheduler_default_event_float_inner", "padding:6px 2px 2px 8px;"), 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:8px;left:-4px;'), e.add(".scheduler_default_columnheader_inner", "font-weight: bold;"), e.add(".scheduler_default_columnheader_splitter", "background-color: #666;opacity: 0.5;filter: alpha(opacity=50);"), e.add(".scheduler_default_columnheader_cell_inner", "padding: 2px;"), e.add(".scheduler_default_cell", "background-color: #f9f9f9;"), e.add(".scheduler_default_cell.scheduler_default_cell_business", "background-color: #fff;"), e.add(".navigator_default_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;"), e.add(".navigator_default_main *, .navigator_default_main *:before, .navigator_default_main *:after", "box-sizing: content-box;"), e.add(".navigator_default_month", "font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 12px;"), e.add(".navigator_default_day", "color: black;"), e.add(".navigator_default_weekend", "background-color: #f0f0f0;"), e.add(".navigator_default_dayheader", "color: black;"), e.add(".navigator_default_line", "border-bottom: 1px solid #c0c0c0;"), e.add(".navigator_default_dayother", "color: gray;"), e.add(".navigator_default_todaybox", "border: 1px solid red;"), e.add(".navigator_default_title, .navigator_default_titleleft, .navigator_default_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), e.add(".navigator_default_busy", "font-weight: bold;"), e.add(".navigator_default_cell", "text-align: center;"), e.add(".navigator_default_select .navigator_default_cell_box", "background-color: #FFE794; opacity: 0.5;"), e.add(".navigator_default_title", "text-align: center;"), e.add(".navigator_default_titleleft, .navigator_default_titleright", "text-align: center;"), e.add(".navigator_default_dayheader", "text-align: center;"), e.add(".navigator_default_weeknumber", "text-align: center; color: #999;"), e.add(".navigator_default_cell_text", "cursor: pointer;"), e.add(".month_default_main", "border: 1px solid #c0c0c0;font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;color: #333;"), e.add(".month_default_main *, .month_default_main *:before, .month_default_main *:after", "box-sizing: content-box;"), e.add(".month_default_cell_inner", "border-right: 1px solid #ddd;border-bottom: 1px solid #ddd;position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;background-color: #f9f9f9;"), e.add(".month_default_cell_business .month_default_cell_inner", "background-color: #fff;"), e.add(".month_default_cell_header", "text-align: right; padding: 4px; box-sizing: border-box;"), e.add(".month_default_header_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;cursor: default;color: #333;background: #f3f3f3; overflow:hidden; display: flex; align-items: center; justify-content: center;"), e.add(".month_default_message", "padding: 10px;opacity: 0.9; color: #ffffff;background: #ffa216;"), e.add(".month_default_event_inner", "position: absolute;top: 0px;bottom: 0px;left: 1px;right: 1px;overflow:hidden;padding: 2px;padding-left: 10px;color: #333;background: #fff;background: linear-gradient(to bottom, #ffffff 0%, #eeeeee);border: 1px solid #999;border-radius: 0px;display: flex; align-items: center; font-size: 13px;"), e.add(".month_default_event_continueright .month_default_event_inner", "border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-right-style: dotted;"), e.add(".month_default_event_continueleft .month_default_event_inner", "border-top-left-radius: 0px;border-bottom-left-radius: 0px;border-left-style: dotted;"), e.add(".month_default_event_bar", "top: 0px;bottom: 0px;left: 0px;width: 6px;"), e.add(".month_default_event_bar_inner", "position: absolute;width: 6px;background-color: #1066a8;"), e.add(".month_default_event_continueleft .month_default_event_bar", "display: none;"), e.add(".month_default_selected .month_default_event_inner", "background: #ddd;"), e.add(".month_default_shadow_inner", "background-color: #666666;opacity: 0.5;height: 100%;"), 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;-ms-filter: none;"), e.add(".month_default_event_timeleft", "color: #ccc; font-size: 8pt"), e.add(".month_default_event_timeright", "color: #ccc; font-size: 8pt; text-align: right;"), e.add(".month_default_loading", "background-color: orange; color: white; padding: 2px;"), e.commit(), DayPilot.Global.defaultCss = !0;
206
+ e.add(".calendar_default_main", "border: 1px solid #c0c0c0; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;"), e.add(".calendar_default_main *, .calendar_default_main *:before, .calendar_default_main *:after", "box-sizing: content-box;"), e.add(".calendar_default_rowheader_inner,.calendar_default_cornerright_inner,.calendar_default_corner_inner,.calendar_default_colheader_inner,.calendar_default_alldayheader_inner", "color: #333;background: #f3f3f3;"), e.add(".calendar_default_cornerright_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;\tborder-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_direction_rtl .calendar_default_cornerright_inner", "border-right: 1px solid #c0c0c0;"), e.add(".calendar_default_rowheader_inner", "font-size: 16pt;text-align: right; position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0; padding: 3px;"), 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 #c0c0c0;border-bottom: 1px solid #c0c0c0;"), 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;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0; display: flex; align-items: center; justify-content: center; font-size: 13px;"), e.add(".calendar_default_cell_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #ddd;border-bottom: 1px solid #ddd; background: #f9f9f9;"), e.add(".calendar_default_cell_business .calendar_default_cell_inner", "background: #fff"), e.add(".calendar_default_alldayheader_inner", "text-align: center;position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_message", "opacity: 0.9; padding: 10px; color: #ffffff;background: #ffa216;"), e.add(".calendar_default_alldayevent_inner,.calendar_default_event_inner", "color: #333; border: 1px solid #999;"), e.add(".calendar_default_event_bar", "top: 0px;bottom: 0px;left: 0px;width: 6px;background-color: #9dc8e8;"), e.add(".calendar_default_event_bar_inner", "position: absolute;width: 6px;background-color: #1066a8;"), e.add(".calendar_default_alldayevent_inner,.calendar_default_event_inner", 'background: #fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_selected .calendar_default_event_inner", "background: #ddd;"), e.add(".calendar_default_alldayevent_inner", "position: absolute;top: 2px;bottom: 2px;left: 2px;right: 2px;overflow:hidden;padding: 2px;margin-right: 1px; font-size: 13px;"), e.add(".calendar_default_event_withheader .calendar_default_event_inner", "padding-top: 15px;"), e.add(".calendar_default_event", "cursor: default;"), e.add(".calendar_default_event_inner", "position: absolute;overflow: hidden;top: 0px;bottom: 0px;left: 0px;right: 0px;padding: 2px 2px 2px 8px; font-size: 13px;"), e.add(".calendar_default_shadow_inner", "position:absolute;top:0px;left:0px;right:0px;bottom:0px;background-color: #666666; opacity: 0.5;"), 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: red;"), e.add(".calendar_default_now:before", "content: ''; top: -5px; border-width: 5px; border-color: transparent transparent transparent red; border-style: solid; width: 0px; height:0px; position: absolute; -moz-transform: scale(.9999);"), e.add(".calendar_default_shadow_forbidden .calendar_default_shadow_inner", "background-color: red;"), e.add(".calendar_default_shadow_top", 'box-sizing: border-box; padding:2px;border:1px solid #ccc;background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_shadow_bottom", 'box-sizing: border-box; padding:2px;border:1px solid #ccc;background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), 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: #f3f3f3;"), e.add(".calendar_default_event_moving_source", "opacity: 0.5;"), 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(".scheduler_default_selected .scheduler_default_event_inner", "background: #ddd;"), e.add(".scheduler_default_main", "border: 1px solid #c0c0c0;font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;"), e.add(".scheduler_default_timeheader", "cursor: default;color: #333;"), e.add(".scheduler_default_message", "opacity: 0.9;filter: alpha(opacity=90);padding: 10px; color: #ffffff;background: #ffa216;"), e.add(".scheduler_default_timeheadergroup,.scheduler_default_timeheadercol", "color: #333;background: #f3f3f3;"), e.add(".scheduler_default_rowheader,.scheduler_default_corner", "color: #333;background: #f3f3f3;"), e.add(".scheduler_default_rowheader_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #eee;padding: 2px;"), e.add(".scheduler_default_timeheadergroup, .scheduler_default_timeheadercol", "text-align: center;"), e.add(".scheduler_default_timeheadergroup_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".scheduler_default_timeheadercol_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #c0c0c0;"), e.add(".scheduler_default_divider", "background-color: #c0c0c0;"), e.add(".scheduler_default_divider_horizontal", "background-color: #c0c0c0;"), e.add(".scheduler_default_matrix_vertical_line", "background-color: #eee;"), e.add(".scheduler_default_matrix_vertical_break", "background-color: #000;"), e.add(".scheduler_default_matrix_horizontal_line", "background-color: #eee;"), e.add(".scheduler_default_resourcedivider", "background-color: #c0c0c0;"), e.add(".scheduler_default_shadow_inner", "background-color: #666666;opacity: 0.5;filter: alpha(opacity=50);height: 100%;xborder-radius: 5px;"), e.add(".scheduler_default_event", "color:#333; font-size: 13px;"), e.add(".scheduler_default_event_inner", "position:absolute;top:0px;left:0px;right:0px;bottom:0px;padding:5px 2px 2px 2px;overflow:hidden;border:1px solid #ccc;"), e.add(".scheduler_default_event_bar", "top:0px;left:0px;right:0px;height:4px;background-color:#9dc8e8;"), e.add(".scheduler_default_event_bar_inner", "position:absolute;height:4px;background-color:#1066a8;"), e.add(".scheduler_default_event_inner", 'background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".scheduler_default_event_float_inner", "padding:6px 2px 2px 8px;"), 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:8px;left:-4px;'), e.add(".scheduler_default_columnheader_inner", "font-weight: bold;"), e.add(".scheduler_default_columnheader_splitter", "background-color: #666;opacity: 0.5;filter: alpha(opacity=50);"), e.add(".scheduler_default_columnheader_cell_inner", "padding: 2px;"), e.add(".scheduler_default_cell", "background-color: #f9f9f9;"), e.add(".scheduler_default_cell.scheduler_default_cell_business", "background-color: #fff;"), e.add(".navigator_default_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;"), e.add(".navigator_default_main *, .navigator_default_main *:before, .navigator_default_main *:after", "box-sizing: content-box;"), e.add(".navigator_default_month", "font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 12px;"), e.add(".navigator_default_day", "color: black;"), e.add(".navigator_default_weekend", "background-color: #f0f0f0;"), e.add(".navigator_default_dayheader", "color: black;"), e.add(".navigator_default_line", "border-bottom: 1px solid #c0c0c0;"), e.add(".navigator_default_dayother", "color: gray;"), e.add(".navigator_default_todaybox", "border: 1px solid red;"), e.add(".navigator_default_title, .navigator_default_titleleft, .navigator_default_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), e.add(".navigator_default_busy", "font-weight: bold;"), e.add(".navigator_default_cell", "text-align: center;"), e.add(".navigator_default_select .navigator_default_cell_box", "background-color: #FFE794; opacity: 0.5;"), e.add(".navigator_default_title", "text-align: center;"), e.add(".navigator_default_titleleft, .navigator_default_titleright", "text-align: center;"), e.add(".navigator_default_dayheader", "text-align: center;"), e.add(".navigator_default_weeknumber", "text-align: center; color: #999;"), e.add(".navigator_default_cell_text", "cursor: pointer;"), e.add(".month_default_main", "border: 1px solid #c0c0c0;font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;color: #333;"), e.add(".month_default_main *, .month_default_main *:before, .month_default_main *:after", "box-sizing: content-box;"), e.add(".month_default_cell_inner", "border-right: 1px solid #ddd;border-bottom: 1px solid #ddd;position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;background-color: #f9f9f9;"), e.add(".month_default_cell_business .month_default_cell_inner", "background-color: #fff;"), e.add(".month_default_cell_header", "text-align: right; padding: 4px; box-sizing: border-box;"), e.add(".month_default_header_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;cursor: default;color: #333;background: #f3f3f3; overflow:hidden; display: flex; align-items: center; justify-content: center;"), e.add(".month_default_message", "padding: 10px;opacity: 0.9; color: #ffffff;background: #ffa216;"), e.add(".month_default_event_inner", "position: absolute;top: 0px;bottom: 0px;left: 1px;right: 1px;overflow:hidden;padding: 2px;padding-left: 10px;color: #333;background: #fff;background: linear-gradient(to bottom, #ffffff 0%, #eeeeee);border: 1px solid #999;border-radius: 0px;display: flex; align-items: center; font-size: 13px;"), e.add(".month_default_event_continueright .month_default_event_inner", "border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-right-style: dotted;"), e.add(".month_default_event_continueleft .month_default_event_inner", "border-top-left-radius: 0px;border-bottom-left-radius: 0px;border-left-style: dotted;"), e.add(".month_default_event_bar", "top: 0px;bottom: 0px;left: 0px;width: 6px;"), e.add(".month_default_event_bar_inner", "position: absolute;width: 6px;background-color: #1066a8;"), e.add(".month_default_event_continueleft .month_default_event_bar", "display: none;"), e.add(".month_default_selected .month_default_event_inner", "background: #ddd;"), e.add(".month_default_shadow_inner", "background-color: #666666;opacity: 0.5;height: 100%;"), 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;-ms-filter: none;"), e.add(".month_default_event_timeleft", "color: #ccc; font-size: 8pt"), e.add(".month_default_event_timeright", "color: #ccc; font-size: 8pt; text-align: right;"), e.add(".month_default_loading", "background-color: orange; color: white; padding: 2px;"), e.commit(), DayPilot.Global.defaultCss = !0;
192
207
  }
193
208
  }(), DayPilot.doc = function () { var e = document.documentElement; return e && e.clientHeight ? e : document.body; }, DayPilot.guid = function () { var e = function () { return (65536 * (1 + Math.random()) | 0).toString(16).substring(1); }; return "" + e() + e() + "-" + e() + "-" + e() + "-" + e() + "-" + e() + e() + e(); }, DayPilot.pageOffset = function () {
194
209
  if ("undefined" != typeof pageXOffset)
@@ -202,7 +217,7 @@ if ("undefined" == typeof DayPilot)
202
217
  if (e[a] === t)
203
218
  return a;
204
219
  return -1;
205
- }, DayPilot.mc = function (e) { return e.pageX || e.pageY ? { x: e.pageX, y: e.pageY } : { x: e.clientX + document.documentElement.scrollLeft, y: e.clientY + document.documentElement.scrollTop }; }, DayPilot.Stats = {}, DayPilot.Stats.eventObjects = 0, DayPilot.Stats.dateObjects = 0, DayPilot.Stats.cacheHitsCtor = 0, DayPilot.Stats.cacheHitsParsing = 0, DayPilot.Stats.cacheHitsTicks = 0, DayPilot.Stats.print = function () { console.log("DayPilot.Stats.eventObjects: " + DayPilot.Stats.eventObjects), console.log("DayPilot.Stats.dateObjects: " + DayPilot.Stats.dateObjects), console.log("DayPilot.Stats.cacheHitsCtor: " + DayPilot.Stats.cacheHitsCtor), console.log("DayPilot.Stats.cacheHitsParsing: " + DayPilot.Stats.cacheHitsParsing), console.log("DayPilot.Stats.cacheHitsTicks: " + DayPilot.Stats.cacheHitsTicks), console.log("DayPilot.Date.Cache.Ctor keys: " + Object.keys(DayPilot.Date.Cache.Ctor).length), console.log("DayPilot.Date.Cache.Parsing keys: " + Object.keys(DayPilot.Date.Cache.Parsing).length); }, DayPilot.re = function (e, t, a) { e.addEventListener ? e.addEventListener(t, a, !1) : e.attachEvent && e.attachEvent("on" + t, a); }, DayPilot.pu = function (e) {
220
+ }, DayPilot.mc = function (e) { return e.pageX || e.pageY ? { x: e.pageX, y: e.pageY } : { x: e.clientX + document.documentElement.scrollLeft, y: e.clientY + document.documentElement.scrollTop }; }, DayPilot.Stats = {}, DayPilot.Stats.eventObjects = 0, DayPilot.Stats.dateObjects = 0, DayPilot.Stats.cacheHitsCtor = 0, DayPilot.Stats.cacheHitsParsing = 0, DayPilot.Stats.cacheHitsTicks = 0, DayPilot.Stats.print = function () { console.log("DayPilot.Stats.eventObjects: " + DayPilot.Stats.eventObjects), console.log("DayPilot.Stats.dateObjects: " + DayPilot.Stats.dateObjects), console.log("DayPilot.Stats.cacheHitsCtor: " + DayPilot.Stats.cacheHitsCtor), console.log("DayPilot.Stats.cacheHitsParsing: " + DayPilot.Stats.cacheHitsParsing), console.log("DayPilot.Stats.cacheHitsTicks: " + DayPilot.Stats.cacheHitsTicks), console.log("DayPilot.Date.Cache.Ctor keys: " + Object.keys(DayPilot.Date.Cache.Ctor).length), console.log("DayPilot.Date.Cache.Parsing keys: " + Object.keys(DayPilot.Date.Cache.Parsing).length); }, DayPilot.re = function (e, t, a) { a && e && e.addEventListener(t, a, !1); }, DayPilot.rePassive = function (e, t, a) { a && e && e.addEventListener(t, a, { "passive": !0 }); }, DayPilot.reNonPassive = function (e, t, a) { a && e && e.addEventListener(t, a, { "passive": !1 }); }, DayPilot.pu = function (e) {
206
221
  var t, a, r, o = e.attributes;
207
222
  if (o)
208
223
  for (a = o.length, t = 0; t < a; t += 1)
@@ -257,6 +272,18 @@ if ("undefined" == typeof DayPilot)
257
272
  var a = new RegExp("(^|\\s)" + t + "($|\\s)");
258
273
  e.className = e.className.replace(a, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
259
274
  }
275
+ }, DayPilot.Util.copyProps = function (e, t, a) {
276
+ if (t || (t = {}), !e)
277
+ return t;
278
+ if ("undefined" == typeof a)
279
+ for (var r in e)
280
+ e.hasOwnProperty(r) && "undefined" != typeof e[r] && (t[r] = e[r]);
281
+ else
282
+ for (var o = 0; o < a.length; o++) {
283
+ var r = a[o];
284
+ "undefined" != typeof e[r] && (t[r] = e[r]);
285
+ }
286
+ return t;
260
287
  }, DayPilot.Util.ownPropsAsArray = function (e) {
261
288
  var t = [];
262
289
  if (!e)
@@ -276,8 +303,9 @@ if ("undefined" == typeof DayPilot)
276
303
  return null;
277
304
  var t = e.toLowerCase();
278
305
  return t.length > 2 && (t = DayPilot.Util.replaceCharAt(t, 2, "-")), DayPilot.Locale.all[t];
279
- }, DayPilot.Locale.register = function (e) { DayPilot.Locale.all[e.id] = e; }, DayPilot.Locale.register(new DayPilot.Locale("ca-es", { "dayNames": ["diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"], "dayNamesShort": ["dg", "dl", "dt", "dc", "dj", "dv", "ds"], "monthNames": ["gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre", ""], "monthNamesShort": ["gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("cs-cz", { "dayNames": ["neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"], "dayNamesShort": ["ne", "po", "út", "st", "čt", "pá", "so"], "monthNames": ["leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec", ""], "monthNamesShort": ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII", ""], "timePattern": "H:mm", "datePattern": "d. M. yyyy", "dateTimePattern": "d. M. yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("da-dk", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yyyy", "dateTimePattern": "dd-MM-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-at", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-ch", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-de", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-lu", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-au", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-ca", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("en-gb", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-us", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""],
280
- "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "M/d/yyyy", "dateTimePattern": "M/d/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("es-es", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["D", "L", "M", "X", "J", "V", "S"], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("es-mx", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["do.", "lu.", "ma.", "mi.", "ju.", "vi.", "sá."], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "hh:mm tt", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy hh:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("eu-es", { "dayNames": ["igandea", "astelehena", "asteartea", "asteazkena", "osteguna", "ostirala", "larunbata"], "dayNamesShort": ["ig", "al", "as", "az", "og", "or", "lr"], "monthNames": ["urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina", "uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua", ""], "monthNamesShort": ["urt.", "ots.", "mar.", "api.", "mai.", "eka.", "uzt.", "abu.", "ira.", "urr.", "aza.", "abe.", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fi-fi", { "dayNames": ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"], "dayNamesShort": ["su", "ma", "ti", "ke", "to", "pe", "la"], "monthNames": ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu", ""], "monthNamesShort": ["tammi", "helmi", "maalis", "huhti", "touko", "kesä", "heinä", "elo", "syys", "loka", "marras", "joulu", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-be", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yy", "dateTimePattern": "dd-MM-yy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-ch", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-fr", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-lu", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("gl-es", { "dayNames": ["domingo", "luns", "martes", "mércores", "xoves", "venres", "sábado"], "dayNamesShort": ["do", "lu", "ma", "mé", "xo", "ve", "sá"], "monthNames": ["xaneiro", "febreiro", "marzo", "abril", "maio", "xuño", "xullo", "agosto", "setembro", "outubro", "novembro", "decembro", ""], "monthNamesShort": ["xan", "feb", "mar", "abr", "maio", "xuño", "xul", "ago", "set", "out", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-it", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-ch", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ja-jp", { "dayNames": ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"], "dayNamesShort": ["日", "月", "火", "水", "木", "金", "土"], "monthNames": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("nb-no", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-nl", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "d-M-yyyy", "dateTimePattern": "d-M-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-be", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nn-no", { "dayNames": ["søndag", "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag"], "dayNamesShort": ["sø", "må", "ty", "on", "to", "fr", "la"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-br", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("pl-pl", { "dayNames": ["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"], "dayNamesShort": ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So"], "monthNames": ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień", ""], "monthNamesShort": ["sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-pt", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("ro-ro", { "dayNames": ["duminică", "luni", "marți", "miercuri", "joi", "vineri", "sâmbătă"], "dayNamesShort": ["D", "L", "Ma", "Mi", "J", "V", "S"], "monthNames": ["ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie", ""], "monthNamesShort": ["ian.", "feb.", "mar.", "apr.", "mai.", "iun.", "iul.", "aug.", "sep.", "oct.", "nov.", "dec.", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ru-ru", { "dayNames": ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"], "dayNamesShort": ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь", ""], "monthNamesShort": ["янв", "фев", "мар", "апр", "май", "июн", "июл", "авг", "сен", "окт", "ноя", "дек", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sk-sk", { "dayNames": ["nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota"], "dayNamesShort": ["ne", "po", "ut", "st", "št", "pi", "so"], "monthNames": ["január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sv-se", { "dayNames": ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"], "dayNamesShort": ["sö", "må", "ti", "on", "to", "fr", "lö"], "monthNames": ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("tr-tr", { "dayNames": ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"], "dayNamesShort": ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"], "monthNames": ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık", ""], "monthNamesShort": ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara", ""], "timePattern": "HH:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("uk-ua", { "dayNames": ["неділя", "понеділок", "вівторок", "середа", "четвер", "п'ятниця", "субота"], "dayNamesShort": ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["січень", "лютий", "березень", "квітень", "травень", "червень", "липень", "серпень", "вересень", "жовтень", "листопад", "грудень", ""], "monthNamesShort": ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("zh-cn", { "dayNames": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dayNamesShort": ["日", "一", "二", "三", "四", "五", "六"], "monthNames": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], "monthNamesShort": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "timePattern": "H:mm", "datePattern": "yyyy/M/d", "dateTimePattern": "yyyy/M/d H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.US = DayPilot.Locale.find("en-us"), DayPilot.Duration = function (e) {
306
+ }, DayPilot.Locale.register = function (e) { DayPilot.Locale.all[e.id] = e; }, DayPilot.Locale.register(new DayPilot.Locale("ca-es", { "dayNames": ["diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"], "dayNamesShort": ["dg", "dl", "dt", "dc", "dj", "dv", "ds"], "monthNames": ["gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre", ""], "monthNamesShort": ["gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("cs-cz", { "dayNames": ["neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"], "dayNamesShort": ["ne", "po", "út", "st", "čt", "pá", "so"], "monthNames": ["leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec", ""], "monthNamesShort": ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII", ""], "timePattern": "H:mm", "datePattern": "d. M. yyyy", "dateTimePattern": "d. M. yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("da-dk", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yyyy", "dateTimePattern": "dd-MM-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-at", {
307
+ "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1
308
+ })), DayPilot.Locale.register(new DayPilot.Locale("de-ch", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-de", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-lu", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-au", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-ca", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("en-gb", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-us", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "M/d/yyyy", "dateTimePattern": "M/d/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("es-es", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["D", "L", "M", "X", "J", "V", "S"], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("es-mx", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["do.", "lu.", "ma.", "mi.", "ju.", "vi.", "sá."], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "hh:mm tt", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy hh:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("eu-es", { "dayNames": ["igandea", "astelehena", "asteartea", "asteazkena", "osteguna", "ostirala", "larunbata"], "dayNamesShort": ["ig", "al", "as", "az", "og", "or", "lr"], "monthNames": ["urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina", "uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua", ""], "monthNamesShort": ["urt.", "ots.", "mar.", "api.", "mai.", "eka.", "uzt.", "abu.", "ira.", "urr.", "aza.", "abe.", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fi-fi", { "dayNames": ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"], "dayNamesShort": ["su", "ma", "ti", "ke", "to", "pe", "la"], "monthNames": ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu", ""], "monthNamesShort": ["tammi", "helmi", "maalis", "huhti", "touko", "kesä", "heinä", "elo", "syys", "loka", "marras", "joulu", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-be", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yy", "dateTimePattern": "dd-MM-yy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-ch", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-fr", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-lu", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("gl-es", { "dayNames": ["domingo", "luns", "martes", "mércores", "xoves", "venres", "sábado"], "dayNamesShort": ["do", "lu", "ma", "mé", "xo", "ve", "sá"], "monthNames": ["xaneiro", "febreiro", "marzo", "abril", "maio", "xuño", "xullo", "agosto", "setembro", "outubro", "novembro", "decembro", ""], "monthNamesShort": ["xan", "feb", "mar", "abr", "maio", "xuño", "xul", "ago", "set", "out", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-it", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-ch", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ja-jp", { "dayNames": ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"], "dayNamesShort": ["日", "月", "火", "水", "木", "金", "土"], "monthNames": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("nb-no", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-nl", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "d-M-yyyy", "dateTimePattern": "d-M-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-be", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nn-no", { "dayNames": ["søndag", "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag"], "dayNamesShort": ["sø", "må", "ty", "on", "to", "fr", "la"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-br", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("pl-pl", { "dayNames": ["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"], "dayNamesShort": ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So"], "monthNames": ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień", ""], "monthNamesShort": ["sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-pt", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("ro-ro", { "dayNames": ["duminică", "luni", "marți", "miercuri", "joi", "vineri", "sâmbătă"], "dayNamesShort": ["D", "L", "Ma", "Mi", "J", "V", "S"], "monthNames": ["ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie", ""], "monthNamesShort": ["ian.", "feb.", "mar.", "apr.", "mai.", "iun.", "iul.", "aug.", "sep.", "oct.", "nov.", "dec.", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ru-ru", { "dayNames": ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"], "dayNamesShort": ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь", ""], "monthNamesShort": ["янв", "фев", "мар", "апр", "май", "июн", "июл", "авг", "сен", "окт", "ноя", "дек", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sk-sk", { "dayNames": ["nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota"], "dayNamesShort": ["ne", "po", "ut", "st", "št", "pi", "so"], "monthNames": ["január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sv-se", { "dayNames": ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"], "dayNamesShort": ["sö", "må", "ti", "on", "to", "fr", "lö"], "monthNames": ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("tr-tr", { "dayNames": ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"], "dayNamesShort": ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"], "monthNames": ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık", ""], "monthNamesShort": ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara", ""], "timePattern": "HH:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("uk-ua", { "dayNames": ["неділя", "понеділок", "вівторок", "середа", "четвер", "п'ятниця", "субота"], "dayNamesShort": ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["січень", "лютий", "березень", "квітень", "травень", "червень", "липень", "серпень", "вересень", "жовтень", "листопад", "грудень", ""], "monthNamesShort": ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("zh-cn", { "dayNames": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dayNamesShort": ["日", "一", "二", "三", "四", "五", "六"], "monthNames": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], "monthNamesShort": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "timePattern": "H:mm", "datePattern": "yyyy/M/d", "dateTimePattern": "yyyy/M/d H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.US = DayPilot.Locale.find("en-us"), DayPilot.Duration = function (e) {
281
309
  var t = this, a = 864e5, r = 36e5, o = 6e4, n = 1e3;
282
310
  if (2 === arguments.length) {
283
311
  var i = arguments[0], d = arguments[1];
@@ -382,8 +410,8 @@ if ("undefined" == typeof DayPilot)
382
410
  }
383
411
  else
384
412
  y = DayPilot.DateUtil.getTzOffsetMinutes(e.substring(19));
385
- var g = new DayPilot.Date(s);
386
- return t || (g = g.addMinutes(-y)), s = g.toDate(), DayPilot.Date.Cache.Parsing[e] = s, s;
413
+ var p = new DayPilot.Date(s);
414
+ return t || (p = p.addMinutes(-y)), s = p.toDate(), DayPilot.Date.Cache.Parsing[e] = s, s;
387
415
  }, DayPilot.DateUtil.getTzOffsetMinutes = function (e) {
388
416
  if (DayPilot.Util.isNullOrUndefined(e) || "" === e)
389
417
  return 0;
@@ -402,10 +430,10 @@ if ("undefined" == typeof DayPilot)
402
430
  r = r.addDays(1), a++;
403
431
  return a;
404
432
  }, DayPilot.DateUtil.daysSpan = function (e, t) {
405
- if (e && t || function () { throw "two parameters required"; }(), e = new DayPilot.Date(e), t = new DayPilot.Date(t), e === t)
433
+ if (e && t || function () { throw "two parameters required"; }(), e = new DayPilot.Date(e), t = new DayPilot.Date(t), e.getTime() === t.getTime())
406
434
  return 0;
407
435
  var a = DayPilot.DateUtil.daysDiff(e, t);
408
- return t == t.getDatePart() && a--, a;
436
+ return t.getTime() == t.getDatePart().getTime() && a--, a;
409
437
  }, DayPilot.DateUtil.diff = function (e, t) {
410
438
  if (!(e && t && e.getTime && t.getTime))
411
439
  throw "Both compared objects must be Date objects (DayPilot.Date.diff).";
@@ -423,7 +451,9 @@ if ("undefined" == typeof DayPilot)
423
451
  }, DayPilot.DateUtil.max = function (e, t) { return e.getTime() > t.getTime() ? e : t; }, DayPilot.DateUtil.min = function (e, t) { return e.getTime() < t.getTime() ? e : t; };
424
452
  var r = function (e, a) {
425
453
  "string" == typeof a && (a = DayPilot.Locale.find(a));
426
- var a = a || DayPilot.Locale.US, r = [{ "seq": "yyyy", "expr": "[0-9]{4,4}", "str": function (e) { return e.getYear(); } }, { "seq": "yy", "expr": "[0-9]{2,2}", "str": function (e) { return e.getYear() % 100; } }, { "seq": "mm", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getMinutes(); return t < 10 ? "0" + t : t; } }, { "seq": "m", "expr": "[0-9]{1,2}", "str": function (e) { return e.getMinutes(); } }, { "seq": "HH", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getHours(); return t < 10 ? "0" + t : t; } }, { "seq": "H", "expr": "[0-9]{1,2}", "str": function (e) { return e.getHours(); } }, { "seq": "hh", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getHours(), t = t % 12; 0 === t && (t = 12); var a = t; return a < 10 ? "0" + a : a; } }, { "seq": "h", "expr": "[0-9]{1,2}", "str": function (e) { var t = e.getHours(), t = t % 12; return 0 === t && (t = 12), t; } }, { "seq": "ss", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getSeconds(); return t < 10 ? "0" + t : t; } }, { "seq": "s", "expr": "[0-9]{1,2}", "str": function (e) { return e.getSeconds(); } }, { "seq": "MMMM", "expr": "[^\\s0-9]*", "str": function (e) { return a.monthNames[e.getMonth()]; }, "transform": function (e) { var r = DayPilot.indexOf(a.monthNames, e, t); return r < 0 ? null : r + 1; } }, { "seq": "MMM", "expr": "[^\\s0-9]*", "str": function (e) { return a.monthNamesShort[e.getMonth()]; }, "transform": function (e) { var r = DayPilot.indexOf(a.monthNamesShort, e, t); return r < 0 ? null : r + 1; } }, { "seq": "MM", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getMonth() + 1; return t < 10 ? "0" + t : t; } }, { "seq": "M", "expr": "[0-9]{1,2}", "str": function (e) { return e.getMonth() + 1; } }, { "seq": "dddd", "expr": "[^\\s0-9]*", "str": function (e) { return a.dayNames[e.getDayOfWeek()]; } }, { "seq": "ddd", "expr": "[^\\s0-9]*", "str": function (e) { return a.dayNamesShort[e.getDayOfWeek()]; } }, { "seq": "dd", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getDay(); return t < 10 ? "0" + t : t; } }, { "seq": "%d", "expr": "[0-9]{1,2}", "str": function (e) { return e.getDay(); } }, { "seq": "d", "expr": "[0-9]{1,2}", "str": function (e) { return e.getDay(); } }, { "seq": "tt", "expr": "(AM|PM|am|pm)", "str": function (e) { return e.getHours() < 12 ? "AM" : "PM"; }, "transform": function (e) { return e.toUpperCase(); } }], o = function (e) { return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); };
454
+ var a = a || DayPilot.Locale.US, r = [{ "seq": "yyyy", "expr": "[0-9]{4,4}", "str": function (e) { return e.getYear(); } }, { "seq": "yy", "expr": "[0-9]{2,2}", "str": function (e) { return e.getYear() % 100; } }, { "seq": "mm", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getMinutes(); return t < 10 ? "0" + t : t; } }, { "seq": "m", "expr": "[0-9]{1,2}", "str": function (e) { return e.getMinutes(); } }, { "seq": "HH", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getHours(); return t < 10 ? "0" + t : t; } }, { "seq": "H", "expr": "[0-9]{1,2}", "str": function (e) { return e.getHours(); } }, { "seq": "hh", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getHours(), t = t % 12; 0 === t && (t = 12); var a = t; return a < 10 ? "0" + a : a; } }, { "seq": "h", "expr": "[0-9]{1,2}", "str": function (e) { var t = e.getHours(), t = t % 12; return 0 === t && (t = 12), t; } }, { "seq": "ss", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getSeconds(); return t < 10 ? "0" + t : t; } }, { "seq": "s", "expr": "[0-9]{1,2}", "str": function (e) { return e.getSeconds(); } }, { "seq": "MMMM", "expr": "[^\\s0-9]*", "str": function (e) { return a.monthNames[e.getMonth()]; }, "transform": function (e) { var r = DayPilot.indexOf(a.monthNames, e, t); return r < 0 ? null : r + 1; } }, { "seq": "MMM", "expr": "[^\\s0-9]*", "str": function (e) { return a.monthNamesShort[e.getMonth()]; }, "transform": function (e) { var r = DayPilot.indexOf(a.monthNamesShort, e, t); return r < 0 ? null : r + 1; } }, { "seq": "MM", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getMonth() + 1; return t < 10 ? "0" + t : t; } }, { "seq": "M", "expr": "[0-9]{1,2}", "str": function (e) { return e.getMonth() + 1; } }, { "seq": "dddd", "expr": "[^\\s0-9]*", "str": function (e) {
455
+ return a.dayNames[e.getDayOfWeek()];
456
+ } }, { "seq": "ddd", "expr": "[^\\s0-9]*", "str": function (e) { return a.dayNamesShort[e.getDayOfWeek()]; } }, { "seq": "dd", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getDay(); return t < 10 ? "0" + t : t; } }, { "seq": "%d", "expr": "[0-9]{1,2}", "str": function (e) { return e.getDay(); } }, { "seq": "d", "expr": "[0-9]{1,2}", "str": function (e) { return e.getDay(); } }, { "seq": "tt", "expr": "(AM|PM|am|pm)", "str": function (e) { return e.getHours() < 12 ? "AM" : "PM"; }, "transform": function (e) { return e.toUpperCase(); } }], o = function (e) { return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); };
427
457
  this.init = function () { this.year = this.findSequence("yyyy"), this.month = this.findSequence("MMMM") || this.findSequence("MMM") || this.findSequence("MM") || this.findSequence("M"), this.day = this.findSequence("dd") || this.findSequence("d"), this.hours = this.findSequence("HH") || this.findSequence("H"), this.minutes = this.findSequence("mm") || this.findSequence("m"), this.seconds = this.findSequence("ss") || this.findSequence("s"), this.ampm = this.findSequence("tt"), this.hours12 = this.findSequence("hh") || this.findSequence("h"); }, this.findSequence = function (t) {
428
458
  function a(e) { return parseInt(e); }
429
459
  return e.indexOf(t) === -1 ? null : { "findValue": function (n) {
@@ -513,9 +543,7 @@ if ("undefined" == typeof DayPilot)
513
543
  r.data[n[e]] = o[n[e]];
514
544
  o.dirty = !1;
515
545
  }
516
- }, this.dirty = function () { return o.dirty; }, this.id = function (e) { return "undefined" == typeof e ? r.data.id : void (this.temp().id = e); }, this.value = function (e) { return "undefined" == typeof e ? r.id() : void r.id(e); }, this.text = function (e) { return "undefined" == typeof e ? r.data.text : (this.temp().text = e, void this.client.innerHTML(e)); }, this.start = function (e) {
517
- return "undefined" == typeof e ? new DayPilot.Date(r.data.start) : void (this.temp().start = new DayPilot.Date(e));
518
- }, this.end = function (e) { return "undefined" == typeof e ? new DayPilot.Date(r.data.end) : void (this.temp().end = new DayPilot.Date(e)); }, this.resource = function (e) { return "undefined" == typeof e ? r.data.resource : void (this.temp().resource = e); }, this.partStart = function () { return new DayPilot.Date(this.part.start); }, this.partEnd = function () { return new DayPilot.Date(this.part.end); }, this.tag = function (e) {
546
+ }, this.dirty = function () { return o.dirty; }, this.id = function (e) { return "undefined" == typeof e ? r.data.id : void (this.temp().id = e); }, this.value = function (e) { return "undefined" == typeof e ? r.id() : void r.id(e); }, this.text = function (e) { return "undefined" == typeof e ? r.data.text : (this.temp().text = e, void this.client.innerHTML(e)); }, this.start = function (e) { return "undefined" == typeof e ? new DayPilot.Date(r.data.start) : void (this.temp().start = new DayPilot.Date(e)); }, this.end = function (e) { return "undefined" == typeof e ? new DayPilot.Date(r.data.end) : void (this.temp().end = new DayPilot.Date(e)); }, this.resource = function (e) { return "undefined" == typeof e ? r.data.resource : void (this.temp().resource = e); }, this.partStart = function () { return new DayPilot.Date(this.part.start); }, this.partEnd = function () { return new DayPilot.Date(this.part.end); }, this.tag = function (e) {
519
547
  var t = r.data.tag;
520
548
  if (!t)
521
549
  return null;
@@ -532,7 +560,15 @@ if ("undefined" == typeof DayPilot)
532
560
  return a ? a(t.text, t.html) : DayPilot.Util.escapeTextHtml(t.text, t.html);
533
561
  }
534
562
  r.data.html = e;
535
- }, this.client.html = this.client.innerHTML, this.client.header = function (e) { return "undefined" == typeof e ? r.data.header : void (r.data.header = e); }, this.client.cssClass = function (e) { return "undefined" == typeof e ? r.data.cssClass : void (r.data.cssClass = e); }, this.client.toolTip = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.toolTip ? r.cache.toolTip : "undefined" != typeof r.data.toolTip ? r.data.toolTip : r.data.text : void (r.data.toolTip = e); }, this.client.barVisible = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.barHidden ? !r.cache.barHidden : r.calendar.durationBarVisible && !r.data.barHidden : void (r.data.barHidden = !e); }, this.client.backColor = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.backColor ? r.cache.backColor : "undefined" != typeof r.data.backColor ? r.data.backColor : r.calendar.eventBackColor : void (r.data.backColor = e); }, this.client.borderColor = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.borderColor ? r.cache.borderColor : "undefined" != typeof r.data.borderColor ? r.data.borderColor : r.calendar.eventBorderColor : void (r.data.borderColor = e); }, this.client.moveEnabled = function (e) { return "undefined" == typeof e ? "Disabled" !== r.calendar.eventMoveHandling && !r.data.moveDisabled : void (r.data.moveDisabled = !e); }, this.client.resizeEnabled = function (e) { return "undefined" == typeof e ? "Disabled" !== r.calendar.eventResizeHandling && !r.data.resizeDisabled : void (r.data.resizeDisabled = !e); }, this.client.clickEnabled = function (e) { return "undefined" == typeof e ? "Disabled" !== r.calendar.eventClickHandling && !r.data.clickDisabled : void (r.data.clickDisabled = !e); }, this.toJSON = function (e) {
563
+ }, this.client.html = this.client.innerHTML, this.client.header = function (e) { return "undefined" == typeof e ? r.data.header : void (r.data.header = e); }, this.client.cssClass = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.cssClass ? r.cache.cssClass : r.data.cssClass : void (r.data.cssClass = e); }, this.client.toolTip = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.toolTip ? r.cache.toolTip : "undefined" != typeof r.data.toolTip ? r.data.toolTip : r.data.text : void (r.data.toolTip = e); }, this.client.barVisible = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.barHidden ? !r.cache.barHidden : r.calendar.durationBarVisible && !r.data.barHidden : void (r.data.barHidden = !e); }, this.client.backColor = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.backColor ? r.cache.backColor : "undefined" != typeof r.data.backColor ? r.data.backColor : r.calendar.eventBackColor : void (r.data.backColor = e); }, this.client.borderColor = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.borderColor ? r.cache.borderColor : "undefined" != typeof r.data.borderColor ? r.data.borderColor : r.calendar.eventBorderColor : void (r.data.borderColor = e); }, this.client.contextMenu = function (e) {
564
+ if ("undefined" == typeof e) {
565
+ if (r.oContextMenu)
566
+ return r.oContextMenu;
567
+ r.cache ? r.cache.contextMenu : r.data.contextMenu;
568
+ }
569
+ else
570
+ r.oContextMenu = e;
571
+ }, this.client.moveEnabled = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.moveDisabled ? !r.cache.moveDisabled : "Disabled" !== r.calendar.eventMoveHandling && !r.data.moveDisabled : void (r.data.moveDisabled = !e); }, this.client.resizeEnabled = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.resizeDisabled ? !r.cache.resizeDisabled : "Disabled" !== r.calendar.eventResizeHandling && !r.data.resizeDisabled : void (r.data.resizeDisabled = !e); }, this.client.clickEnabled = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.clickDisabled ? !r.cache.clickDisabled : "Disabled" !== r.calendar.eventClickHandling && !r.data.clickDisabled : void (r.data.clickDisabled = !e); }, this.client.rightClickEnabled = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.rightClickDisabled ? !r.cache.rightClickDisabled : "Disabled" !== r.calendar.eventRightClickHandling && !r.data.rightClickDisabled : void (r.data.rightClickDisabled = !e); }, this.client.deleteEnabled = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.deleteDisabled ? !r.cache.deleteDisabled : "Disabled" !== r.calendar.eventDeleteHandling && !r.data.deleteDisabled : void (r.data.deleteDisabled = !e); }, this.toJSON = function (e) {
536
572
  var t = {};
537
573
  if (t.value = this.id(), t.id = this.id(), t.text = this.text(), t.start = this.start(), t.end = this.end(), t.tag = {}, r.calendar && r.calendar.tagFields)
538
574
  for (var a = r.calendar.tagFields, o = 0; o < a.length; o++)
@@ -630,44 +666,34 @@ if ("undefined" == typeof DayPilot)
630
666
  else if (t.moving) {
631
667
  if (!t.movingShadow)
632
668
  return t.moving = null, void (document.body.style.cursor = "default");
633
- var a = t.movingShadow.offsetTop;
634
- t.deleteShadow(t.movingShadow);
635
- var n = t.moving.event, o = t.movingShadow.column;
636
- t.moving = null, t.movingShadow = null, n.calendar.nav.top.style.cursor = "auto", n.calendar.b(n, o, a, i);
669
+ var a = t.movingShadow.offsetTop, n = t.moving.event;
670
+ t.deleteShadow(t.movingShadow), DayPilot.Util.removeClass(t.moving, n.calendar.b("_event_moving_source"));
671
+ var o = t.movingShadow.column;
672
+ t.moving = null, t.movingShadow = null, n.calendar.nav.top.style.cursor = "auto", n.calendar.c(n, o, a, i);
637
673
  }
638
674
  else if (t.selecting && null !== t.topSelectedCell) {
639
675
  var r = t.selecting.calendar;
640
676
  t.selecting = !1;
641
677
  var h = r.getSelection();
642
- r.c(h.start, h.end, h.resource), "Hold" !== r.timeRangeSelectedHandling && "HoldForever" !== r.timeRangeSelectedHandling && e();
678
+ r.d(h.start, h.end, h.resource), "Hold" !== r.timeRangeSelectedHandling && "HoldForever" !== r.timeRangeSelectedHandling && e();
643
679
  }
644
680
  else
645
681
  t.selecting = !1;
646
682
  }, t.deleteShadow = function (e) { e && e.parentNode && e.parentNode.removeChild(e); }, t.moveShadow = function (e) { var i = t.movingShadow, n = i.parentNode; n.style.display = "none", i.parentNode.removeChild(i), e.firstChild.appendChild(i), i.style.left = "0px", n.style.display = "", i.style.width = t.movingShadow.parentNode.offsetWidth + 1 + "px"; }, t.Calendar = function (e, i) {
647
683
  var n = !1;
648
- if (this instanceof t.Calendar && !this.d && (n = !0, this.d = !0), !n)
684
+ if (this instanceof t.Calendar && !this.f && (n = !0, this.f = !0), !n)
649
685
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
650
686
  var s = this;
651
- this.uniqueID = null, this.v = "2022.3.398-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.cellHeight = 30, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.days = 1, this.durationBarVisible = !0, this.eventHeaderHeight = 14, this.eventHeaderVisible = !0, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.loadingLabelBackColor = "ff0000", this.loadingLabelFontColor = "#ffffff", this.loadingLabelFontFamily = "Tahoma, Arial, Helvetica, sans-serif", this.loadingLabelFontSize = "10pt", this.locale = "en-us", this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.headerClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.timeRangeSelectedHandling = "Enabled", this.onBeforeEventRender = 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.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.f(); }, this.f = function () { DayPilot.de(s.elements.selection), s.elements.selection = [], s.nav.activeSelection = null; }, this.g = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.h = navigator && navigator.userAgent && navigator.userAgent.indexOf("Firefox") !== -1, this.i = function () {
652
- if (/Opera[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
653
- return new Number(RegExp.$1) >= 10.5;
654
- }
655
- return !1;
656
- }(), this.j = function () {
657
- if (/AppleWebKit[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
658
- return new Number(RegExp.$1) >= 522;
659
- }
660
- return !1;
661
- }(), this.cleanSelection = this.clearSelection, this.k = function (e, t, i) { var n = {}; n.action = e, n.parameters = i, n.data = t, n.header = this.l(); var a = "JSON" + DayPilot.JSON.stringify(n); __doPostBack(s.uniqueID, a); }, this.m = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { s.loadingStart(); }, 100); var n = {}; n.action = e, n.parameters = i, n.data = t, n.header = this.l(); var a = "JSON" + DayPilot.JSON.stringify(n); this.backendUrl ? DayPilot.request(this.backendUrl, this.n, a, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, a, this.o, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = s; e.p(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.q(), e.r(), 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.s = function () { this.nav.top.dispose = this.dispose; }, this.n = function (e) { s.o(e.responseText); }, this.l = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = s.days, e.startDate = s.startDate, e.heightSpec = s.heightSpec, e.businessBeginsHour = s.businessBeginsHour, e.businessEndsHour = s.businessEndsHour, e.hashes = s.hashes, e.timeFormat = s.timeFormat, e.viewType = s.viewType, e.locale = s.locale, e; }, this.t = function (e, t) {
687
+ this.uniqueID = null, this.v = "2022.3.432-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.cellHeight = 30, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventHeaderHeight = 14, this.eventHeaderVisible = !0, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.loadingLabelBackColor = "ff0000", this.loadingLabelFontColor = "#ffffff", this.loadingLabelFontFamily = "Tahoma, Arial, Helvetica, sans-serif", this.loadingLabelFontSize = "10pt", this.locale = "en-us", this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", 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.onBeforeEventRender = 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.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.g(); }, this.g = function () { DayPilot.de(s.elements.selection), s.elements.selection = [], s.nav.activeSelection = null; }, this.h = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.cleanSelection = this.clearSelection, this.i = function (e, t, i) { var n = {}; n.action = e, n.parameters = i, n.data = t, n.header = this.j(); var a = "JSON" + DayPilot.JSON.stringify(n); __doPostBack(s.uniqueID, a); }, this.k = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { s.loadingStart(); }, 100); var n = {}; n.action = e, n.parameters = i, n.data = t, n.header = this.j(); var a = "JSON" + DayPilot.JSON.stringify(n); this.backendUrl ? DayPilot.request(this.backendUrl, this.l, a, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, a, this.m, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = s; e.n(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.o(), e.p(), 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.q = function () { this.nav.top.dispose = this.dispose; }, this.l = function (e) { s.m(e.responseText); }, this.j = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = s.days, e.startDate = s.startDate, e.heightSpec = s.heightSpec, e.businessBeginsHour = s.businessBeginsHour, e.businessEndsHour = s.businessEndsHour, e.hashes = s.hashes, e.timeFormat = s.timeFormat, e.viewType = s.viewType, e.locale = s.locale, e; }, this.r = function (e, t) {
662
688
  for (var i = e.parentNode; i && "TD" !== i.tagName;)
663
689
  i = i.parentNode;
664
690
  var n = document.createElement("div");
665
- n.setAttribute("unselectable", "on"), n.style.position = "absolute", n.style.width = e.offsetWidth + "px", n.style.height = e.offsetHeight + "px", n.style.left = e.offsetLeft + "px", n.style.top = e.offsetTop + "px", n.style.boxSizing = "border-box", n.style.zIndex = 101, n.className = s.u("_shadow");
691
+ n.setAttribute("unselectable", "on"), n.style.position = "absolute", n.style.width = e.offsetWidth + "px", n.style.height = e.offsetHeight + "px", n.style.left = e.offsetLeft + "px", n.style.top = e.offsetTop + "px", n.style.boxSizing = "border-box", n.style.zIndex = 101, n.className = s.b("_shadow");
666
692
  var a = document.createElement("div");
667
- return a.className = s.u("_shadow_inner"), n.appendChild(a), i.firstChild.appendChild(n), n;
668
- }, this.w = {}, this.w.locale = function () { var e = DayPilot.Locale.find(s.locale); return e ? e : DayPilot.Locale.US; }, this.w.timeFormat = function () { return "Auto" !== s.timeFormat ? s.timeFormat : this.locale().timeFormat; }, this.w.z = function () { return "Disabled" !== s.xssProtection; };
669
- var a = this.w;
670
- this.o = function (e, t) {
693
+ return a.className = s.b("_shadow_inner"), n.appendChild(a), i.firstChild.appendChild(n), n;
694
+ }, this.s = {}, this.s.locale = function () { var e = DayPilot.Locale.find(s.locale); return e ? e : DayPilot.Locale.US; }, this.s.timeFormat = function () { return "Auto" !== s.timeFormat ? s.timeFormat : this.locale().timeFormat; }, this.s.t = function () { return "Disabled" !== s.xssProtection; };
695
+ var a = this.s;
696
+ this.m = function (e, t) {
671
697
  if (e && 0 === e.indexOf("$$$")) {
672
698
  if (!window.console)
673
699
  throw "Error received from the server side: " + e;
@@ -677,24 +703,29 @@ if ("undefined" == typeof DayPilot)
677
703
  if (e.CallBackRedirect)
678
704
  return void (document.location.href = e.CallBackRedirect);
679
705
  if ("None" === e.UpdateType)
680
- return s.loadingStop(), void s.A();
681
- if (s.p(), "Full" === e.UpdateType && (s.columns = e.Columns, s.days = e.Days, s.startDate = new DayPilot.Date(e.StartDate), s.heightSpec = e.HeightSpec ? e.HeightSpec : s.heightSpec, s.businessBeginsHour = e.BusinessBeginsHour ? e.BusinessBeginsHour : s.businessBeginsHour, s.businessEndsHour = e.BusinessEndsHour ? e.BusinessEndsHour : s.businessEndsHour, s.headerDateFormat = e.HeaderDateFormat ? e.HeaderDateFormat : s.headerDateFormat, s.viewType = e.ViewType, s.backColor = e.BackColor ? e.BackColor : s.backColor, s.eventHeaderVisible = e.EventHeaderVisible ? e.EventHeaderVisible : s.eventHeaderVisible, s.timeFormat = e.TimeFormat ? e.TimeFormat : s.timeFormat, s.locale = e.Locale ? e.Locale : s.locale, s.B()), e.Hashes)
706
+ return s.loadingStop(), void s.u();
707
+ if (s.n(), "Full" === e.UpdateType && (s.columns = e.Columns, s.days = e.Days, s.startDate = new DayPilot.Date(e.StartDate), s.heightSpec = e.HeightSpec ? e.HeightSpec : s.heightSpec, s.businessBeginsHour = e.BusinessBeginsHour ? e.BusinessBeginsHour : s.businessBeginsHour, s.businessEndsHour = e.BusinessEndsHour ? e.BusinessEndsHour : s.businessEndsHour, s.headerDateFormat = e.HeaderDateFormat ? e.HeaderDateFormat : s.headerDateFormat, s.viewType = e.ViewType, s.backColor = e.BackColor ? e.BackColor : s.backColor, s.eventHeaderVisible = e.EventHeaderVisible ? e.EventHeaderVisible : s.eventHeaderVisible, s.timeFormat = e.TimeFormat ? e.TimeFormat : s.timeFormat, s.locale = e.Locale ? e.Locale : s.locale, s.w()), e.Hashes)
682
708
  for (var i in e.Hashes)
683
709
  s.hashes[i] = e.Hashes[i];
684
- s.events.list = e.Events, s.C(), s.D(), "Full" === e.UpdateType && (s.E(), s.F(), s.G(), s.H()), s.A(), s.I(), s.clearSelection(), s.afterRender(e.CallBackData, !0), s.loadingStop();
685
- }, this.J = function () { return this.K() / 36e5; }, this.L = function () { return this.businessBeginsHour > this.businessEndsHour ? 24 - this.businessBeginsHour + this.businessEndsHour : this.businessEndsHour - this.businessBeginsHour; }, this.M = function () { return this.K() / 18e5; }, this.K = function () { var e = 0; return e = "BusinessHoursNoScroll" === this.heightSpec ? this.L() : 24, 60 * e * 60 * 1e3; }, this.N = function () { return "BusinessHoursNoScroll" === this.heightSpec ? this.businessBeginsHour : 0; }, this.O = function () { return 2 === s.api; }, this.eventClickCallBack = function (e, t) { this.m("EventClick", t, e); }, this.eventClickPostBack = function (e, t) { this.k("EventClick", t, e); }, this.P = function (e) {
710
+ s.events.list = e.Events, s.z(), s.A(), "Full" === e.UpdateType && (s.B(), s.C(), s.D(), s.E()), s.u(), s.F(), s.clearSelection(), s.afterRender(e.CallBackData, !0), s.loadingStop();
711
+ }, this.G = function () { return this.H() / 36e5; }, this.I = function () { return this.businessBeginsHour > this.businessEndsHour ? 24 - this.businessBeginsHour + this.businessEndsHour : this.businessEndsHour - this.businessBeginsHour; }, this.J = function () { return this.H() / 18e5; }, this.H = function () { var e = 0; return e = "BusinessHoursNoScroll" === this.heightSpec ? this.I() : 24, 60 * e * 60 * 1e3; }, this.K = function () { return "BusinessHoursNoScroll" === this.heightSpec ? this.businessBeginsHour : 0; }, this.L = function () { return 2 === s.api; }, this.eventClickCallBack = function (e, t) { this.k("EventClick", t, e); }, this.eventClickPostBack = function (e, t) { this.i("EventClick", t, e); }, this.M = function (e) {
686
712
  var t = this, i = t.event;
687
- if (s.O()) {
713
+ if (s.L()) {
688
714
  var n = {};
689
- if (n.e = i, n.originalEvent = e, n.meta = e.metaKey, n.ctrl = e.ctrlKey, n.control = s, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventClick && (s.Q.apply(function () { s.onEventClick(n); }), n.preventDefault.value))
715
+ if (n.e = i, n.originalEvent = e, n.meta = e.metaKey, n.ctrl = e.ctrlKey, n.control = s, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventClick && (s.N.apply(function () { s.onEventClick(n); }), n.preventDefault.value))
690
716
  return;
691
717
  switch (s.eventClickHandling) {
692
718
  case "CallBack":
693
719
  s.eventClickCallBack(i);
694
720
  break;
695
- case "PostBack": s.eventClickPostBack(i);
721
+ case "PostBack":
722
+ s.eventClickPostBack(i);
723
+ break;
724
+ case "ContextMenu":
725
+ var a = i.client.contextMenu();
726
+ a ? a.show(i) : s.contextMenu && s.contextMenu.show(i);
696
727
  }
697
- "function" == typeof s.onEventClicked && s.Q.apply(function () { s.onEventClicked(n); });
728
+ "function" == typeof s.onEventClicked && s.N.apply(function () { s.onEventClicked(n); });
698
729
  }
699
730
  else
700
731
  switch (s.eventClickHandling) {
@@ -706,10 +737,23 @@ if ("undefined" == typeof DayPilot)
706
737
  break;
707
738
  case "JavaScript": s.onEventClick(i);
708
739
  }
709
- }, this.eventDeleteCallBack = function (e, t) { this.m("EventDelete", t, e); }, this.eventDeletePostBack = function (e, t) { this.k("EventDelete", t, e); }, this.R = function (e) {
710
- if (s.O()) {
740
+ }, this.O = function (e) {
741
+ var t = this.event;
742
+ if (e.stopPropagation && e.stopPropagation(), !t.client.rightClickEnabled())
743
+ return !1;
744
+ var i = {};
745
+ if (i.e = t, i.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventRightClick && (s.onEventRightClick(i), i.preventDefault.value))
746
+ return !1;
747
+ switch (s.eventRightClickHandling) {
748
+ case "ContextMenu":
749
+ var n = t.client.contextMenu();
750
+ n ? n.show(t) : s.contextMenu && s.contextMenu.show(this.event);
751
+ }
752
+ return "function" == typeof s.onEventRightClicked && s.onEventRightClicked(i), e.preventDefault && e.preventDefault(), !1;
753
+ }, this.eventDeleteCallBack = function (e, t) { this.k("EventDelete", t, e); }, this.eventDeletePostBack = function (e, t) { this.i("EventDelete", t, e); }, this.P = function (e) {
754
+ if (s.L()) {
711
755
  var t = {};
712
- if (t.e = e, t.control = s, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventDelete && (s.Q.apply(function () { s.onEventDelete(t); }), t.preventDefault.value))
756
+ if (t.e = e, t.control = s, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventDelete && (s.N.apply(function () { s.onEventDelete(t); }), t.preventDefault.value))
713
757
  return;
714
758
  switch (s.eventDeleteHandling) {
715
759
  case "CallBack":
@@ -720,7 +764,7 @@ if ("undefined" == typeof DayPilot)
720
764
  break;
721
765
  case "Update": s.events.remove(e);
722
766
  }
723
- "function" == typeof s.onEventDeleted && s.Q.apply(function () { s.onEventDeleted(t); });
767
+ "function" == typeof s.onEventDeleted && s.N.apply(function () { s.onEventDeleted(t); });
724
768
  }
725
769
  else
726
770
  switch (s.eventDeleteHandling) {
@@ -738,27 +782,27 @@ if ("undefined" == typeof DayPilot)
738
782
  if (!i)
739
783
  throw "newEnd is null";
740
784
  var s = {};
741
- s.e = e, s.newStart = t, s.newEnd = i, this.m("EventResize", n, s);
785
+ s.e = e, s.newStart = t, s.newEnd = i, this.k("EventResize", n, s);
742
786
  }, this.eventResizePostBack = function (e, t, i, n) {
743
787
  if (!t)
744
788
  throw "newStart is null";
745
789
  if (!i)
746
790
  throw "newEnd is null";
747
791
  var s = {};
748
- s.e = e, s.newStart = t, s.newEnd = i, this.k("EventResize", n, s);
792
+ s.e = e, s.newStart = t, s.newEnd = i, this.i("EventResize", n, s);
749
793
  }, this.a = function (e, t, i, n) {
750
794
  var a = 1, l = new Date, o = new Date, r = e.start(), h = e.end();
751
795
  if ("top" === n) {
752
- var c = r.getDatePart(), d = Math.floor((i - a) / s.cellHeight), u = 30 * d, v = 60 * u * 1e3, p = 60 * s.N() * 60 * 1e3;
796
+ var c = r.getDatePart(), d = Math.floor((i - a) / s.cellHeight), u = 30 * d, v = 60 * u * 1e3, p = 60 * s.K() * 60 * 1e3;
753
797
  l = c.addTime(v + p), o = e.end();
754
798
  }
755
799
  else if ("bottom" === n) {
756
- var c = h.getDatePart(), d = Math.floor((i + t - a) / s.cellHeight), u = 30 * d, v = 60 * u * 1e3, p = 60 * s.N() * 60 * 1e3;
800
+ var c = h.getDatePart(), d = Math.floor((i + t - a) / s.cellHeight), u = 30 * d, v = 60 * u * 1e3, p = 60 * s.K() * 60 * 1e3;
757
801
  l = r, o = c.addTime(v + p);
758
802
  }
759
- if (s.O()) {
803
+ if (s.L()) {
760
804
  var f = {};
761
- if (f.e = e, f.control = s, f.newStart = l, f.newEnd = o, f.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventResize && (s.Q.apply(function () { s.onEventResize(f); }), f.preventDefault.value))
805
+ if (f.e = e, f.control = s, f.newStart = l, f.newEnd = o, f.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventResize && (s.N.apply(function () { s.onEventResize(f); }), f.preventDefault.value))
762
806
  return;
763
807
  switch (s.eventResizeHandling) {
764
808
  case "PostBack":
@@ -769,7 +813,7 @@ if ("undefined" == typeof DayPilot)
769
813
  break;
770
814
  case "Update": e.start(l), e.end(o), s.events.update(e);
771
815
  }
772
- "function" == typeof s.onEventResized && s.Q.apply(function () { s.onEventResized(f); });
816
+ "function" == typeof s.onEventResized && s.N.apply(function () { s.onEventResized(f); });
773
817
  }
774
818
  else
775
819
  switch (s.eventResizeHandling) {
@@ -787,23 +831,23 @@ if ("undefined" == typeof DayPilot)
787
831
  if (!i)
788
832
  throw "newEnd is null";
789
833
  var a = {};
790
- a.e = e, a.newStart = t, a.newEnd = i, this.k("EventMove", s, a);
834
+ a.e = e, a.newStart = t, a.newEnd = i, this.i("EventMove", s, a);
791
835
  }, this.eventMoveCallBack = function (e, t, i, n, s) {
792
836
  if (!t)
793
837
  throw "newStart is null";
794
838
  if (!i)
795
839
  throw "newEnd is null";
796
840
  var a = {};
797
- a.e = e, a.newStart = t, a.newEnd = i, this.m("EventMove", s, a);
798
- }, this.b = function (e, t, i, n) {
841
+ a.e = e, a.newStart = t, a.newEnd = i, this.k("EventMove", s, a);
842
+ }, this.c = function (e, t, i, n) {
799
843
  var a = 1, l = Math.floor((i - a) / s.cellHeight), o = 30 * l * 60 * 1e3, r = e.start(), h = e.end(), c = new Date;
800
844
  r instanceof DayPilot.Date && (r = r.toDate()), c.setTime(Date.UTC(r.getUTCFullYear(), r.getUTCMonth(), r.getUTCDate()));
801
- var d = r.getTime() - (c.getTime() + 3600 * r.getUTCHours() * 1e3 + 30 * Math.floor(r.getUTCMinutes() / 30) * 60 * 1e3), u = h.getTime() - r.getTime(), v = this.S[t], p = v.id, f = v.start.getTime(), g = new Date;
845
+ var d = r.getTime() - (c.getTime() + 3600 * r.getUTCHours() * 1e3 + 30 * Math.floor(r.getUTCMinutes() / 30) * 60 * 1e3), u = h.getTime() - r.getTime(), v = this.Q[t], p = v.id, f = v.start.getTime(), g = new Date;
802
846
  g.setTime(f + o + d);
803
847
  var m = new DayPilot.Date(g), y = m.addTime(u);
804
- if (s.O()) {
848
+ if (s.L()) {
805
849
  var b = {};
806
- if (b.e = e, b.newStart = m, b.newEnd = y, b.newResource = p, b.ctrl = n.ctrlKey, b.shift = n.shiftKey, b.control = s, b.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventMove && (s.Q.apply(function () { s.onEventMove(b); }), b.preventDefault.value))
850
+ if (b.e = e, b.newStart = m, b.newEnd = y, b.newResource = p, b.ctrl = n.ctrlKey, b.shift = n.shiftKey, b.control = s, b.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventMove && (s.N.apply(function () { s.onEventMove(b); }), b.preventDefault.value))
807
851
  return;
808
852
  switch (s.eventMoveHandling) {
809
853
  case "PostBack":
@@ -814,7 +858,7 @@ if ("undefined" == typeof DayPilot)
814
858
  break;
815
859
  case "Update": e.start(m), e.end(y), e.resource(p), s.events.update(e);
816
860
  }
817
- "function" == typeof s.onEventMoved && s.Q.apply(function () { s.onEventMoved(b); });
861
+ "function" == typeof s.onEventMoved && s.N.apply(function () { s.onEventMoved(b); });
818
862
  }
819
863
  else
820
864
  switch (s.eventMoveHandling) {
@@ -826,10 +870,10 @@ if ("undefined" == typeof DayPilot)
826
870
  break;
827
871
  case "JavaScript": s.onEventMove(e, m, y, v.id, !1);
828
872
  }
829
- }, this.timeRangeSelectedPostBack = function (e, t, i, n) { var s = {}; s.start = e, s.end = t, this.k("TimeRangeSelected", n, s); }, this.timeRangeSelectedCallBack = function (e, t, i, n) { var s = {}; s.start = e, s.end = t, this.m("TimeRangeSelected", n, s); }, this.c = function (e, t, i) {
830
- if (e = new DayPilot.Date(e), t = new DayPilot.Date(t), this.O()) {
873
+ }, this.timeRangeSelectedPostBack = function (e, t, i, n) { var s = {}; s.start = e, s.end = t, this.i("TimeRangeSelected", n, s); }, this.timeRangeSelectedCallBack = function (e, t, i, n) { var s = {}; s.start = e, s.end = t, this.k("TimeRangeSelected", n, s); }, this.d = function (e, t, i) {
874
+ if (e = new DayPilot.Date(e), t = new DayPilot.Date(t), this.L()) {
831
875
  var n = {};
832
- if (n.start = e, n.end = t, n.resource = i, n.control = s, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onTimeRangeSelect && (s.Q.apply(function () { s.onTimeRangeSelect(n); }), n.preventDefault.value))
876
+ if (n.start = e, n.end = t, n.resource = i, n.control = s, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onTimeRangeSelect && (s.N.apply(function () { s.onTimeRangeSelect(n); }), n.preventDefault.value))
833
877
  return;
834
878
  switch (s.timeRangeSelectedHandling) {
835
879
  case "PostBack":
@@ -837,7 +881,7 @@ if ("undefined" == typeof DayPilot)
837
881
  break;
838
882
  case "CallBack": s.timeRangeSelectedCallBack(e, t);
839
883
  }
840
- "function" == typeof s.onTimeRangeSelected && s.Q.apply(function () { s.onTimeRangeSelected(n); });
884
+ "function" == typeof s.onTimeRangeSelected && s.N.apply(function () { s.onTimeRangeSelected(n); });
841
885
  }
842
886
  else
843
887
  switch (s.timeRangeSelectedHandling) {
@@ -849,13 +893,13 @@ if ("undefined" == typeof DayPilot)
849
893
  break;
850
894
  case "JavaScript": s.onTimeRangeSelected(e, t);
851
895
  }
852
- }, this.T = function (e) {
896
+ }, this.R = function (e) {
853
897
  if (!t.selecting && "Disabled" !== s.timeRangeSelectedHandling) {
854
898
  var i = e.which;
855
899
  if (1 === i || 0 === i)
856
- return t.firstMousePos = DayPilot.mc(e), t.selecting = {}, t.selecting.calendar = s, t.selectedCells && (s.clearSelection(), t.selectedCells = []), t.column = t.getColumn(this), t.selectedCells.push(this), t.firstSelected = this, t.topSelectedCell = this, t.bottomSelectedCell = this, s.U(), !1;
900
+ return t.firstMousePos = DayPilot.mc(e), t.selecting = {}, t.selecting.calendar = s, t.selectedCells && (s.clearSelection(), t.selectedCells = []), t.column = t.getColumn(this), t.selectedCells.push(this), t.firstSelected = this, t.topSelectedCell = this, t.bottomSelectedCell = this, s.S(), !1;
857
901
  }
858
- }, this.U = function () {
902
+ }, this.S = function () {
859
903
  this.getSelection();
860
904
  !function () {
861
905
  var e = t.topSelectedCell, i = t.bottomSelectedCell, n = function () {
@@ -865,7 +909,7 @@ if ("undefined" == typeof DayPilot)
865
909
  if (t[i] === e)
866
910
  return i;
867
911
  return -1;
868
- }(), a = s.S[n];
912
+ }(), a = s.Q[n];
869
913
  if (a) {
870
914
  var l = a.start, o = s.getPixels(e.start, l).boxTop, r = s.getPixels(i.end, l).boxBottom, h = r - o, c = function () {
871
915
  if (s.nav.activeSelection)
@@ -873,17 +917,17 @@ if ("undefined" == typeof DayPilot)
873
917
  var e = document.createElement("div");
874
918
  e.setAttribute("unselectable", "on"), e.style.position = "absolute", e.style.left = "0px", e.style.width = "100%";
875
919
  var t = document.createElement("div");
876
- return t.setAttribute("unselectable", "on"), t.className = s.u("_shadow_inner"), e.appendChild(t), s.nav.events.rows[0].cells[n].selection.appendChild(e), s.elements.selection.push(e), s.nav.activeSelection = e, e;
920
+ return t.setAttribute("unselectable", "on"), t.className = s.b("_shadow_inner"), e.appendChild(t), s.nav.events.rows[0].cells[n].selection.appendChild(e), s.elements.selection.push(e), s.nav.activeSelection = e, e;
877
921
  }();
878
- c.className = s.u("_shadow"), c.firstChild.innerHTML = "", c.style.top = o + "px", c.style.height = h + "px";
922
+ c.className = s.b("_shadow"), c.firstChild.innerHTML = "", c.style.top = o + "px", c.style.height = h + "px";
879
923
  }
880
924
  }();
881
- }, this.V = function (e) {
925
+ }, this.T = function (e) {
882
926
  if ("undefined" != typeof t && t.selecting) {
883
927
  var i = DayPilot.mc(e);
884
- t.getColumn(this) === t.column && (s.clearSelection(), i.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(this), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(this), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), s.U());
928
+ t.getColumn(this) === t.column && (s.clearSelection(), i.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(this), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(this), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), s.S());
885
929
  }
886
- }, this.getSelection = function () { var e = t.topSelectedCell.start, i = t.bottomSelectedCell.end, n = t.topSelectedCell.resource; return new DayPilot.Selection(e, i, n, s); }, this.W = function (e) {
930
+ }, this.getSelection = function () { var e = t.topSelectedCell.start, i = t.bottomSelectedCell.end, n = t.topSelectedCell.resource; return new DayPilot.Selection(e, i, n, s); }, this.U = function (e) {
887
931
  if (e < 0)
888
932
  return null;
889
933
  for (var t = 0, i = s.nav.events.rows[0].cells, n = 0; n < i.length; n++) {
@@ -891,11 +935,11 @@ if ("undefined" == typeof DayPilot)
891
935
  return n;
892
936
  }
893
937
  return null;
894
- }, this.X = {}, this.X.getCellCoords = function () {
938
+ }, this.V = {}, this.V.getCellCoords = function () {
895
939
  var e = {};
896
940
  if (e.x = 0, e.y = 0, !s.coords)
897
941
  return null;
898
- e.x = s.W(s.coords.x);
942
+ e.x = s.U(s.coords.x);
899
943
  var t = 0, i = Math.floor((s.coords.y - t) / s.cellHeight);
900
944
  return e.y = i, e.x < 0 ? null : e;
901
945
  }, this.columns = {}, this.columns.list = [], this.columns.load = function (e, t, i) {
@@ -914,18 +958,18 @@ if ("undefined" == typeof DayPilot)
914
958
  var o = {};
915
959
  if (o.preventDefault = function () { this.preventDefault.value = !0; }, o.data = i, "function" == typeof t && t(o), o.preventDefault.value)
916
960
  return;
917
- s.columns.list = i, s.Y && s.update();
961
+ s.columns.list = i, s.W && s.update();
918
962
  }
919
963
  };
920
964
  s.columnsLoadMethod && "POST" === s.columnsLoadMethod.toUpperCase() ? DayPilot.ajax({ "method": "POST", "url": e, "success": a, "error": n }) : DayPilot.ajax({ "method": "GET", "url": e, "success": a, "error": n });
921
- }, this.B = function () {
965
+ }, this.w = function () {
922
966
  var e;
923
- e = "Resources" !== s.viewType ? this.Z() : s.columns.list, this.S = [];
967
+ e = "Resources" !== s.viewType ? this.X() : s.columns.list, this.Q = [];
924
968
  for (var t = 0; t < e.length; t++) {
925
- var i = this.$(e[t]);
926
- this.S.push(i);
969
+ var i = this.Y(e[t]);
970
+ this.Q.push(i);
927
971
  }
928
- }, this.$ = function (e) {
972
+ }, this.Y = function (e) {
929
973
  var t = {};
930
974
  return t.name = e.name, t.html = e.html, t.id = e.id, t.toolTip = e.toolTip, t.data = e, e.start ? t.start = new DayPilot.Date(e.start) : t.start = new DayPilot.Date(s.startDate), t.putIntoBlock = function (e) {
931
975
  for (var t = 0; t < this.blocks.length; t++) {
@@ -966,7 +1010,7 @@ if ("undefined" == typeof DayPilot)
966
1010
  return !0;
967
1011
  }, i.push(e), this.lines.push(i), this.lines.length - 1;
968
1012
  }, t;
969
- }, this.Z = function () {
1013
+ }, this.X = function () {
970
1014
  var e = [], t = this.startDate.getDatePart(), i = this.days;
971
1015
  switch (this.viewType) {
972
1016
  case "Day":
@@ -985,22 +1029,22 @@ if ("undefined" == typeof DayPilot)
985
1029
  return e;
986
1030
  }, this.visibleStart = function () {
987
1031
  if ("Resources" === s.viewType) {
988
- if (0 === s.S.length)
1032
+ if (0 === s.Q.length)
989
1033
  return DayPilot.Date.today();
990
- var e = s.S.map(function (e) { return e.start.getTime(); }), t = Math.min.apply(null, e);
1034
+ var e = s.Q.map(function (e) { return e.start.getTime(); }), t = Math.min.apply(null, e);
991
1035
  return new DayPilot.Date(t);
992
1036
  }
993
- return this.S[0].start;
1037
+ return this.Q[0].start;
994
1038
  }, this.visibleEnd = function () {
995
1039
  if ("Resources" === s.viewType) {
996
- if (0 === s.S.length)
1040
+ if (0 === s.Q.length)
997
1041
  return DayPilot.Date.today().addDays(1);
998
- var e = s.S.map(function (e) { return e.start.getTime(); }), t = Math.max.apply(null, e);
1042
+ var e = s.Q.map(function (e) { return e.start.getTime(); }), t = Math.max.apply(null, e);
999
1043
  return new DayPilot.Date(t).addDays(1);
1000
1044
  }
1001
- var t = this.S.length - 1;
1002
- return this.S[t].start.addDays(1);
1003
- }, this.u = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.p = function () {
1045
+ var t = this.Q.length - 1;
1046
+ return this.Q[t].start.addDays(1);
1047
+ }, this.b = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.n = function () {
1004
1048
  if (this.elements.events)
1005
1049
  for (var e = 0; e < this.elements.events.length; e++) {
1006
1050
  var t = this.elements.events[e], i = t.event;
@@ -1011,58 +1055,58 @@ if ("undefined" == typeof DayPilot)
1011
1055
  t.helper = null, t.data = null, t.event = null, DayPilot.de(t);
1012
1056
  }
1013
1057
  this.elements.events = [];
1014
- }, this._ = function (e) {
1058
+ }, this.Z = function (e) {
1015
1059
  var i = e.cache || e.data, n = this.nav.events, a = document.createElement("div");
1016
- a.style.position = "absolute", a.style.left = e.part.left + "%", a.style.top = e.part.top + "px", a.style.width = e.part.width + "%", a.style.height = Math.max(e.part.height, 2) + "px", a.style.overflow = "hidden", a.data = e, a.event = e, a.unselectable = "on", a.style.MozUserSelect = "none", a.style.KhtmlUserSelect = "none", a.className = this.u("_event"), i.cssClass && DayPilot.Util.addClass(a, i.cssClass), a.isFirst = e.part.start.getTime() === e.start().getTime(), a.isLast = e.part.end.getTime() === e.end().getTime(), a.onclick = this.P, a.onmouseout = function (e) { a.deleteIcon && (a.deleteIcon.style.display = "none"); }, a.onmousemove = function (e) {
1017
- var i = s.eventHeaderVisible ? s.eventHeaderHeight : 10;
1060
+ a.style.position = "absolute", a.style.left = e.part.left + "%", a.style.top = e.part.top + "px", a.style.width = e.part.width + "%", a.style.height = Math.max(e.part.height, 2) + "px", a.style.overflow = "hidden", a.data = e, a.event = e, a.unselectable = "on", a.style.MozUserSelect = "none", a.style.KhtmlUserSelect = "none", a.className = this.b("_event"), i.cssClass && DayPilot.Util.addClass(a, i.cssClass), a.isFirst = e.part.start.getTime() === e.start().getTime(), a.isLast = e.part.end.getTime() === e.end().getTime(), a.onclick = this.M, DayPilot.re(a, "contextmenu", this.O), a.onmouseout = function (e) { a.deleteIcon && (a.deleteIcon.style.display = "none"); }, a.onmousemove = function (i) {
1061
+ var n = s.eventHeaderVisible ? s.eventHeaderHeight : 10;
1018
1062
  if ("undefined" != typeof t) {
1019
- var n = DayPilot.mo3(a, e);
1020
- if (n && !t.resizing && !t.moving) {
1063
+ var l = DayPilot.mo3(a, i);
1064
+ if (l && !t.resizing && !t.moving) {
1021
1065
  a.deleteIcon && (a.deleteIcon.style.display = "");
1022
- var l = this.isLast;
1023
- n.y <= i && "Disabled" !== s.eventResizeHandling ? (this.style.cursor = "n-resize", this.dpBorder = "top") : this.offsetHeight - n.y <= 5 && "Disabled" !== s.eventResizeHandling ? l ? (this.style.cursor = "s-resize", this.dpBorder = "bottom") : this.style.cursor = "not-allowed" : t.resizing || t.moving || ("Disabled" !== s.eventClickHandling ? this.style.cursor = "pointer" : this.style.cursor = "default");
1066
+ var o = this.isLast;
1067
+ l.y <= n && e.client.resizeEnabled() ? (this.style.cursor = "n-resize", this.dpBorder = "top") : this.offsetHeight - l.y <= 5 && e.client.resizeEnabled() ? o ? (this.style.cursor = "s-resize", this.dpBorder = "bottom") : this.style.cursor = "not-allowed" : t.resizing || t.moving || ("Disabled" !== s.eventClickHandling ? this.style.cursor = "pointer" : this.style.cursor = "default");
1024
1068
  }
1025
1069
  }
1026
- }, a.onmousedown = function (e) {
1027
- var i = e.which || e.button;
1028
- if ("n-resize" !== this.style.cursor && "s-resize" !== this.style.cursor || 1 !== i) {
1029
- if (1 === i && "Disabled" !== s.eventMoveHandling) {
1070
+ }, a.onmousedown = function (i) {
1071
+ var n = i.which || i.button;
1072
+ if ("n-resize" !== this.style.cursor && "s-resize" !== this.style.cursor || 1 !== n) {
1073
+ if (1 === n && e.client.moveEnabled()) {
1030
1074
  t.moving = this, t.moving.event = this.event;
1031
- var n = t.moving.helper = {};
1032
- n.oldColumn = s.S[this.data.part.dayIndex].id, t.originalMouse = DayPilot.mc(e), t.originalTop = this.offsetTop;
1033
- var a = DayPilot.mo3(this, e);
1034
- a ? t.moveOffsetY = a.y : t.moveOffsetY = 0, s.nav.top.style.cursor = "move";
1075
+ var a = t.moving.helper = {};
1076
+ a.oldColumn = s.Q[this.data.part.dayIndex].id, t.originalMouse = DayPilot.mc(i), t.originalTop = this.offsetTop;
1077
+ var l = DayPilot.mo3(this, i);
1078
+ l ? t.moveOffsetY = l.y : t.moveOffsetY = 0, s.nav.top.style.cursor = "move";
1035
1079
  }
1036
1080
  }
1037
1081
  else
1038
- t.resizing = this, t.originalMouse = DayPilot.mc(e), t.originalHeight = this.offsetHeight, t.originalTop = this.offsetTop, s.nav.top.style.cursor = this.style.cursor;
1082
+ t.resizing = this, t.originalMouse = DayPilot.mc(i), t.originalHeight = this.offsetHeight, t.originalTop = this.offsetTop, s.nav.top.style.cursor = this.style.cursor;
1039
1083
  return !1;
1040
1084
  };
1041
1085
  var l = document.createElement("div");
1042
- if (l.setAttribute("unselectable", "on"), l.className = s.u("_event_inner"), l.innerHTML = e.client.html(), "darker" === i.borderColor && i.backColor ? l.style.borderColor = DayPilot.ColorUtil.darker(i.backColor, 2) : l.style.borderColor = i.borderColor, i.backColor && (l.style.background = i.backColor, (DayPilot.browser.ie9 || DayPilot.browser.ielt9) && (l.style.filter = "")), i.fontColor && (l.style.color = i.fontColor), a.appendChild(l), e.client.barVisible()) {
1086
+ if (l.setAttribute("unselectable", "on"), l.className = s.b("_event_inner"), l.innerHTML = e.client.html(), "darker" === i.borderColor && i.backColor ? l.style.borderColor = DayPilot.ColorUtil.darker(i.backColor, 2) : l.style.borderColor = i.borderColor, i.backColor && (l.style.background = i.backColor, (DayPilot.browser.ie9 || DayPilot.browser.ielt9) && (l.style.filter = "")), i.fontColor && (l.style.color = i.fontColor), a.appendChild(l), e.client.barVisible()) {
1043
1087
  var o = e.part.height - 2, r = 100 * e.part.barTop / o, h = Math.ceil(100 * e.part.barHeight / o), c = document.createElement("div");
1044
- c.setAttribute("unselectable", "on"), c.className = this.u("_event_bar"), c.style.position = "absolute", i.barBackColor && (c.style.backgroundColor = i.barBackColor);
1088
+ c.setAttribute("unselectable", "on"), c.className = this.b("_event_bar"), c.style.position = "absolute", i.barBackColor && (c.style.backgroundColor = i.barBackColor);
1045
1089
  var d = document.createElement("div");
1046
- d.setAttribute("unselectable", "on"), d.className = this.u("_event_bar_inner"), d.style.top = r + "%", 0 < h && h <= 1 ? d.style.height = "1px" : d.style.height = h + "%", i.barColor && (d.style.backgroundColor = i.barColor), c.appendChild(d), a.appendChild(c);
1090
+ d.setAttribute("unselectable", "on"), d.className = this.b("_event_bar_inner"), d.style.top = r + "%", 0 < h && h <= 1 ? d.style.height = "1px" : d.style.height = h + "%", i.barColor && (d.style.backgroundColor = i.barColor), c.appendChild(d), a.appendChild(c);
1047
1091
  }
1048
- if ("Disabled" !== s.eventDeleteHandling) {
1092
+ if (e.client.deleteEnabled()) {
1049
1093
  var u = document.createElement("div");
1050
- u.style.position = "absolute", u.style.right = "2px", u.style.top = "2px", u.style.width = "17px", u.style.height = "17px", u.className = s.u("_event_delete"), u.onmousedown = function (e) { e.stopPropagation(); }, u.onclick = function (e) { var t = this.parentNode.event; t && s.R(t); }, u.style.display = "none", a.deleteIcon = u, a.appendChild(u);
1094
+ u.style.position = "absolute", u.style.right = "2px", u.style.top = "2px", u.style.width = "17px", u.style.height = "17px", u.className = s.b("_event_delete"), u.onmousedown = function (e) { e.stopPropagation(); }, u.onclick = function (e) { var t = this.parentNode.event; t && s.P(t); }, u.style.display = "none", a.deleteIcon = u, a.appendChild(u);
1051
1095
  }
1052
1096
  if (n.rows[0].cells[e.part.dayIndex]) {
1053
- n.rows[0].cells[e.part.dayIndex].firstChild.appendChild(a), s.aa(a);
1097
+ n.rows[0].cells[e.part.dayIndex].firstChild.appendChild(a), s.$(a);
1054
1098
  }
1055
1099
  s.elements.events.push(a);
1056
- }, this.aa = function (e) {
1100
+ }, this.$ = function (e) {
1057
1101
  for (var t = e && e.childNodes ? e.childNodes.length : 0, i = 0; i < t; i++)
1058
1102
  try {
1059
1103
  var n = e.childNodes[i];
1060
- 1 === n.nodeType && (n.unselectable = "on", this.aa(n));
1104
+ 1 === n.nodeType && (n.unselectable = "on", this.$(n));
1061
1105
  }
1062
1106
  catch (e) { }
1063
- }, this.I = function () {
1064
- for (var e = 0; e < this.S.length; e++) {
1065
- var t = this.S[e];
1107
+ }, this.F = function () {
1108
+ for (var e = 0; e < this.Q.length; e++) {
1109
+ var t = this.Q[e];
1066
1110
  if (t.blocks)
1067
1111
  for (var i = 0; i < t.blocks.length; i++)
1068
1112
  for (var n = t.blocks[i], s = 0; s < n.lines.length; s++)
@@ -1070,13 +1114,13 @@ if ("undefined" == typeof DayPilot)
1070
1114
  var o = a[l];
1071
1115
  o.part.width = 100 / n.lines.length, o.part.left = o.part.width * s;
1072
1116
  var r = s === n.lines.length - 1;
1073
- r || (o.part.width = 1.5 * o.part.width), this._(o);
1117
+ r || (o.part.width = 1.5 * o.part.width), this.Z(o);
1074
1118
  }
1075
1119
  }
1076
- }, this.ba = function () { this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.u("_main")), this.nav.top.style.MozUserSelect = "none", this.nav.top.style.KhtmlUserSelect = "none", this.nav.top.style.position = "relative", this.nav.top.style.width = this.width ? this.width : "100%", this.hideUntilInit && (this.nav.top.style.visibility = "hidden"), this.visible || (this.nav.top.style.display = "none"), this.nav.scroll = document.createElement("div"), this.nav.scroll.style.height = this.ca() + "px", "BusinessHours" === this.heightSpec ? this.nav.scroll.style.overflow = "auto" : this.nav.scroll.style.overflow = "hidden", this.nav.scroll.style.position = "relative"; var e = this.da(); this.nav.top.appendChild(e), this.nav.scroll.style.zoom = 1; var t = this.ea(); this.nav.scrollable = t.firstChild, this.nav.scroll.appendChild(t), this.nav.top.appendChild(this.nav.scroll), this.nav.scrollLayer = document.createElement("div"), this.nav.scrollLayer.style.position = "absolute", this.nav.scrollLayer.style.top = "0px", this.nav.scrollLayer.style.left = "0px", this.nav.top.appendChild(this.nav.scrollLayer), this.nav.loading = document.createElement("div"), this.nav.loading.style.position = "absolute", this.nav.loading.style.top = "0px", this.nav.loading.style.left = this.hourWidth + 5 + "px", this.nav.loading.style.backgroundColor = this.loadingLabelBackColor, this.nav.loading.style.fontSize = this.loadingLabelFontSize, this.nav.loading.style.fontFamily = this.loadingLabelFontFamily, this.nav.loading.style.color = this.loadingLabelFontColor, this.nav.loading.style.padding = "2px", this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.display = "none", this.nav.top.appendChild(this.nav.loading); }, this.G = function () { this.fasterDispose || DayPilot.pu(this.nav.hourTable), this.nav.scrollable.rows[0].cells[0].innerHTML = "", this.nav.hourTable = this.fa(), this.nav.scrollable.rows[0].cells[0].appendChild(this.nav.hourTable); }, this.ea = function () { var e = document.createElement("div"); e.style.zoom = 1, e.style.position = "relative"; var t = document.createElement("table"); t.cellSpacing = "0", t.cellPadding = "0", t.border = "0", t.style.border = "0px none", t.style.width = "100%", t.style.position = "absolute"; var i, n = t.insertRow(-1); i = n.insertCell(-1), i.valign = "top", i.style.padding = "0px", i.style.border = "0px none", this.nav.hourTable = this.fa(), i.appendChild(this.nav.hourTable), i = n.insertCell(-1), i.valign = "top", i.width = "100%", i.style.padding = "0px", i.style.border = "0px none"; var s = document.createElement("div"); return s.style.position = "relative", i.appendChild(s), s.appendChild(this.ga()), s.appendChild(this.ha()), e.appendChild(t), this.nav.zoom = e, e; }, this.ga = function () { var e = document.createElement("table"); return e.cellPadding = "0", e.cellSpacing = "0", e.border = "0", e.style.width = "100%", e.style.border = "0px none", e.style.tableLayout = "fixed", this.nav.main = e, this.nav.events = e, e; }, this.ha = function () {
1120
+ }, this._ = function () { this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.b("_main")), this.nav.top.style.MozUserSelect = "none", this.nav.top.style.KhtmlUserSelect = "none", this.nav.top.style.position = "relative", this.nav.top.style.width = this.width ? this.width : "100%", this.hideUntilInit && (this.nav.top.style.visibility = "hidden"), this.visible || (this.nav.top.style.display = "none"), this.nav.scroll = document.createElement("div"), this.nav.scroll.style.height = this.aa() + "px", "BusinessHours" === this.heightSpec ? this.nav.scroll.style.overflow = "auto" : this.nav.scroll.style.overflow = "hidden", this.nav.scroll.style.position = "relative"; var e = this.ba(); this.nav.top.appendChild(e), this.nav.scroll.style.zoom = 1; var t = this.ca(); this.nav.scrollable = t.firstChild, this.nav.scroll.appendChild(t), this.nav.top.appendChild(this.nav.scroll), this.nav.scrollLayer = document.createElement("div"), this.nav.scrollLayer.style.position = "absolute", this.nav.scrollLayer.style.top = "0px", this.nav.scrollLayer.style.left = "0px", this.nav.top.appendChild(this.nav.scrollLayer), this.nav.loading = document.createElement("div"), this.nav.loading.style.position = "absolute", this.nav.loading.style.top = "0px", this.nav.loading.style.left = this.hourWidth + 5 + "px", this.nav.loading.style.backgroundColor = this.loadingLabelBackColor, this.nav.loading.style.fontSize = this.loadingLabelFontSize, this.nav.loading.style.fontFamily = this.loadingLabelFontFamily, this.nav.loading.style.color = this.loadingLabelFontColor, this.nav.loading.style.padding = "2px", this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.display = "none", this.nav.top.appendChild(this.nav.loading); }, this.D = function () { this.fasterDispose || DayPilot.pu(this.nav.hourTable), this.nav.scrollable.rows[0].cells[0].innerHTML = "", this.nav.hourTable = this.da(), this.nav.scrollable.rows[0].cells[0].appendChild(this.nav.hourTable); }, this.ca = function () { var e = document.createElement("div"); e.style.zoom = 1, e.style.position = "relative"; var t = document.createElement("table"); t.cellSpacing = "0", t.cellPadding = "0", t.border = "0", t.style.border = "0px none", t.style.width = "100%", t.style.position = "absolute"; var i, n = t.insertRow(-1); i = n.insertCell(-1), i.valign = "top", i.style.padding = "0px", i.style.border = "0px none", this.nav.hourTable = this.da(), i.appendChild(this.nav.hourTable), i = n.insertCell(-1), i.valign = "top", i.width = "100%", i.style.padding = "0px", i.style.border = "0px none"; var s = document.createElement("div"); return s.style.position = "relative", i.appendChild(s), s.appendChild(this.ea()), s.appendChild(this.fa()), e.appendChild(t), this.nav.zoom = e, e; }, this.ea = function () { var e = document.createElement("table"); return e.cellPadding = "0", e.cellSpacing = "0", e.border = "0", e.style.width = "100%", e.style.border = "0px none", e.style.tableLayout = "fixed", this.nav.main = e, this.nav.events = e, e; }, this.fa = function () {
1077
1121
  var e = document.createElement("table");
1078
1122
  e.style.top = "0px", e.cellPadding = "0", e.cellSpacing = "0", e.border = "0", e.style.position = "absolute", e.style.width = "100%", e.style.border = "0px none", e.style.tableLayout = "fixed", this.nav.events = e;
1079
- for (var t = this.S, i = t.length, n = e.insertRow(-1), a = 0; a < i; a++) {
1123
+ for (var t = this.Q, i = t.length, n = e.insertRow(-1), a = 0; a < i; a++) {
1080
1124
  var l = n.insertCell(-1);
1081
1125
  l.style.padding = "0px", l.style.border = "0px none", l.style.height = "0px", l.style.overflow = "visible", s.rtl || (l.style.textAlign = "left");
1082
1126
  var o = document.createElement("div");
@@ -1085,49 +1129,49 @@ if ("undefined" == typeof DayPilot)
1085
1129
  l.selection = r, l.appendChild(o), l.appendChild(r);
1086
1130
  }
1087
1131
  return e;
1088
- }, this.fa = function () {
1132
+ }, this.da = function () {
1089
1133
  var e = document.createElement("table");
1090
1134
  e.cellSpacing = "0", e.cellPadding = "0", e.border = "0", e.style.border = "0px none", e.style.width = this.hourWidth + "px", e.oncontextmenu = function () { return !1; };
1091
- for (var t = s.J(), i = 0; i < t; i++)
1092
- this.ia(e, i);
1135
+ for (var t = s.G(), i = 0; i < t; i++)
1136
+ this.ga(e, i);
1093
1137
  return e;
1094
- }, this.ia = function (e, t) { var i = 2 * this.cellHeight, n = e.insertRow(-1); n.style.height = i + "px"; var l = n.insertCell(-1); l.valign = "bottom", l.unselectable = "on", l.style.cursor = "default", l.style.padding = "0px", l.style.border = "0px none"; var o = document.createElement("div"); o.style.position = "relative", o.className = this.u("_rowheader"), o.style.width = this.hourWidth + "px", o.style.height = i + "px", o.style.overflow = "hidden", o.unselectable = "on"; var r = document.createElement("div"); r.className = this.u("_rowheader_inner"), r.unselectable = "on"; var h = document.createElement("div"); h.unselectable = "on"; var c = this.startDate.addHours(t).addHours(s.N()), d = c.getHours(), u = d < 12, v = a.timeFormat(); "Clock12Hours" === v && (d %= 12, 0 === d && (d = 12)), h.innerHTML = d; var p = document.createElement("span"); p.unselectable = "on", p.className = this.u("_rowheader_minutes"); var f; f = "Clock12Hours" === v ? u ? "AM" : "PM" : "00", p.innerHTML = f, h.appendChild(p), r.appendChild(h), o.appendChild(r), l.appendChild(o); }, this.ca = function () {
1138
+ }, this.ga = function (e, t) { var i = 2 * this.cellHeight, n = e.insertRow(-1); n.style.height = i + "px"; var l = n.insertCell(-1); l.valign = "bottom", l.unselectable = "on", l.style.cursor = "default", l.style.padding = "0px", l.style.border = "0px none"; var o = document.createElement("div"); o.style.position = "relative", o.className = this.b("_rowheader"), o.style.width = this.hourWidth + "px", o.style.height = i + "px", o.style.overflow = "hidden", o.unselectable = "on"; var r = document.createElement("div"); r.className = this.b("_rowheader_inner"), r.unselectable = "on"; var h = document.createElement("div"); h.unselectable = "on"; var c = this.startDate.addHours(t).addHours(s.K()), d = c.getHours(), u = d < 12, v = a.timeFormat(); "Clock12Hours" === v && (d %= 12, 0 === d && (d = 12)), h.innerHTML = d; var p = document.createElement("span"); p.unselectable = "on", p.className = this.b("_rowheader_minutes"); var f; f = "Clock12Hours" === v ? u ? "AM" : "PM" : "00", p.innerHTML = f, h.appendChild(p), r.appendChild(h), o.appendChild(r), l.appendChild(o); }, this.aa = function () {
1095
1139
  switch (this.heightSpec) {
1096
1140
  case "Full": return 48 * this.cellHeight;
1097
1141
  case "BusinessHours":
1098
- var e = this.L();
1142
+ var e = this.I();
1099
1143
  return e * this.cellHeight * 2;
1100
1144
  case "BusinessHoursNoScroll":
1101
- var e = this.L();
1145
+ var e = this.I();
1102
1146
  return e * this.cellHeight * 2;
1103
1147
  default: throw "DayPilot.Calendar: Unexpected 'heightSpec' value.";
1104
1148
  }
1105
- }, this.ja = function () {
1149
+ }, this.ha = function () {
1106
1150
  var e = s.nav.corner ? s.nav.corner.parentNode : null;
1107
1151
  if (e) {
1108
1152
  e.innerHTML = "";
1109
- var t = this.ka();
1153
+ var t = this.ia();
1110
1154
  e.appendChild(t), s.nav.corner = t;
1111
1155
  }
1112
- }, this.da = function () {
1156
+ }, this.ba = function () {
1113
1157
  var e = document.createElement("div");
1114
1158
  e.style.overflow = "auto";
1115
1159
  var t = document.createElement("table");
1116
1160
  t.cellPadding = "0", t.cellSpacing = "0", t.border = "0", t.style.width = "100%", t.style.borderCollapse = "separate", t.style.border = "0px none";
1117
1161
  var i = t.insertRow(-1), n = i.insertCell(-1);
1118
1162
  n.style.padding = "0px", n.style.border = "0px none";
1119
- var s = this.ka();
1163
+ var s = this.ia();
1120
1164
  n.appendChild(s), this.nav.corner = s, n = i.insertCell(-1), n.style.width = "100%", n.valign = "top", n.style.position = "relative", n.style.padding = "0px", n.style.border = "0px none", this.nav.header = document.createElement("table"), this.nav.header.cellPadding = "0", this.nav.header.cellSpacing = "0", this.nav.header.border = "0", this.nav.header.width = "100%", this.nav.header.style.tableLayout = "fixed", this.nav.header.oncontextmenu = function () { return !1; };
1121
1165
  var a = "hidden" !== this.nav.scroll.style.overflow;
1122
1166
  if (n.appendChild(this.nav.header), a) {
1123
1167
  n = i.insertCell(-1), n.unselectable = "on";
1124
1168
  var l = document.createElement("div");
1125
- l.unselectable = "on", l.style.position = "relative", l.style.width = "16px", l.style.height = this.headerHeight + "px", l.className = this.u("_cornerright");
1169
+ l.unselectable = "on", l.style.position = "relative", l.style.width = "16px", l.style.height = this.headerHeight + "px", l.className = this.b("_cornerright");
1126
1170
  var o = document.createElement("div");
1127
- o.className = this.u("_cornerright_inner"), l.appendChild(o), n.appendChild(l), this.nav.cornerRight = l;
1171
+ o.className = this.b("_cornerright_inner"), l.appendChild(o), n.appendChild(l), this.nav.cornerRight = l;
1128
1172
  }
1129
1173
  return e.appendChild(t), e;
1130
- }, this.ka = function () { var e = document.createElement("div"); e.style.position = "relative", e.className = this.u("_corner"), e.style.width = this.hourWidth + "px", e.style.height = this.headerHeight + "px", e.oncontextmenu = function () { return !1; }; var t = document.createElement("div"); return t.unselectable = "on", t.className = this.u("_corner_inner"), e.appendChild(t), e; }, this.q = function () {
1174
+ }, this.ia = function () { var e = document.createElement("div"); e.style.position = "relative", e.className = this.b("_corner"), e.style.width = this.hourWidth + "px", e.style.height = this.headerHeight + "px", e.oncontextmenu = function () { return !1; }; var t = document.createElement("div"); return t.unselectable = "on", t.className = this.b("_corner_inner"), e.appendChild(t), e; }, this.o = function () {
1131
1175
  var e = this.nav.main;
1132
1176
  e.root = null, e.onmouseup = null;
1133
1177
  for (var t = 0; t < e.rows.length; t++)
@@ -1136,9 +1180,9 @@ if ("undefined" == typeof DayPilot)
1136
1180
  s.root = null, s.onmousedown = null, s.onmousemove = null, s.onmouseout = null, s.onmouseup = null;
1137
1181
  }
1138
1182
  this.fasterDispose || DayPilot.pu(e);
1139
- }, this.F = function () {
1140
- var e = this.nav.main, i = 18e5, n = this.M(), a = s.S;
1141
- for (e && this.q(); e && e.rows && e.rows.length > 0;)
1183
+ }, this.C = function () {
1184
+ var e = this.nav.main, i = 18e5, n = this.J(), a = s.Q;
1185
+ for (e && this.o(); e && e.rows && e.rows.length > 0;)
1142
1186
  this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0);
1143
1187
  this.tableCreated = !0;
1144
1188
  for (var l = a.length, o = this.nav.events; o && o.rows && o.rows.length > 0;)
@@ -1155,13 +1199,13 @@ if ("undefined" == typeof DayPilot)
1155
1199
  var r = e.insertRow(-1);
1156
1200
  r.style.MozUserSelect = "none", r.style.KhtmlUserSelect = "none";
1157
1201
  for (var h = 0; h < l; h++) {
1158
- var p = this.S[h], c = r.insertCell(-1);
1159
- c.start = p.start.addTime(v * i), c.end = c.start.addTime(i), c.resource = p.id, c.onmousedown = this.T, c.onmouseup = function () { return !1; }, c.onclick = function () { return !1; }, c.root = this, c.style.padding = "0px", c.style.border = "0px none", c.style.verticalAlign = "top", c.style.height = s.cellHeight + "px", c.style.overflow = "hidden", c.unselectable = "on";
1202
+ var p = this.Q[h], c = r.insertCell(-1);
1203
+ c.start = p.start.addTime(v * i), c.end = c.start.addTime(i), c.resource = p.id, c.onmousedown = this.R, c.onmouseup = function () { return !1; }, c.onclick = function () { return !1; }, c.root = this, c.style.padding = "0px", c.style.border = "0px none", c.style.verticalAlign = "top", c.style.height = s.cellHeight + "px", c.style.overflow = "hidden", c.unselectable = "on";
1160
1204
  var d = document.createElement("div");
1161
- d.unselectable = "on", d.style.height = s.cellHeight + "px", d.style.position = "relative", d.className = this.u("_cell");
1162
- this.la(c.start, c.end) && DayPilot.Util.addClass(d, s.u("_cell_business"));
1205
+ d.unselectable = "on", d.style.height = s.cellHeight + "px", d.style.position = "relative", d.className = this.b("_cell");
1206
+ this.ja(c.start, c.end) && DayPilot.Util.addClass(d, s.b("_cell_business"));
1163
1207
  var f = document.createElement("div");
1164
- f.setAttribute("unselectable", "on"), f.className = this.u("_cell_inner"), d.appendChild(f), c.appendChild(d), c.appendChild(d);
1208
+ f.setAttribute("unselectable", "on"), f.className = this.b("_cell_inner"), d.appendChild(f), c.appendChild(d), c.appendChild(d);
1165
1209
  }
1166
1210
  }
1167
1211
  e.root = this, s.nav.scrollable.onmousemove = function (e) {
@@ -1169,7 +1213,7 @@ if ("undefined" == typeof DayPilot)
1169
1213
  s.coords = DayPilot.mo3(i, e);
1170
1214
  var n = DayPilot.mc(e);
1171
1215
  if (t.resizing) {
1172
- t.resizingShadow || (t.resizingShadow = s.t(t.resizing, !1, s.shadow));
1216
+ t.resizingShadow || (t.resizingShadow = s.r(t.resizing, !1, s.shadow));
1173
1217
  var a = s.cellHeight, l = 1, o = n.y - t.originalMouse.y;
1174
1218
  if ("bottom" === t.resizing.dpBorder) {
1175
1219
  var r = Math.floor((t.originalHeight + t.originalTop + o + a / 2) / a) * a - t.originalTop + l;
@@ -1185,23 +1229,23 @@ if ("undefined" == typeof DayPilot)
1185
1229
  }
1186
1230
  }
1187
1231
  else if (t.moving) {
1188
- if (t.movingShadow || (t.movingShadow = s.t(t.moving, !s.g, s.shadow), t.movingShadow.style.width = t.movingShadow.parentNode.offsetWidth + 1 + "px"), !s.coords)
1232
+ if (t.movingShadow || (t.movingShadow = s.r(t.moving, !s.h, s.shadow), t.movingShadow.style.width = t.movingShadow.parentNode.offsetWidth + 1 + "px"), !s.coords)
1189
1233
  return;
1190
1234
  var a = s.cellHeight, l = 1, d = t.moveOffsetY;
1191
1235
  d || (d = a / 2);
1192
1236
  var c = Math.floor((s.coords.y - d - l + a / 2) / a) * a + l;
1193
1237
  c < l && (c = l);
1194
1238
  var u = s.nav.events, h = s.nav.main.clientHeight, v = parseInt(t.movingShadow.style.height);
1195
- c + v > h && (c = h - v), t.movingShadow.parentNode.style.display = "none", t.movingShadow.style.top = c + "px", t.movingShadow.parentNode.style.display = "";
1239
+ c + v > h && (c = h - v), DayPilot.Util.addClass(t.moving, s.b("_event_moving_source")), t.movingShadow.parentNode.style.display = "none", t.movingShadow.style.top = c + "px", t.movingShadow.parentNode.style.display = "";
1196
1240
  var p = u.clientWidth / u.rows[0].cells.length, f = Math.floor((s.coords.x - 45) / p);
1197
1241
  f < 0 && (f = 0), f < u.rows[0].cells.length && f >= 0 && t.movingShadow.column !== f && (t.movingShadow.column = f, t.moveShadow(u.rows[0].cells[f]));
1198
1242
  }
1199
1243
  else if (t.selecting) {
1200
- var n = DayPilot.mc(e), g = s.X.getCellCoords(), m = t.column, y = s.nav.main.rows[g.y].cells[m];
1201
- n.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(y), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(y), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), s.U();
1244
+ var n = DayPilot.mc(e), g = s.V.getCellCoords(), m = t.column, y = s.nav.main.rows[g.y].cells[m];
1245
+ n.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(y), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(y), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), s.S();
1202
1246
  }
1203
1247
  }, s.nav.scrollable.style.display = "";
1204
- }, this.la = function (e, t) { return this.businessBeginsHour < this.businessEndsHour ? !(e.getHours() < this.businessBeginsHour || e.getHours() >= this.businessEndsHour || 6 === e.getDayOfWeek() || 0 === e.getDayOfWeek()) : e.getHours() >= this.businessBeginsHour || e.getHours() < this.businessEndsHour; }, this.r = function () {
1248
+ }, this.ja = function (e, t) { return this.businessBeginsHour < this.businessEndsHour ? !(e.getHours() < this.businessBeginsHour || e.getHours() >= this.businessEndsHour || 6 === e.getDayOfWeek() || 0 === e.getDayOfWeek()) : e.getHours() >= this.businessBeginsHour || e.getHours() < this.businessEndsHour; }, this.p = function () {
1205
1249
  var e = this.nav.header;
1206
1250
  if (e && e.rows)
1207
1251
  for (var t = 0; t < e.rows.length; t++)
@@ -1210,32 +1254,32 @@ if ("undefined" == typeof DayPilot)
1210
1254
  s.onclick = null, s.onmousemove = null, s.onmouseout = null;
1211
1255
  }
1212
1256
  this.fasterDispose || DayPilot.pu(e);
1213
- }, this.ma = function (e) {
1214
- for (var t = e ? this.nav.header.insertRow(-1) : this.nav.header.rows[0], i = this.S, n = i.length, a = 0; a < n; a++) {
1257
+ }, this.ka = function (e) {
1258
+ for (var t = e ? this.nav.header.insertRow(-1) : this.nav.header.rows[0], i = this.Q, n = i.length, a = 0; a < n; a++) {
1215
1259
  var l = i[a], o = e ? t.insertCell(-1) : t.cells[a];
1216
- o.data = l, o.style.overflow = "hidden", o.style.padding = "0px", o.style.border = "0px none", o.style.height = this.headerHeight + "px", o.onclick = s.na;
1260
+ o.data = l, o.style.overflow = "hidden", o.style.padding = "0px", o.style.border = "0px none", o.style.height = this.headerHeight + "px", o.onclick = s.la;
1217
1261
  var r = e ? document.createElement("div") : o.firstChild;
1218
1262
  if (e) {
1219
- r.unselectable = "on", r.style.MozUserSelect = "none", r.style.cursor = "default", r.style.position = "relative", r.className = s.u("_colheader"), r.style.height = this.headerHeight + "px", s.headerTextWrappingEnabled || (r.style.whiteSpace = "nowrap");
1263
+ r.unselectable = "on", r.style.MozUserSelect = "none", r.style.cursor = "default", r.style.position = "relative", r.className = s.b("_colheader"), r.style.height = this.headerHeight + "px", s.headerTextWrappingEnabled || (r.style.whiteSpace = "nowrap");
1220
1264
  var h = document.createElement("div");
1221
- h.className = s.u("_colheader_inner"), h.unselectable = "on", r.appendChild(h), o.appendChild(r);
1265
+ h.className = s.b("_colheader_inner"), h.unselectable = "on", r.appendChild(h), o.appendChild(r);
1222
1266
  }
1223
1267
  l.toolTip && (h.title = l.toolTip);
1224
1268
  var h = r.firstChild;
1225
- h.innerHTML = s.oa(l.name, l.html);
1269
+ h.innerHTML = s.ma(l.name, l.html);
1226
1270
  }
1227
- }, this.na = function (e) {
1271
+ }, this.la = function (e) {
1228
1272
  if ("Disabled" !== s.headerClickHandling) {
1229
- var t = this.data, i = s.pa(t), n = {};
1273
+ var t = this.data, i = s.na(t), n = {};
1230
1274
  n.header = {}, n.header.id = t.id, n.header.name = t.name, n.header.start = t.start, n.column = i, n.originalEvent = e, n.shift = e.shiftKey, n.ctrl = e.ctrlKey, n.meta = e.metaKey, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onHeaderClick && (s.onHeaderClick(n), n.preventDefault.value) || "function" == typeof s.onHeaderClicked && s.onHeaderClicked(n);
1231
1275
  }
1232
- }, this.pa = function (e) { return new DayPilot.CalendarColumn(e, s); }, this.qa = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.E = function () {
1233
- var e = this.nav.header, t = !0, i = this.S;
1276
+ }, this.na = function (e) { return new DayPilot.CalendarColumn(e, s); }, this.oa = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.B = function () {
1277
+ var e = this.nav.header, t = !0, i = this.Q;
1234
1278
  for (i.length; this.headerCreated && e && e.rows && e.rows.length > 0;)
1235
1279
  this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0);
1236
1280
  this.headerCreated = !0;
1237
- this.ma(t);
1238
- }, 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) { var i = {}; i.command = e, this.m("Command", t, i); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.ra = function () { var e = this.nav.scroll; e.onscroll || (e.onscroll = function () { s.sa(); }); var t = "undefined" != typeof this.ta.scrollpos ? this.ta.scrollpos : this.initScrollPos; t && ("Auto" === t && (t = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), e.root = this, 0 === e.scrollTop && (e.scrollTop = t)); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.ua = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.va = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp), DayPilot.re(window, "unload", t.gUnload)); }, this.events = {}, this.events.add = function (e) {
1281
+ this.ka(t);
1282
+ }, 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) { var i = {}; i.command = e, this.k("Command", t, i); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.pa = function () { var e = this.nav.scroll; e.onscroll || (e.onscroll = function () { s.qa(); }); var t = "undefined" != typeof this.ra.scrollpos ? this.ra.scrollpos : this.initScrollPos; t && ("Auto" === t && (t = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), e.root = this, 0 === e.scrollTop && (e.scrollTop = t)); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.sa = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.ta = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp), DayPilot.re(window, "unload", t.gUnload)); }, this.events = {}, this.events.add = function (e) {
1239
1283
  var t = null;
1240
1284
  if (e instanceof DayPilot.Event)
1241
1285
  t = e.data;
@@ -1244,7 +1288,7 @@ if ("undefined" == typeof DayPilot)
1244
1288
  throw "DayPilot.Calendar.events.add() expects an object or DayPilot.Event instance.";
1245
1289
  t = e;
1246
1290
  }
1247
- s.events.list || (s.events.list = []), s.events.list.push(t), s.update(), s.Q.notify();
1291
+ s.events.list || (s.events.list = []), s.events.list.push(t), s.update(), s.N.notify();
1248
1292
  }, this.events.find = function (e) {
1249
1293
  if (!s.events.list)
1250
1294
  return null;
@@ -1264,7 +1308,7 @@ if ("undefined" == typeof DayPilot)
1264
1308
  s.events.list.splice(i, 1, e);
1265
1309
  }
1266
1310
  }
1267
- s.update(), s.Q.notify();
1311
+ s.update(), s.N.notify();
1268
1312
  }, this.events.remove = function (e) {
1269
1313
  var t;
1270
1314
  if (e instanceof DayPilot.Event)
@@ -1278,7 +1322,7 @@ if ("undefined" == typeof DayPilot)
1278
1322
  i && (t = i.data);
1279
1323
  }
1280
1324
  var n = DayPilot.indexOf(s.events.list, t);
1281
- s.events.list.splice(n, 1), s.update(), s.Q.notify();
1325
+ s.events.list.splice(n, 1), s.update(), s.N.notify();
1282
1326
  }, this.events.load = function (e, t, i) {
1283
1327
  var n = function (e) { var t = {}; t.exception = e.exception, t.request = e.request, "function" == typeof i && i(t); }, a = function (e) {
1284
1328
  var i, a = e.request;
@@ -1293,7 +1337,7 @@ if ("undefined" == typeof DayPilot)
1293
1337
  var o = {};
1294
1338
  if (o.preventDefault = function () { this.preventDefault.value = !0; }, o.data = i, "function" == typeof t && t(o), o.preventDefault.value)
1295
1339
  return;
1296
- s.events.list = i, s.Y && s.update();
1340
+ s.events.list = i, s.W && s.update();
1297
1341
  }
1298
1342
  };
1299
1343
  if (s.eventsLoadMethod && "POST" === s.eventsLoadMethod.toUpperCase())
@@ -1302,15 +1346,23 @@ if ("undefined" == typeof DayPilot)
1302
1346
  var l = e, o = "start=" + s.visibleStart().toString() + "&end=" + s.visibleEnd().toString();
1303
1347
  l += l.indexOf("?") > -1 ? "&" + o : "?" + o, DayPilot.Http.ajax({ "method": "GET", "url": l, "success": a, "error": n });
1304
1348
  }
1349
+ }, this.ua = function () {
1350
+ if (s.nav.top.className !== s.b("_main")) {
1351
+ s.nav.top.className = s.b("_main");
1352
+ var e = s.nav.corner;
1353
+ e.className = s.b("_corner"), e.firstChild.className = s.b("_corner_inner");
1354
+ var t = s.nav.cornerRight;
1355
+ t && (t.className = s.b("_cornerright"), t.firstChild.className = s.b("_cornerright_inner"));
1356
+ }
1305
1357
  }, this.update = function (e) {
1306
- if (s.wa(e), this.Y) {
1307
- s.xa(), s.p(), s.nav.top.style.cursor = "auto";
1308
- s.B(), s.E(), s.F(), s.G(), s.H(), s.ja(), s.ya(), s.C(), s.D(), s.A(), s.I(), s.clearSelection(), this.visible ? this.show() : this.hide();
1358
+ if (s.va(e), this.W) {
1359
+ s.wa(), s.n(), s.nav.top.style.cursor = "auto";
1360
+ s.w(), s.B(), s.C(), s.D(), s.E(), s.ha(), s.ua(), s.xa(), s.z(), s.A(), s.u(), s.F(), s.clearSelection(), this.visible ? this.show() : this.hide();
1309
1361
  }
1310
- }, this.za = null, this.wa = function (e) {
1362
+ }, this.ya = null, this.va = function (e) {
1311
1363
  if (e) {
1312
1364
  var t = { "events": { "preInit": function () { var e = this.data; e && (DayPilot.isArray(e.list) ? s.events.list = e.list : s.events.list = e); } }, "columns": { "preInit": function () { s.columns.list = this.data; } } };
1313
- this.za = t;
1365
+ this.ya = t;
1314
1366
  for (var i in e)
1315
1367
  if (t[i]) {
1316
1368
  var n = t[i];
@@ -1319,13 +1371,13 @@ if ("undefined" == typeof DayPilot)
1319
1371
  else
1320
1372
  s[i] = e[i];
1321
1373
  }
1322
- }, this.Aa = function () {
1323
- var e = this.za;
1374
+ }, this.za = function () {
1375
+ var e = this.ya;
1324
1376
  for (var t in e) {
1325
1377
  var i = e[t];
1326
1378
  i.postInit && i.postInit();
1327
1379
  }
1328
- }, this.Ba = function () {
1380
+ }, this.Aa = function () {
1329
1381
  if (this.id && this.id.tagName)
1330
1382
  this.nav.top = this.id;
1331
1383
  else {
@@ -1334,8 +1386,8 @@ if ("undefined" == typeof DayPilot)
1334
1386
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
1335
1387
  throw "DayPilot.Calendar: The placeholder element not found: '" + e + "'.";
1336
1388
  }
1337
- }, this.Ca = {}, this.Ca.events = [], this.Da = function (e) {
1338
- var t = this.Ca.events, i = this.events.list[e], n = {};
1389
+ }, this.Ba = {}, this.Ba.events = [], this.Ca = function (e) {
1390
+ var t = this.Ba.events, i = this.events.list[e], n = {};
1339
1391
  for (var s in i)
1340
1392
  n[s] = i[s];
1341
1393
  if ("function" == typeof this.onBeforeEventRender) {
@@ -1343,9 +1395,9 @@ if ("undefined" == typeof DayPilot)
1343
1395
  a.data = n, this.onBeforeEventRender(a);
1344
1396
  }
1345
1397
  t[e] = n;
1346
- }, this.C = function () {
1398
+ }, this.z = function () {
1347
1399
  var e = this.events.list;
1348
- if (s.Ca.events = [], e) {
1400
+ if (s.Ba.events = [], e) {
1349
1401
  var t = e.length, i = 864e5;
1350
1402
  this.cache.pixels = {};
1351
1403
  var n = [];
@@ -1356,11 +1408,11 @@ if ("undefined" == typeof DayPilot)
1356
1408
  }
1357
1409
  if ("function" == typeof this.onBeforeEventRender)
1358
1410
  for (var a = 0; a < t; a++)
1359
- this.Da(a);
1360
- for (var a = 0; a < this.S.length; a++) {
1411
+ this.Ca(a);
1412
+ for (var a = 0; a < this.Q.length; a++) {
1361
1413
  var o = {};
1362
1414
  o.minEnd = 1e6, o.maxStart = -1, this.scrollLabels.push(o);
1363
- var r = this.S[a];
1415
+ var r = this.Q[a];
1364
1416
  r.events = [], r.lines = [], r.blocks = [];
1365
1417
  for (var h = new DayPilot.Date(r.start), c = h.getTime(), d = h.addTime(i), u = d.getTime(), v = 0; v < t; v++)
1366
1418
  if (!n[v]) {
@@ -1373,32 +1425,32 @@ if ("undefined" == typeof DayPilot)
1373
1425
  var C = this.getPixels(b.part.start, r.start), w = this.getPixels(b.part.end, r.start), D = C.top, S = w.top;
1374
1426
  if (D === S && (C.cut || w.cut))
1375
1427
  continue;
1376
- var x = w.boxBottom;
1377
- b.part.top = Math.floor(D / this.cellHeight) * this.cellHeight + 1, b.part.height = Math.max(Math.ceil(x / this.cellHeight) * this.cellHeight - b.part.top, this.cellHeight - 1) + 1, b.part.barTop = Math.max(D - b.part.top - 1, 0), b.part.barHeight = Math.max(S - D - 2, 1);
1428
+ var k = w.boxBottom;
1429
+ b.part.top = Math.floor(D / this.cellHeight) * this.cellHeight + 1, b.part.height = Math.max(Math.ceil(k / this.cellHeight) * this.cellHeight - b.part.top, this.cellHeight - 1) + 1, b.part.barTop = Math.max(D - b.part.top - 1, 0), b.part.barHeight = Math.max(S - D - 2, 1);
1378
1430
  var p = b.part.top, f = b.part.top + b.part.height;
1379
- p > o.maxStart && (o.maxStart = p), f < o.minEnd && (o.minEnd = f), p < this.minStart && (this.minStart = p), f > this.maxEnd && (this.maxEnd = f), r.events.push(b), "function" == typeof this.onBeforeEventRender && (b.cache = this.Ca.events[v]), b.part.start.getTime() === g && b.part.end.getTime() === m && (n[v] = !0);
1431
+ p > o.maxStart && (o.maxStart = p), f < o.minEnd && (o.minEnd = f), p < this.minStart && (this.minStart = p), f > this.maxEnd && (this.maxEnd = f), r.events.push(b), "function" == typeof this.onBeforeEventRender && (b.cache = this.Ba.events[v]), b.part.start.getTime() === g && b.part.end.getTime() === m && (n[v] = !0);
1380
1432
  }
1381
1433
  }
1382
1434
  }
1383
1435
  }
1384
- for (var a = 0; a < this.S.length; a++) {
1385
- var r = this.S[a];
1386
- r.events.sort(this.Ea);
1436
+ for (var a = 0; a < this.Q.length; a++) {
1437
+ var r = this.Q[a];
1438
+ r.events.sort(this.Da);
1387
1439
  for (var v = 0; v < r.events.length; v++) {
1388
1440
  var l = r.events[v];
1389
1441
  r.putIntoBlock(l);
1390
1442
  }
1391
1443
  for (var v = 0; v < r.blocks.length; v++) {
1392
- var k = r.blocks[v];
1393
- k.events.sort(this.Ea);
1394
- for (var H = 0; H < k.events.length; H++) {
1395
- var l = k.events[H];
1396
- k.putIntoLine(l);
1444
+ var x = r.blocks[v];
1445
+ x.events.sort(this.Da);
1446
+ for (var H = 0; H < x.events.length; H++) {
1447
+ var l = x.events[H];
1448
+ x.putIntoLine(l);
1397
1449
  }
1398
1450
  }
1399
1451
  }
1400
1452
  }
1401
- }, this.Ea = function (e, t) {
1453
+ }, this.Da = function (e, t) {
1402
1454
  if (!(e && t && e.start && t.start))
1403
1455
  return 0;
1404
1456
  var i = e.start().getTime() - t.start().getTime();
@@ -1412,30 +1464,30 @@ if ("undefined" == typeof DayPilot)
1412
1464
  var a = 18e5, l = n - i, o = l % a, r = l - o, h = r + a;
1413
1465
  0 === o && (h = r);
1414
1466
  var c = {};
1415
- return c.cut = !1, c.top = this.Fa(l), c.boxTop = this.Fa(r), c.boxBottom = this.Fa(h), this.cache.pixels[n + "_" + i] = c, c;
1416
- }, this.Fa = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.xa = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.D = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.H = function () { var e = this.ca(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.Q = {}, this.Q.scope = null, this.Q.notify = function () { s.Q.scope && s.Q.scope["$apply"](); }, this.Q.apply = function (e) { e(); }, this.sa = function () {
1467
+ return c.cut = !1, c.top = this.Ea(l), c.boxTop = this.Ea(r), c.boxBottom = this.Ea(h), this.cache.pixels[n + "_" + i] = c, c;
1468
+ }, this.Ea = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.wa = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.A = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.E = function () { var e = this.aa(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.N = {}, this.N.scope = null, this.N.notify = function () { s.N.scope && s.N.scope["$apply"](); }, this.N.apply = function (e) { e(); }, this.qa = function () {
1417
1469
  if (s.nav.scroll) {
1418
1470
  var e = s.nav.scroll.scrollTop, t = e / (2 * s.cellHeight);
1419
- s.ta.scrollHour = t;
1471
+ s.ra.scrollHour = t;
1420
1472
  }
1421
- }, this.ya = function () { var e = 0; s.ta.scrollHour ? e = 2 * s.cellHeight * s.ta.scrollHour : "Auto" === s.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), s.nav.scroll.scrollTop = e; }, this.Ga = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof s.events.list || !s.events.list); }, this.A = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { s.visible = !0, s.nav.top.style.display = ""; }, this.hide = function () { s.visible = !1, s.nav.top.style.display = "none"; }, this.Ha = function () { this.xa(), this.B(), this.ba(), this.E(), this.F(), this.ua(), this.ra(), this.va(), t.register(this), this.Ia(), this.m("Init"); }, this.ta = {}, this.Ja = function () { this.ta.themes = [], this.ta.themes.push(this.theme || this.cssClassPrefix); }, this.Ka = function () {
1422
- for (var e = this.ta.themes, t = 0; t < e.length; t++) {
1473
+ }, this.xa = function () { var e = 0; s.ra.scrollHour ? e = 2 * s.cellHeight * s.ra.scrollHour : "Auto" === s.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), s.nav.scroll.scrollTop = e; }, this.Fa = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof s.events.list || !s.events.list); }, this.u = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { s.visible = !0, s.nav.top.style.display = ""; }, this.hide = function () { s.visible = !1, s.nav.top.style.display = "none"; }, this.Ga = function () { this.wa(), this.w(), this._(), this.B(), this.C(), this.sa(), this.pa(), this.ta(), t.register(this), this.Ha(), this.k("Init"); }, this.ra = {}, this.Ia = function () { this.ra.themes = [], this.ra.themes.push(this.theme || this.cssClassPrefix); }, this.Ja = function () {
1474
+ for (var e = this.ra.themes, t = 0; t < e.length; t++) {
1423
1475
  var i = e[t];
1424
1476
  DayPilot.Util.removeClass(this.nav.top, i + "_main");
1425
1477
  }
1426
- this.ta.themes = [];
1427
- }, this.La = function () {
1478
+ this.ra.themes = [];
1479
+ }, this.Ka = function () {
1428
1480
  if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
1429
1481
  var e = {};
1430
1482
  e.isCallBack = !1, this.onAfterRender(e);
1431
1483
  }
1432
- }, this.Ma = function () {
1433
- if ("function" == typeof this.onInit && !this.Na) {
1434
- this.Na = !0;
1484
+ }, this.La = function () {
1485
+ if ("function" == typeof this.onInit && !this.Ma) {
1486
+ this.Ma = !0;
1435
1487
  var e = {};
1436
1488
  this.onInit(e);
1437
1489
  }
1438
- }, this.Oa = function () { var e = s.nav.top; return e.offsetWidth > 0 && e.offsetHeight > 0; }, this.Ia = function () { var e = s.Oa; e() || (s.Pa = setInterval(function () { e() && (s.ra(), s.ua(), clearInterval(s.Pa)); }, 100)); }, this.oa = function (e, t) { return s.w.z() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = s.wa, this.internal.xssTextHtml = s.oa, this.init = function () { this.Ba(); var e = this.Ga(); return this.Ja(), e ? void this.Ha() : (this.xa(), this.B(), this.C(), this.ba(), this.E(), this.F(), this.A(), this.ua(), this.ra(), this.va(), t.register(this), this.events && (this.D(), this.I()), this.La(), this.Ma(), this.Ia(), this.Y = !0, this); }, this.Init = this.init, this.wa(i);
1490
+ }, this.Na = function () { var e = s.nav.top; return e.offsetWidth > 0 && e.offsetHeight > 0; }, this.Ha = function () { var e = s.Na; e() || (s.Oa = setInterval(function () { e() && (s.pa(), s.sa(), clearInterval(s.Oa)); }, 100)); }, this.ma = function (e, t) { return s.s.t() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = s.va, this.internal.xssTextHtml = s.ma, this.init = function () { this.Aa(); var e = this.Fa(); return this.Ia(), e ? void this.Ga() : (this.wa(), this.w(), this.z(), this._(), this.B(), this.C(), this.u(), this.sa(), this.pa(), this.ta(), t.register(this), this.events && (this.A(), this.F()), this.Ka(), this.La(), this.Ha(), this.W = !0, this); }, this.Init = this.init, this.va(i);
1439
1491
  }, DayPilot.CalendarColumn = function (e, t) { var i = this; i.id = e.id, i.name = e.name, i.data = e.data, i.start = new DayPilot.Date(e.start), i.calendar = t, i.toJSON = function () { var e = {}; return e.id = this.id, this.start && (e.start = this.start.toString()), e.name = this.name, e; }; }, DayPilot.Calendar = t.Calendar, "undefined" != typeof jQuery && !function (e) {
1440
1492
  e.fn.daypilotCalendar = function (e) {
1441
1493
  var t = null, i = this.each(function () {
@@ -1454,7 +1506,7 @@ if ("undefined" == typeof DayPilot)
1454
1506
  e && e.directive("daypilotCalendar", ["$parse", function (e) {
1455
1507
  return { "restrict": "E", "template": "<div></div>", "replace": !0, "link": function (t, i, n) {
1456
1508
  var s = new DayPilot.Calendar(i[0]);
1457
- s.Q.scope = t, s.init();
1509
+ s.N.scope = t, s.init();
1458
1510
  var a = n["id"];
1459
1511
  a && (t[a] = s);
1460
1512
  var l = n["publishAs"];
@@ -1467,7 +1519,7 @@ if ("undefined" == typeof DayPilot)
1467
1519
  r.call(t, h, function (e) {
1468
1520
  for (var t in e)
1469
1521
  s[t] = e[t];
1470
- s.update(), s.Ma();
1522
+ s.update(), s.La();
1471
1523
  }, !0), r.call(t, c, function (e) { s.events.list = e, s.update(); }, !0);
1472
1524
  } };
1473
1525
  }]);
@@ -1478,7 +1530,7 @@ if ("undefined" == typeof DayPilot)
1478
1530
  var DayPilot = {};
1479
1531
  !function () {
1480
1532
  "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (t) {
1481
- this.v = "2022.3.398-lite";
1533
+ this.v = "2022.3.432-lite";
1482
1534
  var e = "navigator_" + (new Date).getTime(), i = this;
1483
1535
  this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () {
1484
1536
  if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this.a.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, t)
@@ -1521,6 +1573,249 @@ if ("undefined" == typeof DayPilot)
1521
1573
  }, this.prepare(), this.init();
1522
1574
  });
1523
1575
  }();
1576
+ if ("undefined" == typeof DayPilot)
1577
+ var DayPilot = {};
1578
+ "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (DayPilot) {
1579
+ "use strict";
1580
+ if ("undefined" == typeof DayPilot.Menu || !DayPilot.Menu.def) {
1581
+ var e = function () { }, t = {};
1582
+ t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (n) {
1583
+ var i = this, o = null;
1584
+ this.v = "2022.3.432-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.b = function () { }, n && DayPilot.isArray(n) && (this.items = n), this.toJSON = function () { return null; }, this.show = function (n, u) {
1585
+ u = u || {};
1586
+ var a = null;
1587
+ if (n ? "string" == typeof n.id || "number" == typeof n.id ? a = n.id : "function" == typeof n.id ? a = n.id() : "function" == typeof n.value && (a = n.value()) : a = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), u.submenu || t.menuClean(), this.b.submenu = null, null !== t.mouse) {
1588
+ i.cssOnly || (i.cssOnly = !0);
1589
+ var s = null;
1590
+ if (n && n.isRow && n.$.row.task ? (s = new DayPilot.Task(n.$.row.task, n.calendar), s.menuType = "resource") : s = n && n.isEvent && n.data.task ? new DayPilot.Task(n, n.calendar) : n, "function" == typeof i.onShow) {
1591
+ var l = {};
1592
+ if (l.source = s, l.menu = i, l.preventDefault = function () { l.preventDefault.value = !0; }, i.onShow(l), l.preventDefault.value)
1593
+ return;
1594
+ }
1595
+ var c = document.createElement("div");
1596
+ if (c.style.position = "absolute", c.style.top = "0px", c.style.left = "0px", c.style.display = "none", c.style.overflow = "hidden", c.style.zIndex = this.zIndex + 1, c.className = this.c("main"), c.onclick = function (e) { e.cancelBubble = !0, this.parentNode.removeChild(this); }, this.hideOnMouseOut && (c.onmousemove = function (e) { clearTimeout(t.hideTimeout); }, c.onmouseleave = function (e) { i.delayedHide({ "hideParent": !0 }); }), !this.items || 0 === this.items.length)
1597
+ throw "No menu items defined.";
1598
+ if (this.showMenuTitle) {
1599
+ var r = document.createElement("div");
1600
+ r.innerHTML = this.menuTitle, r.className = this.c("title"), c.appendChild(r);
1601
+ }
1602
+ for (var d = 0; d < this.items.length; d++) {
1603
+ var m = this.items[d], f = document.createElement("div");
1604
+ if (DayPilot.Util.addClass(f, this.c("item")), m.items && (DayPilot.Util.addClass(f, this.c("item_haschildren")), DayPilot.Util.addClass(c, this.c("withchildren"))), "undefined" != typeof m && !m.hidden) {
1605
+ if ("-" === m.text) {
1606
+ var h = document.createElement("div");
1607
+ h.addEventListener("click", function (e) { e.stopPropagation(); }), f.appendChild(h);
1608
+ }
1609
+ else {
1610
+ var v = document.createElement("a");
1611
+ if (v.style.position = "relative", v.style.display = "block", m.cssClass && DayPilot.Util.addClass(v, m.cssClass), m.disabled)
1612
+ DayPilot.Util.addClass(v, i.c("item_disabled"));
1613
+ else {
1614
+ if (m.onclick || m.onClick) {
1615
+ v.item = m, v.onclick = function (e, t) {
1616
+ return function (n) {
1617
+ if ("function" == typeof e.onClick) {
1618
+ var i = {};
1619
+ if (i.item = e, i.source = t.source, i.originalEvent = n, i.preventDefault = function () { i.preventDefault.value = !0; }, e.onClick(i), i.preventDefault.value)
1620
+ return;
1621
+ }
1622
+ e.onclick && e.onclick.call(t, n);
1623
+ };
1624
+ }(m, v);
1625
+ var p = function (e, n) {
1626
+ return function (i) {
1627
+ i.stopPropagation(), i.preventDefault();
1628
+ var o = function () { window.setTimeout(function () { n.source.calendar.internal.touch.active = !1; }, 500); };
1629
+ if ("function" == typeof e.onClick) {
1630
+ var u = {};
1631
+ if (u.item = e, u.source = n.source, u.originalEvent = i, u.preventDefault = function () { u.preventDefault.value = !0; }, e.onClick(u), u.preventDefault.value)
1632
+ return void o();
1633
+ }
1634
+ e.onclick && e.onclick.call(n, i), t.menuClean(), o();
1635
+ };
1636
+ };
1637
+ DayPilot.reNonPassive(v, "touchstart", function (e) { e.stopPropagation(), e.preventDefault(), v.source.calendar.internal.touch.active = !0; }), DayPilot.reNonPassive(v, "touchend", p(m, v));
1638
+ }
1639
+ if (m.items && !m.disabled) {
1640
+ var b = function (e, t) { return function (n) { n.preventDefault(), n.stopPropagation(), i.d(e, t); }; };
1641
+ v.ontouchend = b(m, v);
1642
+ }
1643
+ if (m.onclick)
1644
+ e();
1645
+ else if (m.href)
1646
+ v.href = m.href.replace(/\x7B0\x7D/gim, a), m.target && v.setAttribute("target", m.target);
1647
+ else if (m.command) {
1648
+ var b = function (e, t) {
1649
+ return function (n) {
1650
+ var i = t.source, o = e;
1651
+ o.action = o.action ? o.action : "CallBack";
1652
+ var u = i.calendar || i.root;
1653
+ if (i instanceof DayPilot.Link)
1654
+ return void u.internal.linkMenuClick(o.command, i, o.action);
1655
+ if (i instanceof DayPilot.Selection)
1656
+ return void u.internal.timeRangeMenuClick(o.command, i, o.action);
1657
+ if (i instanceof DayPilot.Event)
1658
+ return void u.internal.eventMenuClick(o.command, i, o.action);
1659
+ if (i instanceof DayPilot.Selection)
1660
+ return void u.internal.timeRangeMenuClick(o.command, i, o.action);
1661
+ if (i instanceof DayPilot.Task)
1662
+ return void ("resource" === i.menuType ? u.internal.resourceHeaderMenuClick(o.command, t.menuSource, o.action) : u.internal.eventMenuClick(o.command, t.menuSource, o.action));
1663
+ switch (i.menuType) {
1664
+ case "resource": return void u.internal.resourceHeaderMenuClick(o.command, i, o.action);
1665
+ case "selection": return void u.internal.timeRangeMenuClick(o.command, i, o.action);
1666
+ default: return void u.internal.eventMenuClick(o.command, i, o.action);
1667
+ }
1668
+ n.preventDefault();
1669
+ };
1670
+ };
1671
+ v.onclick = b(m, v), v.ontouchend = b(m, v);
1672
+ }
1673
+ }
1674
+ m.items && v.addEventListener("click", function (e) { e.stopPropagation(); }), v.source = s, v.menuSource = n;
1675
+ var y = document.createElement("span");
1676
+ if (y.className = i.c("item_text"), y.innerHTML = DayPilot.Util.escapeTextHtml(m.text, m.html), v.appendChild(y), m.image) {
1677
+ var w = document.createElement("img");
1678
+ w.src = m.image, w.style.position = "absolute", w.style.top = "0px", w.style.left = "0px", v.appendChild(w);
1679
+ }
1680
+ if (m.icon) {
1681
+ var g = document.createElement("span");
1682
+ g.className = i.c("item_icon");
1683
+ var C = document.createElement("i");
1684
+ C.className = m.icon, g.appendChild(C), v.appendChild(g);
1685
+ }
1686
+ if (m.symbol) {
1687
+ var M = "http://www.w3.org/2000/svg", k = document.createElementNS(M, "svg");
1688
+ k.setAttribute("width", "100%"), k.setAttribute("height", "100%");
1689
+ var x = document.createElementNS(M, "use");
1690
+ x.setAttribute("href", m.symbol), k.appendChild(x);
1691
+ var T = document.createElement("span");
1692
+ T.className = i.c("item_symbol"), T.style.position = "absolute", T.style.top = "0px", T.style.left = "0px", T.appendChild(k), v.appendChild(T);
1693
+ }
1694
+ var E = function (e, n) {
1695
+ return function () {
1696
+ var o = (n.source, e), u = t.waitingSubmenu;
1697
+ if (u) {
1698
+ if (u.parent === o)
1699
+ return;
1700
+ clearTimeout(u.timeout), t.waitingSubmenu = null;
1701
+ }
1702
+ e.disabled || (t.waitingSubmenu = {}, t.waitingSubmenu.parent = o, t.waitingSubmenu.timeout = setTimeout(function () { t.waitingSubmenu = null, i.d(o, n); }, 300));
1703
+ };
1704
+ };
1705
+ v.onmouseover = E(m, v), f.appendChild(v);
1706
+ }
1707
+ c.appendChild(f);
1708
+ }
1709
+ }
1710
+ var P = function (e) { window.setTimeout(function () { t.menuClean(), DayPilot.MenuBar.deactivate(); }, 100); };
1711
+ c.onclick = P, c.ontouchend = P, c.onmousedown = function (e) { e = e || window.event, e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(); }, c.oncontextmenu = function () { return !1; }, document.body.appendChild(c), i.b.visible = !0, i.b.source = n, c.style.display = "";
1712
+ var S = c.offsetHeight, D = c.offsetWidth;
1713
+ c.style.display = "none";
1714
+ var N = document.documentElement.clientHeight, B = window.innerWidth, H = "number" == typeof u.windowMargin ? u.windowMargin : 5;
1715
+ if (function () {
1716
+ var e = u.initiator;
1717
+ if (e) {
1718
+ var t = e.div, n = e.e, i = e.area, a = i.visibility || i.v || "Visible", s = e.a;
1719
+ if ("Visible" !== a && (s = DayPilot.Areas.createArea(t, n, i), t.appendChild(s), o = s), s) {
1720
+ var l = DayPilot.abs(s);
1721
+ u.x = l.x, u.y = l.y + l.h + 2;
1722
+ }
1723
+ }
1724
+ }(), function () {
1725
+ var e = "number" == typeof u.x ? u.x : t.mouse.x + 1, n = "number" == typeof u.y ? u.y : t.mouse.y + 1, i = document.body.scrollTop || document.documentElement.scrollTop, o = document.body.scrollLeft || document.documentElement.scrollLeft;
1726
+ if (n - i > N - S && 0 !== N) {
1727
+ var a = n - i - (N - S) + H;
1728
+ c.style.top = n - a + "px";
1729
+ }
1730
+ else
1731
+ c.style.top = n + "px";
1732
+ if ("right" === u.align && (e -= D), e - o > B - D && 0 !== B) {
1733
+ var s = e - o - (B - D) + H;
1734
+ c.style.left = e - s + "px";
1735
+ }
1736
+ else
1737
+ c.style.left = e + "px";
1738
+ }(), u.parentLink) {
1739
+ var _ = u.parentLink, L = parseInt(new DayPilot.StyleReader(c).get("border-top-width")), O = DayPilot.abs(u.parentLink.parentNode), A = O.x + _.offsetWidth, U = O.y - L;
1740
+ A + D > B && (A = Math.max(0, O.x - D));
1741
+ var R = document.body.scrollTop + document.documentElement.scrollTop;
1742
+ U + S - R > N && (U = Math.max(0, N - S + R)), c.style.left = A + "px", c.style.top = U + "px";
1743
+ }
1744
+ c.style.display = "", this.addShadow(c), this.b.div = c, u.submenu || (DayPilot.Menu.active = this);
1745
+ }
1746
+ }, this.d = function (e, t) {
1747
+ var n = e, o = t.source;
1748
+ if ((!i.b.submenu || i.b.submenu.item !== e) && (i.b.submenu && i.b.submenu.item !== e && (DayPilot.Util.removeClass(i.b.submenu.link.parentNode, i.c("item_haschildren_active")), i.b.submenu.menu.hide(), i.b.submenu = null), e.items)) {
1749
+ var u = i.cloneOptions();
1750
+ u.items = e.items, i.b.submenu = {}, i.b.submenu.menu = new DayPilot.Menu(u), i.b.submenu.menu.f = i, i.b.submenu.menu.show(o, { "submenu": !0, "parentLink": t, "parentItem": n }), i.b.submenu.item = e, i.b.submenu.link = t, DayPilot.Util.addClass(t.parentNode, i.c("item_haschildren_active"));
1751
+ }
1752
+ }, this.c = function (e) { var t = this.theme || this.cssClassPrefix, n = this.cssOnly ? "_" : ""; return t ? t + n + e : ""; }, this.cloneOptions = function () { return DayPilot.Util.copyProps(u, {}, ["cssClassPrefix", "theme", "hideAfter", "hideOnMouseOut", "zIndex"]); }, this.hide = function (e) {
1753
+ e = e || {}, this.b.submenu && this.b.submenu.menu.hide();
1754
+ var n = t.waitingSubmenu;
1755
+ if (n && (t.waitingSubmenu = null, clearTimeout(n.timeout)), this.removeShadow(), this.b.div && this.b.div.parentNode === document.body && document.body.removeChild(this.b.div), o && (DayPilot.de(o), o = null), i.b.visible = !1, i.b.source = null, i.f && e.hideParent && i.f.hide(e), DayPilot.Menu.active === i && (DayPilot.Menu.active = null), "function" == typeof this.onHide) {
1756
+ var u = {};
1757
+ this.onHide(u);
1758
+ }
1759
+ }, this.delayedHide = function (e) { t.hideTimeout = setTimeout(function () { i.hide(e); }, i.hideAfter); }, this.cancelHideTimeout = function () { clearTimeout(t.hideTimeout); }, this.init = function (e) { return t.mouseMove(e), this; }, this.addShadow = function (e) { }, this.removeShadow = function () { };
1760
+ var u = DayPilot.isArray(n) ? null : n;
1761
+ if (u)
1762
+ for (var a in u)
1763
+ this[a] = u[a];
1764
+ }, DayPilot.MenuBar = function (e, t) {
1765
+ var n = this;
1766
+ t = t || {}, this.items = [], this.theme = "menubar_default", this.windowMargin = 0, this.nav = {}, this.elements = {}, this.elements.items = DayPilot.list(), this.g = null, this.i = !1;
1767
+ for (var i in t)
1768
+ this[i] = t[i];
1769
+ this.j = function (e) { return this.theme + "_" + e; }, this.k = function () {
1770
+ this.nav.top = document.getElementById(e);
1771
+ var t = this.nav.top;
1772
+ t.className = this.j("main"), DayPilot.list(n.items).forEach(function (e) {
1773
+ var i = document.createElement("span");
1774
+ i.innerHTML = DayPilot.Util.escapeTextHtml(e.text, e.html), i.className = n.j("item"), e.cssClass && i.classList.add(e.cssClass), i.data = e, i.onclick = function (t) {
1775
+ if (n.active && n.active.item === e)
1776
+ n.l();
1777
+ else if (e.children)
1778
+ return void n.m(i);
1779
+ if ("function" == typeof e.onClick) {
1780
+ var o = {};
1781
+ o.item = e, o.originalEvent = t, e.onClick(o);
1782
+ }
1783
+ }, i.onmousedown = function (e) { e.stopPropagation(); }, i.onmouseover = function () { n.active && n.active.item !== e && n.m(i); }, t.appendChild(i), n.elements.items.push(i);
1784
+ });
1785
+ }, this.l = function () { var e = n.j("item_active"); n.elements.items.forEach(function (t) { DayPilot.Util.removeClass(t, e); }), n.active && n.active.menu && n.active.menu.hide(), n.active = null; }, this.n = function (e) { return !!n.active && n.active.item === e.data; }, this.m = function (e) {
1786
+ if (!n.n(e)) {
1787
+ n.l();
1788
+ var t = e.data, i = n.active = {};
1789
+ i.item = t, i.div = e;
1790
+ var o = n.j("item_active");
1791
+ DayPilot.Util.addClass(e, o);
1792
+ var u = DayPilot.abs(e);
1793
+ if (t.children) {
1794
+ i.menu = new DayPilot.Menu({ "items": t.children });
1795
+ var a = u.x;
1796
+ "right" === t.align && (a += u.w), i.menu.show(null, { "x": a, "y": u.y + u.h, "align": t.align, "windowMargin": n.windowMargin });
1797
+ }
1798
+ DayPilot.MenuBar.active = n;
1799
+ }
1800
+ }, this.init = function () { return this.k(), this.i = !0, this; }, this.dispose = function () { this.i && (this.nav.top.innerHTML = "", this.elements.items = []); };
1801
+ }, DayPilot.MenuBar.deactivate = function () { DayPilot.MenuBar.active && (DayPilot.MenuBar.active.l(), DayPilot.MenuBar.active = null); }, t.menuClean = function () { "undefined" != typeof DayPilot.Menu.active && DayPilot.Menu.active && (DayPilot.Menu.active.hide(), DayPilot.Menu.active = null); }, t.mouseDown = function (e) { "undefined" != typeof t && (t.menuClean(), DayPilot.MenuBar.deactivate()); }, t.mouseMove = function (e) { "undefined" != typeof t && (t.mouse = t.mousePosition(e)); }, t.touchMove = function (e) { "undefined" != typeof t && (t.mouse = t.touchPosition(e)); }, t.touchStart = function (e) { "undefined" != typeof t && (t.mouse = t.touchPosition(e)); }, t.touchEnd = function (e) { }, t.touchPosition = function (e) {
1802
+ if (!e || !e.touches)
1803
+ return null;
1804
+ var t = e.touches[0], n = {};
1805
+ return n.x = t.pageX, n.y = t.pageY, n;
1806
+ }, t.mousePosition = function (e) { return DayPilot.mo3(null, e); }, DayPilot.Menu.touchPosition = function (e) { e.touches && (t.mouse = t.touchPosition(e)); }, DayPilot.Menu.hide = function (e) {
1807
+ if (e = e || {}, e.calendar) {
1808
+ var n = DayPilot.Menu.active;
1809
+ if (n) {
1810
+ var i = n.b.source;
1811
+ i && i.calendar === e.calendar && t.menuClean();
1812
+ }
1813
+ }
1814
+ else
1815
+ t.menuClean();
1816
+ }, t.handlersRegistered || (DayPilot.re(document, "mousemove", t.mouseMove), DayPilot.re(document, "mousedown", t.mouseDown), DayPilot.re(document, "touchmove", t.touchMove), DayPilot.re(document, "touchstart", t.touchStart), DayPilot.re(document, "touchend", t.touchEnd), t.handlersRegistered = !0), DayPilot.Menu.def = {};
1817
+ }
1818
+ }(DayPilot);
1524
1819
  "undefined" == typeof DayPilot && (DayPilot = {}), function (DayPilot) {
1525
1820
  "use strict";
1526
1821
  function e(t, a, i) {
@@ -2236,9 +2531,9 @@ if ("undefined" == typeof DayPilot)
2236
2531
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
2237
2532
  var t = {};
2238
2533
  t.Month = function (e, i) {
2239
- this.v = "2022.3.398-lite", this.nav = {};
2534
+ this.v = "2022.3.432-lite", this.nav = {};
2240
2535
  var n = this;
2241
- this.id = e, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, 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 = 1, 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.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.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.a = function (t, e) { var t = JSON.parse(t); return t.CallBackRedirect ? void (document.location.href = t.CallBackRedirect) : "None" === t.UpdateType ? void n.fireAfterRenderDetached(t.CallBackData, !0) : (n.events.list = t.Events, "Full" === t.UpdateType && (n.startDate = t.StartDate, n.timeFormat = t.TimeFormat ? t.TimeFormat : n.timeFormat, "undefined" != typeof t.WeekStarts && (n.weekStarts = t.WeekStarts), n.hashes = t.Hashes), n.b(), n.c(), n.d(), "Full" === t.UpdateType && (n.f(), n.g()), n.h(), n.show(), n.i(), void n.fireAfterRenderDetached(t.CallBackData, !0)); }, this.fireAfterRenderDetached = function (t, e) { var i = function (t, e) { return function () { n.afterRender && n.afterRender(t, e); }; }; window.setTimeout(i(t, e), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (t) {
2536
+ this.id = e, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.contextMenu = null, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, 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 = 1, 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.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.a = function (t, e) { var t = JSON.parse(t); return t.CallBackRedirect ? void (document.location.href = t.CallBackRedirect) : "None" === t.UpdateType ? void n.fireAfterRenderDetached(t.CallBackData, !0) : (n.events.list = t.Events, "Full" === t.UpdateType && (n.startDate = t.StartDate, n.timeFormat = t.TimeFormat ? t.TimeFormat : n.timeFormat, "undefined" != typeof t.WeekStarts && (n.weekStarts = t.WeekStarts), n.hashes = t.Hashes), n.b(), n.c(), n.d(), "Full" === t.UpdateType && (n.f(), n.g()), n.h(), n.show(), n.i(), void n.fireAfterRenderDetached(t.CallBackData, !0)); }, this.fireAfterRenderDetached = function (t, e) { var i = function (t, e) { return function () { n.afterRender && n.afterRender(t, e); }; }; window.setTimeout(i(t, e), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (t) {
2242
2537
  var e = null;
2243
2538
  if (t instanceof DayPilot.Event)
2244
2539
  e = t.data;
@@ -2329,19 +2624,19 @@ if ("undefined" == typeof DayPilot)
2329
2624
  for (var e = 0; e < t.length; e++)
2330
2625
  this.q(e);
2331
2626
  for (var i = 0; i < t.length; i++) {
2332
- var n = t[i];
2333
- if (n.start = new DayPilot.Date(n.start), n.end = new DayPilot.Date(n.end), !(n.start.getTime() > n.end.getTime()))
2627
+ var n = t[i], s = new DayPilot.Date(n.start), a = new DayPilot.Date(n.end);
2628
+ if (!(s.getTime() > a.getTime()))
2334
2629
  for (var e = 0; e < this.rows.length; e++) {
2335
- var s = this.rows[e], a = new DayPilot.Event(n, this);
2336
- s.belongsHere(a) && (s.events.push(a), "function" == typeof this.onBeforeEventRender && (a.cache = this.p.events[i]));
2630
+ var l = this.rows[e], o = new DayPilot.Event(n, this);
2631
+ l.belongsHere(o) && (l.events.push(o), "function" == typeof this.onBeforeEventRender && (o.cache = this.p.events[i]));
2337
2632
  }
2338
2633
  }
2339
- for (var l = 0; l < this.rows.length; l++) {
2340
- var s = this.rows[l];
2341
- s.events.sort(this.r);
2342
- for (var o = 0; o < this.rows[l].events.length; o++) {
2343
- var r = s.events[o], h = s.getStartColumn(r), d = s.getWidth(r);
2344
- s.putIntoLine(r, h, d, l);
2634
+ for (var r = 0; r < this.rows.length; r++) {
2635
+ var l = this.rows[r];
2636
+ l.events.sort(this.r);
2637
+ for (var h = 0; h < this.rows[r].events.length; h++) {
2638
+ var c = l.events[h], d = l.getStartColumn(c), v = l.getWidth(c);
2639
+ l.putIntoLine(c, d, v, r);
2345
2640
  }
2346
2641
  }
2347
2642
  }
@@ -2376,12 +2671,12 @@ if ("undefined" == typeof DayPilot)
2376
2671
  else
2377
2672
  e -= h;
2378
2673
  i < 0 && (i = 0, e = 0);
2379
- var d = null;
2380
- for (t.resizingEvent ? d = "w-resize" : t.movingEvent && (d = "move"), this.nav.top.style.cursor = d; o > 0 && i < this.rows.length;) {
2381
- var c = Math.min(this.getColCount() - e, o), v = this.rows[i], u = this.getRowTop(i), f = v.getHeight(), p = document.createElement("div");
2382
- p.setAttribute("unselectable", "on"), p.style.position = "absolute", p.style.left = this.getCellWidth() * e + "%", p.style.width = this.getCellWidth() * c + "%", p.style.top = u + "px", p.style.height = f + "px", p.style.cursor = d;
2674
+ var c = null;
2675
+ for (t.resizingEvent ? c = "w-resize" : t.movingEvent && (c = "move"), this.nav.top.style.cursor = c; o > 0 && i < this.rows.length;) {
2676
+ var d = Math.min(this.getColCount() - e, o), v = this.rows[i], u = this.getRowTop(i), f = v.getHeight(), p = document.createElement("div");
2677
+ p.setAttribute("unselectable", "on"), p.style.position = "absolute", p.style.left = this.getCellWidth() * e + "%", p.style.width = this.getCellWidth() * d + "%", p.style.top = u + "px", p.style.height = f + "px", p.style.cursor = c;
2383
2678
  var g = document.createElement("div");
2384
- g.setAttribute("unselectable", "on"), p.appendChild(g), g.style.position = "absolute", g.style.top = "0px", g.style.right = "0px", g.style.left = "0px", g.style.bottom = "0px", g.style.backgroundColor = "#aaaaaa", g.style.opacity = .5, g.style.filter = "alpha(opacity=50)", this.nav.top.appendChild(p), this.shadow.list.push(p), o -= c + 7 - this.getColCount(), e = 0, i++;
2679
+ g.setAttribute("unselectable", "on"), p.appendChild(g), g.style.position = "absolute", g.style.top = "0px", g.style.right = "0px", g.style.left = "0px", g.style.bottom = "0px", g.style.backgroundColor = "#aaaaaa", g.style.opacity = .5, g.style.filter = "alpha(opacity=50)", this.nav.top.appendChild(p), this.shadow.list.push(p), o -= d + 7 - this.getColCount(), e = 0, i++;
2385
2680
  }
2386
2681
  }, this.clearShadow = function () {
2387
2682
  if (this.shadow) {
@@ -2394,47 +2689,47 @@ if ("undefined" == typeof DayPilot)
2394
2689
  i += this.rows[n].getHeight();
2395
2690
  return i += this.cellHeaderHeight, i += e * this.lineHeight();
2396
2691
  }, this.getDateFromCell = function (t, e) { return this.firstDate.addDays(7 * e + t); }, this.t = function (e) {
2397
- var i = e.cache || e.data, s = e.part.row, a = e.part.line, l = e.part.colStart, o = e.part.colWidth, r = this.getCellWidth() * l, h = this.getCellWidth() * o, d = this.getEventTop(s, a), c = document.createElement("div");
2398
- c.setAttribute("unselectable", "on"), c.style.height = this.eventHeight + "px", c.className = this.u("_event"), i.cssClass && DayPilot.Util.addClass(c, i.cssClass), e.part.startsHere || DayPilot.Util.addClass(c, this.u("_event_continueleft")), e.part.endsHere || DayPilot.Util.addClass(c, this.u("_event_continueright")), c.event = e, c.style.width = h + "%", c.style.position = "absolute", c.style.left = r + "%", c.style.top = d + "px", this.showToolTip && e.client.toolTip() && (c.title = e.client.toolTip()), c.onclick = n.w, c.onmousedown = function (i) {
2692
+ var i = e.cache || e.data, s = e.part.row, a = e.part.line, l = e.part.colStart, o = e.part.colWidth, r = this.getCellWidth() * l, h = this.getCellWidth() * o, c = this.getEventTop(s, a), d = document.createElement("div");
2693
+ d.setAttribute("unselectable", "on"), d.style.height = this.eventHeight + "px", d.className = this.u("_event"), i.cssClass && DayPilot.Util.addClass(d, i.cssClass), e.part.startsHere || DayPilot.Util.addClass(d, this.u("_event_continueleft")), e.part.endsHere || DayPilot.Util.addClass(d, this.u("_event_continueright")), d.event = e, d.style.width = h + "%", d.style.position = "absolute", d.style.left = r + "%", d.style.top = c + "px", this.showToolTip && e.client.toolTip() && (d.title = e.client.toolTip()), d.onclick = n.w, d.oncontextmenu = n.z, d.onmousedown = function (i) {
2399
2694
  i = i || window.event;
2400
2695
  var r = i.which || i.button;
2401
2696
  if (i.cancelBubble = !0, i.stopPropagation && i.stopPropagation(), 1 === r)
2402
2697
  if (t.movingEvent = null, "w-resize" === this.style.cursor || "e-resize" === this.style.cursor) {
2403
2698
  var h = {};
2404
- h.start = {}, h.start.x = l, h.start.y = s, h.event = c.event, h.width = DayPilot.DateUtil.daysSpan(h.event.start(), h.event.end()) + 1, h.direction = this.style.cursor, t.resizingEvent = h;
2699
+ h.start = {}, h.start.x = l, h.start.y = s, h.event = d.event, h.width = DayPilot.DateUtil.daysSpan(h.event.start(), h.event.end()) + 1, h.direction = this.style.cursor, t.resizingEvent = h;
2405
2700
  }
2406
- else if ("move" === this.style.cursor || "Disabled" !== n.eventMoveHandling) {
2701
+ else if ("move" === this.style.cursor || e.client.moveEnabled()) {
2407
2702
  n.clearShadow();
2408
- var d = DayPilot.mo2(n.nav.top, i);
2409
- if (!d)
2703
+ var c = DayPilot.mo2(n.nav.top, i);
2704
+ if (!c)
2410
2705
  return;
2411
- var v = n.getCellBelowPoint(d.x, d.y), u = DayPilot.DateUtil.daysDiff(e.start(), n.rows[s].start), f = 7 * v.y + v.x - (7 * s + l);
2706
+ var v = n.getCellBelowPoint(c.x, c.y), u = DayPilot.DateUtil.daysDiff(e.start(), n.rows[s].start), f = 7 * v.y + v.x - (7 * s + l);
2412
2707
  u && (f += u);
2413
2708
  var p = {};
2414
- p.start = {}, p.start.x = l, p.start.y = s, p.start.line = a, p.offset = n.eventMoveToPosition ? 0 : f, p.colWidth = o, p.event = c.event, p.coords = d, t.movingEvent = p;
2709
+ p.start = {}, p.start.x = l, p.start.y = s, p.start.line = a, p.offset = n.eventMoveToPosition ? 0 : f, p.colWidth = o, p.event = d.event, p.coords = c, t.movingEvent = p;
2415
2710
  }
2416
- }, c.onmousemove = function (i) {
2711
+ }, d.onmousemove = function (i) {
2417
2712
  if ("undefined" != typeof t && !t.movingEvent && !t.resizingEvent) {
2418
- var s = DayPilot.mo3(c, i);
2419
- if (s) {
2420
- c.deleteIcon && (c.deleteIcon.style.display = "");
2421
- var a = 6;
2422
- s.x <= a && "Disabled" !== n.eventResizeHandling ? e.part.startsHere ? (c.style.cursor = "w-resize", c.dpBorder = "left") : c.style.cursor = "not-allowed" : c.clientWidth - s.x <= a && "Disabled" !== n.eventResizeHandling ? e.part.endsHere ? (c.style.cursor = "e-resize", c.dpBorder = "right") : c.style.cursor = "not-allowed" : c.style.cursor = "default";
2713
+ var n = DayPilot.mo3(d, i);
2714
+ if (n) {
2715
+ d.deleteIcon && (d.deleteIcon.style.display = "");
2716
+ var s = 6;
2717
+ n.x <= s && e.client.resizeEnabled() ? e.part.startsHere ? (d.style.cursor = "w-resize", d.dpBorder = "left") : d.style.cursor = "not-allowed" : d.clientWidth - n.x <= s && e.client.resizeEnabled() ? e.part.endsHere ? (d.style.cursor = "e-resize", d.dpBorder = "right") : d.style.cursor = "not-allowed" : d.style.cursor = "default";
2423
2718
  }
2424
2719
  }
2425
- }, c.onmouseleave = function (t) { c.deleteIcon && (c.deleteIcon.style.display = "none"), c.style.cursor = ""; }, c.onmouseenter = function (t) { c.deleteIcon && (c.deleteIcon.style.display = ""); };
2720
+ }, d.onmouseleave = function (t) { d.deleteIcon && (d.deleteIcon.style.display = "none"), d.style.cursor = ""; }, d.onmouseenter = function (t) { d.deleteIcon && (d.deleteIcon.style.display = ""); };
2426
2721
  var v = document.createElement("div");
2427
- if (v.setAttribute("unselectable", "on"), v.className = this.u("_event_inner"), "darker" === i.borderColor && i.backColor ? v.style.borderColor = DayPilot.ColorUtil.darker(i.backColor, 2) : v.style.borderColor = i.borderColor, i.backColor && (v.style.background = i.backColor, (DayPilot.browser.ie9 || DayPilot.browser.ielt9) && (v.style.filter = "")), i.fontColor && (v.style.color = i.fontColor), v.innerHTML = e.client.html(), c.appendChild(v), e.client.barVisible()) {
2722
+ if (v.setAttribute("unselectable", "on"), v.className = this.u("_event_inner"), "darker" === i.borderColor && i.backColor ? v.style.borderColor = DayPilot.ColorUtil.darker(i.backColor, 2) : v.style.borderColor = i.borderColor, i.backColor && (v.style.background = i.backColor, (DayPilot.browser.ie9 || DayPilot.browser.ielt9) && (v.style.filter = "")), i.fontColor && (v.style.color = i.fontColor), v.innerHTML = e.client.html(), d.appendChild(v), e.client.barVisible()) {
2428
2723
  var u = document.createElement("div");
2429
2724
  u.setAttribute("unselectable", "on"), u.className = this.u("_event_bar"), u.style.position = "absolute";
2430
2725
  var f = document.createElement("div");
2431
- f.setAttribute("unselectable", "on"), f.className = this.u("_event_bar_inner"), f.style.top = "0%", f.style.height = "100%", i.barColor && (f.style.backgroundColor = i.barColor), u.appendChild(f), c.appendChild(u);
2726
+ f.setAttribute("unselectable", "on"), f.className = this.u("_event_bar_inner"), f.style.top = "0%", f.style.height = "100%", i.barColor && (f.style.backgroundColor = i.barColor), u.appendChild(f), d.appendChild(u);
2432
2727
  }
2433
- if ("Disabled" !== n.eventDeleteHandling) {
2728
+ if (e.client.deleteEnabled()) {
2434
2729
  var p = Math.floor(n.eventHeight / 2 - 9), g = document.createElement("div");
2435
- g.style.position = "absolute", g.style.right = "2px", g.style.top = p + "px", g.style.width = "18px", g.style.height = "18px", g.className = n.u("_event_delete"), g.onmousedown = function (t) { t.stopPropagation(); }, g.onclick = function (t) { t.stopPropagation(); var e = this.parentNode.event; e && n.z(e); }, g.style.display = "none", c.deleteIcon = g, c.appendChild(g);
2730
+ g.style.position = "absolute", g.style.right = "2px", g.style.top = p + "px", g.style.width = "18px", g.style.height = "18px", g.className = n.u("_event_delete"), g.onmousedown = function (t) { t.stopPropagation(); }, g.onclick = function (t) { t.stopPropagation(); var e = this.parentNode.event; e && n.A(e); }, g.style.display = "none", d.deleteIcon = g, d.appendChild(g);
2436
2731
  }
2437
- this.elements.events.push(c), this.nav.events.appendChild(c);
2732
+ this.elements.events.push(d), this.nav.events.appendChild(d);
2438
2733
  }, this.lastVisibleDayOfMonth = function () { return this.startDate.lastDayOfMonth(); }, this.c = function () {
2439
2734
  "string" == typeof this.startDate && (this.startDate = new DayPilot.Date(this.startDate)), this.startDate = this.startDate.firstDayOfMonth(), this.firstDate = this.startDate.firstDayOfWeek(this.getWeekStart());
2440
2735
  var t, e = (this.startDate, this.lastVisibleDayOfMonth()), i = DayPilot.DateUtil.daysDiff(this.firstDate, e) + 1;
@@ -2463,7 +2758,7 @@ if ("undefined" == typeof DayPilot)
2463
2758
  for (var t = this.headerHeight, e = 0; e < this.rows.length; e++)
2464
2759
  t += this.rows[e].getHeight();
2465
2760
  return t;
2466
- }, this.getWidth = function (t, e) { return 7 * e.y + e.x - (7 * t.y + t.x) + 1; }, this.getMinCoords = function (t, e) { return 7 * t.y + t.x < 7 * e.y + e.x ? t : e; }, this.u = function (t) { var e = this.theme || this.cssClassPrefix; return e ? e + t : ""; }, this.A = function () {
2761
+ }, this.getWidth = function (t, e) { return 7 * e.y + e.x - (7 * t.y + t.x) + 1; }, this.getMinCoords = function (t, e) { return 7 * t.y + t.x < 7 * e.y + e.x ? t : e; }, this.u = function (t) { var e = this.theme || this.cssClassPrefix; return e ? e + t : ""; }, this.B = function () {
2467
2762
  var e = this.nav.top;
2468
2763
  e.setAttribute("unselectable", "on"), e.style.MozUserSelect = "none", e.style.KhtmlUserSelect = "none", e.style.WebkitUserSelect = "none", e.style.position = "relative", this.width && (e.style.width = this.width), e.style.height = this.getHeight() + "px", e.onselectstart = function (t) { return !1; }, this.hideUntilInit && (e.style.visibility = "hidden"), this.visible || (e.style.display = "none"), e.className = this.u("_main");
2469
2764
  var i = document.createElement("div");
@@ -2497,8 +2792,8 @@ if ("undefined" == typeof DayPilot)
2497
2792
  return;
2498
2793
  var s = n.getCellBelowPoint(i.x, i.y);
2499
2794
  n.clearShadow();
2500
- var d = t.movingEvent.event, c = t.movingEvent.offset, a = n.cellMode ? 1 : DayPilot.DateUtil.daysSpan(d.start(), d.end()) + 1;
2501
- a < 1 && (a = 1), n.drawShadow(s.x, s.y, 0, a, c, d);
2795
+ var c = t.movingEvent.event, d = t.movingEvent.offset, a = n.cellMode ? 1 : DayPilot.DateUtil.daysSpan(c.start(), c.end()) + 1;
2796
+ a < 1 && (a = 1), n.drawShadow(s.x, s.y, 0, a, d, c);
2502
2797
  }
2503
2798
  else if (t.timeRangeSelecting) {
2504
2799
  var i = DayPilot.mo2(n.nav.top, e);
@@ -2544,27 +2839,27 @@ if ("undefined" == typeof DayPilot)
2544
2839
  var a = document.createElement("div");
2545
2840
  a.setAttribute("unselectable", "on"), a.innerHTML = s.locale().dayNames[n], i.appendChild(a), a.style.position = "absolute", a.style.top = "0px", a.style.bottom = "0px", a.style.left = "0px", a.style.right = "0px", a.className = this.u("_header_inner"), a.innerHTML = s.locale().dayNames[n], t.appendChild(i);
2546
2841
  for (var l = 0; l < this.rows.length; l++)
2547
- this.B(e, l, t);
2842
+ this.C(e, l, t);
2548
2843
  }
2549
2844
  }, this.f = function () {
2550
2845
  for (var t = 0; t < this.cells.length; t++)
2551
2846
  for (var e = 0; e < this.cells[t].length; e++)
2552
2847
  this.cells[t][e].onclick = null;
2553
2848
  this.nav.cells.innerHTML = "";
2554
- }, this.C = function () { return 2 === n.api; }, this.B = function (e, i, a) {
2849
+ }, this.D = function () { return 2 === n.api; }, this.C = function (e, i, a) {
2555
2850
  var l = this.rows[i], o = this.firstDate.addDays(7 * i + e), r = document.createElement("div");
2556
2851
  if (r.setAttribute("unselectable", "on"), r.style.position = "absolute", r.style.cursor = "default", r.style.left = this.getCellWidth() * e + "%", r.style.width = this.getCellWidth() + "%", r.style.top = this.getRowTop(i) + "px", r.style.height = l.getHeight() + "px", r.className = this.u("_cell"), !this.isWeekend(o)) {
2557
2852
  var h = this.u("_cell_business");
2558
2853
  DayPilot.Util.addClass(r, h);
2559
2854
  }
2560
- var d = (this.startDate.addMonths(-1).getMonth(), this.startDate.addMonths(1).getMonth(), this.startDate.getMonth(), document.createElement("div"));
2561
- d.setAttribute("unselectable", "on"), r.appendChild(d), d.style.position = "absolute", d.style.left = "0px", d.style.right = "0px", d.style.top = "0px", d.style.bottom = "0px", d.className = this.u("_cell_inner"), r.onmousedown = function (s) { "Disabled" !== n.timeRangeSelectedHandling && (n.clearShadow(), t.timeRangeSelecting = { "root": n, "x": e, "y": i, "from": { x: e, y: i }, "width": 1 }); }, r.onclick = function () {
2562
- var t = function (t) { var e = new DayPilot.Date(t), i = e.addDays(1); n.D(e, i); };
2855
+ var c = (this.startDate.addMonths(-1).getMonth(), this.startDate.addMonths(1).getMonth(), this.startDate.getMonth(), document.createElement("div"));
2856
+ c.setAttribute("unselectable", "on"), r.appendChild(c), c.style.position = "absolute", c.style.left = "0px", c.style.right = "0px", c.style.top = "0px", c.style.bottom = "0px", c.className = this.u("_cell_inner"), r.onmousedown = function (s) { "Disabled" !== n.timeRangeSelectedHandling && (n.clearShadow(), t.timeRangeSelecting = { "root": n, "x": e, "y": i, "from": { x: e, y: i }, "width": 1 }); }, r.onclick = function () {
2857
+ var t = function (t) { var e = new DayPilot.Date(t), i = e.addDays(1); n.E(e, i); };
2563
2858
  if ("Disabled" !== n.timeRangeSelectedHandling)
2564
2859
  return void t(o);
2565
2860
  };
2566
- var c = document.createElement("div");
2567
- c.setAttribute("unselectable", "on"), c.style.height = this.cellHeaderHeight + "px", c.className = this.u("_cell_header"), c.onclick = function (t) {
2861
+ var d = document.createElement("div");
2862
+ d.setAttribute("unselectable", "on"), d.style.height = this.cellHeaderHeight + "px", d.className = this.u("_cell_header"), d.onclick = function (t) {
2568
2863
  if ("Enabled" === n.cellHeaderClickHandling) {
2569
2864
  t.stopPropagation();
2570
2865
  var e = {};
@@ -2572,20 +2867,25 @@ if ("undefined" == typeof DayPilot)
2572
2867
  }
2573
2868
  };
2574
2869
  var v = o.getDay();
2575
- 1 === v ? c.innerHTML = s.locale().monthNames[o.getMonth()] + " " + v : c.innerHTML = v, d.appendChild(c), this.cells[e][i] = r, a.appendChild(r);
2870
+ 1 === v ? d.innerHTML = s.locale().monthNames[o.getMonth()] + " " + v : d.innerHTML = v, c.appendChild(d), this.cells[e][i] = r, a.appendChild(r);
2576
2871
  }, this.getWeekStart = function () { return s.locale().weekStarts; }, this.getColCount = function () { return 7; }, this.getCellWidth = function () { return 14.285; }, this.getRowTop = function (t) {
2577
2872
  for (var e = this.headerHeight, i = 0; i < t; i++)
2578
2873
  e += this.rows[i].getHeight();
2579
2874
  return e;
2580
- }, this.E = function (t, e, i) { var n = {}; n.action = t, n.parameters = i, n.data = e, n.header = this.F(); var s = "JSON" + DayPilot.JSON.stringify(n); this.backendUrl && DayPilot.request(this.backendUrl, this.G, s, this.ajaxError); }, this.G = function (t) { n.a(t.responseText); }, this.F = function () { var t = {}; return t.control = "dpm", t.id = this.id, t.v = this.v, t.visibleStart = new DayPilot.Date(this.firstDate), t.visibleEnd = t.visibleStart.addDays(this.days), t.startDate = n.startDate, t.timeFormat = this.timeFormat, t.weekStarts = this.weekStarts, t; }, this.eventClickCallBack = function (t, e) { this.E("EventClick", e, t); }, this.w = function (e) { t.movingEvent = null, t.resizingEvent = null; var i = this, e = e || window.event; e.ctrlKey; e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(), n.eventClickSingle(i, e); }, this.eventClickSingle = function (t, e) {
2875
+ }, this.F = function (t, e, i) { var n = {}; n.action = t, n.parameters = i, n.data = e, n.header = this.G(); var s = "JSON" + DayPilot.JSON.stringify(n); this.backendUrl && DayPilot.request(this.backendUrl, this.H, s, this.ajaxError); }, this.H = function (t) { n.a(t.responseText); }, this.G = function () { var t = {}; return t.control = "dpm", t.id = this.id, t.v = this.v, t.visibleStart = new DayPilot.Date(this.firstDate), t.visibleEnd = t.visibleStart.addDays(this.days), t.startDate = n.startDate, t.timeFormat = this.timeFormat, t.weekStarts = this.weekStarts, t; }, this.eventClickCallBack = function (t, e) { this.F("EventClick", e, t); }, this.w = function (e) { t.movingEvent = null, t.resizingEvent = null; var i = this, e = e || window.event; e.ctrlKey; e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(), n.eventClickSingle(i, e); }, this.eventClickSingle = function (t, e) {
2581
2876
  var i = t.event;
2582
2877
  if (i.client.clickEnabled())
2583
- if (n.C()) {
2878
+ if (n.D()) {
2584
2879
  var s = {};
2585
2880
  if (s.e = i, s.control = n, s.div = t, s.originalEvent = e, s.meta = e.metaKey, s.ctrl = e.ctrlKey, s.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventClick && (n.j.apply(function () { n.onEventClick(s); }), s.preventDefault.value))
2586
2881
  return;
2587
2882
  switch (n.eventClickHandling) {
2588
- case "CallBack": n.eventClickCallBack(i);
2883
+ case "CallBack":
2884
+ n.eventClickCallBack(i);
2885
+ break;
2886
+ case "ContextMenu":
2887
+ var a = i.client.contextMenu();
2888
+ a ? a.show(i) : n.contextMenu && n.contextMenu.show(i);
2589
2889
  }
2590
2890
  "function" == typeof n.onEventClicked && n.j.apply(function () { n.onEventClicked(s); });
2591
2891
  }
@@ -2596,8 +2896,20 @@ if ("undefined" == typeof DayPilot)
2596
2896
  break;
2597
2897
  case "JavaScript": n.onEventClick(i);
2598
2898
  }
2599
- }, this.z = function (t) {
2600
- if (n.C()) {
2899
+ }, this.z = function () { var t = this; return n.I(t.event), !1; }, this.I = function (t) {
2900
+ if (this.event = t, !t.client.rightClickEnabled())
2901
+ return !1;
2902
+ var e = {};
2903
+ if (e.e = t, e.preventDefault = function () { this.preventDefault.value = !0; }, "function" != typeof n.onEventRightClick || (n.onEventRightClick(e), !e.preventDefault.value)) {
2904
+ switch (n.eventRightClickHandling) {
2905
+ case "ContextMenu":
2906
+ var i = t.client.contextMenu();
2907
+ i ? i.show(t) : n.contextMenu && n.contextMenu.show(this.event);
2908
+ }
2909
+ return "function" == typeof n.onEventRightClicked && n.onEventRightClicked(e), !1;
2910
+ }
2911
+ }, this.A = function (t) {
2912
+ if (n.D()) {
2601
2913
  var e = {};
2602
2914
  if (e.e = t, e.control = n, e.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventDelete && (n.j.apply(function () { n.onEventDelete(e); }), e.preventDefault.value))
2603
2915
  return;
@@ -2622,20 +2934,20 @@ if ("undefined" == typeof DayPilot)
2622
2934
  break;
2623
2935
  case "JavaScript": n.onEventDelete(t);
2624
2936
  }
2625
- }, this.eventDeleteCallBack = function (t, e) { this.E("EventDelete", e, t); }, this.eventDeletePostBack = function (t, e) { this.H("EventDelete", e, t); }, this.eventMoveCallBack = function (t, e, i, n, s) {
2937
+ }, this.eventDeleteCallBack = function (t, e) { this.F("EventDelete", e, t); }, this.eventDeletePostBack = function (t, e) { this.J("EventDelete", e, t); }, this.eventMoveCallBack = function (t, e, i, n, s) {
2626
2938
  if (!e)
2627
2939
  throw "newStart is null";
2628
2940
  if (!i)
2629
2941
  throw "newEnd is null";
2630
2942
  var a = {};
2631
- a.e = t, a.newStart = e, a.newEnd = i, a.position = s, this.E("EventMove", n, a);
2632
- }, this.I = function (t, e, i, s, a, l) {
2943
+ a.e = t, a.newStart = e, a.newEnd = i, a.position = s, this.F("EventMove", n, a);
2944
+ }, this.K = function (t, e, i, s, a, l) {
2633
2945
  var o = t.start().getTimePart(), r = t.end().getDatePart();
2634
2946
  r !== t.end() && (r = r.addDays(1));
2635
- var h = DayPilot.DateUtil.diff(t.end(), r), d = this.getDateFromCell(e, i);
2636
- d = d.addDays(-s);
2637
- var c = DayPilot.DateUtil.daysSpan(t.start(), t.end()) + 1, v = d.addDays(c), u = d.addTime(o), f = v.addTime(h);
2638
- if (n.C()) {
2947
+ var h = DayPilot.DateUtil.diff(t.end(), r), c = this.getDateFromCell(e, i);
2948
+ c = c.addDays(-s);
2949
+ var d = DayPilot.DateUtil.daysSpan(t.start(), t.end()) + 1, v = c.addDays(d), u = c.addTime(o), f = v.addTime(h);
2950
+ if (n.D()) {
2639
2951
  var p = {};
2640
2952
  if (p.e = t, p.control = n, p.newStart = u, p.newEnd = f, p.ctrl = a.ctrlKey, p.shift = a.shiftKey, p.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventMove && (n.j.apply(function () { n.onEventMove(p); }), p.preventDefault.value))
2641
2953
  return;
@@ -2660,32 +2972,32 @@ if ("undefined" == typeof DayPilot)
2660
2972
  if (!i)
2661
2973
  throw "newEnd is null";
2662
2974
  var s = {};
2663
- s.e = t, s.newStart = e, s.newEnd = i, this.E("EventResize", n, s);
2664
- }, this.J = function (t, e, i) {
2975
+ s.e = t, s.newStart = e, s.newEnd = i, this.F("EventResize", n, s);
2976
+ }, this.L = function (t, e, i) {
2665
2977
  var s = t.start().getTimePart(), a = t.end().getDatePart();
2666
2978
  a !== t.end() && (a = a.addDays(1));
2667
- var l = DayPilot.DateUtil.diff(t.end(), a), o = this.getDateFromCell(e.x, e.y), r = o.addDays(i), h = o.addTime(s), d = r.addTime(l);
2668
- if (n.C()) {
2669
- var c = {};
2670
- if (c.e = t, c.control = n, c.newStart = h, c.newEnd = d, c.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventResize && (n.j.apply(function () { n.onEventResize(c); }), c.preventDefault.value))
2979
+ var l = DayPilot.DateUtil.diff(t.end(), a), o = this.getDateFromCell(e.x, e.y), r = o.addDays(i), h = o.addTime(s), c = r.addTime(l);
2980
+ if (n.D()) {
2981
+ var d = {};
2982
+ if (d.e = t, d.control = n, d.newStart = h, d.newEnd = c, d.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventResize && (n.j.apply(function () { n.onEventResize(d); }), d.preventDefault.value))
2671
2983
  return;
2672
2984
  switch (n.eventResizeHandling) {
2673
2985
  case "CallBack":
2674
- n.eventResizeCallBack(t, h, d);
2986
+ n.eventResizeCallBack(t, h, c);
2675
2987
  break;
2676
- case "Update": t.start(h), t.end(d), n.events.update(t);
2988
+ case "Update": t.start(h), t.end(c), n.events.update(t);
2677
2989
  }
2678
- "function" == typeof n.onEventResized && n.j.apply(function () { n.onEventResized(c); });
2990
+ "function" == typeof n.onEventResized && n.j.apply(function () { n.onEventResized(d); });
2679
2991
  }
2680
2992
  else
2681
2993
  switch (n.eventResizeHandling) {
2682
2994
  case "CallBack":
2683
- n.eventResizeCallBack(t, h, d);
2995
+ n.eventResizeCallBack(t, h, c);
2684
2996
  break;
2685
- case "JavaScript": n.onEventResize(t, h, d);
2997
+ case "JavaScript": n.onEventResize(t, h, c);
2686
2998
  }
2687
- }, this.timeRangeSelectedCallBack = function (t, e, i) { var n = {}; n.start = t, n.end = e, this.E("TimeRangeSelected", i, n); }, this.D = function (t, e) {
2688
- if (this.C()) {
2999
+ }, this.timeRangeSelectedCallBack = function (t, e, i) { var n = {}; n.start = t, n.end = e, this.F("TimeRangeSelected", i, n); }, this.E = function (t, e) {
3000
+ if (this.D()) {
2689
3001
  var i = {};
2690
3002
  if (i.control = n, i.start = t, i.end = e, i.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onTimeRangeSelect && (n.j.apply(function () { n.onTimeRangeSelect(i); }), i.preventDefault.value))
2691
3003
  return;
@@ -2701,9 +3013,9 @@ if ("undefined" == typeof DayPilot)
2701
3013
  break;
2702
3014
  case "JavaScript": n.onTimeRangeSelected(t, e);
2703
3015
  }
2704
- }, this.j = {}, this.j.scope = null, this.j.notify = function () { n.j.scope && n.j.scope["$apply"](); }, this.j.apply = function (t) { t(); }, this.clearSelection = function () { n.clearShadow(); }, this.commandCallBack = function (t, e) { var i = {}; i.command = t, this.E("Command", e, i); }, this.isWeekend = function (t) { return t = new DayPilot.Date(t), 0 === t.dayOfWeek() || 6 === t.dayOfWeek(); }, this.K = {}, this.K.locale = function () { var t = DayPilot.Locale.find(n.locale); return t ? t : DayPilot.Locale.US; }, this.K.L = function () { return "Disabled" !== n.xssProtection; };
2705
- var s = this.K;
2706
- this.debug = function (t, e) { this.debuggingEnabled && (n.debugMessages || (n.debugMessages = []), n.debugMessages.push(t), "undefined" != typeof console && console.log(t)); }, this.dispose = function () { var t = n; t.nav.top && (t.b(), t.nav.top.removeAttribute("style"), t.nav.top.removeAttribute("class"), t.nav.top.innerHTML = "", t.nav.top.dp = null, t.nav.top.onmousemove = null, t.nav.top = null); }, this.M = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp)); }, this.loadFromServer = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof n.events.list || !n.events.list); }, this.m = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { n.visible = !0, n.nav.top.style.display = ""; }, this.hide = function () { n.visible = !1, n.nav.top.style.display = "none"; }, this.N = function () {
3016
+ }, this.j = {}, this.j.scope = null, this.j.notify = function () { n.j.scope && n.j.scope["$apply"](); }, this.j.apply = function (t) { t(); }, this.clearSelection = function () { n.clearShadow(); }, this.commandCallBack = function (t, e) { var i = {}; i.command = t, this.F("Command", e, i); }, this.isWeekend = function (t) { return t = new DayPilot.Date(t), 0 === t.dayOfWeek() || 6 === t.dayOfWeek(); }, this.M = {}, this.M.locale = function () { var t = DayPilot.Locale.find(n.locale); return t ? t : DayPilot.Locale.US; }, this.M.N = function () { return "Disabled" !== n.xssProtection; };
3017
+ var s = this.M;
3018
+ this.debug = function (t, e) { this.debuggingEnabled && (n.debugMessages || (n.debugMessages = []), n.debugMessages.push(t), "undefined" != typeof console && console.log(t)); }, this.dispose = function () { var t = n; t.nav.top && (t.b(), t.nav.top.removeAttribute("style"), t.nav.top.removeAttribute("class"), t.nav.top.innerHTML = "", t.nav.top.dp = null, t.nav.top.onmousemove = null, t.nav.top = null); }, this.O = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp)); }, this.loadFromServer = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof n.events.list || !n.events.list); }, this.m = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { n.visible = !0, n.nav.top.style.display = ""; }, this.hide = function () { n.visible = !1, n.nav.top.style.display = "none"; }, this.P = function () {
2707
3019
  if (this.id && this.id.tagName)
2708
3020
  this.nav.top = this.id;
2709
3021
  else {
@@ -2712,7 +3024,7 @@ if ("undefined" == typeof DayPilot)
2712
3024
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
2713
3025
  throw "DayPilot.Month: The placeholder element not found: '" + id + "'.";
2714
3026
  }
2715
- }, this.O = function () { this.c(), this.A(), this.g(), this.M(), this.E("Init"); }, this.P = function (t, e) { return n.K.L() ? DayPilot.Util.escapeTextHtml(t, e) : DayPilot.Util.isNullOrUndefined(e) ? DayPilot.Util.isNullOrUndefined(t) ? "" : t : e; }, this.internal = {}, this.internal.loadOptions = this.l, this.internal.xssTextHtml = n.P, this.init = function () { return this.N(), this.loadFromServer() ? void this.O() : (this.c(), this.d(), this.A(), this.g(), this.m(), this.i(), this.M(), this.messageHTML && this.message(this.messageHTML), this.fireAfterRenderDetached(null, !1), void (this.k = !0)); }, this.Init = this.init, Object.defineProperty(this, "durationBarVisible", { get: function () { return n.eventBarVisible; } }), this.l(i);
3027
+ }, this.Q = function () { this.c(), this.B(), this.g(), this.O(), this.F("Init"); }, this.R = function (t, e) { return n.M.N() ? DayPilot.Util.escapeTextHtml(t, e) : DayPilot.Util.isNullOrUndefined(e) ? DayPilot.Util.isNullOrUndefined(t) ? "" : t : e; }, this.internal = {}, this.internal.loadOptions = this.l, this.internal.xssTextHtml = n.R, this.init = function () { return this.P(), this.loadFromServer() ? void this.Q() : (this.c(), this.d(), this.B(), this.g(), this.m(), this.i(), this.O(), this.fireAfterRenderDetached(null, !1), this.k = !0, this); }, this.Init = this.init, Object.defineProperty(this, "durationBarVisible", { get: function () { return n.eventBarVisible; } }), this.l(i);
2716
3028
  }, t.gMouseUp = function (e) {
2717
3029
  if (t.movingEvent) {
2718
3030
  var i = t.movingEvent;
@@ -2727,7 +3039,7 @@ if ("undefined" == typeof DayPilot)
2727
3039
  var n = t.movingEvent.event.calendar, s = t.movingEvent.event, a = n.shadow.start, l = n.shadow.position, o = t.movingEvent.offset;
2728
3040
  n.clearShadow(), t.movingEvent = null;
2729
3041
  var e = e || window.event;
2730
- return n.I(s, a.x, a.y, o, e, l), e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(), t.movingEvent = null, !1;
3042
+ return n.K(s, a.x, a.y, o, e, l), e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(), t.movingEvent = null, !1;
2731
3043
  }
2732
3044
  if (t.resizingEvent) {
2733
3045
  var i = t.resizingEvent;
@@ -2740,12 +3052,12 @@ if ("undefined" == typeof DayPilot)
2740
3052
  if (!i.event.calendar.shadow.start)
2741
3053
  return;
2742
3054
  var n = t.resizingEvent.event.calendar, s = t.resizingEvent.event, a = n.shadow.start, r = n.shadow.width;
2743
- return n.clearShadow(), t.resizingEvent = null, n.J(s, a, r), e.cancelBubble = !0, t.resizingEvent = null, !1;
3055
+ return n.clearShadow(), t.resizingEvent = null, n.L(s, a, r), e.cancelBubble = !0, t.resizingEvent = null, !1;
2744
3056
  }
2745
3057
  if (t.timeRangeSelecting) {
2746
3058
  if (t.timeRangeSelecting.moved) {
2747
- var h = t.timeRangeSelecting, n = h.root, a = new DayPilot.Date(n.getDateFromCell(h.from.x, h.from.y)), d = a.addDays(h.width);
2748
- n.D(a, d), n.clearShadow();
3059
+ var h = t.timeRangeSelecting, n = h.root, a = new DayPilot.Date(n.getDateFromCell(h.from.x, h.from.y)), c = a.addDays(h.width);
3060
+ n.E(a, c), n.clearShadow();
2749
3061
  }
2750
3062
  t.timeRangeSelecting = null;
2751
3063
  }
@@ -2776,12 +3088,12 @@ if ("undefined" == typeof DayPilot)
2776
3088
  }
2777
3089
  for (var o in n)
2778
3090
  0 === o.indexOf("on") && !function (i) { s[i] = function (s) { var a = t(n[i]); e["$apply"](function () { a(e, { "args": s }); }); }; }(o);
2779
- var r = e["$watch"], h = n["config"] || n["daypilotConfig"], d = n["events"] || n["daypilotEvents"];
3091
+ var r = e["$watch"], h = n["config"] || n["daypilotConfig"], c = n["events"] || n["daypilotEvents"];
2780
3092
  r.call(e, h, function (t) {
2781
3093
  for (var e in t)
2782
3094
  s[e] = t[e];
2783
3095
  s.update();
2784
- }, !0), r.call(e, d, function (t) { s.events.list = t, s.update(); }, !0);
3096
+ }, !0), r.call(e, c, function (t) { s.events.list = t, s.update(); }, !0);
2785
3097
  } };
2786
3098
  }]);
2787
3099
  }(), "undefined" != typeof Sys && Sys.Application && Sys.Application.notifyScriptLoaded && Sys.Application.notifyScriptLoaded();
@@ -2792,7 +3104,7 @@ if ("undefined" == typeof DayPilot)
2792
3104
  "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function () {
2793
3105
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.nav) {
2794
3106
  DayPilot.Navigator = function (t, e) {
2795
- this.v = "2022.3.398-lite";
3107
+ this.v = "2022.3.432-lite";
2796
3108
  var i = this;
2797
3109
  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.showWeekNumbers = !1, 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.nav = {}, this.a = {}, this.b = function () { this.root.dp = this, this.root.className = this.c("_main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * a.cellWidth() + this.d()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * a.cellWidth() + this.d() + "px", this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var t = document.createElement("input"); t.type = "hidden", t.name = i.id + "_state", t.id = t.name, this.root.appendChild(t), this.state = t, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.e = function () { return 2 === i.api; }, this.f = function () { this.root.innerHTML = ""; }, this.c = function (t) { var e = this.theme || this.cssClassPrefix; return e ? e + t : ""; }, this.g = function (t, e) { var i = this.c("_" + e); DayPilot.Util.addClass(t, i); }, this.h = function (t, e) { var i = this.c("_" + e); DayPilot.Util.removeClass(t, i); }, this.i = function (t, e) {
2798
3110
  var s = {};