@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 = {};
@@ -976,7 +976,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
976
976
  if (this instanceof t.Calendar && !this.M && (a = !0, this.M = !0), !a)
977
977
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
978
978
  var n = this;
979
- 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) {
979
+ 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) {
980
980
  for (var i = e.parentNode; i && "TD" !== i.tagName;)
981
981
  i = i.parentNode;
982
982
  var a = document.createElement("div");
@@ -1605,7 +1605,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1605
1605
  throw "DayPilot.Calendar.events.add() expects an object or DayPilot.Event instance.";
1606
1606
  t = e;
1607
1607
  }
1608
- n.events.list || (n.events.list = []), n.events.list.push(t), n.update(), n.qa.notify();
1608
+ n.events.list || (n.events.list = []), n.events.list.push(t), n.Za({ "eventsOnly": !0 }), n.qa.notify();
1609
1609
  }, this.events.find = function (e) {
1610
1610
  if (!n.events.list)
1611
1611
  return null;
@@ -1633,7 +1633,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1633
1633
  n.events.list.splice(i, 1, e);
1634
1634
  }
1635
1635
  }
1636
- n.update(), n.qa.notify();
1636
+ n.Za({ "eventsOnly": !0 }), n.qa.notify();
1637
1637
  }, this.events.remove = function (e) {
1638
1638
  var t;
1639
1639
  if (e instanceof DayPilot.Event)
@@ -1647,7 +1647,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1647
1647
  i && (t = i.data);
1648
1648
  }
1649
1649
  var a = DayPilot.indexOf(n.events.list, t);
1650
- n.events.list.splice(a, 1), n.update(), n.qa.notify();
1650
+ n.events.list.splice(a, 1), n.Za({ "eventsOnly": !0 }), n.qa.notify();
1651
1651
  }, this.events.load = function (e, t, i) {
1652
1652
  var a = function (e) { var t = {}; t.exception = e.exception, t.request = e.request, "function" == typeof i && i(t); }, o = function (e) {
1653
1653
  var i, o = e.request;
@@ -1662,7 +1662,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1662
1662
  var s = {};
1663
1663
  if (s.preventDefault = function () { this.preventDefault.value = !0; }, s.data = i, "function" == typeof t && t(s), s.preventDefault.value)
1664
1664
  return;
1665
- n.events.list = i, n.za && n.update();
1665
+ n.events.list = i, n.za && n.Za({ "eventsOnly": !0 });
1666
1666
  }
1667
1667
  };
1668
1668
  if (n.eventsLoadMethod && "POST" === n.eventsLoadMethod.toUpperCase())
@@ -1671,7 +1671,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1671
1671
  var r = e, s = "start=" + n.visibleStart().toString() + "&end=" + n.visibleEnd().toString();
1672
1672
  r += r.indexOf("?") > -1 ? "&" + s : "?" + s, DayPilot.Http.ajax({ "method": "GET", "url": r, "success": o, "error": a });
1673
1673
  }
1674
- }, this.Za = function () {
1674
+ }, this.$a = function () {
1675
1675
  if (n.nav.top.className !== n.J("_main")) {
1676
1676
  n.nav.top.className = n.J("_main");
1677
1677
  var e = n.nav.corner;
@@ -1679,15 +1679,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1679
1679
  var t = n.nav.cornerRight;
1680
1680
  t && (t.className = n.J("_cornerright"), t.firstChild.className = n.J("_cornerright_inner"));
1681
1681
  }
1682
- }, this.update = function (e) {
1683
- if (n.$a(e), this.za) {
1684
- n._a(), n.V(), n.nav.top.style.cursor = "auto";
1685
- 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();
1682
+ }, this.update = function (e) { n._a(e), n.Za(); }, this.Za = function (e) {
1683
+ if (this.za) {
1684
+ var e = e || {}, t = !e.eventsOnly;
1685
+ 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();
1686
1686
  }
1687
- }, this.bb = null, this.$a = function (e) {
1687
+ }, this.cb = null, this._a = function (e) {
1688
1688
  if (e) {
1689
1689
  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; } } };
1690
- this.bb = t;
1690
+ this.cb = t;
1691
1691
  for (var i in e)
1692
1692
  if (t[i]) {
1693
1693
  var a = t[i];
@@ -1696,13 +1696,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1696
1696
  else
1697
1697
  n[i] = e[i];
1698
1698
  }
