@daypilot/daypilot-lite-angular 3.18.0 → 3.19.0

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.
@@ -130,7 +130,7 @@ DayPilot Lite
130
130
  Copyright (c) 2005 - 2023 Annpoint s.r.o.
131
131
  https://www.daypilot.org/
132
132
  Licensed under Apache Software License 2.0
133
- Version: 2023.3.499-lite
133
+ Version: 2023.4.504-lite
134
134
  */
135
135
  if ("undefined" == typeof DayPilot)
136
136
  var DayPilot = {};
@@ -646,7 +646,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
646
646
  if (this instanceof t.Calendar && !this.M && (a = !0, this.M = !0), !a)
647
647
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
648
648
  var n = this;
649
- this.uniqueID = null, this.isCalendar = !0, this.v = "2023.3.499-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.eventsLoadMethod = "GET", this.headerDateFormat = null, this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelHtml = null, this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.locale = "en-us", this.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.N(); }, this.N = function () { DayPilot.de(n.elements.selection), n.elements.selection = [], n.nav.activeSelection = null; }, this.O = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.cleanSelection = this.clearSelection, this.P = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); __doPostBack(n.uniqueID, o); }, this.R = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { n.loadingStart(); }, 100); var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.S, o, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, o, this.T, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = n; clearInterval(e.U), e.V(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.W(), e.X(), 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.Y = function () { this.nav.top.dispose = this.dispose; }, this.S = function (e) { n.T(e.responseText); }, this.Q = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = n.days, e.startDate = n.startDate, e.heightSpec = n.heightSpec, e.businessBeginsHour = n.businessBeginsHour, e.businessEndsHour = n.businessEndsHour, e.hashes = n.hashes, e.timeFormat = n.timeFormat, e.viewType = n.viewType, e.locale = n.locale, e; }, this.Z = function (e, t) { for (var i = e.parentNode; i && "TD" !== i.tagName;)
649
+ this.uniqueID = null, this.isCalendar = !0, this.v = "2023.4.504-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.eventsLoadMethod = "GET", this.headerDateFormat = null, this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelHtml = null, this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.locale = "en-us", this.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.N(); }, this.N = function () { DayPilot.de(n.elements.selection), n.elements.selection = [], n.nav.activeSelection = null; }, this.O = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.cleanSelection = this.clearSelection, this.P = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); __doPostBack(n.uniqueID, o); }, this.R = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { n.loadingStart(); }, 100); var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.S, o, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, o, this.T, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = n; clearInterval(e.U), e.V(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.W(), e.X(), 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.Y = function () { this.nav.top.dispose = this.dispose; }, this.S = function (e) { n.T(e.responseText); }, this.Q = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = n.days, e.startDate = n.startDate, e.heightSpec = n.heightSpec, e.businessBeginsHour = n.businessBeginsHour, e.businessEndsHour = n.businessEndsHour, e.hashes = n.hashes, e.timeFormat = n.timeFormat, e.viewType = n.viewType, e.locale = n.locale, e; }, this.Z = function (e, t) { for (var i = e.parentNode; i && "TD" !== i.tagName;)
650
650
  i = i.parentNode; var a = document.createElement("div"); a.setAttribute("unselectable", "on"), a.style.position = "absolute", a.style.width = e.offsetWidth + "px", a.style.height = e.offsetHeight + "px", a.style.left = e.offsetLeft + "px", a.style.top = e.offsetTop + "px", a.style.boxSizing = "border-box", a.style.zIndex = 101, a.className = n.J("_shadow"); var o = document.createElement("div"); return o.className = n.J("_shadow_inner"), a.appendChild(o), i.firstChild.appendChild(a), a; }, this._ = {}, this._.locale = function () { var e = DayPilot.Locale.find(n.locale); return e ? e : DayPilot.Locale.US; }, this._.timeFormat = function () {
651
651
  return "Auto" !== n.timeFormat ? n.timeFormat : this.locale().timeFormat;
652
652
  }, this._.aa = function () { return "Disabled" !== n.xssProtection; };
@@ -1045,7 +1045,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1045
1045
  if ("object" != typeof e)
1046
1046
  throw "DayPilot.Calendar.events.add() expects an object or DayPilot.Event instance.";
1047
1047
  t = e;
1048
- } n.events.list || (n.events.list = []), n.events.list.push(t), n.update(), n.qa.notify(); }, this.events.find = function (e) { if (!n.events.list)
1048
+ } n.events.list || (n.events.list = []), n.events.list.push(t), n.Za({ "eventsOnly": !0 }), n.qa.notify(); }, this.events.find = function (e) { if (!n.events.list)
1049
1049
  return null; if ("function" == typeof e) {
1050
1050
  for (var t = e, i = 0; i < n.events.list.length; i++) {
1051
1051
  var a = new DayPilot.Event(n.events.list[i], n);
@@ -1065,7 +1065,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1065
1065
  var i = DayPilot.indexOf(n.events.list, t.data);
1066
1066
  n.events.list.splice(i, 1, e);
1067
1067
  }
1068
- } n.update(), n.qa.notify(); }, this.events.remove = function (e) { var t; if (e instanceof DayPilot.Event)
1068
+ } n.Za({ "eventsOnly": !0 }), n.qa.notify(); }, this.events.remove = function (e) { var t; if (e instanceof DayPilot.Event)
1069
1069
  t = e.data;
1070
1070
  else if ("object" == typeof e) {
1071
1071
  var i = n.events.find(e.id);
@@ -1074,7 +1074,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1074
1074
  else if ("string" == typeof e || "number" == typeof e) {
1075
1075
  var i = n.events.find(e);
1076
1076
  i && (t = i.data);
1077
- } var a = DayPilot.indexOf(n.events.list, t); n.events.list.splice(a, 1), n.update(), n.qa.notify(); }, this.events.load = function (e, t, i) { var a = function (e) { var t = {}; t.exception = e.exception, t.request = e.request, "function" == typeof i && i(t); }, o = function (e) { var i, o = e.request; try {
1077
+ } var a = DayPilot.indexOf(n.events.list, t); n.events.list.splice(a, 1), n.Za({ "eventsOnly": !0 }), n.qa.notify(); }, this.events.load = function (e, t, i) { var a = function (e) { var t = {}; t.exception = e.exception, t.request = e.request, "function" == typeof i && i(t); }, o = function (e) { var i, o = e.request; try {
1078
1078
  i = JSON.parse(o.responseText);
1079
1079
  }
1080
1080
  catch (e) {
@@ -1084,24 +1084,24 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1084
1084
  var s = {};
1085
1085
  if (s.preventDefault = function () { this.preventDefault.value = !0; }, s.data = i, "function" == typeof t && t(s), s.preventDefault.value)
1086
1086
  return;
1087
- n.events.list = i, n.za && n.update();
1087
+ n.events.list = i, n.za && n.Za({ "eventsOnly": !0 });
1088
1088
  } }; if (n.eventsLoadMethod && "POST" === n.eventsLoadMethod.toUpperCase())
1089
1089
  DayPilot.Http.ajax({ "method": "POST", "data": { "start": n.visibleStart().toString(), "end": n.visibleEnd().toString() }, "url": e, "success": o, "error": a });
1090
1090
  else {
1091
1091
  var r = e, s = "start=" + n.visibleStart().toString() + "&end=" + n.visibleEnd().toString();
1092
1092
  r += r.indexOf("?") > -1 ? "&" + s : "?" + s, DayPilot.Http.ajax({ "method": "GET", "url": r, "success": o, "error": a });
1093
- } }, this.Za = function () { if (n.nav.top.className !== n.J("_main")) {
1093
+ } }, this.$a = function () { if (n.nav.top.className !== n.J("_main")) {
1094
1094
  n.nav.top.className = n.J("_main");
1095
1095
  var e = n.nav.corner;
1096
1096
  e.className = n.J("_corner"), e.firstChild.className = n.J("_corner_inner");
1097
1097
  var t = n.nav.cornerRight;
1098
1098
  t && (t.className = n.J("_cornerright"), t.firstChild.className = n.J("_cornerright_inner"));
1099
- } }, this.update = function (e) { if (n.$a(e), this.za) {
1100
- n._a(), n.V(), n.nav.top.style.cursor = "auto";
1101
- n.ba(), n.ea(), n.fa(), n.ga(), n.ha(), n.Na(), n.Za(), n.ab(), n.ca(), n.da(), n.s(), n.ia(), n.clearSelection(), this.visible ? this.show() : this.hide();
1102
- } }, this.bb = null, this.$a = function (e) { if (e) {
1099
+ } }, this.update = function (e) { n._a(e), n.Za(); }, this.Za = function (e) { if (this.za) {
1100
+ var e = e || {}, t = !e.eventsOnly;
1101
+ n.ab(), n.V(), n.nav.top.style.cursor = "auto", t && (n.ba(), n.ea(), n.fa(), n.ga(), n.ha(), n.Na(), n.$a(), n.bb()), n.ca(), n.da(), n.s(), n.ia(), n.clearSelection(), this.visible ? this.show() : this.hide();
1102
+ } }, this.cb = null, this._a = function (e) { if (e) {
1103
1103
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? n.events.list = e.list : n.events.list = e; } }, "columns": { "preInit": function () { n.columns.list = this.data; } } };
1104
- this.bb = t;
1104
+ this.cb = t;
1105
1105
  for (var i in e)
1106
1106
  if (t[i]) {
1107
1107
  var a = t[i];
@@ -1109,21 +1109,21 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1109
1109
  }
1110
1110
  else
1111
1111
  n[i] = e[i];
1112
- } }, this.cb = function () { var e = this.bb; for (var t in e) {
1112
+ } }, this.db = function () { var e = this.cb; for (var t in e) {
1113
1113
  var i = e[t];
1114
1114
  i.postInit && i.postInit();
1115
- } }, this.db = function () { if (this.id && this.id.tagName)
1115
+ } }, this.eb = function () { if (this.id && this.id.tagName)
1116
1116
  this.nav.top = this.id;
1117
1117
  else {
1118
1118
  if ("string" != typeof this.id)
1119
1119
  throw "DayPilot.Calendar() constructor requires the target element or its ID as a parameter";
1120
1120
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
1121
1121
  throw "DayPilot.Calendar: The placeholder element not found: '" + e + "'.";
1122
- } }, this.eb = {}, this.eb.events = [], this.fb = function (e) { var t = this.eb.events, i = this.events.list[e], a = {}; for (var o in i)
1122
+ } }, this.fb = {}, this.fb.events = [], this.gb = function (e) { var t = this.fb.events, i = this.events.list[e], a = {}; for (var o in i)
1123
1123
  a[o] = i[o]; if ("function" == typeof this.onBeforeEventRender) {
1124
1124
  var r = {};
1125
1125
  r.control = n, r.data = a, this.onBeforeEventRender(r);
1126
- } t[e] = a; }, this.ca = function () { var e = this.events.list; if (n.eb.events = [], e) {
1126
+ } t[e] = a; }, this.ca = function () { var e = this.events.list; if (n.fb.events = [], e) {
1127
1127
  if (!DayPilot.isArray(e))
1128
1128
  throw new DayPilot.Exception("DayPilot.Calendar.events.list expects an array object. You supplied: " + typeof e);
1129
1129
  var t = e.length, i = 864e5;
@@ -1144,7 +1144,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1144
1144
  }
1145
1145
  if ("function" == typeof this.onBeforeEventRender)
1146
1146
  for (var o = 0; o < t; o++)
1147
- this.fb(o);
1147
+ this.gb(o);
1148
1148
  for (var o = 0; o < this.ta.length; o++) {
1149
1149
  var l = {};
1150
1150
  l.minEnd = 1e6, l.maxStart = -1, this.scrollLabels.push(l);
@@ -1164,43 +1164,43 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1164
1164
  var _ = w.boxBottom;
1165
1165
  D.part.top = Math.floor(C / this.cellHeight) * this.cellHeight + 1, D.part.height = Math.max(Math.ceil(_ / this.cellHeight) * this.cellHeight - D.part.top, this.cellHeight - 1) + 1, D.part.barTop = Math.max(C - D.part.top - 1, 0), D.part.barHeight = Math.max(P - C - 2, 1);
1166
1166
  var p = D.part.top, v = D.part.top + D.part.height;
1167
- p > l.maxStart && (l.maxStart = p), v < l.minEnd && (l.minEnd = v), p < this.minStart && (this.minStart = p), v > this.maxEnd && (this.maxEnd = v), d.events.push(D), "function" == typeof this.onBeforeEventRender && (D.cache = this.eb.events[m]), D.part.start.getTime() === y && D.part.end.getTime() === g && (a[m] = !0);
1167
+ p > l.maxStart && (l.maxStart = p), v < l.minEnd && (l.minEnd = v), p < this.minStart && (this.minStart = p), v > this.maxEnd && (this.maxEnd = v), d.events.push(D), "function" == typeof this.onBeforeEventRender && (D.cache = this.fb.events[m]), D.part.start.getTime() === y && D.part.end.getTime() === g && (a[m] = !0);
1168
1168
  }
1169
1169
  }