1699
- }, this.cb = function () {
1700
- var e = this.bb;
1699
+ }, this.db = function () {
1700
+ var e = this.cb;
1701
1701
  for (var t in e) {
1702
1702
  var i = e[t];
1703
1703
  i.postInit && i.postInit();
1704
1704
  }
1705
- }, this.db = function () {
1705
+ }, this.eb = function () {
1706
1706
  if (this.id && this.id.tagName)
1707
1707
  this.nav.top = this.id;
1708
1708
  else {
@@ -1711,8 +1711,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1711
1711
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
1712
1712
  throw "DayPilot.Calendar: The placeholder element not found: '" + e + "'.";
1713
1713
  }
1714
- }, this.eb = {}, this.eb.events = [], this.fb = function (e) {
1715
- var t = this.eb.events, i = this.events.list[e], a = {};
1714
+ }, this.fb = {}, this.fb.events = [], this.gb = function (e) {
1715
+ var t = this.fb.events, i = this.events.list[e], a = {};
1716
1716
  for (var o in i)
1717
1717
  a[o] = i[o];
1718
1718
  if ("function" == typeof this.onBeforeEventRender) {
@@ -1722,7 +1722,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1722
1722
  t[e] = a;
1723
1723
  }, this.ca = function () {
1724
1724
  var e = this.events.list;
1725
- if (n.eb.events = [], e) {
1725
+ if (n.fb.events = [], e) {
1726
1726
  if (!DayPilot.isArray(e))
1727
1727
  throw new DayPilot.Exception("DayPilot.Calendar.events.list expects an array object. You supplied: " + typeof e);
1728
1728
  var t = e.length, i = 864e5;
@@ -1743,7 +1743,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1743
1743
  }
1744
1744
  if ("function" == typeof this.onBeforeEventRender)
1745
1745
  for (var o = 0; o < t; o++)
1746
- this.fb(o);
1746
+ this.gb(o);
1747
1747
  for (var o = 0; o < this.ta.length; o++) {
1748
1748
  var l = {};
1749
1749
  l.minEnd = 1e6, l.maxStart = -1, this.scrollLabels.push(l);
@@ -1763,21 +1763,21 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1763
1763
  var _ = w.boxBottom;
1764
1764
  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);
1765
1765
  var p = D.part.top, v = D.part.top + D.part.height;
1766
- 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);
1766
+ 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);
1767
1767
  }
1768
1768
  }
1769
1769
  }
1770
1770
  }
1771
1771
  for (var o = 0; o < this.ta.length; o++) {
1772
1772
  var d = this.ta[o];
1773
- d.events.sort(this.gb);
1773
+ d.events.sort(this.hb);
1774
1774
  for (var m = 0; m < d.events.length; m++) {
1775
1775
  var r = d.events[m];
1776
1776
  d.putIntoBlock(r);
1777
1777
  }
1778
1778
  for (var m = 0; m < d.blocks.length; m++) {
1779
1779
  var k = d.blocks[m];
1780
- k.events.sort(this.gb);
1780
+ k.events.sort(this.hb);
1781
1781
  for (var S = 0; S < k.events.length; S++) {
1782
1782
  var r = k.events[S];
1783
1783
  k.putIntoLine(r);
@@ -1785,7 +1785,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1785
1785
  }
1786
1786
  }
1787
1787
  }
1788
- }, this.gb = function (e, t) {
1788
+ }, this.hb = function (e, t) {
1789
1789
  if (!(e && t && e.start && t.start))
1790
1790
  return 0;
1791
1791
  var i = e.start().getTime() - t.start().getTime();
@@ -1799,30 +1799,30 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1799
1799
  var o = 18e5, r = a - i, s = r % o, l = r - s, d = l + o;
1800
1800
  0 === s && (d = l);
1801
1801
  var c = {};
1802
- 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;
1803
- }, 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 () {
1802
+ 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;
1803
+ }, 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 () {
1804
1804
  if (n.nav.scroll) {
1805
1805
  var e = n.nav.scroll.scrollTop, t = e / (2 * n.cellHeight);
1806
1806
  n.Wa.scrollHour = t;
1807
1807
  }
1808
- }, 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 () {
1808
+ }, 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 () {
1809
1809
  for (var e = this.Wa.themes, t = 0; t < e.length; t++) {
1810
1810
  var i = e[t];
1811
1811
  DayPilot.Util.removeClass(this.nav.top, i + "_main");
1812
1812
  }
1813
1813
  this.Wa.themes = [];
1814
- }, this.nb = function () {
1814
+ }, this.ob = function () {
1815
1815
  if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
1816
1816
  var e = {};
1817
1817
  e.isCallBack = !1, this.onAfterRender(e);
1818
1818
  }
1819
- }, this.ob = function () {
1820
- if ("function" == typeof this.onInit && !this.pb) {
1821
- this.pb = !0;
1819
+ }, this.pb = function () {
1820
+ if ("function" == typeof this.onInit && !this.qb) {
1821
+ this.qb = !0;
1822
1822
  var e = {};
1823
1823
  this.onInit(e);
1824
1824
  }
1825
- }, 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);
1825
+ }, 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);
1826
1826
  }, 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) {
1827
1827
  e.fn.daypilotCalendar = function (e) {
1828
1828
  var t = null, i = this.each(function () {
@@ -1854,7 +1854,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1854
1854
  l.call(t, d, function (e) {
1855
1855
  for (var t in e)
1856
1856
  n[t] = e[t];
1857
- n.update(), n.ob();
1857
+ n.update(), n.pb();
1858
1858
  }, !0), l.call(t, c, function (e) { n.events.list = e, n.update(); }, !0);
1859
1859
  } };
1860
1860
  }]);
@@ -1864,13 +1864,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1864
1864
  var DayPilot = {};
1865
1865
  if (function () {
1866
1866
  "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (e) {
1867
- this.v = "2023.3.499-lite";
1867
+ this.v = "2023.4.504-lite";
1868
1868
  var t = "navigator_" + (new Date).getTime(), i = this;
1869
1869
  this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () {
1870
1870
  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)
1871
1871
  for (var t in e)
1872
1872
  this[t] = e[t];
1873
- }, 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 () {
1873
+ }, 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 () {
1874
1874
  var e = this.B();
1875
1875
  if (!e)
1876
1876
  return this.date;
@@ -1883,26 +1883,26 @@ if (function () {
1883
1883
  a = DayPilot.Date.parse(t, i.patterns[n]);
1884
1884
  }
1885
1885
  return a;
1886
- }, this.sb = function (e) {
1886
+ }, this.tb = function (e) {
1887
1887
  var t = this.B();
1888
1888
  if (t) {
1889
1889
  var a = e.toString(i.pattern, i.locale);
1890
1890
  "INPUT" === t.tagName ? t.value = a : t.innerHTML = a;
1891
1891
  }
1892
- }, 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 () {
1893
- if (!this.qb) {
1892
+ }, 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 () {
1893
+ if (!this.rb) {
1894
1894
  var e = this.B(), a = this.navigator, a = new DayPilot.Navigator(t);
1895
- 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;
1895
+ 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;
1896
1896
  var n = DayPilot.abs(e), o = e.offsetHeight, r = i.targetAlignment, s = document.createElement("div");
1897
1897
  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);
1898
1898
  var l = document.createElement("div");
1899
1899
  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;
1900
- var d = i.rb() || (new DayPilot.Date).getDatePart();
1901
- if (a.startDate = d, a.tb = d.getTimePart(), a.selectionDay = d.getDatePart(), a.init(), "right" === r) {
1900
+ var d = i.sb() || (new DayPilot.Date).getDatePart();
1901
+ if (a.startDate = d, a.ub = d.getTimePart(), a.selectionDay = d.getDatePart(), a.init(), "right" === r) {
1902
1902
  var c = n.x + e.offsetWidth - a.nav.top.offsetWidth;
1903
1903
  s.style.left = c + "px";
1904
1904
  }
1905
- this.qb = !0, this.onShow && this.onShow();
1905
+ this.rb = !0, this.onShow && this.onShow();
1906
1906
  }
1907
1907
  }, this.prepare(), this.init();
1908
1908
  });
@@ -1914,10 +1914,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1914
1914
  var e = function () { }, t = {};
1915
1915
  t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (i) {
1916
1916
  var a = this, n = null;
1917
- 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) {
1917
+ 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) {
1918
1918
  o = o || {};
1919
1919
  var r = null;
1920
- 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) {
1920
+ 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) {
1921
1921
  a.cssOnly || (a.cssOnly = !0);
1922
1922
  var s = null;
1923
1923
  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) {
@@ -1926,15 +1926,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1926
1926
  return;
1927
1927
  }
1928
1928
  var d = document.createElement("div");
1929
- 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)
1929
+ 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)
1930
1930
  throw "No menu items defined.";
1931
1931
  if (this.showMenuTitle) {
1932
1932
  var c = document.createElement("div");
1933
- c.innerHTML = this.menuTitle, c.className = this.vb("title"), d.appendChild(c);
1933
+ c.innerHTML = this.menuTitle, c.className = this.wb("title"), d.appendChild(c);
1934
1934
  }