1170
1170
  }
1171
1171
  }
1172
1172
  for (var o = 0; o < this.ta.length; o++) {
1173
1173
  var d = this.ta[o];
1174
- d.events.sort(this.gb);
1174
+ d.events.sort(this.hb);
1175
1175
  for (var m = 0; m < d.events.length; m++) {
1176
1176
  var r = d.events[m];
1177
1177
  d.putIntoBlock(r);
1178
1178
  }
1179
1179
  for (var m = 0; m < d.blocks.length; m++) {
1180
1180
  var k = d.blocks[m];
1181
- k.events.sort(this.gb);
1181
+ k.events.sort(this.hb);
1182
1182
  for (var S = 0; S < k.events.length; S++) {
1183
1183
  var r = k.events[S];
1184
1184
  k.putIntoLine(r);
1185
1185
  }
1186
1186
  }
1187
1187
  }
1188
- } }, this.gb = function (e, t) { if (!(e && t && e.start && t.start))
1188
+ } }, this.hb = function (e, t) { if (!(e && t && e.start && t.start))
1189
1189
  return 0; var i = e.start().getTime() - t.start().getTime(); return 0 !== i ? i : t.end().getTime() - e.end().getTime(); }, this.debug = function (e, t) { this.debuggingEnabled && (n.debugMessages || (n.debugMessages = []), n.debugMessages.push(e), "undefined" != typeof console && console.log(e)); }, this.getPixels = function (e, t) { t || (t = this.startDate); var i = t.getTime(), a = e.getTime(), n = this.cache.pixels[a + "_" + i]; if (n)
1190
- return n; i = t.getTime(); var o = 18e5, r = a - i, s = r % o, l = r - s, d = l + o; 0 === s && (d = l); var c = {}; return c.cut = !1, c.top = this.hb(r), c.boxTop = this.hb(l), c.boxBottom = this.hb(d), this.cache.pixels[a + "_" + i] = c, c; }, this.hb = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this._a = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.da = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.ha = function () { var e = this.Fa(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.qa = {}, this.qa.scope = null, this.qa.notify = function () { n.qa.scope && n.qa.scope["$apply"](); }, this.qa.apply = function (e) { e(); }, this.Va = function () { if (n.nav.scroll) {
1190
+ return n; i = t.getTime(); var o = 18e5, r = a - i, s = r % o, l = r - s, d = l + o; 0 === s && (d = l); var c = {}; return c.cut = !1, c.top = this.ib(r), c.boxTop = this.ib(l), c.boxBottom = this.ib(d), this.cache.pixels[a + "_" + i] = c, c; }, this.ib = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.ab = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.da = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.ha = function () { var e = this.Fa(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.qa = {}, this.qa.scope = null, this.qa.notify = function () { n.qa.scope && n.qa.scope["$apply"](); }, this.qa.apply = function (e) { e(); }, this.Va = function () { if (n.nav.scroll) {
1191
1191
  var e = n.nav.scroll.scrollTop, t = e / (2 * n.cellHeight);
1192
1192
  n.Wa.scrollHour = t;
1193
- } }, this.ab = function () { var e = 0; n.Wa.scrollHour ? e = 2 * n.cellHeight * n.Wa.scrollHour : "Auto" === n.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), n.nav.scroll.scrollTop = e; }, this.ib = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof n.events.list || !n.events.list); }, this.s = 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.jb = function () { this._a(), this.ba(), this.Ea(), this.ea(), this.fa(), this.Xa(), this.Ua(), this.Ya(), t.register(this), this.kb(), this.R("Init"); }, this.Wa = {}, this.lb = function () { this.Wa.themes = [], this.Wa.themes.push(this.theme || this.cssClassPrefix); }, this.mb = function () { for (var e = this.Wa.themes, t = 0; t < e.length; t++) {
1193
+ } }, this.bb = function () { var e = 0; "number" == typeof n.Wa.scrollHour ? e = 2 * n.cellHeight * n.Wa.scrollHour : "Auto" === n.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), n.nav.scroll.scrollTop = e; }, this.jb = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof n.events.list || !n.events.list); }, this.s = 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.kb = function () { this.ab(), this.ba(), this.Ea(), this.ea(), this.fa(), this.Xa(), this.Ua(), this.Ya(), t.register(this), this.lb(), this.R("Init"); }, this.Wa = {}, this.mb = function () { this.Wa.themes = [], this.Wa.themes.push(this.theme || this.cssClassPrefix); }, this.nb = function () { for (var e = this.Wa.themes, t = 0; t < e.length; t++) {
1194
1194
  var i = e[t];
1195
1195
  DayPilot.Util.removeClass(this.nav.top, i + "_main");
1196
- } this.Wa.themes = []; }, this.nb = function () { if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
1196
+ } this.Wa.themes = []; }, this.ob = function () { if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
1197
1197
  var e = {};
1198
1198
  e.isCallBack = !1, this.onAfterRender(e);
1199
- } }, this.ob = function () { if ("function" == typeof this.onInit && !this.pb) {
1200
- this.pb = !0;
1199
+ } }, this.pb = function () { if ("function" == typeof this.onInit && !this.qb) {
1200
+ this.qb = !0;
1201
1201
  var e = {};
1202
1202
  this.onInit(e);
1203
- } }, this.qb = function () { var e = n.nav.top; return !!e && (e.offsetWidth > 0 && e.offsetHeight > 0); }, this.kb = function () { var e = n.qb; e() || (n.U = setInterval(function () { e() && (n.Ua(), n.Xa(), clearInterval(n.U)); }, 100)); }, this.Ia = function (e, t) { return n._.aa() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = n.$a, this.internal.xssTextHtml = n.Ia, this.init = function () { this.db(); var e = this.ib(); return this.lb(), e ? void this.jb() : (this._a(), this.ba(), this.ca(), this.Ea(), this.ea(), this.fa(), this.s(), this.Xa(), this.Ua(), this.Ya(), t.register(this), this.events && (this.da(), this.ia()), this.nb(), this.ob(), this.kb(), this.za = !0, this); }, this.Init = this.init, this.$a(i);
1203
+ } }, this.rb = function () { var e = n.nav.top; return !!e && (e.offsetWidth > 0 && e.offsetHeight > 0); }, this.lb = function () { var e = n.rb; e() || (n.U = setInterval(function () { e() && (n.Ua(), n.Xa(), clearInterval(n.U)); }, 100)); }, this.Ia = function (e, t) { return n._.aa() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = n._a, this.internal.xssTextHtml = n.Ia, this.init = function () { this.eb(); var e = this.jb(); return this.mb(), e ? void this.kb() : (this.ab(), this.ba(), this.ca(), this.Ea(), this.ea(), this.fa(), this.s(), this.Xa(), this.Ua(), this.Ya(), t.register(this), this.events && (this.da(), this.ia()), this.ob(), this.pb(), this.lb(), this.za = !0, this); }, this.Init = this.init, this._a(i);
1204
1204
  }, 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) { e.fn.daypilotCalendar = function (e) { var t = null, i = this.each(function () { if (!this.daypilot) {
1205
1205
  var i = new DayPilot.Calendar(this.id);
1206
1206
  this.daypilot = i;
@@ -1211,41 +1211,41 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1211
1211
  (0, e(r).assign)(t, n);
1212
1212
  } for (var s in a)
1213
1213
  0 === s.indexOf("on") && !function (i) { n[i] = function (n) { var o = e(a[i]); t["$apply"](function () { o(t, { "args": n }); }); }; }(s); var l = t["$watch"], d = a["config"] || a["daypilotConfig"], c = a["events"] || a["daypilotEvents"]; l.call(t, d, function (e) { for (var t in e)
1214
- n[t] = e[t]; n.update(), n.ob(); }, !0), l.call(t, c, function (e) { n.events.list = e, n.update(); }, !0); } }; }]); }();
1214
+ n[t] = e[t]; n.update(), n.pb(); }, !0), l.call(t, c, function (e) { n.events.list = e, n.update(); }, !0); } }; }]); }();
1215
1215
  }
1216
1216
  }(), "undefined" == typeof DayPilot)
1217
1217
  var DayPilot = {};
1218
- if (function () { "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (e) { this.v = "2023.3.499-lite"; var t = "navigator_" + (new Date).getTime(), i = this; this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () { if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this._.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, e)
1218
+ if (function () { "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (e) { this.v = "2023.4.504-lite"; var t = "navigator_" + (new Date).getTime(), i = this; this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () { if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this._.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, e)
1219
1219
  for (var t in e)
1220
- this[t] = e[t]; }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.rb(); this.resetTarget && !e ? this.sb(this.date) : this.resetTarget || (i.date = e); var t = this.B(); return t && t.addEventListener("input", function () { i.date = i.rb(), i.date && i.navigator.select(i.date, { dontNotify: !0 }); }), document.addEventListener("mousedown", function () { i.close(); }), this; }, this.close = function () { this.qb && (this.qb = !1, this.navigator && this.navigator.dispose(), this.div.innerHTML = "", this.div && this.div.parentNode === document.body && document.body.removeChild(this.div)); }, this.setDate = function (e) { this.date = new DayPilot.Date(e), this.sb(this.date); }, this.rb = function () { var e = this.B(); if (!e)
1220
+ this[t] = e[t]; }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.sb(); this.resetTarget && !e ? this.tb(this.date) : this.resetTarget || (i.date = e); var t = this.B(); return t && t.addEventListener("input", function () { i.date = i.sb(), i.date && i.navigator.select(i.date, { dontNotify: !0 }); }), document.addEventListener("mousedown", function () { i.close(); }), this; }, this.close = function () { this.rb && (this.rb = !1, this.navigator && this.navigator.dispose(), this.div.innerHTML = "", this.div && this.div.parentNode === document.body && document.body.removeChild(this.div)); }, this.setDate = function (e) { this.date = new DayPilot.Date(e), this.tb(this.date); }, this.sb = function () { var e = this.B(); if (!e)
1221
1221
  return this.date; var t = null; if (t = "INPUT" === e.tagName ? e.value : e.innerText, !t)
1222
1222
  return null; for (var a = DayPilot.Date.parse(t, i.pattern), n = 0; n < i.patterns.length; n++) {
1223
1223
  if (a)
1224
1224
  return a;
1225
1225
  a = DayPilot.Date.parse(t, i.patterns[n]);
1226
- } return a; }, this.sb = function (e) { var t = this.B(); if (t) {
1226
+ } return a; }, this.tb = function (e) { var t = this.B(); if (t) {
1227
1227
  var a = e.toString(i.pattern, i.locale);
1228
1228
  "INPUT" === t.tagName ? t.value = a : t.innerHTML = a;
1229
- } }, this._ = {}, this._.locale = function () { return DayPilot.Locale.find(i.locale); }, this.B = function () { var e = this.target; return e && e.nodeType && 1 === e.nodeType ? e : document.getElementById(e); }, Object.defineProperty(this, "visible", { get: function () { return i.qb; } }), this.show = function () { if (!this.qb) {
1229
+ } }, this._ = {}, this._.locale = function () { return DayPilot.Locale.find(i.locale); }, this.B = function () { var e = this.target; return e && e.nodeType && 1 === e.nodeType ? e : document.getElementById(e); }, Object.defineProperty(this, "visible", { get: function () { return i.rb; } }), this.show = function () { if (!this.rb) {
1230
1230
  var e = this.B(), a = this.navigator, a = new DayPilot.Navigator(t);
1231
- a.api = 2, a.cssOnly = !0, a.theme = i.theme, a.weekStarts = "Auto", a.locale = i.locale, a.onTimeRangeSelected = function (e) { i.date = e.start; var t = e.start.addTime(a.tb), n = t.toString(i.pattern, i.locale), e = {}; e.start = t, e.date = t, e.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof i.onTimeRangeSelect && (i.onTimeRangeSelect(e), e.preventDefault.value) || (i.sb(n), i.close(), "function" == typeof i.onTimeRangeSelected && i.onTimeRangeSelected(e)); }, this.navigator = a;
1231
+ a.api = 2, a.cssOnly = !0, a.theme = i.theme, a.weekStarts = "Auto", a.locale = i.locale, a.onTimeRangeSelected = function (e) { i.date = e.start; var t = e.start.addTime(a.ub), n = t.toString(i.pattern, i.locale), e = {}; e.start = t, e.date = t, e.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof i.onTimeRangeSelect && (i.onTimeRangeSelect(e), e.preventDefault.value) || (i.tb(n), i.close(), "function" == typeof i.onTimeRangeSelected && i.onTimeRangeSelected(e)); }, this.navigator = a;
1232
1232
  var n = DayPilot.abs(e), o = e.offsetHeight, r = i.targetAlignment, s = document.createElement("div");
1233
1233
  s.style.position = "absolute", "left" === r && (s.style.left = n.x + "px"), s.style.top = n.y + o + "px", i.zIndex && (s.style.zIndex = i.zIndex);
1234
1234
  var l = document.createElement("div");
1235
1235
  l.id = t, s.appendChild(l), s.addEventListener("mousedown", function (e) { var e = e || window.event; e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(); }), document.body.appendChild(s), this.div = s;
1236
- var d = i.rb() || (new DayPilot.Date).getDatePart();
1237
- if (a.startDate = d, a.tb = d.getTimePart(), a.selectionDay = d.getDatePart(), a.init(), "right" === r) {
1236
+ var d = i.sb() || (new DayPilot.Date).getDatePart();
1237
+ if (a.startDate = d, a.ub = d.getTimePart(), a.selectionDay = d.getDatePart(), a.init(), "right" === r) {
1238
1238
  var c = n.x + e.offsetWidth - a.nav.top.offsetWidth;
1239
1239
  s.style.left = c + "px";
1240
1240
  }
1241
- this.qb = !0, this.onShow && this.onShow();
1241
+ this.rb = !0, this.onShow && this.onShow();
1242
1242
  } }, this.prepare(), this.init(); }); }(), "undefined" == typeof DayPilot)