1935
1935
  for (var u = 0; u < this.items.length; u++) {
1936
1936
  var h = this.items[u], f = document.createElement("div");
1937
- 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) {
1937
+ 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) {
1938
1938
  if ("-" === h.text) {
1939
1939
  var m = document.createElement("div");
1940
1940
  m.addEventListener("click", function (e) { e.stopPropagation(); }), f.appendChild(m);
@@ -1942,7 +1942,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1942
1942
  else {
1943
1943
  var p = document.createElement("a");
1944
1944
  if (p.style.position = "relative", p.style.display = "block", h.cssClass && DayPilot.Util.addClass(p, h.cssClass), h.disabled)
1945
- DayPilot.Util.addClass(p, a.vb("item_disabled"));
1945
+ DayPilot.Util.addClass(p, a.wb("item_disabled"));
1946
1946
  else {
1947
1947
  if (h.onclick || h.onClick) {
1948
1948
  p.item = h, p.onclick = function (e, t) {
@@ -1970,7 +1970,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1970
1970
  DayPilot.reNonPassive(p, "touchstart", function (e) { e.stopPropagation(), e.preventDefault(), p.source.calendar.internal.touch.active = !0; }), DayPilot.reNonPassive(p, "touchend", v(h, p));
1971
1971
  }
1972
1972
  if (h.items && !h.disabled) {
1973
- var y = function (e, t) { return function (i) { i.preventDefault(), i.stopPropagation(), a.wb(e, t); }; };
1973
+ var y = function (e, t) { return function (i) { i.preventDefault(), i.stopPropagation(), a.xb(e, t); }; };
1974
1974
  p.ontouchend = y(h, p);
1975
1975
  }
1976
1976
  if (h.onclick)
@@ -2006,13 +2006,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2006
2006
  }
2007
2007
  h.items && p.addEventListener("click", function (e) { e.stopPropagation(); }), p.source = s, p.menuSource = i;
2008
2008
  var g = document.createElement("span");
2009
- if (g.className = a.vb("item_text"), g.innerHTML = DayPilot.Util.escapeTextHtml(h.text, h.html), p.appendChild(g), h.image) {
2009
+ if (g.className = a.wb("item_text"), g.innerHTML = DayPilot.Util.escapeTextHtml(h.text, h.html), p.appendChild(g), h.image) {
2010
2010
  var b = document.createElement("img");
2011
2011
  b.src = h.image, b.style.position = "absolute", b.style.top = "0px", b.style.left = "0px", p.appendChild(b);
2012
2012
  }
2013
2013
  if (h.icon) {
2014
2014
  var D = document.createElement("span");
2015
- D.className = a.vb("item_icon");
2015
+ D.className = a.wb("item_icon");
2016
2016
  var x = document.createElement("i");
2017
2017
  x.className = h.icon, D.appendChild(x), p.appendChild(D);
2018
2018
  }
@@ -2022,7 +2022,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2022
2022
  var P = document.createElementNS(w, "use");
2023
2023
  P.setAttribute("href", h.symbol), C.appendChild(P);
2024
2024
  var _ = document.createElement("span");
2025
- _.className = a.vb("item_symbol"), _.style.position = "absolute", _.style.top = "0px", _.style.left = "0px", _.appendChild(C), p.appendChild(_);
2025
+ _.className = a.wb("item_symbol"), _.style.position = "absolute", _.style.top = "0px", _.style.left = "0px", _.appendChild(C), p.appendChild(_);
2026
2026
  }
2027
2027
  var k = function (e, i) {
2028
2028
  return function () {
@@ -2032,7 +2032,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2032
2032
  return;
2033
2033
  clearTimeout(o.timeout), t.waitingSubmenu = null;
2034
2034
  }
2035
- e.disabled || (t.waitingSubmenu = {}, t.waitingSubmenu.parent = n, t.waitingSubmenu.timeout = setTimeout(function () { t.waitingSubmenu = null, a.wb(n, i); }, 300));
2035
+ e.disabled || (t.waitingSubmenu = {}, t.waitingSubmenu.parent = n, t.waitingSubmenu.timeout = setTimeout(function () { t.waitingSubmenu = null, a.xb(n, i); }, 300));
2036
2036
  };
2037
2037
  };
2038
2038
  p.onmouseover = k(h, p), f.appendChild(p);
@@ -2041,7 +2041,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2041
2041
  }
2042
2042
  }
2043
2043
  var S = function (e) { window.setTimeout(function () { t.menuClean(), DayPilot.MenuBar.deactivate(); }, 100); };
2044
- 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 = "";
2044
+ 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 = "";
2045
2045
  var M = d.offsetHeight, T = d.offsetWidth;
2046
2046
  d.style.display = "none";
2047
2047
  var A = document.documentElement.clientHeight, E = window.innerWidth, H = "number" == typeof o.windowMargin ? o.windowMargin : 5;
@@ -2074,18 +2074,18 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2074
2074
  var R = document.body.scrollTop + document.documentElement.scrollTop;
2075
2075
  U + M - R > A && (U = Math.max(0, A - M + R)), d.style.left = O + "px", d.style.top = U + "px";
2076
2076
  }
2077
- d.style.display = "", this.addShadow(d), this.ub.div = d, o.submenu || (DayPilot.Menu.active = this);
2077
+ d.style.display = "", this.addShadow(d), this.vb.div = d, o.submenu || (DayPilot.Menu.active = this);
2078
2078
  }
2079
- }, this.wb = function (e, t) {
2079
+ }, this.xb = function (e, t) {
2080
2080
  var i = e, n = t.source;
2081
- 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)) {
2081
+ 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)) {
2082
2082
  var o = a.cloneOptions();
2083
- 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"));
2083
+ 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"));
2084
2084
  }
2085
- }, 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) {
2086
- e = e || {}, this.ub.submenu && this.ub.submenu.menu.hide();
2085
+ }, 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) {
2086
+ e = e || {}, this.vb.submenu && this.vb.submenu.menu.hide();
2087
2087
  var i = t.waitingSubmenu;
2088
- 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) {
2088
+ 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) {
2089
2089
  var o = {};
2090
2090
  this.onHide(o);
2091
2091
  }
@@ -2099,28 +2099,28 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2099
2099
  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;
2100
2100
  for (var a in t)
2101
2101
  this[a] = t[a];
2102
- this.yb = function (e) { return this.theme + "_" + e; }, this.s = function () {
2102
+ this.zb = function (e) { return this.theme + "_" + e; }, this.s = function () {
2103
2103
  this.nav.top = document.getElementById(e);
2104
2104
  var t = this.nav.top;
2105
- t.className = this.yb("main"), DayPilot.list(i.items).forEach(function (e) {
2105
+ t.className = this.zb("main"), DayPilot.list(i.items).forEach(function (e) {
2106
2106
  var a = document.createElement("span");
2107
- 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) {
2107
+ 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) {
2108
2108
  if (i.active && i.active.item === e)
2109
- i.zb();
2109
+ i.Ab();
2110
2110
  else if (e.children)
2111
- return void i.Ab(a);
2111
+ return void i.Bb(a);
2112
2112
  if ("function" == typeof e.onClick) {
2113
2113
  var n = {};
2114
2114
  n.item = e, n.originalEvent = t, e.onClick(n);
2115
2115
  }
2116
- }, 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);
2116
+ }, 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);
2117
2117
  });