1243
1243
  var DayPilot = {};
1244
1244
  if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (DayPilot) {
1245
1245
  "use strict";
1246
1246
  if ("undefined" == typeof DayPilot.Menu || !DayPilot.Menu.def) {
1247
1247
  var e = function () { }, t = {};
1248
- t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (i) { var a = this, n = null; this.v = "2023.3.499-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.ub = function () { }, i && DayPilot.isArray(i) && (this.items = i), this.toJSON = function () { return null; }, this.show = function (i, o) { o = o || {}; var r = null; if (i ? "string" == typeof i.id || "number" == typeof i.id ? r = i.id : "function" == typeof i.id ? r = i.id() : "function" == typeof i.value && (r = i.value()) : r = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), o.submenu || t.menuClean(), this.ub.submenu = null, null !== t.mouse) {
1248
+ t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (i) { var a = this, n = null; this.v = "2023.4.504-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.vb = function () { }, i && DayPilot.isArray(i) && (this.items = i), this.toJSON = function () { return null; }, this.show = function (i, o) { o = o || {}; var r = null; if (i ? "string" == typeof i.id || "number" == typeof i.id ? r = i.id : "function" == typeof i.id ? r = i.id() : "function" == typeof i.value && (r = i.value()) : r = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), o.submenu || t.menuClean(), this.vb.submenu = null, null !== t.mouse) {
1249
1249
  a.cssOnly || (a.cssOnly = !0);
1250
1250
  var s = null;
1251
1251
  if (i && i.isRow && i.$.row.task ? (s = new DayPilot.Task(i.$.row.task, i.calendar), s.menuType = "resource") : s = i && i.isEvent && i.data.task ? new DayPilot.Task(i, i.calendar) : i, "function" == typeof a.onShow) {
@@ -1254,15 +1254,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1254
1254
  return;
1255
1255
  }
1256
1256
  var d = document.createElement("div");
1257
- if (d.style.position = "absolute", d.style.top = "0px", d.style.left = "0px", d.style.display = "none", d.style.overflow = "hidden", d.style.zIndex = this.zIndex + 1, d.className = this.vb("main"), d.onclick = function (e) { e.cancelBubble = !0, this.parentNode.removeChild(this); }, this.hideOnMouseOut && (d.onmousemove = function (e) { clearTimeout(t.hideTimeout); }, d.onmouseleave = function (e) { a.delayedHide({ "hideParent": !0 }); }), !this.items || 0 === this.items.length)
1257
+ if (d.style.position = "absolute", d.style.top = "0px", d.style.left = "0px", d.style.display = "none", d.style.overflow = "hidden", d.style.zIndex = this.zIndex + 1, d.className = this.wb("main"), d.onclick = function (e) { e.cancelBubble = !0, this.parentNode.removeChild(this); }, this.hideOnMouseOut && (d.onmousemove = function (e) { clearTimeout(t.hideTimeout); }, d.onmouseleave = function (e) { a.delayedHide({ "hideParent": !0 }); }), !this.items || 0 === this.items.length)
1258
1258
  throw "No menu items defined.";
1259
1259
  if (this.showMenuTitle) {
1260
1260
  var c = document.createElement("div");
1261
- c.innerHTML = this.menuTitle, c.className = this.vb("title"), d.appendChild(c);
1261
+ c.innerHTML = this.menuTitle, c.className = this.wb("title"), d.appendChild(c);
1262
1262
  }
1263
1263
  for (var u = 0; u < this.items.length; u++) {
1264
1264
  var h = this.items[u], f = document.createElement("div");
1265
- if (DayPilot.Util.addClass(f, this.vb("item")), h.items && (DayPilot.Util.addClass(f, this.vb("item_haschildren")), DayPilot.Util.addClass(d, this.vb("withchildren"))), "undefined" != typeof h && !h.hidden) {
1265
+ if (DayPilot.Util.addClass(f, this.wb("item")), h.items && (DayPilot.Util.addClass(f, this.wb("item_haschildren")), DayPilot.Util.addClass(d, this.wb("withchildren"))), "undefined" != typeof h && !h.hidden) {
1266
1266
  if ("-" === h.text) {
1267
1267
  var m = document.createElement("div");
1268
1268
  m.addEventListener("click", function (e) { e.stopPropagation(); }), f.appendChild(m);
@@ -1270,7 +1270,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1270
1270
  else {
1271
1271
  var p = document.createElement("a");
1272
1272
  if (p.style.position = "relative", p.style.display = "block", h.cssClass && DayPilot.Util.addClass(p, h.cssClass), h.disabled)
1273
- DayPilot.Util.addClass(p, a.vb("item_disabled"));
1273
+ DayPilot.Util.addClass(p, a.wb("item_disabled"));
1274
1274
  else {
1275
1275
  if (h.onclick || h.onClick) {
1276
1276
  p.item = h, p.onclick = function (e, t) { return function (i) { if ("function" == typeof e.onClick) {
@@ -1286,7 +1286,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1286
1286
  DayPilot.reNonPassive(p, "touchstart", function (e) { e.stopPropagation(), e.preventDefault(), p.source.calendar.internal.touch.active = !0; }), DayPilot.reNonPassive(p, "touchend", v(h, p));
1287
1287
  }
1288
1288
  if (h.items && !h.disabled) {
1289
- var y = function (e, t) { return function (i) { i.preventDefault(), i.stopPropagation(), a.wb(e, t); }; };
1289
+ var y = function (e, t) { return function (i) { i.preventDefault(), i.stopPropagation(), a.xb(e, t); }; };
1290
1290
  p.ontouchend = y(h, p);
1291
1291
  }
1292
1292
  if (h.onclick)
@@ -1309,13 +1309,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1309
1309
  }
1310
1310
  h.items && p.addEventListener("click", function (e) { e.stopPropagation(); }), p.source = s, p.menuSource = i;
1311
1311
  var g = document.createElement("span");
1312
- if (g.className = a.vb("item_text"), g.innerHTML = DayPilot.Util.escapeTextHtml(h.text, h.html), p.appendChild(g), h.image) {
1312
+ if (g.className = a.wb("item_text"), g.innerHTML = DayPilot.Util.escapeTextHtml(h.text, h.html), p.appendChild(g), h.image) {
1313
1313
  var b = document.createElement("img");
1314
1314
  b.src = h.image, b.style.position = "absolute", b.style.top = "0px", b.style.left = "0px", p.appendChild(b);
1315
1315
  }
1316
1316
  if (h.icon) {
1317
1317
  var D = document.createElement("span");
1318
- D.className = a.vb("item_icon");
1318
+ D.className = a.wb("item_icon");
1319
1319
  var x = document.createElement("i");
1320
1320
  x.className = h.icon, D.appendChild(x), p.appendChild(D);
1321
1321
  }
@@ -1325,20 +1325,20 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1325
1325
  var P = document.createElementNS(w, "use");
1326
1326
  P.setAttribute("href", h.symbol), C.appendChild(P);
1327
1327
  var _ = document.createElement("span");
1328
- _.className = a.vb("item_symbol"), _.style.position = "absolute", _.style.top = "0px", _.style.left = "0px", _.appendChild(C), p.appendChild(_);
1328
+ _.className = a.wb("item_symbol"), _.style.position = "absolute", _.style.top = "0px", _.style.left = "0px", _.appendChild(C), p.appendChild(_);
1329
1329
  }
1330
1330
  var k = function (e, i) { return function () { var n = (i.source, e), o = t.waitingSubmenu; if (o) {
1331
1331
  if (o.parent === n)
1332
1332
  return;
1333
1333
  clearTimeout(o.timeout), t.waitingSubmenu = null;
1334
- } e.disabled || (t.waitingSubmenu = {}, t.waitingSubmenu.parent = n, t.waitingSubmenu.timeout = setTimeout(function () { t.waitingSubmenu = null, a.wb(n, i); }, 300)); }; };
1334
+ } e.disabled || (t.waitingSubmenu = {}, t.waitingSubmenu.parent = n, t.waitingSubmenu.timeout = setTimeout(function () { t.waitingSubmenu = null, a.xb(n, i); }, 300)); }; };
1335
1335
  p.onmouseover = k(h, p), f.appendChild(p);
1336
1336
  }
1337
1337
  d.appendChild(f);
1338
1338
  }
1339
1339
  }
1340
1340
  var S = function (e) { window.setTimeout(function () { t.menuClean(), DayPilot.MenuBar.deactivate(); }, 100); };
1341
- d.onclick = S, d.ontouchend = S, d.onmousedown = function (e) { e = e || window.event, e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(); }, d.oncontextmenu = function () { return !1; }, document.body.appendChild(d), a.ub.visible = !0, a.ub.source = i, d.style.display = "";
1341
+ d.onclick = S, d.ontouchend = S, d.onmousedown = function (e) { e = e || window.event, e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(); }, d.oncontextmenu = function () { return !1; }, document.body.appendChild(d), a.vb.visible = !0, a.vb.source = i, d.style.display = "";
1342
1342
  var M = d.offsetHeight, T = d.offsetWidth;
1343
1343
  d.style.display = "none";
1344
1344
  var A = document.documentElement.clientHeight, E = window.innerWidth, H = "number" == typeof o.windowMargin ? o.windowMargin : 5;
@@ -1364,27 +1364,27 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1364
1364
  var R = document.body.scrollTop + document.documentElement.scrollTop;
1365
1365
  U + M - R > A && (U = Math.max(0, A - M + R)), d.style.left = O + "px", d.style.top = U + "px";
1366
1366
  }
1367
- d.style.display = "", this.addShadow(d), this.ub.div = d, o.submenu || (DayPilot.Menu.active = this);
1368
- } }, this.wb = function (e, t) { var i = e, n = t.source; if ((!a.ub.submenu || a.ub.submenu.item !== e) && (a.ub.submenu && a.ub.submenu.item !== e && (DayPilot.Util.removeClass(a.ub.submenu.link.parentNode, a.vb("item_haschildren_active")), a.ub.submenu.menu.hide(), a.ub.submenu = null), e.items)) {
1367
+ d.style.display = "", this.addShadow(d), this.vb.div = d, o.submenu || (DayPilot.Menu.active = this);
1368
+ } }, this.xb = function (e, t) { var i = e, n = t.source; if ((!a.vb.submenu || a.vb.submenu.item !== e) && (a.vb.submenu && a.vb.submenu.item !== e && (DayPilot.Util.removeClass(a.vb.submenu.link.parentNode, a.wb("item_haschildren_active")), a.vb.submenu.menu.hide(), a.vb.submenu = null), e.items)) {
1369
1369
  var o = a.cloneOptions();
1370
- o.items = e.items, a.ub.submenu = {}, a.ub.submenu.menu = new DayPilot.Menu(o), a.ub.submenu.menu.xb = a, a.ub.submenu.menu.show(n, { "submenu": !0, "parentLink": t, "parentItem": i }), a.ub.submenu.item = e, a.ub.submenu.link = t, DayPilot.Util.addClass(t.parentNode, a.vb("item_haschildren_active"));
1371
- } }, this.vb = function (e) { var t = this.theme || this.cssClassPrefix, i = this.cssOnly ? "_" : ""; return t ? t + i + e : ""; }, this.cloneOptions = function () { return DayPilot.Util.copyProps(o, {}, ["cssClassPrefix", "theme", "hideAfter", "hideOnMouseOut", "zIndex"]); }, this.hide = function (e) { e = e || {}, this.ub.submenu && this.ub.submenu.menu.hide(); var i = t.waitingSubmenu; if (i && (t.waitingSubmenu = null, clearTimeout(i.timeout)), this.removeShadow(), this.ub.div && this.ub.div.parentNode === document.body && document.body.removeChild(this.ub.div), n && (DayPilot.de(n), n = null), a.ub.visible = !1, a.ub.source = null, a.xb && e.hideParent && a.xb.hide(e), DayPilot.Menu.active === a && (DayPilot.Menu.active = null), "function" == typeof this.onHide) {
1370
+ o.items = e.items, a.vb.submenu = {}, a.vb.submenu.menu = new DayPilot.Menu(o), a.vb.submenu.menu.yb = a, a.vb.submenu.menu.show(n, { "submenu": !0, "parentLink": t, "parentItem": i }), a.vb.submenu.item = e, a.vb.submenu.link = t, DayPilot.Util.addClass(t.parentNode, a.wb("item_haschildren_active"));
1371
+ } }, this.wb = function (e) { var t = this.theme || this.cssClassPrefix, i = this.cssOnly ? "_" : ""; return t ? t + i + e : ""; }, this.cloneOptions = function () { return DayPilot.Util.copyProps(o, {}, ["cssClassPrefix", "theme", "hideAfter", "hideOnMouseOut", "zIndex"]); }, this.hide = function (e) { e = e || {}, this.vb.submenu && this.vb.submenu.menu.hide(); var i = t.waitingSubmenu; if (i && (t.waitingSubmenu = null, clearTimeout(i.timeout)), this.removeShadow(), this.vb.div && this.vb.div.parentNode === document.body && document.body.removeChild(this.vb.div), n && (DayPilot.de(n), n = null), a.vb.visible = !1, a.vb.source = null, a.yb && e.hideParent && a.yb.hide(e), DayPilot.Menu.active === a && (DayPilot.Menu.active = null), "function" == typeof this.onHide) {
1372
1372
  var o = {};
1373
1373
  this.onHide(o);
1374
1374
  } }, this.delayedHide = function (e) { t.hideTimeout = setTimeout(function () { a.hide(e); }, a.hideAfter); }, this.cancelHideTimeout = function () { clearTimeout(t.hideTimeout); }, this.init = function (e) { return t.mouseMove(e), this; }, this.addShadow = function (e) { }, this.removeShadow = function () { }; var o = DayPilot.isArray(i) ? null : i; if (o)
1375
1375
  for (var r in o)
1376
1376
  this[r] = o[r]; }, DayPilot.MenuBar = function (e, t) { var i = this; t = t || {}, this.items = [], this.theme = "menubar_default", this.windowMargin = 0, this.nav = {}, this.elements = {}, this.elements.items = DayPilot.list(), this.k = null, this.za = !1; for (var a in t)
1377
- this[a] = t[a]; this.yb = function (e) { return this.theme + "_" + e; }, this.s = function () { this.nav.top = document.getElementById(e); var t = this.nav.top; t.className = this.yb("main"), DayPilot.list(i.items).forEach(function (e) { var a = document.createElement("span"); a.innerHTML = DayPilot.Util.escapeTextHtml(e.text, e.html), a.className = i.yb("item"), e.cssClass && a.classList.add(e.cssClass), a.data = e, a.onclick = function (t) { if (i.active && i.active.item === e)
1378
- i.zb();
1377
+ this[a] = t[a]; this.zb = function (e) { return this.theme + "_" + e; }, this.s = function () { this.nav.top = document.getElementById(e); var t = this.nav.top; t.className = this.zb("main"), DayPilot.list(i.items).forEach(function (e) { var a = document.createElement("span"); a.innerHTML = DayPilot.Util.escapeTextHtml(e.text, e.html), a.className = i.zb("item"), e.cssClass && a.classList.add(e.cssClass), a.data = e, a.onclick = function (t) { if (i.active && i.active.item === e)
1378
+ i.Ab();
1379
1379
  else if (e.children)
1380
- return void i.Ab(a); if ("function" == typeof e.onClick) {
1380
+ return void i.Bb(a); if ("function" == typeof e.onClick) {
1381
1381
  var n = {};
1382
1382
  n.item = e, n.originalEvent = t, e.onClick(n);
1383
- } }, a.onmousedown = function (e) { e.stopPropagation(); }, a.onmouseover = function () { i.active && i.active.item !== e && i.Ab(a); }, t.appendChild(a), i.elements.items.push(a); }); }, this.zb = function () { var e = i.yb("item_active"); i.elements.items.forEach(function (t) { DayPilot.Util.removeClass(t, e); }), i.active && i.active.menu && i.active.menu.hide(), i.active = null; }, this.Bb = function (e) { return !!i.active && i.active.item === e.data; }, this.Ab = function (e) { if (!i.Bb(e)) {
1384
- i.zb();
1383
+ } }, a.onmousedown = function (e) { e.stopPropagation(); }, a.onmouseover = function () { i.active && i.active.item !== e && i.Bb(a); }, t.appendChild(a), i.elements.items.push(a); }); }, this.Ab = function () { var e = i.zb("item_active"); i.elements.items.forEach(function (t) { DayPilot.Util.removeClass(t, e); }), i.active && i.active.menu && i.active.menu.hide(), i.active = null; }, this.Cb = function (e) { return !!i.active && i.active.item === e.data; }, this.Bb = function (e) { if (!i.Cb(e)) {
1384
+ i.Ab();
1385
1385
  var t = e.data, a = i.active = {};
1386
1386
  a.item = t, a.div = e;
1387
- var n = i.yb("item_active");
1387
+ var n = i.zb("item_active");
1388
1388
  DayPilot.Util.addClass(e, n);
1389
1389
  var o = DayPilot.abs(e);
1390
1390
  if (t.children) {
@@ -1393,11 +1393,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1393
1393
  "right" === t.align && (r += o.w), a.menu.show(null, { "x": r, "y": o.y + o.h, "align": t.align, "windowMargin": i.windowMargin });
1394
1394
  }
1395
1395
  DayPilot.MenuBar.active = i;
1396
- } }, this.init = function () { return this.s(), this.za = !0, this; }, this.dispose = function () { this.za && (this.nav.top.innerHTML = "", this.elements.items = []); }; }, DayPilot.MenuBar.deactivate = function () { DayPilot.MenuBar.active && (DayPilot.MenuBar.active.zb(), 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) { if (!e || !e.touches)
1396
+ } }, this.init = function () { return this.s(), this.za = !0, this; }, this.dispose = function () { this.za && (this.nav.top.innerHTML = "", this.elements.items = []); }; }, DayPilot.MenuBar.deactivate = function () { DayPilot.MenuBar.active && (DayPilot.MenuBar.active.Ab(), 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) { if (!e || !e.touches)
1397
1397
  return null; var t = e.touches[0], i = {}; return i.x = t.pageX, i.y = t.pageY, i; }, 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) { if (e = e || {}, e.calendar) {
1398
1398
  var i = DayPilot.Menu.active;
1399
1399
  if (i) {
1400
- var a = i.ub.source;
1400
+ var a = i.vb.source;
1401
1401
  a && a.calendar === e.calendar && t.menuClean();
1402
1402
  }
1403
1403
  }
@@ -1439,17 +1439,17 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1439
1439
  e.sheet.addRule(i, a, n);
1440
1440
  } }, i; }, a = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxwYXRoCiAgICAgICBpZD0icGF0aDMxNzMiCiAgICAgICBzdHlsZT0iZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoxLjg1MTk2ODUzO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICAgIGQ9Ik0gMC45NTQxNDgzOCwwLjY4MTYwMzEgNS4wMzkwNjI1LDUuNDExNTM4NiA5LjEyMzk3NjYsMC42ODE2MDMxIgogICAgICAgIC8+CiAgPC9nPgo8L3N2Zz4K", n = new i;
1441
1441
  n.add(".modal_default_main", "border: 10px solid #ccc; max-width: 90%;"), n.add(".modal_default_main:focus", "outline: none;"), n.add(".modal_default_content", "padding: 10px 0px;"), n.add(".modal_default_inner", "padding: 20px;"), n.add(".modal_default_input", "padding: 10px 0px;"), n.add(".modal_default_buttons", "margin-top: 10px;"), n.add(".modal_default_buttons", "padding: 10px 0px;"), n.add(".modal_default_form_item", "padding: 10px 0px; position: relative;"), n.add(".modal_default_form_item_level1", "border-left: 2px solid #ccc; margin-left: 10px; padding-left: 20px;"), n.add(".modal_default_form_item.modal_default_form_title", "font-size: 1.5rem; font-weight: bold;"), n.add(".modal_default_form_item input[type=text]", "width: 100%; box-sizing: border-box;"), n.add(".modal_default_form_item textarea", "width: 100%; height: 200px; box-sizing: border-box;"), n.add(".modal_default_form_item input[type=select]", "width: 100%; box-sizing: border-box;"), n.add(".modal_default_form_item label", "display: block;"), n.add(".modal_default_form_item select", "width: 100%; box-sizing: border-box;"), n.add(".modal_default_form_item_label", "margin: 2px 0px;"), n.add(".modal_default_form_item_image img", "max-width: 100%; height: auto;"), n.add(".modal_default_form_item_invalid", ""), n.add(".modal_default_form_item_invalid_message", "position: absolute; right: 0px; top: 9px; background-color: red; color: #ffffff; padding: 2px; border-radius: 2px;"), n.add(".modal_default_background", "opacity: 0.5; background-color: #000;"), n.add(".modal_default_ok", "padding: 3px; width: 80px;"), n.add(".modal_default_cancel", "padding: 3px; width: 80px;"), n.add(".modal_default_form_item_date", "position: relative;"), n.add(".modal_default_form_item_date:after", "content: ''; position: absolute; right: 7px; top: 50%; margin-top: 3px; width: 10px; height: 15px; background-image:url(" + "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojY2NjY2NjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjM4MDM3MzM2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDE5MjgiCiAgICAgICB3aWR0aD0iOS45MTUzMDYxIgogICAgICAgaGVpZ2h0PSIxMS4zNjkzNyIKICAgICAgIHg9IjAuMTE3MTg3NSIKICAgICAgIHk9Ii0zLjAwOTk5NTciCiAgICAgICByeT0iMS4zMTE4NTA1IiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNjY2NjY2M7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNTk4MTQwMTI7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MTkzMCIKICAgICAgIHdpZHRoPSIxLjUzNDQxMzYiCiAgICAgICBoZWlnaHQ9IjIuMjE5ODI1IgogICAgICAgeD0iMi4xNTU4NDgzIgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHJ5PSIwLjY3MTc4OTE3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iMS41MjM5NTA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QxOTQ4IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjY3MTc4OTE3IgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHg9IjYuNDUyNzIzNSIKICAgICAgIGhlaWdodD0iMi4yMTk4MjUiCiAgICAgICB3aWR0aD0iMS41MzQ0MTM2IgogICAgICAgaWQ9InJlY3QyMDAzIgogICAgICAgc3R5bGU9ImZpbGw6I2NjY2NjYztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS41OTgxNDAxMjtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAwNSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIHk9Ii0xLjE2NTg0NjYiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iNi45OTI3MDA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDA3IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAxMyIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjEuNTIzOTUwNiIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHJ5PSIwLjI5NjAxNDciIC8+CiAgICA8cmVjdAogICAgICAgcnk9IjAuMjk2MDE0NyIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGlkPSJyZWN0MjAxNSIKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgLz4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDIwMTciCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB4PSI2Ljk5MjcwMDYiCiAgICAgICB5PSIxLjgwMjkwMzQiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSI0LjczMjU5MDciCiAgICAgICB4PSIxLjU2MzAxMzEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBpZD0icmVjdDIwMTkiCiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgICA8cmVjdAogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgICAgaWQ9InJlY3QyMDIxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgeD0iNC4yNTgzMjU2IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgcnk9IjAuMjk2MDE0NyIgLz4KICAgIDxyZWN0CiAgICAgICByeT0iMC4yOTYwMTQ3IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgeD0iNy4wMzE3NjMxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDIzIgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+Cg==" + ")"),
1442
- navigator.userAgent.indexOf("Edge") !== -1 && n.add(".modal_default_form_item_date input::-ms-clear", "display: none;"), n.add(".modal_default_form_item_scrollable_scroll", "width: 100%; height: 200px; box-sizing: border-box; border: 1px solid #ccc; overflow-y: auto;"), n.add(".modal_default_form_item_scrollable_scroll_content", "padding: 5px;"), n.add(".modal_default_form_item_searchable", "position: relative;"), n.add(".modal_default_form_item_searchable_icon", ""), n.add(".modal_default_form_item_searchable_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + a + ");"), n.add(".modal_default_form_item_searchable_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), n.add(".modal_default_form_item_searchable_list_item", "background: white; padding: 2px; cursor: default;"), n.add(".modal_default_form_item_searchable_list_item_highlight", "background: #ccc;"), n.add(".modal_default_form_item_time", "position: relative;"), n.add(".modal_default_form_item_time_icon", ""), n.add(".modal_default_form_item_time_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + a + ");"), n.add(".modal_default_form_item_time_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), n.add(".modal_default_form_item_time_list_item", "background: white; padding: 2px; cursor: default;"), n.add(".modal_default_form_item_time_list_item_highlight", "background: #ccc;"), n.add(".modal_default_form_item_datetime_parent", "display: flex;"), n.add(".modal_default_form_item_datetime .modal_default_form_item_time_main", "margin-left: 5px;"), n.add(".modal_default_form_item_datetime input[type='text'].modal_default_input_date ", ""), n.add(".modal_default_form_item_tabular_main", "margin-top: 10px;"), n.add(".modal_default_form_item_tabular_table", "display: table; width: 100%; xbackground-color: #fff; border-collapse: collapse;"), n.add(".modal_default_form_item_tabular_tbody", "display: table-row-group;"), n.add(".modal_default_form_item_tabular_row", "display: table-row;"), n.add(".modal_default_form_item_tabular_row.modal_default_form_item_tabular_header", ""), n.add(".modal_default_form_item_tabular_cell.modal_default_form_item_tabular_rowaction", "padding: 0px; width: 23px;"), n.add(".modal_default_form_item_tabular_cell", "display: table-cell; border: 0px; padding: 2px 2px 2px 0px; cursor: default; vertical-align: bottom;"), n.add(".modal_default_form_item_tabular_header .modal_default_form_item_tabular_cell", "padding-left: 0px; padding-bottom: 0px;"), n.add(".modal_default_form_item_tabular_table input[type=text], .modal_default_form_item_tabular_table input[type=number]", "width:100%; box-sizing: border-box;"), n.add(".modal_default_form_item_tabular_table select", "width:100%; height:100%; box-sizing: border-box;"), n.add(".modal_default_form_item_tabular_plus", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), n.add(".modal_default_form_item_tabular_plus:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSA1LjAgMC41IEwgNS4wIDkuNSBNIDAuNSA1LjAgTCA5LjUgNS4wJyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), n.add(".modal_default_form_item_tabular_delete", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), n.add(".modal_default_form_item_tabular_delete:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgOS41IDkuNSBNIDAuNSA5LjUgTCA5LjUgMC41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), n.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_plus", "display: none;"), n.add(".modal_default_form_item_tabular_plus_max.modal_default_form_item_tabular_plus", "display: none;"), n.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_delete", "visibility: hidden;"), n.add(".modal_default_form_item_tabular_empty", "height: 1px; margin: 5px 23px 5px 0px; background-color: #ccc;"), n.add(".modal_default_form_item_tabular_spacer .modal_default_form_item_tabular_cell", "padding: 0px;"), n.add(".modal_min_main", "border: 1px solid #ccc; max-width: 90%;"), n.add(".modal_min_background", "opacity: 0.5; background-color: #000;"), n.add(".modal_min_ok", "padding: 3px 10px;"), n.add(".modal_min_cancel", "padding: 3px 10px;"), n.add(".navigator_modal_main", "border-left: 1px solid #c0c0c0;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;background-color: white;color: #000000; box-sizing: content-box;"), n.add(".navigator_modal_main *, .navigator_modal_main *:before, .navigator_modal_main *:after", "box-sizing: content-box;"), n.add(".navigator_modal_month", "font-size: 11px;"), n.add(".navigator_modal_day", "color: black;"), n.add(".navigator_modal_weekend", "background-color: #f0f0f0;"), n.add(".navigator_modal_dayheader", "color: black;"), n.add(".navigator_modal_line", "border-bottom: 1px solid #c0c0c0;"), n.add(".navigator_modal_dayother", "color: gray;"), n.add(".navigator_modal_todaybox", "border: 1px solid red;"), n.add(".navigator_modal_title, .navigator_modal_titleleft, .navigator_modal_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), n.add(".navigator_modal_busy", "font-weight: bold;"), n.add(".navigator_modal_cell", "text-align: center;"), n.add(".navigator_modal_select .navigator_modal_cell_box", "background-color: #FFE794; opacity: 0.5;"), n.add(".navigator_modal_title", "text-align: center;"), n.add(".navigator_modal_titleleft, .navigator_modal_titleright", "text-align: center;"), n.add(".navigator_modal_dayheader", "text-align: center;"), n.add(".navigator_modal_weeknumber", "text-align: center;"), n.add(".navigator_modal_cell_text", "cursor: pointer;"), n.commit(), DayPilot.Modal = function (e) { this.autoFocus = !0, this.focus = null, this.autoStretch = !0, this.autoStretchFirstLoadOnly = !1, this.className = null, this.theme = "modal_default", this.disposeOnClose = !0, this.dragDrop = !0, this.loadingHtml = null, this.maxHeight = null, this.scrollWithPage = !0, this.useIframe = !0, this.zIndex = 99999, this.left = null, this.width = 600, this.top = 20, this.height = 200, this.locale = null, this.closed = null, this.onClose = null, this.onClosed = null, this.onShow = null; var t = this; this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.Cb = !1, this.Db = null, this.Eb = null, this.showHtml = function (e) { if (DayPilot.ModalStatic.displayed(this))
1443
- throw "This modal dialog is already displayed."; if (this.div || this.Fb(), this.Gb(), this.useIframe) {
1442
+ navigator.userAgent.indexOf("Edge") !== -1 && n.add(".modal_default_form_item_date input::-ms-clear", "display: none;"), n.add(".modal_default_form_item_scrollable_scroll", "width: 100%; height: 200px; box-sizing: border-box; border: 1px solid #ccc; overflow-y: auto;"), n.add(".modal_default_form_item_scrollable_scroll_content", "padding: 5px;"), n.add(".modal_default_form_item_searchable", "position: relative;"), n.add(".modal_default_form_item_searchable_icon", ""), n.add(".modal_default_form_item_searchable_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + a + ");"), n.add(".modal_default_form_item_searchable_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), n.add(".modal_default_form_item_searchable_list_item", "background: white; padding: 2px; cursor: default;"), n.add(".modal_default_form_item_searchable_list_item_highlight", "background: #ccc;"), n.add(".modal_default_form_item_time", "position: relative;"), n.add(".modal_default_form_item_time_icon", ""), n.add(".modal_default_form_item_time_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + a + ");"), n.add(".modal_default_form_item_time_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), n.add(".modal_default_form_item_time_list_item", "background: white; padding: 2px; cursor: default;"), n.add(".modal_default_form_item_time_list_item_highlight", "background: #ccc;"), n.add(".modal_default_form_item_datetime_parent", "display: flex;"), n.add(".modal_default_form_item_datetime .modal_default_form_item_time_main", "margin-left: 5px;"), n.add(".modal_default_form_item_datetime input[type='text'].modal_default_input_date ", ""), n.add(".modal_default_form_item_tabular_main", "margin-top: 10px;"), n.add(".modal_default_form_item_tabular_table", "display: table; width: 100%; xbackground-color: #fff; border-collapse: collapse;"), n.add(".modal_default_form_item_tabular_tbody", "display: table-row-group;"), n.add(".modal_default_form_item_tabular_row", "display: table-row;"), n.add(".modal_default_form_item_tabular_row.modal_default_form_item_tabular_header", ""), n.add(".modal_default_form_item_tabular_cell.modal_default_form_item_tabular_rowaction", "padding: 0px; width: 23px;"), n.add(".modal_default_form_item_tabular_cell", "display: table-cell; border: 0px; padding: 2px 2px 2px 0px; cursor: default; vertical-align: bottom;"), n.add(".modal_default_form_item_tabular_header .modal_default_form_item_tabular_cell", "padding-left: 0px; padding-bottom: 0px;"), n.add(".modal_default_form_item_tabular_table input[type=text], .modal_default_form_item_tabular_table input[type=number]", "width:100%; box-sizing: border-box;"), n.add(".modal_default_form_item_tabular_table select", "width:100%; height:100%; box-sizing: border-box;"), n.add(".modal_default_form_item_tabular_plus", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), n.add(".modal_default_form_item_tabular_plus:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSA1LjAgMC41IEwgNS4wIDkuNSBNIDAuNSA1LjAgTCA5LjUgNS4wJyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), n.add(".modal_default_form_item_tabular_delete", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), n.add(".modal_default_form_item_tabular_delete:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgOS41IDkuNSBNIDAuNSA5LjUgTCA5LjUgMC41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), n.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_plus", "display: none;"), n.add(".modal_default_form_item_tabular_plus_max.modal_default_form_item_tabular_plus", "display: none;"), n.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_delete", "visibility: hidden;"), n.add(".modal_default_form_item_tabular_empty", "height: 1px; margin: 5px 23px 5px 0px; background-color: #ccc;"), n.add(".modal_default_form_item_tabular_spacer .modal_default_form_item_tabular_cell", "padding: 0px;"), n.add(".modal_min_main", "border: 1px solid #ccc; max-width: 90%;"), n.add(".modal_min_background", "opacity: 0.5; background-color: #000;"), n.add(".modal_min_ok", "padding: 3px 10px;"), n.add(".modal_min_cancel", "padding: 3px 10px;"), n.add(".navigator_modal_main", "border-left: 1px solid #c0c0c0;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;background-color: white;color: #000000; box-sizing: content-box;"), n.add(".navigator_modal_main *, .navigator_modal_main *:before, .navigator_modal_main *:after", "box-sizing: content-box;"), n.add(".navigator_modal_month", "font-size: 11px;"), n.add(".navigator_modal_day", "color: black;"), n.add(".navigator_modal_weekend", "background-color: #f0f0f0;"), n.add(".navigator_modal_dayheader", "color: black;"), n.add(".navigator_modal_line", "border-bottom: 1px solid #c0c0c0;"), n.add(".navigator_modal_dayother", "color: gray;"), n.add(".navigator_modal_todaybox", "border: 1px solid red;"), n.add(".navigator_modal_title, .navigator_modal_titleleft, .navigator_modal_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), n.add(".navigator_modal_busy", "font-weight: bold;"), n.add(".navigator_modal_cell", "text-align: center;"), n.add(".navigator_modal_select .navigator_modal_cell_box", "background-color: #FFE794; opacity: 0.5;"), n.add(".navigator_modal_title", "text-align: center;"), n.add(".navigator_modal_titleleft, .navigator_modal_titleright", "text-align: center;"), n.add(".navigator_modal_dayheader", "text-align: center;"), n.add(".navigator_modal_weeknumber", "text-align: center;"), n.add(".navigator_modal_cell_text", "cursor: pointer;"), n.commit(), DayPilot.Modal = function (e) { this.autoFocus = !0, this.focus = null, this.autoStretch = !0, this.autoStretchFirstLoadOnly = !1, this.className = null, this.theme = "modal_default", this.disposeOnClose = !0, this.dragDrop = !0, this.loadingHtml = null, this.maxHeight = null, this.scrollWithPage = !0, this.useIframe = !0, this.zIndex = 99999, this.left = null, this.width = 600, this.top = 20, this.height = 200, this.locale = null, this.closed = null, this.onClose = null, this.onClosed = null, this.onShow = null; var t = this; this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.Db = !1, this.Eb = null, this.Fb = null, this.showHtml = function (e) { if (DayPilot.ModalStatic.displayed(this))
1443
+ throw "This modal dialog is already displayed."; if (this.div || this.Gb(), this.Za(), this.useIframe) {
1444
1444
  var t = function (e, t) { return function () { e.setInnerHTML(e.id + "iframe", t); }; };
1445
1445
  window.setTimeout(t(this, e), 0);
1446
1446
  }
1447
1447
  else
1448
- e.nodeType ? this.div.appendChild(e) : this.div.innerHTML = e; this.Gb(), this.Hb(), this.Ib(); }, this.showUrl = function (e) { if (DayPilot.ModalStatic.displayed(this))
1448
+ e.nodeType ? this.div.appendChild(e) : this.div.innerHTML = e; this.Za(), this.Hb(), this.Ib(); }, this.showUrl = function (e) { if (DayPilot.ModalStatic.displayed(this))
1449
1449
  throw "This modal dialog is already displayed."; if (this.useIframe) {
1450
- this.div || this.Fb();
1450
+ this.div || this.Gb();
1451
1451
  var i = this.loadingHtml;
1452
- i && (this.iframe.src = "about:blank", this.setInnerHTML(this.id + "iframe", i)), this.re(this.iframe, "load", this.Jb), this.iframe.src = e, this.Gb(), this.Hb(), this.Ib();
1452
+ i && (this.iframe.src = "about:blank", this.setInnerHTML(this.id + "iframe", i)), this.re(this.iframe, "load", this.Jb), this.iframe.src = e, this.Za(), this.Hb(), this.Ib();
1453
1453
  }
1454
1454
  else
1455
1455
  t.Kb({ "url": e, "success": function (e) { var i = e.request.responseText; t.showHtml(i); }, "error": function (e) { t.showHtml("Error loading the modal dialog"); } }); }, this.Ib = function () { if ("function" == typeof t.onShow) {
@@ -1468,7 +1468,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1468
1468
  }
1469
1469
  else
1470
1470
  window.console && console.log("HTTP error " + t.status); }, 4 !== t.readyState && ("object" == typeof o && (o = JSON.stringify(o)), t.send(o));