2118
- }, 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) {
2119
- if (!i.Bb(e)) {
2120
- i.zb();
2118
+ }, 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) {
2119
+ if (!i.Cb(e)) {
2120
+ i.Ab();
2121
2121
  var t = e.data, a = i.active = {};
2122
2122
  a.item = t, a.div = e;
2123
- var n = i.yb("item_active");
2123
+ var n = i.zb("item_active");
2124
2124
  DayPilot.Util.addClass(e, n);
2125
2125
  var o = DayPilot.abs(e);
2126
2126
  if (t.children) {
@@ -2131,7 +2131,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2131
2131
  DayPilot.MenuBar.active = i;
2132
2132
  }
2133
2133
  }, this.init = function () { return this.s(), this.za = !0, this; }, this.dispose = function () { this.za && (this.nav.top.innerHTML = "", this.elements.items = []); };
2134
- }, 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) {
2134
+ }, 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) {
2135
2135
  if (!e || !e.touches)
2136
2136
  return null;
2137
2137
  var t = e.touches[0], i = {};
@@ -2140,7 +2140,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2140
2140
  if (e = e || {}, e.calendar) {
2141
2141
  var i = DayPilot.Menu.active;
2142
2142
  if (i) {
2143
- var a = i.ub.source;
2143
+ var a = i.vb.source;
2144
2144
  a && a.calendar === e.calendar && t.menuClean();
2145
2145
  }
2146
2146
  }
@@ -2214,23 +2214,23 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2214
2214
  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) {
2215
2215
  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;
2216
2216
  var t = this;
2217
- this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.Cb = !1, this.Db = null, this.Eb = null, this.showHtml = function (e) {
2217
+ this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.Db = !1, this.Eb = null, this.Fb = null, this.showHtml = function (e) {
2218
2218
  if (DayPilot.ModalStatic.displayed(this))
2219
2219
  throw "This modal dialog is already displayed.";
2220
- if (this.div || this.Fb(), this.Gb(), this.useIframe) {
2220
+ if (this.div || this.Gb(), this.Za(), this.useIframe) {
2221
2221
  var t = function (e, t) { return function () { e.setInnerHTML(e.id + "iframe", t); }; };
2222
2222
  window.setTimeout(t(this, e), 0);
2223
2223
  }
2224
2224
  else
2225
2225
  e.nodeType ? this.div.appendChild(e) : this.div.innerHTML = e;
2226
- this.Gb(), this.Hb(), this.Ib();
2226
+ this.Za(), this.Hb(), this.Ib();
2227
2227
  }, this.showUrl = function (e) {
2228
2228
  if (DayPilot.ModalStatic.displayed(this))
2229
2229
  throw "This modal dialog is already displayed.";
2230
2230
  if (this.useIframe) {
2231
- this.div || this.Fb();
2231
+ this.div || this.Gb();
2232
2232
  var i = this.loadingHtml;
2233
- 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();
2233
+ 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();
2234
2234
  }
2235
2235
  else
2236
2236
  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"); } });
@@ -2257,7 +2257,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2257
2257
  window.console && console.log("HTTP error " + t.status);
2258
2258
  }, 4 !== t.readyState && ("object" == typeof o && (o = JSON.stringify(o)), t.send(o));
2259
2259
  }
2260
- }, 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 () {
2260
+ }, 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 () {
2261
2261
  var e = function () { return t.Mb().y; }, i = function () { return t.Mb().x; };
2262
2262
  if (this.useIframe) {
2263
2263
  for (var a = i() - 40, n = this.width; n < a && this.Ob(); n += 10)
@@ -2288,12 +2288,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2288
2288
  }
2289
2289
  var t = e.body.clientWidth, i = e.body.clientHeight;
2290
2290
  return { x: t, y: i };
2291
- }, 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) {
2292
- if (t.Eb) {
2293
- var e = e || window.event, i = t.mc(e), a = i.x - t.Eb.x, n = i.y - t.Eb.y;
2294
- t.div.style.marginLeft = "0px", t.div.style.top = t.Db.y + n + "px", t.div.style.left = t.Db.x + a + "px";
2291
+ }, 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) {
2292
+ if (t.Fb) {
2293
+ var e = e || window.event, i = t.mc(e), a = i.x - t.Fb.x, n = i.y - t.Fb.y;
2294
+ t.div.style.marginLeft = "0px", t.div.style.top = t.Eb.y + n + "px", t.div.style.left = t.Eb.x + a + "px";
2295
2295
  }
2296
- }, this.Tb = function (e) { t.Eb && (t.Xb(), t.div.style.cursor = null, t.Eb = null); }, this.Wb = function () {
2296
+ }, this.Tb = function (e) { t.Fb && (t.Xb(), t.div.style.cursor = null, t.Fb = null); }, this.Wb = function () {
2297
2297
  if (this.useIframe) {
2298
2298
  var e = document.createElement("div");
2299
2299
  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;
@@ -2312,7 +2312,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2312
2312
  for (var t = { x: e.offsetLeft, y: e.offsetTop }; e.offsetParent;)
2313
2313
  e = e.offsetParent, t.x += e.offsetLeft, t.y += e.offsetTop;
2314
2314
  return t;
2315
- }, 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 () {
2315
+ }, 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 () {
2316
2316
  for (var e = t.Lb(), i = e.querySelectorAll("input, textarea, select"), a = {}, n = 0; n < i.length; n++) {
2317
2317
  var o = i[n], r = o.name;
2318
2318
  if (r) {
@@ -2862,7 +2862,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2862
2862
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
2863
2863
  var e = {};
2864
2864
  e.Month = function (t, i) {
2865
- this.v = "2023.3.499-lite", this.nav = {};
2865
+ this.v = "2023.4.504-lite", this.nav = {};
2866
2866
  var a = this;
2867
2867
  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) {
2868
2868
  var t = null;
@@ -2926,13 +2926,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2926
2926
  r += r.indexOf("?") > -1 ? "&" + s : "?" + s, DayPilot.Http.ajax({ "method": "GET", "url": r, "success": o, "error": n });
2927
2927
  }
2928
2928
  }, this.update = function (e) {
2929
- if (a.$a(e), this.za && this.cells) {
2929
+ if (a._a(e), this.za && this.cells) {
2930
2930
  a.V(), a.Ic(), a.ca(), a.Jc(), a.Kc(), a.ha(), a.s(), a.ia(), this.visible ? this.show() : this.hide();
2931
2931
  }
2932
- }, this.bb = null, this.$a = function (e) {
2932
+ }, this.cb = null, this._a = function (e) {
2933
2933
  if (e) {
2934
2934
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? a.events.list = e.list : a.events.list = e; } } };
2935
- this.bb = t;
2935
+ this.cb = t;
2936
2936
  for (var i in e)
2937
2937
  if (t[i]) {
2938
2938
  var n = t[i];
@@ -2941,14 +2941,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2941
2941
  else
2942
2942
  a[i] = e[i];
2943
2943
  }
2944
- }, this.cb = function () {
2945
- var e = this.bb;
2944
+ }, this.db = function () {
2945
+ var e = this.cb;
2946
2946
  for (var t in e) {
2947
2947
  var i = e[t];
2948
2948
  i.postInit && i.postInit();
2949
2949
  }
2950
- }, this.eb = {}, this.eb.events = [], this.fb = function (e) {
2951
- var t = this.eb.events, i = this.events.list[e], n = {};
2950
+ }, this.fb = {}, this.fb.events = [], this.gb = function (e) {
2951
+ var t = this.fb.events, i = this.events.list[e], n = {};
2952
2952
  for (var o in i)
2953
2953
  n[o] = i[o];
2954
2954
  if ("function" == typeof this.onBeforeEventRender) {
@@ -2963,7 +2963,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2963
2963
  throw new DayPilot.Exception("DayPilot.Month.events.list expects an array object. You supplied: " + typeof e);
2964
2964
  if ("function" == typeof this.onBeforeEventRender)
2965
2965
  for (var t = 0; t < e.length; t++)
2966
- this.fb(t);
2966
+ this.gb(t);
2967
2967
  for (var i = 0; i < e.length; i++) {
2968
2968
  var a = e[i];
2969
2969
  if ("object" != typeof a)
@@ -2976,12 +2976,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2976
2976
  if (!(n.getTime() > o.getTime()))
2977
2977
  for (var t = 0; t < this.rows.length; t++) {
2978
2978
  var r = this.rows[t], s = new DayPilot.Event(a, this);
2979
- r.belongsHere(s) && (r.events.push(s), "function" == typeof this.onBeforeEventRender && (s.cache = this.eb.events[i]));
2979
+ r.belongsHere(s) && (r.events.push(s), "function" == typeof this.onBeforeEventRender && (s.cache = this.fb.events[i]));
2980
2980
  }
2981
2981
  }
2982
2982
  for (var l = 0; l < this.rows.length; l++) {
2983
2983
  var r = this.rows[l];
2984
- r.events.sort(this.gb);
2984
+ r.events.sort(this.hb);
2985
2985
  for (var d = 0; d < this.rows[l].events.length; d++) {
2986
2986
  var c = r.events[d], u = r.getStartColumn(c), h = r.getWidth(c);
2987
2987
  r.putIntoLine(c, u, h, l);
@@ -3000,7 +3000,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3000
3000
  for (var t = this.rows[e], i = 0; i < t.lines.length; i++)
3001
3001
  for (var a = t.lines[i], n = 0; n < a.length; n++)
3002
3002
  this.Ca(a[n]);
3003
- }, this.gb = function (e, t) {
3003
+ }, this.hb = function (e, t) {
3004
3004
  if (!(e && t && e.start && t.start))
3005
3005
  return 0;
3006
3006
  var i = e.start().getTime() - t.start().getTime();
@@ -3373,7 +3373,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3373
3373
  }
3374
3374
  }, 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; };
3375
3375
  var n = this._;
3376
- 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 () {
3376
+ 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 () {
3377
3377
  if (this.id && this.id.tagName)
3378
3378
  this.nav.top = this.id;
3379
3379
  else {
@@ -3382,7 +3382,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3382
3382
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
3383
3383
  throw "DayPilot.Month: The placeholder element not found: '" + id + "'.";
3384
3384
  }
3385
- }, 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);
3385
+ }, 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);
3386
3386
  }, e.gMouseUp = function (t) {
3387
3387
  if (e.movingEvent) {
3388
3388
  var i = e.movingEvent;
@@ -3461,9 +3461,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3461
3461
  "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function () {
3462
3462
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.nav) {
3463
3463
  DayPilot.Navigator = function (e, t) {
3464
- this.v = "2023.3.499-lite";
3464
+ this.v = "2023.4.504-lite";
3465
3465
  var i = this;
3466
- 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) {
3466
+ 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) {
3467
3467
  var a = {};
3468
3468
  a.cells = [], a.days = [], a.weeks = [];
3469
3469
  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;
@@ -3532,14 +3532,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3532
3532
  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;
3533
3533
  }
3534
3534
  if (R && DayPilot.Util.addClass(N, R.cssClass || R.css), T || r && A || s && E) {
3535
- var j = document.createElement("div");
3536
- 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);
3535
+ var B = document.createElement("div");
3536
+ 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);
3537
3537
  }
3538
3538
  N.setAttribute("unselectable", "on"), N.onclick = this.Yc, v.appendChild(N), M && (i.Zc(v, S, C), this.selected.push(N));
3539
3539
  }
3540
3540
  }
3541
- var B = document.createElement("div");
3542
- 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);
3541
+ var j = document.createElement("div");
3542
+ 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);
3543
3543
  }, 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 () {
3544
3544
  if (this.items)
3545
3545
  for (var e = 0; e < this.showMonths; e++)
@@ -3580,17 +3580,17 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3580
3580
  }
3581
3581
  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();
3582
3582
  }, this.update = function (e) {
3583
- if (i.$a(e), this.za) {
3583
+ if (i._a(e), this.za) {
3584
3584
  if (i.hd)
3585
3585
  throw new DayPilot.Exception("You are trying to update a DayPilot.Navigator instance that has been disposed.");
3586
3586
  i.jd();
3587
3587
  var t = { "day": i.selectionDay, "start": i.selectionStart, "end": i.selectionEnd };
3588
- i.Gb(), t.start === i.selectionStart && t.end == i.selectionEnd && t.day === i.selectionDay || i.L();
3588
+ i.Za(), t.start === i.selectionStart && t.end == i.selectionEnd && t.day === i.selectionDay || i.L();
3589
3589
  }
3590
- }, 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) {
3590
+ }, 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) {
3591
3591
  if (e) {
3592
3592
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? i.events.list = e.list : i.events.list = e; } } };
3593
- this.bb = t;
3593
+ this.cb = t;
3594
3594
  for (var a in e)