1471
- } }, this.Gb = function () { delete this.result; var e = window, i = document, a = e.pageYOffset ? e.pageYOffset : i.documentElement && i.documentElement.scrollTop ? i.documentElement.scrollTop : i.body.scrollTop; this.theme && (this.hideDiv.className = this.theme + "_background"), this.zIndex && (this.hideDiv.style.zIndex = this.zIndex), this.hideDiv.style.display = "", window.setTimeout(function () { t.hideDiv && (t.hideDiv.onclick = function () { t.hide({ "backgroundClick": !0 }); }); }, 500), this.theme ? this.div.className = this.theme + "_main" : this.div.className = "", this.className && (this.div.className += " " + this.className), this.left ? this.div.style.left = this.left + "px" : this.div.style.marginLeft = "-" + Math.floor(this.width / 2) + "px", this.div.style.position = "absolute", this.div.style.boxSizing = "content-box", this.div.style.top = a + this.top + "px", this.div.style.width = this.width + "px", this.zIndex && (this.div.style.zIndex = this.zIndex), this.height && (this.useIframe || !this.autoStretch ? this.div.style.height = this.height + "px" : this.div.style.height = ""), this.useIframe && this.height && (this.iframe.style.height = this.height + "px"), this.div.style.display = "", this.Nb(), DayPilot.ModalStatic.remove(this), DayPilot.ModalStatic.list.push(this); }, this.Jb = function () { t.iframe.contentWindow.modal = t, t.autoStretch && t.stretch(); }, this.stretch = function () { var e = function () { return t.Mb().y; }, i = function () { return t.Mb().x; }; if (this.useIframe) {
1471
+ } }, this.Za = function () { delete this.result; var e = window, i = document, a = e.pageYOffset ? e.pageYOffset : i.documentElement && i.documentElement.scrollTop ? i.documentElement.scrollTop : i.body.scrollTop; this.theme && (this.hideDiv.className = this.theme + "_background"), this.zIndex && (this.hideDiv.style.zIndex = this.zIndex), this.hideDiv.style.display = "", window.setTimeout(function () { t.hideDiv && (t.hideDiv.onclick = function () { t.hide({ "backgroundClick": !0 }); }); }, 500), this.theme ? this.div.className = this.theme + "_main" : this.div.className = "", this.className && (this.div.className += " " + this.className), this.left ? this.div.style.left = this.left + "px" : this.div.style.marginLeft = "-" + Math.floor(this.width / 2) + "px", this.div.style.position = "absolute", this.div.style.boxSizing = "content-box", this.div.style.top = a + this.top + "px", this.div.style.width = this.width + "px", this.zIndex && (this.div.style.zIndex = this.zIndex), this.height && (this.useIframe || !this.autoStretch ? this.div.style.height = this.height + "px" : this.div.style.height = ""), this.useIframe && this.height && (this.iframe.style.height = this.height + "px"), this.div.style.display = "", this.Nb(), DayPilot.ModalStatic.remove(this), DayPilot.ModalStatic.list.push(this); }, this.Jb = function () { t.iframe.contentWindow.modal = t, t.autoStretch && t.stretch(); }, this.stretch = function () { var e = function () { return t.Mb().y; }, i = function () { return t.Mb().x; }; if (this.useIframe) {
1472
1472
  for (var a = i() - 40, n = this.width; n < a && this.Ob(); n += 10)
1473
1473
  this.div.style.width = n + "px", this.div.style.marginLeft = "-" + Math.floor(n / 2) + "px";
1474
1474
  for (var o = this.maxHeight || e() - 2 * this.top, r = this.height; r < o && this.Pb(); r += 10)
@@ -1485,10 +1485,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1485
1485
  } return i > t.clientHeight; }, this.Mb = function () { var e = document; if ("CSS1Compat" === e.compatMode && e.documentElement && e.documentElement.clientWidth) {
1486
1486
  var t = e.documentElement.clientWidth, i = e.documentElement.clientHeight;
1487
1487
  return { x: t, y: i };
1488
- } var t = e.body.clientWidth, i = e.body.clientHeight; return { x: t, y: i }; }, this.Hb = function () { this.Cb || (this.re(window, "resize", this.Qb), this.re(window, "scroll", this.Rb), this.dragDrop && (this.re(document, "mousemove", this.Sb), this.re(document, "mouseup", this.Tb)), this.Cb = !0); }, this.Ub = function () { this.ue(window, "resize", this.Qb), this.ue(window, "scroll", this.Rb), this.dragDrop && (this.ue(document, "mousemove", this.Sb), this.ue(document, "mouseup", this.Tb)), this.Cb = !1; }, this.Vb = function (e) { e.target === t.div && (e.preventDefault(), t.div.style.cursor = "move", t.Wb(), t.Eb = t.mc(e || window.event), t.Db = { x: t.div.offsetLeft, y: t.div.offsetTop }); }, this.Sb = function (e) { if (t.Eb) {
1489
- var e = e || window.event, i = t.mc(e), a = i.x - t.Eb.x, n = i.y - t.Eb.y;
1490
- t.div.style.marginLeft = "0px", t.div.style.top = t.Db.y + n + "px", t.div.style.left = t.Db.x + a + "px";
1491
- } }, this.Tb = function (e) { t.Eb && (t.Xb(), t.div.style.cursor = null, t.Eb = null); }, this.Wb = function () { if (this.useIframe) {
1488
+ } var t = e.body.clientWidth, i = e.body.clientHeight; return { x: t, y: i }; }, this.Hb = function () { this.Db || (this.re(window, "resize", this.Qb), this.re(window, "scroll", this.Rb), this.dragDrop && (this.re(document, "mousemove", this.Sb), this.re(document, "mouseup", this.Tb)), this.Db = !0); }, this.Ub = function () { this.ue(window, "resize", this.Qb), this.ue(window, "scroll", this.Rb), this.dragDrop && (this.ue(document, "mousemove", this.Sb), this.ue(document, "mouseup", this.Tb)), this.Db = !1; }, this.Vb = function (e) { e.target === t.div && (e.preventDefault(), t.div.style.cursor = "move", t.Wb(), t.Fb = t.mc(e || window.event), t.Eb = { x: t.div.offsetLeft, y: t.div.offsetTop }); }, this.Sb = function (e) { if (t.Fb) {
1489
+ var e = e || window.event, i = t.mc(e), a = i.x - t.Fb.x, n = i.y - t.Fb.y;
1490
+ t.div.style.marginLeft = "0px", t.div.style.top = t.Eb.y + n + "px", t.div.style.left = t.Eb.x + a + "px";
1491
+ } }, this.Tb = function (e) { t.Fb && (t.Xb(), t.div.style.cursor = null, t.Fb = null); }, this.Wb = function () { if (this.useIframe) {
1492
1492
  var e = document.createElement("div");
1493
1493
  e.style.backgroundColor = "#ffffff", e.style.filter = "alpha(opacity=80)", e.style.opacity = "0.80", e.style.width = "100%", e.style.height = this.height + "px", e.style.position = "absolute", e.style.left = "0px", e.style.top = "0px", this.div.appendChild(e), this.mask = e;
1494
1494
  } }, this.Xb = function () { this.useIframe && (this.div.removeChild(this.mask), this.mask = null); }, this.Qb = function () { t.Yb(), t.Nb(); }, this.Rb = function () { t.Yb(); }, this.Nb = function () { if (!t.left && t.div) {
@@ -1498,7 +1498,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1498
1498
  var e = t.Zb.scrollY();
1499
1499
  t.scrollWithPage || (t.div.style.top = e + t.top + "px");
1500
1500
  } }, this.Zb = {}, this.Zb.container = function () { return t.container || document.body; }, this.Zb.scrollY = function () { var e = t.Zb.container(); return e === document.body ? window.pageYOffset ? window.pageYOffset : document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop : e.scrollTop; }, this.re = function (e, t, i) { e.addEventListener ? e.addEventListener(t, i, !1) : e.attachEvent && e.attachEvent("on" + t, i); }, this.ue = function (e, t, i) { e.removeEventListener ? e.removeEventListener(t, i, !1) : e.detachEvent && e.detachEvent("on" + t, i); }, this.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 }; }, this.abs = function (e) { for (var t = { x: e.offsetLeft, y: e.offsetTop }; e.offsetParent;)
1501
- e = e.offsetParent, t.x += e.offsetLeft, t.y += e.offsetTop; return t; }, this.Fb = function () { var e = t.Zb.container(), i = e === document.body, a = i ? "fixed" : "absolute", n = document.createElement("div"); n.id = this.id + "hide", n.style.position = a, n.style.left = "0px", n.style.top = "0px", n.style.right = "0px", n.style.bottom = "0px", n.oncontextmenu = function () { return !1; }, n.onmousedown = function () { return !1; }, e.appendChild(n); var o = document.createElement("div"); o.id = this.id + "popup", o.style.position = a, o.style.left = "50%", o.style.top = "0px", o.style.backgroundColor = "white", o.style.width = "50px", o.style.height = "50px", this.dragDrop && (o.onmousedown = this.Vb), o.addEventListener("keydown", function (e) { e.stopPropagation(); }); var r = null; this.useIframe && (r = document.createElement("iframe"), r.id = this.id + "iframe", r.name = this.id + "iframe", r.frameBorder = "0", r.style.width = "100%", r.style.height = "50px", o.appendChild(r)), e.appendChild(o), this.div = o, this.iframe = r, this.hideDiv = n; }, this.setInnerHTML = function (e, i) { var a = window.frames[e], n = a.contentWindow || a.document || a.contentDocument; n.document && (n = n.document), null == n.body && n.write("<body></body>"), i.nodeType ? n.body.appendChild(i) : n.body.innerHTML = i, t.autoStretch && (t.autoStretchFirstLoadOnly && t.$b || (t.stretch(), t.$b = !0)); }, this.close = function (e) { this.result = e, this.hide(); }, this.closeSerialized = function () { for (var e = t.Lb(), i = e.querySelectorAll("input, textarea, select"), a = {}, n = 0; n < i.length; n++) {
1501
+ e = e.offsetParent, t.x += e.offsetLeft, t.y += e.offsetTop; return t; }, this.Gb = function () { var e = t.Zb.container(), i = e === document.body, a = i ? "fixed" : "absolute", n = document.createElement("div"); n.id = this.id + "hide", n.style.position = a, n.style.left = "0px", n.style.top = "0px", n.style.right = "0px", n.style.bottom = "0px", n.oncontextmenu = function () { return !1; }, n.onmousedown = function () { return !1; }, e.appendChild(n); var o = document.createElement("div"); o.id = this.id + "popup", o.style.position = a, o.style.left = "50%", o.style.top = "0px", o.style.backgroundColor = "white", o.style.width = "50px", o.style.height = "50px", this.dragDrop && (o.onmousedown = this.Vb), o.addEventListener("keydown", function (e) { e.stopPropagation(); }); var r = null; this.useIframe && (r = document.createElement("iframe"), r.id = this.id + "iframe", r.name = this.id + "iframe", r.frameBorder = "0", r.style.width = "100%", r.style.height = "50px", o.appendChild(r)), e.appendChild(o), this.div = o, this.iframe = r, this.hideDiv = n; }, this.setInnerHTML = function (e, i) { var a = window.frames[e], n = a.contentWindow || a.document || a.contentDocument; n.document && (n = n.document), null == n.body && n.write("<body></body>"), i.nodeType ? n.body.appendChild(i) : n.body.innerHTML = i, t.autoStretch && (t.autoStretchFirstLoadOnly && t.$b || (t.stretch(), t.$b = !0)); }, this.close = function (e) { this.result = e, this.hide(); }, this.closeSerialized = function () { for (var e = t.Lb(), i = e.querySelectorAll("input, textarea, select"), a = {}, n = 0; n < i.length; n++) {
1502
1502
  var o = i[n], r = o.name;
1503
1503
  if (r) {
1504
1504
  var s = o.value;
@@ -1752,7 +1752,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1752
1752
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
1753
1753
  var e = {};
1754
1754
  e.Month = function (t, i) {
1755
- this.v = "2023.3.499-lite", this.nav = {};
1755
+ this.v = "2023.4.504-lite", this.nav = {};
1756
1756
  var a = this;
1757
1757
  this.id = t, 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.T = function (e, t) { var e = JSON.parse(e); return e.CallBackRedirect ? void (document.location.href = e.CallBackRedirect) : "None" === e.UpdateType ? void a.fireAfterRenderDetached(e.CallBackData, !0) : (a.events.list = e.Events, "Full" === e.UpdateType && (a.startDate = e.StartDate, a.timeFormat = e.TimeFormat ? e.TimeFormat : a.timeFormat, "undefined" != typeof e.WeekStarts && (a.weekStarts = e.WeekStarts), a.hashes = e.Hashes), a.V(), a.Ic(), a.ca(), "Full" === e.UpdateType && (a.Jc(), a.Kc()), a.ha(), a.show(), a.ia(), void a.fireAfterRenderDetached(e.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var i = function (e, t) { return function () { a.afterRender && a.afterRender(e, t); }; }; window.setTimeout(i(e, t), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (e) { var t = null; if (e instanceof DayPilot.Event)
1758
1758
  t = e.data;
@@ -1796,11 +1796,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1796
1796
  else {
1797
1797
  var r = e, s = "start=" + a.visibleStart().toString() + "&end=" + a.visibleEnd().toString();
1798
1798
  r += r.indexOf("?") > -1 ? "&" + s : "?" + s, DayPilot.Http.ajax({ "method": "GET", "url": r, "success": o, "error": n });
1799
- } }, this.update = function (e) { if (a.$a(e), this.za && this.cells) {
1799
+ } }, this.update = function (e) { if (a._a(e), this.za && this.cells) {
1800
1800
  a.V(), a.Ic(), a.ca(), a.Jc(), a.Kc(), a.ha(), a.s(), a.ia(), this.visible ? this.show() : this.hide();
1801
- } }, this.bb = null, this.$a = function (e) { if (e) {
1801
+ } }, this.cb = null, this._a = function (e) { if (e) {
1802
1802
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? a.events.list = e.list : a.events.list = e; } } };
1803
- this.bb = t;
1803
+ this.cb = t;
1804
1804
  for (var i in e)
1805
1805
  if (t[i]) {
1806
1806
  var n = t[i];
@@ -1808,10 +1808,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1808
1808
  }
1809
1809
  else
1810
1810
  a[i] = e[i];
1811
- } }, this.cb = function () { var e = this.bb; for (var t in e) {
1811
+ } }, this.db = function () { var e = this.cb; for (var t in e) {
1812
1812
  var i = e[t];
1813
1813
  i.postInit && i.postInit();
1814
- } }, this.eb = {}, this.eb.events = [], this.fb = function (e) { var t = this.eb.events, i = this.events.list[e], n = {}; for (var o in i)
1814
+ } }, this.fb = {}, this.fb.events = [], this.gb = function (e) { var t = this.fb.events, i = this.events.list[e], n = {}; for (var o in i)
1815
1815
  n[o] = i[o]; if ("function" == typeof this.onBeforeEventRender) {
1816
1816
  var r = {};
1817
1817
  r.control = a, r.data = n, this.onBeforeEventRender(r);
@@ -1820,7 +1820,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1820
1820
  throw new DayPilot.Exception("DayPilot.Month.events.list expects an array object. You supplied: " + typeof e);
1821
1821
  if ("function" == typeof this.onBeforeEventRender)
1822
1822
  for (var t = 0; t < e.length; t++)
1823
- this.fb(t);
1823
+ this.gb(t);
1824
1824
  for (var i = 0; i < e.length; i++) {
1825
1825
  var a = e[i];
1826
1826
  if ("object" != typeof a)
@@ -1833,12 +1833,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1833
1833
  if (!(n.getTime() > o.getTime()))
1834
1834
  for (var t = 0; t < this.rows.length; t++) {
1835
1835
  var r = this.rows[t], s = new DayPilot.Event(a, this);
1836
- r.belongsHere(s) && (r.events.push(s), "function" == typeof this.onBeforeEventRender && (s.cache = this.eb.events[i]));
1836
+ r.belongsHere(s) && (r.events.push(s), "function" == typeof this.onBeforeEventRender && (s.cache = this.fb.events[i]));
1837
1837
  }
1838
1838
  }
1839
1839
  for (var l = 0; l < this.rows.length; l++) {
1840
1840
  var r = this.rows[l];
1841
- r.events.sort(this.gb);
1841
+ r.events.sort(this.hb);
1842
1842
  for (var d = 0; d < this.rows[l].events.length; d++) {
1843
1843
  var c = r.events[d], u = r.getStartColumn(c), h = r.getWidth(c);
1844
1844
  r.putIntoLine(c, u, h, l);
@@ -1850,7 +1850,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1850
1850
  } this.elements.events = []; }, this.ia = function () { this.Lc(); }, this.Lc = function () { this.elements.events = []; for (var e = 0; e < this.rows.length; e++)
1851
1851
  for (var t = this.rows[e], i = 0; i < t.lines.length; i++)
1852
1852
  for (var a = t.lines[i], n = 0; n < a.length; n++)
1853
- this.Ca(a[n]); }, this.gb = function (e, t) { if (!(e && t && e.start && t.start))
1853
+ this.Ca(a[n]); }, this.hb = function (e, t) { if (!(e && t && e.start && t.start))
1854
1854
  return 0; var i = e.start().getTime() - t.start().getTime(); return 0 !== i ? i : t.end().getTime() - e.end().getTime(); }, this.drawShadow = function (t, i, n, o, r, s) { r || (r = 0); var l = o; this.shadow = {}, this.shadow.list = [], this.shadow.start = { x: t, y: i }, this.shadow.width = o; var d = 7 * i + t - r; d < 0 && (l += d, t = 0, i = 0); for (var c = r; c >= 7;)
1855
1855
  i--, c -= 7; if (c > t) {
1856
1856
  c > t + (7 - this.getColCount()) ? (i--, t = t + 7 - c) : (l = l - c + t, t = 0);
@@ -2093,14 +2093,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2093
2093
  case "JavaScript": a.onTimeRangeSelected(e, t);
2094
2094
  } }, this.qa = {}, this.qa.scope = null, this.qa.notify = function () { a.qa.scope && a.qa.scope["$apply"](); }, this.qa.apply = function (e) { e(); }, this.clearSelection = function () { a.clearShadow(); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.R("Command", t, i); }, this.isWeekend = function (e) { return e = new DayPilot.Date(e), 0 === e.dayOfWeek() || 6 === e.dayOfWeek(); }, this._ = {}, this._.locale = function () { var e = DayPilot.Locale.find(a.locale); return e ? e : DayPilot.Locale.US; }, this._.aa = function () { return "Disabled" !== a.xssProtection; };
2095
2095
  var n = this._;
2096
- this.debug = function (e, t) { this.debuggingEnabled && (a.debugMessages || (a.debugMessages = []), a.debugMessages.push(e), "undefined" != typeof console && console.log(e)); }, this.dispose = function () { var e = a; e.nav.top && (e.V(), e.nav.top.removeAttribute("style"), e.nav.top.removeAttribute("class"), e.nav.top.innerHTML = "", e.nav.top.dp = null, e.nav.top.onmousemove = null, e.nav.top = null); }, this.Ya = function () { e.globalHandlers || (e.globalHandlers = !0, DayPilot.re(document, "mouseup", e.gMouseUp)); }, this.loadFromServer = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof a.events.list || !a.events.list); }, this.s = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { a.visible = !0, a.nav.top.style.display = ""; }, this.hide = function () { a.visible = !1, a.nav.top.style.display = "none"; }, this.db = function () { if (this.id && this.id.tagName)
2096
+ this.debug = function (e, t) { this.debuggingEnabled && (a.debugMessages || (a.debugMessages = []), a.debugMessages.push(e), "undefined" != typeof console && console.log(e)); }, this.dispose = function () { var e = a; e.nav.top && (e.V(), e.nav.top.removeAttribute("style"), e.nav.top.removeAttribute("class"), e.nav.top.innerHTML = "", e.nav.top.dp = null, e.nav.top.onmousemove = null, e.nav.top = null); }, this.Ya = function () { e.globalHandlers || (e.globalHandlers = !0, DayPilot.re(document, "mouseup", e.gMouseUp)); }, this.loadFromServer = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof a.events.list || !a.events.list); }, this.s = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { a.visible = !0, a.nav.top.style.display = ""; }, this.hide = function () { a.visible = !1, a.nav.top.style.display = "none"; }, this.eb = function () { if (this.id && this.id.tagName)
2097
2097
  this.nav.top = this.id;
2098
2098
  else {
2099
2099
  if ("string" != typeof this.id)
2100
2100
  throw "DayPilot.Month() constructor requires the target element or its ID as a parameter";
2101
2101
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
2102
2102
  throw "DayPilot.Month: The placeholder element not found: '" + id + "'.";
2103
- } }, this.jb = function () { this.Ic(), this.Ea(), this.Kc(), this.Ya(), this.R("Init"); }, this.Ia = function (e, t) { return a._.aa() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = this.$a, this.internal.xssTextHtml = a.Ia, this.init = function () { return this.db(), this.loadFromServer() ? void this.jb() : (this.Ic(), this.ca(), this.Ea(), this.Kc(), this.s(), this.ia(), this.Ya(), this.fireAfterRenderDetached(null, !1), this.za = !0, this); }, this.Init = this.init, Object.defineProperty(this, "durationBarVisible", { get: function () { return a.eventBarVisible; } }), this.$a(i);
2103
+ } }, this.kb = function () { this.Ic(), this.Ea(), this.Kc(), this.Ya(), this.R("Init"); }, this.Ia = function (e, t) { return a._.aa() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = this._a, this.internal.xssTextHtml = a.Ia, this.init = function () { return this.eb(), this.loadFromServer() ? void this.kb() : (this.Ic(), this.ca(), this.Ea(), this.Kc(), this.s(), this.ia(), this.Ya(), this.fireAfterRenderDetached(null, !1), this.za = !0, this); }, this.Init = this.init, Object.defineProperty(this, "durationBarVisible", { get: function () { return a.eventBarVisible; } }), this._a(i);
2104
2104
  }, e.gMouseUp = function (t) { if (e.movingEvent) {
2105
2105
  var i = e.movingEvent;
2106
2106
  if (!i.event)
@@ -2150,9 +2150,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2150
2150
  "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function () {
2151
2151
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.nav) {
2152
2152
  DayPilot.Navigator = function (e, t) {
2153
- this.v = "2023.3.499-lite";
2153
+ this.v = "2023.4.504-lite";
2154
2154
  var i = this;
2155
- this.id = e, 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.eb = {}, this.Oc = function () { this.root.dp = this, this.root.className = this.J("_main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * o.cellWidth() + this.Pc()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * o.cellWidth() + this.Pc() + "px", this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var e = document.createElement("input"); e.type = "hidden", e.name = i.id + "_state", e.id = e.name, this.root.appendChild(e), this.state = e, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.oa = function () { return 2 === i.api; }, this.Jc = function () { this.root.innerHTML = ""; }, this.J = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.Qc = function (e, t) { var i = this.J("_" + t); DayPilot.Util.addClass(e, i); }, this.Rc = function (e, t) { var i = this.J("_" + t); DayPilot.Util.removeClass(e, i); }, this.Kc = function (e, t) { var a = {}; a.cells = [], a.days = [], a.weeks = []; var n = this.startDate.addMonths(e), r = t.before, s = t.after, l = n.firstDayOfMonth(), d = l.firstDayOfWeek(o.weekStarts()), c = l.addMonths(1), u = DayPilot.DateUtil.daysDiff(d, c), h = "Auto" === this.rowsPerMonth ? Math.ceil(u / 7) : 6; a.rowCount = h; var f = (new DayPilot.Date).getDatePart(), m = 7 * o.cellWidth() + this.Pc(); a.width = m; var p = this.cellHeight * h + this.titleHeight + this.dayHeaderHeight; a.height = p; var v = document.createElement("div"); if (v.style.width = m + "px", v.style.height = p + "px", "Horizontal" === this.orientation)
2155
+ this.id = e, 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.fb = {}, this.Oc = function () { this.root.dp = this, this.root.className = this.J("_main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * o.cellWidth() + this.Pc()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * o.cellWidth() + this.Pc() + "px", this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var e = document.createElement("input"); e.type = "hidden", e.name = i.id + "_state", e.id = e.name, this.root.appendChild(e), this.state = e, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.oa = function () { return 2 === i.api; }, this.Jc = function () { this.root.innerHTML = ""; }, this.J = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.Qc = function (e, t) { var i = this.J("_" + t); DayPilot.Util.addClass(e, i); }, this.Rc = function (e, t) { var i = this.J("_" + t); DayPilot.Util.removeClass(e, i); }, this.Kc = function (e, t) { var a = {}; a.cells = [], a.days = [], a.weeks = []; var n = this.startDate.addMonths(e), r = t.before, s = t.after, l = n.firstDayOfMonth(), d = l.firstDayOfWeek(o.weekStarts()), c = l.addMonths(1), u = DayPilot.DateUtil.daysDiff(d, c), h = "Auto" === this.rowsPerMonth ? Math.ceil(u / 7) : 6; a.rowCount = h; var f = (new DayPilot.Date).getDatePart(), m = 7 * o.cellWidth() + this.Pc(); a.width = m; var p = this.cellHeight * h + this.titleHeight + this.dayHeaderHeight; a.height = p; var v = document.createElement("div"); if (v.style.width = m + "px", v.style.height = p + "px", "Horizontal" === this.orientation)
2156
2156
  v.style.position = "absolute", v.style.left = m * e + "px", v.style.top = "0px", a.top = 0, a.left = m * e;
2157
2157
  else {
2158
2158
  v.style.position = "relative";
@@ -2201,12 +2201,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2201
2201
  L.cell = R || {}, L.cell.day = P, L.cell.isCurrentMonth = T, L.cell.isToday = P.getTime() === f.getTime() && T, L.cell.isWeekend = 0 === P.dayOfWeek() || 6 === P.dayOfWeek(), R ? (L.cell.html = R.html || P.getDay(), L.cell.cssClass = R.css) : (L.cell.html = P.getDay(), L.cell.cssClass = null), i.onBeforeCellRender(L), R = L.cell;
2202
2202
  }
2203
2203
  if (R && DayPilot.Util.addClass(N, R.cssClass || R.css), T || r && A || s && E) {
2204
- var j = document.createElement("div");
2205
- j.innerHTML = P.getDay(), j.style.position = "absolute", j.style.left = "0px", j.style.top = "0px", j.style.right = "0px", j.style.bottom = "0px", i.Qc(j, "cell_text"), N.isClickable = !0, R && R.html && (j.innerHTML = R.html), N.appendChild(j);
2204
+ var B = document.createElement("div");
2205
+ B.innerHTML = P.getDay(), B.style.position = "absolute", B.style.left = "0px", B.style.top = "0px", B.style.right = "0px", B.style.bottom = "0px", i.Qc(B, "cell_text"), N.isClickable = !0, R && R.html && (B.innerHTML = R.html), N.appendChild(B);
2206
2206
  }
2207
2207
  N.setAttribute("unselectable", "on"), N.onclick = this.Yc, v.appendChild(N), M && (i.Zc(v, S, C), this.selected.push(N));
2208
2208
  }
2209
- } var B = document.createElement("div"); B.style.position = "absolute", B.style.left = "0px", B.style.top = g - 2 + "px", B.style.width = 7 * o.cellWidth() + this.Pc() + "px", B.style.height = "1px", B.style.fontSize = "1px", B.style.lineHeight = "1px", B.className = this.J("_line"), v.appendChild(B), this.months.push(a); }, this.Xc = function (e, t) { var i = this.titleHeight + this.dayHeaderHeight, a = this.Pc(); return { "x": e * o.cellWidth() + a, "y": t * this.cellHeight + i }; }, this.Zc = function (e, t, a) { var n = e.month.cells[t][a]; i.Qc(n, "select"); }, this.$c = function (e, t, a) { var n = e.month.cells[t][a]; i.Rc(n, "select"); }, this.Pc = function () { return this.showWeekNumbers ? o.cellWidth() : 0; }, this._c = function () { if (this.items)
2209
+ } var j = document.createElement("div"); j.style.position = "absolute", j.style.left = "0px", j.style.top = g - 2 + "px", j.style.width = 7 * o.cellWidth() + this.Pc() + "px", j.style.height = "1px", j.style.fontSize = "1px", j.style.lineHeight = "1px", j.className = this.J("_line"), v.appendChild(j), this.months.push(a); }, this.Xc = function (e, t) { var i = this.titleHeight + this.dayHeaderHeight, a = this.Pc(); return { "x": e * o.cellWidth() + a, "y": t * this.cellHeight + i }; }, this.Zc = function (e, t, a) { var n = e.month.cells[t][a]; i.Qc(n, "select"); }, this.$c = function (e, t, a) { var n = e.month.cells[t][a]; i.Rc(n, "select"); }, this.Pc = function () { return this.showWeekNumbers ? o.cellWidth() : 0; }, this._c = function () { if (this.items)
2210
2210
  for (var e = 0; e < this.showMonths; e++)
2211
2211
  for (var t = 0; t < 7; t++)
2212
2212
  for (var i = 0; i < 6; i++) {
@@ -2230,15 +2230,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2230
2230
  return void (this.cd = { "date1": r, "date2": s, "options": l }); var d = !0, c = !0; l && "object" == typeof l ? (l.dontFocus && (d = !1), l.dontNotify && (c = !1)) : "boolean" == typeof l && (d = !l); var u = this.selectionStart, h = this.selectionEnd; this.selectionStart = new DayPilot.Date(r).getDatePart(), this.selectionDay = this.selectionStart; var f = !1; if (d) {
2231
2231
  var m = this.startDate;
2232
2232
  (this.selectionStart < this.dd() || this.selectionStart >= this.ed()) && (m = this.selectionStart.firstDayOfMonth()), m.toStringSortable() !== this.startDate.toStringSortable() && (f = !0), this.startDate = m;
2233
- } s && i.freeHandSelectionEnabled ? i.selectionEnd = new DayPilot.Date(s) : this.bd(), this.Jc(), this.Oc(), this.fd(), this._c(), this.ad(), !c || u.equals(this.selectionStart) && h.equals(this.selectionEnd) || this.L(), f && this.gd(); }, this.update = function (e) { if (i.$a(e), this.za) {
2233
+ } s && i.freeHandSelectionEnabled ? i.selectionEnd = new DayPilot.Date(s) : this.bd(), this.Jc(), this.Oc(), this.fd(), this._c(), this.ad(), !c || u.equals(this.selectionStart) && h.equals(this.selectionEnd) || this.L(), f && this.gd(); }, this.update = function (e) { if (i._a(e), this.za) {
2234
2234
  if (i.hd)
2235
2235
  throw new DayPilot.Exception("You are trying to update a DayPilot.Navigator instance that has been disposed.");
2236
2236
  i.jd();
2237
2237
  var t = { "day": i.selectionDay, "start": i.selectionStart, "end": i.selectionEnd };
2238
- i.Gb(), t.start === i.selectionStart && t.end == i.selectionEnd && t.day === i.selectionDay || i.L();
2239
- } }, this.Gb = function () { this.Jc(), this.Oc(), this.bd(), this.fd(), this.ca(), this._c(), this.ad(), this.visible ? this.show() : this.hide(); }, this.jd = function () { i.eb = {}; }, this.bb = null, this.$a = function (e) { if (e) {
2238
+ i.Za(), t.start === i.selectionStart && t.end == i.selectionEnd && t.day === i.selectionDay || i.L();
2239
+ } }, this.Za = function () { this.Jc(), this.Oc(), this.bd(), this.fd(), this.ca(), this._c(), this.ad(), this.visible ? this.show() : this.hide(); }, this.jd = function () { i.fb = {}; }, this.cb = null, this._a = function (e) { if (e) {
2240
2240
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? i.events.list = e.list : i.events.list = e; } } };
2241
- this.bb = t;
2241
+ this.cb = t;
2242
2242
  for (var a in e)
2243
2243
  if (t[a]) {
2244
2244
  var n = t[a];
@@ -2246,7 +2246,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2246
2246
  }
2247
2247
  else
2248
2248
  i[a] = e[a];
2249
- } }, this.cb = function () { var e = this.bb; for (var t in e) {
2249
+ } }, this.db = function () { var e = this.cb; for (var t in e) {
2250
2250
  var i = e[t];
2251
2251
  i.postInit && i.postInit();
2252
2252
  } }, this.R = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var n = "JSON" + JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.S, n, this.kd) : WebForm_DoCallback(this.uniqueID, n, this.T, null, this.callbackError, !0); }, this.kd = function (e) { if ("function" == typeof i.onAjaxError) {
@@ -2437,7 +2437,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2437
2437
  var i = this.months[t];
2438
2438
  a += i.height;
2439
2439
  } return a; }, this.sd = function (e) { if (this.internal.showLinks)
2440
- return this.internal.showLinks; var t = {}; return t.left = 0 === e, t.right = 0 === e, t.before = 0 === e, t.after = e === this.showMonths - 1, "Horizontal" === this.orientation && (t.right = e === this.showMonths - 1), t; }, this.qa = {}, this.qa.scope = null, this.qa.notify = function () { i.qa.scope && i.qa.scope["$apply"](); }, this.internal = {}, this.internal.loadOptions = i.$a, this.internal.initialized = function () { return i.za; }, this._ = {};
2440
+ return this.internal.showLinks; var t = {}; return t.left = 0 === e, t.right = 0 === e, t.before = 0 === e, t.after = e === this.showMonths - 1, "Horizontal" === this.orientation && (t.right = e === this.showMonths - 1), t; }, this.qa = {}, this.qa.scope = null, this.qa.notify = function () { i.qa.scope && i.qa.scope["$apply"](); }, this.internal = {}, this.internal.loadOptions = i._a, this.internal.initialized = function () { return i.za; }, this._ = {};
2441
2441
  var o = this._;
2442
2442
  o.locale = function () { return DayPilot.Locale.find(i.locale); }, o.weekStarts = function () {
2443
2443
  if ("Auto" === i.weekStarts) {
@@ -2445,8 +2445,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2445
2445
  return e ? e.weekStarts : 0;
2446
2446
  }
2447
2447
  return i.weekStarts;
2448
- }, o.cellWidth = function () { if (i.eb.cellWidth)
2449
- return i.eb.cellWidth; var e = i.ud("_cell_dimensions").width; return e || (e = i.cellWidth), i.eb.cellWidth = e, e; }, this.clearSelection = function () { for (var e = 0; e < this.selected.length; e++) {
2448
+ }, o.cellWidth = function () { if (i.fb.cellWidth)
2449
+ return i.fb.cellWidth; var e = i.ud("_cell_dimensions").width; return e || (e = i.cellWidth), i.fb.cellWidth = e, e; }, this.clearSelection = function () { for (var e = 0; e < this.selected.length; e++) {
2450
2450
  var t = this.selected[e];
2451
2451
  i.$c(t.parentNode, t.x, t.y);
2452
2452
  } this.selected = []; }, this.vd = function () { return !!this.backendUrl && ("undefined" == typeof i.items || !i.items); }, this.events = {}, this.ca = function () { if (DayPilot.isArray(this.events.list)) {
@@ -2460,16 +2460,16 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2460
2460
  }
2461
2461
  }
2462
2462
  } }, this.ud = function (e) { var t = document.createElement("div"); t.style.position = "absolute", t.style.top = "-2000px", t.style.left = "-2000px", t.className = this.J(e); var a = i.root || document.body; a.appendChild(t); var n = t.offsetHeight, o = t.offsetWidth; a.removeChild(t); var r = {}; return r.height = n, r.width = o, r; }, this.wd = function (e) { for (var t = new DayPilot.Date(e.start), i = new DayPilot.Date(e.end), a = {}, n = t.getDatePart(); n.getTime() <= i.getTime();)
2463
- a[n.toStringSortable()] = 1, n = n.addDays(1); return a; }, this.show = function () { i.visible = !0, i.root.style.display = ""; }, this.hide = function () { i.visible = !1, i.root.style.display = "none"; }, this.db = function () { if (this.id && this.id.tagName)
2463
+ a[n.toStringSortable()] = 1, n = n.addDays(1); return a; }, this.show = function () { i.visible = !0, i.root.style.display = ""; }, this.hide = function () { i.visible = !1, i.root.style.display = "none"; }, this.eb = function () { if (this.id && this.id.tagName)
2464
2464
  this.nav.top = this.id;
2465
2465
  else {
2466
2466
  if ("string" != typeof this.id)
2467
2467
  throw "DayPilot.Navigator() constructor requires the target element or its ID as a parameter";
2468
2468
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
2469
2469
  throw "DayPilot.Navigator: The placeholder element not found: '" + e + "'.";
2470
- } this.root = this.nav.top; }, this.init = function () { if (this.db(), !this.root.dp) {
2470
+ } this.root = this.nav.top; }, this.init = function () { if (this.eb(), !this.root.dp) {
2471
2471
  this.bd(), this.Oc(), this.fd(), this.ca(), this._c(), this.Y(), this.xd(), this.Ya();
2472
- if (this.vd() && this.gd(), this.za = !0, this.cb(), this.cd) {
2472
+ if (this.vd() && this.gd(), this.za = !0, this.db(), this.cd) {
2473
2473
  var e = this.cd;
2474
2474
  this.select(e.date1, e.date2, e.options), this.cd = null;
2475
2475
  }
@@ -2482,7 +2482,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2482
2482
  var o = a.ordered();
2483
2483
  o.start = new n(o.start).nextVisible(), o.end = new n(o.end).previousVisible(), i.selectionDay = new n(o.start).date(), i.selectionStart = i.selectionDay, i.selectionEnd = new n(o.end).date(), a.start = null, a.end = null, i.Jc(), i.Oc(), i.fd(), i._c(), i.ad();
2484
2484
  i.L({ "mode": "FreeHand" });
2485
- } a.start = null, a.end = null; }, this.dispose = function () { var e = i; e.root && (e.root.removeAttribute("style"), e.root.removeAttribute("class"), e.root.dp = null, e.root.innerHTML = null, e.root = null, e.hd = !0); }, this.Y = function () { this.root.dispose = this.dispose; }, this.Init = this.init, this.$a(t);
2485
+ } a.start = null, a.end = null; }, this.dispose = function () { var e = i; e.root && (e.root.removeAttribute("style"), e.root.removeAttribute("class"), e.root.dp = null, e.root.innerHTML = null, e.root = null, e.hd = !0); }, this.Y = function () { this.root.dispose = this.dispose; }, this.Init = this.init, this._a(t);
2486
2486
  }, "undefined" != typeof jQuery && !function (e) { e.fn.daypilotNavigator = function (e) { var t = null, i = this.each(function () { if (!this.daypilot) {
2487
2487
  var i = new DayPilot.Navigator(this.id);
2488
2488
  this.daypilot = i;