3595
3595
  if (t[a]) {
3596
3596
  var n = t[a];
@@ -3599,8 +3599,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3599
3599
  else
3600
3600
  i[a] = e[a];
3601
3601
  }
3602
- }, this.cb = function () {
3603
- var e = this.bb;
3602
+ }, this.db = function () {
3603
+ var e = this.cb;
3604
3604
  for (var t in e) {
3605
3605
  var i = e[t];
3606
3606
  i.postInit && i.postInit();
@@ -3856,7 +3856,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3856
3856
  return this.internal.showLinks;
3857
3857
  var t = {};
3858
3858
  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;
3859
- }, 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._ = {};
3859
+ }, 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._ = {};
3860
3860
  var o = this._;
3861
3861
  o.locale = function () { return DayPilot.Locale.find(i.locale); }, o.weekStarts = function () {
3862
3862
  if ("Auto" === i.weekStarts) {
@@ -3865,10 +3865,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3865
3865
  }
3866
3866
  return i.weekStarts;
3867
3867
  }, o.cellWidth = function () {
3868
- if (i.eb.cellWidth)
3869
- return i.eb.cellWidth;
3868
+ if (i.fb.cellWidth)
3869
+ return i.fb.cellWidth;
3870
3870
  var e = i.ud("_cell_dimensions").width;
3871
- return e || (e = i.cellWidth), i.eb.cellWidth = e, e;
3871
+ return e || (e = i.cellWidth), i.fb.cellWidth = e, e;
3872
3872
  }, this.clearSelection = function () {
3873
3873
  for (var e = 0; e < this.selected.length; e++) {
3874
3874
  var t = this.selected[e];
@@ -3891,7 +3891,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3891
3891
  for (var t = new DayPilot.Date(e.start), i = new DayPilot.Date(e.end), a = {}, n = t.getDatePart(); n.getTime() <= i.getTime();)
3892
3892
  a[n.toStringSortable()] = 1, n = n.addDays(1);
3893
3893
  return a;
3894
- }, this.show = function () { i.visible = !0, i.root.style.display = ""; }, this.hide = function () { i.visible = !1, i.root.style.display = "none"; }, this.db = function () {
3894
+ }, this.show = function () { i.visible = !0, i.root.style.display = ""; }, this.hide = function () { i.visible = !1, i.root.style.display = "none"; }, this.eb = function () {
3895
3895
  if (this.id && this.id.tagName)
3896
3896
  this.nav.top = this.id;
3897
3897
  else {
@@ -3902,9 +3902,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3902
3902
  }
3903
3903
  this.root = this.nav.top;
3904
3904
  }, this.init = function () {
3905
- if (this.db(), !this.root.dp) {
3905
+ if (this.eb(), !this.root.dp) {
3906
3906
  this.bd(), this.Oc(), this.fd(), this.ca(), this._c(), this.Y(), this.xd(), this.Ya();
3907
- if (this.vd() && this.gd(), this.za = !0, this.cb(), this.cd) {
3907
+ if (this.vd() && this.gd(), this.za = !0, this.db(), this.cd) {
3908
3908
  var e = this.cd;
3909
3909
  this.select(e.date1, e.date2, e.options), this.cd = null;
3910
3910
  }
@@ -3921,7 +3921,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3921
3921
  i.L({ "mode": "FreeHand" });
3922
3922
  }
3923
3923
  a.start = null, a.end = null;
3924
- }, 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);
3924
+ }, 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);
3925
3925
  }, "undefined" != typeof jQuery && !function (e) {
3926
3926
  e.fn.daypilotNavigator = function (e) {
3927
3927
  var t = null, i = this.each(function () {